@charset "UTF-8";
:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;font-synthesis:none;--bg:#101a27;--surface:#1a2839;--surface-raised:#203147;--surface-low:#131f2f;--text:#edf0f4;--muted:#a7b4c7;--line:#304055;--gold:#d9bd80;--gold-soft:#b29c70;--character:#9ac9bc;--voice:#c8b9de;--danger:#edb5b1;--shadow:0 12px 40px #060b1433;color-scheme:dark;background:var(--bg);color:var(--text)}
:root[data-theme=light]{--bg:#f6f4ef;--surface:#fffefa;--surface-raised:#eae6dc;--surface-low:#eeece5;--text:#202c3d;--muted:#59677b;--line:#d6d7d4;--gold:#7f6127;--gold-soft:#887448;--character:#376d60;--voice:#75618b;--danger:#9c3e36;--shadow:0 12px 40px #22242a0b;color-scheme:light}
*{box-sizing:border-box}html{scroll-padding-top:140px;-webkit-text-size-adjust:100%}body{margin:0;line-height:1.65;letter-spacing:.02em}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button,select{cursor:pointer}button{letter-spacing:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.55;cursor:wait}button{border:0}a,button,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}input,select,textarea{border:1px solid var(--line);border-radius:10px;background:var(--surface-low);padding:12px;font-size:16px;min-width:0}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:auto}input[type=date]{min-height:48px}input:focus{border-color:var(--gold)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}img{display:block}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.5;letter-spacing:.03em;overflow-wrap:anywhere}h2{font-size:22px;font-weight:650}h3{font-size:16px}p{overflow-wrap:anywhere}p+p{margin-top:12px}em{font-style:normal}small{font-size:11px}pre{white-space:pre-wrap;word-break:break-all;font-size:11px}details summary{cursor:pointer}details summary::marker{color:var(--gold)}[hidden]{display:none!important}.icon{width:21px;height:21px;vertical-align:middle}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:12px;top:-100px;z-index:100;background:var(--gold);color:var(--bg);padding:10px}.skip-link:focus{top:12px}.muted{color:var(--muted)}.small-text{font-size:12px}.preserve-lines{white-space:pre-wrap}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:650;color:var(--gold);display:block;line-height:1.6}.text-link{display:inline-flex;gap:8px;align-items:center;color:var(--gold);font-size:13px}.text-link .icon{width:16px;height:16px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:transparent;color:var(--muted);border-radius:50%}.icon-button:hover{background:var(--surface-raised);color:var(--gold)}
.app-header{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top)}.header-inner{max-width:1180px;margin:auto;padding:14px 32px 17px}.brand-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.brand{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:650;letter-spacing:.04em}.brand b{font-weight:650;color:var(--gold)}.brand-mark{width:28px;height:28px;color:var(--gold);display:block}.version{font-size:9px;font-weight:500;letter-spacing:.1em;color:var(--gold);border-left:1px solid var(--line);margin-left:4px;padding-left:10px;line-height:1.5}.search-box{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-low);padding:1px 4px 1px 15px;box-shadow:inset 0 1px 3px #00000009;min-height:50px}.search-box:focus-within{border-color:var(--gold-soft)}#search-symbol{display:flex;color:var(--muted)}.search-box input{flex:1;border:0;background:transparent;box-shadow:none;outline:0!important;padding:11px 0;border-radius:0}.search-box input::placeholder{font-size:14px}.search-submit{display:flex;align-items:center;justify-content:center;background:transparent;color:var(--gold);min-width:44px;height:44px;border-radius:9px}.search-submit:hover{background:var(--surface)}
#main{max-width:1180px;margin:auto;min-height:calc(100svh - 214px);outline:0}.page-content{padding:28px 32px calc(120px + env(safe-area-inset-bottom))}.page-kicker{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:var(--muted);letter-spacing:.07em;margin-bottom:26px}.live-dot{display:inline-block;background:var(--gold);width:5px;height:5px;border-radius:50%;vertical-align:middle;margin-right:7px}.home-hero{position:relative;display:grid;grid-template-columns:1fr 1.1fr;min-height:440px;gap:20px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 80% 20%,var(--surface-raised),transparent 70%),var(--surface-low);padding:44px 40px}.hero-copy{z-index:2;align-self:center}.hero-copy h1{font-size:64px;font-weight:500;line-height:1.35;letter-spacing:.09em;margin:20px 0}.hero-copy h1 em{color:var(--gold)}.hero-copy p{color:var(--muted);font-size:14px;line-height:1.95;margin-bottom:28px}.hero-art{position:relative;display:flex;justify-content:center;align-items:center;min-height:300px;isolation:isolate}.hero-art .loading{font-size:11px;max-width:220px;text-align:center}.hero-poster{width:40%;position:absolute;border-radius:9px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;transition:transform .25s}.hero-poster .visual{aspect-ratio:110/156;border-radius:0;background:transparent}.hero-poster>span{font-size:9px;display:block;padding:8px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poster-0{transform:rotate(-10deg) translate(-74px,12px);z-index:1}.poster-1{transform:translate(0,-12px);z-index:3}.poster-2{transform:rotate(10deg) translate(74px,12px);z-index:2}.hero-poster:hover{z-index:4;transform:translateY(-20px)}.hero-coordinate{position:absolute;bottom:18px;right:25px;font-size:8px;letter-spacing:.2em;color:var(--gold-soft)}.hero-emblem{display:flex;align-items:center;justify-content:center;gap:15px;flex-direction:column;color:var(--gold);font-size:12px}.hero-emblem .brand-mark{height:110px;width:110px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:11px 15px;min-height:46px;background:var(--surface);font-size:12px;font-weight:550;line-height:1.55;text-align:center}.button:hover{border-color:var(--gold-soft)}.button .icon{width:17px;height:17px}.button.gold{background:var(--gold);border-color:var(--gold);color:var(--bg);font-weight:650}.button.subtle{background:transparent}.button.small{font-size:12px;padding:8px 13px;min-height:40px}.button.is-saved{color:var(--gold);border-color:var(--gold-soft)}.load-more{display:flex;max-width:360px;width:100%;margin:26px auto 0}.section{margin-top:38px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading .eyebrow{margin-bottom:6px}.section-heading>span{flex-shrink:0}.chips{display:flex;flex-wrap:wrap;gap:9px}.chips button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:12px}.chips button:hover{border-color:var(--gold-soft);color:var(--gold)}.chips .icon{height:13px;width:13px;color:var(--gold-soft)}.page-title{margin:8px 0 28px}.page-title .eyebrow{margin-bottom:9px}.page-title h1{font-size:29px;font-weight:600}.page-title p{font-size:13px;color:var(--muted);margin-top:12px;line-height:1.9}.page-title.compact h1{font-size:27px}.page-footnote{font-size:11px;line-height:1.9;color:var(--muted);margin:32px 0 4px}.page-footnote a{color:var(--gold);text-decoration:underline;text-underline-offset:4px}.library-banner{border:1px solid var(--line);border-radius:16px;background:var(--surface-low);display:flex;align-items:center;gap:25px;padding:30px;margin-top:42px}.library-banner h2{font-size:22px;margin:8px 0 12px}.library-banner p{color:var(--muted);font-size:12px}.library-banner>svg{margin-left:auto;color:var(--gold)}.library-banner-icon{background:var(--surface-raised);padding:20px;border-radius:12px;color:var(--gold)}.library-banner-icon .icon{width:32px;height:32px}
.entity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.home-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.entity-card{min-width:0;position:relative;overflow:hidden;border:1px solid var(--line);background:var(--surface);border-radius:12px;box-shadow:0 2px 4px #00000008}.card-link{display:block;height:100%}.visual{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;width:100%;background:var(--surface-low);overflow:hidden;isolation:isolate}.visual img{width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center;z-index:1}.visual.person{background:linear-gradient(155deg,var(--surface-raised),var(--surface-low))}.visual.character{background:linear-gradient(150deg,var(--surface-low),var(--surface))}.entity-card .visual{border-bottom:1px solid var(--line);aspect-ratio:110/156;padding:8px}.entity-card.person .visual{padding:13px;aspect-ratio:1/1.15}.entity-card.character .visual{aspect-ratio:1/1.15;padding:12px}.card-copy{padding:14px 13px 16px;min-height:110px}.card-category{color:var(--gold);font-size:9px;letter-spacing:.08em}.person .card-category{color:var(--voice)}.character .card-category{color:var(--character)}.card-copy h3{font-size:14px;font-weight:600;margin:5px 0;line-height:1.65}.card-copy p{font-size:10px;color:var(--muted);line-height:1.6}.card-link:hover h3{color:var(--gold)}.save-small{position:absolute;right:8px;top:8px;background:var(--surface);color:var(--muted);border:1px solid var(--line);width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;z-index:3;box-shadow:0 2px 6px #0002}.save-small .icon{width:17px;height:17px}.save-small.is-saved{background:var(--gold);color:var(--bg);border-color:var(--gold)}.image-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px;color:var(--muted);gap:7px;line-height:1.6;font-size:10px}.image-state small{font-size:9px;max-width:220px}.image-symbol{font-size:28px;line-height:1.3;color:var(--gold-soft);margin-bottom:5px}.image-attribution{font-size:9px;position:absolute;bottom:0;left:0;right:0;z-index:3;background:var(--bg);padding:3px 5px;color:var(--muted)}
.type-tabs{display:flex;gap:4px;padding:5px;background:var(--surface-low);border:1px solid var(--line);border-radius:11px;margin:22px 0 30px;position:relative}.type-tabs a,.type-tabs button{flex:1;text-align:center;display:flex;justify-content:center;align-items:center;gap:7px;font-size:13px;padding:9px 4px;min-height:43px;background:transparent;color:var(--muted);border-radius:7px;white-space:nowrap}.type-tabs .selected{background:var(--surface-raised);color:var(--gold)}.type-tabs button span{font-size:10px;opacity:.8}.search-section{margin-top:30px}.results-footer{font-size:10px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.results-footer .text-link{font-size:12px}.notice{display:flex;gap:9px;align-items:flex-start;background:var(--surface-low);color:var(--muted);border-left:2px solid var(--gold-soft);padding:12px 14px;font-size:11px;line-height:1.85;margin:12px 0 18px;border-radius:0 7px 7px 0}.notice .icon{width:15px;height:15px;margin-top:3px;color:var(--gold-soft)}.empty-state{border:1px dashed var(--line);border-radius:13px;padding:40px 24px;text-align:center;color:var(--muted)}.empty-state>.icon{width:30px;height:30px;color:var(--gold-soft);margin-bottom:12px}.empty-state h3{color:var(--text);font-size:15px;margin-bottom:8px}.empty-state p{font-size:12px;max-width:480px;margin:auto}.loading{padding:42px 18px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:12px;min-height:110px}.spinner{height:20px;width:20px;border:1.5px solid var(--line);border-top-color:var(--gold);border-radius:50%;animation:turn 1s linear infinite;flex-shrink:0}.error-box{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:22px}.error-box>.icon{color:var(--danger);margin-top:1px}.error-box b{font-size:14px}.error-box p{font-size:12px;color:var(--muted);margin:8px 0 14px;line-height:1.9}.boot-message,.noscript{padding:60px 25px;text-align:center;color:var(--muted);font-size:13px}
.breadcrumb{display:flex;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:2px 0 19px;line-height:1.7}.breadcrumb span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:60%}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:11px;padding:8px 0;background:transparent;color:var(--muted);margin-bottom:20px;min-height:35px}.back-link .icon{width:16px;height:16px}.detail-hero{display:flex;gap:32px;border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:28px;align-items:center}.detail-image{flex:0 0 210px;min-width:0}.detail-image .visual{border-radius:9px;aspect-ratio:110/156;padding:8px;background:var(--surface-low)}.detail-image .visual.person{aspect-ratio:5/6;padding:8px}.detail-image .visual.character{aspect-ratio:5/6}.image-source{font-size:8px;color:var(--muted);display:block;margin-top:7px;text-align:center}.detail-copy{flex:1;min-width:0}.detail-copy h1{font-size:30px;font-weight:650;margin:10px 0;line-height:1.5}.native-subtitle{font-size:13px;line-height:1.6;color:var(--muted)}.meta-chips{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0 18px}.meta-chips span{font-size:10px;background:var(--surface-raised);border-radius:4px;padding:4px 8px;color:var(--muted)}.detail-copy>p:not(.native-subtitle){font-size:12px;line-height:1.9;color:var(--muted)}.detail-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:18px 0}.provenance{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:10px}.source-link{display:inline-flex;align-items:center;gap:5px;color:var(--gold);font-size:10px;overflow-wrap:anywhere}.source-link .icon{width:12px;height:12px}.description{margin-top:15px;border:1px solid var(--line);border-radius:10px;padding:13px 16px;background:var(--surface-low)}.description summary{font-size:12px;color:var(--text)}.description summary span{font-size:10px;color:var(--muted);margin-left:12px;display:inline}.description p{white-space:pre-line;font-size:12px;color:var(--muted);line-height:2;margin-top:15px;max-width:850px}.credit-explanation{font-size:11px;color:var(--muted);line-height:1.95;margin:-3px 0 18px}.credit-toolbar,.library-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:20px}.filter-box{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:0 13px;flex:1;min-width:0}.filter-box .icon{width:17px;height:17px;color:var(--muted)}.filter-box input{width:100%;border:0;border-radius:0;background:transparent;padding:13px 0;font-size:14px;outline:0!important}.filter-box input::placeholder{font-size:12px}.credit-toolbar select,.library-toolbar select{font-size:12px;padding:13px;min-height:48px;background:var(--surface)}.cast-list{display:flex;flex-direction:column;gap:11px}.cast-row{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}.cast-pair{display:grid;grid-template-columns:1.1fr 30px 1fr;gap:10px;padding:13px 16px;align-items:center}.cast-person{display:flex;align-items:center;gap:14px;min-width:0}.cast-person>.visual{width:65px;height:84px;flex:0 0 65px;aspect-ratio:auto;border-radius:6px;padding:3px}.cast-person>span{min-width:0}.cast-person small{font-size:8px;letter-spacing:.08em;color:var(--character);display:block;margin-bottom:5px}.voice-side small{color:var(--voice)}.cast-person b{font-size:14px;line-height:1.65;font-weight:550;display:block;overflow-wrap:anywhere}.cast-person em{font-size:10px;color:var(--muted);display:block;margin-top:3px}.voice-side>.visual{width:55px;height:70px;flex-basis:55px}.cast-person .image-state{padding:4px;font-size:8px;gap:2px}.cast-person .image-state small{display:none}.cast-person .image-symbol{font-size:18px;margin:0}.cv-mark{font-size:9px;letter-spacing:.05em;color:var(--gold-soft);text-align:center}.unknown-credit{font-size:10px;line-height:1.9;color:var(--muted)}.credit-heading{padding:13px 16px 0}.credit-heading .credit-work{font-size:13px;font-weight:550;display:block}.credit-work .icon{width:13px;height:13px;color:var(--gold)}.credit-heading>span{font-size:9px;display:block;color:var(--muted);margin-top:3px}.source-details{margin-top:35px;font-size:11px;border-top:1px solid var(--line);padding-top:18px;color:var(--muted)}.source-detail-body{margin-top:16px;line-height:1.95}.source-detail-body .source-link{font-size:11px}.source-detail-body .text-link{margin-top:15px}.library-status{display:block;font-size:10px;color:var(--gold);margin-top:9px}.edit-record{width:100%;font-size:11px;color:var(--gold);background:var(--surface-low);border-top:1px solid var(--line);padding:11px;min-height:43px}
.settings-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:24px;margin:17px 0}.settings-card h2{font-size:17px;margin-bottom:12px}.settings-card>.eyebrow{margin-bottom:8px}.settings-card p{font-size:12px;color:var(--muted);line-height:1.95}.settings-card .detail-actions{margin-bottom:4px}.settings-card>.provenance{margin-top:20px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px}.settings-row select{width:180px;font-size:13px}.settings-link{display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-link .icon{color:var(--gold)}.file-button{position:relative;overflow:hidden;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.file-button:focus-within{outline:2px solid var(--gold);outline-offset:3px}.import-result{margin-top:15px!important}.success-text{color:var(--character)!important}.success-text .icon{width:16px;height:16px;margin-right:6px}.diagnostic-output:not(:empty){margin-top:22px}.diagnostic-output p{margin-top:8px}.failure-list{padding-left:18px;font-size:11px;color:var(--muted);line-height:1.9}.failure-list li{margin:8px 0}.record-dialog{width:min(540px,calc(100% - 28px));max-height:85svh;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:var(--shadow)}.record-dialog::backdrop{background:#060b14ba;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:18px}.dialog-heading h2{font-size:20px;margin-top:8px}.dialog-heading .icon-button{margin:-8px -10px 0 0}.record-dialog form>label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);margin:15px 0}.record-dialog input,.record-dialog select,.record-dialog textarea{width:100%;color:var(--text)}.record-dialog .gold{width:100%;margin-top:8px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:40;border-top:1px solid var(--line);background:var(--surface-low);padding:10px max(16px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:center;flex:1;max-width:180px;min-height:46px;font-size:9px;color:var(--muted);border-radius:9px}.bottom-nav a .icon{height:22px;width:22px}.bottom-nav a.active{color:var(--gold)}.bottom-nav a:hover{background:var(--surface)}.toast{position:fixed;z-index:90;bottom:calc(88px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;background:var(--text);color:var(--bg);padding:12px 18px;border-radius:10px;box-shadow:var(--shadow);font-size:12px;line-height:1.8;text-align:center}
@keyframes turn{to{transform:rotate(360deg)}}
@media(min-width:1400px){.header-inner,#main{max-width:1280px}.home-hero{min-height:470px}.hero-copy h1{font-size:72px}.home-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:980px){.home-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.entity-grid{gap:14px}.hero-copy h1{font-size:50px}.home-hero{padding:32px 28px;min-height:400px}.poster-0{transform:rotate(-10deg) translate(-55px,12px)}.poster-2{transform:rotate(10deg) translate(55px,12px)}.detail-image{flex-basis:170px}.detail-copy h1{font-size:26px}}
@media(max-width:680px){.header-inner{padding:8px 18px 13px}.brand-row{margin-bottom:6px}.brand{font-size:13px;gap:6px}.brand-mark{width:24px;height:24px}.version{font-size:8px;padding-left:8px}.brand-row .icon-button{width:38px;height:38px}.search-box{min-height:48px;border-radius:10px;gap:10px;padding-left:12px}.search-box input{font-size:16px;padding:10px 0}.search-box input::placeholder{font-size:12px}.search-submit{height:42px;min-width:39px}#search-symbol .icon{width:18px;height:18px}.page-content{padding:22px 18px calc(110px + env(safe-area-inset-bottom))}.page-kicker{font-size:8px;letter-spacing:.03em;margin-bottom:20px}.page-kicker>span:last-child{display:none}.home-hero{padding:28px 23px 30px;display:block;border-radius:15px;min-height:490px}.hero-copy h1{font-size:48px;line-height:1.35;margin:16px 0 15px}.hero-copy>.eyebrow{font-size:8px}.hero-copy p{font-size:12px;line-height:1.95;margin-bottom:20px}.hero-copy .button{font-size:11px;padding:11px 12px;min-height:43px}.hero-art{position:absolute;right:5px;top:60px;width:43%;height:250px;min-height:0;opacity:.85;pointer-events:auto}.hero-poster{width:72%;border-radius:6px}.hero-poster>span{display:none}.poster-0{transform:rotate(-9deg) translate(-14px,0);z-index:2}.poster-1{transform:rotate(9deg) translate(8px,80px);z-index:3}.poster-2{display:none}.hero-poster:hover{transform:none}.hero-copy{position:relative;pointer-events:none}.hero-copy h1{max-width:60%}.hero-copy p{max-width:63%}.hero-copy .button{position:absolute;bottom:-92px;left:0;pointer-events:auto;white-space:nowrap}.hero-coordinate{font-size:7px;right:18px;bottom:17px}.hero-art .loading{font-size:9px;flex-direction:column;gap:8px;padding:10px;max-width:130px}.hero-art .hero-emblem{font-size:9px}.hero-art .hero-emblem .brand-mark{width:65px;height:65px}.section{margin-top:30px}.section-heading{margin-bottom:17px;gap:9px}h2{font-size:20px}.section-heading .eyebrow{font-size:9px}.section-heading>span{font-size:9px}.quick-search .chips{gap:7px}.chips button{font-size:11px;padding:9px 11px;gap:7px;min-height:40px}.entity-grid,.home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px}.entity-card{border-radius:11px}.entity-card .visual{padding:6px}.entity-card.person .visual,.entity-card.character .visual{padding:9px}.card-copy{padding:11px 11px 13px;min-height:102px}.card-copy h3{font-size:12px;margin-top:5px}.card-copy p{font-size:10px}.card-category{font-size:8px}.save-small{height:33px;width:33px;top:7px;right:7px}.save-small .icon{width:16px;height:16px}.library-banner{gap:15px;padding:22px 17px;margin-top:32px;border-radius:12px}.library-banner-icon{padding:12px;border-radius:10px}.library-banner-icon .icon{height:24px;width:24px}.library-banner h2{font-size:16px;margin:8px 0}.library-banner p{font-size:10px}.library-banner .eyebrow{font-size:8px}.library-banner>svg{height:18px;width:18px}.page-title{margin:3px 0 24px}.page-title h1,.page-title.compact h1{font-size:23px}.page-title .eyebrow{font-size:9px}.page-title p{font-size:12px;margin-top:10px}.type-tabs{margin:20px 0 23px;padding:4px;gap:2px}.type-tabs a,.type-tabs button{font-size:11px;min-height:41px;padding:8px 3px;gap:4px}.type-tabs button span{font-size:9px}.notice{font-size:10px;padding:10px 12px;gap:7px;line-height:1.9}.notice .icon{height:13px;width:13px}.results-footer{align-items:flex-start;font-size:9px}.results-footer .text-link{font-size:10px}.error-box{padding:18px 14px;gap:10px}.error-box b{font-size:13px}.error-box p{font-size:11px}.empty-state{padding:28px 17px}.empty-state h3{font-size:13px}.empty-state p{font-size:11px}.detail-hero{padding:18px 15px;gap:17px;align-items:flex-start;border-radius:13px}.detail-image{flex-basis:110px}.detail-image .visual{padding:4px;border-radius:6px}.detail-copy{align-self:center}.detail-copy .eyebrow{font-size:8px;letter-spacing:.09em}.detail-copy h1{font-size:20px;margin:8px 0;line-height:1.6}.native-subtitle{font-size:10px}.meta-chips{margin:11px 0 13px;gap:5px}.meta-chips span{font-size:8px;padding:3px 5px;line-height:1.7}.detail-copy>p:not(.native-subtitle){font-size:10px}.detail-actions{gap:7px;margin:13px 0}.detail-actions .button{font-size:10px;min-height:40px;padding:9px 10px;gap:6px}.detail-actions .button .icon{height:14px;width:14px}.provenance{gap:10px}.source-link{font-size:9px}.image-source{font-size:7px;line-height:1.7}.description{padding:11px 13px}.description summary{font-size:11px}.description summary span{font-size:9px;display:inline;margin-left:8px}.description p{font-size:11px;line-height:2}.credit-explanation{font-size:10px;line-height:1.95;margin-bottom:16px}.credit-toolbar{flex-wrap:wrap;gap:9px;margin-bottom:17px}.credit-toolbar .filter-box{flex:1 0 100%}.filter-box{padding:0 11px}.filter-box input{font-size:16px;padding:11px 0}.filter-box input::placeholder{font-size:11px}.filter-box .icon{height:16px;width:16px}.credit-toolbar select{width:100%;padding:10px 12px;min-height:43px;font-size:11px}.cast-list{gap:10px}.cast-pair{grid-template-columns:minmax(0,1.15fr) 17px minmax(0,1fr);gap:6px;padding:12px 10px}.cast-person{gap:8px;align-items:center}.cast-person>.visual{flex-basis:45px;width:45px;height:65px;border-radius:4px;padding:2px}.voice-side>.visual{flex-basis:36px;width:36px;height:50px}.cast-person small{font-size:6px;letter-spacing:.03em;margin-bottom:4px}.cast-person b{font-size:11px;line-height:1.7;letter-spacing:0}.cast-person em{font-size:8px;letter-spacing:0;margin-top:3px}.cv-mark{font-size:7px}.cast-person .image-state{font-size:7px;padding:3px;line-height:1.5}.cast-person .image-symbol{font-size:13px}.unknown-credit{font-size:8px}.credit-heading{padding:12px 12px 0}.credit-heading .credit-work{font-size:11px}.credit-heading>span{font-size:8px}.breadcrumb{font-size:9px;margin:0 0 14px;gap:8px}.back-link{font-size:10px;margin-bottom:15px}.source-details{font-size:10px}.source-detail-body .source-link{font-size:10px}.library-toolbar{flex-wrap:wrap;gap:9px}.library-toolbar .filter-box{flex:1 0 100%}.library-toolbar select{width:100%;font-size:11px;min-height:43px;padding:10px 12px}.settings-card{padding:20px 16px;margin:14px 0}.settings-card h2{font-size:16px}.settings-card p{font-size:11px}.settings-row{font-size:12px}.settings-row select{font-size:12px;width:155px}.settings-card .button{font-size:11px;padding:10px 12px}.page-footnote{font-size:10px;line-height:1.9}.record-dialog{padding:22px 18px}.dialog-heading h2{font-size:18px}.bottom-nav{gap:4px;padding-top:9px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.bottom-nav a{font-size:8px;gap:4px;min-height:44px}.bottom-nav a .icon{height:21px;width:21px}.toast{font-size:11px;bottom:calc(80px + env(safe-area-inset-bottom))}.load-more{font-size:11px}.hero-copy .button .icon{width:15px;height:15px}}
@media(max-width:360px){.page-content{padding-left:14px;padding-right:14px}.header-inner{padding-left:14px;padding-right:14px}.hero-copy h1{font-size:42px}.home-hero{min-height:465px;padding-left:20px}.hero-art{right:3px;width:40%;top:60px}.hero-copy p{font-size:11px}.detail-hero{gap:12px;padding:15px 12px}.detail-image{flex-basis:90px}.detail-copy h1{font-size:18px}.cast-pair{padding:11px 8px;gap:4px}.cast-person{gap:6px}.cast-person>.visual{flex-basis:39px;width:39px;height:58px}.voice-side>.visual{flex-basis:31px;width:31px;height:46px}.cast-person b{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the mobile title and posters in separate columns, including larger Japanese fonts. */
@media(max-width:680px){
  .home-hero{display:grid;grid-template-columns:minmax(0,62%) minmax(0,38%);align-items:start;gap:0;padding:27px 20px 95px;min-height:440px}
  .hero-copy{position:static;pointer-events:auto}
  .hero-copy>.eyebrow{font-size:7px;letter-spacing:.1em}
  .hero-copy h1{font-size:44px;letter-spacing:.04em;white-space:nowrap;max-width:none;line-height:1.4;margin:17px 0}
  .hero-copy p{font-size:11px;max-width:100%;line-height:1.95;margin-bottom:0;padding-right:8px}
  .hero-copy .button{position:absolute;left:20px;bottom:45px;white-space:nowrap}
  .hero-art{position:relative;right:auto;top:auto;width:100%;height:260px;margin-top:30px;opacity:1}
  .hero-poster{width:84%}
  .poster-0{transform:rotate(-8deg) translate(-3px,-34px)}
  .poster-1{transform:rotate(7deg) translate(5px,66px)}
  .hero-coordinate{font-size:6px}
}
@media(max-width:360px){.hero-copy h1{font-size:39px}.home-hero{min-height:425px}.hero-copy p{font-size:10px}.hero-art{height:240px}}
.voice-stack{display:flex;flex-direction:column;gap:12px;min-width:0}.actor-count{font-size:9px;color:var(--muted);line-height:1.5}.other-voices{font-size:10px;color:var(--muted)}.other-voices>div{display:flex;flex-direction:column;gap:12px;padding-top:12px}.other-voices summary{font-size:10px}.other-voices .cast-person b{color:var(--text)}
@media(max-width:680px){.voice-stack{gap:9px}.actor-count{font-size:8px}.other-voices summary{font-size:8px}.other-voices>div{gap:9px;padding-top:9px}}
summary{list-style:none}summary::-webkit-details-marker{display:none}summary::before{content:"";display:inline-block;vertical-align:middle;width:0;height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:4px solid var(--gold);margin-right:8px;transform:translateY(-1px)}details[open]>summary::before{transform:rotate(90deg) translateX(-1px)}
