/* A quiet, sequential entrance to the existing duel. */
.tb-setup{width:min(860px,100%);margin:20px auto 44px;padding:30px 38px;border:1px solid #ffffff24;border-radius:26px;background:linear-gradient(135deg,#ffffff12,#ffffff05);backdrop-filter:blur(22px);box-shadow:0 22px 70px #0003;color:#f4eee4}
.tb-setup-welcome{text-align:center;padding:68px 32px 52px;min-height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 0,#e2c48415,transparent 70%),linear-gradient(135deg,#ffffff12,#ffffff05)}
.tb-setup-welcome h1{white-space:pre-line;font:400 clamp(32px,4vw,52px)/1.35 var(--font-display,'MaruBuri',serif);margin:16px 0 22px;letter-spacing:-.035em}
.tb-setup-welcome>p:not(.tb-kicker){white-space:pre-line;color:#c8c4cc;line-height:1.85}
.tb-setup-welcome-actions{display:flex;gap:12px;justify-content:center;margin:30px 0 18px;flex-wrap:wrap}
.tb-setup .tb-primary,.tb-setup .tb-secondary{min-height:48px;padding:12px 24px;white-space:normal}
.tb-setup .tb-primary{background:linear-gradient(120deg,#e8d3a4,#c5a468);color:#231d16;border:1px solid #ead9b0;box-shadow:0 4px 24px #d2b07416}
.tb-setup .tb-secondary{background:#ffffff08;border:1px solid #ffffff2a;color:#e1dce5}
.tb-setup :is(button,input):focus-visible{outline:2px solid #f0d8a4;outline-offset:4px}
.tb-setup button:disabled{opacity:.4;cursor:not-allowed}
.tb-setup-progress{display:flex;list-style:none;padding:0;margin:0 0 32px;gap:8px}
.tb-setup-progress li{flex:1;position:relative;display:grid;gap:7px;justify-items:center;color:#aaa6b2;font-size:12px;text-align:center}
.tb-setup-progress li:after{content:'';position:absolute;top:15px;left:calc(50% + 22px);width:calc(100% - 36px);height:1px;background:#ffffff20}
.tb-setup-progress li:last-child:after{display:none}
.tb-setup-progress li>span{display:grid;place-items:center;width:31px;height:31px;border:1px solid #ffffff25;border-radius:50%;font-size:12px}
.tb-setup-progress .is-current{color:#f2d6a1}.tb-setup-progress .is-current>span{border-color:#e3c78b;background:#d9ba7b20;box-shadow:0 0 18px #d9ba7b20}
.tb-setup-progress .is-done>span{background:#ffffff10;color:#ddd4bd}
.tb-setup-heading h1{font-size:clamp(23px,3vw,32px);line-height:1.4;margin:10px 0 12px;letter-spacing:-.035em}
.tb-setup-heading>p:last-child{color:#c2bec8;font-size:14px;line-height:1.8;margin:0}
.tb-setup-content{margin:26px 0;min-height:210px}
.tb-setup .tb-daily-rival{display:grid;grid-template-columns:150px 1fr;gap:16px 24px;background:#ffffff06;border:1px solid #ffffff20;border-radius:18px;padding:20px;margin:0}
.tb-setup .tb-daily-rival>img{width:150px;height:180px;grid-row:span 2;border-radius:12px;object-fit:cover;object-position:50% 22%}
.tb-setup .tb-daily-rival h3{font-size:32px;margin:12px 0}.tb-setup .tb-daily-rival>small{grid-column:2;font-size:12px;line-height:1.8;color:#bbb5c2}
.tb-setup .tb-daily-rival time{display:block;margin-top:6px;color:#a8a1af}
.tb-setup-options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tb-setup-options-two{grid-template-columns:repeat(2,1fr)}
.tb-setup-option{position:relative;text-align:left;min-height:178px;padding:22px 18px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;border:1px solid #ffffff27;border-radius:16px;background:#ffffff05;color:#f4eee4;cursor:pointer}
.tb-setup-option:hover{background:#ffffff0d}.tb-setup-option[aria-pressed=true]{border-color:#e2c68b;background:linear-gradient(135deg,#e2c68b17,#ffffff07);box-shadow:inset 0 0 0 1px #e2c68b25}
.tb-setup-option strong{font-size:20px}.tb-setup-option small{line-height:1.8;color:#c0bac8;font-size:13px;word-break:keep-all}
.tb-setup-check{width:22px;height:22px;border:1px solid #ffffff35;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#e8cb90}
.tb-setup-info{padding:22px 24px;background:#ffffff08;border:1px solid #ffffff20;border-radius:15px;line-height:1.8}.tb-setup-info p{color:#c8c1ce;font-size:14px;margin:10px 0 0}
.tb-setup-risk{border-color:#e0bc7e44}.tb-setup-risk strong{color:#f1d8ac}
.tb-setup .tb-wager{margin:24px 0 0;background:#ffffff04;border:1px solid #ffffff23;border-radius:14px;padding:20px;min-width:0}
.tb-setup .tb-wager legend{font-size:13px;padding:0 8px;color:#c9c1cf}.tb-setup .tb-wager p{font-size:13px;line-height:1.75;color:#c3bec9}.tb-setup .tb-wager input{background:#0002;border:1px solid #ffffff30;color:#fff;padding:10px;border-radius:8px}
.tb-setup-note{font-size:13px;line-height:1.9;color:#bdb6c6;margin:20px 0 0}
.tb-setup .tb-setup-summary{margin:22px 0;display:grid;gap:0}
.tb-setup-summary>div{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #ffffff16;font-size:14px}
.tb-setup-summary dt{color:#b6b0c1}.tb-setup-summary dd{margin:0;overflow-wrap:anywhere}.tb-setup-summary .text-action{font-size:12px;color:#e2c68b;white-space:nowrap}
.tb-setup[data-setup-step="4"] .tb-setup-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;min-height:0}
.tb-setup[data-setup-step="4"] .tb-daily-rival{grid-template-columns:76px 1fr;padding:18px;gap:14px;align-content:start}
.tb-setup[data-setup-step="4"] .tb-daily-rival>img{width:76px;height:96px;grid-row:1}
.tb-setup[data-setup-step="4"] .tb-daily-rival h3{font-size:25px;margin:8px 0}
.tb-setup[data-setup-step="4"] .tb-daily-rival>small{grid-column:1/-1}
.tb-setup[data-setup-step="4"] .tb-daily-rival p{font-size:12px}
.tb-setup[data-setup-step="4"] .tb-setup-summary{margin:0}
.tb-setup[data-setup-step="4"] .tb-setup-summary>div{grid-template-columns:75px minmax(0,1fr) auto;gap:8px}
.tb-setup[data-setup-step="4"] :is(.tb-setup-note,.tb-setup-info){grid-column:1/-1;margin:0}
.tb-setup-footer{display:flex;justify-content:space-between;gap:18px;padding-top:24px;border-top:1px solid #ffffff1c}
.tb-setup-footer .tb-primary{min-width:160px}.tb-setup-footer .tb-primary span{margin-left:22px}
.tb-setup .tb-error:empty{display:none}.tb-setup .tb-error{font-size:14px;line-height:1.7}
.tb-setup .tb-deck-setup{padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;backdrop-filter:none}
.tb-setup .tb-deck-heading h2{font-size:17px}.tb-setup .tb-deck-choice{background:#ffffff06!important}.tb-setup .tb-deck-choice.is-active{border-color:#e2c68b;background:#e2c68b14!important}
.tb-setup .tb-deck-summary{background:#ffffff04}.tb-setup .tb-resume{max-width:560px;text-align:left;border:1px solid #ffffff25;border-radius:18px;padding:22px;background:#ffffff06;margin-top:18px;line-height:1.8}.tb-setup .tb-resume button{margin:10px 10px 10px 0}.tb-setup .tb-resume small{display:block;color:#bdb6c6}
.tb-setup-countdown{position:fixed;inset:0;z-index:170;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:radial-gradient(ellipse at center,#32303eea,#090a14f7);backdrop-filter:blur(20px);color:#f6e6c8;pointer-events:auto;text-align:center;padding:24px}
.tb-countdown-portrait{width:108px;height:108px;object-fit:cover;object-position:center 20%;border:2px solid #c5a468;border-radius:50%;box-shadow:0 0 60px #c5a46825}.tb-setup-countdown p{margin:0}
.tb-setup-countdown>strong{display:grid;place-items:center;font:400 clamp(110px,20vw,160px)/1.2 'MaruBuri',serif;height:210px;text-shadow:0 0 70px #e1bf7880}.tb-setup-countdown>strong.is-start{font-size:clamp(42px,8vw,72px)}.tb-setup-countdown>span{font-size:13px;color:#bab2c5}
@media(max-width:600px){.tb-setup{padding:22px 18px;margin:12px auto 30px;border-radius:20px}.tb-setup-welcome{padding:46px 20px;min-height:440px}.tb-setup-welcome-actions{flex-direction:column;width:100%}.tb-setup-progress{gap:0;margin-bottom:25px}.tb-setup-progress li:after{width:calc(100% - 43px)}.tb-setup-progress small{font-size:10px}.tb-setup-options{grid-template-columns:1fr;gap:10px}.tb-setup-option{min-height:0;padding:16px 18px;display:grid;grid-template-columns:24px 1fr;gap:5px 12px}.tb-setup-check{grid-row:span 2}.tb-setup-option strong{font-size:18px}.tb-setup-option small{grid-column:2}.tb-setup .tb-daily-rival{grid-template-columns:95px 1fr;padding:14px;gap:14px}.tb-setup .tb-daily-rival>img{width:95px;height:130px;grid-row:1}.tb-setup .tb-daily-rival h3{font-size:25px}.tb-setup .tb-daily-rival>small{grid-column:1/-1}.tb-setup .tb-daily-rival p{font-size:12px}.tb-setup .tb-setup-summary>div{grid-template-columns:72px minmax(0,1fr) auto;gap:10px;font-size:13px}.tb-setup-footer .tb-primary{min-width:120px}.tb-setup .tb-deck-heading{flex-wrap:wrap;gap:12px}.tb-setup .tb-deck-minis{display:none}.tb-setup .tb-stake-controls{flex-direction:column;align-items:stretch}.tb-setup .tb-stake-controls>div{flex-wrap:wrap}.tb-setup .tb-stake-controls button{padding:9px 14px}.tb-setup .tb-deck-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tb-setup[data-setup-step="4"] .tb-setup-content{grid-template-columns:1fr}.tb-setup[data-setup-step="4"] .tb-daily-rival>small{display:none}}
