.fa-rewards{display:grid;gap:var(--fa-space-4,16px);margin-top:var(--app-page-section-gap,28px);min-width:0}
.fa-reward-total{display:block;font-size:clamp(20px,4vw,30px);font-variant-numeric:tabular-nums}
.fa-reward-card-pool,.fa-rewards [data-reward-amount]{font-variant-numeric:tabular-nums;white-space:nowrap}
.fa-reward-card-pool{flex-basis:100%}
.fa-rewards .fa-reward-note{margin-top:8px}
.fa-reward-list{margin:0}
.fa-reward-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.fa-reward-row:last-child{border-bottom:0}
.fa-reward-row dd{margin:0;text-align:right}
.fa-reward-table-wrap{max-width:100%;overflow-x:auto}
.fa-reward-table{width:100%;border-collapse:collapse;font-size:13px}
.fa-reward-table th,.fa-reward-table td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.fa-reward-table th:first-child{text-align:left}
.fa-rewards[hidden]{display:none}
@media(max-width:620px){.fa-reward-row{font-size:13px}}

.fa-reward-season{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.fa-reward-season select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:6px 12px}
.fa-reward-evidence{min-height:2.6em;margin-top:8px}
.fa-rewards .fa-reward-evidence [hidden]{display:none}
.fa-reward-row dd{min-width:0;overflow-wrap:anywhere}
.fa-reward-row dd [data-reward-amount]{display:inline-block}

.fa-rewards[data-reward-history="true"] [data-reward-amount], [data-admin-rewards][data-reward-history="true"] [data-reward-amount]{color:var(--muted)}
.fa-reward-row dt{min-width:0}
@media(max-width:380px){.fa-reward-row{align-items:flex-start;flex-direction:column;gap:5px}.fa-reward-row dd{text-align:left}}

.fa-reward-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.fa-reward-heading h2{margin:0}
.fa-reward-per-club{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0 0;font-size:13px}
.fa-reward-schedule{margin-top:20px}
.fa-reward-schedule h3{font-size:14px;margin:0 0 6px}
.fa-reward-table .fa-reward-payment-description{text-align:left;white-space:normal}
.fa-reward-footnote,.fa-reward-note,.fa-reward-evidence{font-size:12px;color:var(--muted)}
.fa-reward-evidence{min-height:2.6em;margin-top:4px}
.fa-reward-calculation{margin-top:12px;font-size:13px}
.fa-reward-calculation summary{cursor:pointer;width:fit-content}
.fa-reward-calculation dl{margin-top:8px}
.fa-rewards .app-panel{min-width:0}
@media(max-width:380px){.fa-reward-table th,.fa-reward-table td{padding:8px 4px;font-size:12px}.fa-reward-table th:first-child{white-space:normal}}

/* Public Rewards uses the existing competition panel rhythm and club identity. */
#competition-panel-rewards>.fa-rewards{display:grid;gap:16px;margin:0;min-width:0;width:100%}
#competition-panel-rewards .fa-rewards>.app-panel{padding:0;border:0;border-radius:0;background:transparent;min-width:0}
#competition-panel-rewards .fa-reward-heading{align-items:center;gap:6px 12px;margin:0;min-height:26px}
#competition-panel-rewards .fa-reward-heading h2{margin:0;font-size:16px;font-weight:750;line-height:1.4;letter-spacing:normal;color:var(--text)}
#competition-panel-rewards .fa-reward-total{font-size:19px;font-weight:750;line-height:1.2;text-align:right;margin-inline-start:auto}
#competition-panel-rewards .fa-reward-table-wrap{position:relative;border:1px solid var(--line);border-radius:var(--fa-radius-control);overflow-x:auto}
#competition-panel-rewards .fa-reward-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--text);font-size:12.5px;font-variant-numeric:tabular-nums}
#competition-panel-rewards .fa-reward-table tr>*{box-sizing:border-box;padding:7px 10px;height:40px;border:0;border-bottom:1px solid var(--line);text-align:right;vertical-align:middle;background:var(--surface)}
#competition-panel-rewards .fa-reward-table tr>*:first-child{text-align:left;white-space:normal;overflow-wrap:anywhere}
#competition-panel-rewards .fa-reward-table tbody th{font-weight:650}
#competition-panel-rewards .fa-reward-table thead th{height:40px;background:#172d30;color:var(--muted);font-size:11.5px;font-weight:750;letter-spacing:.03em;white-space:normal;overflow-wrap:anywhere}
html[data-theme="light"] #competition-panel-rewards .fa-reward-table thead th{background:#E8F1EB;color:#31594A}
#competition-panel-rewards .fa-reward-table tbody tr:nth-child(even)>*{background:color-mix(in srgb,var(--surface) 97.5%,#64cba9 2.5%)}
#competition-panel-rewards .fa-reward-table tbody tr:last-child>*{border-bottom:0}
#competition-panel-rewards .fa-reward-table tr>*:last-child{width:max(40%,13ch);font-weight:750}
#competition-panel-rewards .fa-reward-table tbody tr>*{height:64px}
#competition-panel-rewards .app-world-club-identity{gap:8px}
#competition-panel-rewards .app-world-club-name{font-size:12.5px;line-height:1.35;display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#competition-panel-rewards .app-world-club-identity>a:hover{text-decoration:underline;text-underline-offset:3px}
#competition-panel-rewards .fa-reward-name-slot{flex:1;min-width:0}
#competition-panel-rewards .fa-reward-name-slot>.app-skeleton-bar{display:block;width:min(13ch,100%);height:.78em;margin:0}
#competition-panel-rewards .fa-reward-value{display:flex;align-items:center;justify-content:flex-end;min-height:1.35em;white-space:nowrap}
#competition-panel-rewards .fa-reward-value>.app-skeleton-bar{width:min(12ch,100%);height:.78em;margin:0}
#competition-panel-rewards [data-reward-unavailable="true"] [data-reward-placeholder]>*{visibility:hidden}
#competition-panel-rewards .fa-reward-reference-note{position:absolute;inset:40px 0 auto;min-height:64px;display:flex;align-items:center;justify-content:center;margin:0;padding:0 10px;text-align:center;font-size:12px;color:var(--muted)}
#competition-panel-rewards .fa-reward-reference-note[hidden]{display:none}
@media(max-width:620px){
 #competition-panel-rewards .fa-reward-table tr>*{padding:6px;font-size:12px}
 #competition-panel-rewards .fa-reward-table thead th{font-size:11px}
 #competition-panel-rewards .fa-reward-table tbody tr>*{height:54px}
 #competition-panel-rewards .app-world-club-identity{gap:6px}
 #competition-panel-rewards .app-world-club-name{font-size:12px}
 #competition-panel-rewards .fa-reward-reference-note{min-height:54px}
}

