:root{color-scheme:dark;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#f3eedf;background:#0b0b09}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% -20%,#302617 0,transparent 55%);min-height:100dvh}main{max-width:1280px;margin:auto;padding:32px 40px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:27px;border-bottom:1px solid #302c23}.brand{font-size:22px;font-weight:650;letter-spacing:.15em;color:#f1f0ff;text-decoration:none}.brand span{font-weight:400;color:#d8b970;margin-left:12px}.badge{font-size:10px;letter-spacing:.13em;color:#b9a679;border:1px solid #4f4128;border-radius:20px;padding:8px 12px}.title{margin:34px 0 24px}.title>p{font-size:10px;letter-spacing:.22em;color:#ad976a}h1{font-size:clamp(26px,4vw,40px);line-height:1.2;letter-spacing:-.03em;font-weight:550;margin:12px 0;overflow-wrap:anywhere}.details{font-size:12px;letter-spacing:.06em;color:#9b927d}.details>span{padding:0 9px}.screen{background:#05060b;border:1px solid #3a3121;border-radius:16px;overflow:hidden;box-shadow:0 25px 80px #0004}.screen video{display:block;width:100%;max-height:70vh;min-height:150px;aspect-ratio:16/9;background:#000}.screen img{display:block;max-width:100%;max-height:70vh;margin:auto;object-fit:contain}.screen.audio{padding:55px 28px;background:linear-gradient(125deg,#302617,#19160f)}audio{display:block;width:100%}#media-error{color:#efc4ad;line-height:1.6;padding:12px 24px}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}.button,button{font:500 14px Inter,"Segoe UI",system-ui,sans-serif;border:1px solid #443a26;border-radius:9px;padding:12px 17px;background:#211d14;color:#e6dabd;cursor:pointer;text-decoration:none;text-align:center}.primary{background:#d8b970;color:#211a0c;border-color:#d8b970}.primary span{margin-left:12px}.direct{margin-left:auto;font-size:13px;color:#b5a580;text-decoration:none}.direct:hover{text-decoration:underline}button:hover{background:#302717}.primary:hover{background:#e8cd8e}a:focus-visible,button:focus-visible{outline:2px solid #e0c88b;outline-offset:4px}#copy-status{min-height:20px;font-size:13px;color:#d1c18f}footer{color:#817965;font-size:11px;margin-top:35px;padding-top:20px;border-top:1px solid #302a1e}.fallback{padding:65px 24px;text-align:center;color:#aaa18d}.fallback>span{font-size:45px;color:#d8b970}@media(max-width:600px){main{padding:23px 16px}header{padding-bottom:20px}.brand{font-size:18px}.badge{font-size:9px;padding:7px 9px}.title{margin:26px 0 20px}.screen{border-radius:10px}.toolbar>*{flex:1}.toolbar .direct{flex-basis:100%;text-align:center;margin:8px 0}.button,button{font-size:12px;padding:12px}footer{margin-top:20px}}
.archive-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #3b3325;padding-bottom:20px}.archive-heading h2{font-size:22px;font-weight:500;margin:0}.archive-heading>span{color:#a5946e;font-size:13px}.archive-day{margin-top:32px}.archive-day h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#b7a16b;font-weight:500}.archive-list{display:grid;gap:10px}.archive-file{display:flex;align-items:center;gap:18px;padding:22px;text-decoration:none;color:#f4ecd9;background:#14130f;border:1px solid #302b20;border-radius:12px}.archive-file:hover{border-color:#9f834b;background:#1c1912}.archive-icon{color:#d8b970;background:#2b2416;border:1px solid #4c3c1f;padding:10px 14px;border-radius:10px;font-size:22px}.archive-name{overflow-wrap:anywhere;min-width:0}.archive-name small{display:block;color:#8f8570;font-size:11px;margin-top:8px}.archive-open{margin-left:auto;white-space:nowrap;font-size:12px;color:#c1a66d}.archive-empty{padding:45px 0;color:#9b9280}@media(max-width:600px){.archive-file{padding:16px;gap:12px}.archive-open{font-size:0}.archive-open span{font-size:18px}}
.brand{display:inline-flex;align-items:center}.brand img{display:block;width:190px;height:auto}@media(max-width:600px){.brand img{width:155px}}
.stats-grid{display:grid;gap:14px;margin:25px 0}.archive-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}.viewer-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 0}.stat-card{min-width:0;background:linear-gradient(135deg,#201b11,#11110d);border:1px solid #42371f;border-radius:13px;padding:21px 23px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#bda367;font-size:10px;letter-spacing:.13em;line-height:1.5}.stat-top svg{width:19px;height:19px;stroke:#c8ab67;stroke-width:1.5;fill:none;flex-shrink:0}.stat-card strong{display:block;color:#edd7a0;font-weight:500;font-size:34px;font-variant-numeric:tabular-nums;letter-spacing:-.04em;margin:13px 0 6px}.stat-card small{font-size:11px;color:#92856c;line-height:1.5}.viewer-stats .stat-card{padding:15px 20px}.viewer-stats .stat-card strong{font-size:27px;margin:8px 0 3px}.activity{display:flex;align-items:center;justify-content:space-between;gap:35px;border:1px solid #38301f;background:#13120e;border-radius:13px;padding:24px 30px;margin:20px 0 45px}.activity-caption h2{font-size:17px;font-weight:450;margin:10px 0 6px}.activity-caption p{font-size:11px;color:#817963;margin:0}.activity-bars{display:flex;align-items:flex-end;gap:18px;height:90px;flex:1;max-width:450px}.activity-day{display:flex;flex:1;flex-direction:column;align-items:center;gap:10px;color:#9b8b69;font-size:10px;min-width:0}.bar-track{display:flex;align-items:flex-end;justify-content:center;height:65px;width:100%;border-bottom:1px solid #514022}.bar{display:block;width:100%;max-width:30px;border-radius:4px 4px 0 0;background:linear-gradient(#efd698,#987329);min-height:2px;transition:height .3s ease}.bar[data-level="0"]{height:2px;opacity:.25}.bar[data-level="1"]{height:10%}.bar[data-level="2"]{height:20%}.bar[data-level="3"]{height:30%}.bar[data-level="4"]{height:40%}.bar[data-level="5"]{height:50%}.bar[data-level="6"]{height:60%}.bar[data-level="7"]{height:70%}.bar[data-level="8"]{height:80%}.bar[data-level="9"]{height:90%}.bar[data-level="10"]{height:100%}.archive-count{display:inline-block;margin-left:18px;color:#b59c64}.archive-count>span{margin:0 7px;color:#645432}@media(max-width:760px){.archive-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.activity{gap:22px;padding:22px}.activity-bars{gap:10px}.stat-card{padding:17px}.stat-top{font-size:9px}.archive-count{display:block;margin:8px 0 0}}@media(max-width:500px){.viewer-stats{gap:7px}.viewer-stats .stat-card{padding:11px 9px}.viewer-stats .stat-top{font-size:8px;letter-spacing:.04em;gap:2px;overflow-wrap:anywhere}.viewer-stats .stat-top svg{display:none}.viewer-stats .stat-card strong{font-size:25px}.viewer-stats .stat-card small{font-size:9px}.activity{align-items:stretch;flex-direction:column;gap:22px}.activity-bars{max-width:none;flex:auto}.activity-caption p{display:none}.activity-caption h2{margin:7px 0 0}.stat-card strong{font-size:30px}}@media(prefers-reduced-motion:reduce){.bar{transition:none}}
.archive-heading h1{font-size:22px;font-weight:500;letter-spacing:normal;margin:0}.activity-caption h2{margin:0}.stat-card strong{margin-bottom:0}#copy-status:empty{display:none}
.stats-disclosure{margin:18px 0 26px}.stats-disclosure>summary{display:flex;align-items:center;gap:9px;list-style:none;width:max-content;max-width:100%;margin-left:auto;min-height:42px;padding:10px 13px;color:#bca36c;border:1px solid #3b3323;border-radius:8px;font-size:12px;cursor:pointer;user-select:none}.stats-disclosure>summary::-webkit-details-marker{display:none}.stats-disclosure>summary:hover{color:#edd7a0;background:#211c12;border-color:#6c5831}.stats-disclosure>summary:focus-visible{outline:2px solid #e0c88b;outline-offset:4px}.stats-disclosure>summary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.stats-disclosure .stats-chevron{width:14px;height:14px;margin-left:5px}.stats-disclosure .stats-hide{display:none}.stats-disclosure[open] .stats-show{display:none}.stats-disclosure[open] .stats-hide{display:inline}.stats-disclosure[open] .stats-chevron{transform:rotate(180deg)}.stats-content>.stats-grid{margin-top:16px}.stats-content>.activity{margin-bottom:0}.archive-icon{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;padding:10px}.archive-icon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}@media(max-width:600px){.stats-disclosure{margin:14px 0 22px}.archive-icon{width:42px;height:42px;padding:8px}}
.viewer-header{flex-wrap:wrap}.viewer-header .title{flex-basis:100%;margin-bottom:0}
/* Fit the dynamic viewport on phones and desktop; media shrinks without cropping. */
 .viewer-page{min-height:0}
 .viewer-main{position:relative;display:flex;flex-direction:column;gap:12px;height:100dvh;min-height:0;padding:16px 32px}
 .viewer-main .viewer-header{flex:none;flex-wrap:nowrap;gap:24px;min-height:62px;padding:0 170px 12px 0}
 .viewer-header .brand{flex:none}.viewer-header .brand img{width:150px}
 .viewer-header .title{flex:1;min-width:0;margin:0}
 .viewer-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(21px,2.1vw,29px);line-height:1.2;margin:0 0 6px;letter-spacing:-.025em}
 .viewer-header .details{font-size:10px}
 .viewer-main>.stats-disclosure{flex:none;margin:0}
 .viewer-main>.stats-disclosure>summary{position:absolute;right:32px;top:21px;min-height:36px;padding:8px 11px;font-size:11px}
 .viewer-main .stats-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);gap:12px}
 .viewer-main .viewer-stats{margin:0;gap:8px}
 .viewer-main .viewer-stats .stat-card{padding:10px 13px;border-radius:9px}
 .viewer-main .stat-top{font-size:9px;letter-spacing:.07em}
 .viewer-main .viewer-stats .stat-card strong{font-size:24px;margin:5px 0 0}
 .viewer-main .activity{margin:0;padding:12px 16px;gap:18px;border-radius:9px}
 .viewer-main .activity-caption h2{font-size:12px;white-space:nowrap}
 .viewer-main .activity-bars{height:62px;gap:10px}
 .viewer-main .bar-track{height:38px}
 .viewer-main .activity-day{gap:6px;font-size:9px}
 .viewer-main>.screen{flex:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);border-radius:12px;background:#000}
 .viewer-main .screen video,.viewer-main .screen img{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain}
 .viewer-main .screen.audio{padding:24px;background:linear-gradient(125deg,#302617,#19160f)}
 .viewer-main .screen audio{align-self:center}
 .viewer-main .fallback{align-self:center;padding:20px}
 .viewer-main #media-error{margin:0;padding:6px 14px;font-size:12px}
 .viewer-main>.toolbar{flex:none;gap:10px;margin:0}
 .viewer-main .button,.viewer-main button{padding:10px 14px;font-size:12px}
 .viewer-main #copy-status{flex:none;min-height:0;margin:0;font-size:11px;line-height:16px}
@media(max-width:899px){
 .viewer-main{gap:8px;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 .viewer-main .viewer-header{flex-wrap:wrap;gap:8px;min-height:0;padding:0 0 10px}
 .viewer-header .brand img{width:130px}
 .viewer-header .title{flex-basis:100%;margin:0}
 .viewer-header h1{font-size:20px;line-height:1.2;margin:0 0 4px}
 .viewer-main>.stats-disclosure>summary{right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));min-height:36px;padding:8px 10px}
 .viewer-main .stats-content{grid-template-columns:minmax(0,1fr);gap:8px}
 .viewer-main .viewer-stats .stat-card{padding:8px 10px}
 .viewer-main .stat-top{font-size:8px;letter-spacing:.03em;overflow-wrap:anywhere}
 .viewer-main .stat-top svg{display:none}
 .viewer-main .viewer-stats .stat-card strong{font-size:22px;margin-top:4px}
 .viewer-main .activity{flex-direction:row;align-items:center;gap:12px;padding:8px 12px}
 .viewer-main .activity-caption h2{font-size:11px}
 .viewer-main .activity-bars{height:46px;gap:7px;max-width:none}
 .viewer-main .bar-track{height:28px}
 .viewer-main .activity-day{gap:4px;font-size:8px}
 .viewer-main>.screen{border-radius:9px}
 .viewer-main>.toolbar{gap:6px}
 .viewer-main .toolbar .button,.viewer-main .toolbar button{min-height:40px;padding:9px 10px;font-size:11px}
 .viewer-main .toolbar .direct{display:flex;align-items:center;justify-content:center;min-height:32px;margin:0;font-size:11px}
}
@media(max-width:899px) and (max-height:500px) and (orientation:landscape){
 .viewer-main{padding-top:8px;padding-bottom:8px;gap:7px}
 .viewer-main .viewer-header{flex-wrap:nowrap;gap:14px;min-height:40px;padding:0 136px 8px 0}
 .viewer-header .brand img{width:95px}
 .viewer-header .title{flex:1;min-width:0}
 .viewer-header h1{font-size:17px;margin-bottom:3px}
 .viewer-header .details{font-size:8px}
 .viewer-main>.stats-disclosure>summary{top:8px;min-height:32px;padding:7px 8px;font-size:10px}
 .viewer-main .stats-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .viewer-main .viewer-stats{gap:5px}
 .viewer-main .viewer-stats .stat-card{padding:5px 7px}
 .viewer-main .viewer-stats .stat-card strong{font-size:19px;margin-top:2px}
 .viewer-main .activity{gap:8px;padding:6px 8px}
 .viewer-main .activity-caption h2{font-size:9px;white-space:normal}
 .viewer-main .activity-bars{height:38px;gap:5px}
 .viewer-main .bar-track{height:22px}
 .viewer-main .toolbar>*{flex:none}
 .viewer-main .toolbar .direct{flex-basis:auto;margin-left:auto;min-height:36px}
 .viewer-main .toolbar .button,.viewer-main .toolbar button{min-height:36px;padding:8px 10px}
}
