/* Team format choice and one large, navigable result instead of tiny cards. */
.setup-team-styles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 0;padding:0;border:0}.setup-team-styles legend{font-size:15px;font-weight:800;color:#c8dbef;margin-bottom:12px}.setup-team-styles button{display:flex;flex-direction:column;gap:8px;text-align:left;background:#15243d;color:#bdd4ea;border:1px solid #465e83;border-radius:13px;padding:16px}.setup-team-styles button.selected{background:#2b2d4d;border-color:#a895ed;box-shadow:0 0 16px #9d81e619}.setup-team-styles b{font-size:16px}.setup-team-styles small{font-size:12px;line-height:1.6;color:#a6bfda}.cooperative-problem #turn-close-math,.cooperative-problem .turn-math-reference{display:none!important}.cooperative-arena .participant-live>span{line-height:1.5}.screen-turns-results{overflow:hidden;gap:14px}.result-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}.result-gallery-heading h1{font-size:clamp(24px,2.5vw,40px);margin-top:4px}.result-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,30%);gap:20px;min-height:0;flex:1;padding-bottom:4px}.result-hero{display:flex;flex-direction:column;gap:14px;padding:20px;background:radial-gradient(ellipse at 50% 50%,#263d57,#142039);border:1px solid #5a7297;border-radius:24px;min-height:0;overflow:hidden;box-shadow:0 6px 0 #060c20}.result-hero.place-1{border-color:#d6b65f;background:radial-gradient(ellipse at 50% 50%,#3b3c50,#1c253d)}.result-hero.place-2{border-color:#b4cbe4}.result-hero.place-3{border-color:#d6a278}.result-hero>header{display:flex;align-items:center;gap:18px;flex-shrink:0}.result-crown{display:flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0}.result-crown .podium-crown{height:54px;width:68px}.result-crown>span{font-size:11px;color:#c8d6e8}.result-identity{min-width:0;flex:1}.result-identity h2{font-size:clamp(23px,2.3vw,36px);overflow-wrap:anywhere;line-height:1.15}.result-identity p{color:#a6c4e0;font-size:12px;margin-top:7px;line-height:1.5}.result-hero-score{font-size:clamp(30px,3.2vw,48px);font-weight:900;color:#a7f0f5;text-align:center;line-height:1.1;flex-shrink:0}.place-1 .result-hero-score{color:#ffe096}.result-hero-score small{display:block;font-size:11px;color:#adc5dd;margin-top:5px;font-weight:700}.result-bee-stage{container-type:size;position:relative;min-height:0;flex:1;width:100%;border:1px solid #60728e66;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse,#34476055,#14283f44)}.result-bee-stage .placed{outline:0!important;cursor:default;pointer-events:none}.result-bee-stage .base-piece{pointer-events:none}.result-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.result-gallery-controls>span{font-size:12px;color:#bdd3ea}.result-gallery-controls .btn{min-height:42px;font-size:12px}.result-stat-panel{display:flex;flex-direction:column;gap:14px;background:linear-gradient(145deg,#1b2843,#151e36);border:1px solid #435c83;border-radius:22px;padding:20px;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#536d95 transparent}.result-stat-title{flex-shrink:0}.result-stat-title h2{font-size:25px;margin-top:5px;overflow-wrap:anywhere}.result-stat-title .eyebrow{font-size:8px;color:#8dcbdc}.result-small-link{font-size:11px;color:#a5dce9;background:#223a53;border:1px solid #4e6d94;border-radius:7px;padding:7px 9px;margin-top:10px}.result-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex-shrink:0}.result-stat-grid>div{background:#13223a;border:1px solid #344e72;border-radius:10px;padding:11px;min-width:0}.result-stat-grid small{display:block;font-size:10px;color:#9eb7d6;margin-bottom:6px}.result-stat-grid b{font-size:23px;color:#d8efff;line-height:1.2;overflow-wrap:anywhere}.result-time-bonus{font-size:12px;color:#bfc0eb;padding:10px;border:1px solid #54476f;background:#27253f;border-radius:10px;flex-shrink:0}.result-members{display:flex;flex-direction:column;gap:10px;min-height:140px;flex:1}.result-members h3{font-size:17px}.result-members>p{font-size:11px;line-height:1.6;color:#9db7d7}.result-member-list{display:flex;flex-direction:column;gap:7px;overflow:auto;min-height:75px;flex:1;scrollbar-width:thin;scrollbar-color:#506c92 transparent}.result-member-list>button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;background:#142640;border:1px solid #3c577e;border-radius:10px;color:#c3dbed;text-align:left;flex-shrink:0;min-width:0}.result-member-list>button.selected{background:#30405b;border-color:#8bcbdc}.result-member-list>button>span{font-size:13px;overflow-wrap:anywhere;min-width:0}.result-member-list small{display:block;font-size:9px;color:#91accd;line-height:1.5;margin-top:4px}.result-member-list>button>b{font-size:19px;color:#b6e6ee;text-align:right;flex-shrink:0}.result-ranking-rule{font-size:10px;color:#94aacd;line-height:1.7;flex-shrink:0}.result-gallery-footer{display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0}.result-gallery-footer .btn{font-size:12px;min-height:40px}
@media(min-width:1600px){.result-hero{padding:26px}.result-crown .podium-crown{height:70px;width:86px}.result-crown>span{font-size:14px}.result-stat-panel{padding:25px;gap:18px}.result-stat-title h2{font-size:32px}.result-stat-grid b{font-size:29px}.result-stat-grid small{font-size:13px}.result-identity p{font-size:15px}.result-member-list>button>span{font-size:16px}.result-member-list small{font-size:12px}.result-gallery-controls .btn,.result-gallery-footer .btn{min-height:47px;font-size:15px}}
@media(max-width:1100px){.result-gallery{grid-template-columns:minmax(0,1fr) 270px;gap:12px}.result-hero{padding:13px;gap:10px}.result-hero>header{gap:10px}.result-crown .podium-crown{height:44px;width:56px}.result-identity h2{font-size:23px}.result-identity p{font-size:10px}.result-hero-score{font-size:30px}.result-hero-score small{font-size:9px}.result-stat-panel{padding:14px;gap:10px}.result-stat-grid{gap:7px}.result-stat-grid>div{padding:9px}.result-stat-grid b{font-size:21px}.result-stat-title h2{font-size:22px}.result-gallery-controls .btn{min-height:35px;font-size:10px;padding:8px}.result-gallery-controls>span{font-size:10px}}
@media(max-height:650px) and (orientation:landscape){.screen-turns-results{gap:8px}.result-gallery-heading h1{font-size:24px}.result-gallery-heading .eyebrow{font-size:7px}.result-hero{padding:10px;gap:8px}.result-hero>header{gap:8px}.result-crown .podium-crown{height:32px;width:43px}.result-crown>span{font-size:8px}.result-identity h2{font-size:20px}.result-identity p{font-size:9px;margin-top:3px}.result-hero-score{font-size:28px}.result-hero-score small{font-size:8px}.result-gallery-controls .btn{font-size:9px;min-height:29px;padding:6px 8px}.result-gallery-footer .btn{min-height:30px;font-size:10px;padding:7px 12px}.result-stat-title h2{font-size:20px}.result-stat-grid small{font-size:9px}.result-stat-grid b{font-size:18px}.result-stat-grid>div{padding:8px}.result-stat-panel{padding:12px;gap:9px}.result-time-bonus{padding:7px;font-size:10px}.result-member-list>button{padding:8px}.result-members h3{font-size:14px}.result-members>p{font-size:9px}.result-members{gap:7px}.result-ranking-rule{font-size:9px}.setup-team-styles{margin-top:12px}.setup-team-styles button{padding:12px}.setup-team-styles b{font-size:13px}.setup-team-styles small{font-size:11px}}
@media(max-width:700px) and (orientation:portrait){.screen-turns-results{overflow:auto;flex:none}.result-gallery{display:flex;flex-direction:column;flex:none}.result-hero{height:65dvh;min-height:390px}.result-stat-panel{max-height:75dvh;min-height:350px}.result-gallery-heading h1{font-size:25px}.result-gallery-heading>.btn{font-size:9px;padding:8px}.setup-team-styles{grid-template-columns:1fr}.result-gallery-footer{padding-bottom:20px}.result-identity h2{font-size:21px}.result-hero-score{font-size:28px}}
