@font-face{font-family:DM Sans;src:url('./vendor/dm-sans.woff2');font-weight:400 800;font-display:swap}
:root{font-family:"DM Sans",Arial,sans-serif;color:#20231e;background:#f7f8f4;--lime:#c1f76c;--line:#dbddd4;--muted:#697064;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer}button{background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #839e4e;outline-offset:3px}svg{width:18px;height:18px;flex:none}h1,h2,h3,p{margin:0}header{height:74px;border-bottom:1px solid var(--line);background:#fcfcfa}.head-inner,main{width:calc(100% - 96px);max-width:1456px;margin:auto}.head-inner{display:flex;align-items:center;height:100%;gap:58px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:25px;letter-spacing:-1.5px}.brand img{width:35px;height:35px}nav{display:flex;align-items:center;gap:7px}.nav,.outline,.engine,.icon,.controls,.byline,.viewport,.orbit-hint,.list-head,.collection-icon,.eyebrow,.options{display:flex;align-items:center}.nav{gap:8px;padding:9px 13px;border-radius:7px;font-weight:550;color:#62675e;font-size:13px}.nav.active{background:#ebede6;color:#282f22}.nav:hover,.outline:hover,.save:hover{background:#e9eee1}.nav svg{width:15px;height:15px}.engine{margin-left:auto;gap:9px;font:10px var(--mono);letter-spacing:1px}.engine i{width:7px;height:7px;border-radius:50%;background:#91ca49;box-shadow:0 0 0 4px #e9f3dc}h1{font-size:clamp(36px,3.7vw,58px);font-weight:650;line-height:1.08;letter-spacing:-.065em}.outline,.save{border:1px solid #d3d6cc;background:#fcfcfa;border-radius:7px}.outline{padding:10px 14px;font-size:12px;font-weight:600;gap:8px}.outline svg{width:16px;height:16px}.layout{display:grid;grid-template-columns:minmax(0,1.97fr) minmax(300px,1fr);gap:22px;align-items:stretch}.watch,.library{border:1px solid var(--line);background:#fff;border-radius:13px;overflow:hidden}.watch{min-width:0}.theater{background:#101710}.stage{width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;background:radial-gradient(ellipse at 54% 66%,#28342a,#141d1a 48%,#0e1412 88%);cursor:grab;touch-action:pan-y;user-select:none}.stage.dragging{cursor:grabbing}.stage canvas,#renderer,#renderer>div{position:absolute;inset:0;width:100%;height:100%}#renderer{pointer-events:none}.stage .screen{width:800px;height:450px;background:#0d130b;border:3px solid #c2f989;border-radius:7px;box-shadow:0 0 0 2px #37462c,3px 3px 0 3px #526741,5px 5px 0 4px #1f2c22,0 0 35px #b5f47622,0 20px 50px #0007;overflow:hidden;pointer-events:auto;position:relative}.screen .poster{border:0;padding:0;position:absolute;inset:0;width:100%;height:100%;background:#111;display:grid;place-items:center}.poster img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.poster:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0a140b25,transparent 50%)}.poster .big-play{z-index:1;background:var(--lime);border-radius:50%;width:86px;height:86px;display:grid;place-items:center;box-shadow:0 5px 23px #0003;transition:transform .2s}.poster:hover .big-play{transform:scale(1.07)}.big-play svg{color:#182014;width:35px;height:35px;margin-left:3px}.screen iframe{width:100%;height:100%;border:0;display:block}.viewport,.orbit-hint{position:absolute;pointer-events:none;gap:6px;color:#dae1d5}.viewport{top:17px;left:17px;border:1px solid #71816e77;border-radius:5px;padding:6px 8px;background:#172119b3;font:9px var(--mono);letter-spacing:1px}.viewport svg{width:13px;height:13px;color:#c6ed9c}.orbit-hint{right:16px;bottom:12px;font:10px var(--mono);color:#bdc6b9}.orbit-hint svg{width:12px;height:14px}.axis{position:absolute;bottom:12px;left:16px;pointer-events:none}.axis svg{width:43px;height:43px}.controls{gap:13px;padding:0 17px;height:44px;background:#111812;color:#f2f5ee;border-top:1px solid #394235}.icon{justify-content:center;border-radius:5px;width:32px;height:32px;padding:0}.inverse{color:#f0f4ec}.inverse svg{width:16px;height:16px}.inverse:hover{background:#364032}.clock{font:10px var(--mono);color:#c9d0c4}.controls input{min-width:10px;flex:1;appearance:none;border:0;height:4px;border-radius:5px;cursor:pointer;background:linear-gradient(to right,var(--lime) var(--progress,0%),#495044 var(--progress,0%));accent-color:var(--lime)}.controls input::-webkit-slider-thumb{appearance:none;width:9px;height:9px;border-radius:50%;background:var(--lime)}.details{min-height:117px;display:flex;align-items:center;justify-content:space-between;padding:19px 23px;gap:16px}.eyebrow,.list-head{font:10px var(--mono);letter-spacing:1.05px;color:#61695b}.eyebrow{gap:7px}.signal{display:flex;align-items:center;gap:2px;height:12px}.signal i{width:2px;height:6px;background:#6c9e37}.signal i:nth-child(2){height:12px}.signal i:nth-child(3){height:9px}.details h2{font-size:clamp(20px,1.8vw,29px);margin:6px 0 5px;letter-spacing:-1px;line-height:1.12}.byline{color:#71756d;font-size:12px;gap:9px}.byline a{display:inline-flex;align-items:center;gap:4px}.byline a:hover{text-decoration:underline}.byline svg{width:15px;height:15px}.save{flex:none;width:36px;height:36px}.save.selected{background:#e6f7ca}.library{display:flex;flex-direction:column;min-height:0;padding:20px 17px 11px}.library-head,.dialog-head,.collections-head{display:flex;align-items:center;justify-content:space-between}.library h2,.collections h2,.dialog-head h2{font-size:21px;letter-spacing:-.9px;line-height:1.3;font-weight:650}.library-head{padding:0 3px}.library-head>span,.collection-icon{color:#7a8173}.library-head svg{width:17px;height:17px}.poster:hover .big-play{background:#ace451}.list-head{padding:0 4px 11px;gap:7px}.list-head #list-count{margin-left:auto;letter-spacing:.5px}.list-head button{font:11px "DM Sans",sans-serif;text-decoration:underline}.library #results{min-height:0;flex:1;position:relative;overflow:auto;scrollbar-width:thin;scrollbar-color:#d5dccc transparent;height:0}.row{width:100%;text-align:left;display:flex;align-items:center;gap:12px;border:1px solid transparent;padding:7px 7px;border-radius:7px}.row:hover{background:#f3f5ef}.row.selected{background:#edf6df;border-color:#cee3af}.thumb{width:91px;aspect-ratio:1.77;flex:none;position:relative;overflow:hidden;border-radius:4px;background:#30392f}.thumb img,.collection img{object-fit:cover;width:100%;height:100%}.time-tag{position:absolute;right:3px;bottom:3px;border-radius:3px;background:#0a100bd9;color:white;padding:2px 3px;font:9px var(--mono)}.row-copy{flex:1;min-width:0}.row strong,.row small{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.row strong{font-size:14px;letter-spacing:-.35px;line-height:1.25;font-weight:650;-webkit-line-clamp:2}.row small{color:var(--muted);font-size:11.5px;margin-top:4px;-webkit-line-clamp:1}.row-signal{flex:none;width:15px}.empty{padding:16px 6px;font-size:13px;line-height:1.6;color:var(--muted)}.collections{margin:29px 0 40px}.collections-head{gap:15px;margin-bottom:15px}.line{height:1px;flex:1;background:var(--line)}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.collection{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;aspect-ratio:3.15;border-radius:9px;padding:16px 18px;color:white;text-align:left;background:#222b25}.collection img,.collection:after{position:absolute;inset:0;z-index:-2}.collection img{transition:transform .25s}.collection:hover img{transform:scale(1.04)}.collection:after{content:"";z-index:-1;background:linear-gradient(0deg,rgba(7,15,13,.81),rgba(6,12,10,.07) 105%)}.collection strong{font-size:20px;letter-spacing:-.8px;line-height:1.2}.collection span{display:grid;place-content:center;border:1px solid #ffffff75;border-radius:50%;width:27px;height:27px;background:#ffffff0d}.collection svg{width:13px;height:13px}.theater:fullscreen,.theater.full{display:flex;flex-direction:column;height:100%;width:100%}.theater.full{position:fixed;inset:0;z-index:10}.theater:fullscreen .stage,.theater.full .stage{flex:1;min-height:0;aspect-ratio:auto}.controls{flex:none}dialog{border:1px solid var(--line);border-radius:15px;padding:24px;max-width:calc(100% - 30px);width:365px;color:inherit;box-shadow:0 20px 90px #19201333}dialog::backdrop{background:#15221255;backdrop-filter:blur(3px)}fieldset{border:0;padding:0;margin:24px 0 17px}legend,.toggle{font-size:13px;font-weight:600;margin-bottom:9px}.options{gap:6px}.options button{background:#f0f2ec;border-radius:6px;font-size:13px;padding:8px 13px}.options .chosen{background:var(--lime)}.toggle{display:flex;align-items:center;gap:6px}.toggle input{accent-color:#638e2e}.reset{margin-top:20px}#toast{pointer-events:none;position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;background:#20291e;color:white;padding:10px 17px;border-radius:7px;font-size:13px;transition:.18s}#toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(min-width:1600px){.details{min-height:126px}.row{padding:10px 7px}.thumb{width:112px}}
@media(max-width:1100px){.head-inner,main{width:calc(100% - 56px)}.layout{grid-template-columns:minmax(0,1.72fr) minmax(280px,1fr);gap:15px}.thumb{width:76px}.library{padding:15px 10px 8px}.row{gap:9px}.collection{aspect-ratio:2.75}}
@media(max-width:760px){header{height:61px}.head-inner,main{width:calc(100% - 32px)}.head-inner{justify-content:space-between;gap:8px}.engine{display:none}.brand{font-size:22px}.brand img{width:30px;height:30px}.nav{padding:8px 9px;font-size:12px}.layout{grid-template-columns:1fr;gap:16px}.details{min-height:100px;padding:16px}.library{padding:17px 13px}.library #results{height:auto;max-height:330px;flex:auto}.row{padding:6px 7px}.thumb{width:88px}.collection-grid{gap:9px}.collection{padding:10px;aspect-ratio:1.5}.collection strong{font-size:15px}.collection span{display:none}.collections{margin-top:22px}.controls{gap:6px;padding:0 10px}.viewport{left:12px;top:12px}.axis{left:10px;bottom:6px}.axis svg{width:31px;height:31px}.orbit-hint{font-size:8px}.byline{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}



.stage.fitted { background: #000; cursor: default; }
.stage.fitted .screen { border: 0; border-radius: 0; box-shadow: none; }
.stage.fitted :is(canvas, .viewport, .axis, .orbit-hint) { display: none; }
.stage.fitted .poster img { object-fit: contain; }
.stage.fitted .big-play { width: clamp(52px, 6vw, 80px); height: clamp(52px, 6vw, 80px); }
.library-tabs { display:flex; gap:4px; border-bottom:1px solid var(--line); margin:12px 2px 14px; }
.library-tabs button { flex:1; padding:8px 4px; margin-bottom:-1px; border-bottom:2px solid transparent; color:var(--muted); font-size:13px; }
.library-tabs button[aria-pressed="true"] { color:#20271a; font-weight:700; border-color:#84b849; }
.library-tabs button:hover { background:#f3f6ee; }
.library-tabs button:disabled { opacity:.45; }

.chart-rank { min-width:18px; font:11px var(--mono); color:#626c58; }
.chart-source { margin:8px 4px 1px; padding-top:8px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.chart-source a { text-decoration:underline; text-underline-offset:2px; }
#chart-tools { display:flex; flex-wrap:wrap; gap:5px; margin:0 2px 12px; }
#chart-tools select, #chart-tools input, .music-actions select { background:#fafbf8; color:#343c2d; border:1px solid var(--line); border-radius:6px; font:500 12px "DM Sans",sans-serif; padding:7px 8px; max-width:100%; }
#chart-tools input { flex:1 1 130px; min-width:100px; }
.music-section { margin:30px 0; }
.music-head,.music-actions { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.music-head { margin-bottom:15px; }
.music-head h2 { font-size:23px; font-weight:650; letter-spacing:-.9px; }
.music-head p,.music-card small { color:var(--muted); font-size:12px; margin-top:3px; }
.music-actions select { padding:9px; }
.music-picks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.music-card { padding:0; text-align:left; align-self:start; min-width:0; }
.music-cover { position:relative; display:block; overflow:hidden; border-radius:8px; aspect-ratio:16/9; background:#222b25; }
.music-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.music-number { position:absolute; top:8px; left:8px; border-radius:4px; background:#182112de; color:white; padding:3px 5px; font:11px var(--mono); }
.music-play { position:absolute; right:8px; bottom:8px; width:28px; height:28px; display:grid; place-items:center; background:var(--lime); color:#182112; border-radius:50%; }
.music-play svg { width:13px; height:13px; }
.music-card strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:8px 0 3px; font-size:14px; line-height:1.3; }
.music-card:hover strong { text-decoration:underline; }
.music-card[aria-current="true"] .music-cover { outline:2px solid #83ac43; outline-offset:1px; }
@media(max-width:760px) {
  .music-picks { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 10px; }
  .music-head { flex-wrap:wrap; align-items:flex-start; }
  .music-actions { flex-wrap:wrap; }
  .music-actions .outline,.music-actions select { padding:8px; font-size:11px; }
}

.lookup { position:relative; z-index:2; margin:28px 0 22px; }
#search-form { display:flex; align-items:center; gap:14px; background:white; border:1px solid #ccd2c4; border-radius:12px; padding:8px 9px 8px 18px; height:60px; }
#search-form:focus-within { border-color:#82a657; box-shadow:0 0 0 2px #a3c37a30; }
#search-form > span { display:flex; color:#626a5d; }
#search-form svg { width:22px; height:22px; }
#search { min-width:0; flex:1; height:100%; border:0; background:transparent; color:inherit; font-size:18px; outline:none; }
#search::placeholder { color:#646c5f; }
#search-form button { align-self:stretch; padding:0 24px; background:var(--lime); border-radius:7px; font-size:14px; font-weight:650; }
#search-form button:hover { background:#ace451; }
#lookup-panel { position:absolute; top:calc(100% + 6px); left:0; right:0; max-height:min(52dvh,440px); overflow:auto; overscroll-behavior:contain; background:white; border:1px solid var(--line); padding:6px; border-radius:10px; box-shadow:0 12px 35px #1b251c24; }
#lookup-status:not(:empty) { padding:10px 12px; color:var(--muted); font-size:13px; }
#lookup-results .row { cursor:pointer; }
#lookup-results .row[aria-selected="true"] { background:#edf6df; border-color:#cee3af; }
.control-settings { width:auto; padding:0 6px; gap:6px; font-size:11px; white-space:nowrap; }
@media(max-width:760px) {
  .lookup { margin:18px 0 16px; }
  #search-form { height:52px; gap:8px; padding:6px 6px 6px 10px; }
  #search { font-size:16px; }
  #search-form svg { width:18px; height:18px; }
  #search-form button { font-size:12px; padding:0 10px; }
  .control-settings { width:32px; padding:0; }
  .control-settings span { display:none; }
}

#lookup-results .video-stats { display:block; margin-top:2px; color:#586052; line-height:1.35; overflow:visible; }
#lookup-results .video-stats:empty { display:none; }
