/* A shared visual language for navigation, dashboards and competition menus. */
:root{--lime:#c9f864;--muted:#a4b4b5;--refresh-bg:#0a1119;--refresh-panel:#141e29;--refresh-line:#2b3947;--refresh-gold:#e9c77f;color-scheme:dark}
body{background:radial-gradient(ellipse at 85% 0,#173b3c66,transparent 45%),radial-gradient(ellipse at 0 45%,#1e294755,transparent 50%),var(--refresh-bg);color:#f2f6f7;background-attachment:fixed;font-family:Inter,Arial,sans-serif}
body>header{background:#0c151ee8;border-bottom:1px solid var(--refresh-line);padding:20px max(24px,calc((100vw - 1280px)/2));gap:20px}
.brand{letter-spacing:-1px;font-weight:900}.brand span{color:var(--lime)}main{max-width:1280px;margin:30px auto;padding:0 24px}h1{font-family:Inter,Arial,sans-serif;font-size:clamp(30px,4vw,50px);letter-spacing:-1.5px;line-height:1.12}h2{font-family:Inter,Arial,sans-serif;font-size:23px;letter-spacing:-.6px}p{color:var(--muted)}
.btn,.menu-bar button,.ut-nav button{min-height:44px;border-radius:12px;padding:13px 19px;font-weight:750;line-height:1.25;transition:background .16s,transform .16s,border-color .16s,box-shadow .16s}.btn{background:var(--lime);color:#142015;box-shadow:0 4px 15px #0002}.btn.ghost,.menu-bar button,.ut-nav button{background:#192532;color:#edf3f4;border:1px solid #354556;box-shadow:none}.btn:hover:not(:disabled){transform:translateY(-2px);background:#dbff91;box-shadow:0 7px 20px #0004}.btn.ghost:hover:not(:disabled),.menu-bar button:hover,.ut-nav button:hover{background:#26394a;border-color:#6d8793;color:white}.btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--lime);outline-offset:4px}.ut-nav,.menu-bar{gap:8px;background:#0d1721;border-color:var(--refresh-line);padding:12px 24px}.ut-nav{flex-wrap:wrap}.ut-nav button.active{background:var(--lime);color:#142015;border-color:var(--lime)}
.ut-grid{gap:18px}.ut-tile{position:relative;background:linear-gradient(140deg,#192735,#121c27);border:1px solid var(--refresh-line);border-radius:20px;padding:24px;box-shadow:0 8px 30px #0002;overflow:hidden}.ut-tile>h2{margin-top:12px}.ut-tile>.btn:last-child{margin-top:auto}.ut-grid>.ut-tile{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.ut-tile .mode-logo{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 7px 9px #0005)}.ut-tile p{margin:4px 0 20px}.panel{background:#141f2b;border:1px solid var(--refresh-line);border-radius:18px}.badge{color:var(--refresh-gold);letter-spacing:2.4px;font-weight:750}.ut-notice{background:#23362e;border:1px solid #507458;border-radius:12px;padding:16px}.ut-controls{gap:10px;flex-wrap:wrap}.ut-table{border-collapse:collapse;border-radius:14px;overflow:hidden}.ut-table th{background:#213242;color:#d9e7ee;font-size:12px;text-transform:uppercase;letter-spacing:.6px}.ut-table td,.ut-table th{padding:14px;border-bottom:1px solid #2a3947}.ut-table tr:nth-child(even){background:#182431}input:not([type=checkbox]):not([type=radio]),select{background:#0b151f;color:#edf4f7;border:1px solid #405468;border-radius:10px;padding:12px;min-height:44px;max-width:100%}
.refresh-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:40px;border:1px solid #41615d;border-radius:26px;background:radial-gradient(ellipse at right,#2b605a77,transparent 60%),linear-gradient(125deg,#1c3038,#101d2c);position:relative;overflow:hidden;margin-bottom:18px}.refresh-hero:after{content:"";position:absolute;width:230px;height:450px;right:4%;top:-80px;border:1px solid #b8e8d71a;transform:rotate(28deg);border-radius:140px;pointer-events:none}.refresh-hero>div{position:relative;z-index:1}.refresh-hero h1{margin:16px 0 18px;font-size:clamp(34px,4.3vw,58px);letter-spacing:-2px}.refresh-hero p{max-width:480px}.refresh-hero .btn{margin-top:12px}.refresh-hero-mark{width:30%;display:flex;align-items:center;flex-direction:column;gap:18px}.refresh-hero-mark .mode-logo{width:170px;height:170px;object-fit:contain;filter:drop-shadow(0 15px 20px #0007)}.refresh-hero-mark span{color:#c7dedc;font-size:11px;font-weight:800;letter-spacing:4px}
.refresh-wallet{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--refresh-line);border-radius:18px;background:#131f2b;margin:18px 0 32px}.refresh-wallet>div{padding:22px;display:flex;align-items:center;gap:12px;border-right:1px solid var(--refresh-line)}.refresh-wallet>div:last-child{border:0}.refresh-wallet>div>span:last-child{font-size:12px;color:var(--muted)}.refresh-wallet strong{display:block;font-size:25px;color:#fff;margin-top:6px;font-variant-numeric:tabular-nums}.refresh-wallet img,.refresh-wallet .match-reward-icon{width:38px;height:38px;object-fit:contain}.refresh-wallet .coin-reward-icon img{width:100%;height:100%}.refresh-stat-symbol{color:var(--lime);font-size:25px;font-weight:900}.refresh-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.refresh-section-title h2{margin:0}.refresh-dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}.refresh-dashboard .refresh-menu-tile{min-height:250px;gap:16px}.refresh-menu-tile .btn{width:100%;display:flex;justify-content:space-between}.refresh-tile-index{position:absolute;right:23px;top:24px;font-size:12px;letter-spacing:2px;color:#778e9e}.refresh-featured{border-color:#708e4d;background:radial-gradient(ellipse at top right,#41604477,transparent 80%),#18292c}.refresh-main-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.refresh-main-grid>.ut-tile{padding:32px;min-height:240px;border-top:3px solid #7c9e5d}.refresh-main-grid>.ut-tile:nth-child(2){border-top-color:#e9c77f}.refresh-main-grid>.ut-tile:nth-child(3){border-top-color:#70b1cf}.refresh-main-grid>.ut-tile:nth-child(4){border-top-color:#ad93df}.refresh-main-title{max-width:780px;font-size:clamp(36px,5vw,64px);margin:24px 0}.refresh-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border:1px solid #8a774d;background:#362f21;border-radius:15px;margin-bottom:24px}
.refresh-search{display:flex;flex-direction:column;gap:10px;max-width:460px;margin:22px 0 28px;font-size:12px;color:#c5d3dc}.refresh-search input{width:100%}.refresh-mode-directory .ut-tile[hidden],.rush-mode-pair[hidden]{display:none!important}.refresh-mode-directory>h2{margin-top:32px}.refresh-mode-directory .ut-tile:hover{border-color:#65818b}.rush-mode-pair{gap:18px}.refresh-reward-token{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;color:inherit}.refresh-inline-icon{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0}.refresh-inline-icon .match-reward-icon,.refresh-inline-icon .coin-reward-icon,.refresh-inline-icon .match-reward-icon img{display:block!important;width:25px!important;height:25px!important;object-fit:contain!important;margin:0!important}.refresh-inline-pack{height:38px;width:28px}.refresh-inline-pack .ut-pack-art{width:28px!important;height:38px!important;margin:0!important;object-fit:contain}.international-pack-art{display:block;width:100%;max-width:180px;height:240px;object-fit:contain;margin:0 auto 16px}.battle-cycle-prizes{gap:14px}.battle-cycle-prizes .ut-tile{align-items:center;text-align:center}.match-result{border:1px solid #3e5664;border-radius:24px;overflow:hidden;background:#111e29}.match-result-score{background:radial-gradient(ellipse at center,#2c4d4d88,transparent),#162b36}.match-result-actions{padding:24px}.match-continue{min-width:220px}.refresh-season-awards{border-top:1px solid var(--refresh-line);padding:28px;background:#1c2b2b}.refresh-season-awards>h2{text-align:center;color:var(--refresh-gold)}.match-result .match-breakdown-line .match-reward-icon{width:25px;height:25px}.match-result-body{gap:20px}
@media(min-width:1000px){.refresh-main-grid>.ut-tile:first-child{background:radial-gradient(ellipse at right,#37634a88,transparent 80%),#18272c}.refresh-dashboard>.refresh-featured{grid-column:span 2;display:grid;grid-template-columns:100px 1fr;align-items:center}.refresh-featured>.btn{grid-column:span 2}}
@media(max-width:760px){main{padding:0 16px;margin-top:20px}.refresh-hero{padding:26px;gap:12px}.refresh-hero-mark{width:24%}.refresh-hero-mark .mode-logo{width:90px;height:90px}.refresh-hero-mark span{display:none}.refresh-wallet{grid-template-columns:1fr 1fr}.refresh-wallet>div{padding:16px}.refresh-wallet>div:nth-child(2){border-right:0}.refresh-wallet>div:nth-child(-n+2){border-bottom:1px solid var(--refresh-line)}.refresh-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.refresh-main-grid>.ut-tile{padding:22px}.refresh-hero h1{font-size:34px}.refresh-resume{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.refresh-dashboard,.refresh-main-grid{grid-template-columns:1fr}.refresh-hero{padding:24px 20px}.refresh-hero-mark{display:none}.refresh-section-title{align-items:flex-start;flex-direction:column}.ut-tile{padding:20px}.refresh-wallet strong{font-size:21px}.refresh-wallet>div{gap:8px;padding:14px 10px}.refresh-wallet img,.refresh-wallet .match-reward-icon{width:28px;height:28px}.btn{padding:12px 15px}.rush-mode-pair .ut-tile{padding:15px;min-width:0}.rush-mode-pair h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.btn,.ut-tile,.menu-bar button,.ut-nav button{transition:none}.btn:hover:not(:disabled){transform:none}}

.clubs-cup-trophy{text-align:center;padding:18px}.clubs-cup-trophy img{object-fit:contain;border-radius:16px}
.historical-era-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 16px}.historical-era-tabs small{display:inline-block;margin-left:8px;opacity:.8;font-size:11px}.historical-period-label{color:var(--refresh-gold)}.historical-year{margin:32px 0 16px;padding-bottom:12px;border-bottom:1px solid var(--refresh-line)}.historical-scenario{background:linear-gradient(135deg,#1b2936,#111e29);border:1px solid var(--refresh-line);border-radius:18px;padding:24px;margin-bottom:18px}.historical-scenario h3{font-size:24px;letter-spacing:-.5px;margin:8px 0}.historical-done{border-left:4px solid var(--lime)}.historical-scenario .battle-cycle-prizes{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.historical-scenario .battle-cycle-prizes .ut-tile{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;padding:10px 16px;border-radius:12px}.historical-scenario .battle-cycle-prizes p{margin:0;font-size:12px}.historical-scenario .battle-cycle-prizes .ut-pack-art{width:40px!important;height:58px!important;margin:0!important}.historical-scenario .battle-cycle-prizes .match-reward-icon{width:34px;height:34px}.historical-scenario .battle-cycle-prizes .match-reward-icon img{width:100%;height:100%;object-fit:contain}.historical-scenario a{color:#b8d5ea}.historical-scenario .ut-controls{display:flex;align-items:center;gap:20px}@media(max-width:480px){.historical-era-tabs{gap:7px}.historical-era-tabs .btn{padding:10px 12px}.historical-scenario{padding:18px}.historical-scenario .battle-cycle-prizes .ut-tile{width:100%;justify-content:flex-start}}

/* Small reward-description icons must not inherit full pack dimensions. */
.refresh-inline-pack{position:relative;overflow:hidden;flex:0 0 28px;max-width:28px;max-height:38px}
.refresh-inline-pack .refresh-pack-thumbnail{display:block;position:static;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;transform:none;object-fit:contain}
