*{box-sizing:border-box}body{margin:0;background:#fff8ed;color:#4c433c;font-family:'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,select:focus-visible{outline:4px solid #629eaa;outline-offset:3px}.header{display:flex;align-items:center;justify-content:space-between;padding:18px 4%;background:#fffcf5;border-bottom:1px solid #eee2cd;gap:20px}.brand{display:flex;gap:13px;align-items:center;font-weight:850;letter-spacing:1.5px;font-size:13px}.brand-icon{display:grid;place-items:center;background:#fff0c4;border:1px solid #efdaa9;border-radius:15px;font-size:29px;width:46px;height:46px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#a39982;margin-top:5px}.header-actions{display:flex;gap:9px}.soft-btn{border:1px solid #e7dcc9;background:#fffdfa;border-radius:11px;padding:10px 14px;font-size:12px;font-weight:650}.soft-btn:hover{background:#fcf0d8}.shell{max-width:1480px;margin:auto;padding:30px 4% 0}.hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;background:#fffdf7;border:1px solid #eadfc9;border-radius:26px;box-shadow:0 7px 0 #e9dcc444;overflow:hidden;margin-bottom:27px;min-height:350px}.hero-copy{padding:39px}.eyebrow{font-size:9px;color:#a49273;font-weight:800;letter-spacing:2px}.hero h1{font-size:clamp(38px,4.8vw,64px);line-height:1.13;letter-spacing:-2px;margin:18px 0}.hero h1 span{color:#de8867}.hero p{font-size:17px;color:#a2947f;line-height:1.65;margin:0 0 24px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:#ef956e;border:1px solid #df875e;border-bottom:4px solid #bf6948;border-radius:13px;color:#fffdf8;padding:14px 23px;font-size:16px;font-weight:800;transition:transform .2s,background .2s}.primary:hover{background:#f3a27f;transform:translateY(-1px)}.primary:active{transform:translateY(1px)}.hero-art{min-height:340px;background:#fff2d9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.hero-art>span{font-size:88px}.hero-art p{font-size:16px;color:#b19558;font-weight:750}.section-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.8px;font-weight:800;color:#9a8c75;margin:22px 4px 16px}.section-heading span{letter-spacing:0;font-weight:500}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.team-0{--team:#e9b65e;--tint:#fff5db;--ink:#9f7a3d}.team-1{--team:#95b9d4;--tint:#eff6fc;--ink:#6f91ae}.team-2{--team:#acbf8c;--tint:#f1f6e9;--ink:#80935e}.team-3{--team:#c6a2c4;--tint:#fbf0f8;--ink:#a180a0}.team-card{border:1px solid #e5dfcd;background:#fffef9;border-radius:20px;padding:23px;box-shadow:0 4px 0 #e6dbc233;min-width:0}.team-top{display:flex;align-items:center;gap:12px}.team-avatar{font-size:31px;display:grid;place-items:center;width:49px;height:49px;border:1px solid var(--team);background:var(--tint);border-radius:15px;flex:none}.team-top b{font-size:17px;overflow-wrap:anywhere;display:block}.team-top small{display:block;font-size:9px;color:#a79d88;margin-top:5px;letter-spacing:.5px}.balance{font-size:36px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:8px;margin:16px 0}.balance span{font-size:25px}.balance small{font-size:12px;font-weight:500;color:#aa9e83}.bet-chips{display:flex;gap:9px}.bet-chip{flex:1;padding:9px;border:1px solid #e9dfc8;border-bottom:3px solid #e4d7b9;border-radius:10px;background:#fcf5e4;color:#ab9360;font-size:16px;font-weight:750}.bet-chip:hover{background:#fff0c4}.bet-chip.selected{background:#f8d784;border-color:#e5c36e;color:#937236}.legend{display:flex;align-items:center;justify-content:center;gap:28px;border:1px dashed #e2d5b6;border-radius:13px;padding:15px;margin-top:24px;color:#aa9877;font-size:12px}.legend b{font-weight:750;color:#8b7a5c}.shell footer{display:flex;justify-content:space-between;font-size:9px;color:#ae9f86;padding:23px 3px 20px}.shell footer span:first-child{color:#a18a69}@media(min-width:1600px){.hero{min-height:400px}.hero-art{min-height:400px}}@media(max-width:900px){.shell{padding-top:20px}.hero-copy{padding:28px}.hero h1{font-size:44px}.hero p{font-size:15px}.hero-art{min-height:330px}.team-card{padding:17px}.team-top b{font-size:15px}.team-avatar{width:40px;height:43px;font-size:26px}.balance{font-size:30px}}@media(max-width:650px){.header{padding:14px 4%}.brand{font-size:11px;gap:9px}.brand-icon{width:37px;height:39px;font-size:25px}.brand small{font-size:8px}.header-actions{gap:6px}.soft-btn{font-size:11px;padding:8px 10px}.hero{grid-template-columns:1fr}.hero-copy{padding:28px}.hero h1{font-size:46px}.hero-art{min-height:220px}.team-grid{grid-template-columns:1fr}.team-card{padding:18px}.team-top b{font-size:17px}.balance{font-size:30px}.legend{gap:14px;flex-wrap:wrap;font-size:10px}.section-heading{font-size:9px}.shell footer{font-size:8px;gap:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Game surfaces: large type, warm paper, one clear action per step. */
.primary{color:#623b27}.primary:hover{color:#623b27}
.hero-art{align-self:stretch;min-height:370px;background:#fff7e8 url("auction-card.png") no-repeat right 28%;background-size:190% auto}
.hero-buttons{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.resume{padding:14px 18px}
.preview-chips span{flex:1;text-align:center;padding:9px;border:1px solid #e9dfc8;border-radius:10px;background:#fcf5e4;color:#917545;font-size:17px;font-weight:750}
.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.count-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.playing{padding-top:18px}.round-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.round-label{font-size:15px;color:#8c806c;white-space:nowrap}.round-label>span{font-size:10px;letter-spacing:1px}.round-label b{font-size:29px;color:#655641}
.steps{display:flex;align-items:center;gap:17px;font-size:13px;color:#a99d86}.steps>span{display:flex;gap:8px;align-items:center;padding:9px 14px;border:1px solid transparent;border-radius:30px}.steps i{font-style:normal;color:#c9bba2}.steps .active{background:#f9e3c5;color:#956448;border-color:#efd1a4}.steps .done{color:#859267}
.round-progress{width:100px;height:6px;background:#ede2ce;border-radius:5px;overflow:hidden}.round-progress i{display:block;height:100%;background:#a3b689;border-radius:5px;transition:width .4s}
.question-board{background:#fffdf8;border:1px solid #e7dac4;border-radius:23px;padding:23px 30px;box-shadow:0 5px 0 #e9dcc433;margin-bottom:19px;animation:arrive .35s ease}
.question-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#a1845d;font-size:14px;font-weight:650;min-height:34px}
.question-text{font-size:clamp(24px,2.2vw,34px);line-height:1.3;letter-spacing:-.6px;margin:16px 0 22px;color:#514435}
.options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option{display:flex;align-items:center;gap:13px;background:#faf5ea;border:1px solid #e9dfca;border-radius:13px;padding:16px;font-size:clamp(17px,1.65vw,25px);line-height:1.4;min-height:75px;position:relative}.option-letter{width:36px;height:36px;border-radius:10px;border:1px solid #dcccaf;background:#fffdf8;display:grid;place-items:center;flex:none;font-weight:850;font-size:18px;color:#8c7452}.option.correct{background:#ecf3de;border-color:#a1b777;color:#4f6837;animation:correct-pop .4s ease}.option.correct .option-letter{background:#a5bc7c;color:white;border-color:#90aa65}.option.muted{opacity:.62}.option.eliminated{opacity:.4;text-decoration:line-through}.option small{position:absolute;right:10px;bottom:4px;font-size:10px;line-height:1}.answer-check{margin-left:auto;font-size:25px;color:#739745}
.teacher-hint{font-size:12px;text-align:center;color:#97896e;margin:15px 0 0}.timer{border:1px solid #e9d0a2;background:#fff1d2;border-radius:20px;padding:7px 14px;font-size:17px;min-width:86px;font-weight:800;color:#a28346;font-variant-numeric:tabular-nums}.timer.urgent{color:#b9694e;background:#ffe7d9}
.correct-tag{color:#728b4f;background:#eef4e2;padding:8px 14px;border-radius:20px;font-size:14px}.explanation{display:flex;gap:13px;align-items:center;margin-top:17px;padding:12px 16px;background:#fff4db;border-radius:13px;color:#8a7249}.explanation>span{font-size:26px}.explanation p{margin:0;font-size:17px;line-height:1.5}
.bid-board{display:flex;align-items:center;justify-content:space-between;padding:28px 5%;min-height:245px;gap:20px;background:linear-gradient(105deg,#fffcf4,#fff4df)}
.sealed{position:relative;padding-left:92px}.sealed>span{font-size:60px;position:absolute;left:0;top:20px;color:#d9a46d;animation:float 4s ease-in-out infinite}.sealed h1{font-size:clamp(28px,3.2vw,46px);letter-spacing:-1px;margin:15px 0}.sealed p{font-size:16px;color:#a08c6c;margin:0}
.bid-guide{display:flex;align-items:center;gap:12px}.bid-guide b{width:60px;height:60px;border-radius:50%;border:2px solid #e7c270;background:#f7d98a;box-shadow:0 4px 0 #dcb364;text-align:center;line-height:55px;color:#a78038;font-size:25px}.bid-guide span{font-size:12px;line-height:1.8;margin-left:5px;color:#a88c56}
.playing .team-card{padding:18px}.playing .team-top b{font-size:18px}.playing .balance{margin:12px 0;font-size:34px}.playing .balance small{font-size:12px}.playing .team-top small{font-size:9px}
.power{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e4d6bf;background:#fffaf1;border-radius:9px;padding:8px 10px;font-size:16px;font-weight:800;white-space:nowrap}.power span{font-size:12px;font-weight:600}.power:hover{background:#f8edd7}.double-power{margin-top:10px;width:100%}.power.chosen{background:#f2e3f0;border-color:#cbb0c9;color:#9a7597}.powers{display:flex;gap:8px;margin-top:10px}.powers .power{flex:1;min-width:0}.power:disabled{opacity:.32}
.stake{font-size:12px;color:#a38c68;text-align:center;margin:10px 0;min-height:17px}.stake b{color:#937647}.lock-btn{width:100%;background:var(--tint);border:1px solid var(--team);border-bottom:3px solid var(--team);color:var(--ink);border-radius:10px;padding:10px 8px;font-size:14px;font-weight:800}.lock-btn:hover{filter:brightness(.98)}.lock-btn.locked{background:var(--team);color:#fff}.card-locked{border-color:var(--team);box-shadow:0 4px 0 var(--tint)}
.lock-btn.locked{color:#514332}.answer-picks{display:flex;gap:8px;margin:9px 0}.answer-picks button{flex:1;padding:9px 0;background:#fcf7ee;border:1px solid #e5d9c2;border-bottom:3px solid #e2d3b6;border-radius:9px;font-size:18px;font-weight:800;color:#9a8663}.answer-picks .selected{background:var(--tint);border-color:var(--team);color:var(--ink);transform:translateY(-2px)}.answer-picks button:disabled{opacity:.32}
.action-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:21px}.action-bar>span{font-size:13px;color:#978566}.action-bar .primary{min-width:240px}
.team-result{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:12px;padding:14px 13px;background:#f1f5e8;animation:correct-pop .45s ease}.team-result.negative{background:#fff0e6}.positive{color:#7a934f}.negative{color:#bd8465}.team-result>span{font-size:13px;font-weight:650}.team-result strong{font-size:31px;white-space:nowrap}.team-result small{font-size:12px}
.recovery{background:#f1f5e8;color:#829158;padding:12px;border-radius:10px;text-align:center;font-size:13px;font-weight:650}
.final-shell{max-width:1100px}.winner-banner{text-align:center;padding:22px 20px 30px}.trophy{font-size:76px;margin:15px 0 8px;animation:float 4s ease-in-out infinite}.winner-banner h1{font-size:clamp(30px,3.5vw,49px);letter-spacing:-1px;margin:12px 0;color:#9e7842;overflow-wrap:anywhere}.winner-banner p{color:#a08d6e;font-size:17px;margin:12px 0}.winner-banner>strong{font-size:48px;color:#d9a34e;display:block;margin-top:14px}.winner-banner>strong small{font-size:19px;font-weight:500}
.ranking{display:grid;gap:13px}.rank-row{display:flex;align-items:center;gap:21px;background:#fffdf7;border:1px solid #e6dac5;border-radius:17px;padding:17px 23px}.rank-number{width:35px;text-align:center;color:#bdad8f;font-weight:800;font-size:23px}.rank-row>.team-top{flex:1}.rank-row>strong{font-size:31px;color:var(--ink)}.rank-row>strong small{font-size:13px;font-weight:500}.rank-change{width:55px;text-align:right;font-size:16px;font-weight:750}.final-actions{display:flex;justify-content:center;gap:15px;margin:27px 0}
dialog{border:1px solid #e3d6bd;border-radius:23px;padding:30px;width:min(640px,calc(100% - 32px));max-height:88vh;color:#594b3a;background:#fffaf0;box-shadow:0 25px 100px #66523c33;overflow:auto}dialog::backdrop{background:#524a3b80;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:24px}.dialog-top h2{margin:6px 0 0;font-size:29px;letter-spacing:-.6px}.close{border:1px solid #e1d6c1;background:#fffdf7;border-radius:50%;width:35px;height:35px;font-size:24px;line-height:1;flex:none}.setup-row{display:flex;gap:15px;margin:17px 0}.setup-row>label{flex:1;min-width:0;font-size:13px;font-weight:650;color:#948365}.setup-row select{display:block;width:100%;margin-top:8px;padding:12px 10px;border:1px solid #e0d3b7;background:#fffdf6;border-radius:10px;color:#7d6a4c;font-size:14px}.team-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.name-field{display:flex;align-items:center;gap:10px;padding:11px;background:var(--tint);border:1px solid var(--team);border-radius:11px}.name-field>span{font-size:26px}.name-field input{min-width:0;width:100%;border:0;background:transparent;font-size:16px;color:#6a5c45;outline-offset:6px}.name-field[hidden]{display:none}.check-label{display:flex;align-items:center;gap:8px;font-size:12px!important}.check-label input{accent-color:#d79970;width:17px;height:17px}.muted-note{font-size:13px;line-height:1.7;color:#99866a}.wide{width:100%}.form-error{color:#b16450;font-size:13px;margin:12px 0 0}.form-error:empty{display:none}.rules{padding-left:24px;font-size:16px;line-height:1.7}.rules li{padding-left:8px;margin:15px 0}.help-powers{border:1px solid #e2d5bd;border-radius:12px;padding:6px 17px;background:#fffdf7}.help-powers p{display:flex;gap:15px;font-size:13px;line-height:1.6}.help-powers b{width:112px;flex:none}.help-powers span{color:#9a886c}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.partner-list{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 10px}.partner-list button{background:var(--tint);border-color:var(--team);font-size:18px;padding:16px}.review-list{display:grid;gap:10px}.review-list details{border:1px solid #e6dac2;border-radius:12px;background:#fffdf7;padding:14px}.review-list summary{cursor:pointer;font-size:16px;font-weight:700}.review-list summary>span{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f5e3ba;color:#a1854b;margin-right:10px;font-size:13px}.review-list h3{font-size:16px;line-height:1.6}.review-list p{font-size:14px;line-height:1.7;color:#988264}.review-list .review-answer{color:#7c9258;font-weight:700}.review-list small{color:#b2a084;font-size:11px}
#toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);background:#665640;color:#fff8e8;border-radius:13px;padding:14px 22px;font-size:15px;z-index:999;box-shadow:0 5px 20px #6a533344;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;max-width:min(600px,90vw);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:100}.confetti i{position:absolute;width:9px;height:16px;top:-20px;left:var(--x);border-radius:3px;animation:confetti-fall 2.3s var(--delay) ease-in both}
@keyframes arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes correct-pop{0%{transform:scale(.97)}60%{transform:scale(1.02)}100%{transform:scale(1)}}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes confetti-fall{0%{transform:translateY(-20px) rotate(0);opacity:1}100%{transform:translateY(100vh) rotate(var(--rotate));opacity:0}}
@media(min-width:1400px){.playing .team-top b{font-size:21px}.playing .lock-btn{font-size:17px}.playing .power span{font-size:14px}.playing .stake{font-size:14px}.playing .team-result>span{font-size:16px}.action-bar>span{font-size:16px}}
@media(max-height:850px) and (min-width:1000px){body:has(.playing) .header{padding-top:10px;padding-bottom:10px}.playing{padding-top:12px}.playing .round-row{margin-bottom:12px}.playing .round-label b{font-size:23px}.playing .question-board{padding:15px 22px;margin-bottom:13px}.playing .bid-board{min-height:193px}.playing .question-meta{min-height:27px;font-size:12px}.playing .question-text{font-size:26px;margin:10px 0 15px}.playing .option{font-size:18px;min-height:59px;padding:10px 12px}.playing .option-letter{width:30px;height:30px;font-size:16px}.playing .teacher-hint{margin-top:11px;font-size:11px}.playing .team-card{padding:13px 15px}.playing .team-top b{font-size:17px}.playing .team-avatar{width:39px;height:39px;font-size:27px;border-radius:12px}.playing .balance{font-size:28px;margin:7px 0}.playing .balance>span{font-size:21px}.playing .bet-chip{padding:6px}.playing .power{padding:5px 8px}.playing .double-power,.playing .powers{margin-top:7px}.playing .stake{margin:6px 0;font-size:11px}.playing .answer-picks{margin:6px 0;gap:6px}.playing .answer-picks button{padding:6px 0;font-size:16px}.playing .lock-btn{padding:7px;font-size:12px}.playing .action-bar{margin-top:13px}.playing .action-bar .primary{padding:11px 18px;font-size:14px}.playing footer{display:none}.playing .explanation{padding:9px 12px;margin-top:12px}.playing .explanation p{font-size:15px}.playing .team-result{padding:10px}.playing .team-result strong{font-size:26px}}
@media(max-width:1100px){.bid-guide{gap:7px}.bid-guide b{width:47px;height:47px;line-height:43px;font-size:20px}.bid-guide span{display:none}.sealed{padding-left:72px}.sealed>span{font-size:48px}.playing .count-4 .team-card{padding:13px 11px}.count-4 .team-top{gap:8px}.count-4 .team-top b{font-size:15px}.count-4 .team-avatar{width:35px;height:36px;font-size:25px}.count-4 .power{gap:4px}.count-4 .power span{font-size:10px}}
@media(max-width:900px){.hero-art{background-size:210% auto;min-height:355px}.round-progress{display:none}.steps{gap:8px;font-size:12px}.steps>span{padding:8px 10px}.bid-guide{display:none}.question-board{padding:20px}.question-text{font-size:25px}.option{font-size:18px;padding:13px;min-height:75px}.playing .count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.count-4 .team-top b{font-size:18px}.count-4 .power span{font-size:12px}.playing .team-card{padding:15px}.action-bar .primary{min-width:200px}.header .fullscreen span{display:none}}
@media(max-width:650px){.hero-art{min-height:280px;background-size:180% auto;background-position:right 28%}.hero-buttons{align-items:stretch;flex-direction:column}.count-2,.count-4,.playing .count-4{grid-template-columns:1fr}.round-row{flex-wrap:wrap;gap:12px}.steps{order:2;width:100%;justify-content:center;font-size:11px;gap:8px}.steps>span{padding:7px}.question-board{padding:17px}.question-text{font-size:24px;line-height:1.4;margin-top:14px}.options{grid-template-columns:1fr;gap:10px}.option{font-size:17px;min-height:67px}.teacher-hint{font-size:11px;line-height:1.5}.sealed{padding-left:0}.sealed>span{position:static;display:block;font-size:40px;margin-bottom:13px}.sealed h1{font-size:29px;letter-spacing:-.5px}.sealed p{font-size:14px}.bid-board{min-height:200px}.explanation p{font-size:15px}.action-bar{flex-direction:column;gap:13px}.action-bar .primary{width:100%}.playing footer{padding-bottom:23px}.header-actions .soft-btn{font-size:10px;padding:8px}.header{gap:9px}.header .brand small{letter-spacing:1px}.header .brand{font-size:9px;letter-spacing:1px}.header .brand-icon{width:32px;height:34px;font-size:23px}.team-fields{grid-template-columns:1fr}.setup-row{flex-direction:column}.dialog-top h2{font-size:25px}dialog{padding:23px}.help-powers p{flex-direction:column;gap:3px}.rank-row{gap:10px;padding:14px}.rank-number{width:25px;font-size:18px}.rank-row .team-avatar{width:35px;height:35px;font-size:25px}.rank-row .team-top{gap:9px}.rank-row .team-top b{font-size:16px}.rank-row>strong{font-size:25px}.rank-change{display:none}.winner-banner{padding-top:15px}.trophy{font-size:64px}.final-actions{flex-wrap:wrap}.final-actions .primary{flex:1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
