:root { color-scheme: dark; --night: #171a1c; --panel: #1b1d1e; --raised: #252829; --line: #41413b; --cream: #f5eee1; --muted: #b4b3a6; --ember: #ffa45d; --green: #bad69c; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--night); color: var(--cream); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
a { color: var(--ember); text-underline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--cream); letter-spacing: -.035em; }
h1 { font-size: clamp(2.2rem,5vw,4rem); line-height: 1.03; }
h2 { font-size: clamp(1.25rem,2.2vw,1.7rem); }
h3 { font-size: 1.05rem; }
p { color: var(--muted); line-height: 1.6; }
button, .nav-link { min-height: 42px; border: 1px solid transparent; border-radius: 6px; padding: .65rem 1rem; font-weight: 650; text-decoration: none; }
button { background: var(--ember); color: #171a1c; cursor: pointer; transition: background 120ms ease; }
button:hover { background: #ffbc82; }
button:disabled { background: #2d302e; color: #93968a; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.secondary-button, .nav-link, .dialog-actions button[type="button"] { background: #2d302e; border-color: var(--line); color: var(--cream); }
.secondary-button:hover, .nav-link:hover, .dialog-actions button[type="button"]:hover { background: #41413b; }
.nav-link[aria-current="page"] { color: var(--ember); border-color: var(--ember); }
.danger-button { background: transparent; color: #f7b09b; border-color: #57594f; }
.danger-button:hover { background: #4a3028; }
input, select { width: 100%; border: 1px solid #57594f; border-radius: 6px; padding: .8rem .9rem; background: #171a1c; color: var(--cream); }
input::placeholder { color: #93998c; }
input:focus, select:focus { border-color: var(--ember); }
label { display: grid; gap: .55rem; color: var(--muted); font-size: .88rem; }
form { display: grid; gap: 1.2rem; }
code { display: inline-block; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 4px; background: #171a1c; color: var(--ember); overflow-wrap: anywhere; font-size: 1rem; }
/* Solid surfaces; blur is reserved for the ambient background light. */
.ambient-scene { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: var(--night); }
.ambient-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: 0; filter: blur(12px); transition: opacity 1.6s ease-in-out, filter 1.6s ease-in-out; }
.ambient-still.is-visible { opacity: .7; filter: blur(0); }
.ambient-shade { position: absolute; inset: 0; background: rgba(15,21,19,.5); }
.static-scene { background: var(--night) url('/assets/terrace-night.svg') center bottom / cover no-repeat; }
.static-scene::before, .static-scene::after, .ambient-light { content: ""; position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); background: var(--ember); pointer-events: none; }
.static-scene::before { width: 110vmax; height: 110vmax; opacity: .04; filter: blur(12vmax); }
.static-scene::after { width: 78vmax; height: 78vmax; opacity: .055; filter: blur(10vmax); }
.ambient-light { width: 46vmax; height: 46vmax; opacity: .075; filter: blur(8vmax); }
.public-page .brand-copy .eyebrow { text-transform: none; font-size: .95rem; letter-spacing: .02em; color: var(--muted); }
.public-page .brand-copy h1 { margin-bottom: 0; color: var(--ember); }
.loading-shell { padding: 1.5rem; border-radius: 10px; background: var(--panel); }
.skeleton { background: #30332f; border-radius: 5px; }
.skeleton-title { width: min(55%,320px); height: 1.7rem; margin-bottom: 1.5rem; }
.skeleton-player { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 1.5rem; }
.skeleton-admin-player { width: min(100%,500px); aspect-ratio: 16 / 9; margin-bottom: 1.5rem; }
.skeleton-row { height: 2.4rem; margin-top: .7rem; }
.skeleton-row:last-child { width: 72%; }
#requests-loading { margin-bottom: 1rem; }
main { width: min(1320px,calc(100% - 4rem)); margin: 0 auto; padding-bottom: 3rem; }
.site-nav { min-height: 82px; padding-inline: max(2rem, calc((100% - 1320px) / 2)); border-bottom: 1px solid var(--line); }
.admin-page .site-nav { padding-inline: max(2rem, calc((100% - 1520px) / 2)); }
.site-nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: flex; align-items: center; gap: .8rem; color: var(--cream); text-decoration: none; font-size: 1rem; font-weight: 800; letter-spacing: -.03em; }
.brand-image { position: relative; display: inline-block; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 8px; overflow: hidden; background: #30332f; }
.brand-image img { display: block; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.brand-image-skeleton { position: absolute; inset: 0; background: #30332f; }
.brand-image[data-state="ready"] img { visibility: visible; }
.brand-image[data-state="ready"] .brand-image-skeleton { display: none; }
.brand-image[data-state="error"]::after { content: "MR"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 1rem; }
.brand-image-preview { width: 96px; height: 96px; }
#brand-image-feedback:empty { display: none; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; background: var(--ember); transform: rotate(45deg); }
.brand-mark span { width: 12px; height: 12px; border: 3px solid #171a1c; }
.nav-actions, .button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.nav-actions { font-size: .83rem; }
.site-header { position: relative; display: flex; align-items: center; gap: 2rem; min-height: 210px; padding: 2.4rem 0; }
.brand-copy { flex: 1; }
.brand-copy h1 { margin-bottom: .65rem; }
.brand-copy > p:last-child { margin-bottom: 0; max-width: 52ch; color: #dedbcf; }
.eyebrow { margin: 0 0 .7rem; color: var(--ember); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.header-mascot { width: 160px; height: 175px; object-fit: contain; object-position: bottom; margin-right: 4rem; }
section, article { border: 0; border-radius: 10px; background: var(--panel); padding: 1.5rem; }
main > section { margin-bottom: 1.5rem; }
.current-stage { padding: 0; }
.stream-summary { display: flex; align-items: center; gap: 1rem; cursor: pointer; padding: clamp(1rem,2.2vw,1.6rem); list-style: none; }
.stream-summary::-webkit-details-marker { display: none; }
.stream-summary:focus-visible { outline: 2px solid var(--ember); outline-offset: -4px; }
.stream-summary-copy { display: grid; gap: .25rem; flex: 1; min-width: 0; }
.stream-summary-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(1rem,1.9vw,1.35rem); line-height: 1.25; letter-spacing: -.025em; }
.stream-summary-copy small { color: var(--muted); font-size: .78rem; }
.stream-summary-chevron { width: .65rem; height: .65rem; flex: 0 0 .65rem; border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(45deg); transition: transform 160ms ease; }
.stream-details[open] .stream-summary-chevron { transform: rotate(225deg); }
.current-stage .stream-session-body { padding: 0 clamp(1rem,2.7vw,2rem) clamp(1rem,2.7vw,2rem); }
.stage-heading, .archive-heading, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.stage-heading h2, .archive-heading h2, .section-heading h2, .section-heading h3 { margin-bottom: 0; }
.stage-heading .eyebrow, .archive-heading .eyebrow { margin-bottom: .35rem; }
.player-frame { position: relative; border: 1px solid #41413b; border-radius: 6px; background: #111; overflow: hidden; }
iframe { border: 0; max-width: 100%; background: #111; }
.session-player, .player-frame iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111; }
.timeline-heading { display: flex; justify-content: space-between; margin-top: 1.6rem; font-size: .72rem; color: var(--muted); }
.timeline-heading > span:first-child { color: var(--ember); font-weight: 700; }
.request-timeline { padding: 4rem .7rem 0; margin-bottom: 1.5rem; }
.timeline-track { position: relative; height: 4px; background: #57594f; }
.timeline-marker { position: absolute; bottom: -4px; width: 12px; height: 12px; border: 2px solid #1b1d1e; border-radius: 50%; background: var(--ember); transform: translateX(-50%); }
.timeline-marker:hover, .timeline-marker:focus-visible { background: var(--cream); z-index: 5; }
.timeline-marker-label { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: var(--cream); font-size: .67rem; white-space: nowrap; }
.timeline-marker:nth-child(even) .timeline-marker-label { bottom: 36px; }
.timeline-marker::after { content: attr(data-tooltip); position: absolute; z-index: 5; left: 50%; bottom: 58px; width: max-content; max-width: 220px; padding: .55rem; background: #2d302e; border: 1px solid var(--ember); border-radius: 4px; color: var(--cream); font-size: .75rem; opacity: 0; pointer-events: none; transform: translateX(-50%); }
.timeline-marker:hover::after, .timeline-marker:focus-visible::after { opacity: 1; }
.timeline-scale { display: flex; justify-content: space-between; margin: .7rem 0 0; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.reviewed-heading { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 1rem; }
.reviewed-heading h3 { margin: 0; }
.heading-rule { height: 1px; flex: 1; background: var(--line); }
.session-list, .past-stream-list ul { margin: 0; padding: 0; list-style: none; }
.session-list { max-height: 350px; overflow: auto; }
.request-history-entry { display: grid; grid-template-columns: minmax(0,1.5fr) 12px minmax(0,1fr) 12px minmax(0,.8fr) 12px minmax(0,.8fr); align-items: center; gap: .6rem; padding: .85rem .6rem; border-bottom: 1px solid #2d302e; font-size: .85rem; color: var(--cream); text-decoration: none; }
.request-history-entry:hover { background: #2d302e; }
.request-history-entry > span:nth-child(odd) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.request-history-entry > span:nth-child(5) { color: var(--green); }
.request-history-entry > span:last-child { font-variant-numeric: tabular-nums; color: var(--ember); text-align: right; }
.request-history-separator { color: #93968a; text-align: center; }
.profile-heading, .profile-request-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.profile-heading { margin-bottom: 1rem; }
.profile-heading h2 { margin-bottom: 0; }
#profile-name { color: var(--ember); overflow-wrap: anywhere; text-align: right; }
#profile-feedback { margin-bottom: 0; }
.profile-requests { margin: 0; padding: 0; list-style: none; }
.profile-request { padding: 1rem 0; border-top: 1px solid var(--line); }
.profile-request-heading { align-items: flex-start; }
.profile-request-heading a { color: var(--cream); font-weight: 650; }
.profile-request-status { flex: 0 0 auto; color: var(--green); font-size: .83rem; text-transform: capitalize; }
.profile-request-details { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: .65rem; font-size: .8rem; }
.profile-request-details a { max-width: 100%; overflow-wrap: anywhere; }
.profile-request-details code { font-size: .85rem; }
.search-panel { display: flex; align-items: flex-start; gap: 1.2rem; }
.search-icon { color: var(--ember); font-size: 2rem; line-height: 1; padding-top: 1.9rem; }
.search-content { flex: 1; min-width: 0; }
.search-content label { display: block; }
#search-results { margin: .7rem 0 0; padding: 0; list-style: none; }
#search-results:empty, #search-feedback:empty { display: none; }
#search-results li { padding: .9rem 0; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.7; }
#search-feedback { margin: .6rem 0 0; font-size: .8rem; }
.archive-section { background: #1b1d1e; }
.archive-spark { color: var(--ember); font-size: 2rem; }
.past-stream-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.public-page .past-stream-list { grid-template-columns: 1fr; }
.public-page .past-stream-list > .stream-details { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); overflow: hidden; }
.public-page .past-stream-list .stream-session-body { padding: 0 clamp(1rem,2.7vw,2rem) clamp(1rem,2.7vw,2rem); }
.public-page .past-stream-list .request-history-entry { font-size: .85rem; gap: .6rem; padding: .85rem .6rem; }
.past-stream-list article { padding: 1rem; background: #2d302e; }
.past-stream-list article h3 { margin: .5rem 0; line-height: 1.4; }
.past-stream-date { margin: 0 0 .65rem; font-size: .75rem; }
.past-stream-thumbnail { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; object-fit: cover; }
.past-stream-list article > a:not(:has(img)) { display: inline-block; margin: .6rem 0; font-size: .8rem; }
.past-stream-list article ul { max-height: 190px; overflow: auto; }
.past-stream-list .request-history-entry { font-size: .75rem; gap: .3rem; padding: .65rem .2rem; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-size: .76rem; color: #dedbcf; }
.page-footer a { color: inherit; }
dialog { width: min(520px,calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 2rem; border: 1px solid #57594f;  border-radius: 10px; color: var(--cream); background: #1b1d1e; }
dialog::backdrop { background: rgba(10,15,13,.8); }
dialog form { padding: 0; border: 0; background: transparent; }
dialog h2 { padding-right: 1.8rem; margin-bottom: .4rem; }
dialog form p { margin: 0; }
.dialog-close { position: absolute; top: .65rem; right: .65rem; display: grid; place-items: center; min-height: 32px; width: 32px; padding: 0; color: var(--cream); background: #2d302e; font-size: 1.3rem; }
.dialog-close:hover { background: #41413b; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .7rem; }
.export-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
#export-dialog { width: min(720px,calc(100% - 2rem)); }
.export-content { display: grid; gap: 1rem; }
.export-content p { margin: 0; font-size: .85rem; }
#export-text { width: 100%; min-height: 260px; resize: vertical; padding: 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--night); color: var(--cream); font: .85rem/1.8 ui-monospace, monospace; }
#export-text:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.export-content .dialog-actions { flex-wrap: wrap; }
#copy-export:not(:disabled) { background: var(--ember); color: #211b15; border-color: transparent; }
#copy-export:hover:not(:disabled) { background: #ffbc82; }
#export-status:empty { display: none; }
#feedback:empty, #request-feedback:empty, #stream-state:empty, #stream-elapsed:empty { display: none; }
#feedback, #request-feedback { color: var(--ember);  padding-left: .8rem; }
.admin-page main { width: min(1520px,calc(100% - 4rem)); }
.admin-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2rem 0; }
.admin-header h1 { font-size: clamp(1.7rem,2.7vw,2.5rem); margin: 0; }
.admin-header p:last-child { margin-bottom: 0; }
#archived-streams { margin-top: 2rem; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--line); }
#archived-streams > h2 { margin-bottom: 1.2rem; }
#archive-loading { max-width: 580px; }
.admin-archive-list article { display: flex; flex-direction: column; min-width: 0; }
.admin-archive-list .past-stream-thumbnail { background: #30332f; }
.admin-archive-count { font-size: .8rem; margin: 0 0 .5rem; }
.admin-archive-list article > ul { margin-bottom: 1rem; }
.admin-history-entry { display: grid; grid-template-columns: 6.5rem minmax(0,1fr) minmax(5.5rem,.65fr) 4.5rem; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--cream); font-size: .75rem; }
.admin-history-entry span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-history-entry span:first-child { color: var(--ember); font-variant-numeric: tabular-nums; }
.admin-archive-list article > button { align-self: flex-start; margin-top: auto; }
#stream-section { position: relative; display: block; }
.stream-time-source { position: absolute; width: 320px; height: 180px; left: -10000px; top: 0; overflow: hidden; pointer-events: none; }
.stream-controls h2 { margin-bottom: .7rem; }
.stream-controls .button-row { margin: 1rem 0 0; }
#youtube-player { display: block; width: 100%; height: 100%; }
#requests-section { padding: 0; border: 0; background: transparent; }
#requests-section > .section-heading { background: var(--panel); border: 1px solid var(--line); padding: 1.2rem 1.5rem; border-radius: 8px; margin-bottom: 1rem; }
#pending-count { margin: .45rem 0 0; font-size: .82rem; }
#selected-request { position: relative; border: 0;  margin-bottom: 1.4rem; background: #2d302e; }
#selected-request h3 { color: var(--ember); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
#selected-details { color: var(--cream); font-weight: 700; font-size: 1.6rem; margin-bottom: .7rem; letter-spacing: -.035em; }
#selected-level-metadata:empty { display: none; }
.selected-id { margin: 0 0 1rem; }
.icon-button { display: inline-grid; place-items: center; min-height: 36px; width: 36px; padding: .4rem; vertical-align: middle; color: var(--muted); background: transparent; }
.icon-button:hover { background: #41413b; }
.icon-button svg, .password-toggle svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .9rem .6rem; border-bottom: 1px solid #41413b; font-size: .83rem; overflow-wrap: anywhere; }
th { color: var(--muted); font-weight: 500; font-size: .73rem; }
tbody tr:hover { background: #2d302e; }
tr:last-child td { border-bottom: 0; }
.review-video-actions { display: block; margin: 1.2rem 0; }
.review-video-actions tbody { display: block; }
.review-video-actions tr { display: grid; grid-template-columns: minmax(160px,250px) minmax(260px,1fr) minmax(135px,.3fr); align-items: center; gap: 1rem; }
.review-video-actions td { display: block; min-width: 0; padding: 0; border: 0; }
.review-video-actions td:first-child, .review-video-actions td:last-child { width: auto; }
.review-video-actions tbody tr:hover { background: transparent; }
.review-state-actions { display: grid; grid-template-rows: repeat(2,auto); gap: .5rem; }
.review-state-actions button:last-child { background: #41413b; color: #bad69c; }
#selected-thumbnail-link { display: block; background: #30332f; border-radius: 6px; overflow: hidden; }
#selected-thumbnail { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.skeleton-thumbnail { display: block; width: 100%; aspect-ratio: 16 / 9; }
#selected-request > label { max-width: 220px; }
#timestamp { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.request-tables { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; }
.request-tables > section { min-width: 0; }
.request-tables h3 { margin-bottom: .3rem; }
#reviewed-count { font-size: .78rem; margin-bottom: .6rem; }
#reviewed-requests select { min-width: 90px; padding: .4rem; color: var(--green); background: #2d302e; border-color: #57594f; }
.video-link { position: relative; overflow-wrap: anywhere; }
.level-metadata { display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.25; vertical-align: middle; }
.level-metadata > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gd-difficulty-face { --face: #a1a5a5; position: relative; display: inline-block; width: 1.65rem; height: 1.65rem; flex: 0 0 1.65rem; border: 2px solid #29292a; border-radius: 46%; background: var(--face); box-shadow: inset 0 -.17rem rgba(0,0,0,.18); }
.gd-difficulty-face[data-face="auto"] { --face: #a0dced; }
.gd-difficulty-face[data-face="easy"] { --face: #73dc70; }
.gd-difficulty-face[data-face="normal"] { --face: #d6d86b; }
.gd-difficulty-face[data-face="hard"] { --face: #f0aa5b; }
.gd-difficulty-face[data-face="harder"] { --face: #ef7861; }
.gd-difficulty-face[data-face="insane"] { --face: #d674d9; }
.gd-difficulty-face[data-face="easy-demon"] { --face: #bd6565; }
.gd-difficulty-face[data-face="medium-demon"] { --face: #b36568; }
.gd-difficulty-face[data-face="hard-demon"] { --face: #a8555e; }
.gd-difficulty-face[data-face="insane-demon"] { --face: #904958; }
.gd-difficulty-face[data-face="extreme-demon"] { --face: #79404d; }
.gd-face-eyes::before, .gd-face-eyes::after { content: ""; position: absolute; top: .42rem; width: .19rem; height: .28rem; background: #25252a; border-radius: 1px; }
.gd-face-eyes::before { left: .38rem; }
.gd-face-eyes::after { right: .38rem; }
.gd-face-mouth { position: absolute; left: .46rem; bottom: .33rem; width: .53rem; height: .22rem; border-bottom: 2px solid #25252a; border-radius: 50%; }
.gd-difficulty-face[data-face$="demon"] .gd-face-mouth { height: .28rem; border: 2px solid #25252a; border-top: 0; border-radius: 0 0 4px 4px; background: #f4e7df; }
.video-link[data-thumbnail]:hover, .video-link[data-thumbnail]:focus-visible { z-index: 20; }
.video-link[data-thumbnail]::after { content: ''; position: absolute; z-index: 30; top: calc(100% + .5rem); left: 0; width: min(240px,65vw); aspect-ratio: 16 / 9; border: 2px solid var(--ember); border-radius: 4px; background: #2d302e var(--thumbnail-url) center / cover; opacity: 0; pointer-events: none; }
.video-link[data-thumbnail]:hover::after, .video-link[data-thumbnail]:focus-visible::after { opacity: 1; }
.login-page { min-height: 100dvh; display: grid; place-items: center; }
.login-page .login-main { width: min(440px,calc(100% - 2rem)); padding: 2rem 0; }
.login-card { padding: 2.2rem;  }
.login-card .wordmark { margin-bottom: 2.5rem; }
.login-card h1 { font-size: 1.85rem; margin-bottom: 1.5rem; }
.login-card > p { margin-bottom: 1.7rem; font-size: .9rem; }
.login-back { display: block; margin-top: 1.2rem; text-align: center; color: var(--cream); font-size: .8rem; }
.password-field { position: relative; }
.password-field input { padding-right: 3rem; }
.password-toggle { position: absolute; top: 50%; right: .35rem; display: grid; place-items: center; min-height: 36px; width: 36px; padding: .4rem; transform: translateY(-50%); background: transparent; color: var(--muted); }
.password-toggle:hover { background: #41413b; }
@media (max-width: 900px) {
  .request-tables { grid-template-columns: 1fr; }
  .header-mascot { margin-right: 0; width: 130px; }
  .admin-header { flex-wrap: wrap; }
  .review-video-actions tr { grid-template-columns: minmax(0,1fr) 150px; gap: 1rem; }
  .review-video-actions td:first-child { grid-column: 1 / -1; grid-row: 2; }
  #selected-thumbnail-cell { grid-column: 1; grid-row: 1; }
  .review-video-actions td:last-child { grid-column: 2; grid-row: 1; align-self: end; }
}
@media (max-width: 600px) {
  main, .admin-page main { width: calc(100% - 1.4rem); }
  .site-nav, .admin-page .site-nav { min-height: 70px; padding-inline: .7rem; }
  .site-nav-inner { min-height: 70px; gap: .8rem; flex-wrap: wrap; padding: .8rem 0; }
  .wordmark { font-size: .85rem; gap: .6rem; }
  .brand-mark { width: 22px; height: 22px; }
  .nav-actions { gap: .4rem; font-size: .8rem; width: 100%; }
  .nav-actions > * { flex: 1; text-align: center; }
  .nav-link, .nav-actions button { padding: .5rem .65rem; }
  .site-header { min-height: 190px; padding: 1.8rem 0; gap: .3rem; }
  .brand-copy h1 { font-size: 2.2rem; }
  .brand-copy > p:last-child { font-size: .8rem; }
  .header-mascot { width: 84px; height: 135px; }
  .eyebrow { font-size: .6rem; }
  section, article { padding: 1rem; }
  .stage-heading { align-items: flex-start; gap: .5rem; }
  .stage-heading h2 { font-size: 1.1rem; }
  .past-stream-list { grid-template-columns: 1fr; }
  .stream-summary { gap: .7rem; }
  .public-page .past-stream-list .request-history-entry { gap: .15rem; font-size: .67rem; padding: .75rem 0; }
  #archived-streams { padding: 1rem; }
  .admin-history-entry { grid-template-columns: 5.7rem minmax(0,1fr); }
  .admin-history-entry span:nth-child(3), .admin-history-entry span:nth-child(4) { grid-row: 2; }
  .request-history-entry { gap: .15rem; grid-template-columns: minmax(0,1.2fr) 7px minmax(0,1fr) 7px minmax(0,.65fr) 7px minmax(0,.85fr); font-size: .67rem; padding: .75rem 0; }
  .timeline-marker-label { font-size: .55rem; max-width: 55px; overflow: hidden; text-overflow: ellipsis; }
  .request-timeline { overflow-x: auto; overflow-y: hidden; padding-top: 5rem; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .request-timeline::-webkit-scrollbar { display: none; }
  .timeline-track, .timeline-scale { min-width: var(--timeline-mobile-width, 650px); }
  .search-panel { gap: .7rem; }
  .profile-request-heading { flex-direction: column; gap: .35rem; }
  .page-footer { font-size: .68rem; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  #requests-section > .section-heading { padding: 1rem; flex-wrap: wrap; }
  .request-tables table { display: block; overflow-x: auto; }
  .review-video-actions tr { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-video-actions td { min-width: 0; font-size: .85rem; }
  #selected-thumbnail-cell { grid-column: 1 / -1; grid-row: 1; }
  .review-video-actions td:first-child { grid-column: 1 / -1; grid-row: 2; }
  .review-video-actions td:last-child { grid-column: 1 / -1; grid-row: 3; }
  .review-video-actions button { width: 100%; padding: .65rem; white-space: nowrap; }
  .admin-header .button-row { width: 100%; }
  .admin-header .button-row > button { flex: 1; }
  .request-tables th, .request-tables td { min-width: 85px; }
  .request-tables td:first-child, .request-tables td:nth-child(2) { white-space: nowrap; }
  #pending-requests td:last-child { min-width: 170px; }
  th, td { padding: .7rem .35rem; font-size: .73rem; }
  .login-card { padding: 1.6rem; }
  dialog { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-still { transition: none; }
  *, *::before, *::after { transition: none !important; }
}
