/* Camera-first live duel and audience reactions. */
body.in-duel{background:#160e20}#duelScreen{background:linear-gradient(165deg,#24152f,#120d1b 75%);padding:env(safe-area-inset-top) 12px max(12px,env(safe-area-inset-bottom));gap:0}#duelScreen .duel-top{min-height:62px;padding:0 4px;gap:12px}#duelScreen .duel-top>span:nth-child(2){font-size:28px;letter-spacing:-1.5px}.duel-top .logo-dot{color:#ed83c8}#duelScreen .duel-top small{font-size:8px;letter-spacing:2px;margin-left:6px;color:#d3b8dd;opacity:1}#duelScreen .duel-top .icon-button{width:40px;height:40px;background:#ffffff0a;border-color:#ffffff21;font-size:23px}#duelScreen #duelBadge{font-size:10px;letter-spacing:.3px;background:#a85dbe20;border:1px solid #c88cda35;color:#eccbf4;padding:7px 11px}#duelScreen[data-stage=duel] #duelBadge{background:#4aca9018;color:#aeedca;border-color:#4aca9030}
#duelScreen .camera-stage{border-radius:24px;border:1px solid #ead1f02e;background:radial-gradient(circle at 50% 35%,#45314f,#261b35 80%);min-height:140px;box-shadow:0 10px 36px #0002}#duelScreen .stage-shade{background:linear-gradient(180deg,#0004,transparent 30%,transparent 60%,#0008)}#duelScreen .self-camera{right:12px;top:12px;width:clamp(78px,23vw,112px);border:2px solid #fff8;border-radius:18px;box-shadow:0 5px 20px #0004;background:#251a32}#duelScreen .self-camera>span{left:8px;bottom:7px;padding:3px 8px;border-radius:8px;background:#160d2580;font-size:10px}#duelScreen .opponent-label{bottom:15px;left:14px;font-size:13px;gap:7px;font-weight:650}#duelScreen .camera-stage #clock{font-variant-numeric:tabular-nums;font-weight:800;font-size:76px;letter-spacing:-3px}#duelScreen .camera-stage[data-phase=duel] #clock{inset:auto 12px 12px auto;letter-spacing:-.5px;font-size:21px;background:#21112cbb;border:1px solid #ffffff29;padding:8px 13px;backdrop-filter:blur(8px)}#duelScreen[data-stage=closing] .camera-stage{border-color:#dfa3cb80}#duelScreen[data-stage=closing] #clock{color:#fff0fa;text-shadow:0 4px 40px #5a2144}
.duel-social{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 5px 0;font-size:10px;color:#bda7c8}.duel-social>div{display:flex;gap:15px}.duel-social>div>span{display:flex;align-items:center;gap:5px;font-size:13px;color:#ed9dce}.duel-social b{font-size:12px;font-weight:650;color:#eadbed;font-variant-numeric:tabular-nums}#duelScreen .duel-footer{padding:14px 5px 0}#duelScreen .duel-footer h1{font-size:21px;line-height:1.25;font-weight:750;letter-spacing:-.5px;margin-bottom:5px}#duelScreen .duel-footer #status{color:#c7b6cf;font-size:12px}#duelScreen .duel-footer #tracking{font-size:10px;margin:6px 0 8px;color:#9b84a8}#duelScreen .duel-footer #connection{margin-top:5px;font-size:9px}#duelScreen .ready-indicators{gap:7px;margin:8px 0}#duelScreen .ready-indicators span{font-size:10px;border-radius:9px}#duelScreen .duel-footer #friendRequest{min-height:46px;padding:12px 16px;margin:12px 0 0;border-radius:13px;background:#f0cbe7;background-image:none;color:#492751;font-size:14px;font-weight:750;box-shadow:0 5px 20px #e991c112}#duelScreen .duel-footer #friendStatus{font-size:11px;line-height:1.5;color:#e3cce9;margin:8px 0 0}#duelScreen[data-stage=closing] .duel-footer #tracking{display:none}#duelScreen #resultPanel{background:linear-gradient(155deg,#422347eb,#21142cf5);backdrop-filter:blur(14px)}#duelScreen #resultPanel .result-symbol{font-size:52px;color:#efa0ce;margin-bottom:12px}#duelScreen #resultPanel h2{font-size:28px;line-height:1.2}#duelScreen #resultPanel button{min-height:46px;border-radius:13px}
.watch-page .ux-screen-head{margin-bottom:14px}.watch-page .watch-stage{position:relative;gap:7px;margin:12px 0;border-radius:23px;padding:5px;background:#281735;border:1px solid #482b54;overflow:hidden}.watch-page .watch-tile{border:0;border-radius:18px;aspect-ratio:3/4.8}.watch-page .watch-name{bottom:9px;left:7px;right:7px;border-radius:9px;background:#211329aa;font-size:11px;padding:6px}.watch-page .watch-clock{font-size:28px;margin:12px 0 5px}.watch-page .watch-status{font-size:11px;margin:4px 0 10px}.watch-page .watch-privacy{font-size:10px;line-height:1.5;margin:13px 0 17px}.watch-reactions{display:flex;justify-content:center;gap:10px;margin:14px 0 8px}.watch-reactions .watch-reaction{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;width:auto;min-width:132px;padding:11px 14px;margin:0;border-radius:14px;background:#fffbfe;border:1px solid #e5d2ec;color:#6b3a7e;font-size:12px;box-shadow:0 3px 12px #67317208}.watch-reaction>span:first-child{font-size:22px;line-height:1;color:#ce568e}.watch-reaction b{font-size:12px;min-width:12px;font-variant-numeric:tabular-nums}.watch-reaction:active{transform:scale(.96)}.watch-reaction:disabled{opacity:.45;cursor:default}.reaction-float{pointer-events:none;position:absolute;z-index:8;right:22%;bottom:12px;font-size:34px;color:#f783b9;text-shadow:0 3px 16px #ff79c444;animation:reaction-rise 1.1s ease-out forwards}.reaction-float.clap{right:60%}@keyframes reaction-rise{0%{transform:translateY(0) scale(.65);opacity:0}15%{opacity:1}100%{transform:translateY(-145px) rotate(12deg) scale(1.25);opacity:0}}@media(prefers-reduced-motion:reduce){.reaction-float{animation:none;display:none}.watch-reaction:active{transform:none}}@media(max-height:650px){#duelScreen .duel-top{min-height:50px}#duelScreen .duel-footer{padding-top:8px}#duelScreen .duel-footer h1{font-size:18px}#duelScreen .duel-footer #tracking,#duelScreen .duel-footer #connection{display:none}.duel-social{padding-top:7px}#duelScreen .self-camera{width:75px}#duelScreen .duel-footer #friendRequest{margin-top:8px;min-height:44px;padding:10px}}

/* A synchronized 1.5-second entrance, followed by the full 3-2-1. */
.duel-launch{position:absolute;inset:0;z-index:9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:15px;padding:24px;background:radial-gradient(ellipse at center,#7e2877d9,#231331e8 75%);backdrop-filter:blur(7px);overflow:hidden;pointer-events:none}.duel-launch[hidden]{display:none}.duel-launch:before,.duel-launch:after{content:'';position:absolute;width:260px;height:260px;border:1px solid #fba4df77;border-radius:50%;box-shadow:0 0 45px #ee69c044,inset 0 0 40px #ee69c022;animation:launch-ring 1.5s ease-out both}.duel-launch:after{width:340px;height:340px;animation-delay:.12s;border-color:#c296ff44}.launch-kicker{font-size:10px;font-weight:700;letter-spacing:3px;color:#f7cbed;z-index:1}.launch-emblem{font-size:45px;color:#ffb3df;filter:drop-shadow(0 0 18px #ff62c7);line-height:1;animation:launch-star 1.5s ease-out both}.duel-launch strong{font-size:clamp(35px,10vw,54px);font-weight:900;line-height:1.02;letter-spacing:-1.8px;color:#fff1fb;text-shadow:0 3px 0 #71306e,0 0 35px #ff6acb80;z-index:1;animation:launch-title .5s cubic-bezier(.16,1,.3,1) both}.launch-rule{font-size:12px;line-height:1.5;color:#f1d4ec;z-index:1}.launch-ready{font-size:9px;letter-spacing:1.7px;color:#fff;padding:8px 12px;border:1px solid #ffffff40;border-radius:30px;background:#ffffff0c;z-index:1;margin-top:5px}
#duelScreen .camera-stage #clock.countdown-number{display:grid;place-items:center;width:152px;height:152px;border-radius:50%;font-size:104px;line-height:1;letter-spacing:-4px;color:#fff2fc;background:radial-gradient(circle at 35% 25%,#eb65bd,#943cb9 65%,#5a2181);border:3px solid #ffd1ee;box-shadow:0 0 0 12px #de69bd25,0 0 0 26px #cc68dd16,0 0 60px #ed65c799,0 12px 35px #18091f88;text-shadow:0 4px 0 #712d88;z-index:8;backdrop-filter:blur(8px)}#clock.countdown-beat{animation:countdown-pop .65s cubic-bezier(.16,1,.3,1) both}#duelScreen #clock[hidden]{display:none!important}
@keyframes launch-ring{from{transform:scale(.6);opacity:0}35%{opacity:1}to{transform:scale(1.25);opacity:.3}}@keyframes launch-star{from{transform:rotate(-90deg) scale(.2);opacity:0}to{transform:rotate(0) scale(1);opacity:1}}@keyframes launch-title{from{translate:0 20px;scale:.86;opacity:0}to{translate:0 0;scale:1;opacity:1}}@keyframes countdown-pop{from{scale:1.25;filter:brightness(1.4)}to{scale:1;filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.duel-launch:before,.duel-launch:after,.launch-emblem,.duel-launch strong,#clock.countdown-beat{animation:none}}

#duelScreen .camera-stage #clock.countdown-number{inset:50% auto auto 50%;transform:translate(-50%,-50%)}

/* Discover: one contest frame, one tap; a single stacked live stage. */
.arena-broadcast-note{font-size:10px;line-height:1.4;color:#927b9b;margin:7px 0 0;text-align:center}
.discover-list .duel-preview-card{display:block;position:relative;width:100%;padding:16px 14px 0;margin:0 0 15px;text-align:left;border:1px solid #e4c9e3;border-radius:24px;background:radial-gradient(ellipse at 50% 10%,#f4ddf4,transparent 70%),#fffbfe;color:#38203f;box-shadow:0 8px 25px #5a25580a;overflow:hidden}.duel-preview-card:active{transform:scale(.985)}.duel-preview-card:focus-visible{outline:3px solid #ac4bb3;outline-offset:3px}.duel-preview-card .live-status{position:static;display:inline-flex;align-items:center;gap:6px;font-size:9px;letter-spacing:1.3px;padding:5px 8px;border-radius:20px;background:#fff;color:#a63684;border:1px solid #efcce3}.duel-preview-card .live-status:before{content:'';width:5px;height:5px;border-radius:50%;background:#e85299}.duel-preview-card .live-duel-players{display:grid;grid-template-columns:1fr 38px 1fr;align-items:center;gap:4px;padding:16px 0 19px}.duel-preview-player{display:flex;flex-direction:column;align-items:center;min-width:0;gap:10px}.duel-preview-player .profile-portrait.large{width:clamp(72px,24vw,112px);height:clamp(72px,24vw,112px);border:3px solid #fff;box-shadow:0 0 0 2px #cd72b5,0 8px 20px #9c458b22}.duel-preview-player:last-child .profile-portrait.large{box-shadow:0 0 0 2px #9166ca,0 8px 20px #78479b22}.duel-preview-player strong{font-size:14px;line-height:1.4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duel-preview-card .duel-versus{position:static;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#813d92;color:#fff;font-size:12px;font-style:italic;font-weight:900;box-shadow:0 0 0 6px #fff9}.duel-preview-card .live-duel-footer{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #ead8eb;font-size:10px;color:#8c6596}.duel-preview-card .live-duel-footer span:last-child{color:#883990;font-weight:700}.duel-preview-card:disabled{opacity:.6;cursor:default}
.watch-page .watch-stage{display:grid;grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:3px;height:clamp(360px,65dvh,680px);padding:0;border-radius:24px;background:#281735;isolation:isolate}.watch-page .watch-tile{aspect-ratio:auto;min-height:0;border-radius:0}.watch-page .watch-tile video{object-fit:cover}.watch-page .watch-name{left:12px;right:auto;bottom:10px;max-width:65%;padding:6px 10px;backdrop-filter:blur(8px);font-weight:700}.watch-page .watch-stage:after{content:'VS';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:2px solid #f3c6e8;background:#713380;color:#fff;font-size:11px;font-weight:900;z-index:3;pointer-events:none}.watch-page .watch-stage .watch-reactions{position:absolute;right:10px;bottom:14px;z-index:5;display:flex;flex-direction:column;gap:10px;margin:0}.watch-page .watch-reactions .watch-reaction{display:flex;flex-direction:column;gap:3px;min-width:52px;width:52px;min-height:64px;padding:8px 4px;border-radius:18px;background:#24152fba;border:1px solid #ffffff44;color:#fff;backdrop-filter:blur(10px);box-shadow:0 4px 16px #0002}.watch-stage .watch-reaction>span:first-child{font-size:25px}.watch-stage .watch-reaction>span:nth-child(2){font-size:9px}.watch-stage .watch-reaction b{color:#fff;font-size:11px}.watch-page .watch-clock{font-size:21px;margin:10px 0 4px}.watch-page .watch-privacy{font-size:10px;margin:10px 0 12px}
