.game-page{padding:12px 24px 64px;max-width:1104px}.game-page a{color:inherit}.game-page .back-link{display:inline-block;margin:0 0 20px;color:var(--muted);font-size:14px}.game-heading{background:#075438;color:white;border-radius:24px;padding:32px;margin-bottom:22px}.game-heading h1{font-size:clamp(30px,4vw,46px);letter-spacing:-.035em;line-height:1.15;margin:14px 0 24px;overflow-wrap:anywhere}.game-heading .eyebrow{color:#cfe5d8}.game-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0}.game-facts dt{font-size:12px;color:#cfe5d8;margin-bottom:6px}.game-facts dd{margin:0;font-weight:650;overflow-wrap:anywhere}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.game-panel{background:white;border:1px solid var(--line);padding:24px;border-radius:20px;margin-bottom:20px;min-width:0}.game-panel h2{font-size:24px;margin:0 0 18px;letter-spacing:-.025em}.game-panel h3{font-size:18px;margin:0 0 12px}.game-copy{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.game-page .muted{color:var(--muted);font-size:14px;line-height:1.6}.game-page .pill{display:inline-block;background:#edf4e4;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:650}.game-page .row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.game-page .actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.game-page .primary-btn,.game-page .ghost-btn{display:inline-block;text-decoration:none;text-align:center;font-size:14px}.roster{padding:0;margin:0;list-style:none}.roster li{display:flex;gap:12px;align-items:center;border-bottom:1px solid #edf1ee;padding:12px 0}.roster li:last-child{border:0}.player-avatar{background:#eef4eb;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-weight:800}.roster .player-level{margin-inline-start:auto;white-space:nowrap;font-size:14px}.match-card{border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:12px;text-decoration:none;display:block}.match-card:hover{border-color:#075438;background:#f8fbf7}.match-versus{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;text-align:center;margin:20px 0}.match-versus strong{font-size:30px;white-space:nowrap}.match-names{font-size:14px;overflow-wrap:anywhere}.match-names span{display:block}.game-page select{width:100%;font:inherit;padding:12px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--text)}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.team-box{background:#f5f8f4;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:14px}.team-box h3{margin:0}.team-box input[type=number]{font-size:26px;font-weight:700;text-align:center}.game-page button:disabled{opacity:.55;cursor:not-allowed}.game-notice{padding:14px 18px;background:#fff6dc;border:1px solid #eed996;border-radius:14px;font-size:14px;margin-bottom:20px}.game-auth{max-width:480px}.game-filter{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.game-filter button[aria-pressed=true]{background:#075438;color:white}.empty-state{padding:24px 0;color:var(--muted);line-height:1.6}.result-score{font-size:clamp(40px,8vw,80px);font-weight:800;line-height:1.2;text-align:center;margin:28px 0}.result-teams{text-align:center}.review-panel{border:2px solid #075438}.game-page .form-message{overflow-wrap:anywhere}.game-panel:focus{outline:2px solid #075438;outline-offset:3px}.game-page .game-card h3{margin-top:14px}.game-page .card-link{text-decoration:none}.game-page .card-link:hover{text-decoration:underline}
@media(max-width:700px){.game-page{padding:8px 16px 40px}.game-heading{padding:24px 20px}.game-facts{grid-template-columns:1fr 1fr;gap:20px 12px}.game-layout{grid-template-columns:1fr}.game-panel{padding:20px}.team-grid{gap:10px}.team-box{padding:12px}.game-page select{padding:10px 6px;font-size:16px;min-width:0}.match-versus{gap:8px}.match-versus strong{font-size:25px}.game-page .cards{grid-template-columns:1fr}.game-page .actions>*{min-height:44px}.game-page input{font-size:16px}}
.nav-actions a.ghost-btn{color:var(--text);text-decoration:none}
.schedule-players{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.schedule-players label{display:flex;align-items:center;gap:8px;font-size:14px}.schedule-players input{width:18px;height:18px;flex-shrink:0}.schedule-players small{display:block;color:var(--muted)}.schedule-round{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.schedule-versus{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;text-align:center;margin:16px 0;overflow-wrap:anywhere}#scheduleForm{display:grid;gap:12px}#scheduleForm input[type=number]{width:100%;box-sizing:border-box} 
.request-roster li{flex-wrap:wrap}.request-roster .actions{width:100%;justify-content:flex-end;margin-top:8px}.request-roster .actions button{min-height:44px}.request-roster li>span:nth-child(2){overflow-wrap:anywhere;min-width:0}

.schedule-is-me{border:2px solid #6c9825;background:#f4f9e8}
.game-host-actions{margin:0 0 20px}.game-host-dialog{width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #d8e1dd;border-radius:22px;padding:22px}.game-host-dialog::backdrop{background:#123c3270}.game-host-dialog h2{font-size:24px}.game-host-dialog label{display:block;margin:12px 0}.game-host-dialog input,.game-host-dialog textarea,.game-host-dialog select{width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:12px;border:1px solid #d8e1dd;border-radius:10px}.game-host-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.game-host-dialog .muted{font-size:13px}.game-host-dialog .danger{color:#a12b2b}@media(max-width:420px){.game-host-grid{grid-template-columns:1fr}.game-host-dialog{padding:18px}}

.player-avatar{position:relative;overflow:hidden}.player-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.roster li>span:nth-child(2){min-width:0;overflow-wrap:anywhere}

.attendance-row{border-top:1px solid #d8e1dd;padding:16px 0}.attendance-row form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}.attendance-row input{grid-column:1/-1;min-width:0;width:100%;box-sizing:border-box}.attendance-row form p{grid-column:1/-1}.attendance-row small{display:block;color:#63746d}
.venue-map-link{display:inline-flex;align-items:flex-start;gap:6px;max-width:100%;text-underline-offset:3px}.venue-map-icon{width:20px;height:24px;flex-shrink:0}.venue-map-link span{min-width:0;overflow-wrap:anywhere}

.game-mobile-join{display:none}@media(max-width:700px){.game-mobile-join{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;gap:12px;align-items:center;background:#fff;border-top:1px solid #d5dfda;box-shadow:0 -3px 12px #103d3010;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.game-mobile-join>div{display:flex;flex-direction:column;font-size:13px;gap:4px;max-width:38%}.game-mobile-join button{flex:1;min-height:48px;font-size:15px;padding:12px}.game-page:has(.game-mobile-join){padding-bottom:120px}.game-layout aside [data-action="join"]{display:none}}

/* Keep individual match entry compact without shrinking touch targets. */
.compact-match{padding:18px;margin-bottom:12px}.compact-match h1{margin:0 0 10px}.compact-match h2{margin-bottom:12px}.compact-match p{margin:8px 0 12px}.compact-match .team-box{gap:8px}.compact-match label{margin-bottom:10px}.compact-match .team-box label{margin:0}.compact-match input{padding:10px 12px}

.game-host-edit{margin:12px 0 20px}.game-host-edit button{min-height:44px;padding:12px 24px}

.game-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}.game-share-copy{display:block;background:none;border:0;color:inherit;font:inherit;text-decoration:underline;padding:0;margin:0;flex:0 0 auto;white-space:nowrap;cursor:pointer}.game-share input{flex:1 1 0;width:0;min-width:0;max-width:280px;box-sizing:border-box;cursor:pointer}.game-share-status{flex-basis:100%;display:inline-block;margin-top:6px;font-size:13px;color:#fff}.game-share-status[hidden]{display:none}

.game-host-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.game-host-title{display:flex;align-items:center;gap:10px;min-width:0}.game-host-title h2{margin:0}.game-host-title button{white-space:nowrap;min-height:44px;padding:8px 10px;font-size:13px}.game-host-dialog-heading>[data-close]{padding:8px;min-height:44px}@media(max-width:380px){.game-host-title h2{font-size:20px}.game-host-title{gap:6px}.game-host-dialog-heading{gap:6px}}

.game-heading-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-heading-top .eyebrow{min-width:0;text-transform:none;letter-spacing:.04em;font-size:12px}.game-page .game-heading-edit{flex-shrink:0;min-height:44px;padding:10px 18px;margin:0}

#attendancePanel{padding:16px}#attendancePanel h2{margin:0 0 8px}#attendancePanel>p{font-size:13px;margin:6px 0}.attendance-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:10px 0}.attendance-row>p{margin:0;font-size:13px}.attendance-row>small{font-size:11px}.attendance-row form{flex:1 1 100%;margin-top:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.attendance-row form select{min-width:0;width:100%;min-height:42px;font-size:14px}.attendance-row form input{grid-row:2;margin:0;font-size:14px}.attendance-row form button{grid-column:2;grid-row:1;margin:0;padding:8px 12px;min-height:42px}.attendance-row form p:empty{display:none}

.game-champion-name,.game-champion-name a{color:#8b2635;font-weight:700}
/* Host editor: scrolling fields with reachable, separate primary actions. */
.game-host-dialog { box-sizing: border-box; }
.game-host-dialog .game-host-section { min-width: 0; margin: 16px 0; padding: 12px 14px; border: 1px solid #d8e1dd; border-radius: 14px; }
.game-host-section legend { padding: 0 6px; font-size: 14px; font-weight: 700; color: #075438; }
.game-host-dialog label { min-width: 0; font-size: 14px; line-height: 1.5; }
.game-host-dialog input,.game-host-dialog select,.game-host-dialog textarea { display: block; min-width: 0; max-width: 100%; min-height: 44px; margin-top: 6px; }
.game-host-dialog input[type=checkbox] { display: inline-block; min-height: 0; }
.game-host-dialog textarea { resize: vertical; min-height: 96px; }
.game-host-dialog .game-host-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.game-host-dialog .game-host-danger-zone { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e5eae7; }
.game-host-dialog .game-host-danger-zone button { min-height: 44px; font-size: 14px; }
.game-host-dialog .game-host-footer > button { width: 100%; min-height: 48px; }
.game-host-dialog [data-save-status] { margin: 0 0 10px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.game-host-dialog [data-save-status]:empty { display: none; }
.game-host-dialog .venue-picker { min-width: 0; margin: 8px 0; padding: 12px; border-radius: 12px; background: #f1f6e9; }
.game-host-dialog .venue-picker select { max-width: 100%; }
.game-host-dialog .venue-picker > button { min-height: 44px; margin-top: 8px; font-size: 14px; }
.game-host-dialog .venue-picker > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
@media(max-width:650px) {
  .game-host-dialog[open] { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: #f6f8f5; }
  .game-host-dialog > form { display: flex; flex-direction: column; height: 100%; min-height: 0; margin: 0; }
  .game-host-dialog .game-host-dialog-heading { flex: none; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; border-bottom: 1px solid #d8e1dd; background: #fff; }
  .game-host-dialog .game-host-title h2 { font-size: 21px; line-height: 1.3; }
  .game-host-dialog .game-host-dialog-heading > [data-close] { padding: 10px 14px; font-size: 14px; }
  .game-host-dialog .game-host-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px 18px; scroll-padding: 18px; }
  .game-host-dialog .game-host-section { margin: 16px 0; padding: 8px 12px 4px; background: #fff; }
  .game-host-dialog .game-host-section label { margin: 10px 0; }
  .game-host-dialog .game-host-footer { flex: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #d8e1dd; background: #fff; box-shadow: 0 -4px 16px #123d2e08; }
  .game-host-dialog .game-host-footer [data-save-status] { max-height: 20dvh; overflow: auto; }
  .game-host-dialog .game-host-grid:not(.game-host-numbers),.game-host-dialog .game-extra-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .game-host-dialog .game-extra-fields { background: #fff; padding: 12px; }
  .game-host-dialog .game-host-body > .muted { line-height: 1.6; }
  body:has(.game-host-dialog[open]) { overflow: hidden; }
}
/* Match result instructions: on-demand help, not body copy. */
.match-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.match-title-row h1{margin:0;min-width:0}
.match-info-button{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font-size:24px;display:inline-flex;align-items:center;justify-content:center}
.match-info-dialog{width:min(440px,calc(100% - 32px));max-height:80dvh;overflow:auto;border:1px solid #dbe2de;border-radius:18px;padding:22px;color:#174c39;background:#fff;box-shadow:0 12px 50px #0003}
.match-info-dialog::backdrop{background:#0006}
.match-info-dialog h2{font-size:22px;margin:0 0 12px}
.match-info-dialog p{font-size:15px;line-height:1.55}
.match-info-dialog button{min-height:44px;float:right}
#resultForm .match-field-inline{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:10px}
#resultForm .match-field-inline>span{font-size:14px}
#resultForm .match-field-inline>input,#resultForm .match-field-inline>select{width:100%;min-width:0;box-sizing:border-box;min-height:44px;font-size:16px}
#resultForm .match-score-inline{display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0}
#resultForm .match-score-inline>span{flex-shrink:0;font-size:14px}
#resultForm .match-score-inline>input{width:64px;max-width:100%;min-width:0;flex:1;min-height:44px;padding:8px 4px;font-size:22px}
#resultForm .team-box{min-width:0}
