/* JoJoWho: paper, ink and Joestar purple. */
#service-notice{grid-column:1/-1;margin:12px 0 24px;padding:16px;border:2px solid var(--accent);color:var(--ink);background:var(--panel)}#service-notice p{margin:0 0 12px;line-height:1.5}#service-notice a{display:inline-block}
.standings .player-identity{display:grid;grid-template-columns:auto minmax(0,1fr) 26px;align-items:center;width:100%}.standings .player-identity>.avatar-stack{display:contents}.standings .avatar-stack>.avatar-pair{grid-column:1;grid-row:1}.standings .player-identity>div:not(.avatar-stack){grid-column:2;grid-row:1}.standings .avatar-stack>.badge-image{grid-column:3;grid-row:1;justify-self:end}.standings .player-identity strong{display:block}
@media(max-width:480px){.standings td .player-identity{column-gap:5px;grid-template-columns:auto minmax(0,1fr) 22px}.standings .player-identity .avatar-stack .profile-avatar{width:30px;height:30px}.standings .avatar-stack>.badge-image{width:22px;height:22px}.standings .player-identity .player-title{font-size:10px}}
#badge-picker .badge-part-heading{grid-column:1/-1;margin:12px 0 2px;padding-top:10px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}#badge-picker .badge-none{grid-column:1/-1;min-height:36px;align-items:flex-start;padding:8px 12px}.badge-requirement{color:var(--muted);font-size:10px}
.standings .podium-1{--medal:#9b6a0a;--medal-bg:#f2dfab;--podium-bg:#fbf3dc}.standings .podium-2{--medal:#566573;--medal-bg:#dce4eb;--podium-bg:#eef2f6}.standings .podium-3{--medal:#92532c;--medal-bg:#edc6aa;--podium-bg:#f8ebe0}
html[data-theme=dark] .standings .podium-1{--medal:#ecc76d;--medal-bg:#4a3a18;--podium-bg:#352d21}html[data-theme=dark] .standings .podium-2{--medal:#c6d4e4;--medal-bg:#364452;--podium-bg:#292f37}html[data-theme=dark] .standings .podium-3{--medal:#e7b18a;--medal-bg:#513826;--podium-bg:#362b27}
html .standings tr.podium-row td{background:var(--podium-bg);color:var(--ink);border-top:1px solid var(--medal);border-bottom:1px solid var(--medal)}.standings tr.podium-row td:first-child{border-left:4px solid var(--medal)}.standings tr.podium-row td:last-child{border-right:1px solid var(--medal)}.rank-medal{display:inline-flex;align-items:center;justify-content:center;width:34px;height:40px;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);background:var(--medal-bg);color:var(--medal);font:800 25px 'Barlow Condensed',sans-serif;padding-bottom:4px}.standings .podium-row .profile-avatar{width:48px;height:48px;border:2px solid var(--medal)}.standings .podium-row .player-identity strong{font-size:16px}.standings .podium-row td:nth-child(3){font-size:22px;font-weight:800}.standings .podium-1 .rank-medal::before{content:'\265b';font-size:13px;margin-right:3px}
@media(max-width:480px){.standings .podium-row td{padding:10px 5px}.standings .podium-row .player-identity strong{font-size:13px}.rank-medal{width:28px;font-size:22px}.standings .podium-row td:nth-child(3){font-size:18px}}
.avatar-stack{display:flex;flex-direction:column;align-items:center;gap:5px;flex-shrink:0}.badge-image{display:block;width:36px;height:36px;object-fit:contain}.standings .badge-image{width:26px;height:26px}
.badge-fieldset{padding:16px 0;margin:14px 0;border:0;border-top:1px solid var(--line)}.badge-fieldset legend{font-size:13px;font-weight:700;padding-right:10px}#badge-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.badge-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 3px;min-height:86px;border:2px solid var(--line);background:var(--panel);color:var(--ink);font:inherit;font-size:11px;cursor:pointer}.badge-choice[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--panel))}.badge-choice:disabled{opacity:.55;cursor:not-allowed}.badge-choice:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.reward-list .badge-image{width:24px;height:24px}@media(max-width:480px){#badge-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
.profile-customization{margin:24px 0;padding-top:18px;border-top:1px solid var(--line)}
.player-identity{display:flex;align-items:center;gap:12px;text-align:left}.player-identity>div{min-width:0;overflow-wrap:anywhere}.player-identity small,.player-badge{display:block;font-size:12px;margin-top:4px}.player-title{color:var(--muted)}.player-badge{color:var(--accent)}
.profile-avatar{width:64px;height:64px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--accent);font-size:32px}
.standings .profile-avatar{width:40px;height:40px;font-size:24px}.standings .player-identity{gap:8px}.standings .player-badge{font-size:10px}
#profile-preview{margin:18px 0}#portrait-picker summary{cursor:pointer;color:var(--accent);padding:12px 0;font-weight:700}
.portrait-tools,.reward-selects{display:grid;grid-template-columns:1fr 1fr;gap:14px}.portrait-tools{grid-template-columns:1fr 90px}.portrait-tools label,.reward-selects label{display:flex;flex-direction:column;gap:6px;font-size:13px}
.profile-customization input,.profile-customization select{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:0;background:var(--panel);color:var(--ink);font:inherit}
.portrait-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:310px;overflow-y:auto;padding:5px;margin-top:12px;overscroll-behavior:contain}
.portrait-choice{background:var(--panel);color:var(--ink);border:2px solid transparent;padding:6px 2px;display:flex;align-items:center;flex-direction:column;gap:6px;font:inherit;font-size:11px;cursor:pointer}.portrait-choice>span:last-child{overflow-wrap:anywhere}.portrait-choice[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--panel))}.portrait-choice:hover{border-color:var(--line)}.portrait-choice:focus-visible,#portrait-picker summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.portrait-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.portrait-selection button{font-size:12px}.reward-list{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.reward-list li{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:6px;padding:10px 0;border-bottom:1px solid var(--line);font-size:11px}.reward-list strong{font-weight:500}.reward-earned .reward-symbol{color:var(--accent)}.reward-locked{color:var(--muted)}.reward-symbol{font-size:22px}
@media(max-width:480px){.portrait-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reward-selects,.reward-list{grid-template-columns:1fr}.standings .player-identity{flex-wrap:wrap}}
/* Static crossed arrows stay behind the page and never capture input. */
.arrow-background{position:fixed;inset:100px 0 20px;z-index:-1;pointer-events:none;overflow:hidden;color:#704494;opacity:.095;user-select:none}
.arrow-background svg{display:block;width:100%;height:100%}
html[data-theme=dark] .arrow-background{color:#c49ce4;opacity:.085}
main .game{background:color-mix(in srgb,var(--panel) 65%,transparent)}
@media(max-width:850px){.arrow-background{top:140px}}
@media(max-width:360px){header .display-settings{grid-column:1/-1;grid-row:2;justify-content:space-between}header nav{grid-row:3!important}header .brand{grid-column:1/-1}}
header{display:grid!important;grid-template-columns:auto 1fr auto}.brand{grid-column:1;grid-row:1}header nav{grid-column:2;grid-row:1;justify-content:flex-end}.display-settings{grid-column:3;grid-row:1;display:flex;align-items:center;gap:14px}.display-settings #theme-toggle{position:static!important;color:#eee8f2;font-size:12px}.display-settings select{font:inherit;font-size:12px;color:#eee8f2;background:#242126;border:1px solid #80728b;border-radius:3px;min-height:34px;padding:4px;max-width:95px}.display-settings select:focus-visible{outline:2px solid #c49ce4;outline-offset:3px}
@media(max-width:850px){header{grid-template-columns:1fr auto;gap:8px 12px!important}.display-settings{grid-column:2}header nav{grid-column:1/-1;grid-row:2;justify-content:space-between;width:100%}}
@media(max-width:650px){.display-settings{gap:9px}.display-settings #theme-toggle{gap:5px;font-size:10px}.display-settings select{font-size:11px;width:76px}.display-settings .theme-track{width:30px;height:18px}.display-settings .theme-track::after{width:10px;height:10px}header .brand{font-size:28px;gap:5px}html[lang=es] header nav .quiet{font-size:11px}html[lang=es] .intro h1{font-size:43px}}
.menacing-background{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1;color:#704494;opacity:.11;font-family:'Yu Gothic','Meiryo',sans-serif;font-weight:900;user-select:none}.menacing-background span{position:absolute;left:var(--x);top:var(--rest);font-size:var(--size);letter-spacing:-9px;white-space:nowrap;transform:rotate(-12deg)}
.menacing-background span:nth-child(1){--x:1%;--rest:18%;--size:58px;--duration:32s;--delay:-8s}.menacing-background span:nth-child(2){--x:14%;--rest:70%;--size:42px;--duration:38s;--delay:-29s}.menacing-background span:nth-child(3){--x:28%;--rest:39%;--size:48px;--duration:35s;--delay:-17s}.menacing-background span:nth-child(4){--x:43%;--rest:85%;--size:38px;--duration:40s;--delay:-4s}.menacing-background span:nth-child(5){--x:57%;--rest:12%;--size:52px;--duration:36s;--delay:-31s}.menacing-background span:nth-child(6){--x:71%;--rest:58%;--size:44px;--duration:34s;--delay:-13s}.menacing-background span:nth-child(7){--x:85%;--rest:28%;--size:48px;--duration:39s;--delay:-24s}.menacing-background span:nth-child(8){--x:95%;--rest:78%;--size:58px;--duration:33s;--delay:-3s}
body{isolation:isolate}html[data-theme=dark] .menacing-background{color:#c49ce4;opacity:.12}
@media(max-width:650px){.menacing-background span{font-size:34px;letter-spacing:-6px}.menacing-background span:nth-child(2),.menacing-background span:nth-child(4),.menacing-background span:nth-child(6){display:none}.menacing-background span:nth-child(1){--x:0%}.menacing-background span:nth-child(3){--x:23%}.menacing-background span:nth-child(5){--x:46%}.menacing-background span:nth-child(7){--x:69%}.menacing-background span:nth-child(8){--x:92%}}
@media(prefers-reduced-motion:no-preference){.menacing-background span{top:100%;animation:menacing-rise var(--duration) linear var(--delay) infinite;will-change:transform}@keyframes menacing-rise{0%{transform:translate3d(0,100px,0) rotate(-12deg);opacity:0}8%,88%{opacity:1}100%{transform:translate3d(12px,calc(-100vh - 160px),0) rotate(-6deg);opacity:0}}tbody tr.new-guess{animation:none}tbody tr.new-guess th{animation:guess-name-in .3s ease-out both}tbody tr.new-guess td{animation:guess-clue-in .46s cubic-bezier(.22,.61,.36,1) both;transform-origin:center}tbody tr.new-guess td:nth-child(2){animation-delay:.08s}tbody tr.new-guess td:nth-child(3){animation-delay:.17s}tbody tr.new-guess td:nth-child(4){animation-delay:.26s}tbody tr.new-guess td:nth-child(5){animation-delay:.35s}tbody tr.new-guess td:nth-child(6){animation-delay:.44s}tbody tr.new-guess td:nth-child(7){animation-delay:.53s}@keyframes guess-clue-in{from{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes guess-name-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
/* Theme preference is applied before the page paints. */
html[data-theme=dark]{color-scheme:dark;--bg:#19171d;--panel:#242128;--ink:#f3eee8;--muted:#bdb5c3;--line:#504954;--accent:#c49ce4;--lime:#c49ce4;--green:#b8d8b3}
header #theme-toggle{gap:8px;white-space:nowrap}.theme-track{display:inline-block;position:relative;width:34px;height:20px;flex-shrink:0;border:1px solid #95879e;border-radius:12px;background:#4d4555}.theme-track::after{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff}#theme-toggle[aria-checked=true] .theme-track{background:#795199;border-color:#c49ce4}#theme-toggle[aria-checked=true] .theme-track::after{transform:translateX(14px)}header nav{flex-wrap:wrap}
@media(prefers-reduced-motion:no-preference){.theme-track,.theme-track::after{transition:background-color .15s,transform .15s}}
@media(max-width:650px){header{position:relative}header #theme-toggle{position:absolute;right:18px;top:18px}}
html[data-theme=dark] header{background:#151319}html[data-theme=dark] .brand{color:var(--ink)}
html[data-theme=dark] .game,html[data-theme=dark] dialog,html[data-theme=dark] #suggestions{border-color:var(--line)}
html[data-theme=dark] .search-area,html[data-theme=dark] #player-name{background:#19171d;border-color:#817288}html[data-theme=dark] input::placeholder{color:#b0a6b7}
html[data-theme=dark] .search-area:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #c49ce430}
html[data-theme=dark] .part-filter:hover:not([aria-pressed=true]),html[data-theme=dark] .option:hover,html[data-theme=dark] .option.active,html[data-theme=dark] .hint-box,html[data-theme=dark] .tool-button:not(:disabled):hover,html[data-theme=dark] .fact-toggle:hover{background:#3b2e46}
html[data-theme=dark] .part-filter[aria-pressed=true],html[data-theme=dark] .stats-filters [aria-pressed=true],html[data-theme=dark] .primary,html[data-theme=dark] .distribution-bar{background:#795199;color:#fff}html[data-theme=dark] .primary:hover{background:#684284}
html[data-theme=dark] .tool-button:disabled,html[data-theme=dark] th.name-cell,html[data-theme=dark] .standings td{background:#302c34}html[data-theme=dark] .option,html[data-theme=dark] .fact{border-color:var(--line)}
html[data-theme=dark] .portrait{background:#302c34;border-color:#65576d}html[data-theme=dark] .unknown{background:#514958;color:#f3eee8}html[data-theme=dark] .name-cell.name-hit{background:var(--green);color:#193d20}
html[data-theme=dark] .result{background:#25382b;border-color:#759c7b}html[data-theme=dark] .result.revealed{background:#352b3d;border-color:#9d83af}html[data-theme=dark] .loss-bar{background:#9a4c42}
:root{color-scheme:light;--bg:#f2efe7;--panel:#fffdf8;--ink:#242126;--muted:#69636b;--line:#d2ccc5;--accent:#704494;--lime:#704494;--green:#b8d8b3}
body{background:var(--bg);background-image:none;font-size:15px}
header{height:auto;min-height:82px;background:var(--ink);border-bottom:4px solid var(--accent);padding:16px max(28px,calc((100vw - 1120px)/2))}
.brand{color:var(--panel);font-size:36px;letter-spacing:.4px}.star{color:#bb8de0}header nav .quiet{color:#eee8f2;font-size:13px}header nav .quiet:hover{color:#d9b9f1}#help span{display:none}
main{max-width:1176px;padding:38px 28px 0;display:grid;grid-template-columns:1fr 1fr;column-gap:36px}
.intro{grid-column:1;grid-row:1/4;margin:0 0 30px}.intro .series-label{margin:0 0 14px;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.intro h1{font-size:clamp(42px,5vw,64px);line-height:.94;letter-spacing:-.7px;margin:0 0 18px}.intro .intro-description{font-size:14px;max-width:360px}
.mode-switch{grid-column:2;align-self:start;display:flex;border-bottom:1px solid var(--line);gap:24px;margin:0;max-width:none}.mode-switch button{flex:1;border:0;border-bottom:3px solid transparent;border-radius:0;padding:7px 0 13px;background:none;color:var(--muted);font-size:20px}.mode-switch small{font-size:12px}.mode-switch [aria-pressed=true]{background:none;color:var(--accent);border-bottom-color:var(--accent);box-shadow:none}.mode-note{grid-column:2;font-size:12px;color:var(--muted);margin:10px 0 16px}
.player-strip{grid-column:2;border:0;display:flex;flex-wrap:wrap;gap:4px 24px;margin:0 0 28px;padding:0}.player-strip>div{gap:7px}.player-strip strong{font-size:26px;color:var(--ink)}.player-strip span{font-size:12px}.player-strip p{flex-basis:100%;font-size:11px;margin:7px 0 0;max-width:none}
.game{grid-column:1/-1;background:var(--panel);border:1px solid var(--ink);border-top:4px solid var(--ink);border-radius:0;padding:24px 28px 0;box-shadow:5px 5px 0 #24212612}.filter-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;font-weight:700}.filter-note{font-size:11px;font-weight:400;color:var(--muted)}
.part-filters{gap:0;border:1px solid var(--line);margin-bottom:0}.part-filter{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);padding:10px 7px;text-align:left;font-size:13px;font-weight:700;min-height:63px}.part-filter:last-child{border-right:0}.part-filter small{font-size:10px;font-weight:400;color:var(--muted)}.part-filter[aria-pressed=true]{background:var(--accent);color:white;box-shadow:none}.part-filter[aria-pressed=true] small{color:#f0e4f8}.part-filter:hover:not([aria-pressed=true]){background:#eee4f4}.part-filter-help{font-size:12px;margin:9px 0 25px;max-width:650px}
.round-label{font-size:11px;letter-spacing:1.1px}.game-top{margin-bottom:9px}#counter{font-size:12px}.search-area{background:white;border-color:#8d848e;border-radius:2px}.search-area:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #eee4f4}input::placeholder{color:#79717c}kbd{color:var(--muted);border-color:var(--line);border-radius:2px}.search-hint{font-size:12px;margin:8px 0 18px}
#suggestions{background:var(--panel);border:1px solid var(--ink);border-radius:2px;box-shadow:0 8px 16px #2421261a;padding:5px}.option{border-bottom:1px solid #ebe6e0;border-radius:0;padding:9px}.option:hover,.option.active{background:#eee4f4}.option-name{font-size:15px;font-weight:650}.option-name small{font-size:11px;color:var(--muted)}.portrait{border:1px solid #d7cfd7;border-radius:2px;background:#e3dedc}.option .portrait{width:44px;height:46px}
.tool-button,.fact-toggle{border:1px solid var(--line);border-radius:2px;background:transparent;color:var(--ink);font-size:13px;min-height:42px;display:inline-flex;justify-content:center}.tool-button span{font-size:11px;color:var(--muted)}.tool-button:disabled{background:#f2efe9;color:var(--muted);border-color:var(--line)}.tool-button:not(:disabled):hover,.fact-toggle:hover{background:#eee4f4;border-color:var(--accent);color:var(--accent)}.round-tools{margin-bottom:18px}.hint-box{background:#eee4f4;border-color:var(--accent);border-radius:0}.legend{font-size:11px;color:var(--muted);margin-bottom:18px}.legend b{color:var(--ink)}.swatch{width:10px;height:10px;border:1px solid #24212630;border-radius:1px}.correct{background:var(--green);color:#193d20}.wrong{background:#edb0a7;color:#57251f}.unknown{background:#dedade;color:#49444e}
table{min-width:720px;border-spacing:4px}thead th{font-size:10px;letter-spacing:.6px}thead th:first-child{width:27%}td{font-size:13px;padding:12px 5px;border-radius:1px}th.name-cell{background:#eee9e3;font-size:13px;border-radius:1px;padding:8px}.name-part{font-size:10px;color:var(--muted)}.name-cell.name-hit{background:var(--green);color:#193d20}.empty{min-height:96px;border:0;border-top:1px solid var(--line);border-radius:0;margin:0 4px 10px;text-align:center}.empty p{font-size:13px;font-weight:600}.empty span{display:block;font-size:12px;font-weight:400;margin-top:5px}.game-bottom{font-size:11px;padding:8px 0;margin-top:10px}.game-bottom .quiet{font-size:12px}
.primary{background:var(--accent);color:white;border:1px solid var(--accent);border-radius:2px;justify-content:center}.primary:hover{background:#55316f}.result{background:#edf4e9;border-color:#7c9b73;border-left:4px solid #527849;border-radius:0}.result.revealed{background:#f0eaf3;border-color:#9d83af}.result h2{font-family:'Barlow Condensed',sans-serif;font-size:30px}.result p{color:var(--ink)}.fact{border-color:#24212625}.fact strong{color:var(--ink)}.source-link{color:var(--accent)}.result .daily-finished{color:var(--muted)}
footer{grid-column:1/-1;border:0;margin:0;padding:28px 0 36px;gap:40px}footer>div{max-width:760px}footer strong{font-size:12px;color:var(--ink)}footer p{font-size:11px;color:var(--muted);margin:6px 0}footer .quiet{font-size:12px;text-decoration:underline;text-underline-offset:4px}
dialog{background:var(--panel);border:1px solid var(--ink);border-top:4px solid var(--accent);border-radius:2px}dialog::backdrop{background:#19151fc7;backdrop-filter:none}dialog h2{font:800 32px/1.1 'Barlow Condensed',sans-serif;margin-right:28px}dialog p{color:var(--muted);font-size:14px}.fine-print{font-size:12px!important}#player-name{background:white;border-color:var(--line);border-radius:2px}.account-actions>button{border-radius:2px}.standings td{background:#eee9e3}.standings td:first-child{color:var(--accent)}.stats-filters button{border-radius:2px;background:none;border-color:var(--line);color:var(--muted)}.stats-filters [aria-pressed=true]{background:var(--accent);color:white;box-shadow:none}.stats-grid strong{color:var(--ink)}.profile-details dt{color:var(--muted)}.distribution-bar{background:var(--accent);border-radius:0}.loss-bar{background:#9a4c42}
@media(max-width:850px){header{padding:16px 24px;gap:14px}header nav{gap:20px}main{padding:28px 20px 0;column-gap:24px}.intro h1{font-size:48px}.game{padding:20px 20px 0}.part-filters{grid-template-columns:repeat(7,minmax(0,1fr))}.part-filter small{font-size:9px}.mode-switch{gap:16px}.mode-switch button{font-size:18px}.mode-switch small{font-size:11px}}
@media(max-width:650px){header{padding:14px 18px}.brand{font-size:32px}header nav{width:100%;justify-content:space-between;gap:10px}header nav .quiet{font-size:12px;min-height:36px;padding:4px 0}main{display:block;padding:26px 16px 0}.intro{margin-bottom:25px}.intro h1{font-size:48px}.intro .series-label{font-size:10px}.intro .intro-description{font-size:13px;max-width:none}.mode-switch{gap:24px}.mode-note{font-size:11px;margin:10px 0 13px}.player-strip{margin-bottom:20px;gap:4px 20px}.game{padding:18px 14px 0;box-shadow:3px 3px 0 #24212612}.part-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.part-filter{min-height:58px;border-bottom:1px solid var(--line);padding:9px 8px}.part-filter:first-child{grid-column:1/-1;min-height:36px}.part-filter:nth-child(4){border-right:0}.part-filter:nth-child(n+5){border-bottom:0}.part-filter small{font-size:10px}.part-filter-help{font-size:11px;margin-bottom:22px}.filter-heading{font-size:13px}.legend{font-size:10px;gap:8px 14px}.table-scroll{margin:0 -10px;padding:0 6px}.tool-button span{margin:0}.result h2{font-size:26px}footer{display:block;padding-top:24px}footer .quiet{margin-top:10px}}

.part-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.part-filter:first-child{grid-column:1/-1;min-height:36px;border-right:0;border-bottom:1px solid var(--line)}.part-filter:nth-child(n){border-bottom:1px solid var(--line)}.part-filter:nth-child(4){border-right:1px solid var(--line)}.part-filter:nth-child(5),.part-filter:nth-child(9){border-right:0}.part-filter:nth-child(n+6){border-bottom:0}
@media(max-width:650px){.part-filter{padding:8px 5px;font-size:12px}.part-filter small{font-size:9px;overflow-wrap:anywhere}}

#custom-settings{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}#custom-settings h2{font-size:20px;margin:0 0 8px}#custom-settings p{font-size:13px;line-height:1.5}#custom-parts{border:0;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#custom-parts legend{font-size:12px;margin-bottom:8px}#custom-parts label{display:flex;gap:8px;align-items:center;min-height:40px;cursor:pointer}#custom-parts input{accent-color:var(--accent);width:18px;height:18px}.part-filter:disabled{opacity:.4;cursor:not-allowed}.mode-switch{gap:16px}.mode-switch button{min-width:0}#custom-settings[hidden]{display:none}@media(max-width:650px){.mode-switch{gap:12px}.mode-switch button{font-size:17px;flex:1}.mode-switch small{font-size:10px}#custom-parts{grid-template-columns:repeat(4,minmax(0,1fr))}#custom-parts label{font-size:12px;gap:4px}}

/* Game selection sits above the round modes; both preserve saved progress. */
.game-selector{display:flex;gap:1.75rem;border-bottom:1px solid var(--line);margin:0 0 1.5rem}.game-selector button{font:inherit;font-weight:700;background:none;color:inherit;border:0;border-bottom:3px solid transparent;padding:.8rem .15rem;cursor:pointer}.game-selector button[aria-pressed="true"]{color:var(--accent);border-bottom-color:currentColor}.game-selector button:focus-visible{outline:2px solid currentColor;outline-offset:4px}.support-line a{color:inherit;text-underline-offset:3px;overflow-wrap:anywhere}.part-filters [hidden],#custom-parts [hidden]{display:none!important}

html[data-game=stands] .part-filters{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-game=stands] .part-filter:nth-child(n){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}html[data-game=stands] .part-filter:first-child,html[data-game=stands] .part-filter:nth-child(6),html[data-game=stands] .part-filter:nth-child(9){border-right:0}html[data-game=stands] .part-filter:nth-child(n+7){border-bottom:0}

/* Keep the guessing controls visible; expand reference information when needed. */
main{padding-top:24px;column-gap:28px}.intro{margin-bottom:16px}.intro h1{font-size:clamp(34px,4vw,48px);line-height:1.05;max-width:430px}.intro .series-label{font-size:10px;margin-bottom:10px}.game-selector{margin-bottom:10px}.game-selector button{padding:6px 0}.mode-switch button{font-size:17px;padding:7px 0}.mode-note{margin:8px 0;font-size:11px}.player-strip{margin-bottom:16px;gap:8px 16px;align-items:center}.player-strip p{flex-basis:auto;margin:0}.quick-stats{font-size:12px}.quick-stats summary,.part-guide summary,.clue-guide summary,.footer-details summary{cursor:pointer;color:var(--muted);font-size:12px;padding:5px 0;width:fit-content}.quick-stats summary:focus-visible,.part-guide summary:focus-visible,.clue-guide summary:focus-visible,.footer-details summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.stat-values{display:flex;flex-wrap:wrap;gap:10px 18px;padding:8px 0}.stat-values>div{display:flex;align-items:baseline;gap:5px}.stat-values strong{font-size:20px}.stat-values span{font-size:11px}.quick-stats[open]{flex-basis:100%}
.game{padding-top:16px}.filter-heading{margin-bottom:8px;font-size:12px}.filter-heading .filter-note{display:none}html[data-game] .part-filters{display:flex;flex-wrap:wrap;gap:5px;border:0}html[data-game] .part-filters .part-filter:nth-child(n){flex:0 0 auto;min-height:34px;padding:7px 12px;border:1px solid var(--line);font-size:12px;text-align:center}.part-filter small{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.part-filter[aria-pressed=true]{border-color:var(--accent)!important}.part-filter-help{margin:10px 0 6px;font-size:14px;font-weight:700;line-height:1.5;color:var(--ink)}.part-guide{margin:0 0 10px}.part-guide summary{font-size:11px}.part-guide ol{list-style:none;padding:6px 0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;font-size:12px;color:var(--muted)}
.search-hint{margin:7px 0 10px;font-size:11px}.round-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.round-tools .round-time{margin:0;font-size:11px}.round-tools .tool-button{min-height:34px;padding:7px 10px;font-size:12px}.clue-guide{margin-bottom:10px}.clue-guide .legend{margin:5px 0 10px;flex-wrap:wrap}.empty{min-height:64px;padding:14px 8px}.empty span{display:none}footer{align-items:flex-start;gap:20px;padding-top:18px}.footer-details{flex:1}.footer-details summary{font-size:12px;font-weight:700;color:var(--ink)}.footer-details p{max-width:700px}.support-line{font-size:12px;margin:5px 0;white-space:normal}.support-line a{display:block}
@media(max-width:650px){main{padding-top:16px}.intro{margin:0 0 14px}.intro h1{font-size:34px;max-width:none}.game-selector{margin-bottom:16px}.game{padding:14px 12px 0}.mode-switch{gap:18px}.mode-note{font-size:10px}.player-strip{margin-bottom:14px}.part-guide ol{grid-template-columns:1fr}html[data-game] .part-filters .part-filter:nth-child(n){padding:7px 10px;min-height:34px}.round-tools{flex-wrap:wrap}.round-tools .tool-button{margin-left:auto}footer .support-line{margin-top:12px}.empty{min-height:54px}.clue-guide .legend{font-size:11px}}

.share-status:empty{display:none}.share-status{font-size:13px;color:var(--muted);margin:12px 0 0}.share-copy{display:block;width:100%;min-height:230px;margin-top:12px;padding:12px;background:var(--panel);color:var(--ink);border:1px solid var(--line);font:14px/1.6 monospace;resize:vertical}.share-copy[hidden]{display:none}


.first-help{border-left:3px solid var(--accent);padding:12px 14px;margin:12px 0 18px;background:var(--panel);font-size:13px}.first-help[hidden]{display:none}.first-help p{margin:8px 0;line-height:1.5}.example-clues{display:flex;flex-wrap:wrap;gap:6px}.example-clues span{padding:7px 9px;color:#fff;font-weight:700}.example-match{background:#316042}.example-miss{background:#8b3539}.example-unknown{background:#55515b}.usage-note{font-size:11px;color:var(--muted);max-width:420px;line-height:1.5}

#feedback-dialog{width:min(480px,calc(100vw - 32px));box-sizing:border-box}#feedback-form{display:grid;gap:10px}#feedback-form fieldset{margin:0 0 8px;padding:0;border:0}#feedback-form legend{margin-bottom:12px;font-weight:600}.feedback-ratings{display:flex;flex-wrap:wrap;gap:10px 18px}.feedback-ratings label{display:flex;align-items:center;gap:6px;min-height:36px;font-size:14px}#feedback-form input[type=radio]{accent-color:var(--accent);width:18px;height:18px}#feedback-message,#feedback-email{box-sizing:border-box;width:100%;padding:10px;background:var(--panel);color:var(--ink);border:1px solid var(--line);font:inherit;font-size:16px;border-radius:0}#feedback-message{resize:vertical;min-height:100px}#feedback-form .fine-print{margin:0 0 8px}#feedback-form :focus-visible{outline:2px solid var(--accent);outline-offset:3px}.feedback-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#feedback-status{font-size:14px;min-height:1.4em}.support-line #open-feedback{margin-right:12px;text-decoration:underline}#feedback-form button:disabled{opacity:.6;cursor:wait}
.secret-entry{padding:18px 0;border-top:1px solid var(--line);margin-top:18px}.secret-entry>div{display:flex;gap:8px;margin-top:8px}.secret-entry input{width:100%;min-width:0;padding:10px;font:inherit;font-size:16px;border:1px solid var(--line);background:var(--panel);color:var(--ink)}.secret-entry button{white-space:nowrap}.secret-entry p{font-size:13px}.secret-effect{position:fixed;inset:0;pointer-events:none;z-index:10000;overflow:hidden}.secret-face{position:absolute;bottom:35px;width:94px;height:94px;border-radius:50%;overflow:hidden;border:9px dashed #e9e5da;background:#42618d;box-shadow:0 0 0 3px #42618d}.secret-face img{width:100%;height:100%;object-fit:cover;object-position:50% 15%;border-radius:50%}.secret-chip .secret-face{animation:chip-cross 4.5s linear forwards}.secret-cherry .secret-face{left:24px;border:0;bottom:35px;width:110px;height:135px;border-radius:0;background:transparent;animation:cherry-in 4.5s ease forwards}.secret-cherry span{position:absolute;bottom:0;right:0;font-size:40px}.secret-menacing span{position:absolute;left:calc(3% + var(--i)*20%);top:calc(20% + var(--i)*10%);color:var(--accent);font-size:clamp(28px,6vw,60px);font-weight:800;animation:menace-in 4.5s ease forwards}.secret-time{display:grid;place-items:center;font-size:90px;color:var(--accent);animation:menace-in 4.5s ease forwards}html.secret-stopped main,html.secret-stopped header{filter:grayscale(1)}.secret-notice{position:fixed;bottom:12px;left:16px;right:16px;z-index:10001;max-width:440px;margin:auto;padding:10px 14px;background:var(--panel);color:var(--ink);border:1px solid var(--accent);font-size:13px;pointer-events:none}@keyframes chip-cross{from{left:-120px;transform:rotate(0)}to{left:calc(100% + 120px);transform:rotate(1080deg)}}@keyframes cherry-in{0%,100%{transform:translateX(-150px);opacity:0}15%,80%{transform:translateX(0);opacity:1}}@keyframes menace-in{0%,100%{opacity:0}20%,80%{opacity:.6}}@media(prefers-reduced-motion:reduce){.secret-effect *,.secret-effect{animation:none!important}.secret-chip .secret-face{left:24px}.secret-cherry .secret-face{transform:none}html.secret-stopped main,html.secret-stopped header{filter:none}.secret-menacing span{opacity:.6}}
/* Crop the supplied chip photograph in CSS; use exactly the same crop in the effect and badge. */
.chip-crop{display:inline-block;position:relative;overflow:hidden;border-radius:50%;flex-shrink:0;width:36px;height:36px}.chip-crop>img,.secret-chip .chip-crop>img{position:absolute;width:205.74%;max-width:none;height:182.06%;max-height:none;left:-3.35%;top:-39.23%;object-fit:fill;border-radius:0;transform:none}.secret-chip .secret-face{width:100px;height:100px;border:0;background:transparent;box-shadow:none}.secret-time{display:block;animation:none}.time-ripple{position:absolute;left:50%;top:50%;width:70px;height:70px;border:3px solid var(--accent);border-radius:50%;opacity:0;transform:translate(-50%,-50%);animation:time-ripple 1.15s ease-out forwards}.time-ripple::after{content:'';position:absolute;inset:12px;border:1px solid var(--accent);border-radius:50%}@keyframes time-ripple{0%{opacity:.65;transform:translate(-50%,-50%) scale(.5)}100%{opacity:0;transform:translate(-50%,-50%) scale(30)}}.secret-pizza .secret-face{left:24px;border:0;bottom:35px;width:120px;height:150px;border-radius:0;background:transparent;box-shadow:none;animation:cherry-in 4.5s ease forwards}.secret-pizza .secret-face>img{border-radius:0}.secret-pizza .secret-face>span{position:absolute;bottom:0;right:0;font-size:46px}@media(prefers-reduced-motion:reduce){.time-ripple{animation:none;opacity:.55;width:140px;height:140px}.secret-pizza .secret-face{transform:none;animation:none}}

#secret-sound{margin-top:10px;font-size:13px;text-decoration:underline}.secret-notice button{pointer-events:auto;margin-left:12px;text-decoration:underline;min-height:32px}
.secret-pizza .secret-face{animation-duration:var(--secret-duration,4500ms)}

.house-profile{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}.house-profile p{flex-basis:100%;margin:0}
#house-dialog{width:min(800px,calc(100vw - 24px));max-width:800px}#house-doors{display:flex;gap:8px;margin:20px 0;overflow-x:auto;padding-bottom:6px}.house-door{flex:1;min-width:92px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;border:1px solid var(--line);background:transparent;color:var(--ink)}.house-door[aria-pressed=true]{border:2px solid var(--accent)}.house-door img{height:80px;width:80px;object-fit:contain}.house-door small{font-size:11px}.house-door:disabled{opacity:.45}
#house-room h3{margin:16px 0 10px}.room-scene{height:340px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--line)}.room-scene>img{height:58.67%;width:58.67%;object-fit:contain}.room-narancia{background:#f1cf99}.room-johnny{background:#c1e1ef}.room-kakyoin{background:#c2d7c2}.room-jolyne{background:#d5e7a3}.room-diavolo{background:#ebc1d6}
html[data-theme=dark] .room-narancia{background:#df791c}html[data-theme=dark] .room-johnny{background:#2e4d63}html[data-theme=dark] .room-kakyoin{background:#354e3c}html[data-theme=dark] .room-jolyne{background:#45552b}html[data-theme=dark] .room-diavolo{background:#653d54}
#house-catch{position:fixed;right:0;bottom:100px;width:90px;z-index:20;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer;animation:visitor-peek .45s ease-out}#house-catch[hidden]{display:none}#house-catch img{width:90px;height:105px;object-fit:contain;pointer-events:none}#house-catch span{display:block;background:var(--panel);font-size:11px;padding:4px}#house-catch:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@keyframes visitor-peek{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:550px){#house-dialog{padding:24px 16px}.house-door{min-width:76px}.house-door img{height:60px;width:60px}.room-scene{height:280px}#house-catch{bottom:80px;width:72px}#house-catch img{width:72px;height:85px}}@media(prefers-reduced-motion:reduce){#house-catch{animation:none}}

/* Shared transparent artwork for rooms, picker and visitors. */
.house-art-crop{display:inline-block;width:80px;height:80px;flex-shrink:0;background:transparent}.house-art-crop>img,.house-door .house-art-crop>img,#house-catch .house-art-crop>img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain}.room-scene>.house-art-crop{width:190px;height:200px}#house-catch .house-art-crop{width:80px;height:85px;background:transparent;padding:0}#house-catch .house-art-crop+span{padding:4px;background:var(--panel)}@media(max-width:550px){.house-door .house-art-crop{width:60px;height:60px}.room-scene>.house-art-crop{width:157px;height:165px}#house-catch .house-art-crop{width:65px;height:70px}}

/* Decorated-room draft: not yet approved for publishing. */
.room-controls{display:flex;justify-content:flex-end;margin:-35px 0 12px;min-height:26px}.room-controls:empty{display:none}.room-controls button{font-size:12px}.room-furnished{position:relative;height:auto;aspect-ratio:7/4;isolation:isolate}.room-decor{position:absolute;inset:0;color:#382d38;pointer-events:none}.room-decor svg{display:block;width:100%;height:100%}.room-furnished>.house-art-crop{position:absolute;left:41%;bottom:6%;height:35%;width:18%;z-index:1}.room-furnished.room-diavolo>.house-art-crop{left:42%;bottom:5%}@media(max-width:550px){.room-furnished{height:auto;min-height:0}.room-controls{margin:0 0 10px;justify-content:flex-start}.room-furnished>.house-art-crop{height:35%;width:18%}}
.room-furnished.room-narancia{background:#f59a32}.room-furnished.room-narancia>.house-art-crop{left:50%;transform:translateX(-50%);bottom:5%;height:48%;width:26%}html[data-theme=dark] .room-furnished.room-narancia{background:#ed861d}
/* Brief edge peek: no continuous movement or interference with guessing. */ #house-catch{animation:visitor-edge-peek 1.1s ease-out both;--peek-x:0;--peek-y:0}#house-catch[data-edge=left]{--peek-x:-110%;--tilt:-12deg}#house-catch[data-edge=right]{--peek-x:110%;--tilt:12deg}#house-catch[data-edge=bottom]{--peek-y:130%;--tilt:0deg}#house-catch .house-art-crop{transform-origin:50% 100%;animation:visitor-lean 1.1s ease-out both}@keyframes visitor-edge-peek{0%{transform:translate(var(--peek-x),var(--peek-y));opacity:0}30%,55%{transform:translate(calc(var(--peek-x)*.35),calc(var(--peek-y)*.35));opacity:1}100%{transform:translate(0,0);opacity:1}}@keyframes visitor-lean{0%,30%,55%{transform:rotate(var(--tilt,0deg))}100%{transform:rotate(0)}}@media(prefers-reduced-motion:reduce){#house-catch,#house-catch .house-art-crop{animation:none!important;transform:none!important}}
/* Static portrait frames; eligibility is checked by the profile API. */
/* Each visitor jumps once on arrival, then stays still and easy to catch. */
#house-catch[data-visitor]{animation:visitor-enter .95s ease-out both}
#house-catch[data-visitor] .house-art-crop{animation:none;transform:none}
#house-catch[data-visitor] .house-art-crop>img{transform-origin:50% 95%;animation:visitor-jump .95s ease-out both}
@keyframes visitor-enter{from{transform:translate(var(--peek-x),var(--peek-y));opacity:0}25%{opacity:1}60%,100%{transform:translate(0,0);opacity:1}}
@keyframes visitor-jump{0%{transform:translateY(14px) rotate(-6deg) scale(.92,1.06)}35%{transform:translateY(-32px) rotate(5deg) scale(.96,1.04)}64%{transform:translateY(0) rotate(0) scale(1.12,.86)}82%{transform:translateY(-7px) rotate(-2deg) scale(.98,1.03)}100%{transform:translateY(0) rotate(0) scale(1,1)}}
.room-character{appearance:none;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.room-character:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.room-character>img{transform-origin:50% 95%;pointer-events:none}
.room-character.is-jumping>img{animation:visitor-jump .95s ease-out both}
@media(prefers-reduced-motion:reduce){.room-character.is-jumping>img{animation:none!important;transform:none!important}}
@media(prefers-reduced-motion:reduce){#house-catch[data-visitor],#house-catch[data-visitor] .house-art-crop>img{animation:none!important;transform:none!important}}
.frame-fieldset{border:0;padding:0;margin:24px 0}.frame-fieldset legend{font-weight:700}
.frame-fieldset summary{font-weight:700;cursor:pointer;padding:10px 0}.frame-fieldset summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#frame-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:10px}
.frame-choice{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 8px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:inherit;cursor:pointer}
.frame-choice[aria-pressed=true]{border:2px solid var(--accent);padding:15px 7px}.frame-choice:disabled{cursor:not-allowed}.frame-choice:disabled small{color:var(--muted)}.frame-choice span:not(.portrait){font-size:13px;font-weight:700}.frame-choice small{font-size:11px}.frame-choice:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
/* Square portraits by default; the top-three podium supplies its circular shape. */
.profile-avatar{border-radius:0}
/* Keep the entire portrait area for the image; draw the frame outside it. */
html .profile-avatar[data-frame]{border:0;background:transparent;overflow:visible;box-shadow:none}
.profile-avatar>img{border-radius:inherit}
.profile-avatar[data-frame]:not([data-frame=none])::after{content:'';position:absolute;inset:calc(-1 * var(--frame-width,2px));border:var(--frame-width,2px) var(--frame-style,solid) var(--frame-color);border-radius:inherit;pointer-events:none}
.profile-avatar[data-frame=joestar]{--frame-color:#9556bb}
html .profile-avatar[data-frame=zeppeli]{--frame-color:#b35335;--frame-style:dashed}
html .profile-avatar[data-frame=passione]{--frame-color:#b74780;--frame-style:double;--frame-width:4px}
html .profile-avatar[data-frame=crusader]{--frame-color:#41678c;--frame-width:3px}
html .profile-avatar[data-frame=stone-ocean]{--frame-color:#328363;--frame-style:dotted;--frame-width:3px}
html .profile-avatar[data-frame=requiem]{--frame-color:#b58929;--frame-style:double;--frame-width:5px}
html[data-theme=dark] .profile-avatar[data-frame=joestar]{--frame-color:#c68beb}html[data-theme=dark] .profile-avatar[data-frame=zeppeli]{--frame-color:#f29a77}html[data-theme=dark] .profile-avatar[data-frame=passione]{--frame-color:#ef8bb8}html[data-theme=dark] .profile-avatar[data-frame=crusader]{--frame-color:#91b9e0}html[data-theme=dark] .profile-avatar[data-frame=stone-ocean]{--frame-color:#7bcba7}html[data-theme=dark] .profile-avatar[data-frame=requiem]{--frame-color:#ecc76d}
.game-selector a{display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:700;color:inherit;text-decoration:none;border-bottom:3px solid transparent;padding:6px 0}.game-selector a small{font-size:11px;font-weight:400;color:var(--muted)}.game-selector a:hover,.game-selector a[aria-current=page]{color:var(--accent);border-bottom-color:var(--accent)}.game-selector a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}@media(max-width:480px){.game-selector{gap:20px}.game-selector a{gap:4px;flex-wrap:wrap}.game-selector a small{font-size:10px}}
.beta-tag{display:inline-block;padding:2px 5px;border:1px solid currentColor;color:var(--accent);font:700 10px/1.2 'DM Sans',sans-serif;letter-spacing:.04em;vertical-align:middle;text-transform:uppercase}.beta-note{font-size:12px!important;color:var(--muted);margin:10px 0!important}.beta-note a{color:var(--accent);text-underline-offset:3px}


/* Header house access and one-shot Narancia secret reveal. */
header nav{flex-wrap:wrap}header nav #open-house{white-space:nowrap}
@media(min-width:851px) and (max-width:1150px){header{grid-template-columns:1fr auto}.display-settings{grid-column:2}header nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:20px}}
.secret-narancia{position:absolute;left:24px;bottom:110px;width:115px;height:145px;animation:narancia-secret-pop 4.5s ease both}
.secret-narancia>img{display:block;width:100%;height:100%;object-fit:contain}
.secret-narancia>.secret-plane{position:absolute;left:86px;top:-30px;width:70px;height:88px;transform:rotate(-14deg)}
@keyframes narancia-secret-pop{0%{transform:translateY(260px);opacity:0}14%{transform:translateY(-24px);opacity:1}22%{transform:translateY(0) scale(1.08,.92)}30%,85%{transform:translateY(0) scale(1)}100%{transform:translateY(260px);opacity:0}}
@media(prefers-reduced-motion:reduce){.secret-narancia{animation:none;transform:none}}

/* Hidden achievement rewards keep their requirement visible. */
.reward-mystery{display:inline-grid;place-items:center;width:36px;height:36px;flex:none;border:1px dashed var(--muted);color:var(--ink);font-size:26px;font-weight:800;line-height:1;background:var(--panel)}
.frame-choice .reward-mystery{width:48px;height:48px;font-size:32px!important}.reward-list .reward-mystery{width:24px;height:24px;font-size:20px}.badge-choice:disabled:has(.reward-mystery){opacity:1}.badge-choice:disabled:has(.reward-mystery) .badge-requirement{color:var(--muted)}
html .profile-avatar[data-frame=johnny-stars]{--frame-color:#c14988;--frame-width:3px}
.profile-avatar[data-frame=johnny-stars]::before{content:'\2605';position:absolute;z-index:1;right:-9px;top:-12px;font-size:17px;color:var(--frame-color);line-height:1;text-shadow:1px 1px var(--panel),-1px -1px var(--panel)}
html .profile-avatar[data-frame=tusk-armor]{--frame-color:#8954b0;--frame-style:double;--frame-width:5px}
html .profile-avatar[data-frame=scary-monsters]{--frame-color:#387c51;--frame-style:dashed;--frame-width:3px}
html[data-theme=dark] .profile-avatar[data-frame=johnny-stars]{--frame-color:#f397c1}html[data-theme=dark] .profile-avatar[data-frame=tusk-armor]{--frame-color:#c69ce8}html[data-theme=dark] .profile-avatar[data-frame=scary-monsters]{--frame-color:#88d49a}

/* Companions decorate the portrait perimeter. */
.avatar-pair{display:inline-flex;align-items:flex-end;justify-content:center;gap:4px;flex-shrink:0;vertical-align:middle}.stand-companion{display:block;width:32px;height:40px;object-fit:contain;flex-shrink:0}.standings .stand-companion{width:24px;height:30px}.ranking-place .stand-companion{width:30px;height:38px}.ranking-place .avatar-stack:has(.has-companion){padding:0 0 23px}.ranking-place .has-companion .profile-avatar{flex-shrink:0}
.player-identity .player-honor{color:var(--accent);font-size:11px;font-weight:700;line-height:1.35;border-left:2px solid var(--accent);padding-left:6px}.ranking-place .player-honor{border-left:0;padding-left:0}
.companion-picker{margin:22px 0}.companion-picker summary{font-weight:700;cursor:pointer}#companion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.companion-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:105px;padding:10px 5px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:inherit;font-size:12px;cursor:pointer}.companion-choice .stand-companion{width:52px;height:60px}.companion-none{height:60px;display:grid;place-items:center}.companion-choice[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:-2px}.companion-choice:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:480px){.standings .avatar-pair{gap:2px}.standings .stand-companion{width:18px;height:25px}.ranking-place .stand-companion{width:22px;height:30px}.ranking-place .avatar-pair{gap:3px}.player-identity .player-honor{font-size:10px}#companion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.avatar-pair{position:relative;gap:0!important}.avatar-pair.has-companion{padding:10px}.companion-orbit{position:absolute;inset:10px;pointer-events:none;z-index:2}.companion-orbit>.stand-companion{position:absolute;width:48%;height:64%;right:-18%;bottom:-15%;object-fit:contain}.avatar-pair[data-companion=aerosmith] .stand-companion,.avatar-pair[data-companion=echoes-act1] .stand-companion{top:-20%;left:-20%;bottom:auto;right:auto}.avatar-pair[data-companion=hey-ya] .stand-companion{right:-18%;top:-18%;bottom:auto}.pistol-member{position:absolute;width:31%;height:36%;overflow:hidden;transform:translate(-50%,-50%)}.pistol-member:nth-child(1){left:100%;top:28%}.pistol-member:nth-child(2){left:100%;top:80%}.pistol-member:nth-child(3){left:50%;top:0}.pistol-member:nth-child(4){left:0;top:78%}.pistol-member:nth-child(5){left:0;top:22%}.pistol-member:nth-child(6){left:50%;top:100%}.ranking-place .avatar-stack:has(.has-companion){padding:0 0 16px}.ranking-place .avatar-stack:has(.has-companion)>.badge-image{right:0;bottom:-4px}

/* Recognizable frame details, with the portrait itself kept clear. */
.profile-avatar .frame-detail{position:absolute;pointer-events:none;z-index:2;left:-16%;top:-22%;width:48%;height:48%;display:block;border-radius:0;overflow:visible}
.profile-avatar .frame-detail img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
.profile-avatar[data-frame=zeppeli] .frame-detail{left:-8%;top:-22%;width:116%;height:32%}
.profile-avatar[data-frame=requiem] .frame-detail{left:-18%;top:28%;width:36%;height:82%;transform:rotate(-18deg)}
.profile-avatar[data-frame=johnny-stars]::before{content:'\2605  \2605';top:auto;bottom:-12%;left:0;right:0;width:100%;text-align:center;white-space:pre;font-size:clamp(8px,1vw,15px);letter-spacing:0;word-spacing:.8em}
.profile-avatar[data-frame=johnny-stars] .frame-detail{width:65%;height:48%;top:-29%;left:50%;transform:translateX(-50%)}
.profile-avatar[data-frame=tusk-armor] .frame-detail{width:52%;height:68%;left:-25%;top:-25%}
.profile-avatar[data-frame=scary-monsters] .frame-detail{width:48%;height:78%;left:-34%;top:-32%}
html .profile-avatar[data-frame=scary-monsters]{--frame-color:#318ba7;--frame-style:double;--frame-width:4px}
html[data-theme=dark] .profile-avatar[data-frame=scary-monsters]{--frame-color:#83d8ed}
.avatar-pair:has(.frame-detail){margin:7px 6px}
.frame-choice:has(.frame-detail){padding-top:18px}
.companion-orbit[data-count='5'] .pistol-member:nth-child(1){left:95%;top:15%}
.companion-orbit[data-count='5'] .pistol-member:nth-child(2){left:98%;top:85%}
.companion-orbit[data-count='5'] .pistol-member:nth-child(3){left:42%;top:100%}
.companion-orbit[data-count='5'] .pistol-member:nth-child(4){left:0;top:58%}
.companion-orbit[data-count='5'] .pistol-member:nth-child(5){left:22%;top:0}
.companion-orbit[data-count='4'] .pistol-member:nth-child(1){left:100%;top:25%}
.companion-orbit[data-count='4'] .pistol-member:nth-child(2){left:75%;top:100%}
.companion-orbit[data-count='4'] .pistol-member:nth-child(3){left:0;top:75%}
.companion-orbit[data-count='4'] .pistol-member:nth-child(4){left:25%;top:0}

.portrait-tools{grid-template-columns:minmax(0,1fr) 125px 100px}.portrait-tools input,.portrait-tools select{min-width:0;width:100%}@media(max-width:480px){.portrait-tools{grid-template-columns:minmax(0,1fr) 90px}.portrait-tools label:first-child{grid-column:1/-1}}
.companion-tools{display:grid;grid-template-columns:minmax(0,1fr) 95px;gap:12px;margin-top:14px}.companion-tools label{min-width:0;font-size:12px;font-weight:700}.companion-tools input,.companion-tools select{width:100%;min-height:42px;box-sizing:border-box;margin-top:5px}#companion-grid{max-height:380px;overflow-y:auto;overscroll-behavior:contain;padding:3px}.companion-choice .stand-companion{object-fit:contain}.companion-orbit[data-layout=tall]>.stand-companion{width:43%;height:78%;right:-24%;bottom:-12%}.companion-orbit[data-layout=wide]>.stand-companion{width:63%;height:45%;right:-19%;bottom:-18%}.companion-orbit>.colony-member{object-fit:contain}.companion-orbit[data-layout=tall]:has(.colony-member) .colony-member{width:28%;height:32%}

.secret-clues{margin:12px 0;padding:10px 0;border-top:1px solid var(--line);font-size:.95rem}
.secret-clues summary{cursor:pointer;font-weight:700;color:var(--accent)}
.secret-clues ul{padding-left:20px;margin:10px 0}
.secret-clues li+li{margin-top:12px}
.secret-clues p{margin:4px 0;line-height:1.45}
.secret-clues[hidden]{display:none}

.partial,.example-partial{background:#f2d477;color:#493608}
html[data-theme=dark] .partial,html[data-theme=dark] .example-partial{background:#bfa048;color:#201902}

.support-tip{display:block;margin-top:12px}.support-tip a{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--accent);font-size:13px;font-weight:700;text-underline-offset:3px}.support-tip a img{flex:none;object-fit:contain}.support-tip>span{display:block;margin-top:3px;font-size:11px;line-height:1.5;color:inherit}.support-tip a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Community links stay below play and use the existing theme. */
.community-links{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px 24px;margin:20px 0;padding:14px 0;border-top:1px solid currentColor}.community-links details{flex:1;min-width:210px}.community-links summary{cursor:pointer;font-weight:700}.community-links p{max-width:70ch;line-height:1.5;margin:10px 0}.community-links a:focus-visible{outline:2px solid currentColor;outline-offset:4px}#pixel-discord{display:inline-block;margin:8px 0}#pixel-discord[hidden]{display:none}
/* Shared banner, shown in profile previews and every leaderboard. */
.player-identity .identity-copy{min-width:0;overflow-wrap:anywhere}
#banner-picker{display:flex;gap:8px;flex-wrap:wrap}.banner-choice{padding:10px 14px;background:var(--panel,var(--bg));color:var(--ink);border:1px solid var(--line);font:inherit}.banner-choice[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:1px}
.banner-choice small{display:block;margin-top:4px;font-size:12px}.banner-choice:disabled{opacity:.65;cursor:not-allowed}
.banner-progression{margin:12px 0 16px;padding-bottom:12px;border-bottom:1px solid var(--line)}.banner-progression label{display:block;font-weight:700;overflow-wrap:anywhere}.banner-progression progress{display:block;width:100%;height:10px;margin:10px 0;appearance:none;border:1px solid var(--line);background:var(--panel,var(--bg));color:var(--accent)}.banner-progression progress::-webkit-progress-bar{background:var(--panel,var(--bg))}.banner-progression progress::-webkit-progress-value{background:var(--accent)}.banner-progression progress::-moz-progress-bar{background:var(--accent)}.banner-progression p{margin:0}
#account-button .player-identity,#pixel-profile .player-identity{gap:12px;text-align:left}
#account-button .profile-avatar,#pixel-profile .profile-avatar{width:44px;height:44px}
#account-button .badge-image{width:24px;height:24px}
#account-button,#pixel-profile{flex-shrink:0;max-width:100%}header nav{min-width:0}#account-button .player-identity{max-width:100%}

html .ranking-rest tbody tr>td{padding-top:10px;padding-bottom:10px}

.sbr-release{max-width:1120px;margin:14px auto 0;padding:10px 14px;border-left:3px solid var(--accent);background:var(--panel);color:var(--ink);font-size:13px;line-height:1.5;display:flex;gap:12px;align-items:baseline}.sbr-release strong{white-space:nowrap}.sbr-release code{font-weight:800;color:var(--accent);font-size:14px}@media(max-width:700px){.sbr-release{margin:10px 12px 0;display:block}.sbr-release strong{display:block;margin-bottom:3px}}

.sbr-challenge{max-width:1120px;margin:10px auto;padding:10px 14px;border-left:3px solid var(--accent);font-size:13px;line-height:1.5;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sbr-challenge>span:first-of-type{flex:1;min-width:220px}#sbr-progress{font-weight:700}
@media(max-width:700px){.sbr-challenge{margin:10px 12px}}

.game-selector{flex-wrap:wrap}.game-selector a[href='/stand-user.html']{white-space:nowrap}

html body .player-identity .player-title[data-title="discord-linked"][data-title="discord-linked"]{color:#9364e8!important;background:transparent!important;width:fit-content;padding:0;text-shadow:0 0 5px #9877ff,0 0 10px #7952cc!important}
@media(prefers-reduced-motion:reduce){html body .player-identity .player-title[data-title="discord-linked"][data-title="discord-linked"]{text-shadow:none!important}}

.invite-notice{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.invite-notice span{flex:1;min-width:200px}
#invite-dialog{width:min(620px,calc(100vw - 32px));max-height:85vh;overflow-y:auto;box-sizing:border-box}
#invite-dialog p,#invite-dialog li{line-height:1.5}#invite-dialog details{margin:16px 0}#invite-dialog summary{cursor:pointer}
#invite-dialog table{width:100%;border-collapse:collapse}#invite-dialog th,#invite-dialog td{text-align:left;padding:10px 6px;border-bottom:1px solid var(--line)}
#invite-dialog th:last-child,#invite-dialog td:last-child{text-align:right}#invite-link{width:100%;box-sizing:border-box;margin:8px 0}
#invite-recruit{border-left:3px solid #9364e8;padding-left:14px;margin:16px 0}#invite-phase{color:#9364e8;font-weight:700}

html .profile-avatar[data-frame=killer-queen]{--frame-color:#9675ad;--frame-width:5px;--frame-style:double}
.profile-avatar[data-frame=killer-queen] .frame-detail{left:35%;top:-21%;width:30%;height:30%;background:#3a2048;border:1px solid #dcc780}
html .profile-avatar[data-frame=king-crimson]{--frame-color:#bb4b6a;--frame-width:3px}
.profile-avatar[data-frame=king-crimson] .frame-detail{inset:-8%;width:116%;height:116%;border-radius:inherit}
.ranking-place .profile-avatar[data-frame=king-crimson] .frame-detail{border:2px dashed #e8b5c4;box-sizing:border-box}.ranking-place .profile-avatar[data-frame=king-crimson] .frame-detail img{display:none}
html .profile-avatar[data-frame=the-world]{--frame-color:#b98c28;--frame-width:5px;--frame-style:double}
.profile-avatar[data-frame=the-world] .frame-detail{left:35%;top:-22%;width:30%;height:30%}
html .profile-avatar[data-frame=sticky-fingers]{--frame-color:#438ac0;--frame-width:4px;--frame-style:dashed}
.profile-avatar[data-frame=sticky-fingers] .frame-detail{left:40%;top:-18%;width:20%;height:36%}
html .profile-avatar[data-frame=soft-wet]{--frame-color:#7187bd;--frame-width:5px;--frame-style:double}
.profile-avatar[data-frame=soft-wet] .frame-detail{left:35%;top:-24%;width:30%;height:30%}
html[data-theme=dark] .profile-avatar[data-frame=killer-queen]{--frame-color:#ceafe4}html[data-theme=dark] .profile-avatar[data-frame=king-crimson]{--frame-color:#ee8eaa}html[data-theme=dark] .profile-avatar[data-frame=the-world]{--frame-color:#e8c864}html[data-theme=dark] .profile-avatar[data-frame=sticky-fingers]{--frame-color:#8dc3e9}html[data-theme=dark] .profile-avatar[data-frame=soft-wet]{--frame-color:#b4c4ec}

.profile-avatar[data-frame=crazy-diamond]{--frame-color:#e49ca4;--frame-width:5px}.profile-avatar[data-frame=star-platinum]{--frame-color:#6c5c74;--frame-width:5px}
.profile-avatar[data-frame=crazy-diamond] .frame-detail,.profile-avatar[data-frame=star-platinum] .frame-detail{left:29%;top:-30%;width:42%;height:42%}
html[data-theme=dark] .profile-avatar[data-frame=star-platinum]{--frame-color:#a48cc0}
/* Every banner uses the Diego layout; only artwork, palette and motif vary. */
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="secret-continued"]){--banner-bg:#fff;--banner-ink:#171717;--banner-border:#aaa;--banner-image:url("banners/continued.svg");--banner-row:url("banners/continued.svg");--banner-pattern:none;--banner-pattern-size:80px 80px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="king-crimson"]){--banner-bg:#30141f;--banner-ink:#fff3f2;--banner-border:#925267;--banner-image:url("banners/king-crimson.svg");--banner-row:url("banners/king-crimson.svg");--banner-pattern:url("banners/king-crimson-pattern.svg");--banner-pattern-size:76px 76px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="killer-queen"]){--banner-bg:#3a2048;--banner-ink:#fff;--banner-border:#dcc780;--banner-image:url("banners/killer-queen.svg");--banner-row:url("banners/killer-queen-row.svg");--banner-pattern:url("banners/killer-queen-tile.svg");--banner-pattern-size:300px 100px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="the-world"]){--banner-bg:#211e17;--banner-ink:#fff;--banner-border:#edd071;--banner-image:url("banners/the-world.svg");--banner-row:url("banners/the-world-row.svg");--banner-pattern:url("banners/the-world-tile.svg");--banner-pattern-size:300px 100px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="scary-monsters"]){--banner-bg:#122e33;--banner-ink:#fff;--banner-border:#ddce72;--banner-image:url("banners/scary-monsters.svg");--banner-row:url("banners/scary-monsters-row.svg");--banner-pattern:url("banners/scary-monsters-tile.svg");--banner-pattern-size:69px 93px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-johnny"]){--banner-bg:#edf5fc;--banner-ink:#171717;--banner-border:#9baec1;--banner-image:url("banners/sbr-johnny.webp");--banner-row:url("banners/sbr-johnny.webp");--banner-pattern:url("banners/sbr-johnny-pattern.svg");--banner-pattern-size:96px 96px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-gyro"]){--banner-bg:#eaeedb;--banner-ink:#171717;--banner-border:#a8ac89;--banner-image:url("banners/sbr-gyro.webp");--banner-row:url("banners/sbr-gyro.webp");--banner-pattern:url("banners/sbr-gyro-pattern.svg");--banner-pattern-size:96px 96px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="secret-crazy-diamond"]){--banner-bg:#c4ecf4;--banner-ink:#171717;--banner-border:#6494c4;--banner-image:url("banners/crazy-diamond.webp");--banner-row:url("banners/crazy-diamond-podium.svg");--banner-preview-size:auto 62px;--banner-pattern:url("banners/crazy-diamond-pattern.svg");--banner-pattern-size:180px 150px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="gold-experience"]){--banner-bg:#fff0c6;--banner-ink:#251f30;--banner-border:#a3833d;--banner-image:url("banners/gold-experience.svg");--banner-row:url("banners/gold-experience.svg");--banner-preview-size:auto 62px;--banner-pattern:url("banners/gold-experience-pattern.svg");--banner-pattern-size:180px 150px;--banner-panel:url("banners/gold-experience-panel.svg")}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="gold-experience-requiem"]){--banner-bg:#33213e;--banner-ink:#fff4d6;--banner-border:#caa153;--banner-image:url("banners/gold-experience-requiem.svg");--banner-row:url("banners/gold-experience-requiem.svg");--banner-preview-size:auto 62px;--banner-pattern:url("banners/gold-experience-requiem-pattern.svg");--banner-pattern-size:180px 150px;--banner-panel:url("banners/gold-experience-requiem-panel.svg")}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sticky-fingers"]){--banner-bg:#d9eaf5;--banner-ink:#162945;--banner-border:#6284a4;--banner-image:url("banners/sticky-fingers.svg");--banner-row:url("banners/sticky-fingers.svg");--banner-preview-size:auto 62px;--banner-pattern:url("banners/sticky-fingers-pattern.svg");--banner-pattern-size:180px 150px;--banner-panel:url("banners/sticky-fingers-panel.svg")}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="silver-chariot"]){--banner-bg:#dce7ec;--banner-ink:#192f39;--banner-border:#6c919c;--banner-image:url("banners/silver-chariot.webp");--banner-row:var(--banner-image);--banner-preview-size:auto 62px;--banner-pattern:url("banners/silver-chariot-pattern.svg");--banner-pattern-size:96px 64px;--banner-panel:url("banners/silver-chariot-panel.svg")}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="chariot-requiem"]){--banner-bg:#40354f;--banner-ink:#f0e9fa;--banner-border:#a194bd;--banner-image:url("banners/chariot-requiem.webp");--banner-row:var(--banner-image);--banner-preview-size:auto 62px;--banner-pattern:url("banners/chariot-requiem-pattern.svg");--banner-pattern-size:180px 144px;--banner-panel:url("banners/chariot-requiem-panel.svg")}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="secret-star-platinum"]){--banner-bg:#090504;--banner-ink:#f4eef8;--banner-border:#480878;--banner-image:url("banners/star-platinum.webp");--banner-row:url("banners/star-platinum.webp");--banner-podium-image:url("banners/star-platinum-podium.webp");--banner-pattern:url("banners/star-platinum-pattern.svg");--banner-pattern-size:220px 180px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="requiem-arrow"]){--banner-bg:#f6ecc9;--banner-ink:#171717;--banner-border:#ccac4c;--banner-image:url("banners/requiem-arrow.webp");--banner-row:url("banners/requiem-arrow.webp");--banner-pattern:url("banners/requiem-arrow-pattern.svg");--banner-pattern-size:80px 80px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-diego"]){--banner-bg:#e1f1ec;--banner-ink:#171717;--banner-border:#8faca4;--banner-image:url("banners/sbr-diego.webp");--banner-row:url("banners/sbr-diego.webp");--banner-pattern:url("banners/sbr-diego-pattern.svg");--banner-pattern-size:80px 80px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-pocoloco"]){--banner-bg:#fff0cb;--banner-ink:#171717;--banner-border:#c0ab78;--banner-image:url("banners/sbr-pocoloco.webp");--banner-row:url("banners/sbr-pocoloco.webp");--banner-pattern:url("banners/sbr-pocoloco-pattern.svg");--banner-pattern-size:96px 96px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-sandman"]){--banner-bg:#f3e0d4;--banner-ink:#171717;--banner-border:#b99882;--banner-image:url("banners/sbr-sandman.webp");--banner-row:url("banners/sbr-sandman.webp");--banner-pattern:url("banners/sbr-sandman-pattern.svg");--banner-pattern-size:96px 96px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-mountain-tim"]){--banner-bg:#eeeaf3;--banner-ink:#171717;--banner-border:#a99fba;--banner-image:url("banners/sbr-mountain-tim.webp");--banner-row:url("banners/sbr-mountain-tim.webp");--banner-pattern:url("banners/sbr-mountain-tim-pattern.svg");--banner-pattern-size:96px 96px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-johnny-gyro"]){--banner-bg:#e9eaf2;--banner-ink:#171717;--banner-border:#9b9db5;--banner-image:url("banners/sbr-johnny-gyro.webp");--banner-row:url("banners/sbr-johnny-gyro.webp");--banner-pattern:url("banners/sbr-johnny-gyro-pattern.svg");--banner-pattern-size:96px 96px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-race-challenge"]){--banner-bg:#171e42;--banner-ink:#fff;--banner-border:#596587;--banner-image:url("banners/sbr-race-challenge.webp");--banner-row:url("banners/sbr-race-challenge.webp");--banner-pattern:url("banners/sbr-race-sky.svg");--banner-pattern-size:220px 240px}

.player-identity .identity-banner{position:relative;flex:1;min-width:130px;min-height:105px;box-sizing:border-box;padding:8px 10px 62px;overflow:hidden;border:1px solid var(--banner-border);color:var(--banner-ink);background-color:var(--banner-bg);background-image:var(--banner-row),var(--banner-pattern);background-position:right bottom,left top;background-size:var(--banner-preview-size,auto 100%),var(--banner-pattern-size);background-repeat:no-repeat,repeat;text-align:left}
.identity-banner>strong,.identity-banner>.player-title:not([data-title="discord-linked"]),.identity-banner>.player-honor{position:relative;display:block;color:var(--banner-ink)!important;line-height:1.3;text-shadow:none}
.identity-banner-art{display:none}
#account-button .identity-banner,#pixel-profile .identity-banner{width:220px;min-width:0;min-height:92px;padding-bottom:54px;font-size:13px}
.ranking-place:has(.identity-banner){position:relative;isolation:isolate;overflow:hidden;padding:6px 6px 90px;border:1px solid var(--banner-border);color:var(--banner-ink);background:var(--banner-bg)!important;text-shadow:none}
.ranking-place:has(.identity-banner)::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-color:var(--banner-bg);background-image:var(--banner-podium-image,var(--banner-image)),var(--banner-pattern);background-position:right bottom,left top;background-size:var(--banner-podium-size,auto 92px),var(--banner-pattern-size);background-repeat:no-repeat,repeat;opacity:1}
.ranking-place:has(.identity-banner)::after{content:none}
.ranking-place:has(.identity-banner) .ranking-pedestal{min-height:104px;color:var(--banner-ink);background:transparent;border:0;border-top:2px solid var(--medal)}
.ranking-place.place-1:has(.identity-banner) .ranking-pedestal{min-height:145px}
.ranking-place.place-2:has(.identity-banner) .ranking-pedestal{min-height:118px}
.ranking-rest tr:has(.identity-banner){background-color:var(--banner-bg)!important;background-image:var(--banner-pattern)!important;background-position:left top!important;background-size:var(--banner-pattern-size)!important;background-repeat:repeat!important}
.ranking-rest tr:has(.identity-banner)::before,.ranking-rest tr:has(.identity-banner)::after{content:none}
html .ranking-rest tr:has(.identity-banner)>td{padding-top:10px;padding-bottom:10px;background:transparent!important;color:var(--banner-ink);text-shadow:none}
/* Keep character artwork in the player column; the motif continues behind scores. */
html .ranking-rest tr:has(.identity-banner)>td:nth-child(2){background-image:var(--banner-row)!important;background-position:var(--banner-row-position,right center)!important;background-size:var(--banner-row-size,auto 100%)!important;background-repeat:no-repeat!important}
html .ranking-rest tr:has(.identity-banner)>td:last-child{font-weight:700;text-shadow:1px 0 var(--banner-bg),-1px 0 var(--banner-bg),0 1px var(--banner-bg),0 -1px var(--banner-bg)}
html .ranking-rest tr:has(.identity-banner)>td:last-child .ranking-detail{text-shadow:inherit}
.ranking-rest .player-identity .identity-banner,.ranking-place .player-identity .identity-banner{min-height:0;min-width:0;width:100%;padding:0;margin:0;border:0;background:transparent;overflow:visible}
.ranking-rest tr:has(.identity-banner) :is(strong,small,.ranking-detail):not([data-title="discord-linked"]),.ranking-place:has(.identity-banner) .player-honor{color:var(--banner-ink)!important;text-shadow:none;background:none}
@media(max-width:480px){.ranking-place:has(.identity-banner){padding:5px 3px 65px}.ranking-place:has(.identity-banner)::before{background-size:var(--banner-podium-size,auto 65px),var(--banner-pattern-size)}.ranking-rest .player-identity{gap:7px}#account-button .identity-banner,#pixel-profile .identity-banner{width:180px}}

/* Star Platinum sits in the left corner of a full-width bottom strip. */
.ranking-place:has([data-banner="secret-star-platinum"])::before{background-color:#25192f;background-image:url("banners/star-platinum-podium.svg"),var(--banner-pattern),url("banners/star-platinum-panel.svg");background-position:left bottom,left top,center bottom;background-size:auto 92px,var(--banner-pattern-size),100% 92px;background-repeat:no-repeat,repeat,no-repeat}
.ranking-place:has([data-banner="secret-star-platinum"])::after{content:"";position:absolute;inset:auto 0 0;height:92px;box-sizing:border-box;border-top:2px solid #936ac1;border-bottom:4px solid var(--banner-border);pointer-events:none}
@media(max-width:480px){.ranking-place:has([data-banner="secret-star-platinum"])::before{background-size:auto 65px,var(--banner-pattern-size),100% 65px}.ranking-place:has([data-banner="secret-star-platinum"])::after{height:65px;border-bottom-width:3px}}
/* Crazy Diamond keeps the shared artwork separate from the full-width hearts. */
html .ranking-rest tr:has([data-banner="secret-crazy-diamond"])>td:nth-child(2){padding-right:86px;background-position:right bottom!important;background-size:auto 64px!important}
html .ranking-rest tr:has([data-banner="gold-experience"],[data-banner="gold-experience-requiem"],[data-banner="silver-chariot"],[data-banner="chariot-requiem"],[data-banner="sticky-fingers"])>td:nth-child(2){padding-right:86px;background-position:right bottom!important;background-size:auto 64px!important}
html .ranking-rest tr:has([data-banner="sticky-fingers"])>td:nth-child(2){height:84px;padding-right:100px;background-size:auto 84px!important}
@media(max-width:650px){html .ranking-rest tr:has(.identity-banner)>td:nth-child(2){padding-right:4px;padding-bottom:42px;background-position:right bottom!important;background-size:auto 36px!important}html .ranking-rest tr:has(.identity-banner) .identity-banner{font-size:14px}}
@media(max-width:650px){html .ranking-rest tr:has([data-banner="sticky-fingers"])>td:nth-child(2){height:auto;padding-bottom:58px;background-size:auto 52px!important}}
@media(max-width:650px){html .ranking-rest tr:has([data-banner="silver-chariot"],[data-banner="chariot-requiem"])>td:nth-child(2){padding-bottom:58px;background-size:auto 52px!important}}
.ranking-place:has([data-banner="secret-crazy-diamond"])::before{background-image:url("banners/crazy-diamond-podium.svg"),url("banners/crazy-diamond-panel.svg"),var(--banner-pattern);background-position:left bottom,center bottom,left top;background-size:auto 92px,100% 92px,var(--banner-pattern-size);background-repeat:no-repeat,no-repeat,repeat}
.ranking-place:has([data-banner="secret-crazy-diamond"])::after{content:"";position:absolute;inset:auto 0 0;height:92px;box-sizing:border-box;border-top:2px solid var(--banner-border);border-bottom:4px solid var(--banner-border);pointer-events:none}
@media(max-width:480px){.ranking-place:has([data-banner="secret-crazy-diamond"])::before{background-size:auto 65px,100% 65px,var(--banner-pattern-size)}.ranking-place:has([data-banner="secret-crazy-diamond"])::after{height:65px;border-bottom-width:3px}}
.ranking-place:has([data-banner="gold-experience"],[data-banner="gold-experience-requiem"],[data-banner="silver-chariot"],[data-banner="chariot-requiem"],[data-banner="sticky-fingers"])::before{background-image:var(--banner-image),var(--banner-panel),var(--banner-pattern);background-position:left bottom,center bottom,left top;background-size:auto 92px,100% 92px,var(--banner-pattern-size);background-repeat:no-repeat,no-repeat,repeat}
.ranking-place:has([data-banner="gold-experience"],[data-banner="gold-experience-requiem"],[data-banner="silver-chariot"],[data-banner="chariot-requiem"],[data-banner="sticky-fingers"])::after{content:"";position:absolute;inset:auto 0 0;height:92px;box-sizing:border-box;border-top:2px solid var(--banner-border);border-bottom:4px solid var(--banner-border);pointer-events:none}
@media(max-width:480px){.ranking-place:has([data-banner="gold-experience"],[data-banner="gold-experience-requiem"],[data-banner="silver-chariot"],[data-banner="chariot-requiem"],[data-banner="sticky-fingers"])::before{background-size:auto 65px,100% 65px,var(--banner-pattern-size)}.ranking-place:has([data-banner="gold-experience"],[data-banner="gold-experience-requiem"],[data-banner="silver-chariot"],[data-banner="chariot-requiem"],[data-banner="sticky-fingers"])::after{height:65px;border-bottom-width:3px}}
.ranking-place:has([data-banner="gold-experience-requiem"])::after{border-bottom:0}
/* Fit the two-person composition without cropping either rider. */
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-johnny-gyro"]){--banner-podium-image:url("banners/sbr-johnny-gyro-podium.svg");--banner-podium-size:100% auto}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="secret-continued"]){--banner-preview-size:auto 62px}
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="sbr-race-challenge"]){--banner-row-size:cover;--banner-row-position:right top}

/* Keep the dinosaur proportional over a panel spanning the whole podium. */
.ranking-place:has([data-banner="scary-monsters"])::before{background-image:url("banners/scary-monsters-podium.svg"),url("banners/scary-monsters-dio.svg"),url("banners/scary-monsters-panel.svg"),var(--banner-pattern);background-position:right -12px bottom,left bottom,center bottom,left top;background-size:auto 92px,auto 92px,100% 92px,var(--banner-pattern-size);background-repeat:no-repeat,no-repeat,no-repeat,repeat}
@media(max-width:480px){.ranking-place:has([data-banner="scary-monsters"])::before{background-position:right -8px bottom,left 0 bottom 13px,center bottom,left top;background-size:auto 65px,auto 52px,100% 65px,var(--banner-pattern-size)}}

/* Full-width podium panels retain each banner's original motif beside its character. */
.ranking-place:has([data-banner="the-world"]){--podium-character:url("banners/the-world-podium.svg");--podium-detail:url("banners/the-world-clock.svg");--podium-panel:url("banners/the-world-panel.svg")}
.ranking-place:has([data-banner="killer-queen"]){--podium-character:url("banners/killer-queen-podium.svg");--podium-detail:url("banners/killer-queen-skull.svg");--podium-panel:url("banners/killer-queen-panel.svg")}
.ranking-place:has([data-banner="king-crimson"]){--podium-character:url("banners/king-crimson-podium.svg");--podium-detail:none;--podium-panel:url("banners/king-crimson-panel.svg")}
.ranking-place:has([data-banner="the-world"],[data-banner="killer-queen"],[data-banner="king-crimson"])::before{background-image:var(--podium-character),var(--podium-detail),var(--podium-panel),var(--banner-pattern);background-position:right -10px bottom,left bottom,center bottom,left top;background-size:auto 92px,auto 92px,100% 92px,var(--banner-pattern-size);background-repeat:no-repeat,no-repeat,no-repeat,repeat}
@media(max-width:480px){.ranking-place:has([data-banner="the-world"],[data-banner="killer-queen"],[data-banner="king-crimson"])::before{background-position:right -7px bottom,left bottom,center bottom,left top;background-size:auto 65px,auto 65px,100% 65px,var(--banner-pattern-size)}}

/* Mobile clue comparison keeps the guessed name beside each visible clue. */
.clue-scroll-hint{display:none}
@media(max-width:650px){
 .game:has(#guesses tr) .clue-scroll-hint{display:block;margin:0 0 8px;color:var(--muted);font-size:12px}
 .game .table-scroll{margin:0;padding:0;max-width:100%;overscroll-behavior-x:contain;scroll-padding-left:0}
 .game .table-scroll table{min-width:780px;border-spacing:4px 6px}
 .game .table-scroll thead th:first-child{width:146px;position:static;background:#f6f2ea}
 .game .table-scroll th.name-cell{position:static;width:146px;padding:8px;font-size:13px;border-right:2px solid var(--line)}
 .game .table-scroll .name-cell .portrait{width:38px;height:38px;margin-right:7px}
 .game .table-scroll .character-name{min-height:38px;overflow-wrap:anywhere}
 .game .table-scroll .name-part{font-size:10px}
 .game .table-scroll td{font-size:13px;padding:10px 6px;overflow-wrap:anywhere}
 html[data-theme=dark] .game .table-scroll thead th:first-child{background:#211f27}
}
/* Native selects and previews must shrink with the profile dialog. */
#account-dialog :is(form,section,details,fieldset,.reward-selects label,.portrait-tools label,.companion-tools label){min-width:0}
#account-dialog :is(input,select,textarea){max-width:100%;box-sizing:border-box}
#account-dialog select{font-size:16px;min-height:44px}
#account-dialog :is(summary,.banner-choice,.frame-choice){overflow-wrap:anywhere}
#profile-preview .identity-banner{min-width:0;max-width:100%}
@media(max-width:480px){
 #account-dialog{width:calc(100% - 24px);max-height:90dvh;padding:20px}
 #account-dialog .reward-selects{grid-template-columns:minmax(0,1fr)}
 #account-dialog .portrait-selection{align-items:flex-start;flex-wrap:wrap}
 #account-dialog #banner-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px}
 #account-dialog .banner-choice{min-width:0;padding:10px 8px;text-align:left;font-size:13px;min-height:44px}
 #account-dialog .secret-entry>div{flex-wrap:wrap}
}
@media(max-width:420px){
 #profile-preview .player-identity{flex-wrap:wrap;gap:14px}
 #profile-preview .avatar-stack{margin:8px 16px}
 #profile-preview .identity-banner{flex-basis:100%;width:100%;min-height:112px}
}

.example-clues .example-partial{color:#493608}html[data-theme=dark] .example-clues .example-partial{color:#201902}

@media(max-width:520px){.first-help{display:flex;flex-direction:column}.first-help>strong{order:-2}.first-help>#dismiss-first-help{order:-1;align-self:flex-start;margin:8px 0 4px}}
/* Report a wrong clue: a quiet control under the guesses, with its confirmation beside it. */
.clue-report{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:13px;color:var(--muted)}
#clue-report-dialog{width:min(480px,calc(100vw - 32px));box-sizing:border-box}#clue-report-form{display:grid;gap:10px}#clue-report-guess,#clue-report-clue,#clue-report-note{box-sizing:border-box;width:100%;padding:10px;background:var(--panel);color:var(--ink);border:1px solid var(--line);font:inherit;font-size:16px;border-radius:0}#clue-report-note{resize:vertical}#clue-report-form .fine-print{margin:0 0 8px}#clue-report-form :focus-visible{outline:2px solid var(--accent);outline-offset:3px}#clue-report-status{font-size:14px;min-height:1.4em}#clue-report-form button:disabled{opacity:.6;cursor:wait}

/* The event reward restores Adam's original Johnny clip across the entire banner. */
:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="johnny-golden-ratio"]){--banner-bg:#152d46;--banner-ink:#fff5d9;--banner-border:#d8bd71;--banner-image:url("banners/johnny-golden-ratio.webp");--banner-row:none;--banner-pattern:url("banners/golden-ratio-pattern.svg"),var(--banner-image);--banner-pattern-size:100% 100%,cover}
@media(prefers-reduced-motion:no-preference){:is(.player-identity,.ranking-place,.ranking-rest tr):has([data-banner="johnny-golden-ratio"]){--banner-image:url("banners/johnny-golden-ratio-eased.gif")}}
.player-identity .identity-banner[data-banner="johnny-golden-ratio"]{background-image:var(--banner-pattern);background-size:var(--banner-pattern-size);background-position:center,center 40%;background-repeat:no-repeat}
.ranking-place:has([data-banner="johnny-golden-ratio"])::before{background-image:var(--banner-pattern);background-size:var(--banner-pattern-size);background-position:center,calc(68% + 8px) center;background-repeat:no-repeat}
html .ranking-rest tr:has([data-banner="johnny-golden-ratio"]){background-position:center,center calc(40% + 10px)!important;background-repeat:no-repeat!important}
html .ranking-rest tr:has([data-banner="johnny-golden-ratio"])>td:nth-child(2){padding-right:10px;padding-bottom:10px;background-image:none!important}
.ranking-place .identity-banner[data-banner="johnny-golden-ratio"],.ranking-rest .identity-banner[data-banner="johnny-golden-ratio"]{background:none}

/* Keep the required first sign-in step above optional customization. */
.username-setup :is(.profile-customization,#discord-connection,.secret-entry,.sbr-release,#profile-statistics,#profile-insights,#login-streak-summary,#profile-summary),.username-setup #profile-form>button[type=submit]:not(#save-username){display:none!important}
#save-username{margin:8px 0}

/* Outlined logo scales with the existing responsive header type size. */
.brand .brand-wordmark{display:block;width:3.629em;height:.716em;flex-shrink:0;fill:currentColor}.brand svg.star{flex-shrink:0}

/* The active game mode must remain obvious over the Rohan artwork in either theme. */
.mode-switch[role=group]{gap:6px;border-bottom:0}
.mode-switch[role=group] button[aria-pressed]{position:relative;min-height:48px;padding:10px 24px 10px 8px;border:2px solid var(--line);background:var(--panel);color:var(--ink);font-size:16px;font-weight:700;box-shadow:none}
.mode-switch[role=group] button[aria-pressed=true]{background:#62318b;border-color:#62318b;color:#fff}
.mode-switch[role=group] button[aria-pressed=true]::after{content:'✓';position:absolute;right:7px;top:9px;font-size:14px;font-weight:800}
.mode-switch[role=group] button[aria-pressed] small{color:inherit;opacity:1}
.mode-switch[role=group] button[aria-pressed]:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
