/* September revision: shared public presentation and image framing. */
.national-hero{display:grid;grid-template-columns:1fr 1.2fr;align-items:center;min-height:490px;padding:46px 48px;background:radial-gradient(ellipse at 75% 40%,#274d73 0,transparent 58%),linear-gradient(125deg,#101e33,#152d49);color:#fff;overflow:hidden}
.hero-kicker{font-size:13px;letter-spacing:2px;font-weight:750;color:#a7bfe3}.hero-intro h1{font-size:clamp(38px,4.5vw,68px);line-height:1.08;margin:18px 0}.hero-intro p{color:#c1d0e4;font-size:18px}.hero-intro .button{margin-top:14px}
.national-orbit{position:relative;min-height:400px;display:grid;place-items:center}.national-sphere{width:265px;max-width:65%;filter:drop-shadow(0 24px 34px #030e2480);animation:sphere-drift 12s ease-in-out infinite}.orbit-ring{position:absolute;width:94%;height:60%;border:1px dashed #b6cce455;border-radius:50%;transform:rotate(-25deg)}
.orbit-stat{position:absolute;display:grid;line-height:1.3;text-shadow:0 2px 10px #0c1b31}.orbit-stat strong{font-size:36px;color:white;letter-spacing:-1px}.orbit-stat span{font-size:14px;color:#c5d6ed}.orbit-players{top:12px;right:10%}.orbit-events{left:0;bottom:54px}.orbit-games{right:0;bottom:12px}
.home-dashboard{padding-top:28px;padding-bottom:36px}.quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}.quick-links>a{position:relative;background:linear-gradient(140deg,#fff,#f1f6fd);padding:22px;border:1px solid #dfe7f2;border-radius:14px;transition:box-shadow .2s,border-color .2s}.quick-links>a:hover{border-color:#8bb0df;box-shadow:0 8px 20px #183b6510}.quick-icon{display:block;color:#ac7d29;font-size:26px;line-height:1;margin-bottom:16px}.quick-links strong{display:block}.quick-links p{font-size:14px;color:#61718a;margin:6px 0 0}.quick-arrow{position:absolute;right:18px;top:20px;color:#7590af}
.home-ranking-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.home-ranking-grid>*{min-width:0}.home-dashboard .padded{padding:24px}.home-dashboard h2{font-size:22px;letter-spacing:-.4px;margin:0}.home-dashboard h2 small{font-size:14px;color:#6a7d97;font-weight:500}.home-dashboard .section-heading{gap:12px;margin-bottom:20px}.home-dashboard .section-heading>a{font-size:14px;white-space:nowrap;color:#225da5}.home-dashboard td,.home-dashboard th{padding:14px 10px}.home-dashboard .player-cell{min-width:150px}.home-dashboard .player-cell strong{font-size:14px}.home-dashboard .avatar{width:38px;height:38px;flex-shrink:0}.movement-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #e8eef5;padding:16px 0}.movement-row:last-child{border:0}.movement-row>span:nth-child(2){flex:1;min-width:0}.movement-row strong{font-size:14px}.movement-row small{display:block;font-size:12px;color:#697b92;line-height:1.5;margin-top:3px}.movement-row b{font-size:15px;white-space:nowrap}.home-events{margin-top:22px}.home-about-links{display:flex;flex-wrap:wrap;gap:20px;padding:24px 0 0;font-size:14px;color:#466386}
.tournament-list{border:1px solid #dfe7f1;border-radius:14px;background:white;overflow:hidden}.tournament-list-row{display:grid;grid-template-columns:84px 110px minmax(160px,1fr) 160px 65px;align-items:center;gap:20px;padding:22px;border-bottom:1px solid #e3ebf4;transition:background .2s}.tournament-list-row:hover{background:#f6f9fe}.tournament-list-row:last-child{border-bottom:0}.tournament-list-row>img,.event-placeholder{width:84px;height:66px;background:#edf3fa;border-radius:8px}.event-placeholder{display:grid;place-items:center;font-size:30px;color:#6b85a6}.tournament-list-row time{color:#5c6f88;font-size:14px}.event-list-title strong{font-size:16px;line-height:1.4}.tournament-list-row small{display:block;color:#687b92;font-size:13px;margin-top:6px}.home-events .tournament-list{border:0;border-radius:0}.home-events .tournament-list-row{padding:18px 0;grid-template-columns:64px 95px minmax(150px,1fr) 140px 60px;gap:14px}.home-events .tournament-list-row>img,.home-events .event-placeholder{width:64px;height:52px}
.rank-journey{margin-top:8px;margin-bottom:12px}.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px 12px;background:#122844;border-radius:16px 16px 0 0;color:white}.journey-heading h2{font-size:28px;margin:8px 0}.starting-rating{text-align:right;white-space:nowrap}.starting-rating small{display:block;color:#bbcee8}.starting-rating strong{font-size:27px}.starting-rating strong span{font-size:14px;color:#bbcee8}.level-track{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;background:linear-gradient(130deg,#122844,#1f3e62);padding:25px 20px 30px;border-radius:0 0 16px 16px;color:white}.level-step{display:flex;align-items:center;flex-direction:column;text-align:center;position:relative;gap:5px}.level-step:before{content:"";position:absolute;top:34px;left:-50%;width:100%;height:2px;background:#536f91}.level-step:first-child:before{display:none}.level-medal{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#ffffff50,transparent 70%),#112640;border:3px solid var(--level-color,#b88a31);box-shadow:0 0 0 5px #ffffff0a,inset 0 0 14px #0005;color:#fff;font-size:30px;position:relative;margin-bottom:12px}.level-step strong{font-size:13px}.level-step small{color:#bdcfe7;font-size:11px}.level-step b{font-size:18px;margin-top:5px}.level-step:hover .level-medal{box-shadow:0 0 0 5px #ffffff22}
.distribution-section{padding-top:clamp(24px,3vw,40px)!important}.distribution-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:20px;align-items:end;padding:16px 8px}.distribution-column{text-align:center;min-width:0}.distribution-column>strong{font-size:15px;display:block;margin-bottom:8px}.distribution-bar-space{height:155px;display:flex;align-items:flex-end;border-bottom:1px solid #dae4f0}.distribution-bar{width:80%;margin:auto auto 0;border-radius:5px 5px 0 0;min-height:0}.distribution-column b{font-size:12px;display:block;margin-top:12px}.distribution-column small{font-size:11px;color:#6b7c92}
.profile-visual-heading{background:radial-gradient(ellipse at right top,#cbdff160,transparent 65%),linear-gradient(120deg,#f3f8ff,#fff);padding:24px;border-radius:14px}.profile-visual-heading .avatar.large{width:110px;height:110px;flex-shrink:0}.profile-visual-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin:20px 0}.profile-visual-grid>.panel{min-width:0}.profile-visual-grid h3{margin:0;font-size:20px}.profile-visual-grid .section-heading{gap:12px;font-size:13px}.rating-chart{width:100%;height:auto;display:block;overflow:visible}.rating-chart text{font-size:12px;fill:#61748e}.milestone-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.milestone-card .level-medal{width:52px;height:52px;font-size:22px;margin:0}.milestone-card p{margin:0;font-size:14px}.milestone-card strong{display:block;font-size:20px}.milestone-card small{font-size:12px;color:#5c708b}.milestone-card progress{width:100%;height:12px;accent-color:#286ab4;margin:8px 0}.recent-tournament-results{margin-bottom:24px}.image-framing{display:grid;grid-template-columns:minmax(150px,280px) 1fr;gap:24px;background:#f5f8fc;border:1px solid #e2e9f3;border-radius:12px;padding:18px}.framing-preview{width:100%;aspect-ratio:16/9;background:#e5ebf2;overflow:hidden;border-radius:8px}.framing-preview img{width:100%;height:100%;display:block}.framing-avatar{aspect-ratio:1;max-width:180px;border-radius:50%}.framing-controls{display:grid;gap:12px}.framing-controls input[type=range]{width:100%;accent-color:#215fae}.framing-controls .help{margin:0}.framing-controls label{display:block}
@keyframes sphere-drift{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-10px) rotate(3deg)}}
@media(max-width:1200px){.home-ranking-grid{grid-template-columns:1fr}.national-hero{padding:32px;grid-template-columns:1fr 1fr}.tournament-list-row{grid-template-columns:70px 90px minmax(150px,1fr) 130px;gap:12px}.tournament-list-row>.text-link{display:none}.level-track{gap:4px;padding:24px 12px}.level-medal{width:54px;height:54px;font-size:25px}.level-step:before{top:27px}.quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.national-hero{grid-template-columns:1fr;min-height:0;padding:28px 22px}.national-orbit{min-height:340px;margin-top:14px}.hero-intro h1{font-size:42px}.national-sphere{width:220px}.orbit-stat strong{font-size:29px}.home-dashboard .padded{padding:18px}.quick-links{gap:10px}.quick-links>a{padding:18px}.home-dashboard{padding-top:20px!important}.tournament-list-row,.home-events .tournament-list-row{grid-template-columns:64px 1fr;gap:12px;padding:16px}.tournament-list-row time{grid-column:2;grid-row:1;align-self:start}.tournament-list-row>img,.event-placeholder{grid-row:1/3;width:64px;height:64px}.event-list-title{grid-column:2;grid-row:2}.tournament-list-row>span:not(.event-list-title):not(.event-placeholder):not(.text-link){grid-column:2}.tournament-list-row>.text-link{display:none}.journey-heading{padding:20px;align-items:flex-start}.journey-heading h2{font-size:22px}.starting-rating strong{font-size:22px}.starting-rating strong span{display:block}.level-track{display:flex;overflow-x:auto;gap:22px;padding:24px}.level-step{min-width:88px}.level-step:before{width:110px;left:-70px}.distribution-chart{gap:9px;overflow-x:auto;grid-template-columns:repeat(7,minmax(68px,1fr))}.profile-visual-grid{grid-template-columns:1fr}.profile-visual-heading{padding:16px;gap:16px}.profile-visual-heading .avatar.large{width:76px;height:76px}.profile-visual-heading h2{font-size:24px}.image-framing{grid-template-columns:1fr}.framing-preview{max-width:300px}.home-about-links{gap:14px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.national-sphere{animation:none}.quick-links>a,.tournament-list-row{transition:none}}

.national-hero .hero-intro h1,.rank-journey .journey-heading h2{color:#fff}
/* Full-page homepage: the globe and its orbit are the primary content. */
.sphere-home{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:36px 28px 30px;isolation:isolate;overflow:hidden;position:relative;background:radial-gradient(ellipse at 50% 57%,#214968 0,#132d47 35%,#0a192c 76%);color:#fff}
.sphere-home-heading{text-align:center;position:relative;z-index:3}.sphere-home-heading .hero-kicker{color:#b1c9e3;font-size:12px;letter-spacing:3px}.sphere-home .sphere-home-heading h1{color:#fff;font-size:clamp(26px,3.2vw,44px);font-weight:600;line-height:1.18;letter-spacing:-1px;margin:12px 0 0}
.sphere-stage{position:relative;width:min(100%,1000px,calc((100svh - 240px)*1.6667));aspect-ratio:900/540;display:grid;place-items:center;margin:-8px auto -12px}.sphere-orbits{position:absolute;width:100%;height:100%;inset:0;filter:drop-shadow(0 0 5px #9ecfff35);z-index:1;pointer-events:none}.sphere-halo{position:absolute;width:48%;aspect-ratio:1;border-radius:50%;background:#3a80aa30;filter:blur(40px)}.home-globe{width:39%;height:auto;position:relative;z-index:2;filter:drop-shadow(0 24px 34px #030e2480);animation:sphere-drift 12s ease-in-out infinite}
.sphere-metric{position:absolute;z-index:3;display:grid;gap:4px;min-width:110px;text-align:center;padding:12px 18px;border:1px solid #8cb4d02e;border-radius:16px;background:#0d233dd9;box-shadow:0 12px 30px #020f2426;backdrop-filter:blur(8px)}.sphere-metric strong{font-size:clamp(30px,3.7vw,48px);line-height:1.1;color:#fff;letter-spacing:-1px;font-variant-numeric:tabular-nums}.sphere-metric span{color:#bcd1e7;font-size:15px}.sphere-metric i{font-style:normal;font-size:13px;color:#d7b875;margin-left:4px}a.sphere-metric:hover{border-color:#c6dcef8c;background:#173550}.sphere-players{left:11%;top:18%}.sphere-events{left:13%;bottom:12%}.sphere-games{right:7%;top:35%}.sphere-ranking-link{position:relative;z-index:3;display:inline-flex;align-items:center;gap:32px;padding:13px 24px;border:1px solid #91b8da66;border-radius:100px;color:#e4effb;font-size:15px;background:#16345199}.sphere-ranking-link:hover{background:#244764;border-color:#bed9f4}.sphere-ranking-link span{color:#dcc18b;font-size:21px}
@media(max-width:700px){.sphere-home{min-height:calc(100svh - 92px);padding:34px 12px 30px;justify-content:space-evenly;gap:18px}.sphere-home .sphere-home-heading h1{font-size:29px}.sphere-stage{aspect-ratio:auto;height:340px;width:100%;margin:0;flex-shrink:0}.sphere-orbits{width:100%;height:100%;overflow:visible}.home-globe{width:51%;max-width:240px}.sphere-metric{min-width:0;padding:9px 12px;border-radius:12px}.sphere-metric strong{font-size:28px}.sphere-metric span{font-size:12px}.sphere-players{left:7%;top:0}.sphere-events{left:5%;bottom:8%}.sphere-games{right:2%;top:auto;bottom:15%}.sphere-ranking-link{font-size:14px;padding:11px 20px}.sphere-halo{width:65%}}
@media(prefers-reduced-motion:reduce){.home-globe{animation:none}}
/* Homepage glass navigation, over the same night-blue canvas as the sphere. */
.home-site{background:radial-gradient(ellipse at 0 38%,#264e6c 0,transparent 38%),#0a192c;background-attachment:fixed}
.home-site .portal-sidebar{background:linear-gradient(160deg,#aacfe90c,#132c4338);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-right:1px solid #b7dfff66;box-shadow:inset -1px 0 0 #e0f2ff17,4px 0 24px #82c8ff17;scrollbar-width:thin;scrollbar-color:#a4c5df44 transparent}
.home-site .portal-sidebar::after{content:"";position:absolute;right:0;top:8%;width:1px;height:84%;background:linear-gradient(transparent,#b4dfff 28%,#f0d6a5 65%,transparent);box-shadow:0 0 12px 2px #9cd8ff44;pointer-events:none}
.home-site .portal-brand{background:transparent;color:#edf6ff}.home-site .portal-brand small{color:#afc7dd}.home-site .portal-emblem{border-color:#b8d5e880;box-shadow:0 0 18px #acd8f315}
.home-site .portal-sidebar nav>a,.home-site .portal-sidebar summary{color:#d5e5f3;background:transparent;border:1px solid transparent}.home-site .portal-sidebar .nav-symbol{color:#a9c8e4}.home-site .portal-sidebar nav>a:hover,.home-site .portal-sidebar summary:hover{background:#badcff10;border-color:#abd6f029;color:#fff}
.home-site .portal-sidebar nav>a.selected{background:linear-gradient(115deg,#a1d6ff20,#8abfff08);border-color:#a6cfea55;color:#fff;box-shadow:inset 0 0 18px #a1d6ff08,0 0 16px #8fc8ff0c}.home-site .portal-sidebar .selected .nav-symbol{color:#e8ce99}.home-site .portal-nav-group>a{background:transparent;color:#bfd3e8;border-color:#bddcf01c}.home-site .portal-nav-group>a:hover{background:#d1e9ff10;color:#fff}.home-site .portal-nav-bottom span{color:#94b0c8}
.home-site .portal-sidebar a:focus-visible,.home-site .portal-sidebar summary:focus-visible,.home-site .portal-menu-toggle:focus-visible{outline:2px solid #e8ce99;outline-offset:2px}
@media(max-width:900px){.home-site .portal-sidebar{border-right:0;border-bottom:1px solid #b7dfff66;box-shadow:0 3px 22px #82c8ff17}.home-site .portal-sidebar::after{top:auto;bottom:0;left:8%;right:auto;width:84%;height:1px;background:linear-gradient(90deg,transparent,#b4dfff,#f0d6a5,transparent)}.home-site .portal-menu-toggle{background:#b9daff0f;border-color:#b9daff44;color:#e4f1ff}.home-site .portal-navigation{background:#0c2235f5;backdrop-filter:blur(24px);border-bottom:1px solid #b7dfff55}}
/* One continuous header for the ranking title and rating journey. */
.ranking-journey-header .ranking-header-intro{display:flex;align-items:center;justify-content:space-between;gap:28px}.ranking-journey-header .ranking-header-intro h1{margin-bottom:10px}.ranking-journey-header .ranking-header-intro p{margin-bottom:0}.ranking-journey-header .starting-rating{flex-shrink:0;padding-left:24px;border-left:1px solid #c4ddf433}.ranking-journey-header .starting-rating strong{color:#fff}.ranking-journey-header .level-track{background:transparent;border-radius:0;padding:26px 0 2px;margin-top:22px;border-top:1px solid #c4ddf426}
@media(max-width:700px){.ranking-journey-header .ranking-header-intro{align-items:flex-start;gap:16px}.ranking-journey-header .starting-rating{padding-left:12px;margin-top:12px}.ranking-journey-header .starting-rating small{font-size:11px}.ranking-journey-header .starting-rating strong{font-size:22px}.ranking-journey-header .ranking-header-intro p{font-size:14px}.ranking-journey-header .level-track{padding:22px 6px 10px;margin-top:20px}}
.ranking-journey-header + #rankings{padding-top:22px}.ranking-journey-header .level-track{scrollbar-width:thin;scrollbar-color:#8bb0d477 transparent}
/* Shared rank artwork in the journey, leaderboard, and badge settings. */
.rank-badge{display:block;width:88px;height:96px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 0 1px #ffffffd9) drop-shadow(0 0 4px #e4eeff73) drop-shadow(0 4px 5px #07152a66)}.level-step>.rank-badge{position:relative;z-index:1;margin-bottom:8px;transition:transform .2s}.level-step:hover>.rank-badge{transform:translateY(-4px)}.ranking-journey-header .level-step:before{top:45px}.leaderboard-elo{display:flex;align-items:center;gap:12px;min-width:152px}.leaderboard-elo>.rank-badge{width:48px;height:56px;filter:drop-shadow(0 1px 1px #07152a40)}.leaderboard-elo .rating-band{display:block}.admin-rank-badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:16px;margin-top:22px}.admin-rank-badge{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 12px;background:#f3f7fc;border:1px solid #dce6f1;border-radius:14px}.admin-rank-badge small{color:#64758a}.admin-rank-badge .button{margin-top:8px;padding:8px 12px;font-size:13px}.badge-editor-preview{display:flex;align-items:center;gap:24px;padding:20px;background:#edf3fa;border-radius:12px;margin-bottom:24px}.badge-editor-preview .rank-badge{width:112px;height:128px}.badge-editor-preview p{margin:6px 0 0}
@media(max-width:700px){.level-step>.rank-badge{width:74px;height:84px}.ranking-journey-header .level-step:before{top:40px}}
@media(prefers-reduced-motion:reduce){.level-step>.rank-badge{transition:none}}
.ranking-table .player-cell{min-width:220px}.ranking-table .player-cell small{white-space:nowrap}.leaderboard-elo .rating-band{display:table;margin-top:4px}
/* Homepage navigation sits below the globe as individual glass blocks. */
.public-site.home-site{margin-left:0}.home-site .sphere-home{padding:28px 32px 24px;gap:0}.home-site .home-brand{position:absolute;left:28px;top:22px;z-index:4;padding:0;min-height:0;font-size:16px;gap:10px;justify-content:flex-start}.home-site .home-brand .portal-emblem{width:45px;height:52px}.home-site .home-brand small{font-size:10px;margin-top:6px}.home-site .sphere-home-heading h1{font-size:clamp(28px,3vw,40px)}.home-site .sphere-stage{width:min(100%,950px,calc((100svh - 280px)*1.6667));margin:-10px auto -4px}.home-block-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;width:min(100%,1000px);position:relative;z-index:4}.home-block-navigation>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:104px;padding:14px 12px;border:1px solid #a3cee43b;border-radius:16px;background:linear-gradient(135deg,#acd4fa10,#749ec606);box-shadow:inset 0 1px 0 #d2ebff0d,0 8px 24px #04142526;color:#c4d9eb;text-align:center;backdrop-filter:blur(12px);transition:background .2s,border-color .2s,transform .2s}.home-block-navigation>a:hover,.home-block-navigation>a[aria-current=page]{color:#fff;border-color:#b9dcff80;background:linear-gradient(130deg,#8ec8ff26,#adcdf20c);box-shadow:0 0 20px #8cc7fc16,inset 0 1px 0 #d2ebff29}.home-block-navigation>a:hover{transform:translateY(-3px)}.home-block-navigation>a:focus-visible{outline:2px solid #e8ce99;outline-offset:4px}.home-menu-icon{display:grid;place-items:center;width:32px;height:32px;color:#dbbe82}.home-menu-icon svg{width:30px;height:30px}.home-block-navigation strong{font-size:14px;line-height:1.3;font-weight:600}
@media(max-width:1000px){.home-site .home-brand{position:relative;top:auto;left:auto;align-self:flex-start;margin-bottom:16px}.home-site .sphere-stage{width:min(100%,800px,calc((100svh - 340px)*1.6667))}}
@media(max-width:700px){.home-site .sphere-home{min-height:100svh;padding:22px 18px 28px;gap:12px;justify-content:center}.home-site .home-brand{margin-bottom:4px}.home-site .sphere-home-heading .hero-kicker{display:none}.home-site .sphere-home-heading h1{font-size:28px;margin-top:8px}.home-site .sphere-stage{width:100%;height:320px;margin:0}.home-block-navigation{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-block-navigation>a{min-height:90px;padding:12px 6px;border-radius:12px;gap:8px}.home-block-navigation strong{font-size:12px}.home-menu-icon,.home-menu-icon svg{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.home-block-navigation>a{transition:none}.home-block-navigation>a:hover{transform:none}}
/* Six destinations with short explanations under each label. */
.home-block-navigation{grid-template-columns:repeat(6,minmax(0,1fr));width:min(100%,1160px)}.home-block-navigation>a{min-height:140px;justify-content:flex-start;padding:17px 12px;gap:8px}.home-menu-description{font-size:12px;line-height:1.5;color:#a8c1d8;max-width:160px}.home-site .sphere-stage{width:min(100%,950px,calc((100svh - 320px)*1.6667))}
@media(max-width:1000px){.home-block-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.home-site .sphere-stage{width:100%;height:320px}.home-block-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.home-block-navigation>a{min-height:136px;padding:15px 12px}.home-block-navigation strong{font-size:14px}}
/* Orbital statistics: small illuminated satellites with solar-panel wings. */
.home-site .sphere-stage{width:min(100%,1020px,calc((100svh - 215px)*1.6667));margin:22px auto 10px}.home-site .home-globe{width:44%;filter:drop-shadow(0 18px 35px #01091890) drop-shadow(0 0 14px #9ddaff20);animation:sphere-drift 18s ease-in-out infinite}.home-site .sphere-metric{inset:auto;left:0;top:0;min-width:0;width:112px;height:112px;border-radius:50%;padding:15px 5px;gap:3px;justify-content:center;align-content:center;background:radial-gradient(circle at 30% 20%,#3a647e,#102b42 62%,#071524);border:1px solid #c8e4f2a6;box-shadow:inset 0 0 12px #d3efff1a,0 0 0 5px #9cc8e90b,0 0 24px #6fbfff30;offset-path:ellipse(43% 38% at 50% 50%);offset-rotate:0deg;animation:stat-orbit 120s linear infinite;backdrop-filter:none}.home-site .sphere-metric strong{font-size:30px;letter-spacing:-1px}.home-site .sphere-metric span{font-size:12px}.home-site .sphere-metric::before,.home-site .sphere-metric::after{content:"";position:absolute;top:36px;width:24px;height:40px;border:1px solid #90b8d2;background:repeating-linear-gradient(0deg,transparent 0 8px,#aacde64d 8px 9px),repeating-linear-gradient(90deg,#204865 0 7px,#a4c7df66 7px 8px);box-shadow:0 0 10px #82c6f333}.home-site .sphere-metric::before{left:-27px;transform:skewY(-8deg)}.home-site .sphere-metric::after{right:-27px;transform:skewY(8deg)}.home-site .sphere-players{--orbit-start:53%;offset-distance:53%}.home-site .sphere-events{--orbit-start:20%;offset-distance:20%}.home-site .sphere-games{--orbit-start:86%;offset-distance:86%}.home-site .sphere-stage:hover .sphere-metric,.home-site .sphere-stage:focus-within .sphere-metric{animation-play-state:paused}.home-site a.sphere-metric:focus-visible{outline:2px solid #f2d49e;outline-offset:7px}
@keyframes stat-orbit{from{offset-distance:var(--orbit-start)}to{offset-distance:calc(var(--orbit-start) + 100%)}}
@media(max-width:1000px){.home-site .sphere-stage{width:min(100%,850px);margin:12px auto 24px}}
@media(max-width:700px){.home-site .sphere-stage{width:100%;height:360px;margin:16px auto}.home-site .home-globe{width:57%}.home-site .sphere-metric{offset-path:none;animation:none;width:78px;height:78px;padding:9px 3px}.home-site .sphere-metric strong{font-size:23px}.home-site .sphere-metric span{font-size:10px}.home-site .sphere-metric::before,.home-site .sphere-metric::after{width:14px;height:28px;top:25px}.home-site .sphere-metric::before{left:-17px}.home-site .sphere-metric::after{right:-17px}.home-site .sphere-players{left:12%;top:5%}.home-site .sphere-events{left:9%;top:auto;bottom:7%}.home-site .sphere-games{left:auto;right:5%;top:auto;bottom:14%}}
@media(prefers-reduced-motion:reduce){.home-site .sphere-metric,.home-site .home-globe{animation:none}}
/* Shared public page header, including listings and tournament detail pages. */
.public-site .public-page-header{padding:24px 0 28px}.public-page-header .page-header-intro{display:flex;align-items:center;justify-content:space-between;gap:28px}.public-page-header .page-header-intro>div:first-child{min-width:0}.public-page-header .page-header-intro h1{font-size:34px;line-height:1.2;margin:0 0 12px;color:#fff;overflow-wrap:break-word}.public-page-header .page-header-intro p{margin:0;color:#d8e5f7;font-size:16px;line-height:1.6}.public-page-header .portal-breadcrumb{font-size:14px;line-height:1.6;margin-bottom:18px}.public-page-header .portal-breadcrumb a{font-size:inherit}.public-page-header .portal-breadcrumb a:hover{text-decoration:underline}.public-page-header + .section,.public-page-header + .portal-reading{padding-top:28px}.page-header-badges{display:flex;gap:8px;margin-top:18px}.page-header-badges .badge{background:#d7e9ff15;color:#edf5ff;border:1px solid #afcfee55}
@media(max-width:700px){.public-site .public-page-header{padding:24px 0}.public-page-header .page-header-intro{align-items:flex-start;gap:16px}.public-page-header .page-header-intro h1{font-size:28px}.public-page-header .page-header-intro p{font-size:14px}.public-page-header .portal-breadcrumb{font-size:12px;margin-bottom:16px}}
/* Shared navigation artwork and persistent submenu selection. */
.home-site .sphere-metric::before,.home-site .sphere-metric::after{content:none}.nav-symbol svg{display:block;width:26px;height:26px}.portal-sidebar .portal-nav-group.active>summary{background:#155eef;color:#fff;box-shadow:0 3px 9px #155eef24}.portal-sidebar .portal-nav-group.active>summary .nav-symbol{color:#eed7b0}.portal-sidebar .portal-nav-group>a[aria-current]{background:#eaf2ff;color:#174fac;border-left:3px solid #155eef;padding-left:61px;font-weight:700}.portal-sidebar .portal-nav-group>a:focus-visible{outline:2px solid #155eef;outline-offset:-2px}
/* A single smooth two-stone mark across the website. */
.site-mark{display:block;object-fit:contain;width:52px;height:52px;flex-shrink:0}.home-brand .site-mark{width:46px;height:46px;filter:drop-shadow(0 3px 10px #83bff21a)}.brand .site-mark{width:42px;height:42px}.portal-footer .site-mark{width:46px;height:46px}
@media(max-width:700px){.portal-brand .site-mark{width:46px;height:46px}}
/* Floating homepage listings frame the orbit without covering it. */
.home-orbit-layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr) minmax(230px,280px);align-items:center;gap:24px;width:100%;max-width:1600px;margin:80px auto 34px}.home-site .home-orbit-layout .sphere-stage{width:100%;min-height:420px;margin:0;aspect-ratio:1.3}.home-site .home-orbit-layout .home-globe{width:188px}.home-site .home-orbit-layout .sphere-metric{width:84px;height:84px;padding:10px 3px}.home-site .home-orbit-layout .sphere-metric strong{font-size:24px}.home-site .home-orbit-layout .sphere-metric span{font-size:10px}
.home-floating-panel{--panel-light:#91d4ff;position:relative;z-index:3;min-width:0;padding:22px 20px 16px;border:1px solid #9bd6ff70;border-radius:22px;background:linear-gradient(145deg,#7bbde818,#10273ad9);box-shadow:0 20px 45px #020d2359,0 0 24px #75c7ff18,inset 0 1px 0 #d6edff42;backdrop-filter:blur(18px);animation:home-panel-float 9s ease-in-out infinite}.home-floating-panel::before{content:"";position:absolute;top:-1px;left:18%;width:64%;height:1px;background:linear-gradient(90deg,transparent,var(--panel-light),transparent);box-shadow:0 0 10px var(--panel-light)}.home-tournament-panel{--panel-light:#f4d29d;border-color:#e8c38a66;background:linear-gradient(145deg,#d7b17312,#10273ad9);animation-delay:-4.5s}.home-floating-panel header{display:flex;align-items:center;gap:12px;margin-bottom:18px}.home-floating-panel h2{font-size:20px;color:#f1f7ff;margin:0;line-height:1.3}.home-floating-panel header p{font-size:13px;color:#a8c1d8;margin:5px 0 0}.home-floating-panel ul,.home-floating-panel ol{list-style:none;margin:0;padding:0}.home-player-list a{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:60px;border-top:1px solid #bddfff16;color:#e9f3ff}.home-player-position{color:#95b8d2;font-size:12px;font-variant-numeric:tabular-nums}.home-player-list strong{font-size:14px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}.home-player-rating{text-align:right;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;color:#d5ecff}.home-player-rating small{display:block;font-size:10px;font-weight:400;letter-spacing:.08em;color:#93b3cb;margin-top:3px}.home-tournament-list a{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:14px 0;border-top:1px solid #bddfff16;color:#e9f3ff}.home-tournament-list time{font-size:12px;color:#d6bc92}.home-tournament-list strong{font-size:14px;line-height:1.45;font-weight:600}.home-event-status{font-size:11px;color:#a9c4da}.home-panel-link{display:flex;justify-content:space-between;gap:12px;padding-top:16px;margin-top:8px;border-top:1px solid #bddfff26;color:#cbe7fd;font-size:13px;font-weight:600}.home-panel-link span{color:var(--panel-light)}.home-floating-panel a:hover{color:#fff}.home-floating-panel a:focus-visible{outline:2px solid var(--panel-light);outline-offset:4px;border-radius:4px}.home-floating-panel:hover,.home-floating-panel:focus-within{animation-play-state:paused}.home-panel-empty{font-size:14px;color:#a8c1d8;padding:24px 0}
@keyframes home-panel-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:1100px){.home-orbit-layout{grid-template-columns:1fr 1fr;gap:24px;margin:30px auto;max-width:800px}.home-site .home-orbit-layout .sphere-stage{grid-column:1/-1;grid-row:1;max-width:650px;justify-self:center;min-height:380px}.home-floating-panel{align-self:start}.home-site .home-brand{position:relative;top:auto;left:auto;align-self:flex-start}}
@media(max-width:600px){.home-orbit-layout{grid-template-columns:minmax(0,1fr);gap:24px;margin:0 auto 24px}.home-site .home-orbit-layout .sphere-stage{min-height:340px;height:340px}.home-site .home-orbit-layout .home-globe{width:175px}.home-site .home-orbit-layout .sphere-metric{width:78px;height:78px}.home-floating-panel{padding:22px;width:100%;animation:none}.home-player-list a{min-height:62px}.home-floating-panel h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.home-floating-panel{animation:none}}
.home-floating-panel>header{position:static;background:transparent;border:0;box-shadow:none;padding:0;min-height:0}
/* The visible orbit and satellite centres share exactly the same ellipse. */
.home-site .home-orbit-layout .sphere-stage{--orbit-inset:44px}
.home-site .home-orbit-layout .sphere-stage::before{content:"";position:absolute;inset:var(--orbit-inset);border:1px solid #b4d7ef9c;border-radius:50%;box-shadow:0 0 9px #9ecfff19;pointer-events:none}
.home-site .home-orbit-layout .sphere-metric{inset:auto;left:0;top:0;offset-path:ellipse(calc(50% - var(--orbit-inset)) calc(50% - var(--orbit-inset)) at 50% 50%);offset-anchor:50% 50%;offset-rotate:0deg}
@media(min-width:1101px){
.home-site .sphere-home{padding:90px 32px 20px;justify-content:center}
.home-orbit-layout{margin:0 auto 20px;gap:22px}
.home-site .home-orbit-layout .sphere-stage{min-height:0;height:330px;aspect-ratio:auto}
.home-floating-panel{padding:18px 18px 14px}.home-floating-panel header{margin-bottom:12px}.home-player-list a{min-height:48px}.home-tournament-list a{padding:10px 0;gap:5px}.home-tournament-list strong{line-height:1.35}.home-panel-link{padding-top:12px;margin-top:4px}
.home-block-navigation>a{min-height:118px;padding:12px 10px;gap:6px}.home-block-navigation .home-menu-icon,.home-block-navigation .home-menu-icon svg{width:26px;height:26px}
}
@media(max-width:700px){.home-site .home-orbit-layout .sphere-metric{animation:none}.home-site .home-orbit-layout .sphere-metric span{white-space:nowrap;font-size:9px}}

/* Expand each circular satellite for longer formatted counts; keep its centre on the orbit. */
.home-site .home-orbit-layout .sphere-metric{--satellite-base:84px;width:calc(var(--satellite-base) + var(--number-extra,0)*6px);height:calc(var(--satellite-base) + var(--number-extra,0)*6px)}
.home-site .home-orbit-layout .sphere-metric strong{white-space:nowrap}
.home-site .home-orbit-layout .sphere-metric span{white-space:nowrap;font-size:9px}
@media(max-width:600px){.home-site .home-orbit-layout .sphere-metric{--satellite-base:78px}}

/* Readable satellite labels without decorative arrows. */
.home-site .home-orbit-layout .sphere-metric{--satellite-base:104px;padding:12px 5px;gap:5px}
.home-site .home-orbit-layout .sphere-metric span{font-size:13px;line-height:1.3;font-weight:600;color:#e2effa;letter-spacing:0}
@media(max-width:600px){.home-site .home-orbit-layout .sphere-metric{--satellite-base:94px;padding:10px 4px}.home-site .home-orbit-layout .sphere-metric span{font-size:12px}}
/* Homepage navigation stays docked to the viewport with space reserved below content. */
.home-site .home-block-navigation{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 40px),1160px);z-index:30;padding:8px;border-radius:22px;background:#0c2235e8;box-shadow:0 -8px 32px #07152933;backdrop-filter:blur(20px)}
.home-site .sphere-home{padding-bottom:164px}
@media(max-width:1100px){.home-site .home-block-navigation{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.home-site .home-block-navigation>a{min-height:82px;padding:10px 5px;justify-content:center}.home-site .home-menu-description{display:none}.home-site .sphere-home{padding-bottom:124px}}
@media(max-width:600px){.home-site .home-block-navigation{width:calc(100% - 16px);bottom:max(8px,env(safe-area-inset-bottom));gap:4px;padding:6px;border-radius:16px}.home-site .home-block-navigation>a{min-height:70px;padding:8px 2px;gap:5px;border-radius:10px}.home-site .home-block-navigation strong{font-size:10px;line-height:1.25}.home-site .home-block-navigation .home-menu-icon,.home-site .home-block-navigation .home-menu-icon svg{width:22px;height:22px}.home-site .sphere-home{padding-bottom:108px}}
@media(max-width:600px){.home-site .home-block-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}.home-site .home-block-navigation>a{min-height:48px;flex-direction:row;padding:8px 4px;gap:6px}.home-site .home-block-navigation strong{font-size:11px}.home-site .home-block-navigation .home-menu-icon,.home-site .home-block-navigation .home-menu-icon svg{width:20px;height:20px;flex-shrink:0}.home-site .sphere-home{padding-bottom:140px}}

/* Sticky within the homepage only: the footer stays outside the navigation's boundary. */
.home-site .sphere-home{overflow:clip;padding-bottom:20px}
.home-site .home-block-navigation{position:sticky;left:auto;transform:none;flex-shrink:0;margin-top:auto;background:transparent;box-shadow:none;backdrop-filter:none;border-radius:0}
@media(max-width:600px){.home-site .sphere-home{padding-bottom:12px}}
/* Share spare desktop height above and below the main scene, keeping navigation at the bottom. */
@media(min-width:1101px){.home-site .home-orbit-layout{margin-top:auto;margin-bottom:auto;padding-bottom:20px}.home-site .home-block-navigation{margin-top:0}}
/* Keep the leaderboard search and all three searchable filters in one row. */
#rankings .ranking-filters .search-field{flex:1 0 200px;min-width:200px}
#rankings .ranking-filters>.ts-wrapper{flex:0 0 145px;width:145px;min-width:145px}
#rankings .ranking-filters>select[name="badge"]+.ts-wrapper{flex-basis:200px;width:200px;min-width:200px}

/* Lucide chevron: consistent shape and centred rotation in both submenu states. */
.portal-nav-group .nav-chevron{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;line-height:1;transition:transform .18s ease}
.portal-nav-group .nav-chevron svg{display:block;width:20px;height:20px}
@media(prefers-reduced-motion:reduce){.portal-nav-group .nav-chevron{transition:none}}
/* Player history: date range, accessible data points and current population position. */
.rating-range{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:18px 0}.rating-range label{display:grid;gap:6px;font-size:14px;font-weight:600;flex:1;min-width:145px}.rating-range input{width:100%;min-height:42px}.rating-range .button{min-height:42px}.rating-range .text-button{align-self:center}.rating-range-summary{padding:12px 14px;border-radius:10px;background:#edf4fc;color:#173e72;font-size:14px;font-weight:600;line-height:1.7}.rating-chart-scroll{overflow-x:auto;margin-top:18px}.player-rating-history .rating-chart{min-width:580px}.rating-chart .chart-axis-title{font-size:14px;font-weight:700;fill:#294765}.rating-data-point{cursor:pointer}.rating-data-point.is-selected,.rating-data-point:focus{fill:#c88620;stroke:#173e72;stroke-width:3;outline:none}.rating-point-detail{background:#f5f8fc;border:1px solid #dce5ef;border-radius:10px;padding:14px;margin-top:12px;font-size:14px;min-height:74px}.rating-point-detail strong{color:#173e72}.rating-point-detail ul{margin:8px 0 0;padding-left:20px;max-height:145px;overflow:auto;line-height:1.7}.player-distribution{margin-bottom:24px}.player-distribution h3{margin:0}.player-distribution .section-heading{flex-wrap:wrap}.player-distribution .distribution-chart{padding:16px 8px}.player-distribution .distribution-bar-space{height:120px}.player-distribution .is-player-band{background:#edf4fc;border-radius:12px;outline:2px solid #2c639f;padding:8px 4px}.player-band-marker{font-size:12px;font-weight:700;color:#215ca7;white-space:nowrap}.player-distribution .distribution-column{min-width:90px}.player-distribution .distribution-chart{overflow-x:auto;grid-template-columns:repeat(7,minmax(90px,1fr))}
.player-rating-history .rating-chart{min-width:520px}.player-rating-history .rating-chart text{font-size:17px}.player-rating-history .rating-chart .chart-axis-title{font-size:19px}
/* Keep the current ranking beside the player's identity, with history full width. */
.profile-top-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:18px;align-items:stretch}.profile-top-row .profile-heading{min-width:0}.profile-top-row .profile-heading>div{min-width:0;overflow-wrap:anywhere}.profile-rank-summary{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid #dce5ef;border-radius:14px;background:linear-gradient(135deg,#f2f7fd,#fff)}.profile-rank-summary .rank-badge{flex-shrink:0}.profile-rank-details{display:grid;gap:7px;flex:1;min-width:0}.profile-rank-details>span{font-size:15px;font-weight:600;color:#385573}.profile-rank-details>strong{font-size:27px;line-height:1.2;color:#173e72}.profile-rank-details strong small{font-size:14px;font-weight:500}.profile-rank-details>small{font-size:13px;color:#5c708b}.profile-rank-details progress{width:100%;height:10px;accent-color:#286ab4}.profile-secondary-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-history-section{margin:20px 0}.profile-history-section h3{margin:0;font-size:20px}.profile-history-section .section-heading{gap:12px;flex-wrap:wrap}.profile-history-section .rating-chart{max-height:360px}
@media(max-width:800px){.profile-top-row{grid-template-columns:1fr}.profile-rank-summary{padding:16px}.profile-secondary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.player-rating-history>.player-distribution{margin:24px 0 0;padding-top:24px;border-top:1px solid #dce5ef}.player-rating-history .player-distribution h4{margin:0;font-size:20px}.player-rating-history .player-distribution>.help:last-child{margin-bottom:0}
.player-rating-history .rating-chart{min-width:740px}.player-rating-history .rating-chart .chart-current-rank{font-size:16px;font-weight:700;fill:#173e72}.player-rating-history .rating-chart .chart-band-name{font-size:17px;font-weight:700}.player-rating-history .rating-chart .chart-band-count{font-size:14px}.player-rating-history .rating-chart .chart-current-elo{font-size:14px;font-weight:700;fill:#8a5712;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
/* Identity and ranking share a single general-information panel. */
.profile-general-info{gap:0;padding:24px;border:1px solid #dce5ef;border-radius:14px;background:radial-gradient(ellipse at right top,#cbdff160,transparent 65%),linear-gradient(120deg,#f3f8ff,#fff)}.profile-general-info .profile-visual-heading{padding:0 24px 0 0;background:none;border-radius:0}.profile-general-info .profile-rank-summary{padding:0 0 0 24px;border:0;border-left:1px solid #dce5ef;border-radius:0;background:none}
@media(max-width:800px){.profile-general-info{padding:18px;gap:20px}.profile-general-info .profile-visual-heading{padding:0}.profile-general-info .profile-rank-summary{padding:18px 0 0;border-left:0;border-top:1px solid #dce5ef}}
.portal-brand .brand-name{display:block;white-space:nowrap}.portal-sidebar .portal-brand{font-size:16px;gap:8px;padding-left:12px;padding-right:12px}.portal-sidebar .portal-brand .site-mark{width:40px;height:40px}.portal-sidebar .portal-brand small{font-size:10px;letter-spacing:.4px;white-space:nowrap}

/* Shared three-line identity for public pages, admin and footer. */
.brand-wordmark{display:block;text-align:left}
.brand-wordmark .brand-name{display:block;white-space:nowrap;line-height:1.2}
.brand .brand-wordmark .brand-subtitle,.portal-brand .brand-wordmark .brand-subtitle{display:block;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.2px;margin-top:5px;white-space:nowrap;text-transform:none}
.brand .brand-wordmark .brand-powered,.portal-brand .brand-wordmark .brand-powered{display:block;font-size:10px;font-weight:400;line-height:1.4;letter-spacing:0;margin-top:3px;white-space:nowrap;text-transform:none}

.home-visitor-count{position:absolute;right:32px;top:24px;display:flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid #a3cee43b;border-radius:14px;background:#142e4255;color:#d8e9f8;box-shadow:0 0 20px #8cc7fc12}.home-visitor-count svg{width:24px;height:24px;color:#dbbe82}.home-visitor-count strong{display:block;font-size:20px;line-height:1.2}.home-visitor-count small{display:block;font-size:12px;margin-top:3px;color:#b4ccdf}@media(max-width:1100px){.home-visitor-count{position:static;align-self:flex-start;margin-bottom:12px}}
