/* Private leagues extend the cream card-table identity. */
body:has(.leagues-page) { background: #fff9ed; color: #18383c; }
body:has(.leagues-page)::before { background: radial-gradient(#b29e771b .8px,transparent .8px) 0 0/7px 7px; }
.leagues-page { padding-block: 42px 58px; color: #193b3e; font-size: 15px; line-height: 1.6; }
.leagues-page *, .league-home-cta * { min-width: 0; }
.leagues-page h1, .leagues-page h2, .leagues-page h3 { color: #193b3e; font-family: 'Arial Rounded MT Bold','Trebuchet MS',sans-serif; letter-spacing: -.045em; }
.leagues-page p { margin: 0; }
.leagues-page button { cursor: pointer; min-height: 44px; font-size: 14px; line-height: 1.4; }
.leagues-page button:disabled { cursor: wait; opacity: .6; }
.leagues-page :is(button,input,select,summary):focus-visible { outline: 3px solid #086abe; outline-offset: 4px; }
.leagues-page .button-primary { background: #ffdc51; border: 1px solid #b3994b; color: #163a3b; box-shadow: 0 3px 0 #b29540; }
.leagues-page .button-outline { background: #fffdf6; color: #1f5054; border: 1px solid #b6c5bd; box-shadow: 0 3px 0 #dce2d8; }
.leagues-page .button { gap: 9px; padding: 12px 17px; border-radius: 12px; font-weight: 800; }
.leagues-page .button .icon { width: 19px; height: 19px; flex-shrink: 0; }
.league-eyebrow { display: block; color: #687f73; font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .07em; }
.league-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 35px; }
.league-page-heading > div:first-child { flex: 1; }
.league-page-heading h1 { font-size: clamp(37px,4.8vw,56px); line-height: 1.08; margin: 10px 0 15px; overflow-wrap: anywhere; }
.league-page-heading p { font-size: 16px; color: #5c736c; line-height: 1.6; }
.league-stamp { position: relative; flex-shrink: 0; width: 162px; height: 142px; margin-right: 22px; }
.league-stamp-card { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 120px; border: 4px solid #fffdf4; border-radius: 13px; outline: 1px solid #dfd4bc; box-shadow: 0 3px 0 #ccbf9e,0 8px 15px #193b3e1a; }
.league-stamp-back { left: 14px; top: 3px; background: #dd6750; color: #ffe4cf; transform: rotate(-17deg); }
.league-stamp-back .icon { width: 42px; height: 42px; }
.league-stamp-front { top: 18px; right: 2px; background: #207e68; color: #fff2ba; transform: rotate(13deg); }
.league-stamp-front .icon { width: 35px; height: 35px; margin-bottom: 10px; }
.league-stamp-front b { font-size: 10px; line-height: 1.3; text-align: center; letter-spacing: .06em; }
.league-back { display: inline-flex; align-items: center; gap: 8px; padding: 0 4px; background: transparent; border: 0; color: #50736b; margin: -13px 0 24px; font-weight: 700; }
.league-back .icon { width: 17px; height: 17px; }
.league-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.league-section-heading h2 { font-size: 27px; line-height: 1.2; margin: 6px 0 0; }
.league-section-heading > span { color: #63796c; font-size: 13px; flex-shrink: 0; }
.league-list-layout { display: grid; grid-template-columns: minmax(0,1fr) 345px; gap: 28px; align-items: start; }
.league-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 17px; }
.league-tile { --league-tile-accent: #267f69; --league-tile-soft: #e6eee2; display: flex; width: 100%; align-items: center; gap: 22px; text-align: left; padding: 24px; background: #fffdf7; border: 1px solid #d9ddcf; border-radius: 18px; box-shadow: 0 4px 0 #e6e1d2; color: #193b3e; transition: border-color .15s,background .15s; }
.league-list > li:nth-child(3n + 2) .league-tile { --league-tile-accent: #286da9; --league-tile-soft: #e3edf3; }
.league-list > li:nth-child(3n) .league-tile { --league-tile-accent: #b85a3c; --league-tile-soft: #f4e7db; }
.league-tile:hover { border-color: var(--league-tile-accent); background: #fffefb; }
.league-tile-art { flex-shrink: 0; position: relative; display: grid; place-items: center; width: 63px; height: 77px; background: var(--league-tile-accent); border: 4px solid #fffdf7; border-radius: 11px; outline: 1px solid #d8ddcd; box-shadow: 0 3px 0 #d4d4c3; color: #fff5cc; transform: rotate(-7deg); }
.league-tile-art > .icon { width: 31px; height: 31px; }
.league-tile-art i { position: absolute; top: 3px; left: 5px; font-size: 10px; font-weight: 800; line-height: 1; }
.league-tile-copy { display: block; flex: 1; }
.league-role-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--league-tile-accent); }
.league-tile-copy > strong { display: block; margin: 6px 0 9px; font-size: 24px; letter-spacing: -.04em; line-height: 1.25; overflow-wrap: anywhere; }
.league-tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #67786d; font-size: 13px; line-height: 1.5; }
.league-tile-meta > .icon { width: 14px; height: 14px; }
.league-tile-schedule { display: flex; align-items: flex-start; gap: 7px; margin-top: 8px; color: #526b5d; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.league-tile-schedule > .icon { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; }
.league-tile-arrow { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; background: var(--league-tile-soft); color: var(--league-tile-accent); border-radius: 50%; }
.league-tile-arrow > .icon { width: 18px; height: 18px; }
.league-create-panel { position: relative; background: #edf1e3; border: 1px solid #d0dcc4; border-radius: 20px; padding: 27px; }
.league-create-symbol { display: inline-flex; color: #448169; margin-bottom: 20px; }
.league-create-symbol .icon { width: 35px; height: 35px; }
.league-create-panel h2 { font-size: 29px; line-height: 1.2; margin: 9px 0 13px; }
.league-create-panel > p { font-size: 14px; line-height: 1.7; color: #5f7462; }
.league-create-panel form { margin-top: 24px; }
.league-create-panel label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 800; }
.league-create-panel :is(input,select) { display: block; width: 100%; max-width: 100%; min-height: 49px; padding: 11px 12px; font-size: 16px; color: #1b3e3a; background: #fffdf7; border: 1px solid #aabda4; border-radius: 10px; box-shadow: none; }
.league-create-panel input::placeholder { color: #748174; }
.league-create-panel .league-field-help { margin-top: 9px; color: #657361; font-size: 12px; line-height: 1.5; }
.league-create-panel .button { width: 100%; margin-top: 22px; }
.league-create-panel .league-small-note { margin-top: 23px; }
.league-schedule-fields { display: grid; gap: 17px; margin-top: 23px; padding-top: 21px; border-top: 1px solid #d1dcc5; }
.league-schedule-fields label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.league-schedule-fields :is(input,select) { width: 100%; max-width: 100%; min-height: 48px; font-size: 16px; }
.league-schedule-fields .league-field-help { margin: -4px 0 0; font-size: 13px; line-height: 1.6; }
.wz-dialog .league-schedule-fields { margin-top: 8px; padding-top: 0; border: 0; }
.wz-dialog .league-schedule-fields .league-field-help { color: #c4d9df; }
.wz-dialog.league-schedule-dialog { background: #fff9ed; color: #193b3e; border-color: #c7d4ba; }
.league-schedule-dialog .dialog-heading h2, .league-schedule-dialog .dialog-intro strong { color: #193b3e; }
.league-schedule-dialog .eyebrow { color: #397451; }
.league-schedule-dialog .dialog-intro, .wz-dialog.league-schedule-dialog .league-field-help { color: #526b59; }
.league-schedule-dialog .dialog-close { color: #193b3e; border-color: #c7d4ba; background: #eaf0e3; }
.league-schedule-dialog .league-schedule-explanation { padding: 13px 15px; margin-top: 20px; background: #edf2e5; color: #42644c; border-radius: 10px; font-size: 14px; line-height: 1.6; }
.league-schedule-dialog .form-error { color: #992f29; }
.league-schedule-panel { display: flex; align-items: flex-start; gap: 15px; padding: 19px 21px; margin-bottom: 23px; border: 1px solid #d0dcc8; border-radius: 16px; background: #edf2e7; }
.league-schedule-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 44px; border: 1px solid #c6d5bc; background: #fffdf4; color: #376751; border-radius: 10px; }
.league-schedule-icon > .icon { width: 22px; height: 22px; }
.league-schedule-copy { flex: 1; }
.league-schedule-copy h3 { margin: 0 0 5px; font-size: 19px; line-height: 1.35; letter-spacing: -.025em; }
.league-schedule-copy > p { color: #536b59; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.league-schedule-copy > .league-next-round { margin-top: 7px; }
.league-next-round time { color: #2b5342; font-weight: 700; }
.league-countdown { display: block; color: #305c46; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 6px; }
.league-countdown[hidden] { display: none; }
.league-schedule-copy > .league-schedule-pending { display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; margin-top: 13px; border: 1px solid #dfcf9f; background: #fff4d5; color: #675027; border-radius: 10px; }
.league-schedule-pending > .icon { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; }
.league-schedule-panel > .league-text-button { flex-shrink: 0; font-size: 14px; }
.league-small-note { display: flex; align-items: flex-start; gap: 8px; color: #68796a; font-size: 12px; line-height: 1.6; }
.league-small-note > .icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.league-form-error { margin-top: 14px !important; color: #962e26; font-size: 14px; line-height: 1.5; }
.league-form-error[hidden] { display: none; }
.league-empty { padding: 38px 26px; text-align: center; background: #fffdf6; border: 1px dashed #c5cbb7; border-radius: 18px; }
.league-empty-icon { display: inline-flex; color: #629177; padding: 14px; border-radius: 15px; background: #edf2e4; margin-bottom: 10px; }
.league-empty-icon > .icon { width: 35px; height: 35px; }
.league-empty h2, .league-empty h3 { font-size: 25px; line-height: 1.3; margin: 10px 0; }
.league-empty p { max-width: 430px; margin-inline: auto; color: #697768; font-size: 14px; line-height: 1.7; }
.league-empty .button { margin-top: 24px; }
.league-empty-note { display: block; margin-top: 23px; color: #829077; font-size: 12px; }
.league-loading { display: flex; justify-content: center; align-items: center; gap: 11px; min-height: 64px; margin-bottom: 18px; color: #426d60; font-size: 14px; }
.league-loading .spinner { width: 18px; height: 18px; }
.league-error { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 25px; padding: 18px 20px; background: #fff0e9; color: #773e31; border: 1px solid #e9c0ae; border-radius: 14px; }
.league-error > span { display: inline-flex; margin-top: 3px; flex-shrink: 0; }
.league-error > div { flex: 1; }
.league-error strong { font-size: 14px; }
.league-error p { color: #865a4b; font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.league-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 4px; background: transparent; border: 0; color: #316957; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.league-text-button > .icon { width: 16px; height: 16px; flex-shrink: 0; }
.league-text-button:hover { color: #183b3c; }
.league-guest-card { padding: 39px 42px; background: #eff1e2; border: 1px solid #d2d8bc; border-radius: 22px; }
.league-guest-card h2 { font-size: clamp(30px,4vw,42px); margin: 12px 0 17px; line-height: 1.16; }
.league-guest-card > p:not(.league-small-note) { max-width: 580px; color: #5f7363; line-height: 1.7; }
.league-account-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 27px; }
.league-guest-card .league-small-note { margin-top: 24px; }
.league-rules-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 25px 12px; }
.league-rules-strip p { display: flex; align-items: center; gap: 9px; color: #617565; font-size: 14px; }
.league-rules-strip .icon { width: 18px; height: 18px; flex-shrink: 0; color: #458066; }
.league-detail-heading { margin-bottom: 30px; }
.league-detail-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.league-detail-meta > span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.league-detail-meta .icon { width: 17px; height: 17px; }
.league-today { margin-bottom: 34px; }
.league-today .league-section-heading { align-items: flex-end; }
.league-day { display: inline-flex; gap: 7px; align-items: center; padding-bottom: 3px; text-align: right; }
.league-day .icon { width: 17px; height: 17px; flex-shrink: 0; }
.league-daily-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.league-daily-card { display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; background: #226fb1; color: #fffdf2; padding: 24px; border: 5px solid #fffdf6; outline: 1px solid #d4d8c8; border-radius: 21px; box-shadow: 0 4px 0 #d7d7c6; }
.league-daily-hops { background: #21795e; }
.league-daily-card::before { content: ''; position: absolute; inset: 40px -20% 70px 42%; border: 1px solid #fff2; background: #ffffff05; border-radius: 50%; transform: rotate(25deg); pointer-events: none; z-index: -1; }
.league-daily-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; }
.league-daily-symbol { display: grid; place-items: center; flex-shrink: 0; width: 47px; height: 53px; border: 1px solid #fff7; border-radius: 10px; background: #fff2; transform: rotate(-6deg); box-shadow: 0 3px 0 #0001; }
.league-daily-symbol > .icon { width: 26px; height: 26px; }
.league-daily-heading h3 { font-size: 28px; line-height: 1.1; margin: 5px 0 0; color: #fffdf5; }
.league-card-kicker { display: block; font-size: 11px; letter-spacing: .05em; line-height: 1.4; font-weight: 800; color: #ffffffe6; }
.league-card-number { margin-left: auto; align-self: flex-start; font-weight: 900; font-style: italic; font-size: 18px; color: #fff7; }
.league-daily-status { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; margin-bottom: 15px; font-size: 13px; color: #fff6c2; }
.league-daily-status > .icon { width: 15px; height: 15px; }
.league-daily-pair { display: grid; grid-template-columns: minmax(0,1fr) 19px minmax(0,1fr); align-items: center; gap: 12px; padding: 17px 16px; border: 1px solid #ffffff38; background: #05292820; border-radius: 12px; margin-bottom: 17px; flex: 1; }
.league-daily-pair > div > span { display: block; margin-bottom: 6px; color: #ffffffe0; font-size: 11px; font-weight: 800; letter-spacing: .045em; }
.league-daily-pair strong { display: block; font-size: 20px; line-height: 1.28; letter-spacing: -.025em; overflow-wrap: anywhere; }
.league-daily-pair > span { display: inline-flex; color: #ffffffa8; }
.league-daily-pair > span > .icon { width: 19px; height: 19px; }
.league-daily-mystery { display: flex; align-items: center; gap: 18px; min-height: 111px; padding: 20px 15px; border: 1px dashed #ffffff59; border-radius: 12px; margin-bottom: 17px; flex: 1; }
.league-daily-mystery > span { display: inline-flex; transform: rotate(-9deg); color: #fff8c2; }
.league-daily-mystery > span > .icon { width: 38px; height: 38px; }
.league-daily-mystery p { font-size: 15px; line-height: 1.5; color: #ffffffcf; }
.league-daily-mystery strong { color: #fffdf5; font-size: 18px; }
.league-daily-card .league-daily-rule { color: #ffffffe5; font-size: 14px; line-height: 1.55; min-height: 44px; margin-bottom: 20px; }
.league-daily-card .league-daily-button { display: flex; justify-content: center; width: 100%; color: #153a3b; background: #fff0b6; border: 1px solid #fff8dc; box-shadow: 0 3px 0 #062f3566; margin-top: auto; }
.league-daily-button > .icon:last-child:not(:first-child) { margin-left: auto; }
.league-daily-button > .icon:first-child { margin-right: 2px; }
.league-daily-button:hover { background: #fff6d6; }
.league-daily-closed { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px; border: 1px solid #fff4; border-radius: 12px; font-size: 14px; color: #ffffffe8; margin-top: auto !important; }
.league-daily-closed .icon { width: 17px; height: 17px; flex-shrink: 0; }
.league-daily-mark { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; min-height: 44px; }
.league-daily-mark > span { font-size: 14px; color: #fff6c2; }
.league-daily-mark strong { display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; color: #fffdf1; font-size: 25px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.league-daily-mark small { font-size: 12px; font-weight: 400; }
.league-calendar-note { display: block; font-size: 13px; color: #788271; text-align: center; margin: 16px 0 0 !important; }
.league-detail-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(290px,1fr); gap: 25px; align-items: start; }
.league-side { display: flex; flex-direction: column; gap: 23px; }
.league-ranking-panel { padding: 26px; background: #fffdf7; border: 1px solid #d7dccb; border-radius: 20px; box-shadow: 0 4px 0 #e3e2d1; }
.league-ranking-panel .league-section-heading { margin-bottom: 22px; }
.league-board-emblem { display: inline-flex; padding: 10px; background: #fff0bd; border: 1px solid #f1d580; border-radius: 11px; color: #91702c !important; transform: rotate(7deg); }
.league-board-emblem .icon { width: 29px; height: 29px; }
.league-scoring-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; background: #eaf0e5; padding: 5px; border: 1px solid #d9e2d2; border-radius: 13px; margin-bottom: 20px; }
.league-scoring-tabs button { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #5a7567; padding: 10px 12px; font-weight: 800; }
.league-scoring-tabs button[aria-pressed="true"] { background: #fffef7; color: #204e47; border-color: #c7d2bf; box-shadow: 0 2px 0 #c8d6bf; }
.league-scoring-tabs .icon { width: 18px; height: 18px; flex-shrink: 0; }
.league-table-wrap { width: 100%; }
.league-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.league-table th, .league-table td { padding: 16px 7px; text-align: left; border-bottom: 1px solid #e4e8da; }
.league-table thead th { color: #7b8876; font-size: 12px; line-height: 1.5; font-weight: 700; }
.league-table :is(th,td):first-child { width: 60px; padding-left: 0; }
.league-table :is(th,td):last-child { text-align: right; width: 125px; padding-right: 1px; }
.league-table tbody tr:last-child :is(th,td) { border-bottom: 0; }
.league-rank-place { display: inline-flex; justify-content: center; align-items: center; gap: 4px; min-width: 31px; height: 33px; color: #667e70; font-weight: 800; }
.league-rank-first { color: #886918; background: #fff0b0; border: 1px solid #efda85; border-radius: 9px; padding: 4px; }
.league-rank-place > .icon { width: 16px; height: 16px; }
.league-ranked-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 800; overflow-wrap: anywhere; }
.league-table td > strong { display: block; color: #345d52; font-size: 19px; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -.03em; overflow-wrap: anywhere; }
.league-table td > span:not(.league-rank-place) { display: block; font-size: 11px; color: #7e8c7b; margin-top: 4px; }
.league-ranking-me { background: #edf4e9; }
.league-you { display: inline-flex; padding: 2px 5px; color: #387248; background: #e1efd5; border-radius: 5px; font-size: 11px; line-height: 1.4; font-weight: 800; flex-shrink: 0; }
.league-ranking-note { display: flex; align-items: flex-start; gap: 7px; color: #7a8877; font-size: 12px; line-height: 1.65; margin-top: 18px !important; }
.league-ranking-note > .icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.league-ranking-empty { padding: 24px 8px 27px; text-align: center; }
.league-ranking-empty > span { display: inline-flex; padding: 13px; color: #6e997a; background: #eef4e9; border-radius: 14px; margin-bottom: 12px; }
.league-ranking-empty h3 { font-size: 23px; line-height: 1.25; margin: 8px 0 12px; }
.league-ranking-empty p { font-size: 14px; color: #7a8977; line-height: 1.7; }
.league-invite-panel { padding: 26px; border-radius: 20px; background: #f5edd3; border: 1px solid #e0d1a8; }
.league-invite-symbol { display: inline-flex; margin-bottom: 18px; color: #9a7941; }
.league-invite-symbol .icon { width: 31px; height: 31px; }
.league-invite-panel .league-eyebrow { color: #8d794d; }
.league-invite-panel h2 { font-size: 28px; line-height: 1.15; margin: 9px 0 13px; color: #544e31; }
.league-invite-panel > p { font-size: 14px; line-height: 1.7; color: #827356; }
.league-invite-panel > .button { width: 100%; margin-top: 22px; }
.league-invite-expiry { display: block; margin-top: 12px; font-size: 12px; color: #89754b; line-height: 1.5; }
.league-owner-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; border-top: 1px solid #dfd3b6; padding-top: 14px; margin-top: 20px; }
.league-owner-actions .league-text-button { font-size: 13px; color: #7b6740; justify-content: flex-start; }
.league-invite-panel .league-small-note { font-size: 12px; margin-top: 10px; }
.league-members-panel { border: 1px solid #d9dfd0; border-radius: 20px; background: #fffdf7; padding: 24px; }
.league-members-panel .league-section-heading { gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.league-members-panel .league-section-heading h2 { font-size: 25px; }
.league-members { list-style: none; margin: 0; padding: 0; }
.league-member { display: flex; align-items: center; gap: 11px; padding: 16px 0; border-bottom: 1px solid #e5e9dd; }
.league-member:last-child { border-bottom: 0; }
.league-member-avatar { display: grid; place-items: center; width: 35px; height: 39px; flex-shrink: 0; border-radius: 10px; background: #e8eee4; color: #749277; }
.league-member-avatar .icon { width: 20px; height: 20px; }
.league-member-owner { background: #fff0bd; color: #997934; }
.league-member-name { flex: 1; }
.league-member-name strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.league-member-name small { display: block; color: #85907c; font-size: 12px; margin-top: 3px; }
.leagues-page .league-member-action { display: inline-flex; flex-shrink: 0; justify-content: center; align-items: center; gap: 4px; padding: 8px 0 8px 6px; border: 0; background: transparent; font-size: 12px; font-weight: 800; color: #447663; }
.league-member-action .icon { width: 14px; height: 14px; }
.leagues-page .league-destructive { color: #a45a46; }
.league-blocked { padding-top: 13px; margin-top: 7px; border-top: 1px dashed #d9dcca; }
.league-blocked summary { display: flex; align-items: center; gap: 8px; justify-content: space-between; cursor: pointer; min-height: 44px; color: #847967; font-size: 13px; font-weight: 800; }
.league-blocked summary > span { color: #9c8f7a; font-weight: 400; }
.league-blocked > p { color: #887f6c; font-size: 12px; line-height: 1.6; margin: 3px 0 8px; }
.league-member-settings { padding: 23px 24px; background: #eef2e8; border: 1px solid #d6dfcd; border-radius: 17px; }
.league-member-settings p { display: flex; align-items: flex-start; gap: 8px; color: #6d806b; font-size: 14px; line-height: 1.6; }
.league-member-settings p > .icon { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.league-member-settings > button { margin-top: 16px; }
.league-invitation-page { max-width: 710px; }
.league-invitation-card { position: relative; padding: 37px 48px 41px; border-radius: 24px; border: 1px solid #d3ddc7; box-shadow: 0 5px 0 #e3e4d1; background: #fffef6; text-align: center; }
.league-invitation-art { display: flex; justify-content: center; margin: 0 0 24px; }
.league-invitation-art .league-stamp { margin-right: 0; }
.league-invitation-card h1 { font-size: clamp(32px,4vw,46px); line-height: 1.14; margin: 13px 0 16px; overflow-wrap: anywhere; }
.league-invitation-owner { font-size: 15px; color: #7b8870; overflow-wrap: anywhere; }
.league-invitation-owner strong { color: #456c57; }
.league-invitation-people { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 20px; background: #ecf1e3; color: #658164; font-size: 13px; margin-top: 15px; }
.league-invitation-people > .icon { width: 15px; height: 15px; }
.league-invitation-card .league-invitation-copy { max-width: 420px; font-size: 15px; line-height: 1.7; color: #72816d; margin: 22px auto 25px; }
.league-invitation-card .league-account-actions { justify-content: center; }
.league-invitation-card .league-join-note { margin-top: 24px; color: #84907b; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.league-invitation-card > .league-loading { margin-top: 16px; margin-bottom: 0; }
.league-invitation-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 27px; padding-inline: 10px; color: #7f8c74; font-size: 12px; }
.league-invitation-footer > span { display: inline-flex; align-items: center; gap: 7px; }
.league-invitation-footer .icon { width: 15px; height: 15px; flex-shrink: 0; }

/* Compact home invitation: the app owns its markup and destination. */
.league-home-cta { display: flex; align-items: center; gap: 23px; padding: 27px 29px; margin-top: 30px; background: #eaf0e4; border: 1px solid #cad8bf; border-radius: 20px; color: #274d40; box-shadow: 0 3px 0 #dce5d0; }
.league-home-icon { display: grid; place-items: center; width: 60px; height: 75px; flex-shrink: 0; background: #247e66; border: 4px solid #fffdf5; border-radius: 12px; outline: 1px solid #c7d4bc; box-shadow: 0 3px 0 #b5c6ab; color: #fff1b8; transform: rotate(-7deg); }
.league-home-icon .icon { width: 31px; height: 31px; }
.league-home-cta > div { flex: 1; }
.league-home-cta .eyebrow { color: #6a8664; font-size: 11px; }
.league-home-cta h2 { margin: 7px 0 6px; color: #244b3e; font-size: 27px; line-height: 1.2; letter-spacing: -.045em; }
.league-home-cta p { margin: 0; color: #647a5f; font-size: 14px; line-height: 1.6; }
.league-home-cta > .button { font-size: 14px; min-height: 47px; color: #1f4539; flex-shrink: 0; }
.arcade-mobile-nav { grid-template-columns: repeat(5,minmax(0,1fr)); }

@media (max-width: 980px) {
  .league-list-layout { grid-template-columns: minmax(0,1fr) 305px; gap: 22px; }
  .league-create-panel { padding: 23px; }
  .league-tile { padding: 20px; gap: 16px; }
  .league-tile-art { width: 51px; height: 66px; }
  .league-tile-arrow { display: none; }
  .league-detail-layout { grid-template-columns: minmax(0,1fr); }
  .league-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .league-home-cta { flex-wrap: wrap; gap: 20px; }
  .league-home-cta > div { flex-basis: calc(100% - 95px); }
  .league-home-cta > .button { margin-left: 83px; }
}
@media (max-width: 660px) {
  .leagues-page { width: calc(100% - 32px); padding-block: 28px 37px; }
  .league-page-heading { gap: 16px; margin-bottom: 28px; }
  .league-page-heading h1 { font-size: 38px; margin-top: 9px; margin-bottom: 13px; }
  .league-page-heading p { font-size: 14px; }
  .league-eyebrow { font-size: 11px; letter-spacing: .04em; }
  .league-page-heading > .league-stamp { width: 80px; height: 100px; margin-right: 0; }
  .league-page-heading .league-stamp-card { width: 49px; height: 74px; border-width: 3px; border-radius: 9px; }
  .league-page-heading .league-stamp-back { left: 0; top: 0; }
  .league-page-heading .league-stamp-front { top: 19px; right: 0; }
  .league-page-heading .league-stamp-back .icon { width: 25px; height: 25px; }
  .league-page-heading .league-stamp-front .icon { width: 20px; height: 20px; margin-bottom: 5px; }
  .league-page-heading .league-stamp-front b { font-size: 6px; }
  .league-list-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .league-list-section .league-section-heading { margin-bottom: 17px; }
  .league-section-heading h2 { font-size: 25px; }
  .league-tile { padding: 20px 17px; gap: 16px; }
  .league-tile-copy > strong { font-size: 23px; }
  .league-tile-art { width: 49px; height: 66px; }
  .league-tile-art > .icon { width: 26px; height: 26px; }
  .league-tile-meta { font-size: 12px; gap: 4px 6px; }
  .league-create-panel { padding: 25px; }
  .league-create-panel h2 { font-size: 29px; }
  .league-create-symbol { margin-bottom: 14px; }
  .league-empty { padding: 28px 19px; }
  .league-empty h3 { font-size: 24px; }
  .league-empty-note { display: none; }
  .league-guest-card { padding: 28px 23px; }
  .league-guest-card h2 { font-size: 31px; }
  .league-account-actions { flex-direction: column; gap: 13px; margin-top: 24px; }
  .league-rules-strip { grid-template-columns: minmax(0,1fr); gap: 15px; padding: 25px 9px; }
  .league-error { flex-wrap: wrap; padding: 16px; gap: 9px 12px; }
  .league-error > div { flex-basis: calc(100% - 40px); }
  .league-error > .league-text-button { margin-left: 33px; }
  .league-back { margin-top: -9px; margin-bottom: 16px; }
  .league-detail-heading > .league-stamp { display: none; }
  .league-detail-heading h1 { font-size: 35px; }
  .league-detail-meta { gap: 8px 17px; }
  .league-today .league-section-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .league-today .league-eyebrow { max-width: 265px; }
  .league-day { text-align: left; font-size: 13px !important; }
  .league-daily-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .league-schedule-panel { padding: 17px 16px; gap: 11px; flex-wrap: wrap; }
  .league-schedule-icon { width: 34px; height: 39px; }
  .league-schedule-icon > .icon { width: 19px; height: 19px; }
  .league-schedule-copy { flex-basis: calc(100% - 45px); }
  .league-schedule-copy h3 { font-size: 18px; }
  .league-schedule-panel > .league-text-button { margin-left: 45px; padding-block: 6px; }
  .league-schedule-copy > .league-schedule-pending { margin-left: -45px; margin-top: 14px; }
  .league-daily-card { padding: 22px 20px; border-width: 4px; border-radius: 19px; }
  .league-daily-heading { gap: 13px; }
  .league-daily-heading h3 { font-size: 27px; }
  .league-card-kicker { font-size: 10px; }
  .league-daily-pair { padding: 15px 13px; gap: 9px; }
  .league-daily-pair strong { font-size: 19px; }
  .league-daily-card .league-daily-rule { min-height: 0; }
  .league-calendar-note { font-size: 12px; }
  .league-ranking-panel { padding: 22px 18px; border-radius: 18px; }
  .league-ranking-panel .league-section-heading { gap: 12px; }
  .league-board-emblem { padding: 8px; }
  .league-board-emblem .icon { width: 23px; height: 23px; }
  .league-scoring-tabs button { padding-inline: 8px; gap: 6px; font-size: 13px; }
  .league-table { font-size: 14px; }
  .league-table th, .league-table td { padding: 15px 5px; }
  .league-table :is(th,td):first-child { width: 46px; }
  .league-table :is(th,td):last-child { width: 105px; }
  .league-table td > strong { font-size: 17px; }
  .league-table thead th { font-size: 11px; }
  .league-rank-place { min-width: 29px; font-size: 13px; }
  .league-rank-place .icon { width: 13px; height: 13px; }
  .league-ranking-empty { padding: 23px 4px; }
  .league-ranking-empty h3 { font-size: 24px; }
  .league-side { display: flex; }
  .league-invite-panel, .league-members-panel, .league-member-settings { padding: 24px 22px; }
  .league-member-action > .icon { display: none; }
  .league-invitation-page { padding-top: 25px; }
  .league-invitation-card { padding: 28px 22px 30px; border-radius: 21px; }
  .league-invitation-art { margin-bottom: 23px; }
  .league-invitation-card h1 { font-size: 34px; }
  .league-invitation-card .league-account-actions > .button, .league-invitation-card > .button { width: 100%; }
  .league-invitation-footer { justify-content: flex-start; font-size: 12px; gap: 12px; margin-top: 24px; }
  .league-home-cta { gap: 17px; padding: 23px 20px; margin-top: 26px; border-radius: 18px; }
  .league-home-icon { width: 48px; height: 62px; border-width: 3px; border-radius: 10px; }
  .league-home-icon .icon { width: 26px; height: 26px; }
  .league-home-cta > div { flex-basis: calc(100% - 66px); }
  .league-home-cta h2 { font-size: 24px; }
  .league-home-cta p { font-size: 13px; }
  .league-home-cta > .button { width: 100%; margin-left: 0; margin-top: 3px; font-size: 14px; }
}
@media (max-width: 360px) {
  .league-page-heading { gap: 9px; }
  .league-page-heading h1 { font-size: 33px; }
  .league-page-heading > .league-stamp { width: 69px; flex-basis: 69px; }
  .league-create-panel, .league-guest-card { padding-inline: 21px; }
  .league-tile { padding-inline: 14px; gap: 13px; }
  .league-tile-art { width: 43px; height: 60px; }
  .league-tile-copy > strong { font-size: 21px; }
  .league-daily-card { padding-inline: 16px; }
  .league-daily-heading { gap: 10px; }
  .league-daily-heading h3 { font-size: 25px; }
  .league-daily-symbol { width: 41px; height: 48px; }
  .league-card-number { display: none; }
  .league-daily-pair { padding-inline: 11px; gap: 7px; }
  .league-daily-pair strong { font-size: 18px; }
  .league-daily-mark strong { font-size: 22px; }
  .league-ranking-panel { padding-inline: 15px; }
  .league-ranking-panel .league-section-heading h2 { font-size: 24px; }
  .league-board-emblem { display: none; }
  .league-table :is(th,td):first-child { width: 39px; }
  .league-table :is(th,td):last-child { width: 94px; }
  .league-table td > strong { font-size: 16px; }
  .league-invite-panel, .league-members-panel, .league-member-settings { padding-inline: 18px; }
  .league-invitation-card { padding-inline: 20px; }
  .league-invitation-card h1 { font-size: 30px; }
}
