/* Club homepage extensions: the original forest, lime, blue and glass palette. */
:root { --tour-image: url("/assets/img/club/hero-preview.jpg"); --club-image: url("/assets/img/club/hero-preview.jpg"); --line: rgba(217, 240, 221, .14); --panel: #0c291e; }
html { scroll-padding-bottom: 7rem; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button, select { min-width: 0; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.page-section { margin-top: 2.6rem; scroll-margin-top: 1.5rem; }
.overview-grid > *, .leaderboard-grid > *, .fund-calendar-grid > *, .club-life-grid > * { min-width: 0; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .6rem 1rem; margin-bottom: 1.2rem; }
.eyebrow { margin: 0; color: var(--lime); font-size: .66rem; font-weight: 700; line-height: 1.5; letter-spacing: .14em; }
.section-heading h2, .calendar-card h2 { margin: .42rem 0 0; font-size: clamp(1.85rem, 6.8vw, 2.7rem); line-height: 1.12; font-weight: 700; letter-spacing: -.045em; }
.section-description { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.small-detail { display: block; font-size: .72rem; line-height: 1.5; color: var(--muted); font-weight: 400; }
.muted-caption { color: #a7b4aa; font-size: .65rem; line-height: 1.6; margin: 1rem 0 0; }
.blue-text { color: var(--blue) !important; }
.muted-text { color: var(--muted) !important; }
.card-kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.icon-button { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.icon-button .icon { width: 1.25rem; height: 1.25rem; }
.header-actions { display: flex; gap: .5rem; }
.notification-button { position: relative; }
.notification-dot { position: absolute; top: .6rem; right: .6rem; width: .38rem; height: .38rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px #133722; }
.desktop-nav { display: none; }
.site-header { z-index: 30; }
.menu-panel { width: min(20rem, 100%); min-width: 0; max-height: calc(100svh - 9rem); overflow-y: auto; background: #092a1ef7; }
.menu-panel a { min-height: 2.75rem; }
.hero { min-height: 23rem; padding-top: 3.2rem; gap: 1.3rem; }
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1.1rem; color: #edf4e8; font-size: .6rem; letter-spacing: .1em; }
.status-dot { display: inline-block; flex: 0 0 .4rem; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.hero-eyebrow > .status-dot { color: var(--lime); }
.preview-label { padding-left: .65rem; border-left: 1px solid #ffffff4d; font-size: .62rem; font-weight: 400; letter-spacing: 0; color: #d3ddd2; }
.hero-copy h1 { font-size: clamp(2.8rem, 14.4vw, 7rem); }
.weather-card { padding: .7rem .85rem; width: 9.7rem; }
.hero-background { height: 56rem; background-position: center, center, 57% top; }
.overview-grid { display: grid; gap: 1rem; }
.next-round-card { position: relative; overflow: hidden; padding: 1.25rem; border: 1px solid #d8ff85; border-radius: 26px; background: linear-gradient(120deg, #ceff49, #b9f533 75%, #abe342); color: #0b2717; box-shadow: inset 0 1px 0 #ffffff55, 0 18px 60px #0002; scroll-margin-top: 1.5rem; }
.dark-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .6rem; color: var(--lime); background: #0a301c; border-radius: 7px; font-size: .63rem; font-weight: 700; letter-spacing: .05em; }
.round-number { font-size: .61rem; font-weight: 700; letter-spacing: .06em; color: #3c5724; }
.next-round-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .7rem; margin-top: 1.25rem; }
.next-round-heading h2 { margin: 0; font-size: clamp(1.85rem, 7.7vw, 3.35rem); line-height: 1.06; font-weight: 800; letter-spacing: -.055em; overflow-wrap: anywhere; }
.venue-line { display: flex; align-items: center; gap: .3rem; margin: .55rem 0 0; font-size: .83rem; }
.venue-line .icon { width: .95rem; height: .95rem; flex-shrink: 0; }
.date-tile { display: flex; flex-direction: column; align-items: center; min-width: 4rem; padding: .6rem .5rem; border: 1px solid #27451725; border-radius: 14px; background: #efffc52b; }
.date-tile span:first-child { font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.date-tile strong { font-size: 2.3rem; line-height: 1.2; letter-spacing: -.06em; }
.date-tile span:last-child { font-size: .48rem; font-weight: 650; letter-spacing: .08em; }
.round-facts { display: flex; flex-wrap: wrap; gap: .55rem .85rem; margin-top: 1rem; padding-bottom: 1.15rem; border-bottom: 1px solid #1538202b; font-size: .7rem; color: #28441d; }
.round-facts > span { display: inline-flex; align-items: center; gap: .3rem; }
.round-facts .icon { width: .85rem; height: .85rem; }
.rsvp-fieldset { margin: 1.05rem 0 0; padding: 0; border: 0; min-width: 0; }
.rsvp-fieldset legend { font-size: .83rem; font-weight: 700; padding: 0; margin-bottom: .7rem; }
.rsvp-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.rsvp-option { position: relative; min-width: 0; cursor: pointer; }
.rsvp-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rsvp-option > span { display: flex; align-items: center; justify-content: center; gap: .2rem; min-height: 2.9rem; padding: .55rem .15rem; border: 1px solid #173a2047; border-radius: 11px; font-size: .76rem; font-weight: 650; overflow-wrap: anywhere; }
.rsvp-option input:checked + span { background: #0a301c; border-color: #0a301c; color: var(--lime); }
.rsvp-option input:disabled + span { opacity: .6; cursor: default; }
.rsvp-option .icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.attendance-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; }
.attendees-button { display: flex; align-items: center; gap: .55rem; padding: 0; min-height: 2.75rem; background: none; border: 0; color: inherit; text-align: left; }
.attendees-button strong { font-size: .73rem; }
.attendees-button .small-detail { color: #3e562b; font-size: .63rem; }
.avatar-stack { display: flex; padding-left: .2rem; }
.avatar-stack > span { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-left: -.2rem; border: 2px solid #c4fc42; border-radius: 50%; font-size: .51rem; font-weight: 700; background: #315c3f; color: #ecf6db; }
.avatar-stack > span:nth-child(2) { background: #75815a; }
.avatar-stack > span:nth-child(3) { background: #17482f; }
.rsvp-deadline { font-size: .62rem; line-height: 1.6; text-align: right; color: #395324; }
.rsvp-deadline strong { font-weight: 650; color: #183918; }
.round-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .8rem; }
.dark-outline { border: 1px solid #18391840; background: transparent; color: #143c1c; }
.local-note { font-size: .6rem; line-height: 1.5; margin: .5rem 0 0; color: #395324; }
.text-button { display: inline-flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 2.75rem; padding: .3rem 0; border: 0; color: var(--lime); background: none; text-align: left; font-size: .76rem; font-weight: 600; line-height: 1.5; }
.text-button .icon { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.dark-text { color: #153820; }
.subtle-button { min-height: 2.75rem; padding: .3rem 0; border: 0; color: var(--muted); background: transparent; font-size: .73rem; text-align: left; text-decoration: underline; text-underline-offset: .25rem; }
.season-card { position: relative; display: flex; flex-direction: column; padding: 1.5rem; overflow: hidden; border-radius: 26px; background-color: #103322ad; }
.season-card > :not(.season-trophy) { position: relative; z-index: 1; }
.season-year { color: #d9ead34d; font-size: 1.2rem; font-weight: 650; }
.season-card h2 { margin: 1.2rem 0 .2rem; font-size: clamp(2.8rem, 10vw, 4.3rem); font-weight: 700; line-height: .98; letter-spacing: -.06em; }
.season-card .section-description { margin: .8rem 0 1.1rem; font-size: .82rem; }
.season-progress { margin-top: auto; }
.season-progress > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.season-progress strong { color: var(--lime); font-size: 1.45rem; }
.season-progress strong span { color: #abbcab; font-size: 1rem; font-weight: 400; }
.season-progress > div > span { color: var(--muted); font-size: .7rem; }
.season-progress progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 10px; overflow: hidden; background: #cfefd322; accent-color: var(--lime); }
progress::-webkit-progress-bar { background: #cfefd322; }
progress::-webkit-progress-value { background: var(--lime); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--lime); }
.season-leader { display: flex; align-items: center; gap: .7rem; margin: 1.3rem 0 .6rem; }
.avatar { display: grid; place-items: center; flex: 0 0 2rem; width: 2rem; height: 2rem; border: 1px solid #d4efc620; border-radius: 50%; color: #cfdfd0; background: #254638; font-size: .61rem; font-weight: 650; }
.avatar-lime { color: var(--lime); background: #c4ff3214; }
.avatar-blue { color: #a3d0ff; background: #53a8fc20; }
.season-leader > div > strong { display: block; margin-top: .25rem; font-size: .88rem; }
.leader-points { margin-left: auto; font-size: 1.4rem; font-weight: 600; }
.leader-points span { display: block; color: var(--muted); font-size: .6rem; text-align: right; font-weight: 400; }
.season-card > .text-button { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .4rem; }
.season-trophy { position: absolute; z-index: 0; right: -.7rem; top: 2.4rem; width: 49%; height: 14rem; opacity: .13; }
.season-trophy .trophy-fallback { width: 100%; height: 100%; max-height: none; stroke: #bcef68; stroke-width: .65; }
.season-trophy img { width: 100%; height: 100%; object-fit: contain; }
.season-trophy:has(img:not([hidden])) { opacity: .6; }
.season-trophy:has(img:not([hidden])) svg { display: none; }
.leaderboard-grid { display: grid; gap: 1rem; }
.leaderboard-card, .monthly-card, .calendar-card, .notices-card, .highlights-card { overflow: hidden; border-radius: 26px; background-color: #08271aab; }
.panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.25rem; }
.panel-heading h3 { margin: 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -.025em; }
.panel-heading p:not(.eyebrow) { margin: .4rem 0 0; color: var(--muted); font-size: .69rem; line-height: 1.5; }
.round-icon { display: grid; place-items: center; flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.round-icon .icon { width: 1.1rem; height: 1.1rem; }
.lime-tint { color: var(--lime); background: #c4ff3212; }
.blue-tint { color: var(--blue); background: #53a8fc17; }
.leader-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .77rem; }
.leader-table .position-col { width: 2.65rem; }
.leader-table .rounds-col { width: 2.4rem; }
.leader-table .points-col { width: 3.3rem; }
.leader-table th { color: #acbbb0; font-size: .6rem; font-weight: 400; text-align: left; padding: .3rem .4rem .8rem; border-bottom: 1px solid var(--line); }
.leader-table th:first-child, .leader-table td:first-child { padding-left: 1.25rem; }
.leader-table th:last-child, .leader-table td:last-child { text-align: right; padding-right: 1.25rem; }
.leader-table td { padding: .6rem .4rem; border-bottom: 1px solid #d9f0dd0b; vertical-align: middle; }
.leader-table td:first-child { color: #a8b9ab; font-variant-numeric: tabular-nums; }
.leader-table td:nth-last-child(2) { color: #a8b9ab; }
.leader-table td:last-child { font-size: .88rem; color: var(--white); font-weight: 650; font-variant-numeric: tabular-nums; }
.player-cell { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.player-cell .avatar { flex-basis: 1.85rem; width: 1.85rem; height: 1.85rem; font-size: .55rem; }
.player-name { min-width: 0; overflow-wrap: anywhere; }
.player-name > span { display: block; margin-top: .2rem; font-size: .59rem; color: #9cac9e; }
.rank-change { color: var(--lime) !important; }
.rank-down { color: #c6b799 !important; }
.your-standing { margin: .9rem 1rem .2rem; padding: .75rem; border: 1px solid #53a8fc3b; border-radius: 13px; background: #53a8fc0b; display: flex; align-items: center; gap: .65rem; font-size: .77rem; }
.your-standing > strong { color: var(--blue); font-size: 1rem; }
.your-standing .you-points { margin-left: auto; color: var(--blue); font-weight: 650; }
.you-label { display: inline-block; margin-left: .3rem; color: var(--blue); font-size: .57rem; font-weight: 700; text-transform: uppercase; }
.full-width-link { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; min-height: 3.8rem; padding: 1rem 1.25rem; border: 0; border-top: 1px solid var(--line); margin-top: .8rem; background: transparent; color: var(--lime); font-size: .76rem; font-weight: 600; text-align: left; line-height: 1.5; }
.full-width-link .icon { flex-shrink: 0; width: 1.1rem; height: 1.1rem; }
.month-picker { max-width: 100%; }
.month-picker select { width: 100%; min-height: 2.75rem; padding: .55rem .5rem; border: 1px solid #b0c3b33b; border-radius: 9px; color: #d9e4db; background: #173a28; font-size: .73rem; cursor: pointer; }
.monthly-card .panel-heading { align-items: start; }
.monthly-winner { position: relative; isolation: isolate; padding: 1.4rem 1.25rem; min-height: 10rem; background-image: linear-gradient(90deg, #0a2c1df2, #0a2c1d4d), var(--result-image); background-size: cover; background-position: center, 60% 65%; }
.winner-kicker { display: flex; align-items: center; gap: .4rem; margin: 0; color: #d5e7c9; font-size: .62rem; letter-spacing: .09em; font-weight: 650; }
.winner-kicker .icon { width: .9rem; height: .9rem; color: var(--lime); }
.monthly-winner h4 { margin: 1rem 0 .35rem; font-size: 1.75rem; font-weight: 650; letter-spacing: -.045em; }
.monthly-winner .winner-meta { margin: 0; font-size: .72rem; color: #c2cec0; }
.winner-score { position: absolute; right: 1.25rem; bottom: 1.3rem; display: flex; flex-direction: column; align-items: end; color: var(--lime); font-size: 2.4rem; line-height: 1; letter-spacing: -.05em; }
.winner-score span { margin-top: .5rem; font-size: .59rem; letter-spacing: 0; color: #ceddca; }
.monthly-winner h4, .monthly-winner .winner-meta { max-width: calc(100% - 4.1rem); overflow-wrap: anywhere; }
.podium-row { display: flex; align-items: center; gap: .75rem; padding: .8rem 1.25rem; border-bottom: 1px solid #d9f0dd0b; font-size: .78rem; }
.podium-row > span:first-child { width: 1rem; color: var(--muted); }
.podium-row strong { margin-left: auto; font-size: .85rem; }
.podium-row small { color: var(--muted); font-size: .6rem; font-weight: 400; }
.tour-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; min-height: 27rem; border: 1px solid #ddebb933; background: #2c5135 var(--tour-image) center 62% / cover no-repeat; }
.tour-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #031e16d9, #06281922), linear-gradient(0deg, #09271fed, transparent 85%); }
.tour-content { padding: 1.5rem; }
.photo-badge { display: inline-flex; align-items: center; width: fit-content; padding: .5rem .65rem; border: 1px solid #eaffd44d; border-radius: 7px; background: #0a2f2366; color: #effcde; font-size: .61rem; font-weight: 600; letter-spacing: .08em; backdrop-filter: blur(8px); }
.tour-countdown { font-size: .72rem; color: #d9eccd; }
.tour-destination { margin: 2rem 0 .75rem; font-size: .64rem; color: var(--lime); letter-spacing: .1em; font-weight: 600; line-height: 1.5; }
.tour-card h2 { margin: 0; font-size: clamp(2.6rem, 11vw, 5rem); line-height: .98; letter-spacing: -.055em; font-weight: 650; }
.tour-description { margin: 1rem 0; color: #d4dfcf; font-size: .84rem; line-height: 1.6; }
.tour-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; color: #e4efd8; font-size: .65rem; }
.tour-meta span + span { padding-left: .65rem; border-left: 1px solid #cfe7be4d; }
.tour-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.5rem; }
.primary-button, .photo-button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 2.9rem; padding: .75rem 1rem; border: 1px solid transparent; border-radius: 11px; font-size: .76rem; font-weight: 650; line-height: 1.4; }
.primary-button { color: #133620; background: var(--lime); }
.primary-button .icon { width: 1.05rem; height: 1.05rem; }
.photo-button { color: #e6efdf; background: #173b2e73; border-color: #e4efdf59; }
.photo-button[aria-pressed="true"] { border-color: var(--lime); color: var(--lime); }
.tour-footnote { max-width: 32rem; margin: 1rem 0 0; color: #bdcdb8; font-size: .61rem; line-height: 1.6; }
.fund-calendar-grid { display: grid; gap: 1rem; }
.fund-card { padding: 1.4rem; border-radius: 26px; background: radial-gradient(ellipse at 100% 0, #a5d93313, transparent 70%), #0d2c1ee0; }
.fund-card h2 { margin: 1rem 0 .9rem; font-size: 2.3rem; font-weight: 650; line-height: 1.05; letter-spacing: -.05em; }
.fund-balance { margin: 0; color: var(--lime); font-size: clamp(2.7rem, 12vw, 4.4rem); line-height: 1.2; letter-spacing: -.055em; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fund-growth { display: flex; align-items: center; gap: .45rem; margin: .45rem 0 0; font-size: .65rem; color: #c9dcc0; }
.fund-growth .icon { color: var(--lime); width: .9rem; height: .9rem; flex-shrink: 0; }
.fund-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: 1.3rem; margin-top: .8rem; border-block: 1px solid var(--line); }
.fund-breakdown > div > span { display: block; color: var(--muted); font-size: .65rem; line-height: 1.5; }
.fund-breakdown strong { display: block; margin-top: .35rem; font-size: 1.2rem; font-weight: 600; }
.fund-breakdown > div:last-child strong { color: var(--blue); }
.fund-chart { margin: 1.3rem 0 0; }
.chart-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; color: var(--muted); font-size: .62rem; }
.chart-heading > span:last-child { color: #9faf9f; font-size: .54rem; letter-spacing: .04em; }
.fund-chart svg { display: block; width: 100%; height: 6.6rem; overflow: visible; margin-top: .6rem; }
.fund-chart figcaption { display: flex; justify-content: space-between; margin-top: .4rem; color: #a6b6a5; font-size: .59rem; }
.fund-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem 1rem; margin-top: .8rem; }
.calendar-card { display: flex; flex-direction: column; scroll-margin-top: 1.5rem; }
.calendar-card .panel-heading { padding-bottom: .5rem; }
.calendar-events { padding: .5rem 1.25rem; }
.calendar-event { display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1.25rem 0; border: 0; border-bottom: 1px solid var(--line); color: var(--white); background: transparent; text-align: left; }
.calendar-event:last-child { border-bottom: 0; }
.calendar-date { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 3rem; width: 3rem; min-height: 3.6rem; border: 1px solid #afcdad2b; border-radius: 12px; background: #edf5e407; }
.calendar-date > span { color: var(--lime); font-size: .58rem; font-weight: 600; letter-spacing: .05em; }
.calendar-date > strong { margin-top: .25rem; font-size: 1.4rem; font-weight: 600; letter-spacing: -.04em; }
.tour-date > strong { font-size: 1rem; }
.tour-date > span { color: var(--blue); }
.calendar-event-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: .4rem; }
.calendar-event-copy > strong { font-size: .88rem; font-weight: 600; letter-spacing: -.02em; }
.calendar-event-copy > span { color: var(--muted); font-size: .67rem; line-height: 1.4; }
.calendar-event > .icon { width: .9rem; height: .9rem; flex-shrink: 0; color: #aabca8; }
.inline-status { color: var(--lime) !important; font-size: .6rem !important; }
.calendar-note { display: flex; align-items: center; gap: .85rem; margin: auto 1.25rem .3rem; padding: 1rem; border-radius: 14px; background: #c4ff3208; }
.calendar-note > .icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: var(--lime); }
.calendar-note p { margin: 0; font-size: .75rem; line-height: 1.6; color: #d9e6ce; }
.calendar-note span { color: var(--muted); font-size: .67rem; }
.member-tag { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; }
.member-tag > span:last-child > span { display: block; margin-top: .2rem; color: #a6b4a8; font-size: .59rem; }
.personal-card { border-radius: 26px; overflow: hidden; background: linear-gradient(120deg, #173b2b, #08271bbf); }
.personal-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; padding: 1.5rem; }
.personal-stats > div { min-width: 0; }
.personal-stats span { display: block; color: #adbeb0; font-size: .66rem; }
.personal-stats strong { display: block; margin-top: .5rem; font-size: 2rem; color: var(--white); letter-spacing: -.045em; font-weight: 600; }
.personal-stats > div:first-child strong { color: var(--lime); }
.personal-stats strong > small { font-size: .75rem; color: #a7bba8; margin-left: .15rem; letter-spacing: 0; font-weight: 400; }
.personal-actions { display: grid; gap: 1rem; padding: 1.5rem; border-top: 1px solid var(--line); }
.personal-actions > div > strong { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 600; }
.personal-actions > div > a, .personal-actions .subtle-button { display: inline-flex; gap: .5rem; align-items: center; min-height: 2.75rem; color: var(--lime); text-decoration: none; font-size: .69rem; }
.personal-actions > div:last-child > .small-detail:last-child { margin-top: .6rem; font-size: .66rem; }
.personal-card > .full-width-link { margin-top: 0; }
.club-life-grid { display: grid; gap: 1rem; }
.notice-item { display: block; width: calc(100% - 2.5rem); margin-inline: auto; padding: 1.3rem 0; border: 0; border-top: 1px solid var(--line); color: var(--white); background: none; text-align: left; }
.notice-date { display: block; margin-bottom: .7rem; color: #a4b79e; font-size: .57rem; letter-spacing: .06em; }
.notice-item > strong { display: block; font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.notice-item p { margin: .65rem 0 .75rem; color: #aebfb0; font-size: .78rem; line-height: 1.7; }
.text-link { color: var(--lime); font-size: .72rem; }
.club-photo { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 13rem; padding: 1.25rem; background-image: linear-gradient(0deg, #031e17e6, #08251940), var(--club-image); background-position: center, 30% 45%; background-size: cover; }
.club-photo h3 { margin: 2rem 0 0; font-size: 2.1rem; line-height: 1.05; font-weight: 600; letter-spacing: -.045em; }
.award-list { padding: .5rem 1.25rem; }
.award-list > div { display: flex; align-items: center; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid #d9f0dd0b; }
.award-list > div:last-child { border-bottom: 0; }
.award-icon { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; flex-shrink: 0; color: var(--lime); }
.award-icon .icon { width: 1.15rem; height: 1.15rem; }
.award-list > div > span:nth-child(2) > span { display: block; color: #a6b6a8; font-size: .6rem; }
.award-list strong { display: block; font-size: .8rem; font-weight: 500; margin-top: .25rem; }
.award-list b { margin-left: auto; color: #ceddc9; font-size: .77rem; font-weight: 500; }
.highlights-card .full-width-link { margin-top: 0; }
.club-footer { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; color: #c4d1c2; font-size: .91rem; }
.footer-brand .brand-mark { width: 2.1rem; height: 2.1rem; font-size: 1rem; }
.club-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.2rem; margin: 1.3rem 0 .8rem; }
.club-footer nav button { min-height: 2.75rem; padding: .3rem 0; color: #b4c2b3; background: transparent; border: 0; font-size: .7rem; }
.club-footer > p { font-size: .63rem; line-height: 1.8; color: #8c9e90; }
.club-footer .preview-disclosure { font-size: .6rem; max-width: 36rem; margin: 1.2rem auto 0; color: #8d9f90; }
.bottom-nav { box-shadow: 0 8px 35px #0005; }
.nav-item { font-size: .72rem; }
.nav-item.is-active { color: var(--lime); }
.detail-dialog { width: min(calc(100% - 1.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)), 40rem); padding: 2rem 1.2rem 1.3rem; background: #0b2b1f; }
.detail-dialog h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); margin: .6rem 0 1.2rem; }
.dialog-eyebrow { padding-right: 2.5rem; margin: .3rem 0 0; font-size: .64rem; }
.detail-dialog h2:focus { outline: none; }
#dialog-content p { font-size: .84rem; line-height: 1.7; color: #c0cebf; }
#dialog-content h3 { font-size: 1rem; margin-top: 1.5rem; }
#dialog-content .leader-table { font-size: .8rem; }
#dialog-content .leader-table th:first-child, #dialog-content .leader-table td:first-child { padding-left: .3rem; }
#dialog-content .leader-table th:last-child, #dialog-content .leader-table td:last-child { padding-right: .3rem; }
.dialog-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0; }
.dialog-info-grid > div { padding: .85rem; border-radius: 12px; background: #d0efc509; }
.dialog-info-grid span { display: block; font-size: .65rem; color: #a8bba8; }
.dialog-info-grid strong { display: block; margin-top: .4rem; font-size: .86rem; font-weight: 600; overflow-wrap: anywhere; }
.dialog-notice { padding: .9rem; border: 1px solid #c4ff322b; border-radius: 13px; background: #c4ff3207; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.2rem; }
.roster-list { list-style: none; padding: 0; margin: 1rem 0; }
.roster-list li { display: flex; align-items: center; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.roster-list li > span:last-child { margin-left: auto; font-size: .64rem; text-align: right; }
.response-in { color: var(--lime); }
.response-out { color: #c6b799; }
.response-undecided { color: #acbbaf; }
.score-button { min-height: 2.75rem; padding: .3rem 0; border: 0; background: none; color: inherit; text-align: left; font-size: inherit; }
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li { display: flex; gap: .6rem; justify-content: space-between; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.history-list small { display: block; margin-top: .3rem; color: var(--muted); font-size: .65rem; }
.history-list button { min-height: 2.75rem; border: 0; background: none; padding: .4rem 0; color: var(--lime); font-size: .77rem; text-align: right; }
.ledger-wrap { overflow-x: auto; border-radius: 10px; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: .69rem; }
.ledger-table th { font-size: .59rem; color: var(--muted); font-weight: 500; }
.ledger-table th, .ledger-table td { padding: .7rem .25rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ledger-table th:first-child, .ledger-table td:first-child { text-align: left; }
.ledger-table td:last-child { color: var(--lime); }
.gallery-image { width: 100%; max-height: 28rem; object-fit: cover; border-radius: 16px; }
.gallery-caption { font-size: .7rem !important; }
.toast { position: fixed; z-index: 100; bottom: calc(6.8rem + env(safe-area-inset-bottom, 0px)); left: max(1rem, env(safe-area-inset-left, 0px)); right: max(1rem, env(safe-area-inset-right, 0px)); width: fit-content; max-width: min(30rem, calc(100% - 2rem)); margin-inline: auto; padding: .9rem 1.15rem; border: 1px solid #c4ff3266; border-radius: 14px; background: #143c29f5; color: #eff8e8; font-size: .78rem; line-height: 1.5; box-shadow: 0 8px 40px #0007; }
@media (hover: hover) {
  .text-button:hover, .full-width-link:hover, .subtle-button:hover, .club-footer nav button:hover { color: #e0ff95; }
  .dark-text:hover { color: #143c1c; text-decoration: underline; text-underline-offset: .25rem; }
  .primary-button:hover { background: #d8ff76; }
  .calendar-event:hover .calendar-event-copy > strong, .desktop-nav a:hover { color: var(--lime); }
  .rsvp-option input:not(:checked):not(:disabled) + span:hover { background: #f0ffc54d; }
}
@media (max-width: 359px) {
  .next-round-card, .season-card, .fund-card { padding: 1rem; }
  .header-actions { gap: .35rem; }
  .brand { gap: .55rem; }
  .brand-name span:first-child { font-size: .84rem; }
  .brand-name span:last-child { font-size: .54rem; }
  .round-facts { font-size: .66rem; }
  .rsvp-option > span { font-size: .7rem; }
  .next-round-heading { gap: .4rem; }
  .next-round-heading h2 { font-size: 1.7rem; }
  .date-tile { min-width: 3.5rem; }
  .player-cell { gap: .4rem; }
  .player-cell .avatar { display: none; }
  .leader-table .position-col { width: 2.4rem; }
  .personal-stats { padding: 1.2rem; }
  .tour-content { padding: 1.2rem; }
  .tour-actions > button { width: 100%; }
}
@media (min-width: 600px) {
  .page-section { margin-top: 3.3rem; }
  .hero { min-height: 31rem; padding-top: 4.5rem; }
  .hero-copy h1 { font-size: clamp(5.5rem, 12vw, 7.8rem); }
  .hero-eyebrow { font-size: .7rem; }
  .preview-label { font-size: .72rem; }
  .hero .weather-card { width: 12.5rem; padding: 1rem 1.2rem; }
  .overview-grid { grid-template-columns: 1.2fr 1fr; }
  .next-round-card, .season-card { padding: 1.4rem; }
  .next-round-heading h2 { font-size: 2rem; }
  .date-tile { min-width: 3.3rem; }
  .season-card h2 { font-size: 3.3rem; }
  .round-number { font-size: .57rem; }
  .attendance-summary { align-items: start; }
  .rsvp-deadline { text-align: left; }
  .section-heading h2 { font-size: 2.6rem; }
  .tour-content { padding: 2.5rem; }
  .tour-card h2 { font-size: 4.2rem; }
  .tour-description { font-size: 1rem; }
  .tour-meta { font-size: .8rem; }
  .tour-footnote { font-size: .7rem; }
  .personal-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2rem; }
  .personal-stats strong { font-size: 2.3rem; }
  .personal-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1.5rem 2rem; }
  .personal-actions > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
  .detail-dialog { padding: 2.2rem 1.8rem 1.7rem; }
  .nav-item { font-size: .86rem; }
}
@media (min-width: 760px) {
  .leaderboard-grid, .fund-calendar-grid, .club-life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .overview-grid { gap: 1.2rem; }
  .next-round-heading h2 { font-size: 2.5rem; }
  .next-round-card, .season-card { padding: 1.7rem; }
  .next-round-card { display: flex; flex-direction: column; }
  .round-card-footer { margin-top: auto; padding-top: .9rem; }
  .season-card h2 { font-size: 3.7rem; }
  .leaderboard-card, .monthly-card { display: flex; flex-direction: column; }
  .leaderboard-card > .full-width-link, .monthly-card > .full-width-link { margin-top: auto; }
  .your-standing { margin-bottom: 1rem; }
  .monthly-winner { min-height: 11rem; }
  .fund-card h2 { font-size: 2.5rem; }
  .calendar-card .panel-heading { padding: 1.4rem; }
  .fund-card { padding: 1.5rem; }
  .club-photo { min-height: 14rem; }
}
@media (min-width: 1000px) {
  .hero { min-height: 30rem; padding-top: 5rem; }
  .hero-copy h1 { font-size: clamp(6.3rem, 8.2vw, 7.7rem); }
  .hero-background { height: 72rem; background-position: center, center, center 24%; }
  .hero .weather-card { bottom: 2.1rem; width: 12.8rem; }
  .desktop-nav { display: flex; align-items: center; gap: 1.7rem; }
  .desktop-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .8rem; color: #c3cfbe; }
  .header-actions .icon-button, .header-actions .menu-toggle { width: 2.9rem; height: 2.9rem; }
  .brand-mark { width: 3.2rem; height: 3.2rem; font-size: 1.6rem; }
  .brand-name span:first-child { font-size: 1.25rem; }
  .brand-name span:last-child { font-size: .73rem; }
  .overview-grid { grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
  .next-round-card, .season-card { padding: 2rem; border-radius: 30px; }
  .next-round-heading { gap: 1.4rem; }
  .next-round-heading h2 { font-size: 3.2rem; }
  .date-tile { min-width: 4.6rem; }
  .date-tile strong { font-size: 2.7rem; }
  .date-tile span:last-child { font-size: .57rem; }
  .venue-line { font-size: .9rem; }
  .round-facts { font-size: .77rem; gap: .7rem 1rem; margin-top: 1.35rem; }
  .rsvp-fieldset legend { font-size: .93rem; }
  .rsvp-option > span { font-size: .83rem; min-height: 3.1rem; }
  .attendance-summary { align-items: center; }
  .rsvp-deadline { text-align: right; font-size: .7rem; }
  .attendees-button strong { font-size: .8rem; }
  .attendees-button .small-detail { font-size: .7rem; }
  .round-number { font-size: .65rem; }
  .dark-badge { font-size: .68rem; }
  .season-card h2 { font-size: 4.2rem; }
  .season-card .section-description { font-size: .94rem; }
  .season-trophy { right: .5rem; top: 4rem; width: 47%; height: 16rem; }
  .season-progress { margin-top: 1rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .page-section { margin-top: 4rem; }
  .eyebrow { font-size: .68rem; }
  .leaderboard-grid, .fund-calendar-grid, .club-life-grid { gap: 1.5rem; }
  .panel-heading { padding: 1.5rem; }
  .panel-heading h3 { font-size: 1.15rem; }
  .leader-table { font-size: .85rem; }
  .leader-table .position-col { width: 3.4rem; }
  .leader-table .rounds-col { width: 3.2rem; }
  .leader-table .points-col { width: 4.4rem; }
  .leader-table th:first-child, .leader-table td:first-child { padding-left: 1.5rem; }
  .leader-table th:last-child, .leader-table td:last-child { padding-right: 1.5rem; }
  .leader-table td { padding-block: .7rem; }
  .full-width-link { padding-inline: 1.5rem; font-size: .82rem; }
  .your-standing { margin-inline: 1.5rem; font-size: .85rem; }
  .monthly-winner { min-height: 13rem; padding: 1.75rem 1.5rem; }
  .monthly-winner h4 { font-size: 2.15rem; margin-top: 1.5rem; }
  .winner-score { right: 1.5rem; bottom: 1.75rem; font-size: 3rem; }
  .podium-row { padding: 1rem 1.5rem; font-size: .85rem; }
  .tour-card { min-height: 33rem; background-position: center 52%; }
  .tour-shade { background: linear-gradient(90deg, #031e16f0, #06281910 90%), linear-gradient(0deg, #09271fcc, transparent 70%); }
  .tour-content { padding: 2.5rem 3rem; }
  .tour-card h2 { font-size: 5.2rem; }
  .tour-destination { margin-top: 2.5rem; font-size: .7rem; }
  .tour-actions { gap: 1rem; }
  .primary-button, .photo-button { font-size: .84rem; padding-inline: 1.3rem; }
  .fund-card { padding: 2rem; }
  .fund-card h2 { font-size: 2.75rem; }
  .fund-balance { font-size: 4.2rem; }
  .fund-breakdown > div > span, .fund-growth { font-size: .74rem; }
  .fund-breakdown strong { font-size: 1.5rem; }
  .calendar-card .panel-heading { padding: 2rem; }
  .calendar-events { padding: .2rem 2rem; }
  .calendar-event { padding-block: 1.5rem; gap: 1.1rem; }
  .calendar-date { flex-basis: 3.6rem; min-height: 4.1rem; }
  .calendar-event-copy > strong { font-size: 1.03rem; }
  .calendar-event-copy > span { font-size: .76rem; }
  .calendar-note { margin-inline: 2rem; padding: 1.2rem; }
  .personal-stats { padding: 2rem; }
  .personal-stats strong { font-size: 2.7rem; }
  .personal-stats span { font-size: .76rem; }
  .personal-actions > div > strong { font-size: .96rem; }
  .notice-item { width: calc(100% - 3rem); padding-block: 1.5rem; }
  .notice-item > strong { font-size: 1.2rem; }
  .notice-item p { font-size: .86rem; }
  .club-photo { min-height: 15rem; padding: 1.5rem; }
  .club-photo h3 { font-size: 2.55rem; }
  .award-list { padding-inline: 1.5rem; }
  .award-list > div { padding-block: 1rem; }
  .club-footer { margin-top: 4.5rem; padding-top: 2.5rem; }
  .bottom-nav { display: none; }
  .toast { bottom: 1.5rem; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 999px) {
  .hero { min-height: 20rem; padding-top: 2rem; }
  .hero-copy h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
  .hero-eyebrow { margin-bottom: .7rem; }
  .hero .weather-card { width: 10rem; }
  .page-section { margin-top: 2.5rem; }
  .bottom-nav { padding: .35rem .6rem; }
  .nav-item { font-size: .73rem; }
  .detail-dialog { max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 300px) {
  .next-round-heading { grid-template-columns: minmax(0, 1fr); }
  .date-tile { width: fit-content; flex-direction: row; gap: .5rem; }
  .date-tile span:last-child { display: none; }
  .rsvp-options, .personal-stats, .dialog-info-grid { grid-template-columns: minmax(0, 1fr); }
  .fund-breakdown { grid-template-columns: minmax(0, 1fr); }
  .calendar-event { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Distinct surfaces and quiet photography give each part of the season its own identity. */
.hero { min-height: clamp(19rem, 87vw, 25rem); }
.hero-background { height: 50rem; }
.season-card { background-image: linear-gradient(110deg, #09291bee 20%, #163a24b8), var(--next-event-image); background-size: cover; background-position: center, 68% 70%; }
.season-card .section-description { font-size: .88rem; }
.round-facts { font-size: .76rem; }
.leader-table { font-size: .875rem; }
.leader-table abbr { text-decoration: none; }
.leaderboard-card { --line: #2b4c2826; color: #193b23; background-color: #edf1e3; background-image: linear-gradient(155deg, #f1f5e9f0, #e7eddded 65%, #dce8cddb), var(--next-event-image); background-size: cover; background-position: center, 55% 90%; border-color: #f5ffdf88; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 16px 40px #0002; }
.leaderboard-card .panel-heading { background: #f7faeb42; }
.leaderboard-card .panel-heading p { color: #53664e; }
.leaderboard-card .round-icon { color: #163920; background: #bfe950; }
.leaderboard-card .leader-table th { color: #53664e; border-color: #2b4c2826; }
.leaderboard-card .leader-table td { border-color: #2b4c2815; }
.leaderboard-card .leader-table td:first-child, .leaderboard-card .leader-table td:nth-last-child(2) { color: #4e6349; }
.leaderboard-card .leader-table td:last-child { color: #173b23; }
.leaderboard-card .player-name > span { color: #607258; }
.leaderboard-card .player-name > .rank-change { color: #397323 !important; }
.leaderboard-card .player-name > .rank-down { color: #826025 !important; }
.leaderboard-card .avatar { color: #244b27; background: #4a723723; border-color: #51713d22; }
.leaderboard-card .avatar-lime { color: var(--lime); background: #21492a; }
.leaderboard-card .your-standing { color: #173b23; background: var(--lime); border-color: #daff83; }
.leaderboard-card .your-standing > strong, .leaderboard-card .you-points, .leaderboard-card .your-standing .you-label { color: #173b23; }
.leaderboard-card .your-standing .avatar { color: var(--lime); background: #21492a; border-color: #21492a; }
.leaderboard-card .you-label { color: #1d608b; }
.leaderboard-card .full-width-link { color: #204c29; border-color: #2b4c2826; background: #c9dcba33; }
.monthly-card { --line: #cee6ff33; color: #f3f8ff; background: linear-gradient(140deg, #17669b, #093c62); border-color: #7fb9e766; }
.monthly-card .panel-heading { background-image: linear-gradient(110deg, #115e9aee, #195584df), var(--result-image); background-size: cover; background-position: center, center 85%; }
.monthly-card .panel-heading p { color: #c5dbee; }
.monthly-card .month-picker select { color: #f1f7fc; background: #144c77; border-color: #b7d3ec66; }
.monthly-card .monthly-winner { min-height: 12rem; background-image: linear-gradient(90deg, #052f51e8, #08375330), linear-gradient(0deg, #063953d1, transparent 80%), var(--result-image); background-position: center, center, 62% 60%; }
.monthly-card .winner-kicker { color: #e1eecb; }
.monthly-card .winner-meta { color: #dfecf0; }
#monthly-podium { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .55rem; padding: 1.1rem 1.25rem; }
.podium-row { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; min-width: 0; margin: 0; padding: .9rem .7rem; border: 1px solid #bfdfff26; border-radius: 13px; background: #b2d5f012; }
.podium-row > span:first-child { width: auto; color: #c3dcec; font-size: .54rem; letter-spacing: .06em; }
.podium-row > span:nth-child(2) { color: #f3f7fb; font-size: .76rem; line-height: 1.4; min-height: 2.1rem; overflow-wrap: anywhere; }
.podium-row strong { margin: auto 0 0; font-size: 1.55rem; color: #eef7e3; }
.podium-row small { color: #c5dcee; font-size: .62rem; }
.podium-row .you-label { display: block; margin: .2rem 0 0; color: var(--lime); font-size: .53rem; }
.monthly-card .full-width-link { color: #dfff96; border-color: #c4dcf333; background: #0329431f; }
.fund-card { background-color: #132b1d; background-image: linear-gradient(115deg, #26371bea, #08291bf2 80%), var(--result-image); background-size: cover; background-position: center, 80% 92%; border-color: #afc67c4a; }
.calendar-card .panel-heading { padding-bottom: 1.35rem; background-image: linear-gradient(90deg, #123723ed, #163d299e), var(--next-event-image); background-size: cover; background-position: center, 75% 50%; border-bottom: 1px solid var(--line); }
.calendar-event-copy > span { font-size: .75rem; }
.personal-card { background-image: linear-gradient(110deg, #233b27f2, #0c2b21ed), var(--next-event-image); background-size: cover; background-position: center, center 85%; }
.personal-stats > div + div { border-left: 1px solid #d5e6c01a; padding-left: .9rem; }
.event-photo { height: 8rem; margin: 1rem 0; border-radius: 16px; background-image: linear-gradient(0deg, #0c2a1e44, transparent), var(--next-event-image); background-size: cover; background-position: center, center 70%; }
.detail-dialog { --dialog-surface: #0b2b1f; padding: 0; background: var(--dialog-surface); }
.dialog-header { position: sticky; top: 0; z-index: 3; padding: 2rem 1.2rem .5rem; border-bottom: 1px solid var(--line); background: var(--dialog-surface); }
.dialog-header h2 { margin-bottom: .6rem; }
#dialog-content { padding: .4rem 1.2rem 1.3rem; }
#dialog-content .leader-table { font-size: .875rem; }
.detail-dialog[data-tone="blue"] { --dialog-surface: #10486d; --line: #d5ebff2b; border-color: #6aa0c5; }
.detail-dialog[data-tone="blue"] .avatar { color: #e3f4ff; background: #285e85; border-color: #93c2e43b; }
.detail-dialog[data-tone="blue"] .avatar-lime { color: var(--lime); background: #164466; }
.detail-dialog[data-tone="blue"] #dialog-content p, .detail-dialog[data-tone="blue"] .leader-table th, .detail-dialog[data-tone="blue"] .leader-table td:first-child { color: #c7ddeb; }
.detail-dialog[data-tone="paper"] { --dialog-surface: #edf1e3; --line: #22412629; color: #183b25; border-color: #f3f9e7; }
.detail-dialog[data-tone="paper"] .dialog-eyebrow { color: #42712e; }
.detail-dialog[data-tone="paper"] .dialog-close { border-color: #22412630; background: #20472a09; }
.detail-dialog[data-tone="paper"] #dialog-content p, .detail-dialog[data-tone="paper"] .leader-table th, .detail-dialog[data-tone="paper"] .leader-table td:first-child, .detail-dialog[data-tone="paper"] .leader-table td:nth-last-child(2) { color: #546c4c; }
.detail-dialog[data-tone="paper"] .leader-table td { border-color: #22412619; }
.detail-dialog[data-tone="paper"] .leader-table td:last-child { color: #173b23; }
.detail-dialog[data-tone="paper"] .player-name > span { color: #617759; }
.detail-dialog[data-tone="paper"] .player-name > .rank-change { color: #397323 !important; }
.detail-dialog[data-tone="paper"] .avatar { color: #244b27; background: #4a723723; border-color: #51713d22; }
.detail-dialog[data-tone="paper"] .avatar-lime { color: var(--lime); background: #21492a; }
.detail-dialog[data-tone="paper"] .you-label { color: #1d608b; }
/* Keep the current member recognisable across both full leaderboard themes. */
#dialog-content .leader-table .member-row > td { color: #173b23; background: var(--lime); border-color: #a9dd27; }
#dialog-content .member-row .score-button, #dialog-content .member-row .you-label { color: #173b23; }
#dialog-content .member-row .player-name > span { color: #31572c !important; }
#dialog-content .member-row .avatar { color: var(--lime); background: #21492a; border-color: #21492a; }
@media (min-width: 600px) { .hero { min-height: 26rem; } .dialog-header { padding: 2rem 1.8rem .65rem; } #dialog-content { padding: .5rem 1.8rem 1.7rem; } }
@media (min-width: 1000px) { .hero { min-height: 27rem; } .hero-background { height: 65rem; } .monthly-card .monthly-winner { min-height: 14.5rem; } #monthly-podium { padding: 1.4rem 1.5rem; gap: .8rem; } .podium-row { padding: 1rem; } .podium-row > span:nth-child(2) { font-size: .88rem; } .podium-row strong { font-size: 1.75rem; } }
@media (orientation: landscape) and (max-height: 500px) and (max-width: 999px) { .hero { min-height: 16.5rem; } .dialog-header { padding-top: 1.2rem; } }
@media (hover: hover) { .leaderboard-card .full-width-link:hover { color: #0c3716; background: #b5d39166; } }
@media (max-width: 300px) { #monthly-podium { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); } .podium-row > span:nth-child(2) { min-height: 0; } }
