/* The portal keeps its own frame. Photographs are the game, controls stay quiet. */
.wc-home,.wc-panel{background:#fff;border:1px solid var(--ux-line,#e2e7ee);border-radius:14px}
.wc-home{padding:22px 24px;margin:24px 0}
.wc-section-head,.wc-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wc-section-head{margin-bottom:16px}.wc-section-head h2{font-size:23px;line-height:1.3;letter-spacing:-.8px;margin:0}
.wc-section-head>a,.wc-page-head>a{font-size:12px;font-weight:600;white-space:nowrap;color:var(--accent)}
.wc-triangle{display:inline-block;width:0;height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:5px solid currentColor;margin-left:6px;vertical-align:1px}
.wc-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.wc-cover{display:block;min-width:0;color:var(--ux-ink)}
.wc-cover-photos{display:grid;grid-template-columns:1fr 1fr;position:relative;gap:3px;overflow:hidden;border-radius:8px;background:#eef2f3;height:126px}
.wc-cover-photos img{width:100%;height:126px;object-fit:cover;object-position:center 18%;transition:transform .2s}
.wc-cover-versus{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;color:#233b3f;font-size:10px;font-weight:800;display:grid;place-items:center;width:27px;height:27px;border-radius:50%}
.wc-cover-caption{display:flex;align-items:center;justify-content:space-between;padding:11px 1px 0;gap:6px;font-size:14px}.wc-cover-caption strong{font-weight:700}.wc-cover-caption .wc-triangle{color:var(--accent)}
@media(hover:hover){.wc-cover:hover img{transform:scale(1.045)}.wc-cover:hover .wc-cover-caption{color:var(--accent)}}
.wc-page{max-width:960px;margin:0 auto 32px;--wc-ink:#172b30;--wc-muted:#62747a;--wc-accent:var(--accent,#087e8b);color:var(--wc-ink)}
.wc-page-head{padding:22px 0 18px}.wc-page-head h1{font-size:28px;letter-spacing:-1px;line-height:1.35;margin:0}.wc-page-head p{font-size:13px;color:var(--wc-muted);margin:5px 0 0}
.wc-panel{padding:20px 24px 12px}.wc-settings nav{display:flex;gap:6px;flex-wrap:wrap;background:#f2f5f5;border-radius:8px;padding:4px}.wc-settings nav a{flex:1;text-align:center;white-space:nowrap;padding:10px 8px;border-radius:6px;font-size:14px;font-weight:600;color:#617278}.wc-settings nav a.is-active{background:#fff;color:var(--wc-accent)}
.wc-options{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0 4px;font-size:13px}.wc-sizes{display:flex;gap:5px}.wc-sizes button{padding:7px 14px;min-height:36px;border-radius:5px;color:#617278}.wc-sizes button[aria-pressed=true]{background:var(--wc-accent);color:#fff;font-weight:700}.wc-blind{display:flex;align-items:center;gap:7px;cursor:pointer}.wc-blind input{accent-color:var(--wc-accent);width:16px;height:16px;margin:0}.wc-options select{max-width:210px;margin-left:8px;padding:7px 28px 7px 10px;border:1px solid #d5dfe1;border-radius:5px;background:#fff;font-size:14px}
.wc-game-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;font-size:14px;font-weight:650}.wc-game-head>span:last-child{font-size:12px;font-weight:500;color:var(--wc-muted);font-variant-numeric:tabular-nums}
.wc-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:16px max(20px,6%);background:#172b30 url('/assets/worldcup/photocard-stage-v1.webp') center/cover;border-radius:10px;position:relative;isolation:isolate}
.wc-candidate{display:block;min-width:0;padding:0;overflow:hidden;background:#fff;border:0;border-radius:7px;text-align:left;opacity:1!important;cursor:default;transition:transform .16s,opacity .16s}
.wc-stage.is-playing .wc-candidate{cursor:pointer}.wc-portrait{display:block;height:clamp(180px,36svh,330px);overflow:hidden;background:#e9eeef}.wc-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 18%;display:block;transition:transform .22s}
.wc-name{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:58px;padding:12px 15px}.wc-name strong{font-size:21px;line-height:1.3;letter-spacing:-.6px;word-break:keep-all}.wc-name small{font-size:12px;color:var(--wc-muted);text-align:right;word-break:keep-all}
.wc-versus{position:absolute;z-index:1;left:50%;top:47%;transform:translate(-50%,-50%);border:3px solid #172b30;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;background:#fff;font-size:12px;font-weight:850;color:#213b3d}
@media(hover:hover){.wc-stage.is-playing .wc-candidate:hover .wc-portrait img{transform:scale(1.035)}}
.wc-stage.is-playing .wc-candidate:active,.wc-candidate.is-picked{transform:scale(.975)}.wc-candidate.is-picked .wc-name{background:var(--wc-accent);color:#fff}.wc-candidate.is-picked .wc-name small{color:#fff}
.wc-game-foot{display:flex;align-items:center;gap:20px;margin-top:8px}.wc-game-foot button{min-height:44px;font-size:13px;white-space:nowrap;color:var(--wc-muted)}.wc-progress{flex:1;height:3px;background:#e9eeef;overflow:hidden;border-radius:2px}.wc-progress i{height:100%;display:block;background:var(--wc-accent)}
.wc-start-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0 4px}.wc-start-actions button{min-height:44px;padding:10px 24px;font-size:14px;font-weight:650;border-radius:6px;background:#f0f4f5;color:#435d64}.wc-page .wc-primary{background:var(--wc-accent);color:#fff;border-radius:6px;font-weight:700}.wc-primary .wc-triangle{color:inherit}
.wc-notice{font-size:13px;margin:8px 0 0;text-align:center;color:var(--wc-accent);word-break:keep-all}.wc-notice:empty{display:none}.wc-notice a{overflow-wrap:anywhere;text-decoration:underline}
.wc-credits{margin-top:4px;font-size:11px;color:#738188}.wc-credits summary{width:fit-content;cursor:pointer;padding:6px 0}.wc-credits ul{margin:5px 0;padding-left:18px;line-height:1.8}.wc-credits a{text-decoration:underline}
.wc-result-main{display:grid;grid-template-columns:minmax(160px,260px) minmax(0,1fr);align-items:center;gap:34px;padding:10px 5% 24px}.wc-winner-photo{border-radius:8px;overflow:hidden;height:290px;background:#edf2f2}.wc-winner-photo img{width:100%;height:100%;object-fit:cover;object-position:center 18%}.wc-result-copy>p:first-child{font-size:15px;color:var(--wc-accent);margin:0 0 10px;font-weight:650}.wc-result-copy h2{font-size:42px;letter-spacing:-1.5px;line-height:1.2;margin:0 0 8px}.wc-result-copy>span{font-size:16px;color:var(--wc-muted)}.wc-result-links{display:flex;gap:18px;margin-top:22px}.wc-result-links a{font-size:14px;color:var(--wc-accent);font-weight:600}.wc-result-copy .wc-runner{font-size:12px;color:var(--wc-muted);margin:20px 0 0;line-height:1.7}
.wc-share-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wc-share-actions button,.wc-share-actions a{min-height:46px;padding:10px 8px;background:#f0f5f5;border-radius:6px;font-size:13px;font-weight:650;color:#365058}.wc-replay-actions{display:flex;justify-content:center;gap:24px;padding:12px 0 4px}.wc-replay-actions button{font-size:13px;color:var(--wc-muted);min-height:34px}.wc-history{margin-top:10px;font-size:13px}.wc-history summary{cursor:pointer;padding:8px 0;color:var(--wc-muted)}.wc-history ol{margin:4px 0 14px;padding:0;list-style:none;max-height:260px;overflow:auto}.wc-history li{display:grid;grid-template-columns:50px 80px minmax(0,1fr);align-items:center;gap:12px;padding:10px;background:#f6f8f8;margin-bottom:4px;border-radius:5px;font-size:13px}.wc-history small{color:var(--wc-muted)}
.wc-page button:focus-visible,.wc-cover:focus-visible,.wc-page a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
/* Compact nickname quiz; retain the existing bank, answer logic and shared links. */
#nickname-quiz{--nq-accent:var(--accent);border-radius:14px;overflow:hidden;background:#fff;color:#172b30;margin:24px 0;box-shadow:none}
#nickname-quiz .nq-header{padding:20px 24px 10px;background:#fff;align-items:center}
#nickname-quiz .nq-header h1,#nickname-quiz .nq-header h2,#nickname-quiz .nq-header h2 span,#nickname-quiz .nq-header h1 span{font-size:23px;letter-spacing:-.8px;line-height:1.3;color:#172b30}
#nickname-quiz .nq-header-note{color:#667b80;font-size:12px}
#nickname-quiz .nq-body{padding:4px 24px 12px;background:#fff}
#nickname-quiz .nq-progress{font-size:11px;gap:12px;margin:0;color:#687b80}
#nickname-quiz .nq-progress b{font-size:13px;color:var(--accent)}#nickname-quiz .nq-progress-track{height:3px;background:#eaf0f0}
#nickname-quiz .nq-question-layout{grid-template-columns:minmax(140px,.85fr) minmax(0,3fr);gap:18px;margin-top:14px}
#nickname-quiz .nq-prompt{padding:6px 0;text-align:left}#nickname-quiz .nq-prompt p{font-size:12px;color:#697c82;line-height:1.5;margin:0 0 6px}#nickname-quiz .nq-prompt h3{font-size:27px;line-height:1.3;color:#172b30;font-weight:750;letter-spacing:-.8px}
#nickname-quiz .nq-choices{gap:10px}#nickname-quiz .nq-choice{border:0;background:#f3f6f6;border-radius:6px;box-shadow:none}
#nickname-quiz .nq-photo{height:124px;position:relative}#nickname-quiz .nq-photo img{object-fit:cover;object-position:center 18%;background:#eaf0f0}
#nickname-quiz .nq-person-name{min-height:36px;padding:8px 4px;font-size:14px;background:#f3f6f6;color:#253d43;line-height:1.3}
#nickname-quiz .nq-number{display:none}#nickname-quiz .nq-choice.is-right .nq-person-name{background:var(--accent);color:#fff}#nickname-quiz .nq-choice.is-wrong .nq-person-name{background:#f6e8e8;color:#a44747}
#nickname-quiz .nq-feedback{margin-top:12px;padding:12px 14px;border:0;border-radius:6px;background:#f0f6f6;gap:16px}
#nickname-quiz .nq-feedback strong{font-size:15px}#nickname-quiz .nq-feedback p{font-size:13px;line-height:1.6;margin:4px 0}#nickname-quiz .nq-source{font-size:11px}
#nickname-quiz .nq-primary,#nickname-quiz .nq-secondary{min-height:40px;border:0;border-radius:6px;padding:9px 17px;font-size:13px}
#nickname-quiz .nq-hint{display:none}#nickname-quiz .nq-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:18px;margin:10px 0 0;padding:0;border:0}
#nickname-quiz .nq-footer button,#nickname-quiz .nq-footer a{border:0;border-radius:0;background:none;min-height:32px;padding:4px 0;font-size:11px;color:#687b80;box-shadow:none}
#nickname-quiz .nq-credits{margin:0;font-size:10px}#nickname-quiz .nq-credits summary{padding:3px 0}#nickname-quiz .nq-result{padding:10px 0}#nickname-quiz .nq-result h3{font-size:24px}#nickname-quiz .nq-score strong{font-size:48px}
@media(hover:hover){#nickname-quiz .nq-choice:not(:disabled):hover{box-shadow:none;transform:translateY(-2px)}#nickname-quiz .nq-footer a:hover,#nickname-quiz .nq-footer button:hover{background:none;color:var(--accent)}}
@media(max-width:1100px) and (min-width:621px){.wc-cover-photos,.wc-cover-photos img{height:130px}.wc-stage{padding-left:7%;padding-right:7%}}
@media(max-width:620px){
 .wc-home{padding:17px 16px;margin:18px 0}.wc-section-head{gap:8px;margin-bottom:14px}.wc-section-head h2{font-size:20px;letter-spacing:-.7px}.wc-section-head>a{font-size:11px}
 .wc-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.wc-cover-photos,.wc-cover-photos img{height:90px}.wc-cover-caption{font-size:13px;padding-top:8px}.wc-cover-versus{width:24px;height:24px;font-size:9px}
 .wc-page{margin-bottom:20px}.wc-page-head{padding:14px 0}.wc-page-head h1{font-size:23px;letter-spacing:-.9px}.wc-page-head>a{font-size:11px}.wc-page-head p{font-size:12px}
 .wc-panel{padding:12px 12px 8px}.wc-settings nav{gap:2px;padding:3px}.wc-settings nav a{font-size:11px;padding:10px 4px;white-space:normal;word-break:keep-all;line-height:1.5;display:grid;align-items:center}
 .wc-options{font-size:11px;padding-top:12px;gap:8px}.wc-sizes{gap:2px}.wc-sizes button{font-size:12px;min-height:36px;padding:7px 11px}.wc-blind{gap:5px}.wc-blind input{width:14px;height:14px}.wc-options select{font-size:12px;max-width:155px;margin-left:4px}
 .wc-game-head{font-size:12px;padding:12px 0}.wc-game-head>span:last-child{font-size:10px}.wc-stage{gap:10px;padding:10px;border-radius:7px}.wc-portrait{height:auto;aspect-ratio:4/5}.wc-name{display:block;min-height:58px;padding:9px 8px}.wc-name strong{font-size:18px;display:block}.wc-name small{display:block;text-align:left;font-size:10px;line-height:1.5;margin-top:3px}.wc-versus{width:30px;height:30px;border-width:2px;font-size:10px;top:42%}
 .wc-game-foot{gap:12px}.wc-game-foot button{font-size:11px;min-height:42px}.wc-start-actions{margin-top:12px}.wc-start-actions button{min-height:44px;padding:10px 22px;font-size:13px}
 .wc-result-main{grid-template-columns:130px minmax(0,1fr);gap:18px;padding:8px 0 18px}.wc-winner-photo{height:185px}.wc-result-copy>p:first-child{font-size:12px;margin-bottom:7px}.wc-result-copy h2{font-size:30px;letter-spacing:-1px}.wc-result-copy>span{font-size:13px}.wc-result-links{display:block;margin-top:12px}.wc-result-links a{display:block;min-height:30px;font-size:12px}.wc-result-copy .wc-runner{font-size:10px;margin-top:9px}.wc-share-actions{gap:6px}.wc-share-actions button,.wc-share-actions a{font-size:11px;padding:8px 5px;line-height:1.5;word-break:keep-all}.wc-replay-actions{gap:16px}.wc-replay-actions button{font-size:11px}.wc-history li{grid-template-columns:36px 65px minmax(0,1fr);gap:6px;padding:9px 6px;font-size:11px}.wc-credits{font-size:10px}.wc-notice{font-size:12px}
 #nickname-quiz{margin:18px 0}#nickname-quiz .nq-header{padding:16px 16px 8px}#nickname-quiz .nq-header h1,#nickname-quiz .nq-header h2,#nickname-quiz .nq-header h2 span,#nickname-quiz .nq-header h1 span{font-size:20px}#nickname-quiz .nq-header-note{display:none}#nickname-quiz .nq-body{padding:4px 16px 10px}
 #nickname-quiz .nq-question-layout{display:block;margin-top:10px}#nickname-quiz .nq-prompt{padding:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}#nickname-quiz .nq-prompt p{margin:0;font-size:10px;max-width:48%;line-height:1.5}#nickname-quiz .nq-prompt h3{font-size:23px;text-align:right;line-height:1.35}#nickname-quiz .nq-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#nickname-quiz .nq-photo{height:100px}#nickname-quiz .nq-person-name{min-height:32px;font-size:12px;padding:7px 2px}#nickname-quiz .nq-footer{gap:14px;margin-top:8px;justify-content:space-between}#nickname-quiz .nq-footer a,#nickname-quiz .nq-footer button{font-size:10px;min-height:30px}#nickname-quiz .nq-feedback{padding:10px;margin-top:10px}#nickname-quiz .nq-feedback p{font-size:12px}#nickname-quiz .nq-feedback .nq-primary{margin-top:8px;width:100%}
}
@media(max-width:360px){.wc-home{padding:15px 12px}.wc-section-head h2{font-size:18px}.wc-cover-photos,.wc-cover-photos img{height:82px}.wc-page-head h1{font-size:20px}.wc-page-head>a{font-size:10px}.wc-settings nav a{font-size:10px}.wc-blind{font-size:10px}.wc-name strong{font-size:16px}.wc-name{padding:8px 7px}.wc-result-main{grid-template-columns:110px minmax(0,1fr);gap:12px}.wc-winner-photo{height:165px}#nickname-quiz .nq-photo{height:91px}#nickname-quiz .nq-prompt h3{font-size:21px}}
@media(max-height:570px) and (min-width:621px){.wc-page-head{padding:10px 0}.wc-panel{padding-top:8px}.wc-portrait{height:190px}.wc-game-head{padding:8px 0}.wc-name{min-height:45px;padding:8px 12px}.wc-page-head h1{font-size:23px}.wc-stage{padding-top:10px;padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){.wc-cover-photos img,.wc-candidate,.wc-portrait img,#nickname-quiz .nq-choice{transition:none!important;transform:none!important}}

.wc-share-actions a{display:flex;align-items:center;justify-content:center;text-align:center}

.wc-search-result{background:#fff;padding:22px;margin:18px 0 28px;border-radius:12px}.wc-search-result h2{font-size:22px;margin:0 0 8px}.wc-search-result p{font-size:14px;color:#62747a;margin:0 0 14px}.wc-search-result>div{display:flex;gap:22px;flex-wrap:wrap}.wc-search-result a{font-size:14px;font-weight:650;color:var(--accent)}

@media(max-width:1100px){.ux-home .ux-home-content>.main-column>.wc-home{order:-2;width:100%;margin:0}.ux-home .ux-home-content>.main-column>#nickname-quiz{margin:0}}
.wc-directory{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 20px;border-top:1px solid #edf1f2;margin-top:8px;padding-top:6px;font-size:11px;color:#65787d}
.wc-directory>details{flex:1;min-width:130px}.wc-directory summary{cursor:pointer;min-height:30px;display:flex;align-items:center}.wc-directory summary::-webkit-details-marker{display:none}.wc-directory ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;padding:6px 0;margin:0;max-height:220px;overflow:auto}.wc-directory li{min-width:0}.wc-directory li a{display:block;color:#294b52;font-size:12px;padding:4px}.wc-directory small{display:block;font-size:10px;color:#738188}.wc-directory nav{display:flex;flex-wrap:wrap;gap:8px 12px;padding:8px 0;max-height:220px;overflow:auto}.wc-directory nav a{font-size:12px;color:var(--accent)}.wc-related-quiz{display:flex;align-items:center;min-height:30px;color:var(--accent)}
@media(max-width:620px){.wc-directory{gap:4px 10px;font-size:10px}.wc-directory>details{min-width:110px}.wc-directory ul{grid-template-columns:repeat(2,minmax(0,1fr))}.wc-related-quiz{width:100%;min-height:24px}}
.wc-situation-settings{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:18px;align-items:center;padding-top:14px}
.wc-settings .wc-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:none;padding:0;border-radius:0}
.wc-settings .wc-topics a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 5px;border:1px solid #dfe8e9;border-radius:6px;background:#fff;font-size:12px;white-space:nowrap;color:#516b71}
.wc-settings .wc-topics a.is-active{background:var(--accent-soft,#edf8f8);border-color:var(--wc-accent);color:var(--wc-accent)}
.wc-audiences{display:flex;padding:3px;background:#f0f4f4;border-radius:7px;gap:3px}.wc-audiences button{flex:1;white-space:nowrap;min-height:36px;padding:6px 8px;border-radius:5px;font-size:12px;color:#617278}.wc-audiences button[aria-pressed=true]{background:var(--wc-accent);color:#fff;font-weight:700}
@media(max-width:620px){.wc-situation-settings{grid-template-columns:minmax(0,1fr);gap:8px;padding-top:10px}.wc-settings .wc-topics{gap:4px}.wc-settings .wc-topics a{min-height:38px;padding:7px 3px;font-size:11px}.wc-audiences button{min-height:34px;padding:5px 8px;font-size:11px}}
