/* Country Forge v5 multiplayer — preserved v4 classic typography and visual identity */
.cf-online-screen{display:none}
body.cf-online-active #homeScreen,body.cf-online-active #gameScreen,body.cf-online-active #showdownScreen,body.cf-online-active #resultScreen{display:none!important}
body.cf-online-active #cfOnline{display:block!important}
body.cf-online-active #homeButton{display:none!important}
.cf-online-trigger{background:transparent;border:1px solid #42565b;border-radius:10px;color:#d7fa7c;font-size:11px;letter-spacing:1.4px;font-weight:900;white-space:nowrap;padding:11px 14px;text-transform:uppercase}
.cf-online-trigger:hover{border-color:var(--accent);background:rgba(213,250,104,.08)}
.cf-hero-cta{width:100%;margin:10px 0 0;min-height:54px;display:flex;align-items:center;justify-content:center;gap:12px;background:#18272f;color:var(--accent);border:1px solid #607c67;border-radius:10px;letter-spacing:1.3px;font-size:12px;font-weight:900}
.cf-hero-cta:hover{background:#20382c;border-color:var(--accent)}
.cf-hero-cta b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#d5fa68;color:#132018;font-size:16px}
#cfOnline{padding:48px 0 88px;min-height:calc(100vh - 190px)}
.cf-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}
.cf-title{font-family:var(--head);text-transform:uppercase;font-weight:900;letter-spacing:.8px;font-size:clamp(42px,5.2vw,74px);line-height:.98;margin:13px 0 12px;color:#edf5f3}
.cf-title span{color:var(--accent)}
.cf-sub{color:#91aaac;font-size:13px;max-width:680px;line-height:1.7;margin:0}
.cf-top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.cf-btn{border:1px solid #3b4e53;background:#14212a;color:#deeeee;border-radius:9px;padding:12px 15px;font-weight:900;font-size:11px;letter-spacing:.8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:41px;white-space:nowrap}
.cf-btn:hover:not(:disabled){border-color:#a1c78a;background:#20352f}
.cf-btn.primary-btn{background:var(--accent);color:#111b1d;border-color:var(--accent)}
.cf-btn.primary-btn:hover:not(:disabled){background:#ecffb2}
.cf-btn.danger-btn{border-color:#674043;color:#ffb0ab}
.cf-btn.ghost-btn{background:transparent}
.cf-btn.cf-wide{width:100%;min-height:52px}
.cf-btn:disabled{opacity:.42}
.cf-pill{border:1px solid #334b50;border-radius:100px;padding:9px 13px;color:#cfe0df;font-size:11px;font-weight:800;white-space:nowrap;background:#142129}
.cf-pill strong{color:var(--accent)}
.cf-status{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:1.2px;color:#9cafb2;font-weight:900}
.cf-status:before{content:'';height:7px;width:7px;background:#e2ab6a;border-radius:50%;box-shadow:0 0 14px #bd914666}
.cf-status.online:before{background:#b4f06b;box-shadow:0 0 15px #caff61aa}
.cf-notice{margin:0 0 22px;padding:12px 15px;border:1px solid #4a4b3f;border-radius:10px;background:#22271e;color:#deddbf;font-size:12px;line-height:1.6}
.cf-notice.error{border-color:#714a49;color:#ffc7c4;background:#261d21}
.cf-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.cf-panel{background:#101b23;border:1px solid #2b4146;border-radius:16px;box-shadow:0 16px 45px #0003;overflow:hidden}
.cf-pad{padding:24px}
.cf-panel-hdr{padding:19px 24px;border-bottom:1px solid #25363e;display:flex;align-items:center;justify-content:space-between;gap:10px}
.cf-panel-hdr h3{font-family:var(--head);font-size:25px;line-height:1;margin:0;text-transform:uppercase;letter-spacing:.7px;font-weight:900}
.cf-kicker{font-size:10px;font-weight:900;letter-spacing:2px;color:var(--accent);text-transform:uppercase}
.cf-modegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cf-mode{display:flex;flex-direction:column;gap:8px;text-align:left;border:1px solid #34464c;background:linear-gradient(145deg,#182730,#111d26);border-radius:12px;min-height:168px;padding:22px;position:relative;overflow:hidden}
.cf-mode:hover:not(:disabled){border-color:var(--accent);background:linear-gradient(145deg,#203b37,#15242b);transform:translateY(-2px)}
.cf-mode:disabled{opacity:.55}
.cf-mode-icon{width:38px;height:38px;border-radius:10px;background:#29413d;color:var(--accent);display:grid;place-items:center;font-size:22px;font-family:var(--head);font-weight:900}
.cf-mode b{font-family:var(--head);font-weight:900;font-size:25px;letter-spacing:.5px;line-height:1.05}
.cf-mode small{color:#90a6a9;font-size:11.5px;line-height:1.6}
.cf-mode em{font-size:9px;letter-spacing:1px;color:var(--accent);font-style:normal;font-weight:900;margin-top:auto}
.cf-mode.full{grid-column:span 2;min-height:125px;flex-direction:row;align-items:center;gap:20px}
.cf-mode.full .cf-mode-copy{display:flex;flex-direction:column;gap:8px}
.cf-setting{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #283b40}
.cf-setting:last-child{border-bottom:0}
.cf-setting b{font-size:12px;font-weight:900}
.cf-setting small{display:block;font-size:10px;line-height:1.6;color:#8ea8ad;margin-top:4px}
.cf-toggle{position:relative;width:47px;height:28px;border-radius:100px;border:1px solid #47616b;background:#18252b;flex:none;cursor:pointer}
.cf-toggle:before{content:'';position:absolute;left:4px;top:4px;width:18px;height:18px;border-radius:50%;background:#b7c9c9;transition:transform .15s}
.cf-toggle.active{background:#415e2c;border-color:var(--accent)}
.cf-toggle.active:before{background:var(--accent);transform:translateX(19px)}
.cf-field{display:flex;gap:7px;margin-top:7px}
.cf-input{min-width:0;flex:1;background:#081219;color:#e5f2ed;border:1px solid #3b5156;border-radius:8px;padding:11px 12px;font-family:inherit;font-size:12px;outline:0}
.cf-input:focus{border-color:var(--accent)}
.cf-muted{color:#8ca0a6;font-size:11px;line-height:1.7}
.cf-small{font-size:9px;letter-spacing:1.1px;color:#7e9498;text-transform:uppercase;font-weight:900}
.cf-wallet{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:20px 0}
.cf-stat{background:#0c171e;border:1px solid #293c43;padding:12px 10px;border-radius:9px}
.cf-stat b{display:block;font-family:var(--head);font-size:28px;color:var(--accent);line-height:1.15}
.cf-stat span{display:block;font-size:8px;color:#8ea5a9;letter-spacing:1.1px;font-weight:900;margin-top:3px;text-transform:uppercase}
.cf-sep{height:1px;background:#2a3e43;margin:17px 0}
.cf-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.cf-shop-card{padding:19px;background:linear-gradient(150deg,#192c31,#122029);border:1px solid #395058;border-radius:12px;display:flex;flex-direction:column;gap:10px}
.cf-shop-icon{font-size:30px}
.cf-shop-card b{font-family:var(--head);font-size:25px;line-height:1.15}
.cf-shop-card p{margin:0;color:#9baeb0;font-size:11px;line-height:1.6;flex:1}
.cf-price{font-family:var(--head);font-size:25px;font-weight:900;color:var(--accent)}
.cf-line{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cf-rule{padding:13px 0;border-bottom:1px solid #2b4147;color:#b9cdcb;font-size:12px;line-height:1.7}
.cf-rule:last-child{border:0}
.cf-lobby{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}
.cf-room-code{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;background:#0a151b;border:1px dashed #648773;border-radius:12px;margin:22px 0}
.cf-room-code strong{font:900 clamp(30px,4vw,48px)/1 var(--head);letter-spacing:6px;color:var(--accent)}
.cf-room-code small{color:#879da2;letter-spacing:1.5px;font-size:9px;font-weight:900}
.cf-players{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.cf-player{padding:14px 16px;display:flex;align-items:center;gap:12px;background:#102129;border:1px solid #2b4647;border-radius:9px}
.cf-player-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:9px;background:#314a3e;color:#d6f8a3;font:900 22px var(--head)}
.cf-player b{font-size:12px}.cf-player small{display:block;color:#94a6a8;font-size:10px;margin-top:3px}
.cf-search-spinner{width:55px;height:55px;border:4px solid #36504a;border-top-color:var(--accent);border-radius:50%;animation:cf-rotate .8s linear infinite;margin:10px auto 20px}
@keyframes cf-rotate{to{transform:rotate(360deg)}}
.cf-battle-hdr{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.cf-teamline{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
.cf-team{padding:17px;background:#15262e;border:1px solid #334d52;border-radius:11px;min-width:0}
.cf-team:last-child{text-align:right}
.cf-team b{display:block;font-family:var(--head);font-size:clamp(20px,3vw,31px)}
.cf-team small{color:#8aa5a8;letter-spacing:1px;font-size:9px;font-weight:900;line-height:1.5}
.cf-vs{font-family:var(--head);font-size:27px;font-weight:900;color:var(--accent)}
.cf-bar{height:6px;background:#22363f;border-radius:100px;overflow:hidden;margin-top:10px}
.cf-bar>i{display:block;height:100%;background:var(--accent);transition:width .3s}
.cf-draft-layout{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:18px;align-items:start}
.cf-machine{border-radius:13px;background:radial-gradient(circle at 50% 32%,#233b3f,#0d1a22 72%);border:1px solid #38505a;padding:22px;min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;text-align:center}
.cf-machine:before{content:'';position:absolute;width:260px;height:260px;border-radius:50%;border:1px dashed #436264;top:38px;pointer-events:none;animation:cf-rotate 27s linear infinite}
.cf-machine:after{content:'';position:absolute;width:216px;height:216px;border-radius:50%;border:1px solid #314e51;top:60px;pointer-events:none}
.cf-machine>*{position:relative;z-index:1}
.cf-flag{display:grid;place-items:center;width:180px;height:140px;max-width:100%;margin:10px auto;background:#12232b;border:1px solid #345052;box-shadow:0 18px 45px #0006;border-radius:16px}
.cf-flag img{width:145px;height:102px;object-fit:contain;filter:drop-shadow(0 10px 9px #0005)}
.cf-flag.rolling img{animation:cf-flag-pop .16s ease-in-out alternate infinite}
@keyframes cf-flag-pop{from{transform:scale(.85)}to{transform:scale(1.05)}}
.cf-country-name{font-family:var(--head);font-size:clamp(28px,3.8vw,42px);font-weight:900;line-height:1;letter-spacing:.5px;margin:10px 0 16px;min-height:40px}
.cf-scores{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;width:100%;margin:0 0 16px}
.cf-scores div{background:#0a1720;border:1px solid #284044;border-radius:6px;padding:8px 1px;text-align:center}
.cf-scores b{display:block;color:var(--accent);font-family:var(--head);font-size:19px}
.cf-scores span{display:block;color:#91aaae;font-size:7px;font-weight:900}
.cf-machine-actions{display:grid;grid-template-columns:1.3fr 1fr;gap:8px;width:100%}
.cf-machine-actions button{white-space:normal}
.cf-boost{margin:11px 0 0;display:flex;gap:8px;align-items:center;font-size:10px;color:#bad0ca;cursor:pointer}
.cf-boost input{accent-color:#c9fa66}
.cf-board{display:grid;grid-template-columns:1fr;gap:8px}
.cf-slot{width:100%;display:flex;align-items:center;gap:12px;background:#0f1b22;border:1px solid #2a4148;padding:12px 15px;text-align:left;border-radius:9px;min-height:68px}
.cf-slot.open{background:#162830;border-color:#37575b}
.cf-slot.open:hover:not(:disabled){border-color:var(--accent);background:#20372e}
.cf-slot.filled{background:#16251e;border-color:#3d5a3f;cursor:default}
.cf-slot-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#20373c;border-radius:8px;font-size:18px}
.cf-slot-content{flex:1;min-width:0}
.cf-slot-content b{display:block;font-weight:900;font-size:12px;letter-spacing:.4px}
.cf-slot-content small{display:block;margin-top:5px;color:#7f959a;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-slot-score{font-family:var(--head);font-size:27px;font-weight:900;color:var(--accent);flex:none}
.cf-mini-flag{width:23px;height:19px;object-fit:contain;vertical-align:middle;margin-right:6px}
.cf-ready{background:#13252b;border:1px solid #385652;border-radius:12px;padding:18px;margin-top:12px}
.cf-ready h3{font-family:var(--head);font-size:28px;margin:0 0 9px;text-transform:uppercase}
.cf-tactics{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:14px 0}
.cf-tactic{padding:12px 9px;border:1px solid #324a4e;border-radius:9px;background:#0d1820;font-size:11px;font-weight:800;text-align:center}
.cf-tactic.active{background:#31432b;border-color:var(--accent);color:var(--accent)}
.cf-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.cf-summary>div{border:1px solid #355151;background:#172a2f;padding:17px;text-align:center;border-radius:10px}
.cf-summary b{display:block;font-family:var(--head);font-size:clamp(25px,4vw,45px);color:var(--accent);line-height:1}
.cf-summary small{display:block;margin-top:8px;font-size:9px;color:#9bb4b6;letter-spacing:1px;font-weight:900}
.cf-result-title{text-align:center;margin:22px 0 12px;font:900 clamp(64px,11vw,130px)/.85 var(--head);color:var(--accent)}
.cf-result-title.defeat{color:#ff9590}
.cf-versus{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.cf-compare-row{display:grid;grid-template-columns:1fr 76px 76px;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid #2a4143;color:#d6e9e4;font-size:11px;font-weight:800}
.cf-compare-row span:nth-child(2),.cf-compare-row span:nth-child(3){text-align:center;font-family:var(--head);font-size:23px;font-weight:900}
.cf-compare-row .win{color:var(--accent)}
.cf-compare-row:last-child{border-bottom:0}
.cf-result-receipt{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:20px 0}
.cf-receipt{background:#121f27;border:1px solid #2d4247;padding:11px;display:flex;gap:10px;align-items:center;border-radius:8px}
.cf-receipt img{width:36px;height:24px;object-fit:contain;flex:none}
.cf-receipt b{display:block;font-size:11px;line-height:1.25}.cf-receipt small{display:block;font-size:9px;margin-top:5px;color:#8ba6a8}
.cf-connection{padding:12px;background:#14232a;border:1px solid #395158;border-radius:9px}
.cf-help{color:#a4b9ba;font-size:11px;line-height:1.75}
.cf-online-screen [hidden]{display:none!important}
@media(max-width:1100px){.cf-layout,.cf-lobby{grid-template-columns:minmax(0,1fr) 290px}.cf-draft-layout{grid-template-columns:minmax(0,380px) minmax(0,1fr)}}
@media(max-width:850px){.cf-layout,.cf-lobby,.cf-draft-layout{grid-template-columns:1fr}.cf-top{flex-direction:column}.cf-top-actions{justify-content:flex-start}.cf-machine{min-height:370px}.cf-side{order:-1}.cf-shop-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){#cfOnline{padding:29px 0 60px}.cf-title{font-size:51px}.cf-pad{padding:17px}.cf-panel-hdr{padding:15px 17px}.cf-modegrid{gap:8px}.cf-mode{min-height:180px;padding:14px}.cf-mode b{font-size:21px}.cf-mode small{font-size:10.5px}.cf-mode.full{min-height:111px}.cf-mode-icon{height:32px;width:32px;font-size:17px}.cf-top-actions{gap:6px}.cf-pill{font-size:10px;padding:8px 10px}.cf-shop-grid{grid-template-columns:1fr}.cf-machine{padding:14px;min-height:355px}.cf-machine:before{width:225px;height:225px}.cf-machine:after{width:185px;height:185px}.cf-flag{height:124px;width:155px}.cf-flag img{height:90px;width:124px}.cf-country-name{font-size:34px}.cf-scores b{font-size:17px}.cf-scores span{font-size:6px}.cf-room-code strong{letter-spacing:2px;font-size:36px}.cf-result-receipt{grid-template-columns:1fr}.cf-battle-hdr{align-items:flex-start}.cf-team{padding:10px}.cf-team b{font-size:20px}.cf-team small{font-size:8px}}
@media(max-width:390px){.cf-title{font-size:44px}.cf-mode b{font-size:19px}.cf-mode{min-height:185px}.cf-machine-actions{grid-template-columns:1fr 1fr}.cf-machine-actions .cf-btn{font-size:10px;padding:10px 5px}.cf-slot{padding:9px;gap:9px}.cf-slot-icon{width:30px}.cf-shop-card{padding:14px}.cf-compare-row{grid-template-columns:1fr 60px 60px}}
/* Keep navigation usable without squeezing the original brand on narrow phones. */
@media(max-width:520px){
 .cf-online-trigger{padding:8px 10px;font-size:9px;letter-spacing:.6px;min-height:34px}
}
@media(max-width:390px){
 .topbar-inner{height:auto;min-height:78px;padding:10px 0;flex-wrap:wrap;gap:8px}
 .bar-right{width:100%;justify-content:flex-end;gap:13px}
 .cf-online-trigger{margin-right:auto}
}

/* COUNTRY FORGE V6 — MULTIPLAYER HANGAR REDESIGN */
.cf-online-active #cfOnline{padding-top:30px}
.cf-online-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:25px;padding-bottom:16px;border-bottom:1px solid #283d43}
.cf-nav-link,.cf-nav-classic{min-height:38px;border:1px solid transparent;background:transparent;border-radius:8px;padding:10px 14px;color:#89a09f;font-size:10px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.cf-nav-link:hover,.cf-nav-classic:hover{color:#e3f0e9;background:#182a30}
.cf-nav-link.active{background:#1d322c;border:1px solid #618855;color:#d5fa68}
.cf-nav-spacer{flex:1}
.cf-nav-classic{border-color:#31474d;color:#bacbc9}
.cf-hub-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:2px 0 22px}
.cf-hub-intro h2{font-family:var(--head);font-size:clamp(46px,5.2vw,74px);letter-spacing:.1px;line-height:.93;font-weight:900;margin:9px 0 10px;color:#f1f8f5}
.cf-hub-intro h2 span{color:var(--accent)}
.cf-hub-intro p{margin:0;font-size:12px;color:#94aeb2;line-height:1.7}
.cf-hub-counter{display:flex;align-items:center;gap:13px;border:1px solid #344c4e;border-radius:10px;background:#122329;padding:10px 20px;flex:none}
.cf-hub-counter b{font:900 45px/.95 var(--head);color:var(--accent)}
.cf-hub-counter span{font-size:9px;font-weight:900;letter-spacing:1.1px;color:#e5f3ea;line-height:1.7}
.cf-hub-counter small{color:#82979b;font-size:8px}
.cf-mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:16px}
.cf-mode-tab{display:flex;align-items:center;gap:10px;min-width:0;position:relative;text-align:left;border:1px solid #344a51;border-radius:11px;padding:14px 12px;background:linear-gradient(137deg,#15242e,#101d25);min-height:80px}
.cf-mode-tab:hover{border-color:#709577;background:#1b3033}
.cf-mode-tab.selected{border-color:var(--accent);background:linear-gradient(140deg,#29402e,#162b2c);box-shadow:inset 0 0 0 1px #5b7a44}
.cf-mode-tab-icon{flex:none;display:grid;place-items:center;height:37px;width:37px;border:1px solid #425f5e;border-radius:9px;font-size:22px;color:var(--accent);background:#233b3b}
.cf-mode-tab.selected .cf-mode-tab-icon{background:#d5fa68;color:#13211c}
.cf-mode-tab-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
.cf-mode-tab-copy b{font-size:12px;color:#f1f8f0;font-weight:900;letter-spacing:.35px;white-space:nowrap}
.cf-mode-tab-copy small{font-size:8px;line-height:1.2;letter-spacing:.4px;color:#8fa8a7;font-weight:800;white-space:nowrap}
.cf-mode-tab.selected .cf-mode-tab-copy small{color:#b4ceb9}
.cf-count-dot{display:inline-block;height:3px;width:3px;border-radius:50%;background:#78928c;vertical-align:middle;margin:0 2px}
.cf-tab-selected{position:absolute;right:9px;top:8px;color:var(--accent);font-size:12px;font-weight:900}
.cf-hub-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:15px}
.cf-hub-main{min-width:0}
.cf-hangar{position:relative;isolation:isolate;overflow:hidden;border:1px solid #37534c;border-radius:14px;background:linear-gradient(155deg,#192a30 0%,#132128 56%,#101920 100%);box-shadow:0 18px 45px #0005}
.cf-hangar:before{content:'';z-index:-1;position:absolute;inset:0;background:radial-gradient(ellipse at 53% 37%,rgba(127,180,103,.12),transparent 53%),linear-gradient(120deg,transparent,rgba(24,56,50,.21));pointer-events:none}
.cf-hangar-heading{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #33474b}
.cf-hangar-heading h3{font:900 clamp(30px,3vw,40px)/.95 var(--head);letter-spacing:.4px;color:#f2f7f3;margin:7px 0 0}
.cf-hangar-session{padding:9px 12px;background:#1b302f;border:1px solid #456052;border-radius:6px;font-size:9px;font-weight:900;letter-spacing:.5px;color:#d0e6d0;white-space:nowrap}
.cf-hangar-stage{position:relative;overflow:hidden;padding:25px 25px 9px;background:repeating-linear-gradient(0deg,transparent 0,transparent 37px,rgba(180,220,207,.025) 38px),repeating-linear-gradient(90deg,transparent 0,transparent 37px,rgba(180,220,207,.025) 38px);border-bottom:1px solid #344649}
.cf-hangar-stage:before{content:'COUNTRY FORGE • HANGAR 01';position:absolute;top:20px;left:50%;transform:translateX(-50%);font-size:7px;letter-spacing:2.7px;color:#52716e;font-weight:900;white-space:nowrap}
.cf-stage-glow{position:absolute;pointer-events:none;inset:20% 10% 0;background:radial-gradient(ellipse at 50% 75%,rgba(171,236,99,.11),transparent 63%)}
.cf-commander-pair{display:grid;grid-template-columns:minmax(0,1fr) 55px minmax(0,1fr);gap:3px;align-items:center;position:relative;max-width:690px;margin:0 auto}
.cf-commander{min-width:0;text-align:center;position:relative;align-self:stretch;display:flex;flex-direction:column;align-items:center}
.cf-slot-label{display:flex;gap:6px;align-items:center;justify-content:center;font:900 12px var(--head);letter-spacing:1px;color:#d5fa68;white-space:nowrap;min-height:26px}
.cf-slot-label span{font:900 9px var(--body);color:#8ba5a5;letter-spacing:1px;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis}
.cf-character-frame{height:270px;position:relative;width:100%;display:grid;place-items:end center}
.cf-character-frame:before{content:'';position:absolute;left:50%;top:14px;transform:translateX(-50%);width:min(205px,95%);height:245px;background:radial-gradient(ellipse,#3a5b51 0,#1c3436 60%,transparent 72%);border:1px solid rgba(136,195,142,.07);border-radius:90px 90px 30px 30px}
.cf-character-orbit{position:absolute;width:190px;height:190px;left:50%;top:38px;transform:translateX(-50%);border:1px dashed #5b7f6242;border-radius:50%}
.cf-character-floor{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);width:65%;height:5px;border-radius:100%;box-shadow:0 0 18px #bdf5717c;background:#5b93632e}
.cf-character{position:relative;z-index:2;display:block;width:min(226px,100%);height:265px;filter:drop-shadow(0 10px 12px rgba(0,0,0,.27));animation:cf-avatar-idle 4s ease-in-out infinite}
@keyframes cf-avatar-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.cf-pair-symbol{font-family:var(--head);font-size:clamp(34px,5.5vw,66px);color:#d5fa68;align-self:center;justify-self:center;font-weight:900;line-height:1;margin-top:52px;z-index:2;text-shadow:0 2px 15px #d5fa6830}
.cf-character-placeholder{opacity:.43}
.cf-character-placeholder:before{border:2px dashed #577272;box-sizing:border-box;background:rgba(9,27,35,.25);height:229px;top:17px;border-radius:26px}
.cf-ghost-shape{filter:grayscale(1);opacity:.19}
.cf-crosshair{position:absolute;z-index:4;display:grid;place-items:center;width:44px;height:44px;top:98px;left:50%;transform:translateX(-50%);border:1px dashed #9db8ad;border-radius:50%;background:#1b2c33;box-shadow:0 0 0 7px #17293188}
.cf-crosshair span{font-size:25px;color:#d5fa68}
.cf-commander-info{margin:5px 0 0;min-height:57px;max-width:100%}
.cf-commander-info>b{font:900 clamp(18px,2.3vw,26px)/1 var(--head);letter-spacing:.5px;display:block;color:#f1f7f3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cf-commander-info small{color:#91aaa8;display:block;margin-top:9px;font-size:8px;font-weight:800;letter-spacing:.65px;white-space:nowrap}
.cf-you-tag{display:inline-block;background:#dbfa7e;color:#1c2c26;font:900 8px var(--body);padding:3px 5px;border-radius:3px;vertical-align:middle}
.cf-online-dot{display:inline-block;vertical-align:middle;height:7px;width:7px;border-radius:50%;background:#b5ef74;margin-right:3px;box-shadow:0 0 9px #b5ef74a2}
.cf-online-dot.offline{background:#8c9396;box-shadow:none}
.cf-edit-char{background:#1a3430;color:#cffe94;border:1px solid #426857;border-radius:6px;font-size:9px;letter-spacing:.6px;font-weight:900;padding:9px 12px;margin-top:7px;white-space:nowrap}
.cf-edit-char:hover{border-color:#b5ef74}
.cf-hangar-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;flex-wrap:wrap;min-height:95px}
.cf-hangar-bottom>p{margin:0;flex:1 1 185px;color:#96afb0;font-size:11px;line-height:1.6}
.cf-hangar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cf-hangar-primary{min-height:50px;padding:13px 20px!important;font-size:11px!important;letter-spacing:.8px!important}
.cf-hangar-primary span{font-size:17px}
.cf-hub-foot{display:flex;gap:13px;justify-content:space-between;flex-wrap:wrap;color:#6f8b8a;font-size:9px;letter-spacing:.3px;font-weight:900;padding:18px 4px}
.cf-hub-sidebar{min-width:0;display:flex;flex-direction:column;gap:14px}
.cf-social-panel{min-height:300px}
.cf-social-head h3{font-size:25px}
.cf-friends-counter{font-size:9px;color:#d5fa68;letter-spacing:.9px;font-weight:900}
.cf-friends-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #2b4145;padding:0 16px}
.cf-friends-tabs button{background:none;border:none;border-bottom:2px solid transparent;color:#879b9c;font-size:10px;letter-spacing:.5px;font-weight:900;padding:13px 5px}
.cf-friends-tabs button.active{border-color:#d5fa68;color:#e4f3e6}
.cf-friends-tabs button>span{font-size:9px;color:#a1b2b3;margin-left:4px}
.cf-friends-tabs button .cf-request-count{background:#d5fa68;color:#182a25;padding:2px 5px;border-radius:9px}
.cf-friends-body{padding:11px 14px;min-height:118px;max-height:265px;overflow:auto}
.cf-friend-row{display:flex;align-items:center;gap:9px;padding:9px 1px;border-bottom:1px solid #263942}
.cf-friend-row:last-child{border:0}
.cf-friend-portrait{height:40px;width:40px;flex:none;border:1px solid #536d5b;background:linear-gradient(#28473e,#15262d);border-radius:8px;overflow:hidden}
.cf-character-mini{height:54px;width:40px;transform:translateY(-3px) scale(1.12);transform-origin:top center;animation:none}
.cf-friend-details{flex:1;min-width:0}
.cf-friend-details b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#e8f1ef}
.cf-friend-details small{font-size:8px;letter-spacing:.3px;color:#8a9fa3;display:block;margin-top:5px;white-space:nowrap}
.cf-friend-details .cf-online-dot{height:5px;width:5px}
.cf-friend-actions{display:flex;align-items:center;gap:4px}
.cf-friend-small,.cf-copy-small{border:1px solid #3e5956;color:#b4cbca;background:#1c2d32;border-radius:6px;font-size:9px;font-weight:900;padding:7px 8px;white-space:nowrap}
.cf-friend-small:hover:not(:disabled),.cf-copy-small:hover{border-color:#d5fa68;color:#d5fa68}
.cf-friend-small.invite,.cf-friend-small.accept{color:#d5fa68}
.cf-friend-small:disabled{opacity:.4}
.cf-friends-empty{color:#b3c4c1;text-align:center;font-size:10px;font-weight:900;letter-spacing:.5px;display:flex;flex-direction:column;gap:6px;padding:20px 6px}
.cf-friends-empty small{font-weight:500;color:#789398;font-size:10px;line-height:1.5}
.cf-pending-request{display:flex;justify-content:space-between;gap:6px;padding:7px 0;font-size:10px;color:#dde5de}
.cf-pending-request span{color:#849d99;font-size:8px}
.cf-friend-add{border-top:1px solid #30474d;background:#14262b;padding:16px}
.cf-friend-add .cf-field{margin:9px 0 13px}
.cf-friend-mycode{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#839b9d;font-size:9px;font-weight:900;letter-spacing:.4px}
.cf-friend-mycode b{color:#d5fa68;letter-spacing:1.5px;font-size:11px;margin-left:4px}
.cf-quick-join .cf-pad{padding:16px}.cf-quick-join .cf-panel-hdr h3{font-size:23px}
.cf-quick-join-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
.cf-quick-join-buttons .cf-btn{font-size:9px;padding:10px 5px;white-space:normal}
.cf-hub-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.cf-hub-stats>div{border:1px solid #334a4b;background:#15272c;border-radius:8px;padding:14px 12px;display:flex;flex-direction:column;gap:7px}
.cf-hub-stats>div>span{font-size:8px;color:#87a3a1;letter-spacing:1px;font-weight:900}
.cf-hub-stats b{font:900 26px var(--head);color:#eef8ed}.cf-hub-stats b small{font:800 9px var(--body);color:#9cb5b5}
.cf-lobby-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.cf-lobby-indicator{font-size:9px;color:#b6cec1;letter-spacing:.9px;font-weight:900}
.cf-room-invite{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;border:1px dashed #678e6a;border-radius:9px;padding:12px;background:#172f2b}
.cf-room-invite>div{display:flex;flex-direction:column;gap:5px}
.cf-room-invite strong{font:900 34px var(--head);letter-spacing:3px;color:#d5fa68}
.cf-room-hangar .cf-hangar-bottom{display:flex;flex-direction:column;align-items:stretch}
.cf-room-hangar .cf-hangar-bottom>button{width:100%}
.cf-room-fact{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #2e4549;padding:12px 0}
.cf-room-fact span{font-size:9px;color:#839d9d;font-weight:900}
.cf-room-fact b{font-size:10px;color:#e1f1eb;font-weight:900;text-align:right}
.cf-room-details .cf-btn{margin:12px 0 0}
.cf-wait-indicator{display:flex;align-items:center;gap:13px}
.cf-wait-indicator .cf-search-spinner{flex:none;height:30px;width:30px;margin:0;border-width:3px}
.cf-wait-indicator span:not(.cf-search-spinner){font-size:11px;font-weight:900;color:#d6f0c8}
.cf-wait-indicator small{display:block;color:#89a3a0;margin-top:5px;font-size:10px;font-weight:500}
.cf-invite-banner{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:14px 18px;background:#283f2b;border:1px solid #b5ed6d;border-radius:10px}
.cf-invite-icon{font-size:24px;color:#d5fa68}
.cf-invite-banner>div{flex:1;min-width:0}
.cf-invite-banner b{display:block;color:#f1f8ed;font-size:12px}
.cf-invite-banner small{display:block;color:#b2ccb4;font-size:9px;margin-top:4px}
.cf-account-character{display:flex;align-items:center;gap:11px;background:#1b302f;border:1px solid #3a5752;padding:10px;border-radius:10px;margin-bottom:22px}
.cf-account-character svg{border-radius:8px;background:#293e3f}
.cf-account-character>div{flex:1}.cf-account-character b{display:block;font:900 20px var(--head)}.cf-account-character small{font-size:10px;color:#9eb7b4}
/* Character builder */
.cf-custom-backdrop{position:fixed;z-index:1100;inset:0;background:rgba(4,11,15,.89);display:grid;place-items:center;padding:16px;overflow-y:auto;backdrop-filter:blur(8px)}
.cf-custom-modal{width:min(900px,100%);max-height:min(92vh,1000px);overflow:auto;border:1px solid #5c7d61;background:#101f26;border-radius:15px;box-shadow:0 30px 100px #000a}
.cf-custom-top{padding:22px 26px;border-bottom:1px solid #314951;display:flex;justify-content:space-between;gap:13px;align-items:start}
.cf-custom-top h2{font:900 clamp(32px,4vw,48px)/.95 var(--head);margin:8px 0 0}
.cf-custom-top h2 em{font-style:normal;color:var(--accent)}
.cf-custom-close{background:#263b3f;border:1px solid #47635f;border-radius:8px;padding:9px 13px}
.cf-custom-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;padding:22px}
.cf-custom-preview{background:radial-gradient(ellipse at 50% 43%,#2d5146,#12282d 67%);border:1px solid #47675a;border-radius:12px;padding:19px 16px;text-align:center;display:flex;align-items:center;flex-direction:column;min-height:360px}
.cf-preview-char{display:grid;place-items:center;height:276px;width:100%;overflow:hidden}
.cf-character-preview{height:265px;width:225px}
.cf-preview-name{font:900 31px var(--head);color:#f3f8ed}
.cf-custom-preview>small{font-size:8px;letter-spacing:1.6px;color:#8bac9c;margin-top:6px;font-weight:900}
.cf-custom-controls{min-width:0}
.cf-custom-field{padding:0 0 16px;margin-bottom:14px;border-bottom:1px solid #2b4247}
.cf-custom-field:last-child{border:0;margin:0}
.cf-custom-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.cf-custom-option{background:#15262c;border:1px solid #344d53;color:#a2b8b7;border-radius:7px;min-height:35px;padding:8px 10px;font-size:9px;font-weight:900;letter-spacing:.3px;display:flex;align-items:center;gap:7px}
.cf-custom-option.selected{color:#edffd5;background:#2b402d;border-color:var(--accent)}
.cf-custom-option i{width:16px;height:16px;border-radius:50%;border:1px solid #ffffff66;flex:none}
.cf-custom-footer{border-top:1px solid #314951;padding:15px 22px;display:flex;align-items:center;gap:10px;justify-content:flex-end}
.cf-custom-footer span{font-size:10px;color:#829d9e;margin-right:auto;max-width:320px;line-height:1.5}
@media(max-width:1190px){.cf-hub-layout{grid-template-columns:minmax(0,1fr) 295px}.cf-mode-tab{padding:12px 8px;gap:7px}.cf-mode-tab-icon{width:33px;height:33px}.cf-mode-tab-copy b{font-size:11px}.cf-hangar-stage{padding:20px 13px 8px}.cf-commander-pair{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)}.cf-pair-symbol{font-size:40px}}
@media(max-width:940px){.cf-hub-layout{grid-template-columns:1fr}.cf-hub-sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.cf-hub-stats{grid-column:1 / -1}.cf-mode-tab-copy b{font-size:12px}.cf-hangar-stage{padding:24px 16px 12px}.cf-hangar-bottom{gap:16px}}
@media(max-width:680px){.cf-mode-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.cf-mode-tab{min-height:67px;padding:10px}.cf-hub-intro{align-items:flex-start}.cf-hub-counter{padding:10px}.cf-hub-counter b{font-size:32px}.cf-hub-counter span{font-size:8px}.cf-hub-intro h2{font-size:51px}.cf-hub-intro p{font-size:10px}.cf-hub-sidebar{grid-template-columns:1fr}.cf-hub-stats{grid-column:auto}.cf-hangar-heading{padding:16px}.cf-hangar-heading h3{font-size:32px}.cf-hangar-session{font-size:8px;padding:8px}.cf-hangar-bottom{padding:16px}.cf-hangar-actions{width:100%}.cf-hangar-primary{flex:1}.cf-custom-layout{grid-template-columns:1fr;gap:13px}.cf-custom-preview{min-height:220px}.cf-preview-char{height:205px}.cf-character-preview{width:180px;height:205px}.cf-custom-top{padding:18px}.cf-custom-layout{padding:15px}.cf-custom-footer{padding:15px;flex-wrap:wrap}.cf-custom-footer span{flex:1 1 100%;max-width:none}}
@media(max-width:460px){.cf-online-active #cfOnline{padding-top:20px}.cf-online-nav{gap:4px}.cf-nav-link{padding:9px 8px;font-size:8px;letter-spacing:.3px}.cf-nav-classic{font-size:8px;padding:8px}.cf-nav-spacer{display:none}.cf-hub-intro h2{font-size:44px}.cf-hub-intro p{max-width:240px}.cf-hub-counter{gap:7px;padding:8px}.cf-hub-counter b{font-size:28px}.cf-hub-counter span{font-size:7px}.cf-mode-tab-icon{width:28px;height:28px;font-size:16px}.cf-mode-tab-copy b{font-size:10px}.cf-mode-tab-copy small{font-size:7px}.cf-hangar-heading h3{font-size:28px}.cf-hangar-stage{padding:17px 4px 12px}.cf-commander-pair{grid-template-columns:minmax(0,1fr) 29px minmax(0,1fr)}.cf-pair-symbol{font-size:30px}.cf-slot-label{font-size:10px}.cf-slot-label span{font-size:7px}.cf-character-frame{height:215px}.cf-character-frame:before{height:195px}.cf-character{width:150px;height:210px}.cf-character-orbit{width:139px;height:139px}.cf-commander-info>b{font-size:19px}.cf-commander-info small{font-size:7px;white-space:normal}.cf-edit-char{font-size:8px;padding:8px}.cf-commander-info{min-height:55px}.cf-hangar-bottom>p{flex-basis:100%}.cf-hangar-primary{font-size:10px!important;padding:10px 12px!important}.cf-hub-foot{gap:9px;font-size:8px}.cf-character-placeholder:before{height:195px}.cf-crosshair{top:70px}.cf-hangar-session{font-size:7px;white-space:normal;max-width:100px;text-align:center}.cf-lobby-toolbar{flex-wrap:wrap}.cf-room-invite strong{font-size:27px;letter-spacing:2px}.cf-room-invite .cf-btn{font-size:9px;padding:10px}.cf-invite-banner{flex-wrap:wrap}}
@media(max-width:350px){.cf-hub-intro h2{font-size:37px}.cf-mode-tab-copy b{font-size:9px}.cf-mode-tab-copy small{font-size:6px}.cf-hangar-heading h3{font-size:25px}.cf-character{width:129px;height:191px}.cf-character-frame{height:193px}.cf-character-frame:before{height:173px}}
@media(prefers-reduced-motion:reduce){.cf-character{animation:none!important}}
/* Tiny-screen typography and character framing refinements */
@media(max-width:680px){.cf-hangar-stage:before{display:none}}
@media(max-width:460px){
 .cf-commander-info>b{font-size:clamp(15px,4.2vw,18px);white-space:normal;word-break:break-word;overflow:visible;line-height:1.05}
 .cf-commander-info{min-height:57px;max-width:100%}
 .cf-you-tag{display:none}
 .cf-hub-intro .cf-kicker{font-size:8px;letter-spacing:1px}
}
/* Override the stage character sizes for tiny friend-list portraits. */
.cf-friend-portrait .cf-character-mini,.cf-account-character .cf-character-mini{width:40px!important;height:54px!important;min-width:40px;transform:translateY(-3px) scale(1.12);transform-origin:top center;animation:none!important}
/* COUNTRY FORGE v7: identities, enhanced character creator and ranked divisions */
.cf-ranked-strip{display:grid;grid-template-columns:1.1fr 1fr 1.25fr auto;gap:10px;margin:0 0 16px;align-items:stretch}
.cf-ranked-strip>div{min-width:0;border:1px solid #3a5150;border-radius:10px;background:linear-gradient(135deg,#1a2f30,#122129);padding:12px 14px;display:flex;align-items:center;gap:10px}
.cf-ranked-strip small{font-size:8px;letter-spacing:1.15px;font-weight:900;color:#8ba6a2;display:block;margin-bottom:6px}
.cf-ranked-strip b{display:block;color:#eef8f0;font-size:12px;letter-spacing:.15px;overflow-wrap:anywhere}
.cf-ranked-strip em{font-style:normal;color:#b4caab;font-weight:700;font-size:10px;margin-left:3px}
.cf-ranked-strip .cf-identity-avatar{width:38px;height:41px;display:grid;place-items:center;border:1px solid #55755a;background:#1d3637;border-radius:9px;overflow:hidden;flex:none}
.cf-ranked-strip .cf-identity-avatar svg{height:45px;width:40px;animation:none}
.cf-ranked-strip .cf-ranked-identity>span:nth-child(2){flex:1;min-width:0}
.cf-identity-edit{border:1px solid #5e8558;border-radius:6px;background:#1c382d;color:var(--accent);padding:7px 9px}
.cf-rank-summary>span:last-child{min-width:0}
.cf-rank-emblem{--rank-color:#ca8869;display:inline-flex;position:relative;align-items:center;justify-content:center;flex:none;width:54px;height:57px;filter:drop-shadow(0 2px 4px #0008);color:var(--rank-color)}
.cf-rank-emblem-outer{font:900 60px/1 Georgia,serif;text-shadow:0 0 18px color-mix(in srgb,var(--rank-color),transparent 75%);filter:drop-shadow(0 0 1px #000)}
.cf-rank-emblem-inner{position:absolute;font:900 20px/1 Georgia,serif;color:#0d1921;text-shadow:0 1px 1px #fff5;transform:translateY(-1px)}
.cf-rank-emblem-small{width:34px;height:39px}.cf-rank-emblem-small .cf-rank-emblem-outer{font-size:41px}.cf-rank-emblem-small .cf-rank-emblem-inner{font-size:12px}
.cf-rank-emblem-tiny{width:21px;height:21px}.cf-rank-emblem-tiny .cf-rank-emblem-outer{font-size:24px}.cf-rank-emblem-tiny .cf-rank-emblem-inner{font-size:9px}
.cf-rank-emblem-large{width:150px;height:159px}.cf-rank-emblem-large .cf-rank-emblem-outer{font-size:180px}.cf-rank-emblem-large .cf-rank-emblem-inner{font-size:55px}
.cf-rank-toggle-wrap>span{min-width:0;flex:1}.cf-ranked-strip .cf-rank-toggle-wrap small{line-height:1.3;letter-spacing:.15px;font-weight:600;font-size:9px;margin-top:4px;margin-bottom:0}
.cf-ranked-strip .cf-toggle{flex:none}
.cf-ranked-strip .cf-arcade-tiny{gap:13px}.cf-ranked-strip .cf-arcade-tiny span{font-size:9px;font-weight:900;letter-spacing:.7px;white-space:nowrap}
.cf-commander-info .cf-commander-rank{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:8px;color:#bdd6cb;letter-spacing:1px;font-weight:900;margin-top:3px}
.cf-commander-info .cf-commander-rank .cf-rank-emblem{transform:scale(.8)}
.cf-commander-info small{overflow-wrap:anywhere}
.cf-hangar-stage .cf-character-frame{filter:saturate(1.06)}
.cf-friend-details small{white-space:normal}
.cf-friend-portrait svg{max-height:55px}
/* Identity dialog */
.cf-username-modal{width:min(520px,100%);background:radial-gradient(ellipse at 85% 0%,#26453b,#102128 62%);border:1px solid #5d8563;border-radius:17px;padding:30px;box-shadow:0 30px 95px #000c}
.cf-username-modal h2{font:900 clamp(35px,5.5vw,55px)/.92 var(--head);margin:10px 0 12px;letter-spacing:.3px;color:#fff}
.cf-username-modal h2 span{color:var(--accent)}
.cf-username-modal p{color:#a6c3b7;font-size:12px;line-height:1.6;max-width:380px}
.cf-handle-input{display:flex;align-items:center;gap:7px;background:#09171b;border:1px solid #5b7e62;border-radius:9px;padding:4px 10px;margin:26px 0 9px;min-height:60px}
.cf-handle-input span{font:900 31px var(--head);color:var(--accent)}
.cf-handle-input .cf-input{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff;font:700 20px var(--body);width:100%;letter-spacing:.2px;outline:none}
.cf-username-rules{color:#9bb6a8;font-size:10px;line-height:1.7}
.cf-username-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin-top:19px}
.cf-username-error{color:#ffb8ad;font-size:11px;padding:11px;background:#482a2d;border-radius:6px;margin-top:10px}
.cf-username-note{font-size:10px;color:#839e9b;border-top:1px solid #39554d;margin-top:25px;padding-top:15px;line-height:1.6}
.cf-account-handle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid #435e53;border-radius:10px;background:#1a302e;margin:0 0 18px}
.cf-account-handle>div{min-width:0}.cf-account-handle small{display:block;font-size:9px;color:#99bbb4;letter-spacing:.9px}.cf-account-handle b{display:block;font-size:18px;margin-top:4px;overflow-wrap:anywhere}
/* Larger, more detailed 2.5D portrait character editor */
.cf-v7-custom.cf-custom-modal{width:min(1120px,100%);max-height:min(95vh,1050px);background:#101e26;border-color:#557660}
.cf-v7-custom .cf-custom-top h2{font-size:clamp(37px,4.1vw,56px)}
.cf-v7-custom .cf-custom-top p{font-size:11px;color:#96b2a5;margin:12px 0 0}
.cf-v7-custom .cf-custom-layout{grid-template-columns:minmax(0,355px) minmax(0,1fr);gap:15px;padding:18px}
.cf-v7-custom .cf-custom-preview{min-height:530px;border-color:#52755e;background:radial-gradient(circle at 48% 46%,#2b5545,#142a32 62%);padding:18px 15px 13px;overflow:hidden;position:relative}
.cf-v7-custom .cf-custom-preview:before{content:'';height:240px;width:240px;border:1px dashed #a8e58e35;border-radius:100%;position:absolute;top:110px;left:50%;transform:translateX(-50%);pointer-events:none}
.cf-custom-preview-head{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#a1c0aa}
.cf-custom-preview-live{font-size:8px;letter-spacing:.5px;color:#b9f26d;font-weight:900}
.cf-v7-custom .cf-preview-char{height:350px;max-height:350px;position:relative;overflow:visible}
.cf-v7-custom .cf-character-preview{width:265px;height:325px;max-width:100%;filter:drop-shadow(0 14px 18px #0006)}
.cf-v7-custom .cf-preview-name{font-size:clamp(26px,3vw,36px);margin-top:0}
.cf-custom-handle{color:#b4ed84;font-size:11px;font-weight:900;letter-spacing:.7px;margin-top:5px}
.cf-preview-stats{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap;justify-content:center}
.cf-preview-stats span{padding:7px 9px;background:#182c30;border:1px solid #395b51;border-radius:5px;color:#a7c2b2;font-size:8px;letter-spacing:.7px;font-weight:900}
.cf-custom-config{min-width:0;border:1px solid #344e4e;border-radius:10px;background:#13252b;overflow:hidden;display:flex;flex-direction:column}
.cf-avatar-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:#0d1b22;padding:7px;border-bottom:1px solid #35544a}
.cf-avatar-tabs button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 3px;border:1px solid transparent;border-radius:7px;color:#9db3af;font-size:9px;font-weight:900;letter-spacing:.6px}
.cf-avatar-tabs button span{font-size:20px;line-height:1.1}
.cf-avatar-tabs button:hover{background:#203731;color:#d5f7c8}
.cf-avatar-tabs button.active{background:#273e31;color:var(--accent);border-color:#82aa59}
.cf-v7-custom .cf-custom-controls{padding:19px 17px 6px;max-height:405px;overflow-y:auto;scrollbar-color:#5c8067 #13252b}
.cf-v7-custom .cf-custom-field{margin-bottom:16px;padding:0 0 13px}
.cf-custom-label{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cf-custom-label span{font-size:9px;font-weight:900;letter-spacing:1.2px;color:#a6c2bb}
.cf-custom-label em{font-style:normal;font-size:9px;font-weight:900;color:var(--accent);letter-spacing:.6px}
.cf-v7-custom .cf-custom-option{min-height:36px;min-width:68px;justify-content:center;padding:8px 9px;border-radius:7px;font-size:8.5px;flex-direction:column;gap:6px;white-space:normal;line-height:1.1}
.cf-v7-custom .cf-custom-options{gap:7px;margin-top:12px}
.cf-v7-custom .cf-custom-option.is-swatch{min-width:67px}
.cf-v7-custom .cf-custom-option i{width:24px;height:24px;box-shadow:inset 0 -5px 6px #0003}
.cf-v7-custom .cf-custom-option.selected{box-shadow:inset 0 0 0 1px #aacd6f}
.cf-creator-quick{padding:12px 17px;background:#0e1c24;display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid #365047;margin-top:auto}
.cf-creator-quick .cf-btn{font-size:9px}.cf-creator-quick span{margin-left:auto;color:#72918e;font-size:9px;font-weight:800}
.cf-v7-custom .cf-custom-footer{gap:10px;flex-wrap:wrap}
/* Ranked ladder */
.cf-ranks-intro{display:flex;justify-content:space-between;align-items:end;gap:17px;margin:15px 0 22px}
.cf-ranks-intro h2{font:900 clamp(40px,5vw,66px)/.95 var(--head);color:#f2f9f3;margin:9px 0 10px}.cf-ranks-intro h2 span{color:var(--accent)}
.cf-ranks-intro p{font-size:12px;color:#9eb8af;line-height:1.6;margin:0}
.cf-rank-mode-switch{display:flex;gap:5px;background:#13262d;padding:5px;border:1px solid #3d5952;border-radius:9px;flex:none}
.cf-rank-mode-switch button{font-size:10px;font-weight:900;letter-spacing:.8px;color:#98b0a9;border-radius:6px;padding:13px 18px}
.cf-rank-mode-switch button.active{color:#102022;background:var(--accent)}
.cf-ranked-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;align-items:start;gap:15px}
.cf-ranked-page-layout main{min-width:0;display:flex;flex-direction:column;gap:15px}
.cf-rank-hero{display:flex;align-items:center;gap:17px;position:relative;background:radial-gradient(ellipse at 17% 52%,#2a4540,#192a2f 49%,#10202a 100%);border:1px solid #607763;border-radius:14px;min-height:210px;padding:22px 26px;overflow:hidden}
.cf-rank-hero:before{content:'RANKED // COUNTRY FORGE';position:absolute;right:18px;top:16px;color:#59766c;font-size:8px;font-weight:900;letter-spacing:1.7px}
.cf-rank-hero-emblem{flex:none;width:170px;display:grid;place-items:center}
.cf-rank-hero-info{flex:1;min-width:0;z-index:1}
.cf-rank-hero h3{font:900 clamp(37px,4vw,58px)/1 var(--head);margin:7px 0}
.cf-rank-rating b{font:900 36px var(--head);color:#e9f8f0}.cf-rank-rating span{font-size:9px;color:#9db5a9;letter-spacing:1px;font-weight:900;margin-left:7px}
.cf-rp-track{height:10px;border:1px solid #436057;background:#0a1920;overflow:hidden;border-radius:20px;margin-top:16px}.cf-rp-track i{display:block;height:100%;border-radius:20px}
.cf-rp-track-label{display:flex;justify-content:space-between;gap:8px;font-size:8px;font-weight:900;color:#a4bcb0;letter-spacing:.3px;margin-top:7px}
.cf-ranked-leaderboard .cf-panel-hdr{padding:18px 22px}
.cf-rank-rows{padding:9px 17px 17px}
.cf-rank-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #30484a;padding:11px 9px;min-width:0}
.cf-rank-row:last-child{border-bottom:0}
.cf-rank-place{font:900 21px var(--head);width:41px;color:#8eb5ad}
.cf-rank-row-avatar{width:37px;height:41px;flex:none;border-radius:7px;overflow:hidden;background:#25443c;border:1px solid #466456;display:grid;place-items:center}
.cf-rank-row-avatar svg{width:39px;height:52px;animation:none;transform:translateY(2px)}
.cf-rank-player{flex:1;min-width:0}.cf-rank-player b{display:block;font-size:12px;color:#eff9f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cf-rank-player small{display:block;color:#8eaaa0;font-size:10px;margin-top:4px}
.cf-leader-tier{font-size:9px;font-weight:900;letter-spacing:.65px}
.cf-leader-points{text-align:right;min-width:50px}.cf-leader-points b{font:900 24px var(--head)}.cf-leader-points small{display:block;font-size:8px;color:#96aaae;font-weight:900}
.cf-rank-empty{padding:40px 16px;color:#aec6bb;text-align:center;font-size:13px;font-weight:900;letter-spacing:1px}.cf-rank-empty small{display:block;margin-top:10px;font-size:10px;font-weight:400;letter-spacing:0}
.cf-rank-aside{display:flex;flex-direction:column;gap:15px}
.cf-tier-list{padding:10px 17px}
.cf-tier-row{display:flex;gap:8px;align-items:center;padding:10px 7px;border-bottom:1px solid #293e42;font-size:11px;color:#dbeae4}
.cf-tier-row:last-child{border:0}
.cf-tier-row.current{background:#253c31;border-radius:7px;border:1px solid #7ba252}
.cf-tier-dot{color:var(--rank-color);font-size:24px;width:25px;filter:drop-shadow(0 2px 3px #0009)}
.cf-tier-row b{flex:1}.cf-tier-row small{color:#96b0a7;font-size:9px}
.cf-rank-disclaimer{margin:0;padding:0 6px}
.cf-result-rank-change{margin:16px auto 0;border:1px solid #638b60;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:12px;background:#192c2b;padding:7px 14px;max-width:max-content}
.cf-result-rank-change b{font-size:11px;color:#edfbe4}.cf-result-rank-change span.gain{color:#bcf67c;font-size:15px;font-weight:900}.cf-result-rank-change span.loss{color:#ffa9a3;font-size:15px;font-weight:900}
@media(max-width:1080px){.cf-ranked-strip{grid-template-columns:1fr 1fr}.cf-ranked-strip>div{padding:12px}.cf-ranked-page-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:800px){.cf-ranked-page-layout{grid-template-columns:1fr}.cf-rank-aside{display:grid;grid-template-columns:1fr 1fr}.cf-rank-disclaimer{grid-column:1/-1}}
@media(max-width:680px){.cf-v7-custom .cf-custom-layout{grid-template-columns:1fr}.cf-v7-custom .cf-custom-preview{min-height:270px;padding:10px}.cf-v7-custom .cf-preview-char{height:205px;max-height:205px}.cf-v7-custom .cf-character-preview{width:170px;height:210px}.cf-v7-custom .cf-custom-preview:before{width:170px;height:170px;top:29px}.cf-v7-custom .cf-custom-top{padding:16px}.cf-v7-custom .cf-custom-top h2{font-size:37px}.cf-v7-custom .cf-custom-top p{margin:5px 0 0}.cf-v7-custom .cf-custom-controls{max-height:235px}.cf-v7-custom .cf-custom-layout{padding:10px;gap:10px}.cf-preview-stats{margin-top:8px}.cf-ranks-intro{align-items:start;flex-direction:column}.cf-rank-hero{padding:14px;gap:6px}.cf-rank-hero-emblem{width:105px}.cf-rank-hero-emblem .cf-rank-emblem-large{transform:scale(.72);transform-origin:center}.cf-rank-aside{grid-template-columns:1fr 1fr}}
@media(max-width:490px){.cf-ranked-strip{gap:6px}.cf-ranked-strip>div{padding:8px;gap:6px}.cf-ranked-strip b{font-size:10px}.cf-ranked-strip em{display:block;margin-left:0}.cf-ranked-strip small{font-size:7px}.cf-ranked-strip .cf-ranked-identity{grid-column:1/-1}.cf-ranked-strip .cf-rank-summary{grid-column:1/-1}.cf-ranked-strip .cf-rank-toggle-wrap{min-height:74px}.cf-ranked-strip .cf-arcade-tiny{flex-direction:column;justify-content:center;gap:8px}.cf-ranked-strip .cf-arcade-tiny span{font-size:8px}.cf-rank-aside{grid-template-columns:1fr}.cf-rank-hero h3{font-size:37px}.cf-rank-hero-emblem{width:75px}.cf-rank-hero-emblem .cf-rank-emblem-large{transform:scale(.51)}.cf-rank-rating b{font-size:26px}.cf-rank-rating span{font-size:7px}.cf-rank-hero:before{display:none}.cf-leader-tier{font-size:8px}.cf-rank-place{width:26px}.cf-rank-row{gap:7px;padding:10px 3px}.cf-username-modal{padding:21px}.cf-avatar-tabs button{font-size:7px;letter-spacing:0}.cf-avatar-tabs button span{font-size:17px}.cf-v7-custom .cf-custom-option{min-width:61px;font-size:7.5px}.cf-v7-custom .cf-custom-top h2{font-size:31px}}
/* Prevent base-site button defaults from making unselected editor tabs white. */
.cf-v7-custom .cf-avatar-tabs button{background:#16282e!important;color:#9fbeb1!important;border-color:transparent!important}
.cf-v7-custom .cf-avatar-tabs button.active{background:#2a4334!important;color:#d5fa68!important;border-color:#83ad5d!important}
.cf-v7-custom .cf-avatar-tabs button:hover:not(.active){background:#29433b!important;color:#e5f9d4!important}
.cf-rank-mode-switch button{background:#183039!important;color:#bad3c7!important}
.cf-rank-mode-switch button.active{background:var(--accent)!important;color:#10221d!important}
@media(max-width:490px){
 .cf-rank-hero{flex-direction:column;text-align:center;padding:17px 17px 22px;gap:3px}
 .cf-rank-hero-emblem{width:100%;height:94px;display:grid;place-items:center}
 .cf-rank-hero-emblem .cf-rank-emblem-large{transform:scale(.61);transform-origin:center}
 .cf-rank-hero-info{width:100%}
 .cf-rank-hero h3{font-size:40px;margin-top:4px}
 .cf-rank-hero .cf-rank-rating span{font-size:9px}
 .cf-rp-track-label{font-size:7px}
}
.cf-identity-edit{white-space:nowrap;font-size:10px;font-weight:900}
@media(max-width:490px){.cf-rank-hero-info{margin-top:9px}}

/* v8 · mission assignment, synchronized draft, friend-first lobby */
.cf-v8-battle-head h2{font-family:var(--head);font-size:clamp(28px,4.1vw,52px);letter-spacing:.2px;line-height:1.05;margin:8px 0;color:#f0f8f3}
.cf-v8-battle-head p{font-size:12px;color:#acc2be;max-width:730px;line-height:1.75;margin:7px 0 0}
.cf-v8-role-strip{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:stretch;margin:18px 0}
.cf-v8-role-strip>div:not(.cf-v8-live-icon){min-width:0;display:flex;align-items:center;gap:14px;border:1px solid #41565a;background:linear-gradient(116deg,#1a2e34,#102029);padding:15px 20px;border-radius:13px}
.cf-v8-role-strip .offense{border-color:#ad725a!important;background:linear-gradient(112deg,#442a2b,#192730)!important}
.cf-v8-role-strip .defense{border-color:#6a9a8c!important;background:linear-gradient(112deg,#213d41,#16252d)!important}
.cf-v8-role-strip>div>span{font-size:29px;line-height:1;color:#d8edc9}
.cf-v8-role-strip small{display:block;font-size:9px;letter-spacing:1.5px;color:#b5c1c3;margin-bottom:5px}
.cf-v8-role-strip b{display:block;font-family:var(--head);font-size:clamp(18px,2vw,26px);line-height:1.05;color:#f7fbf5;white-space:normal}
.cf-v8-live-icon{display:grid;place-items:center;text-align:center;font-size:9px;font-weight:900;letter-spacing:1.2px;color:#d5fa68;padding:0 4px;max-width:132px}
.cf-v8-teamline .cf-team{background:#121e27}
.cf-v8-draft-layout{grid-template-columns:minmax(0,360px) minmax(0,260px) minmax(0,1fr);gap:15px;align-items:start}
.cf-v8-draft-layout .cf-machine{min-width:0}
.cf-v8-draft-layout .cf-board{display:grid;grid-template-columns:1fr;gap:8px}
.cf-v8-draft-layout .cf-slot{min-height:64px}
.cf-v8-plans{height:100%;min-width:0}
.cf-v8-plans .cf-panel-hdr{padding:16px 17px;flex-wrap:wrap}
.cf-v8-plans .cf-panel-hdr h3{font-size:clamp(19px,2vw,26px)}
.cf-v8-plans .cf-pad{padding:15px}
.cf-v8-plan-grid{display:grid;gap:8px;margin-top:15px}
.cf-v8-plan{text-align:left;border:1px solid #304e53;border-radius:9px;padding:13px 12px;background:#0b1921;display:flex;justify-content:space-between;align-items:center;gap:7px;color:#d6e5dd;font-size:10px;font-weight:900;letter-spacing:.7px;min-height:46px}
.cf-v8-plan:hover:not(:disabled){border-color:#aadf7b;background:#182f2b}
.cf-v8-plan.selected{border-color:#b9e87f;color:#d8fda2;background:linear-gradient(120deg,#23412e,#16272a)}
.cf-v8-plan b{font-size:8px;color:#cfff81;white-space:nowrap}
.cf-v8-plan:disabled{opacity:.64}
.cf-v8-time{float:right;font-size:17px;color:#dbffa0;font-family:var(--head);letter-spacing:1px}
.cf-v8-time-track{background:#2d4446;border-radius:30px;height:5px;overflow:hidden;margin:13px 0 4px}
.cf-v8-time-track i{display:block;background:linear-gradient(90deg,#b4e769,#edfbb1);height:100%;border-radius:30px;transition:width .12s linear}
.cf-v8-auto-note{border-top:1px solid #293a3c;padding-top:12px;margin-top:12px!important;line-height:1.6;font-size:10px}
.cf-squad-switch{margin:9px 0 17px;border:1px solid #364b4c;border-radius:12px;padding:15px;background:#0a1820}
.cf-squad-switch>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.cf-squad-switch button{min-width:0;line-height:1.4;padding:12px 8px;background:#15242a;color:#b6c9c8;border:1px solid #3e5559;border-radius:8px;font-size:11px;font-weight:900;letter-spacing:.4px}
.cf-squad-switch button.selected{background:#294338;border-color:#cefe88;color:#ecffcb}
.cf-squad-switch button:disabled{opacity:.7}
.cf-squad-switch p{font-size:10px;color:#9cb1b2;line-height:1.5;margin:9px 0 0}
.cf-squad-actions{text-align:center}
.cf-squad-actions .cf-hangar-primary{width:100%;min-height:56px}
.cf-v8-reveal,.cf-v8-simulation{position:relative;overflow:hidden;min-height:530px;margin:6px auto 30px;border:1px solid #435a54;border-radius:22px;padding:clamp(22px,4vw,58px) 20px;text-align:center;background:radial-gradient(ellipse at 50% 48%,#244037 0%,#12222b 48%,#0a151d 90%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;isolation:isolate}
.cf-v8-reveal:before,.cf-v8-simulation:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#a1d58010 1px,transparent 1px),linear-gradient(90deg,#a1d58010 1px,transparent 1px);background-size:55px 55px;mask-image:linear-gradient(90deg,transparent,black,transparent);z-index:-1;pointer-events:none}
.cf-v8-reveal h2,.cf-v8-simulation h2{font-family:var(--head);font-size:clamp(38px,5.4vw,84px);line-height:1.02;margin:0;color:#f4fff7}
.cf-v8-reveal h2 em,.cf-v8-simulation h2 em{font-style:normal;color:var(--accent)}
.cf-v8-reveal>p,.cf-v8-simulation>p{color:#aabeb7;font-size:12px;line-height:1.8;margin:0}
.cf-v8-role-pair{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);max-width:880px;width:100%;align-items:center;gap:16px;margin:18px 0 10px}
.cf-v8-role-card{border:1px solid #6d817b;border-radius:16px;background:linear-gradient(130deg,#142731,#0e1b23);padding:22px 16px;display:flex;align-items:center;flex-direction:column;gap:7px;animation:cf-v8-reveal .8s both}
.cf-v8-role-card.defense{animation-delay:.23s;border-color:#438a82}
.cf-v8-role-card.offense{border-color:#9b6458}
.cf-v8-role-card.mine{box-shadow:0 0 30px #cafa7440,inset 0 0 32px #a9f16c13;border-color:var(--accent)}
.cf-v8-role-card>span{font-size:45px;line-height:1}
.cf-v8-role-card small{font-size:9px;letter-spacing:1.5px;color:#9bb0b1}
.cf-v8-role-card strong{font-family:var(--head);font-size:clamp(28px,4vw,49px);color:#eaf6eb;line-height:1}
.cf-v8-role-card p{font-size:9px;letter-spacing:.8px;color:#a2b4b5;margin:0;min-height:25px}
.cf-v8-role-card b{font-size:10px;letter-spacing:1.5px;border-radius:100px;padding:9px 14px;color:#101b17;background:#cff68f}
.cf-v8-role-card:not(.mine) b{background:#344a4e;color:#c4d2cf}
.cf-v8-role-divider{color:#a8c1ae;font-family:var(--head);font-size:26px}
.cf-v8-reveal-footer{display:flex;align-items:center;gap:12px;color:#a0b7b4;font-size:11px;font-weight:800;letter-spacing:1px;margin-top:4px;flex-wrap:wrap;justify-content:center}
.cf-v8-reveal-footer b{color:var(--accent)}
.cf-v8-reveal-footer .cf-search-spinner{width:20px;height:20px;border-width:2px;margin:0}
@keyframes cf-v8-reveal{from{transform:translateY(36px) rotateX(-20deg);opacity:0;filter:blur(6px)}to{transform:none;opacity:1;filter:blur(0)}}
.cf-v8-simulation{min-height:560px}
.cf-v8-sim-graphics{width:225px;height:225px;display:grid;place-items:center;position:relative;margin:14px}
.cf-v8-sim-graphics:before,.cf-v8-sim-graphics:after{content:'';position:absolute;inset:0;border-radius:50%;border:2px dashed #bbf68b88;animation:cf-rotate 7s linear infinite}
.cf-v8-sim-graphics:after{inset:18px;border:3px dotted #c9d7cf66;animation-direction:reverse;animation-duration:4s}
.cf-v8-sim-ring{width:147px;height:147px;border-radius:50%;background:radial-gradient(circle,#2d5a4a,#10242b);box-shadow:0 0 75px #ceef7760;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #a5d17b}
.cf-v8-sim-ring span{font-size:48px}.cf-v8-sim-ring small{font-size:9px;letter-spacing:1px;font-weight:900;color:#e3fbbb}
.cf-v8-sim-stages{display:flex;justify-content:space-between;gap:14px;width:min(610px,100%);color:#a0b9b1;font-weight:900;font-size:9px;letter-spacing:1px}
.cf-v8-sim-progress{height:11px;max-width:610px;width:100%;background:#1e3838;border:1px solid #5b8378;border-radius:100px;overflow:hidden}
.cf-v8-sim-progress>i{display:block;height:100%;background:linear-gradient(90deg,#629e75,#d5f96e);transition:width .12s linear;box-shadow:0 0 20px #c4ff7f}
.cf-v8-sim-bottom{display:flex;gap:20px;color:#b9c8c4;font-size:10px;font-weight:900;letter-spacing:1px}
.cf-v8-sim-bottom b{color:#c9f383}
.cf-v8-final-roles{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;text-align:center;border:1px solid #3d5555;background:#162a2a;border-radius:12px;padding:17px 22px;margin:24px 0}
.cf-v8-final-roles b{color:var(--accent);font-family:var(--head);font-size:24px}
.cf-v8-final-roles span{font-size:11px;font-weight:900;color:#c0d4ca}
@media(max-width:1170px){.cf-v8-draft-layout{grid-template-columns:minmax(0,340px) minmax(0,240px) minmax(0,1fr)}.cf-v8-role-strip{gap:8px}.cf-v8-role-strip>div:not(.cf-v8-live-icon){padding:13px}}
@media(max-width:990px){.cf-v8-draft-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cf-v8-draft-layout>div:last-child{grid-column:1/-1}.cf-v8-role-strip{grid-template-columns:1fr 1fr}.cf-v8-live-icon{grid-column:1/-1;grid-row:2;max-width:none;padding:8px}.cf-v8-role-strip>div:nth-child(3){grid-column:2;grid-row:1}.cf-v8-role-pair{gap:7px}}
@media(max-width:650px){.cf-v8-draft-layout{grid-template-columns:1fr}.cf-v8-draft-layout>div:last-child{grid-column:auto}.cf-v8-role-strip>div:not(.cf-v8-live-icon){gap:6px;flex-wrap:wrap}.cf-v8-role-strip b{font-size:18px}.cf-v8-role-strip>div>span{font-size:25px}.cf-v8-reveal,.cf-v8-simulation{padding:28px 13px;min-height:530px}.cf-v8-role-pair{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:6px}.cf-v8-role-card{padding:17px 5px;gap:9px;min-width:0}.cf-v8-role-card>span{font-size:30px}.cf-v8-role-card strong{font-size:clamp(20px,5.5vw,33px)}.cf-v8-role-card p{font-size:7px}.cf-v8-role-card b{font-size:8px;padding:8px 6px}.cf-v8-role-divider{font-size:16px}.cf-v8-sim-stages{gap:4px;font-size:7px}.cf-v8-final-roles{justify-content:center}.cf-squad-switch>div{grid-template-columns:1fr}.cf-v8-role-strip small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.cf-v8-role-card,.cf-v8-sim-graphics:before,.cf-v8-sim-graphics:after{animation:none!important}}

.cf-v8-plans{height:auto}
.cf-v8-draft-layout>.cf-machine>.cf-kicker{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;line-height:1.4}

.cf-v8-draft-layout .cf-slot .cf-slot-content b{color:#eff8e8}
.cf-v8-draft-layout .cf-slot .cf-slot-content small{color:#a4babb}
.cf-v8-draft-layout .cf-slot:disabled .cf-slot-content b{color:#dbece8}

/* COUNTRY FORGE v9 — compact social lobby, synchronized party controls and cinematic battle */
.cf-username-search{font-size:16px!important;text-transform:none!important;letter-spacing:normal;user-select:text;-webkit-user-select:text}
.cf-friend-add .cf-field{margin-bottom:0}
.cf-lobby-toolbar-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cf-v9-invite-top,.cf-v9-invite-bottom{background:#d5fa68!important;color:#15221e!important;border-color:#d5fa68!important;font-weight:950}
.cf-v9-invite-bottom{width:100%;margin:12px auto 0;max-width:420px}
.cf-party-context{display:flex;gap:14px;align-items:center;flex-wrap:wrap;border:1px solid #66864b;background:linear-gradient(100deg,#213529,#14262c);border-radius:10px;padding:10px 13px;margin:0 0 14px}
.cf-party-context>span:nth-child(2){flex:1;display:flex;flex-direction:column;min-width:170px;gap:4px}
.cf-party-context b{font-size:10px;font-weight:900;letter-spacing:.6px;color:#e2f6cb}
.cf-party-context small{font-size:10px;color:#99b0a3}
.cf-party-context .cf-btn{min-height:34px;font-size:9px}
.cf-v9-match-type{background:#0e2126;border:1px solid #405b53;border-radius:9px;padding:11px;margin-top:12px;display:grid;gap:8px}
.cf-v9-match-type>span{font-size:9px;letter-spacing:1px;color:#a8bbb7;font-weight:900}
.cf-v9-match-type>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.cf-v9-match-type button{border:1px solid #49615c;border-radius:7px;background:#172b30;color:#afc3bd;font-size:11px;font-weight:900;padding:12px 8px;min-height:42px;letter-spacing:.6px}
.cf-v9-match-type button.selected{color:#1a281f;background:#d5fa68;border-color:#d5fa68}
.cf-v9-match-type button:disabled{opacity:.65;cursor:not-allowed}
.cf-v9-match-type>small{color:#9bb2a7;font-size:10px;line-height:1.5}
.cf-v9-search-footer{display:flex;align-items:center;flex-direction:column;gap:4px;width:100%}
.cf-v9-search-footer .cf-wait-indicator{width:100%;margin-bottom:6px}
.cf-v9-search-footer .cf-btn{max-width:480px}
.cf-invite-overlay{position:fixed;inset:0;z-index:10070;background:rgba(2,12,14,.77);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:18px}
.cf-invite-sheet{width:min(520px,100%);max-height:min(88dvh,720px);overflow-y:auto;border:1px solid #74976e;border-radius:19px;background:linear-gradient(160deg,#1a302f,#101d26 60%);box-shadow:0 25px 100px #000b}
.cf-invite-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px;border-bottom:1px solid #3b5350}
.cf-invite-sheet-head h3{font:900 clamp(27px,6vw,38px)/1 var(--head);margin:8px 0;color:#eff9f0}
.cf-invite-sheet-head p{font-size:11px;color:#a7bdb4;line-height:1.5;margin:5px 0 0}
.cf-invite-x{flex:none;border:1px solid #4e6b61;background:#1d3434;color:#dfece5;border-radius:8px;width:36px;height:36px;font-size:23px}
.cf-invite-friend-list{padding:8px 20px;max-height:42vh;overflow:auto}
.cf-invite-person{display:flex;gap:12px;align-items:center;border-bottom:1px solid #334743;padding:12px 0}
.cf-invite-person:last-child{border-bottom:none}
.cf-invite-person>div{flex:1;min-width:0;display:flex;gap:4px;flex-direction:column}
.cf-invite-person b{color:#e9f4eb;font-size:13px;overflow:hidden;text-overflow:ellipsis}
.cf-invite-person small{color:#9ab5ab;font-size:11px}
.cf-invite-person button{font-size:10px;min-width:94px}
.cf-invite-empty{padding:22px 5px;text-align:center;font-size:12px;color:#c0d5c6;font-weight:900}
.cf-invite-empty small{display:block;color:#93aea0;font-size:11px;font-weight:500;margin-top:9px;line-height:1.5}
.cf-invite-add{padding:15px 20px 22px;background:#122a2b;border-top:1px solid #3a5351}
.cf-invite-add label{color:#bfd7bb;font-size:10px;letter-spacing:1px;font-weight:900}
.cf-invite-add .cf-field{margin-top:9px}
.cf-invite-add button{white-space:nowrap;font-size:10px}
/* Battle visual: the stages turn bright when the loading bar reaches them. */
.cf-v9-simulation{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;gap:15px;margin:12px auto 24px;padding:30px clamp(16px,4vw,52px) 28px;max-width:1080px;border-radius:19px;border:1px solid #466b5c;background:radial-gradient(ellipse at center 20%,#234138,#12282c 43%,#0c171f 95%);min-height:630px}
.cf-v9-simulation:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.16;background-image:linear-gradient(#c0fdab33 1px,transparent 1px),linear-gradient(90deg,#c0fdab33 1px,transparent 1px);background-size:48px 48px;pointer-events:none}
.cf-v9-simulation h2{font:900 clamp(40px,5vw,70px)/.97 var(--head);color:#f1f9f1;letter-spacing:.4px;margin:1px 0 0}
.cf-v9-simulation h2 em{font-style:normal;color:var(--accent)}
.cf-v9-simulation .cf-sim-disclaimer{font-size:11px;line-height:1.6;color:#a4beb6;max-width:680px;margin:0}
.cf-v9-battlefield{width:min(680px,100%);height:250px;position:relative;border:1px solid #47645a;border-radius:14px;background:radial-gradient(ellipse at 50% 48%,#234c41,#0e272d 63%,#0c1c23);overflow:hidden;box-shadow:inset 0 0 50px #060c1280,0 13px 30px #0003}
.cf-v9-radar-grid{position:absolute;inset:-25%;background:repeating-radial-gradient(circle at center,transparent 0,transparent 38px,#7ac79c22 39px,#7ac79c22 40px),linear-gradient(90deg,transparent 49.9%,#87c7ab30 50%,transparent 50.1%),linear-gradient(transparent 49.9%,#87c7ab30 50%,transparent 50.1%);opacity:.85}
.cf-v9-radar-sweep{position:absolute;top:50%;left:50%;width:540px;height:540px;border-radius:50%;transform:translate(-50%,-50%);background:conic-gradient(from 0deg,transparent 0deg,transparent 312deg,#b6ec7530 345deg,transparent 360deg);animation:cf-v9-sweep 7s linear infinite}
@keyframes cf-v9-sweep{to{transform:translate(-50%,-50%) rotate(360deg)}}
.cf-v9-jet,.cf-v9-ship,.cf-v9-impact{position:absolute;z-index:2;pointer-events:none;filter:drop-shadow(0 0 9px #9be5c975)}
.cf-v9-jet{font-size:31px;left:-15%;top:19%;animation:cf-v9-jet 6s linear infinite}
.cf-v9-jet-b{font-size:23px;top:29%;animation-delay:-3.3s;animation-duration:8s;opacity:.7}
.cf-v9-ship{font-size:35px;bottom:11%;left:-12%;animation:cf-v9-ship 10s linear infinite;animation-delay:-2s}
.cf-v9-impact{font-size:27px;right:17%;top:16%;opacity:0;animation:cf-v9-flash 5s ease-in-out infinite}
@keyframes cf-v9-jet{from{transform:translateX(-30px) rotate(-8deg)}to{transform:translateX(790px) rotate(-8deg)}}
@keyframes cf-v9-ship{from{transform:translateX(-40px)}to{transform:translateX(760px)}}
@keyframes cf-v9-flash{0%,52%,68%,100%{opacity:0;transform:scale(.5)}57%{opacity:1;transform:scale(1.2)}62%{opacity:.4;transform:scale(1.6)}}
.cf-v9-battle-center{position:absolute;z-index:3;top:50%;left:50%;transform:translate(-50%,-50%);padding:16px 20px;width:min(390px,82%);background:#0c1b21dc;border:1px solid #79a687;border-radius:11px;box-shadow:0 0 60px #0b2b2dbb;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}
.cf-v9-battle-center>span{font-size:37px;line-height:1}
.cf-v9-battle-center>b{font:900 clamp(20px,3.6vw,30px)/1 var(--head);color:#e4fcbd}
.cf-v9-battle-center>small{color:#b1c9bf;font-size:11px;line-height:1.4}
.cf-v9-sim-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;width:min(800px,100%);margin-top:7px}
.cf-v9-sim-stage{position:relative;min-width:0;text-align:center;opacity:.38;transition:opacity .18s,filter .2s,transform .2s}
.cf-v9-sim-stage>span{display:flex;align-items:center;justify-content:center;margin:0 auto 5px;height:22px;width:22px;border-radius:50%;border:1px solid #567f68;background:#182c2c;color:#8aa9a1;font-weight:900;font-size:9px}
.cf-v9-sim-stage b{display:block;font-size:9px;font-weight:900;line-height:1.45;color:#cfdbd6;letter-spacing:.4px}
.cf-v9-sim-stage.active{opacity:1;filter:drop-shadow(0 0 7px #ddff9e);transform:translateY(-2px)}
.cf-v9-sim-stage.active>span{background:var(--accent);color:#15231a;border-color:var(--accent)}
.cf-v9-sim-stage.active b{color:#f3ffc3}
.cf-v9-sim-stage.done{opacity:.7}
.cf-v9-sim-stage.done>span{background:#355944;color:#d6fda3}
.cf-v9-progress-shell{width:min(800px,100%)}
.cf-v9-progress{height:13px;width:100%;border:1px solid #648b70;border-radius:60px;overflow:hidden;background:#11242b;box-shadow:inset 0 1px 10px #050d0d}
.cf-v9-progress>i{display:block;height:100%;width:0;background:linear-gradient(90deg,#2f6b59 0%,#91d366 70%,#e6fa95 100%);box-shadow:0 0 17px #ceffa5a0;border-radius:60px;transition:width .12s linear}
.cf-v9-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:10px;font-weight:900;letter-spacing:.8px;color:#97b6a9;margin-top:9px}
.cf-v9-progress-label span{color:var(--accent)}
.cf-v9-sim-confirm{font-size:9px;color:#799a8f;letter-spacing:1.1px;font-weight:800}
@media(max-width:940px){.cf-inside-lobby .cf-hub-sidebar{display:none}.cf-inside-lobby .cf-room-hangar{width:100%}.cf-v9-invite-top{display:inline-flex}.cf-hub-layout.cf-inside-lobby{gap:0}}
@media(min-width:941px){.cf-v9-invite-bottom{display:none}}
@media(max-width:680px){
 #cfOnline{padding-top:14px}
 .cf-top{margin-bottom:13px;gap:9px}
 .cf-top .cf-kicker{font-size:8px;letter-spacing:1px}
 .cf-top .cf-title{font-size:clamp(36px,10vw,47px);margin:4px 0 7px}
 .cf-top .cf-sub{font-size:10px;line-height:1.45}
 .cf-top-actions{gap:4px}
 .cf-top-actions .cf-pill{font-size:9px;padding:6px 8px}
 .cf-top-actions>.cf-btn{min-height:32px;font-size:9px;padding:7px 8px}
 .cf-online-nav{margin:6px 0 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .cf-online-nav .cf-nav-link,.cf-online-nav .cf-nav-classic{min-height:35px;padding:7px 6px;font-size:9px;border:1px solid #2b4548;text-align:center}
 .cf-online-nav .cf-nav-spacer{display:none}
 .cf-hub-intro{margin-bottom:12px}
 .cf-hub-intro h2{font-size:clamp(34px,9vw,44px)}
 .cf-hub-intro p{font-size:10px;line-height:1.4}
 .cf-mode-tabs{margin-bottom:10px}
 .cf-mode-tab{min-height:58px;padding:7px 9px}
 .cf-ranked-strip{gap:6px;margin-bottom:10px}
 .cf-ranked-strip>div{padding:9px}
 .cf-hangar-heading{padding:13px}
 .cf-hangar-heading h3{font-size:27px}
 .cf-hangar-stage{padding:8px 8px 4px}
 .cf-hangar-stage:before{display:none}
 .cf-character-frame{height:184px!important}
 .cf-character-frame:before{height:174px!important;width:min(150px,95%)}
 .cf-character{width:132px!important;height:184px!important}
 .cf-character-orbit{top:14px;width:128px;height:128px}
 .cf-character-floor{bottom:1px}
 .cf-commander-info{min-height:48px}
 .cf-edit-char{padding:7px}
 .cf-hangar-bottom{padding:12px;gap:9px}
 .cf-hangar-bottom>p{font-size:10px;line-height:1.4;margin:0}
 .cf-squad-switch{margin:0}
 .cf-v9-mode-switch>div:first-of-type button{min-height:39px;padding:8px 6px;font-size:10px}
 .cf-lobby-toolbar{margin-bottom:9px;align-items:flex-start}
 .cf-lobby-toolbar .cf-btn{min-height:36px;padding:8px 10px;font-size:10px}
 .cf-lobby-indicator{font-size:8px;text-align:right;line-height:1.5}
 .cf-party-context{padding:9px;gap:7px}
 .cf-party-context .cf-btn{width:100%}
 .cf-v9-simulation{min-height:570px;gap:12px;padding:24px 12px}
 .cf-v9-simulation h2{font-size:clamp(35px,9vw,48px)}
 .cf-v9-battlefield{height:195px}
 .cf-v9-battle-center{width:83%;padding:12px 8px}
 .cf-v9-battle-center b{font-size:21px}
 .cf-v9-battle-center small{font-size:10px}
 .cf-v9-sim-stage b{font-size:7px;letter-spacing:0}
 .cf-v9-sim-stage>span{height:18px;width:18px;font-size:8px}
 .cf-v9-sim-confirm{font-size:8px}
}
@media(max-width:390px){
 .cf-hub-intro h2{font-size:35px}
 .cf-lobby-toolbar{flex-direction:column;align-items:stretch}
 .cf-lobby-toolbar-buttons{justify-content:space-between}
 .cf-lobby-toolbar-buttons .cf-btn{flex:1}
 .cf-lobby-indicator{text-align:left}
 .cf-v9-sim-timeline{gap:2px}
 .cf-v9-sim-stage b{font-size:6.6px}
 .cf-invite-overlay{padding:8px}
 .cf-invite-sheet-head{padding:15px}
 .cf-invite-friend-list{padding:4px 12px}
 .cf-invite-add{padding:13px}
 .cf-invite-add button{font-size:9px;padding:7px}
}
@media(prefers-reduced-motion:reduce){.cf-v9-radar-sweep,.cf-v9-jet,.cf-v9-ship,.cf-v9-impact{animation:none!important}.cf-v9-jet{left:10%;top:20%}.cf-v9-ship{left:10%}.cf-v9-impact{opacity:0}.cf-v9-sim-stage{transition:none}}

@media(max-width:680px){.cf-v9-sim-stage b{font-size:0!important;line-height:1.4}.cf-v9-sim-stage b:after{content:attr(data-short);font-size:8px;font-weight:900;letter-spacing:.1px}}
@media(max-width:350px){.cf-v9-sim-stage b:after{font-size:7px}}

/* Cinematic scoreboard reveal after the simulation finishes */
@keyframes cf-v9-result-arrive{0%{opacity:0;transform:translateY(22px) scale(.95);filter:blur(10px)}65%{filter:blur(0)}100%{opacity:1;transform:translateY(0) scale(1)}}
.cf-result-title{animation:cf-v9-result-arrive .72s cubic-bezier(.16,1,.3,1) both}
.cf-v8-final-roles{animation:cf-v9-result-arrive .72s .12s both}
.cf-summary{animation:cf-v9-result-arrive .72s .22s both}
@media(prefers-reduced-motion:reduce){.cf-result-title,.cf-v8-final-roles,.cf-summary{animation:none!important}}


/* V10 lobby overhaul */

.cf-v10-shell{display:flex;flex-direction:column;gap:14px}
.cf-v10-topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:6px 0 2px}
.cf-v10-brand-kicker{font-size:10px;letter-spacing:2px;font-weight:900;color:#9ab19e}
.cf-v10-topbar h2{margin:4px 0 0;font:900 clamp(34px,5vw,54px)/.9 var(--head);letter-spacing:.3px}
.cf-v10-topbar h2 span{color:var(--accent)}
.cf-v10-top-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
.cf-pill-live{border-color:#628b72!important;color:#e5ffc3!important;background:#14271e!important}
.cf-v10-lobby-wrap{position:relative;min-height:620px;padding-right:92px}
.cf-v10-hangar{max-width:980px;margin:0 auto;border-radius:22px;overflow:hidden;background:linear-gradient(180deg,#12202a,#10181f 26%,#0e151c);border:1px solid #2d4348;box-shadow:0 28px 90px rgba(0,0,0,.32)}
.cf-v10-stage-meta{display:flex;flex-wrap:wrap;gap:8px;padding:18px 18px 0}
.cf-v10-heading{padding:14px 18px 4px}
.cf-v10-heading-copy{margin:8px 0 0;color:#9eb1b7;font-size:13px;line-height:1.55;max-width:760px}
.cf-v10-stage{padding:10px 16px 4px}
.cf-v10-bottom{padding:14px 16px 18px;gap:12px}
.cf-v10-bottom-copy{display:flex;flex-wrap:wrap;gap:8px;color:#a8bbb8;font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.cf-v10-bottom-copy span{padding:8px 10px;border:1px solid #294047;border-radius:999px;background:#132029}
.cf-v10-lobby-actions,.cf-v10-search-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cf-v10-mode-strip{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border:1px solid #284147;border-radius:14px;background:#101b22}
.cf-v10-strip-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.cf-v10-strip-head small{color:#7f959b;font-size:10px}
.cf-v10-segment,.cf-v10-subsegment{display:grid;gap:8px}
.cf-v10-segment{grid-template-columns:repeat(2,minmax(0,1fr))}
.cf-v10-subsegment{grid-template-columns:repeat(2,minmax(0,1fr))}
.cf-v10-segment button,.cf-v10-subsegment button{min-height:42px;border-radius:11px;border:1px solid #30454b;background:#0d161c;color:#d7e6e1;font-weight:900;font-size:11px;letter-spacing:.5px}
.cf-v10-segment button.selected,.cf-v10-subsegment button.selected{border-color:var(--accent);background:rgba(213,250,104,.12);color:var(--accent)}
.cf-v10-rail{position:absolute;right:0;top:20px;display:flex;flex-direction:column;gap:10px;z-index:3}
.cf-v10-rail-btn{position:relative;display:flex;align-items:center;gap:10px;min-width:78px;padding:12px 14px;border-radius:16px;border:1px solid #2c4248;background:rgba(16,24,31,.92);backdrop-filter:blur(14px);box-shadow:0 16px 28px rgba(0,0,0,.18)}
.cf-v10-rail-btn.active,.cf-v10-rail-btn:hover{border-color:#8fb06b;background:#142129}
.cf-v10-rail-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#1c2b33;color:var(--accent);font-size:15px;flex:0 0 auto}
.cf-v10-rail-label{font-size:11px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}
.cf-v10-rail-badge{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);color:#16201a;font-size:10px;font-weight:900}
.cf-v10-drawer-backdrop{position:fixed;inset:0;z-index:18;background:rgba(3,8,11,.54);backdrop-filter:blur(4px)}
.cf-v10-drawer{position:absolute;top:0;right:0;height:100%;width:min(430px,100vw);background:linear-gradient(180deg,#0f1a22,#0a1116);border-left:1px solid #2f434a;display:flex;flex-direction:column;box-shadow:-24px 0 40px rgba(0,0,0,.34);animation:cfV10Drawer .22s ease}
@keyframes cfV10Drawer{from{transform:translateX(24px);opacity:0}to{transform:translateX(0);opacity:1}}
.cf-v10-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px;border-bottom:1px solid #21333a;background:#0f171d;position:sticky;top:0;z-index:1}
.cf-v10-drawer-head h3{margin:4px 0 0;font:900 32px/.9 var(--head)}
.cf-v10-drawer-body{padding:16px;overflow:auto;display:flex;flex-direction:column;gap:14px}
.cf-v10-drawer-close{width:38px;height:38px;border-radius:12px;border:1px solid #31464d;background:#14222b;color:#dde8e0;font-size:24px;line-height:1}
.cf-v10-drawer-copy{color:#a4b6bb;font-size:12px;line-height:1.55}
.cf-v10-mode-grid{display:grid;grid-template-columns:1fr;gap:10px}
.cf-v10-mode-card{display:grid;gap:4px;text-align:left;padding:14px;border:1px solid #2b4148;border-radius:14px;background:#111d24;color:#dce8e2}
.cf-v10-mode-card b{font-size:15px;letter-spacing:.5px}
.cf-v10-mode-card small{font-size:12px;color:#9caeb2;line-height:1.45}
.cf-v10-mode-card span{font-size:10px;color:#beddaf;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
.cf-v10-mode-card.selected{border-color:var(--accent);background:rgba(213,250,104,.10)}
.cf-v10-rank-mini{display:grid;gap:10px}
.cf-v10-rank-mini>div{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #2e4348;border-radius:14px;background:#111b23}
.cf-v10-rank-mini b{display:block;font-size:13px}
.cf-v10-rank-mini small{display:block;color:#9ab0b2;font-size:11px}
.cf-v10-shop-mini{display:grid;gap:8px;margin-top:10px}
.cf-v10-room .cf-hangar-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
@media(max-width:980px){.cf-v10-lobby-wrap{padding-right:0;padding-bottom:86px}.cf-v10-rail{position:fixed;left:0;right:0;bottom:0;top:auto;flex-direction:row;justify-content:space-between;gap:6px;padding:10px 10px max(10px,env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,rgba(8,14,18,.96) 22%,rgba(8,14,18,.98));overflow-x:auto}.cf-v10-rail-btn{min-width:74px;flex:1;padding:10px 8px;justify-content:center;flex-direction:column;gap:6px;border-radius:14px}.cf-v10-rail-label{font-size:9px;text-align:center}.cf-v10-rail-icon{width:24px;height:24px;font-size:13px}.cf-v10-rail-badge{top:2px;right:8px;height:18px;min-width:18px;font-size:9px}.cf-v10-drawer{width:100%;height:min(82vh,720px);top:auto;bottom:0;border-left:0;border-top:1px solid #2f434a;border-radius:18px 18px 0 0;animation:cfV10DrawerMobile .22s ease}.cf-v10-drawer-head h3{font-size:28px}}
@keyframes cfV10DrawerMobile{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:680px){.cf-v10-topbar{align-items:flex-start;flex-direction:column}.cf-v10-top-actions{justify-content:flex-start}.cf-v10-topbar h2{font-size:38px}.cf-v10-hangar{border-radius:18px}.cf-v10-stage-meta{padding:14px 14px 0}.cf-v10-heading{padding:12px 14px 2px}.cf-v10-heading h3{font-size:30px}.cf-v10-heading-copy{font-size:11px}.cf-v10-stage{padding:6px 8px 0}.cf-v10-bottom{padding:10px 10px 14px}.cf-v10-bottom-copy span{font-size:9px;padding:7px 8px}.cf-v10-mode-strip{padding:9px 10px}.cf-v10-search-strip,.cf-v10-lobby-actions{align-items:stretch}.cf-v10-search-strip .cf-btn,.cf-v10-lobby-actions .cf-btn{width:100%}.cf-v10-strip-head{flex-direction:column;gap:6px}.cf-v10-drawer-body{padding:12px}.cf-v10-mode-card{padding:12px}}


/* V11 lobby cleanup */

.cf-v11-topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:4px 0 2px}
.cf-v11-brand h2{margin:4px 0 0;font:900 clamp(28px,4.2vw,44px)/.9 var(--head);letter-spacing:.3px}
.cf-v11-brand h2 span{color:var(--accent)}
.cf-v11-heading-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cf-v11-inline-mode{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid #35505a;background:#12202a;color:#dce8e2;font-size:10px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.cf-v11-inline-mode:hover,.cf-v11-inline-mode:focus-visible{border-color:var(--accent);color:var(--accent)}
.cf-v11-dock{position:absolute;right:0;top:28px;width:184px;padding:12px;border-radius:20px;border:1px solid #2c4248;background:linear-gradient(180deg,rgba(16,24,31,.96),rgba(10,16,21,.98));box-shadow:0 18px 36px rgba(0,0,0,.24);backdrop-filter:blur(14px);z-index:3}
.cf-v11-dock-head{padding:2px 4px 10px;color:#94aca8;font-size:10px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase}
.cf-v11-dock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cf-v11-dock-btn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:66px;padding:10px 6px;border-radius:14px;border:1px solid #2b4048;background:#111d24;color:#dfe9e3}
.cf-v11-dock-btn.active,.cf-v11-dock-btn:hover{border-color:#8fb06b;background:#15242c}
.cf-v11-dock-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#1b2a33;color:var(--accent);font-size:15px}
.cf-v11-dock-label{text-align:center;font-size:10px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;line-height:1.1}
.cf-v11-dock-badge{position:absolute;top:6px;right:6px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:#16201a;font-size:9px;font-weight:900}
@media(max-width:980px){.cf-v10-lobby-wrap{padding-right:0;padding-bottom:112px}.cf-v11-dock{position:fixed;left:10px;right:10px;bottom:8px;top:auto;width:auto;padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-radius:20px}.cf-v11-dock-head{padding:0 2px 8px;font-size:9px}.cf-v11-dock-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;overflow-x:auto}.cf-v11-dock-btn{min-height:60px;padding:8px 5px;border-radius:12px}.cf-v11-dock-icon{width:24px;height:24px;font-size:13px}.cf-v11-dock-label{font-size:8px}.cf-v11-dock-badge{top:4px;right:4px;min-width:16px;height:16px;font-size:8px}}
@media(max-width:680px){.cf-v11-topbar{align-items:flex-start;flex-direction:column}.cf-v11-brand h2{font-size:34px}.cf-v10-top-actions{justify-content:flex-start}.cf-v11-heading-row{gap:8px}.cf-v11-inline-mode{height:30px;padding:0 10px;font-size:9px}.cf-v11-dock-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cf-v11-dock-btn{min-height:58px}.cf-v11-dock-label{font-size:8px}}
@media(max-width:390px){.cf-v11-dock{left:8px;right:8px;bottom:6px;padding:9px 9px calc(9px + env(safe-area-inset-bottom))}.cf-v11-dock-grid{gap:5px}.cf-v11-dock-btn{min-height:56px;padding:7px 4px}.cf-v11-dock-icon{width:22px;height:22px;font-size:12px}}


/* V12 — embedded horizontal quick-access bar inside the War Room heading. */
.cf-v10-lobby-wrap{padding-right:0;min-height:0}
.cf-v10-hangar{position:relative;width:100%;max-width:980px}
.cf-v12-hangar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 18px 18px;border-bottom:1px solid #31474c}
.cf-v12-hangar-header>.cf-hangar-heading{flex:1 1 auto;min-width:0;padding:0!important;display:block;border:0!important;background:transparent}
.cf-v12-hangar-header>.cf-hangar-heading>div{min-width:0}
.cf-v12-hangar-header .cf-v10-heading-copy{max-width:400px;margin-top:10px}
.cf-v12-quick-menu{flex:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;width:388px;max-width:100%;padding:7px;background:linear-gradient(160deg,#172831,#101b24);border:1px solid #3e5459;border-radius:14px;box-shadow:0 9px 23px #0003}
.cf-v12-menu-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:57px;gap:5px;padding:7px 3px 6px;border:1px solid transparent;border-radius:9px;background:#1c3036;color:#c9ddd8}
.cf-v12-menu-button:hover,.cf-v12-menu-button.active{border-color:#88b178;background:#283e39;color:var(--accent)}
.cf-v12-menu-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.cf-v12-menu-icon{display:grid;place-items:center;width:21px;height:21px;color:#c6e1d3}
.cf-v12-menu-button:hover .cf-v12-menu-icon,.cf-v12-menu-button.active .cf-v12-menu-icon{color:var(--accent)}
.cf-v12-menu-icon svg{width:19px;height:19px;display:block}
.cf-v12-menu-name{font-size:9px;font-weight:900;line-height:1.1;letter-spacing:.1px;white-space:nowrap}
.cf-v12-menu-badge{position:absolute;top:1px;right:0;display:grid;place-items:center;min-width:14px;height:14px;padding:0 3px;border-radius:50px;background:var(--accent);color:#152119;font-size:8px;font-weight:900}
.cf-v12-leave{margin-left:auto;padding:6px 10px;border:1px solid #3b4a4f;border-radius:7px;color:#aabeba;background:#112129;font-size:9px;letter-spacing:.6px;font-weight:900}
.cf-v12-leave:hover{border-color:#a4b6b1;color:#fff}
/* The old floating and fixed quick-menu rules remain unused; only this embedded bar is rendered. */
@media(max-width:940px){
 .cf-v12-hangar-header{flex-wrap:wrap;gap:12px}
 .cf-v12-hangar-header>.cf-hangar-heading{flex:1 1 100%}
 .cf-v12-quick-menu{margin-left:auto;width:388px}
}
@media(max-width:680px){
 .cf-v12-hangar-header{padding:12px 12px 14px;gap:10px}
 .cf-v12-quick-menu{width:100%;margin:0;gap:4px;padding:6px;border-radius:11px}
 .cf-v12-menu-button{min-height:52px;gap:5px;padding:6px 2px}
 .cf-v12-menu-name{font-size:8px;letter-spacing:0}
 .cf-v12-menu-icon svg{width:18px;height:18px}
 .cf-v12-hangar-header .cf-v10-heading-copy{max-width:none}
 .cf-v10-lobby-wrap{padding-bottom:0!important}
}
@media(max-width:360px){
 .cf-v12-menu-button{min-height:47px;gap:4px;padding:5px 1px}
 .cf-v12-menu-name{font-size:7px}
 .cf-v12-menu-icon svg{width:16px;height:16px}
 .cf-v12-quick-menu{gap:3px;padding:5px}
}


/* V14: restore untouched v12 War Room, only resize its quick menu to 65% width.
   The original menu's height is preserved so the War Room itself does not grow. */
.cf-v12-quick-menu{
  width:252px;max-width:65%;height:73px;min-height:73px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(3,minmax(0,1fr));
  gap:3px;padding:4px;border-radius:12px;
  align-self:flex-start;
}
.cf-v12-menu-button{
  min-height:0;height:100%;min-width:0;
  flex-direction:row;justify-content:flex-start;align-items:center;
  gap:6px;padding:0 9px;border-radius:7px;
}
.cf-v12-menu-icon{width:15px;height:15px;flex:none}
.cf-v12-menu-icon svg{width:14px;height:14px}
.cf-v12-menu-name{font-size:9px;letter-spacing:.12px;line-height:1}
.cf-v12-menu-badge{top:0;right:0;min-width:13px;height:13px;font-size:8px}
@media(max-width:940px){.cf-v12-quick-menu{width:252px;max-width:65%;margin-left:auto}}
@media(max-width:680px){
  .cf-v12-quick-menu{width:65%;max-width:65%;height:66px;min-height:66px;gap:2px;padding:3px;margin:0 0 0 auto}
  .cf-v12-menu-button{min-height:0;height:100%;padding:0 5px;gap:4px}
  .cf-v12-menu-icon{width:13px;height:13px}
  .cf-v12-menu-icon svg{width:12px;height:12px}
  .cf-v12-menu-name{font-size:8px}
}
@media(max-width:360px){.cf-v12-quick-menu{height:59px;min-height:59px}.cf-v12-menu-button{padding:0 3px;gap:3px}.cf-v12-menu-name{font-size:7.6px}}

/* V14: match type is the first control inside Game Modes, not in the War Room. */
.cf-v14-match-type{padding:13px;border:1px solid #38544e;border-radius:14px;background:linear-gradient(140deg,#192b29,#101d23);display:grid;gap:9px}
.cf-v14-match-label{color:#b5c8c0;font-size:10px;font-weight:900;letter-spacing:1.8px}
.cf-v14-match-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.cf-v14-match-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:66px;padding:10px 7px;border:1px solid #30464b;border-radius:10px;background:#0c171c;color:#cbd9d5}
.cf-v14-match-tab:not(:disabled):hover{border-color:#a2c57a}
.cf-v14-match-tab.selected{background:rgba(213,250,104,.12);border-color:var(--accent);color:var(--accent)}
.cf-v14-match-tab:disabled{opacity:.4;cursor:not-allowed}
.cf-v14-tab-title{font-size:13px;font-weight:900;letter-spacing:.7px;white-space:nowrap}
.cf-v14-match-tab small{font-size:9px;font-weight:800;letter-spacing:.3px;color:#9eb5ab;text-align:center}
.cf-v14-match-hint{color:#a6bdb1;font-size:10px;line-height:1.5;min-height:15px}

/* V16: restore v14 header/menu positioning while removing the redundant stats row. */
.cf-v12-hangar-header{padding-top:12px}
@media(max-width:680px){.cf-v12-hangar-header{padding-top:12px}}

/* v18 — accessible language selector shared by Classic and Online */
.cf-lang-control{display:flex;align-items:center;gap:5px;min-width:0;max-width:135px;padding:5px 7px;background:#14242c;border:1px solid #354b51;border-radius:9px;white-space:nowrap;color:#d8e7db;flex-shrink:0}
.cf-lang-control:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #c8fc6630}
.cf-lang-globe{font-size:16px;line-height:1}
.cf-lang-control select{font:700 11px/1.3 var(--body);color:#e5f5e8;border:0;background:#14242c;outline:none;width:100%;min-width:0;max-width:92px;cursor:pointer;appearance:auto}
.cf-lang-control select option{color:#e6f4ec;background:#14242c}
html[lang="ru"] .cf-v12-menu-name,html[lang="tr"] .cf-v12-menu-name{font-size:clamp(6px,.61vw,9px);letter-spacing:-.17px;white-space:normal;overflow-wrap:anywhere;text-align:center}
html[lang="ru"] .cf-v10-mode-card b,html[lang="tr"] .cf-v10-mode-card b{font-size:13px;overflow-wrap:anywhere}
html[lang="ru"] .cf-v10-drawer,html[lang="tr"] .cf-v10-drawer{overflow-wrap:break-word}
html[lang="ru"] .cf-v11-heading-row h3{font-size:clamp(25px,3vw,39px)}
@media(max-width:800px){.cf-lang-control{max-width:108px;padding:5px}.cf-lang-control select{max-width:74px;font-size:10px}}
@media(max-width:520px){.cf-lang-control{gap:1px;max-width:58px;padding:5px 4px}.cf-lang-control select{max-width:40px;font-size:10px}.cf-lang-globe{font-size:12px}.topbar-inner{gap:5px}.bar-right{gap:5px}.cf-online-trigger{padding:8px 7px;font-size:9px;letter-spacing:0}.top-btn{font-size:9px}}
@media(max-width:365px){.cf-lang-control{max-width:49px}.cf-lang-control select{max-width:35px;font-size:9px}.cf-lang-globe{display:none}.topbar-inner{gap:3px}.bar-right{gap:4px}.cf-online-trigger{font-size:8px;padding:7px 5px}}

/* v20: verified accounts, ethical store, referrals and equipped cosmetics. */
.cf-v20-login{max-width:520px;margin:clamp(28px,7vh,70px) auto;padding:clamp(22px,5vw,36px);border:1px solid #426252;border-radius:20px;background:radial-gradient(circle at 50% 0,#244039,#101b23 65%);box-shadow:0 24px 80px #0006;display:flex;flex-direction:column;gap:14px}
.cf-v20-login h2,.cf-v20-title-row h2,.cf-v20-referrals h2{font:900 clamp(40px,7vw,70px)/.92 var(--head);margin:0;letter-spacing:.3px}
.cf-v20-login h2 em,.cf-v20-title-row h2 em,.cf-v20-referrals h2 em{color:var(--accent);font-style:normal}
.cf-v20-login p,.cf-v20-referrals>p,.cf-v20-title-row p{color:#a6bbb5;font-size:12px;line-height:1.75;margin:0}
.cf-v20-login label{font-size:10px;letter-spacing:1.2px;font-weight:900;color:#cce1d6}
.cf-v20-login input{width:100%;font-size:16px;min-height:48px}
.cf-v20-auth-destination{font-size:12px;color:#b8d0c0}
.cf-v20-error{padding:10px;background:#321e20;border:1px solid #a65a5b;border-radius:8px;color:#ffd5d0!important}
.cf-v20-referral-note{border:1px solid #56764d;border-radius:10px;background:#1b3023;padding:12px}
.cf-v20-store,.cf-v20-referrals{display:flex;flex-direction:column;gap:18px}
.cf-v20-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.cf-v20-title-row .cf-kicker{margin-bottom:6px}
.cf-v20-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cf-v20-product{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:18px;background:linear-gradient(160deg,#192b32,#0e1b23);border:1px solid #35514e;border-radius:12px;min-width:0}
.cf-v20-product>b{font-family:var(--head);font-size:23px;line-height:1.05;letter-spacing:.4px}
.cf-v20-product small{color:#99b1ad;font-size:11px;line-height:1.55;flex:1}
.cf-v20-product-icon{font-size:28px;line-height:1.3}
.cf-v20-product-price,.cf-v20-dollar{font:900 25px var(--head);color:var(--accent)}
.cf-v20-pay-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:auto}
.cf-v20-pay-row .cf-btn{padding:10px 6px;white-space:normal;font-size:10px;letter-spacing:0}
.cf-v20-warn{font-size:10px;color:#a5ada0;line-height:1.5}
.cf-v20-equip-reset{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.cf-v20-referrals>.cf-kicker{margin-top:6px}
.cf-v20-ref-link{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1px solid #5b8059;background:#1c3029;border-radius:12px;padding:18px}
.cf-v20-ref-link>div{min-width:0;flex:1}
.cf-v20-ref-link small{display:block;font-size:9px;color:#b3c6b4;letter-spacing:1.2px;font-weight:900;margin-bottom:8px}
.cf-v20-ref-link b{display:block;font-size:13px;overflow-wrap:anywhere;color:#efffd5}
.cf-v20-ref-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cf-v20-ref-stats>div{background:#111e25;border:1px solid #37504a;border-radius:12px;padding:16px}
.cf-v20-ref-stats b{font:900 34px var(--head);color:var(--accent);display:block}
.cf-v20-ref-stats small{font-size:9px;letter-spacing:.8px;color:#9fbbb0}
.cf-v20-tiers{display:grid;gap:8px}
.cf-v20-tier{display:flex;align-items:center;gap:12px;padding:12px;background:#0e1920;border:1px solid #2d4048;border-radius:10px}
.cf-v20-tier.claimed{border-color:#628659;background:#1c3025}
.cf-v20-tier-count{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:#223238;font:900 22px var(--head);color:var(--accent)}
.cf-v20-tier>div:nth-child(2){min-width:0;flex:1}
.cf-v20-tier b{display:block;font-size:11px;font-weight:900}
.cf-v20-tier small{display:block;color:#acc2b4;font-size:10px;line-height:1.5;margin-top:4px}
.cf-v20-tier>span{font-size:9px;font-weight:900;letter-spacing:.7px;color:#77968a}
.cf-v20-tier.claimed>span{color:var(--accent)}
.cf-v10-hangar[data-cf-theme="aurora_theme"]{background:radial-gradient(ellipse at 50% 20%,#194c50,#0c252d 62%,#081720)!important;border-color:#5bbcac}
.cf-v10-hangar[data-cf-theme="ember_theme"]{background:radial-gradient(ellipse at 50% 20%,#613424,#241c25 57%,#0d151d)!important;border-color:#c07653}
.cf-v10-hangar[data-cf-theme="dusk_theme"]{background:radial-gradient(ellipse at 50% 20%,#32315e,#191c37 55%,#0e1524)!important;border-color:#7674bd}
.cf-v10-hangar[data-cf-theme="founder_theme"]{background:radial-gradient(ellipse at 50% 20%,#5b4e24,#1d2b29 52%,#0a181c)!important;border-color:#caaf65}
.cf-commander[data-cf-frame="silver_frame"] .cf-character-frame{outline:3px solid #b5c5d3;outline-offset:-3px;border-radius:16px}
.cf-commander[data-cf-frame="royal_frame"] .cf-character-frame{outline:3px solid #ffdc83;outline-offset:-3px;border-radius:16px}
.cf-commander[data-cf-frame="neon_frame"] .cf-character-frame{outline:3px solid #84ebef;outline-offset:-3px;border-radius:16px;box-shadow:0 0 28px #72f5ef55}
.cf-commander[data-cf-frame="founder_frame"] .cf-character-frame{outline:3px solid #ffdb75;outline-offset:-3px;border-radius:16px;box-shadow:0 0 28px #ffd47c4a}
@media(max-width:900px){.cf-v20-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cf-v20-product-grid{grid-template-columns:1fr}.cf-v20-ref-stats{gap:6px}.cf-v20-ref-stats>div{padding:9px}.cf-v20-ref-stats b{font-size:24px}.cf-v20-ref-stats small{font-size:8px}.cf-v20-ref-link{flex-direction:column;align-items:stretch}.cf-v20-ref-link .cf-btn{width:100%}.cf-v20-tier{padding:10px;gap:8px}.cf-v20-tier>span{font-size:8px}}
.cf-v20-badge{display:inline-block;padding:2px 6px;margin-left:3px;border:1px solid #b3a160;border-radius:5px;background:#362f1a;color:#ffdf8b;font-size:8px;font-family:var(--body);letter-spacing:.4px;white-space:nowrap;vertical-align:middle}

@media(max-width:370px){.cf-v20-referrals h2{font-size:32px}}

.cf-commander[data-cf-frame="legend_frame"] .cf-character-frame{outline:3px solid #efdcff;outline-offset:-3px;border-radius:16px;box-shadow:0 0 28px #bd8bff77, inset 0 0 16px #c89cff44}

/* V21: separate Coin Shop and Item Shop pages, with compact cross-links. */
.cf-v21-store-jump{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:13px 15px;background:#12242b;border:1px solid #365553;border-radius:12px}
.cf-v21-store-jump>span{color:#b0c8bf;font-size:11px;font-weight:800;margin-right:auto}
.cf-v21-store-jump .cf-btn{min-height:36px;padding:9px 12px;font-size:10px}
@media(max-width:520px){
 .cf-v21-store-jump{gap:8px;padding:12px}
 .cf-v21-store-jump>span{flex-basis:100%;margin:0}
 .cf-v21-store-jump .cf-btn{flex:1 1 auto;white-space:normal;min-width:0}
 .cf-v20-title-row h2{overflow-wrap:anywhere}
}

.cf-v21-shop-heading{color:var(--accent);overflow-wrap:anywhere}

/* v22 account gate, identity, privacy tools, and legal links */
.cf-v22-login{max-width:590px!important}.cf-v22-login h2{font-size:clamp(38px,6vw,60px)!important;line-height:1!important}
.cf-v22-login .cf-v22-google{width:100%;margin:15px 0 12px;display:grid;justify-items:center}
.cf-v22-login #cfGoogleSignInButton{width:100%;display:grid;place-items:center;min-height:5px}
.cf-v22-divider{margin:15px 0;text-align:center;font-size:10px;letter-spacing:1.2px;font-weight:900;color:#9baead}
.cf-v22-consent{display:grid;gap:10px;margin:16px 0;padding:13px;border:1px solid #375047;border-radius:10px;background:#101f22}
.cf-v22-consent label{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.5;color:#c9d8d0;cursor:pointer}
.cf-v22-consent input{flex:none;accent-color:#d5fa68;width:16px;height:16px;margin:0}
.cf-v22-consent a,.cf-v22-legal-small a,.cf-v22-legal-footer a,.cf-v22-account-tools a,.cf-v22-deletion a{color:#d5fa68;text-decoration:underline;text-underline-offset:2px}
.cf-v22-legal-small{text-align:center;font-size:10px;margin:12px 0}
.cf-v22-legal-footer{margin:26px auto 6px;max-width:1100px;text-align:center;font-size:11px;color:#a4b4b2;line-height:2}
.cf-v22-account-tools{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:18px 0;padding:15px;border:1px solid #375047;background:#0d1c23;border-radius:10px}
.cf-v22-account-tools .cf-kicker{flex-basis:100%}.cf-v22-account-tools .cf-muted{flex-basis:100%;margin:0}
.cf-v22-deletion{max-width:680px;margin:22px auto;padding:24px;background:#101c24;border:1px solid #4a5553;border-radius:14px;display:grid;gap:17px}
.cf-v22-deletion h2{font:900 42px/1 var(--head);margin:0}.cf-v22-deletion p{font-size:12px;color:#b9cbca;line-height:1.7;margin:0}
.cf-v22-deletion label{display:grid;gap:5px;font-size:11px;font-weight:900}.cf-v22-deletion .cf-input{width:100%}
@media(max-width:390px){.cf-v22-deletion{padding:16px}.cf-v22-account-tools{padding:10px}}

#cfCookieNotice:not([hidden]){position:fixed;z-index:2000;bottom:14px;left:14px;right:14px;max-width:680px;margin:0 auto;background:#192a2e;color:#e7f0eb;border:1px solid #638778;border-radius:12px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 15px 45px #0009;font-size:12px}
#cfCookieNotice p{margin:3px 0 0;font-size:11px;color:#b4c8c5;line-height:1.5}#cfCookieNotice a{color:#d5fa68}
#cfCookieAcknowledge{background:#d5fa68;color:#14221b;border:0;border-radius:8px;padding:10px 15px;font-size:11px;font-weight:900;white-space:nowrap}
@media(max-width:420px){#cfCookieNotice:not([hidden]){flex-direction:column;align-items:stretch;bottom:8px;left:8px;right:8px}#cfCookieAcknowledge{width:100%}}

.cf-v22-consent label>span{display:block;flex:1;min-width:0;white-space:normal;text-align:left;word-spacing:normal;letter-spacing:normal}.cf-v22-google .cf-btn{min-width:0;white-space:normal;max-width:100%;font-size:10px;padding:10px 7px}.cf-v22-login{min-width:0}.cf-v22-login .cf-v22-google>div{min-width:0;max-width:100%}
