@font-face{font-family:Poppins;src:url('/brand/poppins-extralight.woff2');font-weight:200;font-display:swap}@font-face{font-family:Poppins;src:url('/brand/poppins-regular.woff2');font-weight:400;font-display:swap}@font-face{font-family:Poppins;src:url('/brand/poppins-medium.woff2');font-weight:500;font-display:swap}@font-face{font-family:Poppins;src:url('/brand/poppins-semibold.woff2');font-weight:600;font-display:swap}@font-face{font-family:Poppins;src:url('/brand/poppins-bold.woff2');font-weight:700;font-display:swap}
:root{color-scheme:dark;--ink:#811817;--red:#db0010;--gold:#fdc140;--silver:#fff;--white:#fff;--muted:#f1c4cc;--line:#ffffff40;--green:#fff;--pink:#ff3e72;--blue:#77deff;--font:Poppins,'Microsoft JhengHei','PingFang TC',Arial,sans-serif;--radius:12px}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse 292px 680.3px at 50% 168px,#c72c25 0%,#a4221e 50%,#811817 100%);color:#fff;font:400 14px/1.5 var(--font)}a{color:inherit}button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:5px}button{user-select:none}.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;top:-100px;left:16px;background:white;color:#630e14;padding:12px;z-index:30}.skip-link:focus{top:10px}.portal-shell{width:100%;max-width:402px;min-height:100dvh;padding:30px;margin:auto}.portal-header{height:43px;display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-decoration:none}.brand-logo{display:block;width:117px;height:25px;object-fit:contain}.brand-caption{font-size:8px;line-height:12px;white-space:nowrap}.header-divider{height:1px;background:#fff3;margin:25px 0}.language-picker{position:relative;align-self:center;z-index:25}.language-toggle{position:relative;display:flex;align-items:center;justify-content:center;min-width:88px;min-height:44px;padding:10px 16px;border:1px solid white;border-radius:42px;background:transparent;color:white;font-size:12px;line-height:22px;font-weight:600;white-space:nowrap;z-index:2}.language-picker.open .language-toggle{background:#630e14}.language-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:132px;width:max-content;max-width:calc(100vw - 48px);padding:8px;border:1px solid #ffffff26;background:#630e14;border-radius:16px;display:grid;gap:4px;box-shadow:0 8px 20px #0003}.language-menu button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;border:0;border-radius:8px;background:transparent;color:white;font-size:14px;line-height:22px;font-weight:500;padding:10px 12px;white-space:nowrap}.language-menu button:hover,.language-menu button:focus-visible{background:#ffffff1a}.language-menu button:focus-visible{outline-offset:0}.status-banner{height:48px;width:100%;border:1px solid #ffffff59;background:#0000001a;border-radius:8px;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 25px;overflow:hidden}.status-banner p,.status-banner>span{font-size:8px;line-height:12px;font-weight:500;margin:0;flex:1}.status-banner output{font-size:17px;line-height:25.5px;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}
.portal-shell h1,.portal-shell p{margin:0}.choice-hero{padding:10px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.choice-hero h1{font-size:24px;line-height:28.364px;font-weight:600;letter-spacing:0}.intro{font-size:10.909px;line-height:16.364px;text-align:center}.teams{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;margin-top:25px}.team{display:flex;flex-direction:column;gap:10px;min-width:0;background:white;color:#630e14;text-align:left;border:0;border-radius:12px;padding:20px;transition:transform .12s}.team strong{display:block;font-size:19.636px;line-height:14px;font-weight:400}.selection-art{display:block;width:100%;padding:4px 0}.selection-art img{display:block;width:100%;height:auto;object-fit:contain}.team-caption{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:7.091px;line-height:10px;letter-spacing:.3273px}.team-caption b{font-family:Arial,sans-serif;font-size:13.091px;font-weight:400;letter-spacing:0}.team:hover{transform:translateY(-2px)}.team:active{transform:scale(.98)}.game-duration{font-size:10.909px;line-height:30px;text-align:center;margin:25px 0 0!important;height:30px}
.support-identity{display:flex;width:calc(100% + 20px);max-width:calc(100% + 20px);height:112px;align-items:center;justify-content:center;gap:15px;padding:0 15px}.team-art{flex-shrink:0}.identity-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:25px;height:112px;padding:6px 0}.identity-name{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.identity-name .eyebrow{font-size:7.091px;line-height:10.636px;font-weight:600}.identity-name h1{font-size:40px;line-height:28.364px;font-weight:400;white-space:nowrap}.change-team{width:84px;height:30px;border:1px solid white;border-radius:15px;background:transparent;color:white;font-size:7.091px;font-weight:600;line-height:10.636px;padding:0}.wait-instruction{padding:0;margin:25px 0 0!important;line-height:16px}.tap-area{display:flex;justify-content:center;align-items:center;margin-top:25px}.tap{position:relative;width:300px;height:auto;aspect-ratio:1;max-width:100%;border:11px solid #fdc140;border-radius:50%;background:linear-gradient(150deg,#ae1e23 13.186%,#e21f26 86.349%);box-shadow:4px 4px 4px #0004;padding:0;color:white;transition:transform .08s,border-color .08s}.tap .art-slot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.tap .tap-press-art{display:none}.tap strong{position:absolute;top:88.1295%;left:50%;transform:translate(-50%,-50%);font-size:40px;font-weight:600;line-height:60px;pointer-events:none}.tap:disabled{border-color:#aeaeae;background:linear-gradient(150deg,#636363 13.186%,#aeaeae 86.349%);box-shadow:0 4px 4px #0004;cursor:default}.tap:disabled .tap-rest-art{filter:grayscale(1);mix-blend-mode:luminosity;opacity:.5}.tap:disabled strong{display:none}.tap:active:not(:disabled),.tap.pulse:not(:disabled){border-color:#d57828;background:linear-gradient(150deg,#e21f26 13.186%,#ae1e23 86.349%);transform:scale(.985)}.tap:active:not(:disabled) .tap-rest-art,.tap.pulse:not(:disabled) .tap-rest-art{visibility:hidden}.tap:active:not(:disabled) .tap-press-art,.tap.pulse:not(:disabled) .tap-press-art{display:block}
.result-panel{text-align:center}.winner-art-wrap{height:250px;display:flex;align-items:center;justify-content:center}.result-copy{margin-top:25px!important;padding:15px 10px;display:flex;flex-direction:column;align-items:center;gap:10px}.result-copy h1{font-size:30px;line-height:21px;font-weight:400;white-space:nowrap}.result-copy p{font-size:10px;line-height:15px}.next-team{display:block;width:240px;max-width:100%;height:38px;margin:25px auto 0;border:0;border-radius:20px;padding:10px 15px;background:white;color:#630e14;font-size:12px;line-height:18px;font-weight:600}.next-team:hover{background:#fff6ed}.tie-note{font-size:9px;line-height:14px;margin-top:10px!important}.scoreboard{display:grid;grid-template-columns:1fr 1fr;gap:19px;border-top:1px solid var(--line);padding-top:25px;margin-top:25px}.scoreboard>div{display:flex;flex-direction:column;gap:10px;min-width:0}.scoreboard>div>span{font-size:10px;line-height:15px}.scoreboard strong{font-size:25px;font-weight:400;line-height:17px;font-variant-numeric:tabular-nums}progress{display:block;appearance:none;width:100%;height:6px;border:0;border-radius:6px;background:#ffffff4d;overflow:hidden}progress::-webkit-progress-bar{background:#ffffff4d}progress::-webkit-progress-value{background:#fdc140;border-radius:6px}#stittProgress::-webkit-progress-value{background:white}progress::-moz-progress-bar{background:#fdc140}#stittProgress::-moz-progress-bar{background:white}.message{font-size:11px;line-height:16px;text-align:center;padding:14px 0 0;margin-top:12px!important}footer{display:flex;flex-direction:column;align-items:center;gap:10px;border-top:1px solid var(--line);padding:33px 0 8px;margin-top:25px;font-size:7.636px;line-height:11px;text-align:center}footer a{display:block;text-decoration:none;width:100%}footer a:hover{text-decoration:underline}
.confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:20}.winner-celebrating .winner-art-wrap{animation:winner-pop .8s cubic-bezier(.2,.8,.3,1.2) both}.winner-celebrating #result{animation:winner-title .7s ease-out both}@keyframes winner-pop{0%{opacity:0;transform:translateY(25px) scale(.7)}65%{opacity:1;transform:translateY(-8px) scale(1.07)}100%{opacity:1;transform:none}}@keyframes winner-title{0%{opacity:0;transform:translateY(12px)}100%{opacity:1;transform:none}}
@media(max-width:360px){.portal-shell{padding:24px}.team{padding:15px}.teams{gap:15px}.team strong{font-size:18px}.identity-name h1{font-size:36px}.identity-copy{gap:21px}.result-copy h1{font-size:27px}.status-banner{padding:10px 12px}.status-banner output{font-size:15px}.tap strong{font-size:36px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.confetti{display:none!important}}

/* Chinese characters need larger text than the compact Latin labels in the reference. */
:lang(zh) .choice-hero h1{font-size:28px;line-height:36px}
:lang(zh) .intro,:lang(zh) .game-duration{font-size:15px;line-height:24px}
:lang(zh) .game-duration{height:auto;min-height:30px}
:lang(zh) .status-banner p,:lang(zh) .status-banner>span{font-size:12px;line-height:18px}
:lang(zh) .team-caption{font-size:12px;line-height:18px;letter-spacing:0}
:lang(zh) .identity-name .eyebrow{font-size:12px;line-height:18px}
:lang(zh) .identity-copy{gap:10px}
:lang(zh) .change-team{font-size:12px;line-height:18px;width:96px;height:36px;flex-shrink:0;border-radius:18px}
:lang(zh) .result-copy h1{line-height:1.3}
:lang(zh) .result-copy p,:lang(zh) .tie-note,:lang(zh) .message{font-size:15px;line-height:24px}
:lang(zh) .next-team{font-size:14px;line-height:20px;height:44px;border-radius:22px}
:lang(zh) footer [data-i18n]{font-size:12px;line-height:18px}

/* The latest result frames let the winner illustration fill the remaining height. */
.portal-shell[data-layout=result]{display:flex;flex-direction:column}
.portal-shell[data-layout=result] .portal-header,.portal-shell[data-layout=result] .header-divider{flex-shrink:0}
.portal-shell[data-layout=result] main{display:flex;flex:1;flex-direction:column}
.portal-shell[data-layout=result] .result-panel{display:flex;flex:1;flex-direction:column}
.portal-shell[data-layout=result] .winner-art-wrap{height:auto;min-height:180px;flex:1;position:relative}
.result-panel .winner-art-wrap .winner-art[data-art]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--winner-width,255px)}

/* Keep native vector proportions while the tap control changes with viewport width. */
.tap .art-slot[data-art]{width:65%;max-width:180px;height:auto}
.winner-art-wrap{isolation:isolate}

/* November 18 Figma: co-branding and two direct team choices. */
.portal-shell{display:flex;flex-direction:column}
.portal-header,.header-divider{flex-shrink:0}
.portal-shell main{display:flex;flex:1;flex-direction:column}
.brand-marks{display:flex;align-items:center;gap:25px;height:25px}
.brand-mark-divider{width:1px;height:25px;background:#fff;opacity:.8;flex:none}
.brand-logo,.peak-logo{flex:none}
.peak-logo{display:block;width:32.496px;height:25px}
.portal-shell[data-layout=choose] #choose{display:flex;flex:1;flex-direction:column}
.team-choices{display:flex;flex-direction:column;gap:10px;flex:1;padding-top:25px;width:100%;align-items:stretch}
.team-choices .team{display:grid;grid-template-columns:minmax(0,1.059fr) minmax(0,1fr);gap:10px;align-items:center;padding:20px;width:100%;border-radius:12px}
.team-choices .selection-art{width:100%;padding:0;pointer-events:none}
.team-choices .stitt .selection-art{padding:4px 0}
.team-choices .selection-avatar[data-art]{width:100%;max-width:none;height:auto}
.team-copy{display:flex;flex-direction:column;gap:12px;min-width:0}
.team-copy strong{font-size:clamp(22px,7.46vw,30px);font-weight:700;line-height:1}
.team-copy strong span{display:block}
.team-copy .team-caption{font-size:7.091px;line-height:10px;letter-spacing:.3273px}
.support-identity{width:100%;max-width:100%;justify-content:center}
.back-home{position:relative;display:block;margin:25px auto 0;padding:0;border:0;background:none;color:white;font-size:10.909px;line-height:16px}
.back-home::after{content:'';position:absolute;inset:-14px -12px}
.back-home:hover{text-decoration:underline}
.status-banner #clock,.status-banner #nextShowClock[data-numeric=true]{font-size:35px;line-height:1}
#clock::after{content:attr(data-unit);font-size:8px;line-height:1}
:lang(zh) #clock::after{font-size:12px}
:lang(zh) .team-copy .team-caption{font-size:12px;line-height:18px;letter-spacing:0}
:lang(zh) .back-home{font-size:15px;line-height:24px}
@media(max-width:360px){.brand-marks{gap:10px}.brand-caption{font-size:7px}.team-choices .team{padding:16px}}

/* Panda uses the same layout and accessible tap flow; team colours match BattleBars. */
body[data-experience="panda"] .team.stitt,body[data-experience="panda"].silver .tap{--team-accent:#477be3;}

body[data-experience="panda"] #stephenProgress::-webkit-progress-value{background:#cf3330;}
body[data-experience="panda"] #stittProgress::-webkit-progress-value{background:#477be3;}
body[data-experience="panda"] #stephenProgress::-moz-progress-bar{background:#cf3330;}
body[data-experience="panda"] #stittProgress::-moz-progress-bar{background:#477be3;}

/* November 24 Figma: live scores, compact waiting control and revised TAP label. */
.scoreboard{border-top:0;padding-top:0}
.tap:disabled{width:275px}
.tap:disabled .art-slot[data-art]{width:180px;max-width:72%}
.tap strong{top:86.5108%;font-size:30px;line-height:45px}
.result-copy h1{font-size:clamp(22px,7.46vw,30px);max-width:100%}

/* Client Chinese localisation: complete team names and readable multi-line instructions. */
:lang(zh) .team-copy strong{font-size:clamp(18px,5.5vw,22px);line-height:1.25}
:lang(zh) .identity-name h1{font-size:clamp(24px,7vw,28px);line-height:1.2;white-space:normal}
:lang(zh) .identity-copy{min-width:0}
:lang(zh) .wait-instruction{white-space:pre-line}
:lang(zh) .brand-caption{font-size:8px;letter-spacing:0}
:lang(zh) .scoreboard>div>span{font-size:12px;line-height:18px}

/* Only the isolated Christmas style preview has these navigation links. */
.style-preview-note{width:100%;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:10px;line-height:16px}
.style-preview-note nav{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:8px}
.style-preview-note nav a{width:auto;text-decoration:underline}
