@import url("link-copy.css");
/* Cinematic full profile only; public archive, modal and owner forms stay isolated. */
.pedia-page.pedia-page--profile{max-width:none;margin:0;padding:88px 0 80px}
.pedia-page .pf-profile{--pf-accent:var(--green,#9aff56);--pf-line:#ffffff10;--pf-surface:#0c120f;color:#e7eee9;min-width:0;font-family:Inter,sans-serif}
.pf-profile *{box-sizing:border-box}
.pf-profile .pf-hero{position:relative;isolation:isolate;overflow:hidden;min-height:460px;border:0;border-bottom:1px solid #9aff5626;border-radius:0;background:radial-gradient(ellipse at 80% 10%,#9aff5614,transparent 50%),linear-gradient(120deg,#18251b,#0b110e 65%)}
.pf-profile .pf-banner,.pf-profile .pf-hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.pf-profile .pf-banner{object-fit:cover;object-position:50% 50%}
.pf-profile .pf-hero-shade{z-index:-1;background:linear-gradient(0deg,var(--bg-main,#050907) 0%,#05090790 18%,transparent 62%),linear-gradient(90deg,#050907ee 0%,#050907b8 30%,#05090735 72%),radial-gradient(ellipse at center,transparent 30%,#05090750 100%)}
.pf-profile .pf-hero-inner{position:relative;width:min(1480px,78%);margin-inline:auto;padding:40px 0 52px}
.pf-profile .pf-toolbar{margin-bottom:18px}
.pf-profile .pf-toolbar-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.pf-profile .pf-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;max-width:100%;padding:9px 13px;border:1px solid #ffffff20;border-radius:6px;background:#0c130eb3;color:#dbe5de;font:600 11px/1.5 Inter,sans-serif;text-decoration:none;cursor:pointer;text-align:center;transition:border-color .18s,background .18s,box-shadow .18s}
.pf-profile .pf-button--accent{border-color:#9aff5640;color:#d9edce;background:#17221ae6;box-shadow:0 0 16px #9aff5606}
.pf-profile .pf-button:hover{background:#1b291f;border-color:#9aff5670;box-shadow:0 0 16px #9aff560c}
.pf-profile :is(a,button,input):focus-visible{outline:2px solid var(--pf-accent);outline-offset:4px}
.pf-profile .pf-identity{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:40px;align-items:end}
.pf-profile .pf-avatar{width:112px;padding:4px;border:1px solid #9aff5638;border-radius:10px;background:#0d1510;box-shadow:0 8px 30px #0006,0 0 22px #9aff5609}
.pf-profile .pf-avatar .pedia-portrait{aspect-ratio:4/5;border-radius:6px}
.pf-profile .pf-avatar .pedia-placeholder{background-size:cover}
.pf-profile .pf-identity-copy{min-width:0}
.pf-profile .pf-eyebrow{font:600 10px/1.7 Inter,sans-serif;letter-spacing:1.7px;color:#a6c592}
.pf-profile .pf-breadcrumb{max-width:100%;font:600 9px/17px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.2px;text-transform:uppercase}
.pf-profile .pf-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;list-style:none;margin:0;padding:0}
.pf-profile .pf-breadcrumb li{display:inline-flex;align-items:center;gap:9px;min-width:0;max-width:100%;color:#718075}
.pf-profile .pf-breadcrumb li:first-child a{color:#718075;font-weight:600}
.pf-profile .pf-breadcrumb a{color:inherit;transition:color .18s}
.pf-profile .pf-breadcrumb a:hover{color:var(--pf-accent)}
.pf-profile .pf-breadcrumb svg{width:12px;height:12px;flex:none;color:#5f7566}
.pf-profile .pf-breadcrumb [aria-current=page]{color:#a8b2a9;overflow-wrap:anywhere;font-weight:600}
.pedia-page .pf-profile h1{max-width:16ch;margin:17px 0 20px;padding-right:.12em;font:800 italic clamp(48px,5vw,92px)/.96 Inter,sans-serif;letter-spacing:-.055em;color:#f1f6f2;overflow-wrap:anywhere}
.pf-profile .pf-first-name,.pf-profile .pf-last-name{display:block}
.pf-profile .pf-last-name{color:var(--pf-accent);margin-top:4px}
.pf-profile .pf-slogan{max-width:64ch;margin:0 0 18px;color:#b9c5bd;font-size:14px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
.pf-profile .pf-tags{display:flex;gap:7px;flex-wrap:wrap}
.pf-profile .pf-tags>.pf-badge{display:inline-flex;align-items:baseline;gap:7px;max-width:100%;min-width:0;min-height:30px;padding:5px 9px;border:1px solid #86958a24;border-radius:7px;background:#050907bd;box-shadow:inset 0 1px #ffffff03;font:500 11px/18px Inter,sans-serif}
.pf-profile .pf-badge-label{color:#8c9790;flex:none;font-weight:400}
.pf-profile .pf-badge-value{min-width:0;color:#d9dfdb;font-weight:550;overflow-wrap:anywhere}
.pf-profile .pf-layout{display:grid;grid-template-columns:180px minmax(0,1fr) 280px;gap:36px;align-items:start;width:min(1480px,78%);margin:0 auto;padding-top:32px}
.pf-profile .pf-layout--no-nav{grid-template-columns:minmax(0,1fr) 280px}
.pf-profile .pf-contents{min-width:0;padding:0}
.pf-profile .pf-contents>.pf-eyebrow{color:#87978b;font:500 10px/1.7 Inter,sans-serif;letter-spacing:1.25px;text-transform:uppercase}
.pf-profile .pf-contents ol{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.pf-profile .pf-contents a{display:flex;align-items:baseline;gap:10px;padding:0;border-left:0;border-radius:0;color:#929e95;text-decoration:none;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.pf-profile .pf-contents a>span{color:var(--green,#9aff56);font-size:10px;flex:none}
.pf-profile .pf-contents a:hover,.pf-profile .pf-contents a[aria-current=location]{color:#e4e9e5;background:transparent}
.pf-profile .pf-story{min-width:0}
.pf-profile .pf-section{padding:0 0 30px;margin:0 0 16px;scroll-margin-top:120px}
.pf-profile .pf-section>header{display:flex;align-items:baseline;gap:12px;border-bottom:1px solid var(--pf-line);padding:0 0 8px;margin-bottom:14px}
.pf-profile .pf-section-number{color:var(--green,#9aff56);font:600 11px/1.7 Inter,sans-serif;letter-spacing:1px}
.pf-profile .pf-section:first-child{padding-top:30px}
.pedia-page .pf-profile h2{font:700 22px/1.35 Inter,sans-serif;letter-spacing:-.45px;margin:0;color:#e6eee8;overflow-wrap:anywhere}
.pf-profile .pf-prose{max-width:76ch;font-size:15px;line-height:1.85;color:#d0d8d2;overflow-wrap:anywhere}
.pf-profile .pf-prose p{margin:0 0 18px;white-space:pre-wrap}
.pf-profile .pf-prose strong{color:#dee8e1}
.pf-profile .pf-prose blockquote{margin:20px 0;padding:12px 18px;border-left:2px solid #9aff5670;background:#9aff5605;white-space:pre-wrap}
.pf-profile .pf-sidebar{display:grid;gap:18px;min-width:0}
.pf-profile :is(.pf-info,.pf-music,.pr-panel){padding:14px}
.pf-profile :is(.pf-info,.pf-music,.pr-panel),
.pf-panel-surface{border:1px solid #9aff561b;border-radius:12px;background:linear-gradient(145deg,#ffffff0250,transparent 65%),var(--bg-panel,#0b110d);box-shadow:0 8px 24px #0002;overflow:hidden}
.pf-profile .pf-info dl{margin:0}
.pf-profile .pf-info dl>div{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:baseline;gap:12px;padding:10px 0;border-top:1px solid #ffffff09}
.pf-profile .pf-info dt{margin:0;color:#748277;font:500 9px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.7px;text-transform:uppercase}
.pf-profile .pf-info dd{margin:0;color:#dde4de;font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.pf-profile .pf-music .pf-eyebrow{display:block;margin-bottom:8px}
.pf-profile .pf-muted{font-size:11px;line-height:1.8;color:#899b8e}
.pf-profile .pf-provider{font-size:11px;color:#a6c592;text-decoration:none}
.pf-profile .pf-music iframe{display:block;width:100%;aspect-ratio:16/9;min-height:200px;border:0;border-radius:8px}
.pf-track{display:flex;align-items:center;gap:12px;margin:2px 0 16px;min-width:0}
.pf-track>div{min-width:0}.pf-track strong,.pf-track div>span{display:block;overflow-wrap:anywhere}.pf-track strong{font-size:13px;line-height:1.5}.pf-track div>span{font-size:11px;color:#91a297;margin-top:4px}
.pf-music-controls{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.pf-music-controls button:disabled{opacity:.45;cursor:wait}

@media(min-width:1600px){.pf-profile .pf-layout{grid-template-columns:200px minmax(0,1fr) 320px;gap:48px}.pf-profile .pf-prose{font-size:16px}}
@media(max-width:1100px){.pf-profile .pf-hero-inner,.pf-profile .pf-layout{width:calc(100% - 50px)}.pf-profile .pf-layout{grid-template-columns:150px minmax(0,1fr) 240px;gap:24px}.pf-profile .pf-layout--no-nav{grid-template-columns:minmax(0,1fr) 240px}}
@media(min-width:701px){.pf-profile .pf-layout--no-info{grid-template-columns:180px minmax(0,1fr)}.pf-profile .pf-layout--no-info.pf-layout--no-nav{grid-template-columns:minmax(0,1fr)}}
@media(min-width:701px) and (max-width:900px){.pf-profile .pf-layout{grid-template-columns:150px minmax(0,1fr)}.pf-profile .pf-sidebar{grid-column:2}.pf-profile .pf-layout--no-nav{grid-template-columns:minmax(0,1fr) 240px}.pf-profile .pf-layout--no-nav .pf-sidebar{grid-column:auto}}
@media(max-width:700px){
.pf-profile .pf-hero{min-height:400px}
.pf-profile .pf-hero-inner{padding:24px 0 32px}
.pf-profile .pf-toolbar{margin-bottom:28px}
.pf-profile .pf-identity{grid-template-columns:minmax(0,1fr) 76px;gap:18px}
.pf-profile .pf-avatar{width:76px;padding:3px}
.pedia-page .pf-profile h1{font-size:clamp(42px,9vw,64px);margin:14px 0 18px}
.pf-profile .pf-slogan{font-size:12px}
.pf-profile .pf-layout,.pf-profile .pf-layout--no-nav{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:22px}
.pf-profile .pf-sidebar{grid-column:auto}
.pf-profile .pf-contents{padding:0}
.pf-profile .pf-contents ol{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.pf-profile .pf-contents li{max-width:100%}
.pf-profile .pf-prose{font-size:13px;line-height:1.9}
.pf-profile .pf-button{min-height:44px}
.pf-profile .pf-section{scroll-margin-top:100px}
.pf-profile .pf-section:first-child{padding-top:12px}
}
@media(max-width:520px){
.pedia-page.pedia-page--profile{padding-top:76px}
.pf-profile .pf-hero-inner,.pf-profile .pf-layout{width:calc(100% - 32px)}
.pf-profile .pf-identity{grid-template-columns:minmax(0,1fr)}
.pf-profile .pf-avatar{grid-row:1;width:64px}
.pf-profile .pf-toolbar-actions{gap:8px;margin-top:20px}
.pf-profile .pf-toolbar-actions .pf-button{flex:0 1 auto}
}
@media(prefers-reduced-motion:reduce){.pf-profile *{transition:none!important;scroll-behavior:auto!important}}

.pedia-page .pf-profile [hidden]{display:none}

/* Full profile refresh; owner forms and archive cards retain their own styles. */
.pf-profile .pf-identity{display:block}
.pf-profile .pf-hero-shade{background:linear-gradient(0deg,var(--bg-main,#050907),#05090790 24%,transparent 85%),linear-gradient(90deg,#050907ed,#05090790 55%,#05090735)}
.pf-profile .pf-first-name{text-shadow:0 2px 20px #ffffff18}
.pf-profile{--pf-name-accent-glow:0 0 22px #9aff5630,0 3px 38px #9aff5618}
.pf-profile .pf-last-name{text-shadow:var(--pf-name-accent-glow)}
.pf-profile .pf-share{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;padding-right:64px}
.pf-profile .pf-banner-copy{position:absolute;right:0;bottom:52px;width:54px}
.pf-profile .pf-banner-copy svg{width:19px;height:19px}
/* Original banner surface, shared with the story rating action. */
.pedia-page .pf-profile .pf-hero :is(.pf-toolbar>a.pf-dossier-action,.pf-banner-copy,.pf-toolbar-actions>.pf-button,.pr-summary),
.pedia-page .pf-profile .pr-actions .pf-dossier-action,
.pf-profile .pf-dossier-action[data-profile-action]{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 min-height:42px;max-width:100%;padding:10px;
 border:1px solid #9aff561b;border-radius:999px;
 background:linear-gradient(145deg,#ffffff0250,transparent 65%),var(--bg-panel,#0b110d);
 color:#dbe5de;box-shadow:0 8px 24px #0002;overflow:hidden;
 font:600 11px/1.5 Inter,sans-serif;text-decoration:none;
 transition:border-color .18s,background .18s,box-shadow .18s;
}
.pedia-page .pf-profile .pf-hero :is(.pf-toolbar>a.pf-dossier-action,.pf-hero-hover):hover,
.pedia-page .pf-profile .pr-actions .pf-dossier-action:not(:disabled):hover,
.pf-profile .pf-dossier-action[data-profile-action]:not(:disabled):hover{
 background:#1b291f;border-color:#9aff5670;box-shadow:0 0 16px #9aff560c;
}
.pedia-page .pf-profile .pr-actions .pf-dossier-action:focus-visible{outline:2px solid var(--green,#9aff56);outline-offset:3px}
.pf-profile .pf-dossier-action[data-profile-action]{cursor:pointer;white-space:nowrap;letter-spacing:0}
.pf-profile .pf-dossier-action[data-profile-action]:focus-visible{outline:2px solid var(--green,#9aff56);outline-offset:3px}
.pf-profile .pf-dossier-action>svg{width:16px;height:16px;flex:none}
.pf-profile .pf-share>.pr-summary{flex:0 1 auto;justify-content:flex-start}
.pf-profile .pf-share svg{width:15px;height:15px;flex:none}
.pf-profile .pf-share [role=status]{max-width:100%;overflow-wrap:anywhere}
.pf-profile .pf-share .pf-toolbar-actions{margin:0}
.pf-profile .pf-left{min-width:0;display:grid;gap:24px;align-content:start}
.pf-profile .pf-avatar{width:100%;max-width:200px;padding:0;overflow:hidden;border:1px solid #ffffff16;border-radius:12px;background:var(--bg-panel,#0b110d);box-shadow:0 8px 24px #0002}
.pf-profile .pf-avatar .pedia-portrait{aspect-ratio:4/5;border-radius:0}
.pf-profile .pf-avatar .pedia-placeholder{background-size:cover;background-position:center}
.pf-profile .pf-contents a{padding:5px 0}
.pf-profile .pf-contents a[aria-current=location]{color:var(--pf-accent)}
.pf-profile .pf-section:first-child{padding-top:0}
.pf-profile .pf-music .pf-eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:4px}
.pf-profile .pf-music-cover{position:relative;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;padding:0;border:1px solid #ffffff0c;border-radius:8px;background:linear-gradient(135deg,#17332d,#121b18);cursor:pointer}
.pf-profile .pf-music-cover>img{display:block;width:100%;height:100%;object-fit:cover;opacity:.75}
.pf-profile .pf-music-disc{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #caffb050;border-radius:50%;background:var(--pf-accent);color:#11200c;box-shadow:0 6px 24px #0004;transition:background .16s,transform .16s}
.pf-profile .pf-music-cover:hover .pf-music-disc{background:#b4f58c;transform:translate(-50%,-50%) scale(1.04)}
.pf-profile .pf-music-cover:disabled{cursor:default;opacity:.6}
.pf-profile .pf-track{margin:16px 0 0}
.pf-profile .pf-track strong{font-size:13px;line-height:1.65}
.pf-profile .pf-music-controls{margin:14px 0 0}
.pf-profile .pf-music-controls button{width:100%}
.pf-profile .pf-music iframe{min-height:200px;width:100%;border:0;border-radius:8px;display:block}
@media(prefers-reduced-motion:no-preference){
 .pf-profile .pf-banner{animation:pf-banner-enter 1.35s .2s cubic-bezier(.2,.65,.2,1) both;transform-origin:50% 50%}
 .pf-profile .pf-banner.is-banner-loading{animation:none;opacity:0;transform:scale(1.05)}
 .pf-profile .pf-first-name{--heading-rise-distance:16px;animation:ac-title-rise .75s .45s cubic-bezier(.2,.65,.2,1) both}
 .pf-profile .pf-last-name{--heading-rise-distance:16px;animation:ac-title-rise .75s .6s cubic-bezier(.2,.65,.2,1) both}
 .pf-profile .pf-slogan{--heading-rise-distance:6px;animation:ac-title-rise .55s .82s cubic-bezier(.2,.65,.2,1) both}
}
@keyframes pf-banner-enter{from{opacity:0;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){.pf-profile .pf-left{grid-template-columns:120px minmax(0,1fr);align-items:start;gap:20px;margin-bottom:18px}.pf-profile .pf-avatar{width:120px}.pf-profile .pf-contents ol{display:grid;gap:4px}}
@media(max-width:400px){.pf-profile .pf-left{grid-template-columns:96px minmax(0,1fr);gap:16px}.pf-profile .pf-avatar{width:96px}.pf-profile .pf-contents a{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pf-profile .pf-first-name,.pf-profile .pf-last-name,.pf-profile .pf-slogan,.pf-profile .pf-banner{animation:none!important}.pf-profile .pf-banner{opacity:1;transform:none}}

/* Reference-inspired compact theme player, using KiwiV surfaces and accents. */
.pf-profile .pf-card-heading{display:flex;align-items:center;gap:7px;margin:2px 2px 14px;color:#819389}
.pf-profile .pf-card-heading>svg{width:15px;height:15px;flex:none;color:#829a8a}
.pedia-page .pf-profile .pf-card-heading h2{margin:0;padding:0;font:650 10px/1.6 Inter,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#9aa99e}
.pf-profile .pf-card-heading>span{font-size:8px;letter-spacing:1.3px;margin-left:auto;color:#677b6e}
.pf-profile .pf-music-cover{aspect-ratio:16/10;border-radius:10px}
.pf-profile .pf-track{display:flex;gap:10px;align-items:center;margin:13px 4px 0}
.pf-profile .pf-track>div{flex:1;min-width:0}
.pf-profile .pf-track strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.6;color:#d9e3dc;font-weight:650}
.pf-profile .pf-track div>span{font-size:10px;color:#84968a;margin-top:2px}
.pf-profile .pf-music-source{display:grid;place-items:center;width:22px;height:26px;color:#81968a;flex:none}
.pf-profile .pf-music-source svg{width:17px;height:17px}
.pf-profile .pf-music-timeline{margin:14px 4px 0}
.pf-profile .pf-music input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;height:18px;margin:0;padding:0;border:0;box-shadow:none;cursor:pointer;background:transparent}
.pf-profile .pf-music input[type=range]::-webkit-slider-runnable-track{height:3px;border:0;border-radius:10px;background:linear-gradient(to right,#dce7df var(--pf-range-fill,0%),#ffffff26 var(--pf-range-fill,0%))}
.pf-profile .pf-music input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4.5px;border:0;border-radius:50%;background:#e1e9e4;box-shadow:none}
.pf-profile .pf-music input[type=range]::-moz-range-track{height:3px;border:0;border-radius:10px;background:#ffffff26}
.pf-profile .pf-music input[type=range]::-moz-range-progress{height:3px;border-radius:10px;background:#dce7df}
.pf-profile .pf-music input[type=range]::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#e1e9e4}
.pf-profile .pf-music input[type=range]:hover::-webkit-slider-thumb{background:var(--pf-accent)}
.pf-profile .pf-music input[type=range]:hover{accent-color:var(--pf-accent)}
.pf-profile .pf-music-time{display:flex;justify-content:space-between;margin-top:4px;color:#839589;font:10px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.5px}
.pf-profile .pf-music-controls{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;margin:8px 4px 0}
.pf-profile .pf-music-controls button{display:grid;place-items:center;flex:none;margin:0;padding:0;cursor:pointer;border:0;font:inherit}
.pf-profile .pf-music-controls .pf-music-play{width:44px;height:44px;border:1px solid #9aff5626;border-radius:50%;background:transparent;color:#fff;box-shadow:0 0 12px #9aff5612,inset 0 1px #ffffff04;transition:border-color .16s,box-shadow .16s}
.pf-profile .pf-music-controls .pf-music-play:hover{border-color:#9aff5650;box-shadow:0 0 16px #9aff5620,inset 0 1px #ffffff04}
.pf-profile .pf-music-controls .pf-music-play[aria-pressed=true]{border-color:#9aff5638;box-shadow:0 0 14px #9aff561a,inset 0 1px #ffffff04}
.pf-profile .pf-control-slot{display:grid;place-items:center;width:20px;height:20px;padding:0;margin:0;line-height:0}
.pf-profile .pf-control-icon{display:block;width:20px;height:20px;padding:0;margin:0;flex:none}
.pf-profile .pf-control-icon.pf-icon-play{transform:translateX(.3px)}
.pf-profile .pf-control-slot .pf-icon-pause{display:none}
.pf-profile [data-music-play][aria-pressed=true] .pf-icon-play{display:none}
.pf-profile [data-music-play][aria-pressed=true] .pf-icon-pause{display:block}
.pf-profile .pf-music-controls .pf-music-icon{width:30px;height:38px;border:1px solid transparent;border-radius:7px;background:transparent;color:#a0b3a6;transition:background .16s,border-color .16s,color .16s}
.pf-profile .pf-music-icon svg{width:17px;height:17px}
.pf-profile .pf-music-controls .pf-music-icon:hover{color:#dce7df;background:#9aff5606;border-color:#9aff5620}
.pf-profile .pf-music-controls [aria-pressed=true].pf-music-icon{color:var(--pf-accent)}
.pf-profile .pf-music-cover,.pf-profile .pf-music [data-profile-player]{aspect-ratio:16/10;min-height:200px}
.pf-profile .pf-music [data-profile-player]{position:relative;place-items:center;width:100%;max-width:100%;min-width:0}
.pf-profile .pf-music [data-profile-player]:not([hidden]){display:grid}
/* Keep the original card slot; the video itself fills an undistorted 16:9 viewport. */
.pf-profile .pf-music .pf-music-viewport{position:relative;width:100%;max-width:100%;min-width:0;aspect-ratio:16/9;margin:0;padding:0}
.pf-profile .pf-music .pf-music-viewport>:first-child{position:absolute;inset:0;display:block;width:100%;max-width:100%;height:100%;min-height:0;margin:0;padding:0;border:0}
@media(pointer:coarse){.pf-profile .pf-music-controls .pf-music-icon{width:44px;height:44px}}
.pf-profile .pf-music-volume{display:flex;align-items:center;gap:4px;min-width:0;max-width:116px;flex:1;margin-left:auto}
.pf-profile .pf-music input:disabled,.pf-profile .pf-music-controls button:disabled{opacity:.35;cursor:default}
.pf-profile .pf-music [data-music-status]{font-size:9px;color:#6e8274;margin:9px 4px 0;line-height:1.6}

/* Full dossier side panels follow document flow; retain navbar-aware anchor offsets. */
.pedia-page--profile .pf-profile{--pf-sticky-top:104px}
.pf-profile .pf-left-index{display:contents}
.pedia-page--profile .pf-profile .pf-section{scroll-margin-top:calc(var(--pf-sticky-top) + 12px)}
.pedia-page--profile .pf-profile .pf-contents{position:static;max-height:none;overflow:visible;padding:2px 8px 4px 0}


@media(min-width:901px){
 .pedia-page--profile .pf-profile .pf-left{display:block;align-self:stretch;min-height:0}
 .pedia-page--profile .pf-profile .pf-left .pf-avatar{margin-bottom:24px}
}
@media(max-width:900px){.pedia-page--profile .pf-profile .pf-contents{position:static}}

/* Contents refinements; identity values retain only a restrained text glow. */
.pf-profile :is(.pf-left,.pf-left-index,.pf-sidebar,.pf-contents,.pf-info,.pf-music,.pf-circle){position:static;top:auto;max-height:none}
.pedia-page--profile .pf-profile .pf-contents{padding:0}
.pf-profile .pf-contents>.pf-eyebrow{color:#bac1bd;text-shadow:0 0 9px #ffffff16}
.pf-profile .pf-contents ol{display:grid;gap:5px;margin:12px 0 0}
.pedia-page--profile .pf-profile .pf-contents a{display:flex;align-items:baseline;gap:12px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#c0c7c2;text-shadow:0 0 7px #ffffff0d;transition:color 220ms ease,text-shadow 220ms ease,background-color 220ms ease,box-shadow 220ms ease}
.pf-profile .pf-contents a>span{min-width:2ch;color:#819087;font:500 10px/1.7 ui-monospace,Consolas,monospace;text-shadow:none;transition:color 220ms ease,text-shadow 220ms ease}
/* Original quiet active surface; only the selected title gets compact white light. */
.pedia-page--profile .pf-profile .pf-contents a[aria-current=location]{color:#f0f4f1;background:#ffffff02;text-shadow:0 0 6px #ffffff26}
.pf-profile .pf-contents a[aria-current=location]>span{color:var(--pf-accent);text-shadow:none}
@media(hover:hover) and (pointer:fine){
 .pedia-page--profile .pf-profile .pf-contents a:hover{background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),inset 0 1px rgba(255,255,255,.035);color:#edf3ee;text-shadow:0 0 12px #ffffff30}
}
.pedia-page--profile .pf-profile .pf-contents a:focus-visible{background:rgba(255,255,255,.035);text-shadow:0 0 12px #ffffff30}



@media(prefers-reduced-motion:reduce){.pf-profile .pf-contents a,.pf-profile .pf-contents a>span{transition:none}}

/* Archive cinematic-card edge treatment; no lift, sheen or interior lighting. */
.pedia-page.pedia-page--profile .pf-profile :is(.pf-info,.pf-circle,.pf-music,.pr-panel),
.pf-panel-surface{
 border-color:#9aff5626;
 box-shadow:0 8px 24px #0002,0 0 5px #9aff5609,0 3px 10px #9aff5606;
 transition:border-color 300ms ease,box-shadow 300ms ease;
}
@media(hover:hover) and (pointer:fine){
 .pedia-page.pedia-page--profile .pf-profile :is(.pf-info,.pf-circle,.pf-music,.pr-panel):hover,
 .pf-panel-surface:hover{
  border-color:#9aff5660;box-shadow:0 0 5px #9aff5614,0 3px 10px #9aff560c;
 }
}
@media(prefers-reduced-motion:reduce){
 .pedia-page.pedia-page--profile .pf-profile :is(.pf-info,.pf-circle,.pf-music,.pr-panel),
 .pf-panel-surface{transition:none}
}

/* Informational hero badges share the existing back-action hover without button semantics. */
.pedia-page .pf-profile .pf-hero :is(.pf-toolbar>a.pf-dossier-action,.pf-hero-hover),
.pf-profile .pf-dossier-action[data-profile-action]{transition:border-color .18s,background .18s,box-shadow .18s,text-shadow .18s}
.pedia-page .pf-profile .pf-hero :is(.pf-banner-copy,.pf-toolbar-actions>.pf-button):focus-visible{outline:2px solid var(--green,#9aff56);outline-offset:3px}
.pedia-page .pf-profile .pf-hero :is(.pf-hero-hover .pf-badge-label,.pf-hero-hover .pf-badge-value,.pf-toolbar-actions>.pf-button,.pf-banner-copy){transition:border-color .18s,background .18s,box-shadow .18s,text-shadow .18s}
.pedia-page .pf-profile .pf-hero :is(.pf-hero-hover:hover .pf-badge-label,.pf-hero-hover:hover .pf-badge-value,.pf-toolbar-actions>.pf-button:hover,.pf-banner-copy:hover){text-shadow:0 0 8px #ffffff12}
.pedia-page .pf-profile .pf-hero .pf-banner-copy svg{transition:filter .18s}
.pedia-page .pf-profile .pf-hero .pf-banner-copy:hover svg{filter:drop-shadow(0 0 2px #ffffff18)}

/* Only the contents navigation follows the story; right-side cards use page flow. */
.pedia-page--profile .pf-profile .pf-sidebar{position:static;top:auto;align-self:start;grid-auto-rows:max-content;max-height:none;overflow:visible}
@media(min-width:901px){
 .pedia-page--profile .pf-profile .pf-contents{
  position:sticky;top:var(--pf-sticky-top,104px);
  max-height:calc(100dvh - var(--pf-sticky-top,104px) - 16px);
  overflow:auto;scrollbar-width:none;
 }
}

@media(min-width:901px){.pedia-page--profile .pf-profile .pf-contents::-webkit-scrollbar{display:none}}

/* The circle keeps the existing shared outer glow, without an extra top margin. */
.pf-profile .pf-sidebar .pf-circle{margin:0}
.pedia-page--profile .pf-profile .pf-circle .pf-circle-toggle{display:flex;align-items:center;gap:9px;width:100%;min-width:0;min-height:28px;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#d8e4dc;font:650 10px/1.6 Inter,sans-serif;letter-spacing:.8px;text-transform:uppercase;text-align:left;cursor:pointer;transition:color 220ms ease,text-shadow 220ms ease}
.pf-profile .pf-circle-toggle>svg{width:16px;height:16px;flex:none;color:#9ab48e}
.pf-profile .pf-circle-toggle>span{min-width:0;overflow-wrap:anywhere}
.pf-profile .pf-circle-toggle>.pf-circle-chevron{margin-left:auto;transition:transform 220ms ease}
.pf-profile .pf-circle.is-open .pf-circle-chevron{transform:rotate(180deg)}
.pedia-page--profile .pf-profile .pf-circle .pf-circle-toggle:hover{color:#edf4e9}
.pedia-page--profile .pf-profile .pf-circle .pf-circle-toggle:focus-visible{outline:2px solid var(--pf-accent);outline-offset:5px}
.pf-profile .pf-circle-panel{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows 220ms ease,visibility 220ms}
.pf-profile .pf-circle-inner{min-height:0;overflow:hidden}
.pf-profile .pf-circle.is-open .pf-circle-panel{grid-template-rows:1fr;visibility:visible}
.pf-profile .pf-circle-inner>ul{padding-top:10px}
@media(max-width:700px){.pedia-page--profile .pf-profile .pf-circle .pf-circle-toggle{min-height:44px}}
@media(prefers-reduced-motion:reduce){.pf-profile .pf-circle-panel,.pf-profile .pf-circle-toggle>.pf-circle-chevron,.pedia-page--profile .pf-profile .pf-circle .pf-circle-toggle{transition:none}}

/* One-shot hero entrance, reusing the character-name keyframes and easing. */
@media(prefers-reduced-motion:no-preference){
 .pf-profile .pf-hero .pf-hero-hover{--heading-rise-distance:8px;animation:ac-title-rise .55s .90s cubic-bezier(.2,.65,.2,1) both}
 .pf-profile .pf-tags>.pf-hero-hover~.pf-hero-hover{animation-delay:.98s}
 .pf-profile .pf-hero .pr-summary.pf-hero-hover{animation-delay:1.06s}
 .pf-profile .pf-hero .pf-toolbar-actions>.pf-hero-hover{animation-delay:1.14s}
 .pf-profile .pf-hero .pf-banner-copy.pf-hero-hover{animation-delay:1.22s}
}

/* Small card text: the hero's off-white letters, without broad green halos. */
.pedia-page--profile .pf-profile .pf-sidebar :is(.pf-info .pf-card-heading h2,.pf-circle>h2,.pf-circle-toggle,.pf-circle-toggle>span,.pf-music .pf-card-heading h2){color:#f1f6f2;text-shadow:0 0 6px #ffffff18}
.pedia-page--profile .pf-profile .pf-sidebar :is(.pf-info dt,.pf-info dd,.pf-circle li strong){text-shadow:0 0 6px #ffffff18}
.pedia-page--profile .pf-profile .pf-sidebar :is(.pf-info .pf-card-heading>svg:first-child,.pf-circle-toggle>svg:first-child,.pf-music .pf-card-heading>svg:first-child){color:#fff;transform-origin:center;transition:transform 300ms cubic-bezier(.2,.65,.2,1)}

/* Person rows reuse the actual contents-navigation hover values and timing. */
.pedia-page--profile .pf-profile .pf-sidebar .pf-circle li a{border-radius:6px;transition:color 220ms ease,text-shadow 220ms ease,background-color 220ms ease,box-shadow 220ms ease}
.pedia-page--profile .pf-profile .pf-sidebar .pf-circle li strong{transition:text-shadow 220ms ease}
.pedia-page--profile .pf-profile .pf-sidebar .pf-circle li small{text-shadow:none}
@media(hover:hover) and (pointer:fine){
 .pedia-page--profile .pf-profile .pf-sidebar .pf-circle li a:hover{background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),inset 0 1px rgba(255,255,255,.035);color:#edf3ee;text-shadow:0 0 12px #ffffff30}
 .pedia-page--profile .pf-profile .pf-sidebar .pf-circle li a:hover strong{text-shadow:0 0 12px #ffffff30}
}
.pedia-page--profile .pf-profile .pf-sidebar .pf-circle li a:focus-visible{background:rgba(255,255,255,.035);text-shadow:0 0 12px #ffffff30}
.pedia-page--profile .pf-profile .pf-sidebar .pf-circle li a:focus-visible strong{text-shadow:0 0 12px #ffffff30}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .pedia-page--profile .pf-profile .pf-sidebar :is(.pf-info:hover .pf-card-heading>svg:first-child,.pf-circle:hover .pf-circle-toggle>svg:first-child,.pf-music:hover .pf-card-heading>svg:first-child){transform:translateY(-2px) scale(1.06) rotate(-4deg)}
}
@media(prefers-reduced-motion:reduce){
 .pedia-page--profile .pf-profile .pf-sidebar :is(.pf-info .pf-card-heading>svg:first-child,.pf-circle-toggle>svg:first-child,.pf-music .pf-card-heading>svg:first-child,.pf-circle li a,.pf-circle li strong){transition:none}
}


