@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--paper:#eef0f3;--ink:#26312d;--muted:#65747c;--line:#dce3e7;--green:#58783e;--shadow:7px 8px 22px #d1d8df90,-6px -6px 20px #ffffffbd;--soft:3px 4px 10px #ccd5dd80,-3px -3px 10px #ffffffa0}
*{box-sizing:border-box}html{scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #6f8d50;outline-offset:4px}button:active{transform:translateY(1px)}h1,h2,h3,h4,p{overflow-wrap:break-word}svg{flex-shrink:0}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}.skip-link{position:fixed;top:12px;left:16px;transform:translateY(-160%);z-index:100;background:#293d2d;color:white;padding:12px 20px;border-radius:12px}.skip-link:focus{transform:none}
.site-sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:34px 20px 24px;background:linear-gradient(150deg,#f5f7f9,#e6ebef);border-right:1px solid #fff;display:flex;flex-direction:column;z-index:10;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;font-size:19px;letter-spacing:2px;font-weight:500;white-space:nowrap}.sidebar-brand{padding:0 8px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#7b8984;margin-top:3px}.sidebar-caption{font-size:9px;letter-spacing:1.5px;color:#7b898d;margin:46px 12px 17px}.site-nav{display:flex;flex-direction:column;gap:8px}.site-nav a{display:flex;gap:14px;align-items:center;padding:14px 17px;border-radius:14px;color:#75838b;font-weight:650;font-size:13px}.site-nav .icon{width:21px;height:21px}.site-nav a:hover{background:#f7faf8;color:#36552d}.site-nav a.active{color:#3e5932;background:linear-gradient(120deg,#e2edcf,#eff4e6);box-shadow:var(--soft);border:1px solid #fff8}.site-nav a.active::after{content:'';height:6px;width:6px;background:#7d9b5c;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.sidebar-link{display:flex;justify-content:space-between;padding:14px 0;border-top:1px solid var(--line);color:#63756b;font-weight:650;font-size:12px}.sidebar-club{margin-top:20px;padding:18px 0}.live-dot{display:inline-block;width:6px;height:6px;background:#89aa61;border-radius:50%;flex-shrink:0}.sidebar-club>b{font-size:11px;margin-left:8px}.sidebar-club p{font-size:12px;color:#829097;margin:10px 0 0;line-height:1.9}.sidebar-footer{display:block;font-size:8px;letter-spacing:1px;color:#919fa4;margin-top:30px}.site-main{margin-left:232px;min-height:100svh}.site-topbar{height:82px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dfe5e9}.site-breadcrumb{font-size:10px;letter-spacing:1.3px;color:#81918b;font-weight:650}.site-breadcrumb>span{margin:0 13px;color:#a4b0b5}.data-status{display:flex;align-items:center;gap:8px;background:none;font-size:11px;color:#849295;padding:8px}.data-status b{font-weight:600;color:#607367}.mobile-brand{display:none}.main-inner{max-width:1440px;margin:0 auto;padding:35px 42px 0}#app-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:32px}#app-header h1{font-size:32px;line-height:1.25;letter-spacing:-1.1px;margin:0;font-weight:800}.header-label{font-size:12px;color:#839096;margin:7px 0 0}.header-left,.header-actions{display:flex;align-items:center;gap:16px}.icon-button{background:linear-gradient(135deg,#f8fafb,#e6ecf0);border:1px solid #fff;box-shadow:var(--soft);width:44px;height:44px;border-radius:14px;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;color:#708477}.icon-button .icon{width:20px;height:20px}.site-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);color:#8e9ca2;font-size:10px;padding:24px 0 30px;margin-top:40px}.app-content,.page,.page>*{min-width:0}.app-content{outline:none}.card{padding:24px;border-radius:22px;background:linear-gradient(130deg,#f5f8fa,#e8eef2);border:1px solid #ffffffd9;box-shadow:var(--shadow);margin-bottom:24px}.compact-list{padding:0 22px}.eyebrow{font-size:10px;color:#82917b;letter-spacing:1.2px;font-weight:700;text-transform:uppercase}.subtle{color:var(--muted);font-size:12px;line-height:1.8}.chip{display:inline-flex;align-items:center;gap:6px;border-radius:8px;font-size:10px;padding:5px 9px;white-space:nowrap;background:#e1e7eb;color:#7b8a91;font-weight:650}.chip .icon{width:13px;height:13px}.chip.green{background:#e0ecd2;color:#63824a}.chip.demo{background:#efe8d8;color:#97804b}.section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:28px 0 16px}.section-head h3{font-size:18px;margin:0;letter-spacing:-.4px;font-weight:800}.text-button{display:inline-flex;align-items:center;gap:7px;background:none;padding:6px 0;font-size:12px;font-weight:600;color:#58733d}.text-button .icon{width:15px;height:15px}.flex-between{display:flex;justify-content:space-between;align-items:center;gap:14px}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;padding:13px 20px;border-radius:13px;font-size:12px;font-weight:750}.primary-button{background:#34452f;color:#f5f9f1;box-shadow:var(--soft)}.secondary-button{background:#f0f4f6;box-shadow:var(--soft);border:1px solid #fff}.primary-button .icon,.secondary-button .icon{width:18px;height:18px}.button-pair{display:flex;gap:12px;margin:20px 0 26px}.button-pair>.primary-button{flex:1}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.stats-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-tile{position:relative;border-radius:18px;padding:23px 20px;background:linear-gradient(135deg,#f7f9fa,#e8edf2);box-shadow:var(--soft);border:1px solid #fff;text-align:left;min-width:0}.stat-tile strong{display:block;font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:800;font-variant-numeric:tabular-nums}.stat-tile small{display:block;font-size:11px;color:#859298;margin-top:8px}.stat-tile .icon{color:#9bac8f;position:absolute;right:16px;top:19px;width:20px;height:20px}.stat-tile:has(.icon) strong{padding-right:20px}.stat-tile.accent{background:linear-gradient(130deg,#e3eed6,#d9e6c7)}
/* Dashboard */
.dashboard-banner{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:24px}.hero{position:relative;overflow:hidden;cursor:pointer;padding:28px 30px;min-height:260px;margin:0;background:linear-gradient(120deg,#f8fafb,#e7edf0)}.hero h3{font-size:35px;letter-spacing:-1.3px;line-height:1.2;margin:27px 0 10px;position:relative;z-index:1}.hero-year{font-size:18px;color:#93a1a5;letter-spacing:0;font-weight:500}.hero-sub{color:#6b7b83;font-size:12px}.hero-art{position:absolute;right:8%;top:75px;width:105px;height:100px;color:#c0ccba;transform:rotate(-13deg)}.hero-art .icon{width:100%;height:100%;stroke-width:1}.hero-bottom{display:flex;align-items:center;gap:10px;font-size:12px;color:#77867b;margin-top:28px;padding-top:18px;border-top:1px solid #dce5df}.hero-bottom>b{color:#506a42}.hero-bottom>.icon{width:17px;height:17px;margin-left:auto}.winner-dot{width:26px;height:26px;background:#dfedc9;color:#799653;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800}.club-note{position:relative;padding:26px 28px;overflow:hidden;background:linear-gradient(130deg,#e2ecd4,#edf2e5);box-shadow:var(--soft);border:1px solid #f9fff1;border-radius:22px}.club-note h3{font-size:27px;letter-spacing:-.8px;line-height:1.35;margin:20px 0 11px}.club-note p{font-size:11px;color:#6f825e;line-height:1.8;max-width:230px}.club-symbol{position:absolute;right:17px;bottom:-14px;font-size:125px;line-height:1;letter-spacing:-10px;font-weight:800;color:#d4dfc7;pointer-events:none}.club-note>.text-button{position:relative;margin-top:8px}.overview-period{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 0}.overview-period .section-head,.overview-period .range-controls{margin:0}.overview-columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:28px}.overview-columns .section-head{margin-top:14px}.overview-columns .rating-legend{margin-top:-8px}.overview-columns .compact-list{margin:0}.recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.recent-grid .list-row{padding:20px;border:1px solid #fff;border-radius:18px;background:#f2f6f8;box-shadow:var(--soft)}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}
/* Lists and filters */
.avatar{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,#f7f9fc,#dce5ec);border:1px solid #fff;box-shadow:var(--soft);font-size:12px;font-weight:750;color:#8698a1}.avatar.tint{background:linear-gradient(135deg,#edf4e2,#dce8cc);color:#7c935f}.player-row{width:100%;display:flex;align-items:center;gap:16px;padding:18px 0;min-height:82px;text-align:left;background:none;border-bottom:1px solid var(--line)}.player-row:last-child,.list-row:last-child,.match-row:last-child{border-bottom:0}.player-row:hover,.list-row:hover,.match-row:hover{background:#f7fbf575}.rank-number{min-width:22px;text-align:center;font-size:13px;font-weight:700;color:#93a2a4}.rank-number.top{color:#7b955b}.player-copy{flex:1;min-width:0}.player-name{display:block;font-size:14px;font-weight:750;line-height:1.45;letter-spacing:-.15px}.player-meta{display:block;color:#6b7b83;font-size:11px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.player-value{flex-shrink:0;text-align:right;font-size:18px;font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums;min-width:125px;white-space:nowrap}.uttf-value{font-size:.75em;font-weight:600;color:#70818a;letter-spacing:0}.delta{display:block;font-size:10px;margin-top:5px;font-weight:650;letter-spacing:0;color:#79888f}.delta.up{color:#70914e}.delta.down{color:#b17b73}.rating-legend{font-size:11px;color:#748188;margin:10px 0 18px;line-height:1.7}.rating-legend span{color:#667f50}.source-note{display:flex;justify-content:center;align-items:center;gap:7px;margin:30px auto 0;color:#76837c;font-size:10px}.source-note .icon{width:14px;height:14px}.list-status{display:flex;justify-content:space-between;gap:15px;color:#74838b;font-size:11px;margin:23px 0 12px}.flat-list{background:linear-gradient(135deg,#f6f9fa,#ecf1f5);border:1px solid #fff;border-radius:20px;box-shadow:var(--soft);padding:0 24px}.list-row{display:flex;align-items:center;gap:16px;width:100%;background:none;text-align:left;padding:20px 0;border-bottom:1px solid var(--line)}.list-row>.icon{width:17px;height:17px;color:#94a78f}.date-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:54px;height:60px;border-radius:14px;background:#e8eef2;box-shadow:inset 2px 2px 6px #cdd6dd90,inset -2px -2px 6px #ffffffb5}.date-tile b{font-size:24px;line-height:1.2;letter-spacing:-.7px}.date-tile span{font-size:10px;color:#8c9ca2;margin-top:3px}.search-box{display:flex;align-items:center;gap:12px;background:#e8eef3;border:1px solid #f8fbfc;box-shadow:inset 3px 3px 8px #d0d8df85,inset -3px -3px 8px #fff9;border-radius:13px;padding:13px 16px;margin-bottom:18px}.search-box .icon{width:19px;height:19px;color:#99aab0}.search-box input{width:100%;min-width:0;background:none;border:0;outline:none;font-size:13px}.search-box:focus-within{outline:2px solid #9bb77c;outline-offset:2px}.search-box input:focus-visible{outline:none}.search-box input::placeholder{color:#99a9b0}.segment{display:flex;gap:4px;background:#e3e9ef;padding:5px;border-radius:14px;box-shadow:inset 2px 2px 6px #cdd5de80,inset -2px -2px 6px #ffffff85;margin:18px 0 24px;width:max-content;max-width:100%;min-width:0}.segment button{padding:11px 21px;border-radius:10px;background:none;font-size:12px;color:#74868e;font-weight:600;min-width:0}.segment button.active{background:#f6f9fa;color:#536d43;font-weight:750;box-shadow:var(--soft)}.filter-row{display:flex;align-items:center;gap:12px;margin:16px 0 22px}.filter-row select,.selector-stack select,.settings-select{background:linear-gradient(135deg,#f5f8fa,#e8eef3);border:1px solid white;box-shadow:var(--soft);border-radius:12px;padding:12px 14px;min-width:0;font-size:12px}.filter-row select{flex:1;max-width:340px}.range-controls{display:flex;align-items:flex-end;gap:12px;margin:18px 0 24px;max-width:450px}.range-controls label{font-size:10px;color:#708180;min-width:0;flex:1}.range-controls select{display:block;width:100%;min-width:100px;padding:10px 12px;margin-top:6px;background:linear-gradient(135deg,#f5f8fa,#e8eef3);border:1px solid #fff;border-radius:11px;box-shadow:var(--soft);font-size:13px}.range-controls>span{align-self:center;margin-top:14px;color:#afbdba}.range-controls>.text-button{font-size:11px;margin-bottom:5px;white-space:nowrap;padding:7px 4px}.filter-bar{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:26px}.filter-bar>*{margin:0!important}.filter-bar>.range-controls{flex:1 1 330px}.filter-bar>.filter-row{flex:1 1 180px}.filter-bar .filter-row select{width:100%;max-width:none}.load-more{max-width:400px;margin:26px auto 0}.notice{padding:14px 18px;border:1px solid #d9e3db;background:#e5ece8;border-radius:13px;color:#647b69;font-size:12px;line-height:1.8;margin:20px 0}.notice .icon{width:14px;height:14px;display:inline-block;vertical-align:-2px;margin-right:5px}.notice.warning{background:#f0ebde;border-color:#e6dec9;color:#978550}.empty{padding:45px 20px;text-align:center;color:#91a1a6;font-size:13px;line-height:1.8}.empty .icon{width:36px;height:36px;margin:0 auto 15px;color:#afbec2}.empty h4{font-size:16px;color:#779076;margin:0 0 8px}.empty p{margin:0}.period-hint{font-size:12px;max-width:800px;margin:0 0 22px}.tour-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;background:none;box-shadow:none;border:0;padding:0}.tour-list .list-row{padding:22px 18px;border:1px solid #fff;background:linear-gradient(130deg,#f6f9fa,#e8eef3);border-radius:18px;box-shadow:var(--soft);align-items:flex-start}.tour-list .list-row>.icon{margin-top:22px}
/* Player and match detail */
.profile-hero{display:grid;grid-template-columns:88px minmax(0,1fr) auto;column-gap:22px;align-items:center;padding:25px 28px;border-radius:22px;border:1px solid #fff;background:linear-gradient(120deg,#f6f9fa,#e8efeb);box-shadow:var(--shadow)}.profile-hero>.avatar{grid-row:1/3;width:80px;height:80px;font-size:24px;border-radius:24px}.profile-hero h3{font-size:27px;line-height:1.3;letter-spacing:-.8px;margin:0;grid-column:2}.profile-hero>.subtle{grid-column:2;margin-top:8px}.profile-rating{grid-column:3;grid-row:1/3;display:flex;gap:26px;align-items:center;text-align:center}.profile-rating>div+div{border-left:1px solid var(--line);padding-left:26px}.profile-rating strong{font-size:28px;letter-spacing:-.8px}.profile-rating small{display:block;font-size:10px;color:#738473;margin-top:5px}.profile-overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px;margin-top:25px}.profile-overview .section-head{margin-top:0}.profile-overview .card:last-child{margin-bottom:0}.profile-side .section-head{margin-top:26px}.chart{display:block;width:100%;height:auto;max-height:360px;overflow:visible;margin:20px 0}.chart text{fill:#91a6aa;font-family:inherit;font-size:8px}.chart .gridline{stroke:#d1dce2;stroke-width:.6;stroke-dasharray:3 4}.chart .curve{fill:none;stroke:#7e985d;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.chart circle{fill:#deefc7;stroke:#7b975f;stroke-width:1.4}.chart .area{fill:url(#chart-fill)}.chart-summary{display:flex;align-items:center;justify-content:space-between}.chart-summary strong{font-size:27px;letter-spacing:-.7px}.medals{display:flex;justify-content:space-around;text-align:center}.medals .icon{width:32px;height:32px;margin:0 auto 10px;color:#9db584;stroke-width:1.3}.medals strong{font-size:26px}.medals small{display:block;font-size:10px;color:#91a18e;margin-top:5px}.definition{display:flex;justify-content:space-between;gap:22px;line-height:1.7;font-size:13px;padding:14px 0;border-bottom:1px solid var(--line)}.definition:last-child{border-bottom:0}.definition>span{color:#76898a}.definition>b{font-weight:650;text-align:right;max-width:60%}.definition small{display:block;font-size:10px;color:#9bacae}.winrate{height:7px;background:#dbe4e8;border-radius:6px;overflow:hidden;margin:15px 0 8px}.winrate>span{display:block;background:#a9c982;height:100%;border-radius:6px}.match-row{display:flex;align-items:center;gap:16px;background:none;width:100%;text-align:left;padding:18px 0;border-bottom:1px solid var(--line)}.match-names{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0;font-size:13px}.match-names .winner{font-weight:800;color:#597449}.match-date{color:#82959a;font-size:10px;margin-bottom:4px}.match-score{display:flex;flex-direction:column;gap:4px;font-size:16px;font-weight:800;min-width:24px;text-align:right;font-variant-numeric:tabular-nums}.match-score .loser{color:#a2b1b8}.match-row>.icon{width:15px;height:15px;color:#9aac99}.detail-title{position:relative;padding:26px 28px;border-radius:20px;border:1px solid #fff;background:linear-gradient(130deg,#f4f8f5,#e7eee5);margin-bottom:25px}.detail-title h3{font-size:28px;letter-spacing:-.8px;margin:10px 0 8px;padding-right:60px;line-height:1.3}.detail-title .big-icon{position:absolute;right:30px;top:43px;width:46px;height:46px;color:#acbc9e;stroke-width:1.2}.tour-technical{font-size:11px;margin:0 0 28px;color:#96a5a6}.scoreboard{text-align:center}.score-line{display:flex;justify-content:center;align-items:center;gap:24px;margin:28px 0}.score-line strong{font-size:64px;font-weight:800;letter-spacing:-2px}.score-line>span{font-size:30px;color:#adbdc3}.contestants{display:flex;justify-content:space-around;gap:24px}.contestant{flex:1;background:none;padding:8px;min-width:0}.contestant .avatar{width:64px;height:64px;border-radius:20px;font-size:20px;margin-bottom:14px}.contestant b{display:block;font-size:13px;line-height:1.7}.page-match,.page-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.page-match>*,.page-compare>*{grid-column:1/-1;margin:0}.page-match>.card{grid-column:auto}.selector-stack{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:20px}.selector-stack select{width:100%}.swap{background:none;display:grid;place-items:center;width:44px;height:44px}.swap .icon{width:24px;height:24px;color:#819c7c}.versus-avatars{display:flex;align-items:center;justify-content:space-around;gap:15px;padding:20px 0}.versus-avatars>div{text-align:center;flex:1}.versus-avatars .avatar{width:62px;height:62px;font-size:20px;border-radius:20px}.versus-avatars b{display:block;font-size:14px;margin-top:13px}.versus-avatars small{display:block;font-size:16px;margin-top:5px}.versus-avatars>span{color:#a6b8bc;font-size:14px}.versus-numbers{display:flex;justify-content:center;align-items:center;gap:30px;font-size:56px;line-height:1.3;font-weight:800;letter-spacing:-2px}.versus-numbers>span{font-size:27px;color:#aebeC3;font-weight:500}.versus-label{text-align:center;color:#8fa18d;font-size:11px;margin:5px 0 20px}.versus-stats{display:flex;justify-content:space-between;font-size:12px;color:#859f80;margin-top:10px}.page-compare>.versus-card{grid-column:1;grid-row:span 2}.page-compare>.stats-grid,.page-compare>.streak-card{grid-column:2}.page-compare>.stats-grid{gap:12px}.page-compare .stat-tile{padding:20px 12px}.page-compare .stat-tile strong{font-size:25px}
/* Group matrices and recorded playoff brackets */
.groups-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.matrix-card{padding:0;overflow:hidden;margin:0}.matrix-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;background:linear-gradient(120deg,#e1ebd7,#eaf0e4);border-bottom:1px solid #d4decf}.matrix-title h4{margin:0;font-size:14px;text-transform:capitalize}.matrix-title>span{font-size:11px;color:#95a687}.matrix-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a5b991 #e3e9e4}.group-matrix{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;font-variant-numeric:tabular-nums}.group-matrix caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.group-matrix th,.group-matrix td{padding:0;text-align:center;border-bottom:1px solid #d8e2e7;border-right:1px solid #d8e2e7;min-width:39px;height:55px}.group-matrix thead th{font-size:11px;color:#91a3a7;background:#edf3f5;height:39px}.group-matrix thead th:first-child,.group-matrix tbody th{position:sticky;left:0;z-index:2;background:#eef3f6;text-align:left;width:165px;min-width:165px;box-shadow:4px 0 6px -5px #819779}.group-matrix thead th:first-child{padding-left:13px;z-index:3}.group-matrix tbody th button{display:flex;align-items:center;gap:8px;width:165px;background:none;text-align:left;font-size:11px;line-height:1.5;font-weight:700;padding:9px 11px;min-height:55px}.group-matrix tbody th button>span{font-size:10px;font-weight:500;color:#99aaaf}.group-matrix .diagonal{background:#dfe7ec;color:#bdcbd0}.group-matrix .matrix-balance{padding:0 8px;white-space:nowrap;min-width:49px;font-weight:650;color:#90a389;border-right:0}.matrix-score{display:block;width:100%;min-width:39px;min-height:53px;background:none;font-size:12px;font-weight:800;padding:7px;white-space:nowrap}.matrix-score:hover{background:#f9fff2}.won{color:#6c8c50}.lost{color:#b77d76}.matrix-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:#8c9f8c;margin:18px 0 24px}.placement-card{max-width:650px;padding:0;overflow:hidden}.placements{width:100%;border-collapse:collapse;font-size:13px}.placements caption{padding:18px 22px;text-align:left;color:#829675;font-size:12px;font-weight:700;background:#e8efdf}.placements th{padding:13px 16px;font-size:11px;color:#92a48c;font-weight:600;text-align:left}.placements td{padding:14px 16px;border-top:1px solid #dbe4e7}.placements td:first-child{text-align:center;width:65px;font-weight:750;color:#809e60}.placements td:last-child{text-align:right;font-weight:700;white-space:nowrap}.placements .text-button{font-size:13px;text-align:left;color:#65804f}.standings-toggle{justify-content:center;width:100%;padding:13px;border-top:1px solid #dbe4e7;font-size:12px}.bracket-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a7bb94 #e1e9e3;padding:7px 0 14px;margin-bottom:26px;border-radius:15px}.bracket-canvas{position:relative;margin:0 3px}.bracket-lines{position:absolute;inset:0;pointer-events:none;overflow:visible}.bracket-lines path{stroke:#a4b899;stroke-width:1.5;fill:none}.bracket-heading{position:absolute;top:0;width:240px;text-align:center;font-size:13px;font-weight:750;color:#839775}.bracket-match{position:absolute;width:240px;height:104px;border-radius:15px;background:linear-gradient(135deg,#f7f9fa,#e8eef3);border:1px solid #fff;box-shadow:var(--soft);padding:9px 13px;text-align:left}.bracket-match>small{display:block;font-size:10px;color:#99adb0;margin-bottom:5px}.bracket-player{display:flex;align-items:center;justify-content:space-between;gap:10px;height:30px;font-size:12px;color:#8da0a7}.bracket-player>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bracket-player+span{border-top:1px solid #dce6e9}.bracket-player>b{font-size:14px;color:#b17b73;font-variant-numeric:tabular-nums}.bracket-player.winner{font-weight:750;color:#557144}.bracket-player.winner>b{color:#739453}.bracket-match:hover{background:#f5faed}
/* Calendar and supporting sections */
.calendar-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;align-items:start}.calendar-month-card{padding:24px;margin:0}.calendar-month-card .filter-row{margin:0 0 20px}.calendar-month-card .filter-row select{max-width:none;width:100%}.calendar-nav{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.calendar-nav h3{font-size:20px;letter-spacing:-.5px;margin:0;text-transform:capitalize}.calendar-nav .icon-button{width:35px;height:35px;border-radius:11px}.calendar-nav .icon{width:17px;height:17px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weekday{text-align:center;padding:5px 0 15px;font-size:10px;color:#9cadb2}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:65px;border-radius:13px;background:none;font-size:15px;font-weight:650}.calendar-day:hover{background:#e2eadb}.calendar-day.today{box-shadow:inset 0 0 0 1px #a0b586}.calendar-day.selected{background:#435b35;color:white;box-shadow:var(--soft)}.calendar-day i{position:absolute;width:4px;height:4px;bottom:10px;border-radius:50%;background:#8caa65}.calendar-day i.demo{background:#c0a870}.calendar-day.selected i{background:#d6edb7}.day-events{font-size:8px;color:#7f966c;font-weight:500}.calendar-day.selected .day-events{color:#dce7d4}.calendar-legend{display:flex;justify-content:center;gap:22px;font-size:10px;color:#97a88f;margin-top:24px}.calendar-legend>span{display:flex;align-items:center;gap:6px}.calendar-legend i{width:5px;height:5px;background:#88a265;border-radius:50%}.calendar-legend i.demo{background:#bda374}.calendar-events .filter-row{margin:0 0 24px}.calendar-events .filter-row select{max-width:none}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 19px}.day-heading h3{font-size:16px;margin:0}.month-list .list-row{gap:12px}.calendar-events .compact-list{padding:0 18px}.calendar-events .date-tile{width:45px;height:54px}.calendar-events .player-name{font-size:12px}.calendar-events .player-meta{font-size:10px}.calendar-list{min-width:0}.calendar-list .month-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}.qualifier-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.qualifier{padding:18px 12px;text-align:center;border-radius:15px;background:linear-gradient(135deg,#f5f8fa,#e7eef3);border:1px solid #fff;box-shadow:var(--soft);min-height:150px}.qualifier.current{background:linear-gradient(135deg,#e8f2da,#dce9c9)}.qualifier .eyebrow{font-size:9px}.qualifier .avatar{width:35px;height:35px;font-size:11px;margin:12px 0}.qualifier b{display:block;font-size:11px;line-height:1.5}.qualifier-empty{display:block;font-size:29px;color:#aebfc4;margin:10px 0}.page-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.page-settings>*{margin:0}.page-settings>.card:first-child,.page-settings>.subtle{grid-column:1/-1}.settings-select{width:100%;max-width:700px;display:block;margin:15px 0 20px}.settings-list button,.settings-list a{display:flex;align-items:center;gap:15px;width:100%;background:none;text-align:left;font-size:13px;padding:17px 0;border-bottom:1px solid var(--line)}.settings-list button:last-child,.settings-list a:last-child{border:0}.settings-list span{flex:1}.settings-list .icon{width:20px;height:20px;color:#9aad97}.settings-list .chevron{width:15px}.settings-list .danger,.settings-list .danger .icon{color:#b17b73}.favorite-toggle.selected{background:#e1edce;color:#73944e}.rules{max-width:950px;padding:30px}.rules h4{font-size:17px;letter-spacing:-.3px;margin:28px 0 10px}.rules h4:first-child{margin-top:0}.rules p,.rules li{font-size:13px;color:#718586;line-height:1.95}.annual-row{display:grid;grid-template-columns:100px repeat(3,minmax(0,1fr));gap:15px;padding:18px 0;font-size:14px;border-bottom:1px solid var(--line);text-align:right}.annual-row>*:first-child{text-align:left}.annual-row:last-child{border:0}.annual-row small{font-size:12px;color:#9aafb4}.alltime-hero>strong{display:block;font-size:58px;font-weight:800;letter-spacing:-2px;margin-top:16px}.alltime-hero>small{color:#96a78d;font-size:12px}.alltime-hero .stats-grid{max-width:900px}.event-details h4{font-size:16px;margin:0 0 13px}.event-details p{font-size:13px;color:#8b9f93;line-height:1.8}.page-event{max-width:950px}.page-event>.primary-button,.page-match>.primary-button{max-width:460px}.page-event>.subtle,.page-settings>.subtle{font-size:11px!important}
.modal-backdrop{position:fixed;inset:0;z-index:50;background:#263c2c55;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:30px}.sheet{position:relative;width:100%;max-width:620px;max-height:85svh;overflow-y:auto;border-radius:25px;border:1px solid #fff;background:linear-gradient(135deg,#f5f9fa,#e9f0f4);box-shadow:0 20px 70px #253c2a40;padding:32px}.sheet h3{font-size:23px;letter-spacing:-.6px;margin:0 30px 20px 0}.sheet p,.sheet ul{color:#718675;font-size:13px;line-height:1.9}.sheet .close-sheet{position:absolute;right:22px;top:25px;padding:5px;background:none;color:#94aa97}.sheet .close-sheet .icon{width:20px;height:20px}.sheet .primary-button{margin-top:22px}#toast{position:fixed;right:28px;bottom:28px;z-index:60;max-width:440px;padding:16px 22px;background:#3c5337f5;box-shadow:0 10px 35px #203c2630;border-radius:14px;color:#f4f9ef;font-size:12px;line-height:1.7;opacity:0;transform:translateY(15px);transition:opacity .2s,transform .2s;pointer-events:none}#toast.visible{opacity:1;transform:translateY(0)}.fade-in{animation:enter .2s ease-out}@keyframes enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1600px){.main-inner{padding-top:45px}.dashboard-banner{grid-template-columns:1.85fr 1fr}.hero{min-height:285px}.hero h3{font-size:43px}.site-sidebar{width:250px;padding:38px 23px}.site-main{margin-left:250px}}
@media(min-width:901px){.page-players>.search-box,.page-rating>.search-box{max-width:620px}.page-players>.filter-row{max-width:300px}.page-player>.button-pair{max-width:440px}.page-tournament>.stats-grid{max-width:800px}}
@media(min-width:601px) and (max-width:1200px){.dashboard-banner{grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr)}.hero h3{font-size:30px}.hero-art{right:20px;width:75px;height:75px;top:100px}.club-note{padding:24px}.club-note h3{font-size:23px}.stat-tile{padding:20px 15px}.stat-tile strong{font-size:27px}.overview-columns{gap:20px}.overview-columns .player-value{min-width:75px;font-size:16px}.overview-columns .uttf-value{display:block;font-size:11px}.tour-list,.recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qualifier-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-hero{grid-template-columns:70px 1fr;gap:12px 18px}.profile-hero>.avatar{width:68px;height:68px}.profile-rating{grid-column:1/-1;grid-row:auto;justify-content:flex-start;margin-top:20px}.profile-hero h3{font-size:23px}.calendar-day{height:70px}.calendar-events .player-name{font-size:14px}.calendar-events .date-tile{width:54px;height:60px}.page-compare>.stats-grid{grid-template-columns:1fr}.page-match{grid-template-columns:1fr}}
@media(min-width:901px) and (max-width:1200px){.site-sidebar{width:205px;padding:28px 14px}.site-main{margin-left:205px}.sidebar-brand{padding:0 3px;gap:9px;font-size:16px}.brand small{font-size:7px}.site-topbar{padding:0 28px}.main-inner{padding:28px 28px 0}}
@media(max-width:900px){html{scroll-padding-top:78px}.site-sidebar{position:static;width:auto;padding:0;border:0;background:none;display:contents}.sidebar-brand,.sidebar-caption,.sidebar-bottom{display:none}.site-main{margin:0}.site-topbar{position:sticky;top:0;z-index:20;height:73px;padding:0 25px;background:#eef2f5f0;backdrop-filter:blur(15px);border-bottom:1px solid #fff}.mobile-brand{display:flex;font-size:17px}.site-breadcrumb{display:none}.data-status{font-size:10px;gap:6px}.main-inner{padding:29px 25px 0;max-width:850px}.site-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;flex-direction:row;justify-content:space-around;gap:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#f1f5f8f5;backdrop-filter:blur(15px);border-top:1px solid white;box-shadow:0 -3px 15px #bdc8d535}.site-nav a{flex-direction:column;gap:5px;font-size:10px;padding:7px 14px;border-radius:12px;min-width:62px;font-weight:650}.site-nav a.active{border:0;box-shadow:none;background:#e5eedc;color:#5e7e49}.site-nav a.active::after{display:none}.site-nav .icon{width:21px;height:21px}.site-footer{margin-bottom:80px;font-size:9px}#toast{bottom:100px;right:24px;left:24px;margin-left:auto}}
@media(max-width:600px){body{font-size:13px}.site-topbar{height:66px;padding:0 18px}.mobile-brand{font-size:15px;gap:9px}.data-status{font-size:9px;padding:6px 0}.main-inner{padding:25px 18px 0}#app-header{margin-bottom:25px}#app-header h1{font-size:26px;letter-spacing:-.8px}.header-label{font-size:11px;margin-top:6px}.header-left{gap:12px}.icon-button{width:40px;height:40px;border-radius:13px}.header-actions .icon-button{width:38px;height:38px}.card{padding:20px;border-radius:19px;margin-bottom:21px}.compact-list{padding:0 17px}.dashboard-banner{display:block}.hero{padding:22px;min-height:257px;margin:0}.hero h3{font-size:34px;max-width:220px;line-height:1.25}.hero-year{font-size:16px}.hero-sub{max-width:230px;font-size:11px;line-height:1.8}.hero-art{width:65px;height:65px;top:112px;right:18px}.hero-bottom{font-size:10px;gap:8px;flex-wrap:wrap;margin-top:23px}.club-note{margin-top:20px;padding:20px 22px;min-height:150px}.club-note h3{font-size:22px;max-width:230px;margin:13px 0 8px}.club-note p{font-size:11px;margin:0;max-width:230px}.club-symbol{font-size:120px;right:18px;bottom:0}.section-head{margin:26px 0 15px;gap:10px}.section-head h3{font-size:17px}.section-head>.text-button{font-size:11px;white-space:nowrap}.overview-period{margin-top:28px;gap:13px;align-items:flex-start;flex-direction:column}.overview-period>.range-controls{max-width:none;width:100%}.stats-grid,.stats-grid.four{gap:12px;margin:20px 0}.stats-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-tile{padding:20px 16px;border-radius:16px}.stat-tile strong{font-size:29px}.stat-tile small{font-size:10px;line-height:1.6}.stat-tile .icon{width:17px;height:17px;right:12px;top:16px}.stats-grid:not(.four) .stat-tile{padding:18px 10px}.stats-grid:not(.four) .stat-tile strong{font-size:24px}.overview-columns{display:block}.overview-columns>section{margin-top:28px}.overview-columns .player-row{gap:12px}.overview-columns .player-value{min-width:78px;font-size:17px}.overview-columns .rating-legend{font-size:10px;margin:0 0 12px}.overview-columns .uttf-value{display:block}.recent-grid,.tour-list,.quick-grid{grid-template-columns:1fr;gap:15px}.quick-grid{margin-top:25px}.player-row{gap:12px;padding:17px 0}.avatar{width:39px;height:39px;font-size:11px;border-radius:13px}.rank-number{min-width:17px;font-size:11px}.player-name{font-size:13px}.player-meta{font-size:10px}.player-value{font-size:17px;min-width:75px}.player-value .uttf-value{display:block;font-size:11px;margin-top:2px}.flat-list{padding:0 16px}.rating-legend,.list-status{font-size:10px}.list-status{line-height:1.6;align-items:flex-end}.list-row{gap:13px;padding:19px 0}.date-tile{width:49px;height:57px}.chip{font-size:9px;padding:5px 8px}.segment{width:100%;gap:2px;padding:4px;margin:18px 0 23px}.segment button{flex:1;padding:11px 7px;font-size:11px;white-space:normal;line-height:1.5}.range-controls{gap:10px;max-width:none;margin:20px 0 24px}.range-controls select{min-width:0;padding:11px 10px;font-size:13px}.range-controls>.text-button{font-size:10px;max-width:53px;white-space:normal;text-align:left;line-height:1.5;padding:7px 0}.filter-bar{display:block;margin-bottom:24px}.filter-bar>*{margin:17px 0!important}.filter-row{gap:10px}.filter-row select{padding:12px 11px;font-size:12px;max-width:none}.tour-list{padding:0;margin:0;background:none;border:0;box-shadow:none}.tour-list .list-row{padding:20px}.notice{font-size:11px;padding:13px 15px;margin:18px 0}.primary-button,.secondary-button{font-size:12px;padding:13px 15px}.profile-hero{padding:21px;grid-template-columns:64px minmax(0,1fr);gap:10px 16px}.profile-hero>.avatar{width:63px;height:63px;font-size:21px;border-radius:20px}.profile-hero h3{font-size:22px;line-height:1.4;letter-spacing:-.6px}.profile-hero>.subtle{font-size:10px;margin-top:0}.profile-rating{grid-column:1/-1;grid-row:auto;gap:20px;margin-top:20px;justify-content:center}.profile-rating>div+div{padding-left:20px}.profile-rating strong{font-size:25px}.profile-rating .uttf-value{font-size:16px}.profile-rating small{font-size:9px}.profile-overview{display:block;margin-top:25px}.profile-side{margin-top:25px}.profile-overview .section-head{margin:25px 0 15px}.profile-overview .card{margin-bottom:21px}.definition{font-size:12px;gap:15px;padding:13px 0}.definition>b{max-width:55%}.detail-title{padding:21px}.detail-title h3{font-size:24px;padding-right:33px;line-height:1.4}.detail-title .big-icon{width:32px;height:32px;right:20px;top:48px}.detail-title .subtle{font-size:11px;max-width:260px}.match-names{font-size:12px}.page-match,.page-compare{display:block}.page-match>*,.page-compare>*{margin-bottom:21px}.score-line strong{font-size:57px}.contestant .avatar{width:58px;height:58px;font-size:18px}.contestants{gap:13px}.page-compare>.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.selector-stack{gap:8px;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr)}.selector-stack select{font-size:11px;padding:13px 8px}.swap{width:32px}.versus-avatars b{font-size:12px}.versus-avatars small{font-size:14px}.versus-avatars .avatar{width:54px;height:54px;font-size:18px}.versus-numbers{font-size:48px}.groups-grid{grid-template-columns:1fr;gap:20px}.matrix-card{padding:0;margin:0}.matrix-title{padding:16px}.group-matrix thead th:first-child,.group-matrix tbody th{width:145px;min-width:145px}.group-matrix tbody th button{width:145px;padding:8px;gap:6px}.group-matrix th,.group-matrix td{min-width:35px}.matrix-score{min-width:35px;padding:5px}.matrix-legend{font-size:10px;gap:12px}.placement-card{padding:0}.placements{font-size:11px}.placements caption{padding:16px;font-size:11px}.placements th{padding:12px 10px;font-size:10px}.placements td{padding:14px 10px}.placements td:first-child{width:45px}.placements .text-button{font-size:11px;line-height:1.6}.placements .uttf-value{display:block;font-size:10px}.calendar-layout{grid-template-columns:1fr;gap:25px}.calendar-month-card{padding:16px;margin:0}.calendar-nav h3{font-size:18px}.calendar-grid{gap:4px}.weekday{font-size:9px}.calendar-day{height:44px;font-size:13px;border-radius:11px}.calendar-day i{bottom:5px;width:3px;height:3px}.day-events{display:none}.calendar-legend{gap:15px;font-size:9px;margin-top:19px}.calendar-events .player-name{font-size:13px}.calendar-events .player-meta{font-size:10px}.calendar-events .date-tile{width:49px;height:57px}.calendar-list .month-list{display:block}.qualifier-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.qualifier{padding:15px 7px;min-height:135px}.qualifier b{font-size:10px}.qualifier .eyebrow{font-size:8px}.page-settings{display:block}.page-settings>*{margin-bottom:21px}.settings-list button,.settings-list a{font-size:12px;gap:12px}.rules{padding:21px}.rules p,.rules li{font-size:12px}.annual-row{grid-template-columns:46px repeat(3,minmax(0,1fr));font-size:12px;gap:7px}.annual-row small{font-size:10px}.alltime-hero>strong{font-size:49px}.alltime-hero .stat-tile{padding:15px 8px;box-shadow:none;background:#edf3e9}.alltime-hero .stat-tile strong{font-size:23px}.alltime-hero .stat-tile small{font-size:9px}.site-nav{padding-left:8px;padding-right:8px}.site-nav a{padding:7px 10px;font-size:9px;min-width:52px}.site-footer{display:block;margin-top:32px;line-height:1.9}.site-footer>span{display:block}.modal-backdrop{align-items:flex-end;padding:0}.sheet{max-height:88svh;border-radius:24px 24px 0 0;padding:27px 22px calc(27px + env(safe-area-inset-bottom))}.sheet h3{font-size:22px}.sheet p,.sheet ul{font-size:12px}#toast{bottom:94px;left:18px;right:18px;font-size:11px;padding:14px 18px}}
@media(max-width:360px){.main-inner{padding-left:14px;padding-right:14px}.site-topbar{padding-left:14px;padding-right:14px}.brand{font-size:14px}.data-status{font-size:8px}.hero h3{font-size:29px;max-width:185px}.hero-art{width:51px;height:51px;right:16px;top:118px}.hero-sub{max-width:200px}.hero-bottom{gap:6px}.hero-bottom>span:not(.winner-dot){font-size:9px}.player-row{gap:9px}.player-row .avatar{width:32px;height:32px;border-radius:11px;font-size:10px}.player-name{font-size:12px}.player-value{font-size:16px;min-width:65px}.rank-number{min-width:13px}.segment button{font-size:10px;padding-left:5px;padding-right:5px}.profile-hero{padding:18px;grid-template-columns:55px 1fr;gap:8px 13px}.profile-hero>.avatar{width:55px;height:55px;font-size:18px}.profile-hero h3{font-size:20px}.profile-rating strong{font-size:22px}.placements th,.placements td{padding-left:7px;padding-right:7px}.qualifier b{font-size:9px}.qualifier-grid{gap:8px}.stat-tile strong{font-size:27px}.stat-tile .icon{right:10px}.stat-tile small{font-size:9px}.calendar-legend{font-size:8px;gap:13px}.site-nav a{padding:7px 7px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.profile-side>.section-head:first-child{margin-top:0}
@media(max-width:600px){.club-note{display:none}}
@media(min-width:601px) and (max-width:900px){.profile-overview,.calendar-layout,.groups-grid{grid-template-columns:1fr}}

/* Compact club statistics layout */
.site-sidebar{padding:24px 16px 18px}.sidebar-brand{padding:0 6px}.site-nav{margin-top:30px;gap:5px}.site-nav a{padding:10px 14px;border-radius:11px}.sidebar-bottom{padding-top:18px}.sidebar-club{margin-top:8px;padding:10px 0}.sidebar-footer{margin-top:18px}.site-topbar{height:58px;padding:0 28px}.main-inner{padding:20px 28px 0;max-width:1600px}#app-header{margin-bottom:18px;gap:12px}#app-header h1{font-size:27px}.header-left,.header-actions{gap:10px}.icon-button{width:36px;height:36px;border-radius:11px}.icon-button .icon{width:18px;height:18px}.card{padding:16px 18px;margin-bottom:16px;border-radius:17px}.compact-list{padding:0 16px}.section-head{margin:20px 0 10px;gap:10px}.section-head h3{font-size:17px}.primary-button,.secondary-button{min-height:36px;padding:8px 13px;border-radius:10px}.button-pair{gap:9px;margin:14px 0 18px}.stats-grid{gap:12px;margin:14px 0}.stat-tile{padding:15px 16px;border-radius:14px}.stat-tile strong{font-size:28px}.stat-tile small{margin-top:5px}.stat-tile .icon{top:14px;right:13px;width:17px;height:17px}.player-row{min-height:60px;padding:10px 0;gap:12px}.avatar{width:35px;height:35px;border-radius:11px;font-size:11px}.player-name{font-size:13px}.player-meta{margin-top:3px;font-size:10px}.player-value{font-size:17px;min-width:112px}.delta{margin-top:3px}.list-row{padding:12px 0;gap:12px}.date-tile{width:44px;height:48px;border-radius:11px}.date-tile b{font-size:21px}.date-tile span{margin-top:1px}.chip{padding:3px 7px;font-size:9px}.search-box{padding:9px 12px;margin-bottom:12px;border-radius:11px}.segment{padding:4px;gap:3px;margin:12px 0 16px;border-radius:11px}.segment button{padding:7px 14px;border-radius:8px}.filter-row{gap:9px;margin:12px 0 16px}.filter-row select,.selector-stack select,.settings-select,.range-controls select,.players-toolbar select{padding:8px 11px;border-radius:10px;font-size:12px}.range-controls{gap:9px;margin:14px 0 18px}.range-controls select{min-width:85px}.filter-bar{gap:14px;margin-bottom:16px}.list-status{margin:14px 0 8px}.rating-legend{margin:7px 0 12px;font-size:10px}.source-note{margin-top:18px}.notice{padding:10px 12px;margin:12px 0;font-size:11px}.flat-list{padding:0 16px;border-radius:16px}.site-footer{margin-top:24px;padding:16px 0 20px}.tour-list,.recent-grid,.quick-grid{gap:12px}.tour-list .list-row,.recent-grid .list-row{padding:14px;border-radius:14px}.quick-grid{margin-top:18px}.overview-columns{gap:18px}.overview-period{margin-top:20px;gap:12px}.overview-columns>section{margin-top:0}.overview-columns .section-head{margin-top:12px}.dashboard-banner{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hero,.next-tournament,.club-note{min-height:205px;padding:19px 20px;margin:0;border-radius:17px}.hero h3{font-size:29px;margin:23px 0 8px}.hero-year{font-size:15px}.hero-sub{font-size:11px;max-width:85%}.hero-art{width:65px;height:65px;right:15px;top:80px;opacity:.7}.hero-bottom{font-size:10px;gap:7px;margin-top:20px;padding-top:12px}.winner-dot{width:22px;height:22px;font-size:10px}.club-note h3{font-size:24px;margin:16px 0 8px}.club-note p{font-size:10px;margin:0 0 5px}.club-symbol{font-size:105px}.next-tournament{cursor:pointer;background:linear-gradient(125deg,#f7faf5,#e8efdf);overflow:hidden}.next-tournament-main{display:flex;align-items:center;gap:16px;margin:25px 0 19px}.next-tournament h3{font-size:25px;letter-spacing:-.6px;line-height:1.3;margin:0}.next-tournament p{font-size:11px;color:#718366;margin:5px 0 0}.type-illustration{display:grid;place-items:center;width:63px;height:63px;border-radius:18px;flex-shrink:0;background:#e1ebd5;color:#7c9862;box-shadow:inset 1px 1px 4px #cedcbe}.type-illustration .icon{width:43px;height:43px;stroke-width:1.3}.next-tournament-bottom{display:flex;align-items:center;gap:8px;border-top:1px solid #d8e2d0;padding-top:12px;font-size:10px;color:#718366}.next-tournament-bottom b{font-size:11px;color:#536d42}.next-tournament-bottom span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.next-tournament-bottom>.icon{width:16px;height:16px;margin-left:auto}.dashboard-banner .eyebrow{font-size:9px;letter-spacing:1px}
.profile-hero,.detail-title{padding:18px}.profile-hero h3{font-size:26px}.profile-hero>.avatar{width:62px;height:62px;font-size:20px}.profile-rating{margin-top:12px}.profile-rating strong{font-size:27px}.profile-overview,.calendar-layout,.groups-grid{gap:18px;margin-top:18px}.profile-side{margin-top:0}.definition{padding:9px 0;font-size:12px}.match-row{padding:12px 0;min-height:0}.match-names{font-size:12px}.matrix-title{padding:12px 14px}.placements th,.placements td{padding:9px 12px}.calendar-month-card{padding:16px}.calendar-nav{margin-bottom:14px}.calendar-day{height:48px}.weekday{padding-bottom:8px}.calendar-legend{margin-top:14px}.calendar-events .filter-row{margin-bottom:14px}.calendar-events .date-tile{height:48px}.calendar-list .month-list{gap:0 16px}.qualifier-grid{gap:11px}.qualifier{padding:12px 8px;min-height:120px}.qualifier .avatar{margin:8px 0}.page-settings{gap:16px}.settings-list button,.settings-list a{padding:11px 0;gap:11px}.settings-select{margin:10px 0 14px}.rules{padding:20px}.rules h4{margin-top:20px}.rules p,.rules li{line-height:1.75}.annual-row{padding:11px 0}.alltime-hero>strong{font-size:44px;margin-top:9px}.sheet{padding:24px}.sheet h3{margin-bottom:14px}.sheet p{line-height:1.8}
body[data-page="home"] #app-header{justify-content:flex-end;margin-bottom:12px}body[data-page="home"] #app-header>div:first-child{display:none}
/* Players: controls remain in place; only this panel scrolls. */
body[data-page="players"]{overflow:hidden}body[data-page="players"] .site-main{height:100svh;min-height:0;display:flex;flex-direction:column}body[data-page="players"] .site-topbar{flex-shrink:0}body[data-page="players"] .main-inner{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;padding-bottom:14px}body[data-page="players"] #app-header{flex-shrink:0;margin-bottom:12px}body[data-page="players"] .app-content{display:flex;flex:1;min-height:0}body[data-page="players"] .site-footer{display:none}.page-players{display:flex;flex-direction:column;width:100%;min-height:0;flex:1;animation:none}.players-controls{flex-shrink:0}.players-controls>.search-box{max-width:540px}.players-toolbar{display:flex;align-items:center;gap:12px}.players-toolbar .segment{margin:0;width:auto;flex-shrink:0}.players-toolbar select{max-width:220px;min-width:0;background:linear-gradient(135deg,#f5f8fa,#e8eef3);border:1px solid white;box-shadow:var(--soft)}.players-controls .list-status{margin:10px 0 7px;font-size:10px}.players-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a5b79b #e8edf0;border-radius:15px;border:1px solid white;box-shadow:var(--soft);background:#f3f6f8}.players-table{border-collapse:separate;border-spacing:0;width:100%;min-width:990px;text-align:left;font-size:12px;font-variant-numeric:tabular-nums}.players-table thead th{position:sticky;top:0;z-index:3;padding:9px 12px;background:#e9eef1;color:#6c7d80;font-size:10px;font-weight:650;line-height:1.5;border-bottom:1px solid #d7e0e3;white-space:nowrap}.players-table tbody td,.players-table tbody th{padding:9px 12px;border-bottom:1px solid #dfe6e8;white-space:nowrap;font-weight:500;line-height:1.5}.players-table tbody tr:nth-child(even){background:#edf2f5}.players-table tbody tr:hover{background:#e7efdf}.players-table tbody th{font-weight:750}.players-table a{display:inline-block}.players-table a:hover{color:#52743a;text-decoration:underline}.players-table td:first-child{width:68px}.players-table td:nth-child(3),.players-table td:nth-child(6),.players-table td:nth-child(7){text-align:center}.players-table small{display:block;color:#7e8c8e;font-size:9px}.table-rating{font-size:13px}.table-rating .uttf-value{font-size:10px}.table-rating .delta{display:inline;margin-left:7px;font-size:9px}.position-change{display:inline-block;font-size:9px;margin-left:6px}.up{color:#6b8b4b}.down{color:#b07468}.position-change.new{color:#668fa6}.favorite-mark{margin-left:6px;color:#7d9861}.players-footnote{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:9px;color:#74818a;padding-top:6px;flex-shrink:0}.players-footnote .text-button{font-size:9px;padding:3px 0}.players-footnote .icon{width:12px;height:12px}
.annual-leaders-hint{font-size:11px;color:#73817b;margin:0 0 12px}.annual-leaders-card{padding:0;overflow:auto}.annual-leaders{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.annual-leaders thead th{padding:11px 16px;font-size:11px;color:#7b8b80;background:#e7eedf}.annual-leaders tbody th,.annual-leaders tbody td{padding:12px 16px;vertical-align:top;border-top:1px solid #dce4de}.annual-leaders tbody th{width:90px;font-size:19px}.annual-leaders tbody td:nth-child(2){width:95px}.annual-leaders tbody tr:nth-child(even){background:#edf2ee}.annual-leader{display:flex;align-items:center;gap:12px;min-height:29px}.annual-leader>b{min-width:95px;font-size:13px}.annual-leader a{font-weight:650}.annual-leader a:hover{text-decoration:underline}.annual-leader small{color:#7d8981;font-size:10px;margin-left:auto;white-space:nowrap}
@media(min-width:901px) and (max-width:1200px){.site-sidebar{width:190px;padding:24px 12px}.site-main{margin-left:190px}.main-inner{padding:18px 20px 0}.dashboard-banner{gap:10px}.hero,.next-tournament,.club-note{padding:16px;min-height:208px}.hero h3,.next-tournament h3{font-size:23px}.hero-sub{font-size:10px}.hero-art{width:45px;height:45px;top:90px;right:12px}.hero-bottom{flex-wrap:wrap;gap:5px}.club-note h3{font-size:22px}.type-illustration{width:46px;height:46px;border-radius:14px}.type-illustration .icon{width:31px;height:31px}.next-tournament-main{gap:10px}.next-tournament-bottom span{display:none}.dashboard-banner .chip{font-size:8px;padding:3px 5px}.dashboard-banner .eyebrow{font-size:8px}.profile-rating{margin-top:10px}}
@media(min-width:1600px){.site-sidebar{width:220px}.site-main{margin-left:220px}.hero h3{font-size:32px}}
@media(max-width:900px){.site-sidebar{padding:0}.site-nav{margin-top:0;padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom));gap:0}.site-nav a{padding:6px 12px}.site-topbar{height:58px;padding:0 20px}.main-inner{padding:18px 20px 0}.dashboard-banner{grid-template-columns:repeat(2,minmax(0,1fr))}.club-note{display:none}.hero,.next-tournament{min-height:196px}.site-footer{margin-bottom:70px}body[data-page="players"] .main-inner{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.calendar-layout,.profile-overview,.groups-grid{grid-template-columns:1fr}.players-table{min-width:950px}.page-settings{gap:14px}}
@media(max-width:600px){.site-sidebar{padding:0}.site-topbar{height:54px;padding:0 14px}.main-inner{padding:14px 14px 0}#app-header{margin-bottom:14px}#app-header h1{font-size:24px}.header-actions .icon-button{width:34px;height:34px}.card{padding:14px;margin-bottom:14px;border-radius:15px}.compact-list{padding:0 13px}.dashboard-banner{display:grid;grid-template-columns:1fr;gap:12px}.hero,.next-tournament{min-height:0;padding:16px;margin:0}.hero h3{font-size:29px;margin:17px 0 7px;max-width:none}.hero-sub{max-width:85%;line-height:1.5}.hero-art{top:61px;right:18px;width:55px;height:55px}.hero-bottom{margin-top:16px;padding-top:11px;flex-wrap:nowrap}.next-tournament-main{margin:15px 0 13px}.next-tournament h3{font-size:27px}.type-illustration{width:50px;height:50px;border-radius:14px}.type-illustration .icon{width:35px;height:35px}.overview-period{margin-top:18px;gap:9px}.stats-grid,.stats-grid.four{gap:10px;margin:12px 0}.stat-tile{padding:13px;border-radius:13px}.stat-tile strong{font-size:27px}.stats-grid:not(.four) .stat-tile{padding:13px 8px}.stats-grid:not(.four) .stat-tile strong{font-size:23px}.stat-tile small{font-size:10px}.section-head{margin:18px 0 10px}.section-head h3{font-size:16px}.overview-columns>section{margin-top:18px}.player-row{min-height:59px;padding:9px 0;gap:10px}.avatar{width:33px;height:33px;border-radius:10px}.player-value{font-size:16px;min-width:74px}.player-value .uttf-value{margin-top:0}.list-row{padding:11px 0}.segment{margin:12px 0 16px;gap:2px}.segment button{padding:8px 9px;line-height:1.4}.filter-row select{padding:8px 10px}.filter-bar{margin-bottom:16px}.filter-bar>*{margin:12px 0!important}.range-controls{margin:12px 0 16px;gap:8px}.range-controls select{padding:8px 10px;min-width:0}.primary-button,.secondary-button{padding:9px 12px;min-height:36px}.recent-grid,.tour-list,.quick-grid{gap:10px}.tour-list .list-row,.recent-grid .list-row{padding:13px}.profile-hero{padding:15px}.profile-hero h3{font-size:21px}.profile-hero>.avatar{width:53px;height:53px;font-size:18px}.profile-rating{margin-top:10px;gap:15px}.profile-rating strong{font-size:23px}.profile-overview,.profile-side{margin-top:17px}.definition{padding:9px 0}.detail-title{padding:15px}.detail-title h3{font-size:23px}.page-match>*,.page-compare>*{margin-bottom:14px}.placements th,.placements td{padding:9px 8px}.calendar-month-card{padding:13px}.calendar-day{height:39px}.calendar-nav{margin-bottom:12px}.calendar-nav h3{font-size:17px}.calendar-events .date-tile{width:43px;height:48px}.qualifier{padding:10px 6px;min-height:112px}.qualifier-grid{gap:9px}.settings-list button,.settings-list a{padding:10px 0}.page-settings>*{margin-bottom:14px}.rules{padding:15px}.site-nav a{font-size:9px;padding:5px 8px;gap:3px}.site-nav .icon{width:19px;height:19px}.site-footer{margin-top:20px}.players-toolbar{gap:7px;justify-content:space-between}.players-toolbar .segment{width:auto;flex:0 1 auto}.players-toolbar .segment button{padding:8px;font-size:10px;white-space:nowrap}.players-toolbar select{max-width:126px;padding:8px 6px;font-size:10px;flex:1}.players-controls>.search-box{padding:9px 11px}.players-controls .list-status{font-size:9px;margin:8px 0 6px}body[data-page="players"] .main-inner{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.players-table{font-size:11px;min-width:910px}.players-table thead th{padding:7px 10px}.players-table tbody td,.players-table tbody th{padding:9px 10px}.players-table thead th:nth-child(2),.players-table tbody th{position:sticky;left:0;background:#f3f6f8;z-index:2;box-shadow:3px 0 5px #cdd6d455}.players-table thead th:nth-child(2){z-index:4;background:#e9eef1}.players-table tbody tr:nth-child(even) th{background:#edf2f5}.players-footnote{gap:4px;line-height:1.4;padding-top:4px}.players-footnote .text-button{font-size:9px}.annual-leaders thead th{padding:9px;font-size:10px}.annual-leaders tbody th,.annual-leaders tbody td{padding:10px 9px}.annual-leaders tbody th{width:50px;font-size:16px}.annual-leaders tbody td:nth-child(2){width:52px;font-size:12px}.annual-leader{display:grid;grid-template-columns:15px 1fr;gap:2px 5px;margin-bottom:8px}.annual-leader .rank-number{grid-row:1/3;min-width:15px}.annual-leader>b{min-width:0;font-size:12px}.annual-leader a{grid-column:2;font-size:11px}.annual-leader small{grid-column:2;margin-left:0;font-size:9px}.annual-leaders-hint{font-size:10px}.annual-leaders-card{padding:0}.sheet{padding:22px 18px calc(22px + env(safe-area-inset-bottom))}}

.bracket-heading{width:220px}.bracket-match{width:220px;height:88px;padding:7px 11px;border-radius:12px}.bracket-player{height:25px;font-size:11px}.bracket-match>small{margin-bottom:3px;font-size:9px}.bracket-player>b{font-size:13px}.definition>b:has(.tournament-type-icon){display:flex;align-items:center;gap:8px}.detail-title>.big-icon>.icon{width:100%;height:100%}

/* Supplied Club 17 identity; original transparent PNG is preserved. */
.brand-logo{display:block;width:96px;height:96px;object-fit:contain;flex-shrink:0}.sidebar-brand{padding:0;justify-content:center}
@media(max-width:900px){.mobile-brand .brand-logo{width:58px;height:58px}.site-topbar{height:62px}}
@media(max-width:600px){.mobile-brand .brand-logo{width:54px;height:54px}.site-topbar{height:58px}}

/* One palette for podium places across results and rankings. */
.medal-gold{--medal-ink:#886316;--medal-bg:#f4e6b8;--medal-edge:#d8b85e}.medal-silver{--medal-ink:#576b80;--medal-bg:#e0e7ee;--medal-edge:#a5b5c4}.medal-bronze{--medal-ink:#925d39;--medal-bg:#f0dfd0;--medal-edge:#c39573}.place-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:23px;height:23px;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1;border-radius:50%;color:#7a898b}.place-badge.medal-place{color:var(--medal-ink);background:var(--medal-bg);box-shadow:inset 0 0 0 1px var(--medal-edge)}.player-row.medal-place .player-name,.players-table tr.medal-place th a,.placements tr.medal-place .text-button,.annual-leader.medal-place a,.bracket-player.medal-place>span{color:var(--medal-ink)}.player-row.medal-place>.avatar{color:var(--medal-ink);background:var(--medal-bg)}.hero-podium{position:relative;z-index:1;border-top:1px solid #dce5df;margin-top:13px;padding-top:9px;display:grid;gap:3px}.podium-row{display:flex;align-items:center;gap:8px;min-height:25px;border-radius:8px;color:var(--medal-ink)}.podium-row b{font-size:11px;line-height:1.4;min-width:0;overflow-wrap:anywhere}.podium-medal-name{font-size:9px;margin-left:auto;white-space:nowrap}.hero:has(.hero-podium) h3{margin-top:17px}.hero:has(.hero-podium) .hero-art{width:52px;height:52px;top:70px;opacity:.45}.medals>div.medal-place{flex:1;padding:9px 5px;border-radius:12px;background:var(--medal-bg);color:var(--medal-ink);margin:0 3px}.medals>div.medal-place .icon,.medals>div.medal-place small{color:var(--medal-ink)}.medals>div.medal-place .icon{margin-bottom:7px}.medals>div.medal-place strong{display:block;font-size:24px}.medals{padding:12px 8px}.player-meta .place-badge{min-width:19px;height:19px;font-size:9px;vertical-align:middle;margin:0 2px}.list-row.medal-place{border-left:3px solid var(--medal-edge);padding-left:10px}.players-table .place-badge{min-width:21px;height:21px;font-size:10px}.annual-leader>.place-badge{min-width:22px;height:22px}.placements .place-badge{min-width:24px;height:24px}
@media(min-width:901px) and (max-width:1200px){.podium-medal-name{display:none}.podium-row b{font-size:10px}.hero:has(.hero-podium) h3{font-size:22px;margin-top:16px}.hero-podium{margin-top:10px;padding-top:7px}}
@media(max-width:600px){.hero-podium{margin-top:12px;padding-top:9px}.podium-row{min-height:25px}.podium-row b{font-size:12px}.podium-medal-name{font-size:10px}.hero:has(.hero-podium) .hero-art{top:62px}.annual-leader>.place-badge{grid-row:1/3;min-width:18px;height:18px;font-size:9px}.medals>div.medal-place small{font-size:8px}}

/* Large, quiet line drawings behind the tournament details. */
.hero:has(.hero-podium) .hero-art{width:132px;height:132px;top:42px;right:12px;opacity:.6;pointer-events:none}
.hero>.flex-between,.hero-sub{position:relative;z-index:1}
.next-tournament{position:relative;isolation:isolate}
.next-tournament-art{position:absolute;z-index:-1;right:15px;top:48px;width:137px;height:137px;color:#bccbb0;opacity:.65;transform:rotate(8deg);pointer-events:none}
.next-tournament-art .icon{width:100%;height:100%;stroke-width:1}
.next-tournament-main{min-height:63px}
.next-tournament-bottom{position:relative}
.club-note .club-symbol{right:17px;bottom:-14px;font-size:125px;line-height:1;letter-spacing:-10px;font-weight:800;color:#d4dfc7}
.club-note>h3,.club-note>p,.club-note>.eyebrow{position:relative;z-index:1}
@media(min-width:901px) and (max-width:1200px){.hero:has(.hero-podium) .hero-art{width:110px;height:110px;right:5px;top:45px;opacity:.45}.next-tournament-art{width:115px;height:115px;right:5px;top:55px;opacity:.5}.next-tournament-main{min-height:46px}}
@media(max-width:600px){.hero:has(.hero-podium) .hero-art{width:120px;height:120px;top:44px;right:15px;opacity:.5}.next-tournament-art{width:125px;height:125px;top:34px;right:18px;opacity:.6}.next-tournament-main{min-height:58px}}

/* Tournament facts and group guidance share their existing header rows. */
.tournament-summary{padding:18px 22px;margin-bottom:16px}
.tournament-summary h3{margin:8px 0 6px}
.tournament-summary .big-icon{top:24px;right:22px}
.tournament-metrics{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 22px;margin-top:14px;padding-top:12px;border-top:1px solid #dce5df;font-size:12px;color:#71858a}
.tournament-metrics>span{white-space:nowrap}
.tournament-metrics b{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums;color:#293739;margin-right:4px}
.tournament-metrics .tournament-technical{font-size:10px;margin-left:auto;white-space:normal}
.tournament-toolbar{display:flex;align-items:center;gap:16px;margin:0 0 14px;min-width:0}
.tournament-toolbar>.segment{flex:0 0 auto;margin:0}
.tournament-toolbar>.tournament-hint{display:flex;align-items:flex-start;gap:6px;flex:1;min-width:0;margin:0;padding:8px 10px;line-height:1.6;font-size:10px;border-radius:10px}
.tournament-hint>.icon{flex-shrink:0;margin:1px 0 0}
.group-stage-head{justify-content:flex-start;flex-wrap:wrap;gap:8px 22px;margin:16px 0 10px}
.group-stage-head>.matrix-legend{margin:0;align-items:center;gap:14px}
@media(max-width:600px){
 .tournament-summary{padding:16px;margin-bottom:12px}
 .tournament-summary h3{font-size:24px;padding-right:35px}
 .tournament-summary .big-icon{width:30px;height:30px;right:14px;top:35px}
 .tournament-metrics{gap:8px 16px;margin-top:12px;padding-top:10px;font-size:11px}
 .tournament-metrics b{font-size:18px;margin-right:2px}
 .tournament-metrics .tournament-technical{flex-basis:100%;margin-left:0}
 .tournament-toolbar{flex-wrap:wrap;gap:8px}
 .tournament-toolbar>.tournament-hint{flex-basis:100%}
 .tournament-toolbar>.segment{width:100%;display:flex;min-width:0}
 .tournament-toolbar>.segment button{flex:1;padding:7px 6px;font-size:11px;white-space:nowrap}
 .group-stage-head{gap:6px 14px}
 .group-stage-head>.matrix-legend{gap:10px;font-size:9px}
}

/* Home calendar strip, ten club leaders and a vertical season summary. */
.icon-button .settings-image{width:22px;height:22px;object-fit:contain}
.page-home .hero-podium,.page-home .next-tournament-bottom{border-top:0}
.page-home .next-tournament-art{width:145px;height:145px;object-fit:contain;right:12px;top:42px;transform:none;opacity:1;pointer-events:none}
.home-calendar{margin-top:20px;min-width:0}
.home-calendar-track{display:grid;grid-template-columns:repeat(var(--event-count),minmax(0,1fr));gap:10px;padding:3px 2px 10px;min-width:0}
.home-calendar-event{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;min-width:0;padding:13px 12px;border:1px solid #fff;border-radius:14px;background:linear-gradient(135deg,#f8faf5,#eef3e8);box-shadow:var(--soft);color:#293739;cursor:pointer;transition:background .15s,transform .15s}
.home-calendar-event:hover{background:#e6efd9;transform:translateY(-2px)}
.home-calendar-event.is-past{background:linear-gradient(135deg,#e8eef1,#dfe8ec);border-color:#d8e2e7;color:#526d78}
.home-calendar-event.is-past:hover{background:#d8e5eb}
.home-calendar-date{display:flex;align-items:center;gap:7px}
.home-calendar-date>b{font-size:27px;line-height:1;font-weight:800;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.home-calendar-date>span{font-size:11px;line-height:1.2}
.home-calendar-date small{display:block;font-size:9px;color:#859296;margin-top:2px}
.home-calendar-kind{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700;line-height:1.3;min-height:20px}
.home-calendar-kind .icon{width:16px;height:16px;flex-shrink:0;color:#849b70}
.is-past .home-calendar-kind .icon{color:#7996a1}
.home-calendar-meta{font-size:9px;line-height:1.5;color:#829295}
.home-calendar-event>.chip{margin-top:auto;font-size:8px;white-space:normal}
.past-event-chip{background:#ccdfe5;color:#567884}
.home-overview{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.85fr);gap:24px;align-items:start;margin-top:10px}
.home-overview>section{min-width:0;margin-top:0}
.home-overview .section-head{margin-top:12px}
.home-leaders-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:10px;min-height:36px}
.home-leaders-tools>.secondary-button{font-size:11px;flex-shrink:0;gap:7px}
.home-leaders-tools>.rating-legend{flex:1 1 180px;font-size:10px;margin:0;line-height:1.5}
.home-season>.range-controls{flex-wrap:wrap;margin:0 0 10px;min-height:36px;gap:7px}
.home-season .range-controls select{min-width:78px;padding:8px}
.home-season .range-controls .text-button{font-size:10px}
.home-season>.stats-grid{grid-template-columns:1fr;gap:12px;margin:0}
.home-season .stats-grid .stat-tile{min-height:96px;padding:17px 20px}
.home-season .stats-grid .stat-tile strong{font-size:31px;padding-right:24px}
.home-season .stats-grid .stat-tile small{font-size:11px;margin-top:5px}
.home-season .stats-grid .stat-tile .icon{width:21px;height:21px;right:20px;top:20px}
@media(max-width:1250px){
 .home-calendar-track{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:155px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-left:2px}
 .home-calendar-event{scroll-snap-align:start}
 .home-overview{gap:18px;grid-template-columns:minmax(0,1.5fr) minmax(250px,.85fr)}
 .page-home .next-tournament-art{width:130px;height:130px;right:7px;top:47px}
}
@media(max-width:600px){
 .home-calendar{margin-top:16px}
 .home-calendar-track{grid-auto-columns:145px;gap:9px}
 .home-calendar-event{padding:12px}
 .home-overview{grid-template-columns:1fr;gap:18px;margin-top:4px}
 .home-season{order:-1}
 .home-season .stats-grid .stat-tile{min-height:78px;padding:13px 16px}
 .home-season .stats-grid .stat-tile strong{font-size:27px}
 .home-season .stats-grid .stat-tile small{font-size:10px;margin-top:3px}
 .home-season .stats-grid .stat-tile .icon{top:17px;right:16px}
 .page-home .next-tournament-art{width:140px;height:140px;right:12px;top:32px}
}

/* Account controls live in the global top bar, with server-backed member/admin pages. */
#app-header[hidden]{display:none}
.site-topbar{gap:16px}
.topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.site-topbar .data-status{margin-left:0;flex-shrink:0}
.topbar-account{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;border-radius:10px;color:#647c6d;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap}
.topbar-account:hover{background:#e2ebd7;color:#344e30}
.topbar-account .icon{width:18px;height:18px}
.admin-topbar{background:#e7efd9}
.avatar{overflow:hidden}.avatar>img{width:100%;height:100%;object-fit:cover}
.club-announcement{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border:1px solid #d8e6c6;border-radius:17px;background:linear-gradient(115deg,#e6efd9,#f6f9ee);margin-bottom:18px;box-shadow:var(--soft)}
.club-announcement h3{margin:6px 0;font-size:20px}.club-announcement p{font-size:12px;line-height:1.65;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.tournament-editorial p,.event-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px}
.portal-form{display:flex;flex-direction:column;gap:13px;min-width:0}.portal-form h3{margin:0 0 4px;font-size:20px}.portal-form>.primary-button,.portal-form>.secondary-button{align-self:flex-start}
.portal-field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#6c8185;min-width:0}.portal-field>span{font-weight:700}
.portal-field input,.portal-field select,.portal-field textarea,.portal-search input{width:100%;min-width:0;border:1px solid #d8e1e4;border-radius:10px;padding:10px 12px;background:#f5f8f9;color:#293739;font:inherit;font-size:13px;box-sizing:border-box}
.portal-field textarea{resize:vertical;line-height:1.6}.portal-field input[type=file]{padding:9px}.portal-field input[type=checkbox]{width:auto}
.portal-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#596e63}.portal-check input{accent-color:#7d9b54;width:16px;height:16px}
.portal-tabs,.admin-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.portal-tabs button,.admin-tabs button{padding:8px 12px;border-radius:9px;color:#708587;background:#e5ebee;font-size:12px}.portal-tabs button.active,.admin-tabs button.active{background:#dfeacb;color:#3e592d}.admin-tabs small{font-size:10px;margin-left:3px}
.auth-card{max-width:460px;margin:0 auto 18px;padding:24px}.page-account>.notice{max-width:900px;margin:0 auto 16px}
.portal-account-head,.portal-card-head,.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-account-head>div{flex:1;min-width:0}.portal-account-head>.secondary-button{width:auto;flex-shrink:0}.portal-account-head h3{margin:0;font-size:23px;overflow-wrap:anywhere}.portal-account-head p{margin:7px 0;font-size:13px;overflow-wrap:anywhere}.portal-account-head .chip{margin-right:6px}
.account-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.8fr);gap:20px}.account-grid>section,.account-grid>aside{min-width:0}.account-grid h3{margin-top:0}.account-grid .card>p{font-size:12px;line-height:1.7}
.portal-history{margin-top:15px}.portal-history>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #dce4e6;padding:12px 0;font-size:12px}.portal-history small{margin-left:auto;font-size:10px;color:#8b9b9f}.portal-history p{flex-basis:100%;margin:0;font-size:11px;white-space:pre-wrap}
.portal-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.portal-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-empty{font-size:12px;color:#87989a;padding:16px 0}.portal-search{max-width:480px;margin-bottom:16px}
.admin-heading{margin-bottom:16px}.admin-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-user h4{font-size:16px;margin:0 0 5px}.admin-user p{font-size:12px;margin:5px 0}.admin-user .chip{margin-right:4px}.admin-user .portal-form{margin:16px 0}.admin-user>.secondary-button{font-size:11px}
.admin-editor-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.3fr);gap:20px;align-items:start}.portal-event-list{display:flex;flex-direction:column;gap:6px;margin-top:16px;max-height:630px;overflow:auto}.portal-event-list button{display:flex;flex-direction:column;gap:4px;text-align:left;padding:12px;border-radius:10px;background:#edf2f4;color:#60777b}.portal-event-list button.selected{background:#e3edcf}.portal-event-list b{font-size:12px}.portal-event-list span{font-size:13px}.portal-event-list small{font-size:10px}
.portal-quote{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;background:#edf2e9;padding:12px;border-radius:10px}.announcement-admin-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #dce5df}.announcement-admin-row>.text-button{text-align:left;white-space:normal}.announcement-admin-row>.secondary-button{font-size:10px}
.photo-history{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.photo-history>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:150px}.photo-history img{width:90px;height:90px;object-fit:cover;border-radius:14px}.photo-history small{font-size:10px}.photo-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.review-photo{display:block;max-width:100%;width:220px;height:220px;object-fit:contain;border-radius:15px;background:#e7edf0}.import-job{padding:14px 0;border-top:1px solid #dde5e7;font-size:11px}.import-job>span+span{margin-left:10px}.import-job p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.local-mail{max-width:700px;margin:0 auto 16px;background:#edf3e4}summary{cursor:pointer;font-weight:700;font-size:13px}
@media(max-width:1100px){.site-breadcrumb{font-size:9px;letter-spacing:1px}.site-topbar{gap:8px}.topbar-account{padding:8px 6px;font-size:10px}.admin-editor-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,1fr)}}
@media(max-width:700px){.account-grid,.admin-editor-layout,.admin-users,.photo-review-grid{grid-template-columns:1fr}.admin-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.admin-tabs button{white-space:nowrap;flex-shrink:0}.portal-account-head{align-items:flex-start}.portal-account-head h3{font-size:20px}.portal-account-head p{overflow-wrap:anywhere}.club-announcement{align-items:flex-start;flex-direction:column;padding:16px}}
@media(max-width:600px){.site-topbar{gap:4px;padding-left:12px;padding-right:12px}.topbar-actions{gap:3px}.topbar-actions>.icon-button{width:30px;height:30px}.topbar-account{padding:7px}.topbar-account>span{display:none}.topbar-account .icon{width:20px;height:20px}.site-topbar .data-status{font-size:8px}.auth-card{padding:18px}.portal-field input,.portal-field select,.portal-field textarea{font-size:16px}.portal-two-fields{grid-template-columns:1fr}.portal-account-head{flex-direction:column}.admin-heading{align-items:flex-start}.admin-heading>.chip{white-space:normal}.portal-buttons>.primary-button,.portal-buttons>.secondary-button{font-size:11px}.portal-event-list{max-height:300px}}
