/* Chalna Together: same paper, type and gutters as the existing site. */
.together-page{background:#f7f8f2;color:#192d25}
.together-page main.together{max-width:1100px;margin:auto;padding:30px var(--pg-gutter,32px) 48px}
.together-intro{margin:0 0 26px}
.together-eyebrow{margin:0 0 7px;font-size:12px;font-weight:700;color:#27694e;letter-spacing:.08em}
.together-intro h1{font-size:clamp(27px,3.3vw,36px);line-height:1.3;letter-spacing:-1.2px;margin:0 0 9px}
.together-intro .lead{font-size:14px;color:#53665a;line-height:1.7;margin:0}
.together-workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.45fr);gap:20px;align-items:start}
.together-panel{border:1px solid #dce3d8;background:#fffefa;border-radius:20px;padding:24px;min-width:0}
.together-panel h2{font-size:19px;letter-spacing:-.5px;line-height:1.4;margin:0 0 6px}
.together-input-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.together-input-top h2{margin:0}.together-input-top span{font-size:12px;color:#32634b;white-space:nowrap}
.together-page label{font-size:14px;font-weight:500}
.together-names{display:block;width:100%;height:164px;min-height:130px;resize:vertical;padding:12px;font:inherit;font-size:16px;line-height:1.7;background:#f8faf5;border:1px solid #d7e1d5;border-radius:12px;color:inherit}
.together-note{font-size:12px;line-height:1.7;color:#596c5e;margin:10px 0 0}
.together-names::placeholder{color:#697a6d;font-size:13px}
.together-page button,.together-page input,.together-page textarea{font-family:inherit;touch-action:manipulation}
.together-page button{cursor:pointer}
.together-page button:disabled{cursor:default;opacity:.45}
.together-page :is(button,input,textarea,a):focus-visible{outline:3px solid #397c5b;outline-offset:3px}
.together-page [hidden]{display:none!important}
.together-fill{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 0 10px;border-bottom:1px solid #e4e9df}
.together-fill label{font-size:12px;color:#53665a}
.together-fill input{width:57px;padding:7px 4px;border:1px solid #d4ded2;border-radius:8px;font-size:16px;text-align:center;background:#fff;color:inherit}
.together-fill button,.together-plain{background:transparent;border:0;padding:8px 2px;font-size:12px;color:#32664c;text-decoration:underline;text-underline-offset:3px}
.together-plain{margin-left:auto;color:#667467}
.together-mode{display:flex;gap:6px;flex-wrap:wrap;border:0;padding:0;margin:14px 0 12px;min-width:0}
.together-mode legend{font-size:13px;font-weight:600;margin-bottom:9px}
.together-mode label{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;white-space:nowrap;padding:10px 6px;min-height:44px;background:#f1f5ed;border:1px solid #dce4d7;border-radius:10px;font-size:12px;cursor:pointer}
.together-mode label:has(input:checked){background:#e4efe2;border-color:#739b78;color:#1c6244}
.together-mode input{accent-color:#246b4e;margin:0;width:15px;height:15px;flex-shrink:0}
.together-amount-row{display:flex;gap:12px;align-items:center;justify-content:space-between}
.together-amount-row input{width:78px;min-height:44px;padding:7px 10px;font-size:18px;color:inherit;border:1px solid #cbd9c9;border-radius:10px;background:#fff;text-align:center}
.together-amount-hint{margin:6px 0 10px;font-size:12px;color:#68786b}
.together-leader-check{display:flex;gap:8px;align-items:center;min-height:36px;font-size:13px!important;cursor:pointer;margin-bottom:16px}
.together-leader-check input{accent-color:#246b4e;width:17px;height:17px;margin:0}
.together-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border:1px solid transparent;border-radius:12px;background:#216b4f;color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.together-form .together-primary{width:100%}
.together-secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 12px;border:1px solid #d5dfd1;border-radius:10px;background:#fffefa;color:#2d5841;font-size:12px;font-weight:600}
.together-error{font-size:13px;color:#9b3d33;line-height:1.6;margin:0 0 12px}.together-error:empty{display:none}
.together-result{scroll-margin-top:16px;min-height:470px;margin:0}
.together-result-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid #e3e9dc}
.together-result-top p{font-size:12px;color:#617163;margin:0}
.together-result-actions{display:flex;gap:6px;flex-wrap:wrap}
.together-empty{padding:62px 8px 48px;text-align:center;color:#5e7462}
.together-empty h3{font-size:18px;color:#345b43;margin:20px 0 6px;letter-spacing:-.5px}
.together-empty p{font-size:13px;margin:0}
.together-empty-symbol{display:flex;gap:10px;justify-content:center;align-items:flex-end;height:70px}
.together-empty-symbol i{display:block;width:45px;height:54px;border-radius:12px;background:#e8efdf;border:1px solid #d2e0cc;position:relative}
.together-empty-symbol i:nth-child(2){height:70px;background:#ddebd9}
.together-empty-symbol i::before{content:'';position:absolute;width:13px;height:13px;border-radius:50%;background:#92af90;left:15px;top:12px}
.together-empty-symbol i::after{content:'';position:absolute;width:23px;height:7px;border-radius:6px;background:#c0d2b9;left:10px;bottom:10px}
.together-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.together-cards:empty{display:none}
.together-team{border:1px solid #dbe4d4;border-radius:15px;background:#f7faf1;min-width:0;padding:16px}
.together-team[data-tone="1"]{background:#f4f6ed}.together-team[data-tone="2"]{background:#edf5ef}.together-team[data-tone="3"]{background:#f7f4ea}
.together-team-heading{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:12px}
.together-team h3{font-size:16px;line-height:1.4;margin:0;color:#28533c}
.together-team-heading>span{font-size:var(--reading-min,12px);color:#617361;white-space:nowrap}
.together-team ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.together-team li{display:flex;gap:7px;align-items:start;justify-content:space-between;font-size:14px;line-height:1.6;color:#253c2d}
.together-member-name{overflow-wrap:anywhere;min-width:0;white-space:pre-wrap}
.together-leader{flex-shrink:0;padding:1px 6px;border-radius:5px;background:#dcebd5;color:#315b37;font-size:var(--reading-min,12px);line-height:1.8}
.together-stale{padding:10px 12px;border-radius:10px;background:#f5efdc;color:#695a2f;font-size:12px;margin:16px 0 0}
.together-manual textarea{width:100%;min-height:160px;resize:vertical;background:#fff;color:inherit;border:1px solid #cdd8c9;border-radius:10px;font-size:15px;padding:12px}
.together-manual label{display:block;margin:12px 0 6px;font-size:12px}
.together-status{font-size:13px;line-height:1.7;color:#286247;min-height:24px;margin:16px 0 0}
.together-how{margin-top:36px;padding-top:28px;border-top:1px solid #dce3d6}
.together-how h2{font-size:21px;letter-spacing:-.6px;margin:0 0 18px}
.together-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:26px}
.together-steps h3{font-size:15px;margin:0 0 8px;color:#2e5e43}
.together-steps p,.together-how>p{font-size:13px;color:#5e6d60;line-height:1.8;margin:0}
.together-how details{padding:14px 0;border-bottom:1px solid #e0e6db}
.together-how summary{font-size:14px;cursor:pointer;color:#2f4d39}
.together-how details p{font-size:13px;line-height:1.8;color:#5e6d60;margin:12px 0 3px}
.together-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.together-shortcuts a{font-size:13px;color:#2c6347;text-underline-offset:4px;min-height:36px;align-content:center}
.together-full{overflow:hidden}.together-full #team-result{position:fixed;inset:0;z-index:30000;overflow:auto;background:#f7f8f2;border:0;border-radius:0;padding:24px max(20px,calc((100vw - 1100px)/2)) 40px;min-height:100dvh}
.together-full .together-cards{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.together-full #team-full{display:none}
.together-full .together-team li{font-size:clamp(16px,1.5vw,23px)}.together-full .together-team h3{font-size:22px}
.together-full>.pg-site-header,.together-full>footer,.together-full .together-how,.together-full [data-together-ad]{display:none!important}
@media(hover:hover){.together-primary:hover{background:#17573e}.together-secondary:hover{background:#eaf2e4}}
@media(max-width:760px){.together-workspace{grid-template-columns:minmax(0,1fr)}.together-panel{padding:20px}.together-result{min-height:330px}.together-empty{padding:30px 8px}.together-steps{grid-template-columns:1fr;gap:17px}}
@media(max-width:380px){.together-panel{padding:16px}.together-cards{grid-template-columns:1fr}.together-result-top{gap:14px}.together-result-actions{width:100%}.together-result-actions button{flex:1}.together-intro .lead{font-size:13px}}
@media print{.together-page>*:not(main),.together-intro,.together-form,.together-how,.together-result-actions,.together-status{display:none}.together-workspace{display:block}.together-panel{border:0}.together-team{break-inside:avoid}}

.together-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Together tool navigation and name-race stage. */
.together-tools{display:flex;gap:6px;flex-wrap:wrap;margin:-6px 0 22px;padding:5px;background:#eaf0e5;border:1px solid #dce5d5;border-radius:13px;width:fit-content}
.together-tools a{padding:10px 16px;border-radius:9px;color:#536552;text-decoration:none;font-size:13px;line-height:1.5}
.together-tools a[aria-current]{background:#fffefa;color:#215b40;box-shadow:0 2px 6px #263d2510;font-weight:700}
.race-workspace{grid-template-columns:minmax(260px,.75fr) minmax(0,1.6fr)}
.race-amount{margin-top:18px}.race-reduced{margin-top:15px}
.race-stage{margin:0;overflow:hidden;scroll-margin-top:12px;padding:24px;min-height:480px;background:linear-gradient(155deg,#fffefa,#f4f8ed)}
.race-stage .together-result-top{padding-bottom:16px;align-items:center}
.race-stage .race-eyebrow{font-size:var(--reading-min,12px);font-weight:700;color:#52715a;letter-spacing:.15em;margin:0 0 6px}
.race-stage h2{font-size:20px;line-height:1.5;margin:0}
.race-live-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px;min-height:24px}
#race-live{font-size:13px;color:#32604a;font-weight:600;overflow-wrap:anywhere;min-width:0}
.race-finish-label{font-size:var(--reading-min,12px);letter-spacing:.12em;color:#5b6b51;font-weight:700;flex-shrink:0}
.race-timeline{height:3px;background:#dfe8d7;border-radius:5px;overflow:hidden;margin:0 0 18px}.race-timeline i{display:block;width:0;height:100%;background:#4c8962}
.race-results{margin-top:22px;border-top:1px solid #d8e3ce;padding-top:18px}.race-results h3{font-size:15px;margin:0 0 12px;color:#36573b}.race-results ol{list-style:none;display:grid;gap:7px;padding:0;margin:0}
.race-results li{display:flex;gap:10px;align-items:center;padding:8px 10px;border:1px solid transparent;border-radius:9px;font-size:13px;min-width:0;color:#687765}.race-results .race-picked{background:#e6efdb;border-color:#bdcfa8;color:#254d31}
.race-place{font-size:var(--reading-min,12px);font-variant-numeric:tabular-nums;color:#607b52;flex-shrink:0}.race-result-name{overflow-wrap:anywhere;min-width:0}.race-picked-label{margin-left:auto;font-size:var(--reading-min,12px);font-weight:700;flex-shrink:0;color:#35613d}
@media(max-width:760px){.race-workspace{grid-template-columns:minmax(0,1fr)}.race-stage{min-height:360px}.race-stage h2{font-size:18px}.race-stage .together-result-top{gap:8px}.together-tools a{padding:9px 12px}}
@media(max-width:380px){.race-stage{padding:16px}.race-stage h2{font-size:16px}.race-stage .together-secondary{padding:8px;font-size:var(--reading-min,12px)}}

.race-circuit{position:relative;isolation:isolate;margin-top:4px;border:1px solid #d7e2cc;border-radius:17px;overflow:hidden;background:#e8efdc}
.race-circuit-svg{display:block;width:100%;height:auto;aspect-ratio:720/620}
.race-circuit #race-track{display:block;user-select:none;-webkit-user-select:none;pointer-events:none}
.race-island{position:absolute;inset:37% 28%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;pointer-events:none;min-width:0}
.race-island>span{font-size:var(--reading-min,12px);letter-spacing:.16em;color:#62794b;font-weight:700;white-space:nowrap}
.race-island strong{font-size:clamp(13px,1.7vw,21px);letter-spacing:-.04em;color:#315738;line-height:1.2}
.race-island small{font-size:var(--reading-min,12px);color:#526d45;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;line-height:1.4}
.race-circuit-empty{text-align:center;padding:18px 4px 0}.race-circuit-empty h3{font-size:17px;margin:0 0 6px;color:#365d40}.race-circuit-empty p{font-size:12px;color:#697b61;margin:0;line-height:1.7}
.race-standings{margin-top:18px}.race-standings h3{font-size:12px;font-weight:600;color:#5a7050;margin:0 0 10px}.race-standings ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;list-style:none;margin:0;padding:0}.race-standings li{display:flex;align-items:center;gap:7px;font-size:12px;min-width:0;line-height:1.6}.race-standings .race-result-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.race-car-badge{font-size:var(--reading-min,12px);font-weight:700;color:#284531;display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;flex-shrink:0;border:1px solid #41654125;border-radius:5px;font-variant-numeric:tabular-nums}
.race-island{inset:43% 43% 40% 43%}.race-island>span{font-size:var(--reading-min,12px);letter-spacing:.05em}.race-island strong{font-size:15px}.race-island small{font-size:var(--reading-min,12px)}
.race-circuit.is-closeup .race-island{display:none}.race-closeup{position:absolute;left:12px;right:12px;bottom:12px;margin:0;padding:10px 14px;border:1px solid #ffffff80;border-radius:12px;color:#fff;background:#163e30e8;font-size:15px;font-weight:700;overflow-wrap:anywhere;box-shadow:0 4px 18px #123a3020}
.draw-settings{display:grid;gap:14px;margin:18px 0}.draw-option-note{margin:-10px 0 16px}.draw-stage{margin:0;scroll-margin-top:12px;min-height:480px;background:linear-gradient(150deg,#fffefa,#f0f6e9)}
.draw-countdown{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0;color:#48704e;font-size:13px}.draw-clock{display:flex;align-items:center;gap:10px}.draw-clock strong{font-size:32px;font-variant-numeric:tabular-nums;line-height:1;color:#236043;min-width:40px;text-align:center}.draw-clock>span{font-size:var(--reading-min,12px);color:#6d7f64}
.draw-empty{text-align:center;padding:45px 0 30px}.draw-empty h3{font-size:19px;color:#45653e;margin:0 0 9px}.draw-empty p{font-size:13px;line-height:1.7;color:#75806b;margin:0}.draw-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:10px;margin:24px 0;user-select:none;-webkit-user-select:none}.draw-cards:empty{display:none}
.draw-name{display:flex;align-items:center;justify-content:center;min-height:120px;padding:20px;border-radius:17px;background:#e1edd4;border:1px solid #c5d9b5;color:#285139;font-size:clamp(24px,3vw,38px);font-weight:700;line-height:1.3;text-align:center;overflow-wrap:anywhere;animation:draw-reveal .22s ease-out}.draw-cards[data-many="true"] .draw-name{min-height:70px;font-size:20px;padding:12px}.draw-actions{display:flex;justify-content:center;gap:8px;margin:22px 0 0}.draw-actions button{min-width:105px}
.draw-history{margin:20px 0 0;padding-top:18px;border-top:1px solid #d9e3d0}.draw-history h3{font-size:15px;color:#476341;margin:0 0 12px}.draw-history ol{list-style:none;margin:0;padding:0;display:grid;gap:8px;max-height:320px;overflow:auto}.draw-history li{display:flex;gap:12px;align-items:flex-start;padding:10px;background:#ffffff90;border:1px solid #e0e7d8;border-radius:9px;font-size:13px;overflow-wrap:anywhere}.draw-history-round{font-size:var(--reading-min,12px);color:#68815c;flex-shrink:0;min-width:70px}.draw-stage[data-mode="paused"] .draw-clock{opacity:.6}
@keyframes draw-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.draw-name{animation:none}}
@media(max-width:380px){.together-tools a{font-size:var(--reading-tab,13px);padding:8px}.draw-countdown{gap:6px}.draw-clock{gap:5px}.draw-clock strong{font-size:27px;min-width:30px}.draw-clock>span{max-width:60px}.draw-name{min-height:95px}.draw-history li{gap:7px}.draw-history-round{min-width:55px}}
@media(max-width:380px){.race-island{gap:2px}.race-island>span{font-size:var(--reading-min,12px)}.race-island strong{font-size:12px}.race-island small{font-size:var(--reading-min,12px)}.race-standings ol{gap:6px}.race-standings li{gap:4px;font-size:var(--reading-min,12px)}.race-car-badge{min-width:20px;height:20px;font-size:var(--reading-min,12px)}}

/* Shared control grid: identical panel edges, field heights and spacing in every tool. */
.together-page .together-workspace{grid-template-columns:minmax(300px,.9fr) minmax(0,1.4fr);gap:20px;align-items:start}
.together-workspace>.together-panel{margin:0;padding:24px;box-sizing:border-box;min-width:0}
.together-page :is(input,textarea,select,button){box-sizing:border-box}
.together-page select{font:inherit;color:inherit;background:#fff;touch-action:manipulation}
.together-page .together-names{height:172px;min-height:140px;max-height:360px;line-height:1.6;padding:12px;font-size:16px}
.together-page .together-input-top{align-items:center;min-height:30px;margin-bottom:12px}.together-input-top h2{min-width:0;font-size:18px;line-height:1.45;letter-spacing:-.4px}
.together-page .together-amount-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:12px;min-height:46px}
.together-page .together-amount-row>label{font-size:13px;line-height:1.6;margin:0}
.together-page .together-amount-row>input{justify-self:end}
.together-page :is(.together-amount-row,.together-fill) input[type="number"]{width:72px;min-width:0;height:44px;min-height:44px;padding:8px;font-size:16px;line-height:1.4;text-align:center;border:1px solid #cedbc8;border-radius:10px;background:#fff;color:inherit;margin:0}
.together-page .together-fill{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:center;padding:14px 0 16px;margin:0 0 16px}
.together-page .together-fill input{justify-self:end}
.together-page .together-fill label{font-size:13px;line-height:1.5;margin:0}
.together-page .together-fill button{width:100%;min-height:40px;margin:0;padding:8px 10px;border:1px solid #d9e3d2;border-radius:9px;background:#f4f7ee;text-decoration:none;color:#3a6548;font-size:12px;line-height:1.5;white-space:normal}
.together-page .together-fill button:last-child{padding-inline:4px}
.together-page .together-primary{min-height:46px;font-size:14px;line-height:1.5;padding:12px 16px}
.together-page .together-secondary{min-height:40px;line-height:1.5;padding:9px 12px}
.together-page .together-result-top{min-height:62px;align-items:flex-start;gap:12px;padding-bottom:16px}
.together-page .together-result-top>div:first-child{min-width:0;flex:1 1 170px}
.together-page .together-result-top h2{font-size:18px;line-height:1.45;margin:0 0 5px}
.together-page .together-result-top p{font-size:12px;line-height:1.65;margin:0}
.together-page .together-leader-check{align-items:flex-start;min-height:38px;line-height:1.65;margin:0 0 12px;font-size:13px!important}
.together-page .together-leader-check input{flex-shrink:0;margin-top:2px}
.together-page .together-fill button{align-self:stretch;min-height:44px}
.together-page select:focus-visible{outline:3px solid #397c5b;outline-offset:3px}
.together-page .draw-settings{gap:12px;margin:0 0 18px}
.draw-time-input{display:flex;align-items:center;justify-content:flex-end;gap:6px;width:150px}
.draw-time-input select{width:72px;height:44px;min-width:0;padding:7px 5px;border:1px solid #cedbc8;border-radius:10px;font-size:14px;line-height:1.4}
.together-page .draw-option-note{margin:-6px 0 16px;line-height:1.7}
.together-page .race-amount{margin-top:0}.together-page .race-reduced{margin-top:14px}
.together-page .together-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:850px;gap:5px;padding:5px}
.together-page .together-tools a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:9px 10px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.order-help{margin:0 0 18px}.order-list{padding:0;margin:20px 0 0;list-style:none;display:grid;gap:9px}.order-list li{display:flex;align-items:center;gap:14px;padding:13px 15px;border:1px solid #dce6d3;border-radius:12px;background:#f2f7eb;min-width:0}.order-number{display:flex;align-items:center;justify-content:center;min-width:36px;height:34px;border-radius:9px;background:#e0ecd4;color:#477045;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}.order-name{font-size:17px;color:#2a4d35;line-height:1.5;overflow-wrap:anywhere;min-width:0}
@media(max-width:760px){.together-page .together-workspace{grid-template-columns:minmax(0,1fr)}.together-workspace>.together-panel{padding:20px}.together-page .together-tools{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}}
@media(max-width:380px){.together-workspace>.together-panel{padding:16px}.together-page .together-amount-row{grid-template-columns:minmax(0,1fr) 138px;gap:8px}.draw-time-input{width:138px;gap:6px}.draw-time-input select{width:66px}.together-page .draw-time-input input[type="number"]{width:66px}.together-page .together-tools a{font-size:12px;padding:8px 6px}.order-list li{padding:11px;gap:10px}.order-name{font-size:16px}}

/* Match the existing Arena / timer introduction rhythm and control palette. */
.together-page main.together{max-width:1100px;width:100%;box-sizing:border-box;margin:0 auto;padding:18px 32px 36px}
.together-page .together-intro{margin:0 0 12px;padding:0;text-align:left;border:0}
.together-page .together-eyebrow{display:none}
.together-page .together-intro h1{font-size:25px;font-weight:750;line-height:1.25;letter-spacing:-.6px;color:#192d25;margin:0 0 5px}
.together-page .together-intro .lead{font-size:13px;font-weight:400;line-height:1.5;color:#5b6d63;margin:0}
.together-workspace>.together-panel{border-radius:18px;background:#fff;border-color:#d9e1d5;padding:22px}
.together-page .together-tools{grid-template-columns:repeat(5,minmax(0,1fr));max-width:none;gap:3px;margin:0 0 20px;padding:4px;background:#e7ede3;border:1px solid #bdcdbf;border-radius:12px;box-shadow:0 2px 8px #18362408}
.together-page .together-tools a{min-height:38px;padding:5px 3px;border:1px solid transparent;border-radius:8px;background:transparent;color:#4c6153;font-size:13px;font-weight:700;line-height:1.25;box-shadow:none}
.together-page .together-tools a[aria-current]{background:#176b4b;color:#fff;border-color:#176b4b;box-shadow:0 2px 5px #176b4b24}
.together-roster-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 15px;margin:0 0 18px;background:#eef3e9;border:1px solid #dce3d6;border-radius:12px;color:#526a58;font-size:12px;line-height:1.6}
.together-roster-bar button{min-height:36px;padding:7px 12px;border:1px solid #cddbc5;border-radius:9px;background:#fff;color:#315f42;font-size:12px;line-height:1.5}
.people-tool-links{display:grid;gap:12px;margin-top:20px}.people-tool-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-radius:12px;background:#f2f6ec;border:1px solid #dce5d3;color:#2b5c40;text-decoration:none;font-size:16px;font-weight:650;line-height:1.5}.people-tool-links a span{flex-shrink:0;font-size:18px}
@media(max-width:740px){.together-page main.together{padding:18px 20px 36px}}
@media(max-width:600px){.together-page main.together{padding:12px 16px 25px}.together-page .together-intro h1{font-size:22px;letter-spacing:-.6px;margin-bottom:4px}.together-page .together-intro .lead{font-size:12px}.together-page .together-tools{grid-template-columns:repeat(5,minmax(0,1fr))}.together-page .together-tools a{min-height:44px;font-size:var(--reading-tab,13px);padding:5px 2px}.together-tools a:first-child{grid-column:auto}.together-workspace>.together-panel{padding:18px}.people-tool-links a{padding:15px;font-size:15px}}


/* Course cards share the tool's quiet palette and keep native radio semantics. */
.race-course-picker{border:0;padding:0;margin:22px 0 18px;min-width:0}.race-course-picker legend{font-size:13px;font-weight:600;margin-bottom:9px;color:#395742}.race-course-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.together-page .race-course-card{position:relative;display:grid;gap:5px;align-content:start;border:1px solid #d7e1d2;border-radius:12px;background:#fafbf6;padding:8px;cursor:pointer;min-width:0}.race-course-card:has(input:checked){border-color:#216b4f;box-shadow:0 0 0 1px #216b4f;background:#f0f6e9}.race-course-card:has(input:focus-visible){outline:3px solid #7cae94;outline-offset:3px}.race-course-card input{position:absolute;right:10px;top:10px;accent-color:#216b4f}.race-course-card strong{font-size:13px;line-height:1.4;color:#234432}.race-course-card small{font-size:var(--reading-min,12px);line-height:1.5;color:#617366}.race-course-thumb{display:block;height:65px;background:#e7eedc;border-radius:7px;overflow:hidden}.race-course-thumb.coast-thumb{background:#d9eef0}.race-course-thumb svg{display:block;width:100%;height:100%}.race-course-thumb path{fill:none;stroke:#65776a;stroke-width:30;stroke-linejoin:round}.race-circuit[data-course=coast]{background:#d9eef0;border-color:#c5dedc}.race-circuit[data-course=coast] .race-island{inset:46% 50% 38% 25%;gap:3px}.race-circuit[data-course=coast] .race-island>span{font-size:var(--reading-min,12px);color:#687c70}.race-circuit[data-course=coast] .race-island strong{font-size:clamp(10px,1.6vw,16px)}.race-circuit[data-course=coast] .race-island small{font-size:var(--reading-min,12px);color:#56736a}.race-course-card:has(input:disabled){cursor:default;opacity:.65}

.race-course-thumb.night-thumb{background:#233c49}.race-course-thumb.night-thumb path{stroke:#c6cfbc}.race-circuit[data-course=night]{background:#233c49;border-color:#3f5b63}.race-circuit[data-course=night] .race-road-layers path:nth-child(1){stroke:#455b60}.race-circuit[data-course=night] .race-road-layers path:nth-child(2){stroke:#d3cba9}.race-circuit[data-course=night] .race-road-layers path:nth-child(3){stroke:#658b83}.race-circuit[data-course=night] .race-road-layers path:nth-child(4){stroke:#3d555e}.race-circuit[data-course=night] .race-road-layers path:nth-child(5){stroke:#4d6870}.race-circuit[data-course=night] .race-road-layers path:nth-child(6){stroke:#ede5c4;stroke-opacity:.6}.race-circuit[data-course=night] .race-island>span{color:#a8c5bf}.race-circuit[data-course=night] .race-island strong{color:#f3eedb}.race-circuit[data-course=night] .race-island small{color:#c1d4ca}
/* Shared fullscreen presentation for order, race and name draw. */
.together-presenting{overflow:hidden}
.together-presentation,.together-presentation:fullscreen{position:fixed!important;inset:0!important;z-index:30000;box-sizing:border-box;width:100%;height:100dvh;max-width:none;margin:0;border:0;border-radius:0;overflow:auto;overscroll-behavior:contain;background:#f7f8f2;padding:24px max(20px,calc((100vw - 1100px)/2)) 32px;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(32px,env(safe-area-inset-bottom))}
.together-presentation .together-result-top{position:relative;z-index:2;gap:12px;flex-wrap:wrap}
.together-presentation .together-result-actions{flex-wrap:wrap}
.together-presentation .race-circuit{width:100%;max-width:min(900px,calc((100dvh - 190px)*1.6));margin-inline:auto}
.together-presentation .draw-winners{font-size:clamp(22px,4vw,48px)}
.together-presentation .order-list{max-width:900px;margin-inline:auto}
.together-presenting>.pg-site-header,.together-presenting>footer{display:none!important}
@media(max-width:600px){.together-presentation{padding-inline:16px}.together-presentation .together-result-actions{gap:6px}.together-presentation .together-result-actions button{padding:9px 12px}}
/* Fullscreen keeps the live circuit in the available viewport, without document clutter. */
.together-presentation-run,.together-presentation-feedback{display:none!important}
.together-presentation .together-presentation-run{display:inline-flex!important;width:auto;min-height:40px;align-items:center;margin:0;padding:9px 18px}
#race-stage.together-presentation{display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));min-height:0;background:#eef3e7}
#race-stage.together-presentation>.together-result-top{flex:0 0 auto;margin:0;padding:0;border:0;justify-content:flex-end}
#race-stage.together-presentation>.together-result-top>div:first-child,
#race-stage.together-presentation>#race-empty,
#race-stage.together-presentation>#race-standings,
#race-stage.together-presentation>#race-status,
#race-stage.together-presentation>#race-stale{display:none!important}
#race-stage.together-presentation .race-live-row{flex:0 0 auto;margin:0;padding:0;font-size:12px}
#race-stage.together-presentation .race-timeline{flex:0 0 3px;margin:0}
#race-stage.together-presentation .race-circuit{flex:1 1 0;width:100%;height:0;min-height:0;max-width:none;margin:0;border-radius:14px}
#race-stage.together-presentation .race-circuit-svg{width:100%;height:100%;aspect-ratio:auto}
#race-stage.together-presentation .race-results{position:absolute;right:24px;bottom:24px;z-index:3;width:min(240px,42vw);max-height:35dvh;overflow:auto;margin:0;padding:10px;border:1px solid #d8e3ce;border-radius:12px;background:#fffffff2;box-shadow:0 4px 16px #193d3015}
#race-stage.together-presentation .race-results h3{margin-bottom:6px;font-size:12px}
#race-stage.together-presentation .race-results li{padding:4px 6px;font-size:12px;gap:6px}
#race-stage.together-presentation .together-presentation-feedback:not(:empty){display:block!important;flex:0 0 auto;margin:0}
#race-stage.together-presentation .together-manual:not([hidden]){position:absolute;inset:70px 20px auto;z-index:4;padding:14px;background:#fff;border-radius:12px}
@media(max-width:600px){#race-stage.together-presentation .together-result-actions{width:100%;justify-content:space-between;flex-wrap:nowrap}#race-stage.together-presentation .together-result-actions button{font-size:12px;padding:8px 10px;min-height:38px}#race-stage.together-presentation .race-results{bottom:20px;right:20px;max-height:24dvh;width:min(210px,50vw)}}
/* Four course landscapes share the same road safety margin and vehicle layer. */
.race-course-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.race-course-thumb.hanok-thumb{background:#ede6d3}.race-course-thumb.hanok-thumb path{stroke:#7b8580}
.race-circuit [data-race-scenery]{pointer-events:none;user-select:none}
.race-circuit[data-course=night]{background:#1b303d;border-color:#41616a}
.race-circuit[data-course=night] .race-road-layers path:nth-child(1){stroke:#70cbd0;stroke-opacity:.2;stroke-width:54}
.race-circuit[data-course=night] .race-road-layers path:nth-child(2){stroke:#b1d9d3}
.race-circuit[data-course=night] .race-road-layers path:nth-child(3){stroke:#bb8db9}
.race-circuit[data-course=night] .race-road-layers path:nth-child(4){stroke:#273e49}
.race-circuit[data-course=night] .race-road-layers path:nth-child(5){stroke:#354f59}
.race-circuit[data-course=night] .race-road-layers path:nth-child(6){stroke:#a4d6cf}
.race-circuit[data-course=night] .race-island{inset:54% 38% 32% 39%}
.race-circuit[data-course=hanok]{background:#ede6d3;border-color:#d4ccb6}
.race-circuit[data-course=hanok] .race-road-layers path:nth-child(1){stroke:#d7c6a8}
.race-circuit[data-course=hanok] .race-road-layers path:nth-child(2){stroke:#eee4ce}
.race-circuit[data-course=hanok] .race-road-layers path:nth-child(3){stroke:#ad7767}
.race-circuit[data-course=hanok] .race-road-layers path:nth-child(4){stroke:#65766e}
.race-circuit[data-course=hanok] .race-road-layers path:nth-child(5){stroke:#8a9587}
.race-circuit[data-course=hanok] .race-island{inset:65% 37% 25% 39%;gap:3px}
.race-circuit[data-course=hanok] .race-island>span{color:#777354}.race-circuit[data-course=hanok] .race-island strong{color:#4c6559}.race-circuit[data-course=hanok] .race-island small{color:#777354}
@media(min-width:1450px){.race-course-thumb{height:76px}}
.race-island-svg{pointer-events:none;fill:#42634c}.race-island-svg #race-island-name{fill:#69805b}.race-island-svg #race-front{fill:#6a7f5d}.is-closeup .race-island-svg{display:none}
.race-circuit[data-course=night] .race-island-svg{fill:#f2edda}.race-circuit[data-course=night] .race-island-svg #race-island-name,.race-circuit[data-course=night] .race-island-svg #race-front{fill:#b2d4cf}
.race-circuit[data-course=hanok] .race-island-svg{fill:#55665a}.race-circuit[data-course=hanok] .race-island-svg #race-island-name,.race-circuit[data-course=hanok] .race-island-svg #race-front{fill:#817962}
/* Subdue only scenery outside the closed course; road, infield and cars stay untouched. */
.race-exterior-tone{fill:#c8d0be;opacity:.62;pointer-events:none}
.race-circuit[data-course=coast] .race-exterior-tone{fill:#b9ced0;opacity:.62}
.race-circuit[data-course=night] .race-exterior-tone{fill:#1b303d;opacity:.66}
.race-circuit[data-course=hanok] .race-exterior-tone{fill:#d4cdbb;opacity:.62}
