:root {
  color-scheme: light;
  --green: #104b3c;
  --green-deep: #0b3028;
  --cream: #f4f6f7;
  --ink: #182b25;
  --muted: #66746e;
  --line: #dde5e1;
  --soft: #edf5ef;
  --gold: #9b721d;
  --red: #b84843;
  --accent: #c2eb8b;
  --radius: 18px;
  --shadow: 0 3px 14px rgba(18, 44, 33, .035);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 156px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, summary, .choice { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
button { min-height: 46px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--green); font-weight: 650; transition: background .16s, border-color .16s, transform .16s; }
button:hover { background: #f0f6f2; border-color: #b7ccc0; }
button:active { transform: scale(.98); }
button.primary { background: var(--green); color: #fff; border-color: var(--green); }
button.primary:hover { background: var(--green-deep); }
button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #73a88b; outline-offset: 3px; }
input, select { min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid #cfdbd4; border-radius: 11px; background: #fff; color: var(--ink); box-shadow: none; }
input::placeholder { color: #83918a; opacity: 1; }
input:focus, select:focus { border-color: #508b6e; outline: none; box-shadow: 0 0 0 3px #104b3c13; }
input[type=number] { width: 100%; font-variant-numeric: tabular-nums; }
input[type=number]::-webkit-inner-spin-button { opacity: .45; }
input[type=checkbox] { accent-color: var(--green); }
label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 600; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 34px; line-height: 1.15; font-weight: 750; letter-spacing: -.045em; }
h2 { font-size: 19px; line-height: 1.3; letter-spacing: -.025em; font-weight: 720; }
h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.015em; }
p { line-height: 1.6; }
.muted, .small, .foot, .table-note { color: var(--muted); font-size: 14px; }
.hidden, .view.hidden, .registry-form.hidden { display: none !important; }
[hidden] { display: none !important; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; padding: 4px 9px; background: var(--soft); color: var(--green); font-size: 13px; font-weight: 650; white-space: nowrap; }
.pos, .green, .down { color: var(--green); }
.neg, .error, .hcp-up, .pending-hcp { color: var(--red); }
.none { color: var(--muted); }
.down, .error { font-weight: 650; }
.ui-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
header { position: sticky; top: 0; z-index: 30; height: 78px; padding: 0 28px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { max-width: 1120px; height: 100%; margin: auto; display: flex; align-items: center; gap: 12px; }
.brand-icon { display: grid; place-items: center; width: 42px; height: 42px; background: var(--green-deep); border-radius: 12px; color: var(--accent); font-size: 27px; font-weight: 750; line-height: 1; letter-spacing: -.05em; padding-bottom: 3px; }
.title-group { display: grid; gap: 1px; }
.top-title { font-size: 22px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.title-group small { font-size: 12px; color: var(--muted); font-weight: 500; }
.group-control { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.group-label { color: var(--muted); font-size: 13px; }
.group-switcher { min-height: 42px; max-width: 240px; width: 180px; padding: 9px 30px 9px 14px; background: var(--green-deep); border: 0; color: #fff; font-size: 14px; font-weight: 600; }
.group-switcher option { color: var(--ink); background: #fff; }
.view-tabs { position: sticky; top: 78px; z-index: 25; display: flex; gap: 6px; padding: 12px max(28px,calc((100% - 1120px)/2)); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.view-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 146px; min-height: 44px; padding: 10px 19px; background: transparent; border: 0; color: var(--muted); font-size: 14px; }
.view-tab .ui-icon { width: 18px; height: 18px; }
.view-tab.active { color: #fff; background: var(--green); }
.view-tab.active:hover { background: var(--green-deep); }
main { max-width: 1176px; margin: auto; padding: 32px 28px 110px; }
.round-context { display: grid; grid-template-columns: minmax(0,1fr) 140px; gap: 20px; align-items: center; margin-bottom: 23px; }
.context-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; font-weight: 650; letter-spacing: .065em; text-transform: uppercase; margin-bottom: 9px; }
.round-context-copy p, .page-heading p, .history-heading p { margin-top: 7px; color: var(--muted); font-size: 15px; }
.player-count-field label { color: var(--muted); font-size: 13px; }
.player-count-field input { min-height: 54px; font-size: 24px; font-weight: 700; padding: 7px 14px; background: #fff; }
.settings-disclosure { margin-bottom: 27px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.settings-disclosure>summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 17px; }
summary::-webkit-details-marker { display: none; }
.settings-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #f2f5f3; color: #5d7366; }
.settings-summary-text { display: flex; gap: 14px; align-items: baseline; flex: 1; }
.settings-summary-text strong { font-size: 14px; font-weight: 650; }
.settings-summary-text small { color: var(--muted); font-size: 13px; }
.settings-chevron { color: #829188; font-size: 20px; transition: transform .2s; }
.settings-disclosure[open] .settings-chevron { transform: rotate(180deg); }
.settings-disclosure[open]>summary { border-bottom: 1px solid var(--line); }
.advanced-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 23px; }
.config-field { min-width: 0; }
.config-field label { position: static; margin: 0 0 7px; color: var(--muted); font-size: 14px; font-weight: 550; }
.config-field input, .config-field select { width: 100%; }
.advanced-settings-grid .game-stakes, .advanced-settings-grid .switch-card { grid-column: 1/-1; }
.game-stakes { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.game-stakes .config-field:only-child { max-width: 320px; }
.switch-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9f8; }
.switch-card h3 { font-size: 15px; }
.switch-card p { margin-top: 2px; font-size: 14px; }
.switch { position: relative; width: 48px; height: 28px; margin: 0; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; min-height: 0; }
.slider { position: absolute; inset: 0; border-radius: 30px; background: #c6d1cb; transition: background .2s; }
.slider:before { content: ""; position: absolute; width: 22px; height: 22px; top: 3px; left: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px #152e2433; transition: transform .2s; }
.switch input:checked+.slider { background: var(--green); }
.switch input:checked+.slider:before { transform: translateX(20px); }
.switch input:focus-visible+.slider { outline: 3px solid #73a88b; outline-offset: 3px; }
.account-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 27px; align-items: start; }
.app-section { margin-bottom: 27px; min-width: 0; }
.section-heading { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.section-step { display: grid; place-items: center; width: 26px; height: 26px; font-size: 11px; letter-spacing: .02em; font-weight: 700; color: #7c8e83; border: 1px solid #d4e0d8; border-radius: 8px; }
.surface, .card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.card { padding: 21px; margin: 13px 0; }
.quick-grid { position: relative; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 15px; box-shadow: var(--shadow); }
.quick-player-head, .quick-player-row { display: grid; grid-template-columns: 22px minmax(130px,1fr) repeat(5,34px) 46px 24px; gap: 5px; align-items: center; }
.quick-player-head { padding: 15px 0 12px; text-align: center; color: #718177; font-size: 11px; font-weight: 550; }
.quick-player-head .name-col { text-align: left; padding-left: 9px; font-size: 13px; }
.quick-player-row { padding: 15px 0; border-top: 1px solid #e8eeea; }
.slot-num { align-self: start; padding-top: 12px; color: #809086; font-size: 12px; font-weight: 600; }
.quick-name { min-width: 0; }
.quick-name input { width: 100%; min-height: 42px; padding: 8px 7px; border: 1px solid transparent; border-radius: 8px; background: #f5f8f6; font-size: 15px; font-weight: 600; }
.quick-name input:hover { border-color: #cfddd4; }
.quick-name input:focus { background: #fff; border-color: #619578; }
.quick-name .small { font-size: 12px; margin: 3px 0 0 8px; color: #697e70; }
.tiny-hcp { margin-top: 5px; font-size: 14px !important; font-weight: 500 !important; }
.quick-unit-control { display: grid; justify-items: center; gap: 6px; margin: 0; min-width: 0; }
.control-text { display: none; color: #718177; font-size: 12px; font-weight: 550; }
.qcheck, .paid-check, .choice input { appearance: none; -webkit-appearance: none; min-height: 0; padding: 0; width: 27px; height: 27px; margin: 0; border: 1.5px solid #bfcec4; border-radius: 7px; background: #fff; cursor: pointer; }
.qcheck:checked, .paid-check:checked, .choice input:checked { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/19px 19px no-repeat; }
.quick-unit-control { cursor: pointer; }
.qcheck:hover, .paid-check:hover { border-color: #69927a; }
.other-unit { width: 44px !important; min-height: 38px !important; padding: 5px !important; text-align: center; font-size: 15px; border-radius: 9px; background: #f9fbfa; }
.quick-remove { display: grid; place-items: center; align-self: start; width: 24px; min-height: 32px; padding: 0; margin-top: 5px; border: 0; border-radius: 7px; background: transparent; color: #a0afa6; font-size: 21px; font-weight: 400; }
.quick-remove:hover { background: #fff1ef; color: var(--red); }
.player-add-area { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-top: 15px; align-items: end; }
.player-add-picker>label { font-size: 13px; color: #698071; font-weight: 550; }
.player-add-area #addPlayer { min-height: 48px; padding: 11px 12px; font-size: 13px; background: #eef4f0; border-color: #e0e9e3; white-space: nowrap; }
.roster-search, .player-slot-search { position: relative; }
.roster-search { z-index: 11; }
.roster-picker { width: 100%; margin: 0; padding-right: 32px; font-size: 14px; }
.picker-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #809387; font-size: 18px; }
.player-slot-search { z-index: 1; }
.player-slot-search:focus-within { z-index: 12; }
.roster-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; max-height: min(320px,50vh); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #d1dfd6; border-radius: 13px; box-shadow: 0 16px 40px #142e2524; padding: 5px; }
.player-slot-search .roster-suggestions { min-width: min(285px,74vw); width: max(100%,285px); right: auto; }
.roster-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 49px; padding: 10px 12px; border: 0; border-radius: 8px; background: #fff; text-align: left; color: var(--ink); }
.roster-option:hover, .roster-option[aria-selected=true] { background: var(--soft); }
.roster-option-name { font-size: 14px; font-weight: 600; }
.roster-option-hcp { color: var(--muted); font-size: 13px; }
.roster-option-add { color: var(--green); font-size: 20px; }
.roster-no-results { padding: 15px 12px; font-size: 14px; color: var(--muted); }
#gameWinnerInputs { padding: 18px; display: grid; gap: 17px; }
#gameWinnerInputs select { background-color: #f8faf9; font-weight: 600; }
.result-overview { display: grid; gap: 12px; }
.result-card { padding: 21px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.result-card .label { font-size: 11px; text-transform: uppercase; font-weight: 650; letter-spacing: .1em; color: #6c8174; }
.result-main { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.result-main .label { color: #acd1bb; }
.game-winner-list { display: grid; gap: 18px; margin-top: 16px; }
.game-winner-line { display: grid; grid-template-columns: 1fr; gap: 4px; }
.winner-format { font-size: 13px; color: #b1c5ba; }
.winner-format small { color: #90ad9e; font-size: 12px; margin-left: 5px; }
.winner-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.winner-info strong { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
.winner-points { color: var(--accent); font-size: 16px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.result-card .amount { margin-top: 17px; padding-top: 13px; border-top: 1px solid #ffffff21; color: #94b5a3; font-size: 12px; }
.putts-award { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 17px 0; border-bottom: 1px solid #e6ede8; }
.award-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: #edf5ef; }
.award-mark .ui-icon { width: 18px; height: 18px; }
.award-copy { min-width: 0; display: grid; gap: 1px; }
.award-title { color: var(--muted); font-size: 12px; }
.award-winner { font-size: 15px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.prize-value { color: var(--green); font-size: 14px; font-weight: 650; white-space: nowrap; }
.oyes-title { margin: 15px 0 9px; color: var(--muted); font-size: 12px; font-weight: 600; }
.oye-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.oye-chip { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid #d6e6d9; border-radius: 10px; background: #f0f7ef; min-width: 0; }
.oye-number { color: #5c7b62; font-size: 11px; font-weight: 650; }
.oye-chip strong { font-size: 14px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.oye-chip.empty { background: #f8faf9; border-color: #e8eeea; }
.oye-chip.empty strong, .oye-chip.empty .oye-number { color: #8a9990; font-weight: 500; }
.settlement-head { margin: 24px 0 14px; }
.settlement-head .muted { font-size: 12px; }
.liquidation { display: grid; gap: 8px; }
.liquid-row { display: grid; grid-template-columns: minmax(0,1fr) auto 42px 67px; align-items: center; gap: 10px; min-height: 74px; padding: 13px 16px; border: 1px solid var(--line); border-left: 3px solid #b9d4c1; border-radius: 12px; background: #fff; color: var(--ink); }
.liquid-row.neg { border-left-color: #dfb3ac; }
.liquid-row>b { font-size: 14px; line-height: 1.35; font-weight: 600; }
.liquid-row>strong { font-size: 15px; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.liquid-row.paid { opacity: .65; background: #f8faf9; }
.liquid-row.paid>strong { text-decoration: line-through; }
.settlement-paid, .settlement-change { display: grid; justify-items: center; gap: 4px; margin: 0; font-size: 10px; color: #7a8e80; font-weight: 500; }
.paid-check { width: 23px; height: 23px; border-radius: 6px; }
.change-input { width: 100%; min-height: 31px; padding: 4px 7px; border-radius: 7px; font-size: 13px; text-align: center; background: #f8faf9; }
.change-input::placeholder { font-size: 13px; }
.result-actions { border-top: 1px solid #dde5e0; padding-top: 17px; margin-top: 24px; }
.round-footer { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 24px; }
.result-actions-label { margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.round-share-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; background: #eaf2ee; border-color: #d3e2da; color: var(--green); font-size: 14px; }
.round-share-button svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.bottom-actions, .round-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.bottom-actions button, .round-actions button { min-width: 0; width: 100%; font-size: 13px; }
#shareResult { background: #fff; color: var(--green); border-color: var(--line); }
#clearForm { color: #7c887f; background: transparent; }
.round-message { display: none; margin-top: 13px; padding: 12px 15px; border-radius: 10px; background: var(--soft); color: var(--green); font-size: 14px; }
.round-message.show { display: block; }
.hcp-adjust-section { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 27px; }
.hcp-adjust-card { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; padding: 25px; }
.hcp-adjust-card .intro { grid-column: 1/-1; margin-bottom: 17px; }
.hcp-adjust-card .intro p { margin-top: 4px; }
.hcp-picks { grid-column: 1; grid-row: 2/7; }
.choice { display: grid; grid-template-columns: minmax(0,1fr) auto 25px; gap: 12px; align-items: center; padding: 13px 0; margin: 0; border-bottom: 1px solid #e7eee9; cursor: pointer; }
.choice:last-child { border-bottom: 0; }
.choice-name { font-size: 15px; font-weight: 550; }
.choice:has(input:checked) .choice-name { color: var(--green); font-weight: 650; }
.choice-hcp { color: #7d8c83; font-size: 12px; white-space: nowrap; }
.choice input { width: 24px; height: 24px; }
#scores, .summary, .confirm, #saved, .rule-details { grid-column: 2; }
.compact-score-list { display: grid; gap: 9px; }
.compact-score { display: grid; grid-template-columns: minmax(0,1fr) 80px; gap: 8px 14px; padding: 15px; background: #f6f9f7; border: 1px solid #dbe7df; border-radius: 11px; }
.compact-score b { font-size: 14px; }
.compact-score .small { display: block; font-size: 12px; margin-top: 3px; }
.compact-score label { font-size: 12px; color: var(--muted); margin: 0 0 5px; }
.compact-score input { width: 100%; min-height: 43px; font-size: 20px; font-weight: 700; padding: 5px 9px; text-align: center; }
.compact-score .result { grid-column: 1/-1; border-top: 1px solid #e0e9e3; padding-top: 8px; font-size: 13px; }
.summary { margin-top: 12px; background: var(--soft); padding: 13px; border: 1px solid #d5e5d9; border-radius: 10px; font-size: 14px; }
.summary strong { color: var(--green); }
.confirm { margin-top: 14px; width: 100%; align-self: start; }
.success { padding: 13px; background: var(--soft); color: var(--green); margin-top: 10px; border-radius: 9px; }
.rule-details { margin-top: 12px; font-size: 13px; color: var(--muted); }
.rule-details summary { font-weight: 600; color: var(--green); cursor: pointer; }
.rule-details p { margin-top: 7px; }
.live-share-fab { display: grid; place-items: center; position: fixed; right: 26px; bottom: 25px; z-index: 28; width: 54px; height: 54px; min-height: 0; padding: 0; border: 0; border-radius: 16px; background: var(--accent); color: var(--green-deep); box-shadow: 0 6px 24px #183a2729; }
.live-share-fab:hover { background: #d0f49e; }
.live-share-fab svg { width: 23px; height: 23px; fill: currentColor; }
.page-heading, .history-heading { margin-bottom: 25px; }
.podium-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 25px; box-shadow: var(--shadow); }
.podium-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.podium-panel-head p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.podium-panel-head .badge { min-width: 32px; height: 30px; font-size: 15px; }
.history-podium { margin-top: 21px; }
.history-mock-caption { font-size: 12px; color: #8d774a; margin-bottom: 13px; }
.podium-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: end; }
.podium-item { display: grid; gap: 9px; justify-items: start; padding: 22px; border-radius: 15px; background: #f4f7f5; border: 1px solid #e4ebe6; min-height: 175px; min-width: 0; }
.podium-item.rank-1 { grid-column: 2; grid-row: 1; background: var(--green-deep); color: #fff; border-color: var(--green-deep); min-height: 196px; }
.podium-item.rank-2 { grid-column: 1; grid-row: 1; }
.podium-item.rank-3 { grid-column: 3; grid-row: 1; }
.podium-medal { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #cbd9d0; border-radius: 50%; font-size: 13px; font-weight: 600; color: #76857c; }
.rank-1 .podium-medal { background: var(--accent); border-color: var(--accent); color: var(--green-deep); }
.podium-name { font-size: 16px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; overflow-wrap: anywhere; }
.podium-wins { color: #718679; font-size: 13px; }
.rank-1 .podium-wins { color: #abc8b7; }
.podium-win-number { color: var(--green); font-size: 29px; letter-spacing: -.04em; font-weight: 700; margin-right: 5px; font-variant-numeric: tabular-nums; }
.rank-1 .podium-win-number { color: var(--accent); }
.saved-history-heading { margin: 28px 0 13px; }
.history-list { display: grid; gap: 10px; }
.round-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.round-card summary { list-style: none; padding: 19px 21px; }
.round-card-head { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 13px; }
.round-card-title { font-size: 16px; font-weight: 650; }
.round-card-meta { margin-top: 5px; font-size: 14px; color: var(--muted); }
.round-status { display: inline-flex; padding: 4px 8px; border-radius: 7px; background: #f3efe5; color: #90723a; font-size: 12px; font-weight: 600; }
.round-status.closed { color: var(--green); background: var(--soft); }
.round-status.active { color: #17643f; background: #e7f5eb; }
.active-round-title { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; }
.round-code-chip { display: inline-grid; place-items: center; min-width: 68px; padding: 6px 9px; border-radius: 9px; background: var(--green); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .12em; line-height: 1; }
.round-code-detail { color: var(--green); font-size: 19px; letter-spacing: .12em; }
.active-round-card { border-color: #cbdccf; }
.history-empty { display: grid; gap: 5px; }
.history-empty b { color: var(--ink); }
.round-detail { border-top: 1px solid var(--line); padding: 16px 21px 20px; }
.round-detail-line { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 9px 0; border-bottom: 1px solid #edf1ee; font-size: 14px; }
.round-detail-line>span { color: var(--muted); }
.round-detail-line>b { text-align: right; font-weight: 600; }
.round-history-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.round-history-actions button { font-size: 14px; }
.history-empty { padding: 26px; text-align: center; border: 1px dashed #cbd9d0; border-radius: 14px; color: #829389; font-size: 14px; }
.history-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 27px; }
.history-examples>h2 { grid-column: 1/-1; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #849289; }
.history-examples .card { margin: 0; padding: 19px; }
.history-examples h3 { font-size: 16px; }
.history-examples .muted { font-size: 13px; margin: 6px 0 12px; }
.history-mock-tag { font-size: 11px; color: #a08755; font-weight: 600; }
.registry-strip { display: grid; grid-template-columns: repeat(3,1fr); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.registry-stat { padding: 17px 22px; border-right: 1px solid var(--line); }
.registry-stat:last-child { border-right: 0; }
.registry-stat strong { display: block; color: var(--green); font-size: 30px; line-height: 1.25; letter-spacing: -.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.registry-stat span { color: #7d8c83; font-size: 13px; }
.hcp-rules-panel { margin: 16px 0 27px; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hcp-rules-panel>summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 17px 19px; font-weight: 650; font-size: 14px; color: var(--ink); }
.hcp-rules-panel>summary .muted { font-size: 13px; font-weight: 400; margin-left: auto; }
.hcp-rules-panel>p, #hcpRulesList, .hcp-rule-adds { margin: 0 19px; }
.hcp-rules-panel>p { margin-bottom: 15px; font-size: 14px; }
.hcp-rule-card { border: 1px solid #dce7df; border-radius: 12px; background: #f8faf9; padding: 16px; margin-top: 12px; }
.hcp-rule-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.hcp-rule-title>div { display: flex; align-items: center; gap: 8px; }
.rule-kind { padding: 4px 7px; border-radius: 999px; background: #eaf2ec; color: var(--green); font-size: 11px; font-weight: 650; }
.hcp-rule-title button { min-height: 32px; padding: 5px 9px; font-size: 12px; background: #fff; color: var(--red); border-color: #e4d0ca; }
.hcp-rule-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.hcp-rule-grid label { margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.hcp-rule-grid input, .hcp-rule-grid select { display: block; margin-top: 5px; width: 100%; min-height: 42px; padding: 8px 10px; font-size: 15px; }
.hcp-rule-adds { display: flex; gap: 9px; flex-wrap: wrap; padding: 16px 0 19px; }
.hcp-rule-adds button { font-size: 13px; }
.victory-rule-card { border-color: #cbdccf; background: #fbfdfb; }
.victory-rule-progress { margin-top: 14px; padding-top: 13px; border-top: 1px solid #e0e9e2; }
.victory-progress-title { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.victory-progress-title b { color: var(--ink); font-size: 13px; }
.victory-progress-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 10px; }
.victory-progress-list>span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #edf4ef; font-size: 12px; }
.victory-progress-list b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.victory-progress-list em { color: var(--green); font-style: normal; font-weight: 750; font-variant-numeric: tabular-nums; }
.victory-rule-progress>p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.registry-add-row { margin-bottom: 14px; }
.registry-add-row h3 { font-size: 19px; }
.registry-add-row button { font-size: 14px; }
.registry-workspace { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 23px; align-items: start; }
.hcp-table { border: 1px solid var(--line); border-radius: 15px; overflow-x: auto; background: #fff; box-shadow: var(--shadow); scrollbar-width: thin; }
.hcp-head, .hcp-row { display: grid; grid-template-columns: 35px minmax(150px,1fr) 49px 49px 80px 52px 52px; gap: 4px; align-items: center; }
.hcp-head { min-width: 550px; padding: 15px 14px; background: #f8faf9; color: #7b8a81; font-size: 11px; font-weight: 550; }
.hcp-head>span:first-child { text-align: center; }
.hcp-head>span:nth-child(3), .hcp-row>span:nth-child(3) { order: 6; }
.hcp-head>span:nth-child(4), .hcp-row>span:nth-child(4) { order: 7; }
.hcp-head>span:nth-child(5), .hcp-row>span:nth-child(5) { order: 3; }
.hcp-head>span:nth-child(6), .hcp-row>span:nth-child(6) { order: 4; }
.hcp-head>span:nth-child(7), .hcp-row>span:nth-child(7) { order: 5; }
.hcp-head>span:nth-child(1), .hcp-row>span:nth-child(1) { order: 1; }
.hcp-head>span:nth-child(2), .hcp-row>span:nth-child(2) { order: 2; }
.hcp-head>span:nth-child(n+3) { text-align: center; }
.hcp-row { width: 100%; min-width: 550px; min-height: 53px; padding: 9px 14px; border: 0; border-top: 1px solid #eef2ef; border-radius: 0; background: #fff; color: var(--ink); text-align: left; }
.hcp-row:hover { background: #f7faf8; }
.hcp-row.active { background: #eef6f0; box-shadow: inset 3px 0 var(--green); }
.hcp-win-count { display: grid; place-items: center; width: 25px; height: 25px; margin: auto; border-radius: 8px; background: #f3f6f4; color: #89988e; font-size: 12px; font-weight: 650; }
.hcp-win-count.has-wins { background: #eff4de; color: #6a793b; }
.hcp-name { font-size: 14px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcp-cell { text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; color: #798a7f; }
.hcp-current { font-size: 17px; font-weight: 700; color: var(--green); }
.hcp-delta { font-size: 13px; font-weight: 650; color: var(--green); }
.hcp-delta.zero { color: #a0afa5; font-weight: 500; }
.spark { display: grid; place-items: center; height: 30px; }
.spark svg { width: 54px; height: 25px; }
.registry-detail { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
#registryDetail { position: sticky; top: 171px; min-width: 0; }
.detail-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 22px; }
.detail-top h3 { font-size: 18px; }
.detail-top .small { font-size: 12px; margin-top: 4px; line-height: 1.5; }
.detail-now { text-align: right; white-space: nowrap; }
.detail-now strong { display: block; color: var(--green); font-size: 33px; font-weight: 700; line-height: 1.25; letter-spacing: -.04em; }
.detail-now .small { display: block; }
.registry-edit { margin: 0 22px 20px; font-size: 13px; min-height: 38px; padding: 7px 12px; }
.trend-chart { padding: 0 20px 10px; }
.trend-chart svg { width: 100%; height: auto; display: block; }
.trend-legend { padding: 0 22px 18px; font-size: 12px; color: var(--muted); }
.trend-legend b { color: var(--green); font-weight: 550; }
.round-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.round-table { border-collapse: collapse; width: 100%; font-size: 12px; white-space: nowrap; }
.round-table th { background: #f8faf9; color: #829188; font-size: 11px; font-weight: 500; text-align: left; padding: 10px 12px; }
.round-table td { padding: 12px; border-top: 1px solid #edf2ee; }
.registry-empty { padding: 24px; color: var(--muted); font-size: 14px; text-align: center; }
.table-note { margin-top: 17px; font-size: 13px; }
.registry-form { padding: 22px; margin-top: 18px; }
.registry-form h3 { margin-bottom: 18px; }
.registry-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.registry-form-grid .wide { grid-column: 1/-1; }
.registry-form-actions { display: flex; gap: 10px; margin-top: 20px; }
.registry-form-actions button { flex: 1; }
.group-dialog { width: min(440px,calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); box-shadow: 0 30px 80px #16372745; }
.group-dialog::backdrop { background: #122f2490; backdrop-filter: blur(5px); }
.group-dialog form { padding: 28px; }
.group-dialog h2 { font-size: 23px; margin-bottom: 7px; }
.group-dialog p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.group-dialog input { width: 100%; }
.group-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 21px; }
@media (max-width: 1020px) {
  .account-layout { grid-template-columns: 1fr; gap: 0; }
  .result-overview { grid-template-columns: 1fr 1fr; align-items: start; }
  .round-results .result-main { min-height: 212px; }
  .liquid-row { grid-template-columns: minmax(0,1fr) 120px 55px 94px; }
  .liquid-row>b { font-size: 16px; }
  .liquid-row>strong { font-size: 17px; }
  .registry-workspace { grid-template-columns: 1fr; }
  #registryDetail { position: static; max-width: 740px; }
  .hcp-head, .hcp-row { grid-template-columns: 38px minmax(150px,1fr) 57px 57px 80px 58px 58px; }
  .history-examples { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 90px; }
  header { height: 70px; padding: 0 18px; }
  .header-inner { gap: 9px; }
  .brand-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 24px; }
  .top-title { font-size: 20px; }
  .title-group small { font-size: 11px; }
  .group-label { display: none; }
  .group-control { max-width: 45%; }
  .group-switcher { width: 151px; max-width: 100%; min-height: 40px; padding: 8px 10px; font-size: 16px; border-radius: 9px; }
  .view-tabs { position: fixed; top: auto; bottom: 0; left: 0; right: 0; border-top: 1px solid #d9e4dc; border-bottom: 0; height: calc(75px + env(safe-area-inset-bottom)); padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); justify-content: space-between; gap: 7px; box-shadow: 0 -5px 24px #15352408; }
  .view-tab { flex: 1; min-width: 0; min-height: 56px; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 6px; font-size: 13px; border-radius: 11px; }
  .view-tab .ui-icon { width: 21px; height: 21px; }
  .view-tab.active { background: #e9f3ec; color: var(--green); }
  .view-tab.active:hover { background: #e9f3ec; }
  main { padding: 25px 18px calc(170px + env(safe-area-inset-bottom)); }
  h1 { font-size: 28px; }
  h2 { font-size: 18px; }
  .round-context { grid-template-columns: minmax(0,1fr) 110px; gap: 15px; align-items: start; margin-bottom: 21px; }
  .context-kicker { font-size: 10px; margin-bottom: 7px; letter-spacing: .07em; }
  .round-context-copy p { font-size: 13px; margin-top: 6px; }
  .player-count-field { padding-top: 4px; }
  .player-count-field label { font-size: 12px; margin-bottom: 6px; }
  .player-count-field input { min-height: 55px; font-size: 24px; }
  .settings-disclosure { margin-bottom: 24px; }
  .settings-disclosure>summary { min-height: 60px; padding: 12px 14px; gap: 10px; }
  .settings-summary-text { display: grid; gap: 2px; }
  .settings-summary-text small { font-size: 11px; }
  .settings-summary-text strong { font-size: 14px; }
  .advanced-settings-grid { gap: 17px; padding: 19px; }
  .advanced-settings-grid .course-field, .advanced-settings-grid .format-field { grid-column: 1/-1; }
  .game-stakes { grid-template-columns: 1fr; }
  .game-stakes .config-field:only-child { max-width: none; }
  .advanced-settings-grid .config-field label { font-size: 12px; }
  .switch-card { padding: 14px; }
  .switch-card h3, .switch-card p { font-size: 13px; }
  .section-heading { gap: 8px; margin-bottom: 12px; }
  .quick-grid { padding: 0 16px; }
  .quick-player-head { display: none; }
  .quick-player-row { grid-template-columns: 21px repeat(6,minmax(0,1fr)) 22px; gap: 12px 4px; padding: 15px 0 17px; }
  .quick-player-row:first-child { border-top: 0; }
  .slot-num { grid-column: 1; grid-row: 1; padding-top: 11px; font-size: 12px; }
  .quick-name { grid-column: 2/8; grid-row: 1; }
  .quick-name input { font-size: 16px; min-height: 38px; padding: 6px 8px; }
  .quick-name .small { font-size: 12px; margin: 2px 0 0 8px; }
  .quick-remove { grid-column: 8; grid-row: 1; margin-top: 4px; min-height: 32px; font-size: 23px; }
  .quick-unit-control { grid-row: 2; }
  .quick-unit-control.oye-control-0 { grid-column: 2; }
  .quick-unit-control.oye-control-1 { grid-column: 3; }
  .quick-unit-control.oye-control-2 { grid-column: 4; }
  .quick-unit-control.oye-control-3 { grid-column: 5; }
  .quick-unit-control.putts-control { grid-column: 6; }
  .quick-unit-control.other-control { grid-column: 7/9; }
  .control-text { display: block; font-size: 12px; white-space: nowrap; }
  .qcheck { width: 28px; height: 28px; border-radius: 7px; }
  .other-unit { width: 45px !important; min-height: 28px !important; height: 28px; font-size: 16px; }
  .player-add-area { grid-template-columns: 1fr; gap: 9px; }
  .player-add-area #addPlayer { justify-self: start; padding: 5px 0; min-height: 30px; border: 0; background: transparent; font-size: 13px; color: #6e8476; }
  .roster-picker { min-height: 48px; font-size: 16px; }
  .player-add-picker>label { font-size: 12px; }
  .player-slot-search .roster-suggestions { width: min(285px,calc(100vw - 90px)); }
  .result-overview { grid-template-columns: 1fr; gap: 10px; }
  .round-results .result-main { min-height: 0; }
  .result-card { padding: 19px; border-radius: 16px; }
  .winner-info strong { font-size: 20px; }
  .winner-points { font-size: 15px; }
  .result-card .amount { font-size: 12px; }
  .result-card .label { font-size: 10px; }
  .award-winner { font-size: 16px; }
  .oye-chip strong { font-size: 14px; }
  .liquid-row { grid-template-columns: minmax(0,1fr) auto; gap: 9px 15px; padding: 15px 16px; }
  .liquid-row>b { grid-column: 1; font-size: 16px; }
  .liquid-row>strong { grid-column: 2; font-size: 17px; }
  .settlement-paid { display: flex; justify-self: start; grid-column: 1; grid-row: 2; flex-direction: row-reverse; gap: 7px; font-size: 12px; }
  .settlement-change { grid-column: 2; grid-row: 2; display: flex; gap: 6px; justify-self: end; font-size: 12px; }
  .change-input { width: 70px; min-height: 30px; font-size: 16px; }
  .paid-check { width: 22px; height: 22px; }
  .bottom-actions button, .round-actions button { font-size: 12px; padding: 10px 9px; }
  .round-share-button { font-size: 13px; padding: 12px; line-height: 1.4; }
  .hcp-adjust-section { margin-top: 2px; padding-top: 25px; }
  .hcp-adjust-card { display: block; padding: 19px; }
  .hcp-adjust-card .intro h3 { font-size: 16px; }
  .hcp-adjust-card .intro p { font-size: 13px; }
  .choice { gap: 9px; }
  .choice-name { font-size: 14px; }
  #scores { margin-top: 12px; }
  .live-share-fab { width: 49px; height: 49px; border-radius: 14px; right: 17px; bottom: calc(91px + env(safe-area-inset-bottom)); }
  .live-share-fab svg { width: 21px; height: 21px; }
  .history-heading p, .page-heading p { font-size: 14px; }
  .podium-panel { padding: 18px; border-radius: 17px; }
  .podium-panel-head h2 { font-size: 17px; }
  .podium-panel-head p { font-size: 12px; }
  .podium-grid { gap: 7px; }
  .podium-item { padding: 13px 10px; min-height: 178px; gap: 8px; border-radius: 12px; }
  .podium-item.rank-1 { min-height: 196px; }
  .podium-medal { width: 26px; height: 26px; font-size: 11px; }
  .podium-name { font-size: 14px; line-height: 1.4; }
  .podium-wins { font-size: 12px; }
  .podium-win-number { display: block; font-size: 27px; margin: 0; }
  .history-mock-caption { font-size: 11px; line-height: 1.5; }
  .round-card summary { padding: 17px; }
  .round-card-title { font-size: 15px; }
  .round-card-meta { font-size: 12px; line-height: 1.5; }
  .round-detail { padding: 13px 17px 18px; }
  .round-detail-line { font-size: 13px; gap: 12px; }
  .round-status { font-size: 10px; margin-top: 2px; }
  .history-examples>h2 { font-size: 10px; line-height: 1.6; }
  .registry-strip { padding: 4px; }
  .registry-stat { padding: 15px 13px; }
  .registry-stat strong { font-size: 26px; }
  .registry-stat span { font-size: 11px; }
  .hcp-rules-panel>summary { padding: 15px; font-size: 13px; }
  .hcp-rules-panel>summary .muted { display: none; }
  .hcp-rules-panel>p, #hcpRulesList, .hcp-rule-adds { margin-left: 15px; margin-right: 15px; }
  .hcp-rule-grid { grid-template-columns: 1fr 1fr; }
  .hcp-rule-card { padding: 13px; }
  .victory-progress-list { grid-template-columns: 1fr; }
  .registry-add-row h3 { font-size: 18px; }
  .registry-add-row button { font-size: 12px; min-height: 40px; padding: 8px 10px; }
  .hcp-head, .hcp-row { grid-template-columns: 29px minmax(155px,1fr) 48px 43px 72px 49px 49px; min-width: 560px; gap: 3px; padding-left: 10px; padding-right: 10px; }
  .hcp-head { font-size: 12px; }
  .hcp-name { font-size: 14px; }
  .hcp-current { font-size: 17px; }
  .hcp-win-count { font-size: 11px; width: 23px; height: 23px; }
  .detail-top { padding: 19px; }
  .detail-top h3 { font-size: 17px; }
  .detail-now strong { font-size: 30px; }
  .registry-edit { margin-left: 19px; }
  .table-note { font-size: 12px; line-height: 1.6; }
  .registry-form-grid { gap: 13px; }
  .registry-form { padding: 18px; }
  .tiny-hcp { font-size: 16px !important; }
  .hcp-rule-grid input, .hcp-rule-grid select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Round identity and player count */
.round-context { grid-template-columns: minmax(0, 1fr) minmax(290px, 380px); align-items: start; }
.round-code-tools { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; align-items: start; }
.round-code-display { display: grid; gap: 8px; }
.round-code-display span, .round-code-entry label { color: var(--muted); font-size: 14px; }
.round-code-display strong { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-width: 104px; min-height: 44px; padding: 4px 12px; border: 1px solid #ffffff45; border-radius: 12px; background: #ffffff14; color: #fff; font-size: 26px; letter-spacing: .12em; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px #06251b80; }
.round-code-entry { display: grid; gap: 8px; }
.round-code-input-row { display: flex; gap: 8px; }
.round-code-input-row input { width: 100%; min-width: 0; min-height: 46px; text-transform: uppercase; font-size: 18px; letter-spacing: .1em; }
.round-code-input-row button { min-height: 46px; padding: 8px 14px; }
.round-code-entry small, #roundCodeFeedback { color: var(--muted); font-size: 13px; line-height: 1.45; }
#roundCodeFeedback:empty { display: none; }
.round-player-count { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 18px; }
.round-player-count label { font-size: 16px; color: var(--ink); margin: 0; font-weight: 700; }
.player-count-copy { display: grid; gap: 3px; }
.player-count-copy small { color: var(--muted); font-size: 13px; }
.player-count-stepper { display: grid; grid-template-columns: 48px 68px 48px; align-items: center; overflow: hidden; border: 1px solid #cbd8cf; border-radius: 14px; background: #f5f8f6; }
.player-count-stepper button { min-width: 48px; min-height: 50px; padding: 0; border: 0; border-radius: 0; background: #edf4ef; color: var(--green); font-size: 27px; font-weight: 700; }
.player-count-stepper button:first-child { border-right: 1px solid #d7e1da; }
.player-count-stepper button:last-child { border-left: 1px solid #d7e1da; }
.player-count-stepper button:active { background: #dfece3; }
.round-player-count .player-count-stepper input { width: 68px; min-height: 50px; padding: 6px 4px; border: 0; border-radius: 0; background: #fff; text-align: center; font-size: 22px; }
.round-player-count input::-webkit-inner-spin-button, .round-player-count input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@media(max-width:640px) { .round-context { grid-template-columns: 1fr; gap: 18px; } .round-code-tools { grid-template-columns: 110px minmax(0,1fr); } .round-player-count { padding: 14px 16px; } .player-count-copy small { max-width: 180px; } .player-count-stepper { grid-template-columns: 44px 58px 44px; } .player-count-stepper button { min-width: 44px; } .round-player-count .player-count-stepper input { width: 58px; } }

/* Round entry flow and header settings */
.header-actions{margin-left:auto;display:flex;align-items:flex-end;gap:9px}.header-actions .group-control{margin-left:0}.round-settings-button{display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;border:1px solid #cbd9cf;border-radius:12px;background:#edf5ef;color:#14513a;box-shadow:0 2px 7px #14392512}.round-settings-button:hover{background:#e3f0e7}.round-settings-button .ui-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.round-launcher{max-width:720px;margin:28px auto 0;padding:30px;border:1px solid #dce7df;border-radius:26px;background:linear-gradient(145deg,#fff,#f7fbf8);box-shadow:0 18px 50px #153b2912}.round-launcher .context-kicker{color:#3f775d}.round-launcher h1{margin:7px 0 6px;font-size:32px;color:#153f2e}.round-launcher>p{margin:0;color:var(--muted);font-size:16px}.round-launcher-actions{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:26px}.round-choice{display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;align-items:center;min-height:94px;padding:17px;text-align:left;border-radius:19px}.round-choice.primary{color:#fff}.round-choice-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#edf5ef;color:#14513a;font-size:27px;font-weight:500}.round-choice.primary .round-choice-icon{background:#ffffff20;color:#fff}.round-choice strong,.round-choice small{display:block}.round-choice strong{font-size:17px}.round-choice small{margin-top:3px;color:#718078;font-size:12px;line-height:1.35}.round-choice.primary small{color:#d9eee1}.continue-round-panel{margin-top:16px;padding:18px;border:1px solid #d9e5dc;border-radius:18px;background:#f2f7f3}.continue-round-panel .round-code-entry{max-width:440px;margin:0 auto}.continue-round-panel label{display:block;margin-bottom:7px;color:#315e49;font-size:13px;font-weight:750}.continue-round-panel small{display:block;margin-top:7px;color:#6e7b73}.continue-round-panel #roundCodeFeedback{display:block;margin-top:7px;color:#2f6b4d;font-size:13px;font-weight:700}
.active-code-tools{display:grid;grid-template-columns:1fr;gap:9px;justify-items:stretch}.active-code-tools .round-code-display{width:100%}.change-round-button{width:100%;padding:8px 11px;border-color:#ffffff55;background:#ffffff10;color:#fff;font-size:12px;box-shadow:none}.change-round-button:hover{background:#ffffff1f}.round-settings-dialog{width:min(620px,calc(100% - 28px));max-height:min(760px,calc(100dvh - 32px));padding:0;border:1px solid #dce6df;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 28px 90px #0b241944;overflow:auto}.round-settings-dialog::backdrop{background:#092219a8;backdrop-filter:blur(4px)}.round-settings-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 13px;background:#fff;border-bottom:1px solid #e8eee9}.round-settings-head .context-kicker{color:#3f775d}.round-settings-head h2{margin:5px 0 2px;color:#173f2e;font-size:22px}.round-settings-head p{margin:0;color:var(--muted);font-size:13px}.round-settings-head button{display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;border-radius:12px;font-size:26px;line-height:1}.round-settings-dialog .advanced-settings-grid{padding:20px 22px 26px}.round-settings-dialog[open]{animation:settings-in .18s ease-out}@keyframes settings-in{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:680px){.header-actions{gap:6px;min-width:0}.header-actions .group-control{max-width:none}.header-actions .group-switcher{width:min(142px,35vw)}.round-settings-button{width:38px;height:38px;min-width:38px}.round-launcher{margin-top:10px;padding:23px 18px;border-radius:22px}.round-launcher h1{font-size:27px}.round-launcher-actions{grid-template-columns:1fr;gap:10px;margin-top:21px}.round-choice{min-height:82px}.round-settings-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 18px);border-radius:22px}.round-settings-head{padding:19px 17px 12px}.round-settings-dialog .advanced-settings-grid{padding:17px}.active-code-tools{grid-template-columns:1fr}.round-context{margin-top:2px}}
@media(max-width:430px){.header-inner>.title-group{grid-column:2}.header-actions{grid-column:3}.header-actions .group-switcher{width:112px;padding-left:7px;padding-right:7px}.round-settings-button{width:36px;height:36px;min-width:36px}.round-launcher>p{font-size:15px}}
