:root {
  color-scheme: dark;
  --rail: clamp(166px, 15vw, 224px);
  --gutter: clamp(24px, 3.5vw, 70px);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
body { background:radial-gradient(ellipse 74vw 420px at 83% 0,#753e732f,transparent 88%),var(--bg); color: var(--ink); padding-inline-start: var(--rail); }
.shell { width: min(calc(100% - var(--gutter)*2), 1450px); margin-inline:auto; }
.top { position:fixed; inset:0 auto 0 0; width:var(--rail); z-index:5; padding:30px 14px; background:var(--panel); border:0; border-right:1px solid var(--edge); display:flex; flex-direction:column; gap:42px; }
.brand { gap:11px; margin-left:11px; }
.brand img { width:36px; height:36px; }
.brand span { font:600 1.32rem/1 "Segoe UI",Arial,sans-serif; letter-spacing:.15em; transform:none; }
.top nav { flex-direction:column; gap:5px; }
.top nav a, #profile-link { display:flex; align-items:center; gap:12px; min-height:45px; padding:8px 13px; border-radius:10px; color:var(--muted); font-size:.94rem; font-weight:600; }
.top nav a.active:after { display:none; }
.top nav a.active, #profile-link.active { color:var(--accent); background:var(--violet-wash); }
.top nav a:hover,#profile-link:hover { background:var(--raised); color:white; }
.rail-account { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:auto; padding-top:8px; border-top:1px solid var(--edge); }
#profile-link { min-width:0; }
.toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:87px; }
.toolbar strong { font-size:1.35rem; letter-spacing:-.04em; }
#open-search { display:flex; align-items:center; gap:12px; background:var(--panel); border:1px solid var(--edge); border-radius:30px; color:var(--muted); font-size:.9rem; padding:9px 12px; min-width:180px; }
#open-search .icon { width:17px; height:17px; }
#open-search { margin-inline-start:auto; }
#open-search kbd { margin-left:auto; width:19px; border:1px solid var(--edge); border-radius:4px; }
.cover { border:1px solid var(--edge); border-radius:21px; overflow:hidden; background:var(--panel); }
.cover-scene { position:relative; isolation:isolate; display:flex; align-items:flex-end; min-height:clamp(355px,31vw,500px); background:var(--input-bg); }
.scene-art { position:absolute; inset:0 0 0 auto; width:84%; height:100%; object-fit:cover; object-position:center 42%; z-index:-2; }
.scene-art.portrait-scene { width:54%; object-position:center 30%; }
.cover-scene:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,var(--panel) 0%,#272329f5 18%,#272329d6 34%,#27232969 53%,transparent 77%),linear-gradient(0deg,#1b11266b,transparent 32%); }
.cover-copy { width:min(58%,620px); padding:clamp(26px,3.2vw,62px); }
.cover-label { display:flex; align-items:center; gap:8px; color:var(--accent); font-weight:700; font-size:.88rem; }
.cover-label .icon { width:17px; height:17px; }
.cover h1 { font-size:clamp(4rem,7vw,8rem); line-height:1; letter-spacing:-.068em; margin:16px 0 5px; font-weight:780; }
.cover h1.long { font-size:clamp(2.05rem,4.1vw,4.8rem); overflow-wrap:anywhere; line-height:1.05; }
.subtitle { font-size:clamp(1.02rem,1.45vw,1.55rem); font-weight:600; }
.cover-meta { font-size:.85rem; margin-top:13px; color:#c6bbc9; }
.summary { max-width:440px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:.96rem; color:var(--text); line-height:1.48; margin-top:8px; }
.cover-actions { display:flex; gap:9px; margin-top:20px; }
.primary { background:var(--rose); color:var(--on-accent); border:0; border-radius:40px; min-height:43px; }
.primary:hover { background:var(--rose-hover); }
.square,.secondary { background:var(--raised); border:1px solid var(--edge-strong); color:var(--ink); border-radius:30px; min-height:43px; }
.square { width:43px; }
.square:hover,.secondary:hover { background:#513258; }
.is-saved { color:var(--accent); }
.film-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:var(--panel); }
.film-tab { min-width:0; display:flex; align-items:center; gap:11px; padding:9px clamp(9px,1.45vw,22px); text-align:left; font-weight:650; font-size:.9rem; color:var(--muted); border-top:3px solid transparent; }
.film-tab + .film-tab { border-left:1px solid var(--edge); }
.film-tab[aria-pressed=true] { border-top-color:var(--rose); background:linear-gradient(110deg,#5c3450,#443353); color:var(--ink); }
.film-tab:hover { background:var(--raised); }
.film-tab img { width:34px; height:43px; border-radius:4px; object-fit:cover; }
.film-tab span { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.airing,.shelf { margin-top:clamp(27px,3vw,46px); }
.section-head { margin-bottom:15px; }
.section-head h2,.page-title { font-weight:720; letter-spacing:-.05em; }
.section-head h2 { font-size:clamp(1.55rem,2.1vw,2.25rem); }
.heading>.icon { display:none; }
.text-link { color:var(--accent); border:0; padding:6px 0 6px 8px; }
.text-link:hover { text-decoration:underline; }
.airing .latest-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.release { border:1px solid var(--edge); background:var(--panel); }
.release:hover { background:var(--raised); }
.airing .release { gap:10px; }
.airing .release img { width:45px; height:65px; }
.airing .release b { font-size:.9rem; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.airing .release small { font-size:.78rem; }
.poster { border-radius:12px; background:var(--panel); }
.genre-strip { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:27px 0; }
.genre-strip button,.pager button,.chip { background:var(--panel); border:1px solid var(--edge); border-radius:30px; padding:8px 14px; color:var(--ink); }
.genre-strip button:hover,.chip:hover,.pager button:hover { border-color:var(--accent); }
.page { padding-top:10px; }
.catalog-bar { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:20px 0; }
.field { display:flex; flex-direction:column; gap:6px; font-size:.88rem; font-weight:650; min-width:0; }
.field.grow { flex:1; min-width:min(100%,190px); }
.field input,.field select,.stream select { min-width:0; max-width:100%; padding:10px 12px; background-color:var(--input-bg); color:var(--ink); border:1px solid var(--edge); border-radius:8px; font-family:inherit; font-weight:400; font-size:1rem; }
.field select,.stream select { appearance:none; padding-right:32px; background-image:url("data:image/svg+xml,%3Csvg width='14' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23cbbbd0' stroke-width='1.5'/%3E%3C/svg%3E"); background-position:right 9px center; background-repeat:no-repeat; }
.catalog-info,.provider-note,.small-copy { color:var(--muted); font-size:.9rem; margin:9px 0; line-height:1.5; }
.pager { display:flex; align-items:center; justify-content:center; gap:15px; margin-top:24px; }
dialog { width:min(830px,95vw); border:1px solid var(--edge); border-radius:20px; background:var(--bg); color:var(--ink); }
.close,.search-box,.search-list .release { background:var(--panel); }
.dialog-inner h2 { font-size:clamp(1.4rem,2.3vw,2.2rem); }
.stream-head { align-items:end; flex-wrap:wrap; }
.stream iframe { width:100%; border:0; aspect-ratio:16/9; background:var(--night); border-radius:8px; display:block; }
.stream iframe.partner-frame { aspect-ratio:auto; height:clamp(390px,65vh,660px); }
.stream .field.studios { flex:1; min-width:160px; }
.voice-picks { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 13px; }
.voice-pick { border:1px solid var(--edge); background:var(--panel); color:var(--ink); padding:7px 11px; font-size:.88rem; border-radius:25px; }
.voice-pick:hover,.voice-pick[aria-pressed=true] { border-color:var(--accent); color:var(--accent); background:var(--violet-wash); }
.voice-picks .more-studios { color:var(--accent); }
#more-studios { flex-basis:100%; margin:2px 0; }
.dialog-inner:has(.stream) .detail-head img,.dialog-inner:has(.stream) .detail-desc,.dialog-inner:has(.stream) .detail-actions,.dialog-inner:has(.stream) .detail-head .jp { display:none; }
.dialog-inner:has(.stream) .detail-head h2 { padding-right:17px; font-size:clamp(1.15rem,2.15vw,1.8rem); }
.stream-head { justify-content:flex-start; }
.stream-head strong { margin:0 0 9px 4px; }
.profile-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:19px; }
.profile-card,.admin-box { padding:22px; border:1px solid var(--edge); border-radius:15px; background:var(--panel); min-width:0; }
.profile-card form,.admin-box form { display:grid; gap:12px; margin:16px 0; }
.profile-card button,.admin-box button { width:max-content; max-width:100%; }
.profile-card h2,.admin-box h2 { margin:7px 0; }
.profile-links,.admin-track { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:12px; }
.profile-links a:not(.primary),.admin-track button { text-decoration:underline; color:var(--accent); }
.profile-card p,.admin-box p { color:var(--muted); line-height:1.5; }
.sheet-label { font-size:.84rem; color:var(--warm); }
footer { border-color:var(--edge); } footer .brand { margin:0; }
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible { outline:2px solid var(--warm); }
@media(max-width:1120px) {
  :root { --rail:83px; --gutter:26px; }
  .top { align-items:center; padding:27px 7px; }
  .top .brand { margin:0; } .top .brand span { display:none; }
  .top nav a,#profile-link { flex-direction:column; gap:4px; padding:8px 3px; font-size:.68rem; text-align:center; }
  .airing .latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:720px) {
  :root { --gutter:16px; }
  body { padding:0; }
  .top { position:static; width:auto; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0; padding:10px var(--gutter) 0; border:0; border-bottom:1px solid var(--edge); }
  .top .brand { gap:5px; } .top .brand img { width:27px; height:27px; }
  .top .brand span { display:block; font-size:1.04rem; }
  .top nav { order:3; flex-direction:row; justify-content:space-between; width:100%; height:auto; gap:1px; margin-top:7px; }
  .top nav a { flex-direction:row; justify-content:center; font-size:.76rem; min-height:35px; padding:5px 4px; border-radius:6px 6px 0 0; }
  .top nav a .icon { display:none; }
  #profile-link { flex-direction:row; min-height:32px; padding:4px 8px; font-size:.82rem; gap:6px; border:0; }
  .toolbar { min-height:57px; } .toolbar strong { font-size:1.1rem; }
  #open-search { min-width:0; padding:6px 10px; }
  #open-search kbd { display:none; }
  .cover { border-radius:14px; }
  .cover-scene { min-height:370px; align-items:flex-end; }
  .scene-art { width:100%; height:100%; object-position:center 38%; }
  .scene-art.portrait-scene { width:100%; }
  .cover-scene:after { background:linear-gradient(0deg,var(--panel) 1%,#242127ec 21%,#24212795 47%,transparent 87%); }
  .cover-copy { width:100%; padding:22px 20px; } .cover h1 { font-size:3.4rem; margin-top:7px; }
  .cover h1.long { font-size:2.3rem; }
  .cover-label { font-size:.78rem; }
  .summary { display:none; }
  .cover-meta { margin-top:6px; }
  .cover-actions { margin-top:13px; }
  .film-tab { font-size:.74rem; gap:5px; padding:7px 5px; line-height:1.25; }
  .film-tab img { width:23px; height:35px; }
  .airing .latest-grid { gap:7px; }
  .airing .release { padding:6px; gap:6px; }
  .airing .release img { width:34px; height:49px; }
  .airing .release b { font-size:.82rem; } .airing .release small { font-size:.73rem; }
  .profile-grid { grid-template-columns:1fr; }
  .home-grid { margin-right:0; }
  .catalog-bar .field.grow { flex-basis:100%; }
}
@media(max-width:365px) { .film-tab img { display:none; } .film-tab { min-height:43px; } .top nav a { font-size:.69rem; } }
footer .brand span { font-size:.95rem; letter-spacing:.15em; }

.people-links { display:flex; flex-wrap:wrap; gap:.45rem; }
.people-links:not(:empty) { margin:.75rem 0; }
.people-links a { display:inline-flex; align-items:center; flex-wrap:wrap; gap:.65rem; padding:.55rem .8rem; color:var(--ink); background:var(--violet-wash); border:1px solid var(--edge-strong); border-radius:8px; text-decoration:none; }
.people-links small,.search-hint,.extra-credits p,.extra-credits small { color:var(--muted); }
.people-links a:hover,.extra-credits a:hover { color:var(--accent); }
.search-hint,.extra-credits { margin:.8rem 0; }
.extra-credits:empty { display:none; }
.extra-credits ul { padding-left:1.2rem; }
.extra-credits li { margin:.45rem 0; }
.extra-credits a,.person-lookup { color:var(--accent); }
.person-lookup { background:transparent; border:0; padding:.6rem 0; cursor:pointer; }
.top { background:linear-gradient(165deg,#432840 0%,#302237 29%,#211c29 68%); }
.brand,.top .brand { gap:8px; }
.brand img { filter:drop-shadow(0 1px 7px #c77ff333); }
.brand span,.top .brand span,footer .brand span { font-family:"Trebuchet MS","Segoe UI",sans-serif; font-style:italic; font-weight:600; letter-spacing:-.045em; color:var(--text); text-shadow:none; }
.top .brand span { font-size:1.95rem; }
.top .brand img { width:41px; height:41px; }
.top nav a.active,#profile-link.active { color:var(--accent); background:linear-gradient(105deg,#623752,#483353); box-shadow:inset 2px 0 var(--lavender); }
.cover { box-shadow:0 8px 22px #08070933; }
.primary { background:linear-gradient(112deg,#ffc09f,#ffa1c7 54%,#dda8f6); box-shadow:0 3px 14px #ff91c129; }
.primary:hover { background:linear-gradient(112deg,#ffd4bb,#ffbdd8 54%,#ebc5ff); }
.card:focus-within,.card:hover { outline-color:var(--accent); }
#week-view { max-width:960px; }
.week-bar,.week-row { display:flex; align-items:center; gap:.85rem; }
.week-bar { margin:1rem 0; }
.week-bar strong { font-size:1.12rem; }
.week-bar span { color:var(--muted); margin-right:auto; }
.week-nav { background:var(--panel); border:1px solid var(--edge); color:var(--ink); width:2.4rem; height:2.4rem; border-radius:50%; font-size:1.5rem; line-height:1; cursor:pointer; }
.week-nav:disabled { opacity:.35; cursor:default; }
.week-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:clamp(3px,.65vw,10px); }
.week-days button { cursor:pointer; padding:10px 4px; border-radius:12px; background:var(--panel); border:1px solid var(--edge); color:var(--muted); }
.week-days span,.week-days b { display:block; }
.week-days b { margin-top:2px; font-size:1.3rem; }
.week-days [aria-pressed=true] { color:var(--rose-hover); border-color:var(--lavender); background:linear-gradient(145deg,var(--violet-wash),#343037); box-shadow:none; }
.week-list { margin:1.4rem 0; }
.week-list h2 { font-size:1.4rem; margin-bottom:.6rem; }
.week-list h2::first-letter { text-transform:uppercase; }
.week-row { padding:.88rem .2rem; border-bottom:1px solid var(--edge); }
.week-row time { font-variant-numeric:tabular-nums; font-weight:650; color:var(--rose); min-width:3.2rem; }
.week-row div { flex:1; }
.week-row button { background:none; border:0; text-align:left; color:var(--ink); font:inherit; font-weight:650; cursor:pointer; padding:3px 0; }
.week-row button:hover { color:var(--accent); text-decoration:underline; }
.week-row strong { color:var(--muted); font-weight:500; }
.week-row small { white-space:nowrap; color:var(--muted); }
@media(max-width:720px) {
  .top .brand img { width:31px; height:31px; }
  .top .brand span { font-size:1.5rem; }
  .top nav { overflow-x:auto; scrollbar-width:thin; justify-content:flex-start; gap:8px; }
  .top nav a { flex:none; white-space:nowrap; }
  .top nav a.active { box-shadow:inset 0 -2px var(--lavender); }
  .week-row { gap:.5rem; }
}
.live-releases { margin-bottom:2.5rem; }
.live-releases h2 { margin-bottom:1rem; }
.week-row { display:grid; grid-template-columns:3.65rem 3.3rem minmax(0,1fr) auto; gap:1rem; padding:.6rem .25rem; }
.week-art { display:block; position:relative; overflow:hidden; width:100%; aspect-ratio:3/4; border-radius:.48rem; background:var(--raised) url('./mishio-mark.svg') center/55% no-repeat; box-shadow:0 0 0 1px #ad83ac36; }
.week-art img { display:block; width:100%; height:100%; object-fit:cover; }
.week-art img[hidden] { display:none; }
.friend-status { display:inline-flex; gap:.5rem; align-items:center; padding:.38rem .78rem; border-radius:2rem; background:var(--violet-wash); color:#f3d9ff; font-weight:700; }
.friend-status::before { content:'✦'; }
.pro-controls { display:flex; flex-wrap:wrap; gap:.65rem; }
.pro-feedback { min-height:1.5em; }
@media(max-width:600px){
  .week-row { grid-template-columns:3.15rem minmax(0,1fr) auto; grid-template-rows:auto auto; gap:0 .8rem; align-items:end; }
  .week-art { grid-area:1/1/3/2; align-self:center; }
  .week-row time { grid-area:1/2; }
  .week-row>div { grid-area:2/2/3/4; align-self:start; }
  .week-row small { grid-area:1/3; }
}
.sponsor-strip { margin:2rem 0 1rem; padding:1rem 1.25rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; background:var(--panel); border:1px solid var(--edge); border-radius:12px; }
.sponsor-strip div { display:grid; gap:.3rem; }
.sponsor-strip small { color:var(--muted); font-size:.85rem; overflow-wrap:anywhere; }
.sponsor-strip a { color:var(--text,var(--ink)); text-decoration:underline; text-underline-offset:.24em; overflow-wrap:anywhere; }
.pro-settings,.sponsor-admin { border-top:1px solid var(--edge); margin-top:1.25rem; padding-top:1rem; }
.week-personal[aria-pressed="true"] { color:var(--on-accent); background:var(--rose); }
.week-bar:has(.week-personal) { flex-wrap:wrap; }


/* The outer gutters follow the viewport. The third lane fills the empty sidebar. */
.sakura-field { position:fixed; inset:0; z-index:6; overflow:hidden; pointer-events:none; }
.sakura-lane { position:absolute; inset-block:0; width:var(--gutter); overflow:hidden; }
.sakura-lane:first-child { left:var(--rail); }
.sakura-lane:nth-child(2) { right:0; }
.sakura-lane:nth-child(3) { left:0; width:var(--rail); top:460px; bottom:80px; mask-image:linear-gradient(transparent,black 10%,black 88%,transparent); }
.cover-copy { position:relative; z-index:1; }
.sakura-field i { position:absolute; top:-18px; left:var(--x); width:14px; height:calc(100% + 36px); animation:petal-fall var(--fall) linear var(--phase) infinite; }
.sakura-field i::before { content:""; display:block; width:var(--size); height:calc(var(--size)*1.28); background:linear-gradient(140deg,#e8dbe0 8%,#f6adcd 50%,#d099cc); mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 23'%3E%3Cpath d='M8 22C2 18-2 8 3 2L8 4L10 0C19 1 21 13 8 22Z'/%3E%3C/svg%3E") center/contain no-repeat; animation:petal-sway var(--sway,3.7s) ease-in-out var(--phase) infinite alternate; }
@keyframes petal-fall {
  0% { transform:translate(0,0); opacity:0; }
  12%,78% { opacity:var(--alpha,.72); }
  100% { transform:translate(0,100%); opacity:0; }
}
@keyframes petal-sway {
  from { transform:translateX(-3px) rotate(-48deg) scaleX(.65); }
  to { transform:translateX(3px) rotate(52deg) scaleX(1); }
}
.sakura-switch { flex:none; display:grid; place-items:center; width:38px; height:38px; border:1px solid #f8d5ed66; border-radius:50%; background:radial-gradient(at 30% 16%,#50324d,#2e1d34 85%); color:#ffc6e4; }
.sakura-switch:hover { background:#44243e; }.sakura-switch svg { width:21px; height:21px; }
.sakura-switch[aria-pressed=false] { color:#ad94aa; border-color:var(--edge); background:transparent; }
.sakura-field[hidden],body:has(dialog[open]) .sakura-field { display:none; }
@media (min-width:721px) and (max-width:1120px) {
  .rail-account { flex-direction:column; }
}
@media (max-width:720px) {
  .rail-account { margin:0; padding:0; border:0; }
  .sakura-switch { width:34px; height:34px; }
  .sakura-lane:first-child { left:0; }
  .sakura-lane:nth-child(3),.sakura-field i:nth-child(2n) { display:none; }
  .sakura-field i { left:2px; }
}
@media (prefers-reduced-motion:reduce) { .sakura-field,.sakura-switch { display:none; } .sakura-field i,.sakura-field i::before { animation:none; } }
.cinema-front { display:grid; grid-template-columns:minmax(0,2.5fr) minmax(245px,1fr); gap:clamp(14px,1.6vw,24px); align-items:stretch; }
.cinema-front .cover { display:flex; flex-direction:column; border-radius:18px; background:var(--panel); }
.cinema-front .cover-scene { flex:1; min-height:330px; align-items:center; }
.cinema-front .cover-copy { width:67%; padding:clamp(20px,2.6vw,40px); }
.cinema-front .cover h1 { font-size:clamp(2.5rem,4.2vw,4.75rem); line-height:1.02; letter-spacing:-.05em; text-wrap:balance; }
.cinema-front .cover h1.long { font-size:clamp(1.95rem,3.2vw,3.65rem); line-height:1.07; }
.cinema-front .summary { -webkit-line-clamp:2; }
.cinema-front .cover-label { color:#ffd2e5; }
.cinema-front .film-tab { padding:9px; font-size:.82rem; gap:8px; border-top-width:2px; }
.cinema-front .film-tab img { width:28px; height:37px; }
.cinema-front .cover-actions { flex-wrap:wrap; gap:7px; }
.cinema-front .cover-actions .secondary { background:#231829c9; }
.playbill .cover-scene { background:radial-gradient(ellipse at 89% 12%,#f39a8875,transparent 48%),radial-gradient(ellipse at 75% 67%,#c259a586,transparent 64%),linear-gradient(120deg,#2c1c38 10%,#4f315d 62%,#513953); overflow:hidden; }
.playbill .cover-scene::after { background:repeating-linear-gradient(135deg,transparent 0 26px,#ffc2df08 27px,transparent 28px); }
.playbill-art { position:absolute; right:4%; top:10%; bottom:10%; width:30%; display:grid; place-items:center; z-index:0; }
.playbill-art img { max-width:100%; max-height:100%; height:100%; aspect-ratio:2/3; object-fit:contain; transform:rotate(3deg); filter:drop-shadow(0 10px 12px #140c1bb8); }
.voice-rail { min-width:0; padding:clamp(15px,1.5vw,23px); background:radial-gradient(ellipse at 100% 0,#60477e88,transparent 68%),linear-gradient(155deg,#302238,#24202b 85%); border:1px solid var(--edge); border-radius:18px; }
.voice-rail .section-head { margin-bottom:14px; gap:6px; }
.voice-rail h2 { font-size:clamp(1.2rem,1.6vw,1.6rem); }
.feed-studio { display:grid; gap:4px; color:var(--muted); font-size:.8125rem; max-width:24rem; margin-bottom:10px; }
.feed-studio select { appearance:none; font:inherit; font-size:.94rem; color:var(--ink); background:var(--input-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m2 5 5 5 5-5' fill='none' stroke='%23e4c6df' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center/14px no-repeat; border:1px solid var(--edge-strong); border-radius:9px; padding:8px 32px 8px 11px; width:100%; }
.voice-rail .latest-grid { display:grid; grid-template-columns:1fr; gap:0; }
.voice-rail .release { padding:8px 0; display:grid; grid-template-columns:36px minmax(0,1fr); gap:10px; align-items:center; background:transparent; border:0; border-bottom:1px solid var(--edge); border-radius:0; }
.voice-rail .release:last-child { border-bottom:0; }
.voice-rail .release img { width:36px; height:48px; border-radius:5px; object-fit:cover; }
.voice-rail .release b { font-size:.9rem; line-height:1.22; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.voice-rail .release small { font-size:.8rem; color:var(--muted); }
.voice-rail .release:hover b { color:var(--rose); }
@media(max-width:1000px) {
  .cinema-front { grid-template-columns:1fr; }
  .voice-rail .latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:18px; }
  .voice-rail { padding:15px 18px; }
  .voice-rail .release { border:0; }
}
@media(max-width:720px) {
  .cinema-front .cover-scene { min-height:300px; align-items:flex-end; }
  .cinema-front .cover-copy { width:100%; padding:18px; }
  .cinema-front .cover h1 { font-size:2.65rem; }
  .cinema-front .cover h1.long { font-size:clamp(1.65rem,6.1vw,2.35rem); }
  .cinema-front .playbill .cover-scene { min-height:270px; align-items:center; }
  .cinema-front .playbill .cover-copy { width:65%; padding:16px 0 16px 15px; }
  .playbill-art { right:3%; width:29%; top:19%; bottom:19%; }
  .cinema-front .cover-actions .secondary { display:none; }
  .cinema-front .film-tab { padding:7px 5px; font-size:.75rem; }
  .cinema-front .film-tab img { display:none; }
  .voice-rail { padding:14px; }
  .voice-rail .release { grid-template-columns:29px minmax(0,1fr); gap:7px; }
  .voice-rail .release img { width:29px; height:42px; }
  .voice-rail .latest-grid { column-gap:10px; }
}
.air-start,.air-controls { border:1px solid var(--edge); background:linear-gradient(112deg,#243d43,#282533 48%,#403046); border-radius:16px; }
.air-invite { border-block:1px solid var(--edge); margin-top:var(--sp-4); display:flex; align-items:center; gap:var(--sp-3); padding:var(--sp-3) 0; }
.air-symbol { display:grid; place-items:center; width:44px; height:44px; border-radius:14px; color:#adede0; background:#28504f; }
.air-invite h2,.air-start h2 { margin:0; font-size:1.35rem; }
.air-invite p,.air-start p,.air-message,.air-unknown { color:var(--muted); }
.air-invite .secondary { margin-left:auto; white-space:nowrap; }
.air-start { padding:clamp(16px,3vw,34px); }
.air-start>p { margin:7px 0 20px; }
.air-starters,.air-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:12px; }
.air-starters { margin-bottom:14px; }
.air-starters button,.air-card { text-align:left; display:flex; align-items:center; gap:12px; min-width:0; padding:12px; border:1px solid var(--edge); border-radius:12px; background:var(--panel); color:var(--ink); }
.air-starters button:hover,.air-card:hover { border-color:var(--accent); background:var(--raised); }
.air-starters img,.air-card img { width:52px; height:72px; object-fit:cover; flex:none; border-radius:7px; }
.air-starters .icon,.air-card>.icon { margin-left:auto; color:var(--rose); flex:none; }
.air-card span { min-width:0; display:grid; gap:4px; }
.air-card small { color:var(--rose); font-weight:650; }
.air-card em { font-size:.85rem; color:var(--muted); font-style:normal; }
.air-card em,.air-card b { overflow-wrap:anywhere; }
.air-controls { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:15px 18px; margin:18px 0; }
.air-controls .feed-studio { margin:0; min-width:min(200px,100%); }
.air-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.air-tabs .chip[aria-pressed=true] { color:var(--on-accent); background:var(--rose); border-color:transparent; }
.air-tabs .chip span { padding-inline-start:4px; font-variant-numeric:tabular-nums; }
.air-message,.air-unknown { padding:17px 0; }
.air-unknown summary { cursor:pointer; }
.air-unknown .text-link { display:block; text-align:left; }
@media(max-width:600px){
  .air-invite { gap:10px; padding:14px; flex-wrap:wrap; }
  .air-invite .secondary { margin-left:0; min-height:38px; }
  .air-controls .feed-studio { width:100%; }
  .air-cards { grid-template-columns:1fr; }
}
.phone-nav { display:none; }
.phone-sections { display:grid; gap:6px; margin-top:16px; }
.phone-sections a { display:flex; align-items:center; gap:14px; min-height:48px; padding:8px 14px; border-radius:10px; background:var(--panel); color:var(--ink); }
.phone-sections a[aria-current=page] { background:var(--violet-wash); color:var(--rose); }
.phone-sections .icon { color:var(--accent); }
@media(max-width:720px), (max-width:960px) and (max-height:520px) {
  :root { --rail:0px; --gutter:clamp(12px,3.6vw,20px); }
  body { padding:0 0 calc(65px + env(safe-area-inset-bottom)); }
  .shell { width:auto; margin-left:max(var(--gutter),env(safe-area-inset-left)); margin-right:max(var(--gutter),env(safe-area-inset-right)); }
  .top { position:static; width:100%; flex-direction:row; align-items:center; justify-content:space-between; gap:8px; padding:calc(5px + env(safe-area-inset-top)) max(var(--gutter),env(safe-area-inset-right)) 5px max(var(--gutter),env(safe-area-inset-left)); border:0; border-bottom:1px solid var(--edge); }
  .top .brand { margin:0; gap:5px; }
  .top .brand img { width:32px; height:32px; }
  .top .brand span { display:block; font-size:1.5rem; }
  .top nav { display:none; }
  .rail-account { flex-direction:row; margin:0; padding:0; border:0; }
  #profile-link { flex-direction:row; gap:7px; font-size:.875rem; }
  #profile-link,.sakura-switch { min-height:44px; }
  .sakura-switch { width:44px; background:transparent; border-color:transparent; color:var(--rose); }
  .phone-nav { position:fixed; z-index:8; inset:auto 0 0; width:auto; height:auto; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; margin:0; padding:4px max(5px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left)); border-top:1px solid var(--edge); background:var(--panel); }
  .phone-nav a,.phone-nav button { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:3px; min-height:49px; min-width:0; padding:2px; border-radius:10px; font-family:inherit; font-weight:600; font-size:.75rem; line-height:1.2; color:var(--muted); }
  .phone-nav a,.phone-nav button { white-space:nowrap; font-size:.875rem; }
  .phone-nav .icon { width:21px; height:21px; }
  .phone-nav .active { background:linear-gradient(140deg,#54314e,#39304e); color:var(--rose-hover); }
  .phone-nav a:after { display:none; }
  body:has(#modal[open]) .phone-nav { visibility:hidden; }
  .toolbar { min-height:57px; }
  #open-search { min-height:44px; }
  .catalog-bar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .catalog-bar .grow { grid-column:1/-1; }
  .catalog-bar select,.catalog-bar input,.feed-studio select { width:100%; min-height:44px; font-size:1rem; }
  .home-grid { grid-auto-columns:clamp(136px,38vw,195px); margin-right:0; }
  .card-save,.square,.week-nav,.primary,.secondary { min-height:44px; }
  .card-save,.square,.week-nav { min-width:44px; }
  .week-nav { flex:none; }
  .week-days button { min-height:48px; }
  .week-bar { flex-wrap:wrap; }
  footer.shell { flex-wrap:wrap; gap:12px; }
  #toast { bottom:calc(68px + env(safe-area-inset-bottom)); max-width:94vw; white-space:normal; }
  #modal:has(.phone-sections) { width:100%; max-width:100%; max-height:80dvh; inset:auto 0 0; margin:0; border-radius:20px 20px 0 0; }
  #modal:has(.phone-sections) .dialog-inner { padding:22px max(17px,env(safe-area-inset-left)) calc(18px + env(safe-area-inset-bottom)); }
  .close { min-width:44px; min-height:44px; }
}
@media(max-width:480px) {
  .voice-rail .latest-grid,.airing .latest-grid { grid-template-columns:1fr; }
  .voice-rail .release,.airing .release { display:grid; grid-template-columns:36px minmax(0,1fr); gap:10px; align-items:center; }
  .voice-rail .release { border-bottom:1px solid var(--edge); }
  .voice-rail .release img,.airing .release img { width:36px; height:48px; }
  .voice-rail .release b,.airing .release b { font-size:.94rem; }
  .voice-rail .release small,.airing .release small { font-size:.84rem; }
  .cinema-front .film-tab { min-height:44px; }
  .grid:not(.home-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .air-invite>div { flex:1; }
}

.shelf .section-head h2,.airing .section-head h2 { display:flex; align-items:center; gap:.48em; }
.shelf .section-head h2::before,.airing .section-head h2::before { content:""; width:5px; height:.84em; flex:none; border-radius:6px; background:linear-gradient(#f3a0c6,#b191ea); }
.airing .section-head h2::before { background:linear-gradient(#f8c497,#f58ba9); }
.voice-rail h2 { color:#edccff; }
.release-downloads { margin:14px 0 0; border:1px solid var(--edge); border-radius:12px; background:var(--panel); }
.release-downloads summary { display:flex; align-items:center; gap:9px; min-height:44px; padding:9px 14px; color:var(--ink); cursor:pointer; font-weight:650; }
.release-downloads summary::after { content:"⌄"; margin-left:auto; color:var(--accent); }
.release-downloads[open] summary::after { transform:rotate(180deg); }
.release-downloads small { color:var(--rose-hover); }
.download-list { padding:0 14px 12px; display:grid; gap:6px; color:var(--muted); }
.download-list a { display:flex; align-items:center; min-height:44px; padding:7px 10px; border-radius:8px; background:var(--raised); color:var(--accent); }
