/* Animation programme / Night Observatory. Warm frame marks, dark screening room. */
.an-app,.an-home {--an-warm:#ffc29b;--an-ink:#f4f1ee;--an-dim:#adbacb;--an-line:#a6bcd52b;--an-surface:#0c1624;--an-type:var(--font-display);color:var(--an-ink)}
body[data-scene=anime] {background:linear-gradient(118deg,#050b15,#08111e 72%,#080e19)}
body[data-scene=anime] main#app {padding-inline:clamp(18px,1.6vw,32px);padding-top:clamp(17px,1.45vw,29px)}
.an-app {width:100%;max-width:1580px;margin-inline:auto}.an-app *,.an-home * {min-width:0}
.an-app a,.an-home a {text-decoration:none;color:inherit}.an-app a:hover,.an-home a:hover {color:var(--an-warm)}
.an-app button,.an-home button {font-family:var(--font-body)}.an-app :focus-visible,.an-home :focus-visible {outline:2px solid #ffcaa6;outline-offset:3px}
.an-mast,.an-brand,.an-tools,.an-feature-actions,.an-shelf-head,.an-shelf-name,.an-chips,.an-actions,.an-crumb,.an-home-title {display:flex;align-items:center}
.an-mast,.an-shelf-head,.an-crumb,.an-home-title {justify-content:space-between;gap:16px}
.an-mast {margin:0 0 clamp(14px,1.35vw,22px)}.an-brand {gap:12px}.an-stamp {width:clamp(39px,3.12vw,52px);height:clamp(39px,3.12vw,52px);display:grid;place-items:center;border-radius:13px;background:#2b2325;border:1px solid #e3a67a50;color:var(--an-warm)}.an-stamp .i {width:65%;height:65%;stroke-width:1.55}
.an-k,.an-sigil,.an-meta,.an-frame-no,.an-count,.an-colophon {font:600 10px/1.4 var(--font-body);letter-spacing:.14em;text-transform:uppercase}
.an-k {display:block;color:#c7aea0;font-size:9px;letter-spacing:.16em}.an-mast h1,.an-watch-head h1 {font:650 clamp(25px,1.95vw,36px)/1.16 var(--an-type);margin:3px 0 0;letter-spacing:-.055em}
.an-tools,.an-actions,.an-feature-actions {gap:9px}.an-tab,.an-publish,.an-command,.an-primary,.an-chips button {position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 13px;border-radius:10px;border:1px solid var(--an-line);font:600 13px/1.25 var(--font-body);background:#101a28;color:#e6edf5;cursor:pointer;white-space:nowrap}
.an-app .an-primary {background:#ffcca7;color:#231d1e;border-color:#ffe0c4;box-shadow:inset -2px 0 4px #fff2db6e}.an-app .an-primary:hover {background:#ffdabb;color:#1d1716}
.an-primary .i,.an-tab .i,.an-command .i,.an-publish .i {width:16px;height:16px}.an-tools [data-an-size] {font-size:11px;color:var(--an-dim);font-variant-numeric:tabular-nums}.an-app .an-publish {background:transparent;border-color:transparent;color:#b9c6d7}
.an-tab:hover,.an-command:hover,.an-chips button:hover,.an-app .an-publish:hover {color:#fff;border-color:#b1c1d356;background:#182330}.an-tab[aria-pressed=true],.an-command[aria-pressed=true] {color:var(--an-warm);background:#2b2326;border-color:#c694755b}
.an-feature {position:relative;isolation:isolate;overflow:hidden;border:1px solid #a1b8d22f;background:#0a131e;border-radius:clamp(15px,1.3vw,22px);min-height:clamp(265px,21vw,366px);display:flex}
.an-feature-art,.an-feature-veil {position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.an-feature-art {object-fit:cover;object-position:59% 43%;z-index:-2}.an-feature-veil {z-index:-1;background:linear-gradient(90deg,#07111bf5 1%,#07111bdc 25%,#08131c6b 43%,transparent 63%),linear-gradient(0deg,#06101b65,transparent 28%)}
.an-feature-copy {display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:20px;width:min(51%,690px);padding:clamp(23px,2.2vw,40px) clamp(24px,2.8vw,50px)}
.an-sigil {display:flex;align-items:center;gap:8px;color:#ffdbc1;font-size:10px;letter-spacing:.17em}.an-sigil i {width:19px;height:3px;background:var(--an-warm);box-shadow:0 0 9px #edaa7050}
.an-feature-copy h2 {color:#fff5ed;font:650 clamp(32px,3.3vw,63px)/1.1 var(--an-type);letter-spacing:-.06em;margin:6px 0 8px}.an-feature-copy p {font:450 clamp(14px,.98vw,18px)/1.5 var(--font-body);margin:0;color:#d5dce2;max-width:38ch;text-wrap:pretty}.an-feature-copy .an-k {color:#ecc1a5}
.an-feature-actions {flex-wrap:wrap;gap:12px}.an-feature-actions>span {font-size:12px;color:#e2dcd4}.an-feature-actions i,.an-meta i {font-style:normal;opacity:.6;margin:0 2px}.an-feature-actions .an-primary {padding-inline:16px;min-height:42px}.an-frame-no {position:absolute;right:17px;bottom:12px;font-size:9px;letter-spacing:.19em;color:#efdfcf;text-shadow:0 1px 4px #07101f}
.an-library {margin-top:clamp(21px,2.0vw,35px)}.an-shelf-head {margin-bottom:15px;flex-wrap:wrap}.an-shelf-name,.an-home-title h2 {gap:10px}.an-shelf-name h2,.an-home-title h2,.an-discuss h2,.an-upnext h2 {font:600 clamp(18px,1.45vw,26px)/1.24 var(--an-type);letter-spacing:-.05em;margin:0}
.an-count {font-size:11px;color:#c9a88f;border-left:1px solid #bcaa9b50;padding-left:10px;letter-spacing:.1em}.an-chips {gap:6px;max-width:100%;overflow:auto;scrollbar-width:thin}.an-chips button {border-radius:99px;min-height:32px;padding:5px 11px;font-size:12px;background:transparent;color:#bbcad9}.an-chips button[aria-pressed=true] {background:#e6d2c1;border-color:#eadbcf;color:#221e20}
.an-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.1vw,20px)}.an-card {border:1px solid var(--an-line);border-radius:15px;overflow:hidden;background:linear-gradient(145deg,#101a27,#0a121e);display:flex;flex-direction:column;transition:border-color .16s}.an-card:focus-within,.an-card:hover {border-color:#d5ad8f78}
.an-frame,.an-home-card>div,.an-next>div {isolation:isolate;position:relative;border-radius:12px;overflow:hidden;background:#0a1422}.an-frame a {display:block;aspect-ratio:16/9}.an-frame img,.an-home-card img,.an-next img {width:100%;height:100%;display:block;object-fit:cover}.an-frame a:focus-visible,.an-home-card:focus-visible {outline-offset:-3px}
.an-length {position:absolute;right:7px;bottom:7px;border-radius:6px;background:#040911dd;color:#fff;border:1px solid #d1dded29;font:650 11px/1.3 var(--font-body);padding:2px 6px;font-variant-numeric:tabular-nums}
.an-pin {position:absolute;right:7px;top:7px;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;border:1px solid #d6e3f14a;background:#0a111eda;color:#f3f4f7;cursor:pointer}.an-pin .i {width:16px;height:16px}.an-pin[aria-pressed=true] {color:#ffe0c7;border-color:#ffe0c781}.an-pin[aria-pressed=true] .i {fill:#f3b2814d}
@media(hover:hover){.an-pin:not([aria-pressed=true]) {opacity:0}.an-card:is(:hover,:focus-within) .an-pin {opacity:1}}
.an-card-caption {padding:12px 13px 14px}.an-meta {display:block;font-size:9px;color:#d8b49a;letter-spacing:.1em}.an-card h3 {font:650 clamp(15px,1.03vw,19px)/1.32 var(--font-body);letter-spacing:-.027em;margin:5px 0 3px;text-wrap:pretty;overflow-wrap:anywhere}.an-card-caption>p {margin:0;font:450 12px/1.4 var(--font-body);color:var(--an-dim);overflow-wrap:anywhere}
.an-colophon {border-top:1px solid #adc2d31b;margin-top:clamp(24px,2.1vw,38px);padding:12px 0 0;display:flex;justify-content:space-between;gap:10px;color:#8394a8;font-size:9px}.an-colophon span:first-child {display:flex;align-items:center;gap:7px}.an-colophon .i {width:15px;height:15px;color:#d6a587}.an-search-note,.an-muted {color:var(--an-dim);font-size:14px}.an-search-note button,.an-text-btn {color:var(--an-warm);background:transparent;border:0;text-decoration:underline;text-underline-offset:.22em;cursor:pointer}
.an-empty {border:1px solid var(--an-line);background:#0d1723;text-align:center;padding:clamp(22px,3.6vw,56px) 16px;border-radius:15px}.an-empty>.i {width:25px;height:25px;color:var(--an-warm)}.an-empty h3 {margin:8px 0;font:600 19px/1.3 var(--font-body)}.an-empty p {color:var(--an-dim);margin:0 0 16px}
.an-crumb {padding:0 0 15px}.an-crumb a,.an-crumb>span {display:flex;gap:7px;align-items:center}.an-crumb a {font:550 13px/1.4 var(--font-body);color:#d8e2ed}.an-crumb>span {font:600 9px/1.4 var(--font-body);letter-spacing:.12em;color:#c9a88f}.an-crumb .i {width:16px;height:16px}
.an-watch-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,.32fr);align-items:start;gap:clamp(17px,1.65vw,30px)}.an-screen {display:grid;place-items:center;aspect-ratio:16/9;background:#030710;border:1px solid var(--an-line);border-radius:16px;overflow:hidden}.an-screen video {width:100%;height:100%;max-height:72dvh;object-fit:contain}.an-media-error {padding:12px;color:#ffd1b2}
.an-watch-head {margin:18px 0 13px}.an-watch-head h1 {margin:6px 0;font-size:clamp(22px,1.8vw,34px);overflow-wrap:anywhere}.an-watch-head p {margin:0;color:var(--an-dim);font-size:13px}.an-actions {flex-wrap:wrap}.an-details {margin:16px 0;padding:14px 16px;border:1px solid var(--an-line);border-radius:13px;background:#0d1723}.an-details>p {margin:0 0 12px;color:#d8e1ec;line-height:1.55;font-size:14px}.an-author,.an-author>a {display:flex;align-items:center;gap:10px}.an-author>a {margin-right:auto}.an-author img {width:34px;height:34px;border-radius:50%}.an-author a span {display:grid}.an-author a small,.an-thread header small {font-size:11px;color:var(--an-dim)}.an-author a b {font-size:13px}.an-credits {border-top:1px solid var(--an-line);margin-top:12px;padding-top:9px;color:#bbc9d8;font-size:12px}.an-credits summary {cursor:pointer;color:#d9bfaa}.an-credits p {margin:6px 0}.an-credits a {text-decoration:underline;text-underline-offset:.18em;margin-right:12px}
.an-upnext {padding:16px 14px;border:1px solid var(--an-line);border-radius:16px;background:#0b1522}.an-upnext h2 {font-size:17px;margin:4px 0 14px}.an-next {display:grid;grid-template-columns:minmax(82px,40%) minmax(0,1fr);gap:9px;align-items:center;margin:11px 0 0}.an-next>div {aspect-ratio:16/9;border-radius:8px}.an-next section {display:grid;gap:3px}.an-next b {font:600 13px/1.28 var(--font-body)}.an-next small {font-size:11px;color:var(--an-dim)}.an-next .an-length {font-size:9px;right:3px;bottom:3px}.an-next .an-meta {font-size:8px}
.an-discuss {margin:23px 0}.an-discuss h2 {display:flex;gap:9px;align-items:center;margin:0 0 12px}.an-discuss form {display:flex;align-items:stretch;gap:8px}.an-discuss input {flex:1;min-width:0;width:auto;background:#0b1522;border:1px solid var(--an-line);border-radius:9px;padding:9px 11px;color:#eef2f7}.an-thread {border-top:1px solid var(--an-line);margin-top:13px;padding-top:13px}.an-thread header {display:flex;flex-wrap:wrap;align-items:center;gap:9px}.an-thread a {font-weight:650;font-size:13px}.an-thread p {margin:5px 0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px}.an-thread .an-text-btn {padding:5px 0;font-size:12px}.an-reply {border-left:2px solid #b6937969;margin:9px 0 0 10px;padding-left:10px}
.an-home {margin-top:clamp(24px,2.65vw,48px)}.an-home-title {margin-bottom:13px}.an-home-title h2,.an-home-title a {display:flex;align-items:center}.an-home-title h2 .i {width:21px;height:21px;color:var(--an-warm)}.an-home-title a {font-size:13px;gap:3px;color:#e8c4a9}.an-home-title a .i {width:15px;height:15px}.an-home-row {display:flex;overflow:auto;gap:12px;scroll-snap-type:x proximity;padding-bottom:7px}.an-home-card {flex:0 0 clamp(178px,15.2vw,268px);scroll-snap-align:start}.an-home-card>div {aspect-ratio:16/9;border:1px solid var(--an-line)}.an-home-card>b,.an-home-card>small {display:block}.an-home-card>b {font-size:14px;margin:6px 0 2px}.an-home-card>small {font-size:12px;color:var(--an-dim)}
@media(max-width:1160px){.an-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.an-feature-copy {width:54%}.an-watch-layout {grid-template-columns:minmax(0,1fr) minmax(208px,.37fr)}}
@media(max-width:820px){.an-watch-layout {grid-template-columns:minmax(0,1fr)}.an-upnext {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.an-upnext>div,.an-upnext>h2 {grid-column:1/-1}.an-upnext h2,.an-next {margin:0}.an-feature-copy {width:60%}}
@media(max-width:620px){body[data-scene=anime] main#app {padding:12px 12px 90px}.an-mast {gap:7px}.an-brand {gap:8px}.an-mast h1 {font-size:23px}.an-brand .an-k {font-size:8px}.an-stamp {width:35px;height:35px;border-radius:10px}.an-tools {gap:2px}.an-tab,.an-command {padding:7px 9px;font-size:12px}.an-app .an-publish {width:34px;padding:0}.an-publish span {display:none}.an-tools [data-an-size] {font-size:10px}.an-feature {display:block;min-height:0}.an-feature-art {display:block;position:relative;z-index:0;aspect-ratio:2.12;height:auto;object-position:62% 44%}.an-feature-veil {display:none}.an-feature-copy {width:100%;padding:16px 17px 18px;gap:12px}.an-feature-copy .an-k {font-size:8px}.an-feature-copy h2 {font-size:30px;margin:3px 0 5px}.an-feature-copy p {font-size:14px;max-width:48ch}.an-sigil {font-size:8px}.an-feature-actions .an-primary {min-height:39px}.an-frame-no {top:10px;bottom:auto;right:10px;font-size:8px}.an-shelf-head {gap:10px;margin-bottom:12px}.an-chips button {min-height:32px}.an-card {border-radius:11px}.an-grid {gap:10px}.an-frame {border-radius:9px}.an-card-caption {padding:8px}.an-card h3 {font-size:14px}.an-card-caption>p {font-size:11px}.an-meta {font-size:8px}.an-pin {width:30px;height:30px;right:4px;top:4px}.an-colophon {font-size:8px;letter-spacing:.09em}.an-crumb>span {font-size:8px}.an-upnext {display:block}.an-next {margin:10px 0}.an-next>div {max-width:140px}.an-details {padding:12px}.an-home-title a {font-size:12px}}
@media(max-width:980px){.bottomnav a {min-width:0}.bottomnav a small {font-size:clamp(9px,2.45vw,10px);letter-spacing:-.01em}}
@media(hover:none){.an-pin {width:36px;height:36px}.an-chips button {min-height:36px}.an-command,.an-tab {min-height:41px}}
