every.channel/apps/web/style.css
every.channel 5d6f77f868
Some checks are pending
ci-gates / checks (push) Waiting to run
deploy-cloudflare / checks (push) Waiting to run
deploy-cloudflare / deploy (push) Blocked by required conditions
Redesign hosted web as broadcast console
2026-05-04 01:06:41 -07:00

477 lines
8.1 KiB
CSS

:root {
--bg: #050505;
--ink: rgba(255, 248, 235, 0.96);
--muted: rgba(255, 248, 235, 0.70);
--faint: rgba(255, 248, 235, 0.48);
--line: rgba(255, 248, 235, 0.18);
--panel: rgba(10, 9, 7, 0.74);
--panel-strong: rgba(6, 6, 5, 0.88);
--button: rgba(255, 248, 235, 0.10);
--button-hover: rgba(255, 248, 235, 0.16);
--amber: #f1a94f;
--green: #79e28b;
--red: #f06958;
--blue: #7eb6d8;
--shadow: rgba(0, 0, 0, 0.68);
}
* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
}
body {
margin: 0;
color: var(--ink);
background: var(--bg);
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -2;
background-image: url("assets/sony-master-control.png");
background-position: center top;
background-size: cover;
}
body::after {
content: "";
position: fixed;
inset: 0;
z-index: -1;
background:
linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.66)),
linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.78) 82%, rgba(0, 0, 0, 0.95));
}
.shell {
width: min(1220px, calc(100% - 32px));
min-height: 100vh;
margin: 0 auto;
display: grid;
grid-template-rows: 1fr auto;
gap: 14px;
padding: 22px 0 14px;
}
.studio {
min-height: calc(100vh - 58px);
display: grid;
grid-template-rows: auto 1fr;
gap: 18px;
}
.masthead {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
padding-top: 4px;
}
.brand-title {
font-size: 34px;
line-height: 1;
font-weight: 800;
letter-spacing: 0;
text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85);
}
.brand-subtitle {
margin-top: 8px;
max-width: 420px;
color: var(--muted);
font-size: 15px;
line-height: 1.35;
text-shadow: 0 1px 18px rgba(0, 0, 0, 0.9);
}
.badge {
min-height: 34px;
display: inline-flex;
align-items: center;
padding: 0 12px;
border: 1px solid rgba(121, 226, 139, 0.48);
border-radius: 6px;
color: rgba(236, 255, 232, 0.95);
background: rgba(17, 44, 22, 0.58);
font-size: 12px;
font-weight: 800;
}
.watchDeck {
align-self: end;
display: grid;
grid-template-columns: minmax(0, 1fr) 356px;
gap: 18px;
align-items: end;
}
.player {
min-width: 0;
}
.tv {
padding: 12px;
border-radius: 8px;
background:
linear-gradient(180deg, rgba(24, 23, 20, 0.96), rgba(7, 7, 6, 0.98)),
#090908;
border: 1px solid rgba(255, 248, 235, 0.16);
box-shadow:
0 30px 70px var(--shadow),
inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.tv-frame {
position: relative;
padding: 10px;
border-radius: 6px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.35)),
#050505;
border: 1px solid rgba(255, 248, 235, 0.12);
}
.mount {
width: 100%;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 4px;
background: #000;
border: 1px solid rgba(255, 248, 235, 0.20);
}
.canvas,
.archiveVideo {
width: 100%;
height: 100%;
display: block;
background: #000;
}
.tv-scanlines {
position: absolute;
inset: 10px;
border-radius: 4px;
background: repeating-linear-gradient(
to bottom,
rgba(255, 255, 255, 0.025),
rgba(255, 255, 255, 0.025) 1px,
rgba(0, 0, 0, 0.00) 3px,
rgba(0, 0, 0, 0.00) 6px
);
mix-blend-mode: overlay;
pointer-events: none;
opacity: 0.35;
}
.console {
padding: 14px;
border-radius: 8px;
background:
linear-gradient(180deg, rgba(255, 248, 235, 0.08), rgba(255, 248, 235, 0.03)),
var(--panel);
border: 1px solid var(--line);
box-shadow: 0 30px 68px var(--shadow);
backdrop-filter: blur(18px);
}
.consoleHead {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.panel-title {
margin: 0;
color: var(--amber);
font-size: 12px;
font-weight: 800;
letter-spacing: 0;
text-transform: uppercase;
}
.consoleCopy {
margin-top: 4px;
color: var(--muted);
font-size: 13px;
line-height: 1.35;
}
.hint {
min-height: 20px;
margin-top: 10px;
color: var(--muted);
font-size: 13px;
line-height: 1.35;
}
.player > .hint {
margin-left: 2px;
text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}
.hint[data-kind="ok"] {
color: var(--green);
}
.hint[data-kind="warn"] {
color: #ffd17a;
}
.listHint {
margin-top: 12px;
}
.liveList {
display: grid;
grid-template-columns: 1fr;
gap: 8px;
margin-top: 10px;
}
.liveItem {
display: grid;
grid-template-columns: 10px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
min-height: 58px;
padding: 10px;
border: 1px solid rgba(255, 248, 235, 0.14);
border-radius: 6px;
background: rgba(0, 0, 0, 0.34);
}
.liveItem::before {
content: "";
grid-column: 1;
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--red);
box-shadow: 0 0 12px rgba(240, 105, 88, 0.85);
align-self: center;
}
.liveItem > div:first-child {
grid-column: 2;
min-width: 0;
}
.liveActions {
grid-column: 3;
}
.liveTitle {
font-size: 14px;
font-weight: 800;
line-height: 1.2;
}
.liveMeta {
margin-top: 3px;
color: var(--faint);
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.liveActions {
display: flex;
gap: 6px;
}
.signalDrawer {
margin-top: 14px;
border-top: 1px solid rgba(255, 248, 235, 0.12);
padding-top: 12px;
}
.signalDrawer summary {
cursor: pointer;
color: var(--muted);
font-size: 13px;
font-weight: 800;
list-style-position: outside;
}
.signalGrid {
display: grid;
gap: 10px;
margin-top: 12px;
}
.field {
display: grid;
gap: 6px;
}
.label {
color: var(--faint);
font-size: 12px;
}
.input {
width: 100%;
min-height: 42px;
padding: 10px 11px;
color: var(--ink);
background: rgba(0, 0, 0, 0.42);
border: 1px solid rgba(255, 248, 235, 0.17);
border-radius: 6px;
outline: none;
}
.input:focus {
border-color: rgba(241, 169, 79, 0.72);
box-shadow: 0 0 0 3px rgba(241, 169, 79, 0.16);
}
.checkRow {
min-height: 42px;
display: flex;
align-items: center;
gap: 8px;
padding: 0 10px;
color: var(--muted);
background: rgba(0, 0, 0, 0.35);
border: 1px solid rgba(255, 248, 235, 0.14);
border-radius: 6px;
}
.checkRow input {
width: 16px;
height: 16px;
}
.btn {
min-height: 38px;
padding: 9px 12px;
border-radius: 6px;
border: 1px solid rgba(241, 169, 79, 0.48);
color: var(--ink);
background:
linear-gradient(180deg, rgba(241, 169, 79, 0.28), rgba(141, 82, 26, 0.26)),
var(--button);
font-weight: 800;
cursor: pointer;
transition: transform 80ms ease, border-color 120ms ease, background 120ms ease;
}
.btn:hover {
transform: translateY(-1px);
border-color: rgba(241, 169, 79, 0.72);
background:
linear-gradient(180deg, rgba(241, 169, 79, 0.34), rgba(141, 82, 26, 0.30)),
var(--button-hover);
}
.btn:active {
transform: translateY(0);
}
.btn.secondary {
border-color: rgba(255, 248, 235, 0.18);
background: rgba(255, 248, 235, 0.09);
}
.share {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 8px;
align-items: center;
margin-top: 10px;
}
.shareLink {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--faint);
font-size: 12px;
}
.foot {
display: flex;
justify-content: space-between;
gap: 12px;
color: rgba(255, 248, 235, 0.48);
font-size: 12px;
}
@media (max-width: 980px) {
body::before {
background-position: center top;
}
.shell {
width: min(100% - 24px, 760px);
padding-top: 16px;
}
.watchDeck {
grid-template-columns: 1fr;
align-self: start;
}
.console {
order: -1;
}
}
@media (max-width: 620px) {
.masthead {
align-items: flex-start;
}
.brand-title {
font-size: 28px;
}
.badge {
display: none;
}
.tv,
.console {
padding: 10px;
}
.liveItem {
grid-template-columns: minmax(0, 1fr);
}
.liveItem::before {
display: none;
}
.liveItem > div:first-child,
.liveActions {
grid-column: auto;
}
.liveActions,
.share {
grid-template-columns: 1fr 1fr;
width: 100%;
}
.liveActions {
display: grid;
}
.foot {
flex-direction: column;
}
}