/* Shared anonymous circular crest skeleton uses the exact same slot as Stats. */
#competition-panel-rewards .fa-reward-legend{display:grid;gap:4px}
#competition-panel-rewards .fa-reward-legend p{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
#competition-panel-rewards .fa-reward-legend .fa-reward-legend-split{color:var(--text);font-weight:650;font-variant-numeric:tabular-nums}

/* Compact numeric legend, no explanatory subtitles. The range is allowed
   to wrap on narrow screens while amount cells retain tabular alignment. */
#competition-panel-rewards .fa-reward-legend .fa-reward-table thead th:nth-child(2){width:17%}
#competition-panel-rewards .fa-reward-legend .fa-reward-table thead th:last-child{width:43%}
#competition-panel-rewards .fa-reward-legend .fa-reward-table tbody tr>*{height:42px}
#competition-panel-rewards .fa-reward-legend .fa-reward-table .fa-reward-per-club-row td{white-space:normal;overflow-wrap:normal}
#competition-panel-rewards .fa-reward-legend .fa-reward-milestone-row>*{border-top:2px solid var(--line)}
#competition-panel-rewards .fa-reward-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* In-table disclosures: fixed parent columns and independently revealed detail rows. */
#competition-panel-rewards .fa-reward-legend .fa-reward-table tbody tr:not(.fa-reward-detail-row)>*{height:42px}
#competition-panel-rewards .fa-reward-legend .fa-reward-table tbody tr:nth-child(2n of :not(.fa-reward-detail-row))>*{background:color-mix(in srgb,var(--surface) 97.5%,#64cba9 2.5%)}
#competition-panel-rewards .fa-reward-legend .fa-reward-table tbody tr:nth-child(2n+1 of :not(.fa-reward-detail-row))>*{background:var(--surface)}
#competition-panel-rewards .fa-reward-legend .fa-reward-table .fa-reward-detail-row[hidden]{display:none}
#competition-panel-rewards .fa-reward-disclosure-toggle{display:inline-flex;align-items:center;gap:4px;padding:3px 2px 3px 0;max-width:100%;min-height:28px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
#competition-panel-rewards .fa-reward-disclosure-toggle:hover{color:var(--text);background:rgba(100,203,169,.065)}
#competition-panel-rewards .fa-reward-disclosure-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
#competition-panel-rewards .fa-reward-disclosure-toggle>.language-chevron{display:block;flex:0 0 14px;width:14px;height:14px;margin:0;transform:rotate(0deg);transition:transform .16s ease;pointer-events:none}
#competition-panel-rewards .fa-reward-disclosure-toggle[aria-expanded="true"]>.language-chevron{transform:rotate(180deg)}
#competition-panel-rewards .fa-reward-legend .fa-reward-table .fa-reward-detail-row>*{height:34px;background:color-mix(in srgb,var(--surface) 95%,#64cba9 5%);font-weight:500}
#competition-panel-rewards .fa-reward-legend .fa-reward-table .fa-reward-detail-note{height:auto;padding:9px 10px 9px 18px;text-align:left;white-space:normal}
#competition-panel-rewards .fa-reward-legend .fa-reward-table .fa-reward-detail-label{padding-inline-start:18px;text-align:left;white-space:normal}
#competition-panel-rewards .fa-reward-legend .fa-reward-table .fa-reward-detail-column{white-space:normal;color:var(--muted)}
@media(prefers-reduced-motion:reduce){#competition-panel-rewards .fa-reward-disclosure-toggle>.language-chevron{transition:none}}

/* Admin Rewards follows the Club Licenses / Contracts layout and control tokens. */
.app-admin-view .admin-rewards,.app-admin-view .admin-rewards-content{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;gap:var(--app-page-section-gap)}
.app-admin-view .admin-rewards [hidden]{display:none!important}
.app-admin-view .admin-rewards-message{margin:0;min-height:1.4em;line-height:1.4}
.app-admin-view .admin-rewards-summary{display:grid;gap:12px;min-width:0;overflow:visible}
.app-admin-view .admin-rewards-summary-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0}
.app-admin-view .admin-rewards-pool{display:grid;gap:6px;text-align:right}
.app-admin-view .admin-rewards h2{margin:0;font-size:var(--fa-text-panel-heading);line-height:1.3}
.app-admin-view .admin-rewards-pool .fa-reward-total{font-size:clamp(20px,3vw,26px);line-height:1.2}
.app-admin-view .admin-rewards-season{display:grid;gap:6px;width:192px;max-width:100%;min-width:0;font-size:13px;font-weight:600}
.app-admin-view .admin-rewards-season>span{pointer-events:none;cursor:default;line-height:1.4}
.app-admin-view .admin-rewards-dropdown{position:relative;min-width:0;width:100%;z-index:5}
.app-admin-view .admin-rewards-dropdown:has(.language-trigger[aria-expanded="true"]){z-index:80}
.app-admin-view .admin-rewards-dropdown .language-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;min-width:0;height:var(--fa-control-height-regular);min-height:var(--fa-control-height-regular);padding:8px 12px;font-size:14px}
.app-admin-view .admin-rewards-dropdown .language-trigger:disabled{opacity:.55;cursor:default}
.app-admin-view .admin-rewards-dropdown .language-menu{box-sizing:border-box;min-width:0;width:100%;inset-inline:0}
.app-admin-view .admin-rewards-dropdown[data-menu-placement="above"] .language-menu{top:auto;bottom:calc(100% + 6px)}
.app-admin-view .admin-rewards-dropdown .language-option{min-height:36px;box-sizing:border-box;padding:8px 10px;font-size:13px}
.app-admin-view .admin-rewards-list{display:grid;grid-template-columns:minmax(0,1fr);min-width:0}
.app-admin-view .admin-rewards .fa-reward-evidence p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.app-admin-view .admin-rewards .fa-reward-evidence{min-height:0;margin:0}
.app-admin-view .admin-rewards-table-wrap{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:auto;border:1px solid var(--border);border-radius:var(--fa-radius-panel);background:var(--surface);scrollbar-width:thin}
.app-admin-view .admin-rewards-table-wrap:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.app-admin-view .admin-rewards .fa-reward-table{box-sizing:border-box;width:100%;min-width:500px;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--text);font-size:14px;font-variant-numeric:tabular-nums}
.app-admin-view .admin-rewards .fa-reward-table :is(th,td){box-sizing:border-box;padding:5px 12px;border:0;border-bottom:1px solid var(--line);vertical-align:middle;text-align:right}
.app-admin-view .admin-rewards .fa-reward-table :is(th,td):first-child{text-align:left;white-space:normal;overflow-wrap:anywhere}
.app-admin-view .admin-rewards .fa-reward-table thead th{height:42px;background:#172d30;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.2;white-space:normal}
html[data-theme="light"] .app-admin-view .admin-rewards .fa-reward-table thead th{background:#E8F1EB;color:#31594A}
.app-admin-view .admin-rewards .fa-reward-table tbody tr,.app-admin-view .admin-rewards .fa-reward-table tfoot tr{height:42px}
.app-admin-view .admin-rewards .fa-reward-table tbody th{font-weight:600}
.app-admin-view .admin-rewards .fa-reward-table tfoot :is(th,td){border-top:1px solid var(--line);border-bottom:0;font-weight:750}
.app-admin-view .admin-rewards-payments tbody tr:last-child>*{border-bottom:0}
.app-admin-view .admin-rewards-payments .fa-reward-table :is(th,td):first-child{width:19%}
.app-admin-view .admin-rewards-payments .fa-reward-table :is(th,td):nth-child(2){width:50%;text-align:left;white-space:normal}
.app-admin-view .admin-rewards .admin-rewards-distribution{min-width:840px}
.app-admin-view .admin-rewards-distribution :is(th,td):first-child{width:28%}
.app-admin-view .admin-rewards-distribution :is(th,td):not(:first-child){width:18%;white-space:nowrap}
.app-admin-view .admin-rewards-distribution thead th:not(:first-child){white-space:normal}
.app-admin-view .admin-rewards [data-reward-amount]{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:520px){
 .app-admin-view .admin-rewards-season{width:100%}
 .app-admin-view .admin-rewards-pool{text-align:left}
 .app-admin-view .admin-rewards .fa-reward-table :is(th,td){padding-inline:8px;font-size:13px}
 .app-admin-view .admin-rewards .fa-reward-table thead th{font-size:12px}
}
