@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}}
.brand-mark{border-radius:7px;object-fit:cover}
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)}

/* v4 revision: photo-first broadcasting, visible profiles and large filmography. */
input, select, textarea, .credit-toolbar select, .library-toolbar select,
.settings-row select { font-size: 16px; }
.button, .segmented button, .text-link { min-height: 44px; }
.save-small { width: 42px; height: 42px; }
.card-copy h3 { font-size: 15px; }
.card-copy p { font-size: 12px; }
.card-category { font-size: 10px; }
.air-home-intro { padding: 28px 0 8px; }
.air-home-intro h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.45; letter-spacing: .01em; margin: 12px 0; }
.air-home-intro p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.home-stat { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: var(--gold); font-size: 12px; }
.segmented { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); background: var(--surface-low); border-radius: 12px; margin: 14px 0; overflow-x: auto; }
.segmented button { flex: 1 0 auto; padding: 10px 14px; font-size: 13px; color: var(--muted); border-radius: 8px; background: transparent; }
.segmented button.selected { background: var(--surface-raised); color: var(--text); box-shadow: 0 1px 4px #0002; }
.schedule-note, .cast-language-note, .actor-filter-info p { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 14px 0 20px; }
.broadcast-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; }
.broadcast-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); min-width: 0; }
.broadcast-heading { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; padding: 20px; position: relative; }
.broadcast-poster .visual { aspect-ratio: 2/3; border-radius: 8px; padding: 4px; }
.broadcast-heading>div { min-width: 0; padding-top: 4px; }
.broadcast-heading p { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.broadcast-heading .save-small { position: static; margin-top: 12px; }
.broadcast-title { display: flex; gap: 6px; align-items: center; margin-top: 12px; }
.broadcast-title h3 { font-size: 17px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.broadcast-title .icon { width: 15px; flex-shrink: 0; color: var(--gold); }
.air-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.air-badge, .season-badge { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; padding: 5px 7px; border-radius: 5px; background: var(--surface-raised); color: var(--muted); line-height: 1.5; }
.on-air { color: var(--character); }
.season-badge { color: var(--gold); }
.broadcast-cast { border-top: 1px solid var(--line); padding: 16px 20px; }
.broadcast-cast>.muted { font-size: 13px; line-height: 1.9; }
.air-cast-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
.air-cast { min-width: 0; }
.air-character { display: block; }
.air-character .visual { height: 190px; width: 100%; border-radius: 8px; padding: 5px; }
.air-character strong { display: block; font-size: 14px; line-height: 1.6; margin: 10px 0; overflow-wrap: anywhere; }
.air-voices { display: grid; gap: 8px; }
.air-voices>a:not(.text-link) { display: flex; gap: 10px; align-items: center; min-width: 0; }
.air-voices .visual { width: 52px; height: 68px; flex: 0 0 52px; padding: 3px; border-radius: 5px; }
.air-voices small { display: block; font-size: 8px; letter-spacing: .07em; color: var(--voice); }
.air-voices b { font-size: 12px; line-height: 1.7; display: block; overflow-wrap: anywhere; }
.air-voices .text-link { font-size: 10px; }
.cast-expand { margin-top: 18px; color: var(--gold); font-size: 12px; width: 100%; justify-content: center; }
.follow-section { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-low); }
.follow-empty { display: flex; gap: 18px; padding: 12px 0; }
.follow-empty>span { color: var(--voice); padding-top: 3px; }
.follow-empty h3 { font-size: 16px; }
.follow-empty p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 7px; }
.follow-empty a { margin-top: 8px; }
.follow-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.follow-summary a { color: var(--gold); }
.follow-summary .icon { width: 13px; height: 13px; }
.follow-more { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.follow-more button { font-size: 12px; }
.profile-reading { font-size: 15px !important; color: var(--text) !important; margin-top: 4px; }
.profile-facts { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--surface-low); margin-top: 16px; }
.profile-facts h2 { font-size: 18px; margin-bottom: 16px; }
.profile-facts dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; }
.profile-facts dl>div { display: grid; grid-template-columns: 85px minmax(0,1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.profile-facts dt { font-size: 12px; color: var(--muted); }
.profile-facts dd { font-size: 14px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.profile-evidence { color: var(--muted); font-size: 11px; line-height: 2; margin-top: 18px; }
.profile-evidence .source-link { font-size: 11px; }
.actor-credit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.actor-credit-card { display: grid; grid-template-columns: 44% minmax(0,1fr); gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); align-items: start; }
.actor-character-visual .visual { width: 100%; height: 235px; border-radius: 8px; padding: 5px; }
.actor-credit-copy { min-width: 0; padding: 6px 0; }
.actor-credit-copy .eyebrow { font-size: 8px; color: var(--character); }
.actor-character-name h3 { font-size: 19px; line-height: 1.6; margin: 7px 0; overflow-wrap: anywhere; }
.actor-credit-relation { font-size: 11px; color: var(--voice); line-height: 1.8; }
.actor-work-link { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); margin: 14px 0 12px; padding-top: 12px; }
.actor-work-link>.visual { width: 48px; height: 67px; flex: 0 0 48px; padding: 3px; border-radius: 4px; }
.actor-work-link small { font-size: 10px; color: var(--muted); display: block; line-height: 1.7; }
.actor-work-link b { font-size: 13px; line-height: 1.7; display: inline; overflow-wrap: anywhere; }
.actor-work-link .icon { width: 12px; height: 12px; color: var(--gold); vertical-align: middle; margin-left: 5px; }
.actor-credit-copy .air-labels { margin-top: 10px; }
.actor-filter-info .button { margin-bottom: 16px; }
.actor-segments button { padding: 10px 8px; }
@media(max-width:900px) {
  .broadcast-list, .actor-credit-grid { grid-template-columns: minmax(0,1fr); }
  .air-character .visual { height: 240px; }
}
@media(max-width:680px) {
  .air-home-intro { padding-top: 8px; }
  .air-home-intro p { font-size: 13px; }
  .home-stat { font-size: 10px; gap: 8px 14px; }
  .page-kicker .home-today { display: inline; font-size: 9px; }
  .follow-section { padding: 18px 14px; }
  .follow-section h2 { font-size: 17px; line-height: 1.7; }
  .segmented button { font-size: 12px; padding: 10px 9px; }
  .broadcast-list { gap: 18px; }
  .broadcast-heading { grid-template-columns: 108px minmax(0,1fr); gap: 14px; padding: 16px; }
  .broadcast-title { margin-top: 9px; }
  .broadcast-title h3 { font-size: 16px; }
  .broadcast-cast { padding: 16px; }
  .air-cast-grid { gap: 18px 12px; }
  .air-character .visual { height: 190px; }
  .air-character strong { font-size: 14px; }
  .air-voices .visual { width: 48px; flex-basis: 48px; height: 66px; }
  .air-voices b { font-size: 12px; }
  .air-voices>a:not(.text-link) { gap: 8px; }
  .follow-section .air-cast-grid { grid-template-columns: minmax(0,1fr); }
  .follow-section .air-cast { display: grid; grid-template-columns: 45% minmax(0,1fr); gap: 14px; align-items: center; }
  .follow-section .air-character .visual { height: 170px; }
  .follow-section .broadcast-heading { grid-template-columns: 85px minmax(0,1fr); padding: 14px; }
  .follow-section .broadcast-title h3 { font-size: 15px; }
  .profile-facts { padding: 18px; }
  .profile-facts dl { grid-template-columns: minmax(0,1fr); }
  .profile-facts dl>div { grid-template-columns: 76px minmax(0,1fr); gap: 12px; padding: 11px 0; }
  .profile-facts dd { font-size: 14px; }
  .detail-hero.person { align-items: start; gap: 18px; padding: 18px; }
  .detail-hero.person .detail-image { flex-basis: 114px; }
  .detail-hero.person .detail-image .visual { min-height: 150px; }
  .detail-hero.person h1 { font-size: 24px; }
  .detail-hero.person .detail-actions { margin: 13px 0; gap: 8px; }
  .detail-hero.person .detail-actions .button { font-size: 11px; padding: 10px; }
  .actor-credit-card { grid-template-columns: 43% minmax(0,1fr); gap: 14px; padding: 14px; }
  .actor-character-visual .visual { height: 212px; }
  .actor-character-name h3 { font-size: 17px; }
  .actor-work-link { gap: 8px; }
  .actor-work-link>.visual { display: none; }
  .actor-work-link b { font-size: 13px; }
  .actor-segments { gap: 2px; }
  .actor-segments button { padding: 10px 6px; font-size: 12px; }
  .cast-pair { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px; padding: 16px; align-items: start; }
  .cast-pair .cv-mark { display: none; }
  .character-side { display: block; }
  .character-side>.visual { width: 100%; height: 180px; padding: 4px; margin-bottom: 10px; }
  .cast-person small { font-size: 9px; }
  .cast-person b { font-size: 13px; }
  .voice-side>.visual { width: 57px; flex-basis: 57px; height: 80px; padding: 3px; }
  .voice-side { gap: 9px; }
  .other-voices summary { font-size: 10px; }
  .cast-person .image-state { font-size: 10px; }
  .credit-explanation, .source-details { font-size: 12px; }
  .credit-toolbar select, .library-toolbar select, .settings-row select { font-size: 16px; }
  .card-copy h3 { font-size: 14px; }
  .card-copy p { font-size: 11px; }
  .card-category { font-size: 10px; }
  .bottom-nav a { font-size: 10px; }
}
@media(max-width:360px) {
  .detail-hero.person { display: block; }
  .detail-hero.person .detail-image { width: 140px; float: none; margin-bottom: 16px; }
  .actor-credit-card { grid-template-columns: 44% minmax(0,1fr); gap: 11px; padding: 11px; }
  .actor-character-visual .visual { height: 190px; }
  .broadcast-heading { grid-template-columns: 85px minmax(0,1fr); }
  .voice-side { display: block; }
  .voice-side>.visual { width: 75px; height: 95px; margin-bottom: 7px; }
  .segmented button { font-size: 11px; }
}

@media(max-width:680px) { .page-kicker>span.home-today { display: inline; } }

/* v7: Prevent involuntary iPhone Safari focus zoom without blocking pinch-to-zoom.
   The 11-12px placeholder styles above were visually too small for the search UI;
   keep text and placeholders consistently legible on touch devices. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .search-box input,
  .filter-box input,
  input[type="search"],
  input[type="text"],
  input:not([type]),
  textarea,
  select {
    font-size: 17px !important;
    -webkit-text-size-adjust: 100%;
  }
  .search-box input::placeholder,
  .filter-box input::placeholder,
  input[type="search"]::placeholder,
  input[type="text"]::placeholder,
  input:not([type])::placeholder,
  textarea::placeholder {
    font-size: 16px !important;
  }
}

/* The complete source image must fit the frame in search and profile lists.
   Never turn portraits or posters into a cropped/zoomed background. */
.entity-grid .visual img,
.cast-list .visual img,
.actor-credit-grid .visual img,
.broadcast-list .visual img,
.detail-image .visual img,
.visual img {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  max-width: 100%;
  max-height: 100%;
}

/* Extra buffer for iPhone Display Zoom / More Space and text-size variants.
   Placeholder typography stays compact while the real input font remains
   comfortably above WebKit's focus-zoom threshold. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  #query { font-size: 20px !important; }
  .filter-box input,
  .record-dialog input,
  .record-dialog textarea { font-size: 18px !important; }
}

/* v9: iOS can leave fragments of the native placeholder painted behind
   Japanese IME composition. Draw the placeholder as an ordinary noninteractive
   element instead. The input keeps its real placeholder for accessibility and
   :placeholder-shown state but WebKit must not paint those native glyphs. */
.search-box { position: relative; }
#query { position: relative; z-index: 1; min-width: 0; }
#query::placeholder { color: transparent !important; opacity: 0 !important; text-shadow: none !important; }
.search-visual-placeholder {
  position: absolute;
  top: 50%;
  left: 48px;
  right: 56px;
  transform: translateY(-50%);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
  opacity: .85;
  font-size: 14px;
  line-height: 1.4;
  pointer-events: none;
  user-select: none;
}
.search-box:focus-within .search-visual-placeholder,
#query:not(:placeholder-shown) + .search-visual-placeholder { display: none; }
@media (max-width: 680px) {
  .search-visual-placeholder { left: 40px; right: 49px; font-size: 14px; }
}

/* v10: Character profiles show their recurring voice performers once, with
   compact work links instead of one image-heavy cast card for every sequel. */
.character-voice-overview {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 15px;
  padding: 19px;
  margin: 1px 0 23px;
}
.character-voice-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.character-voice-heading h3 {font-size: 17px; margin-top: 3px;}
.character-voice-grid {display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px;}
.character-voice-person {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--surface-low);
  border-radius: 10px;
}
.character-voice-person .visual {width: 54px; height: 65px; flex: 0 0 54px; padding: 3px; border-radius: 7px;}
.character-voice-person>span {min-width: 0; flex: 1;}
.character-voice-person small {display: block; font-size: 9px; color: var(--voice); letter-spacing: .08em; margin-bottom: 3px;}
.character-voice-person b {font-size: 13px; line-height: 1.45; overflow-wrap: anywhere;}
.character-voice-person>.icon {width: 15px; color: var(--gold);}
.character-voice-note {font-size: 10px; color: var(--muted); line-height: 1.8; margin-top: 12px;}
.character-works {border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden;}
.character-works-header {padding: 17px 17px 13px;}
.character-works-header p {font-size: 11px; color: var(--muted); margin-top: 4px;}
.character-works-list {display: flex; flex-direction: column;}
.character-work-link {
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) auto 17px;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.character-work-link:hover {background: var(--surface-low);}
.character-work-year {font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums;}
.character-work-body {display: block; min-width: 0;}
.character-work-body b {font-size: 13px; line-height: 1.55; display: block; overflow-wrap: anywhere; font-weight: 600;}
.character-work-body small {font-size: 10px; color: var(--voice); display: block; margin-top: 4px;}
.character-work-format {font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; white-space: nowrap;}
.character-work-link>.icon {width: 15px; color: var(--gold);}
.character-list-toggle {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 43px; width: 100%; font-size: 12px; font-weight: 600;
  background: transparent; color: var(--gold); margin-top: 10px;
}
.character-list-toggle>.icon {width: 15px;}
.character-work-more {border-top: 1px solid var(--line); margin: 0; min-height: 51px;}
.character-list-toggle:hover {background: var(--surface-low);}
@media(max-width:680px) {
  .character-voice-overview {padding: 13px; border-radius: 12px; margin-bottom: 18px;}
  .character-voice-heading {align-items: center;}
  .character-voice-heading h3 {font-size: 15px;}
  .character-voice-grid {grid-template-columns: minmax(0,1fr); gap: 8px;}
  .character-voice-person {padding: 8px 10px; min-height: 69px;}
  .character-voice-person .visual {width: 45px; height: 55px; flex-basis: 45px;}
  .character-voice-person b {font-size: 13px;}
  .character-work-link {grid-template-columns: 38px minmax(0,1fr) auto 15px; gap: 7px; min-height: 61px; padding: 11px 10px;}
  .character-work-body b {font-size: 12px;}
  .character-work-year {font-size: 10px;}
  .character-work-format {font-size: 8px; padding: 3px 4px;}
  .character-works-header {padding: 14px 11px 12px;}
}
