/* Xavii Online v10 — full portal layer */
.portal-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding:9px;border:1px solid rgba(255,147,35,.13);background:rgba(8,10,13,.72);border-radius:13px;box-shadow:0 20px 60px rgba(0,0,0,.18)}
.portal-tabs a,.portal-tabs button{appearance:none;border:0;background:transparent;color:#87909a;text-decoration:none;padding:10px 13px;border-radius:8px;font:800 10px/1 system-ui;letter-spacing:.09em;text-transform:uppercase;cursor:pointer;transition:.16s ease}
.portal-tabs a:hover,.portal-tabs button:hover,.portal-tabs button.active{background:rgba(255,144,24,.09);color:#ffad45;box-shadow:inset 0 0 0 1px rgba(255,151,34,.13)}
.portal-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.portal-stat-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.portal-stat{min-height:116px;padding:20px 21px;border:1px solid rgba(255,255,255,.065);background:linear-gradient(145deg,rgba(17,20,25,.93),rgba(8,10,13,.9));border-radius:13px;position:relative;overflow:hidden}
.portal-stat:after{content:"";position:absolute;inset:auto -20% -65% 30%;height:100px;background:radial-gradient(circle,rgba(255,133,19,.11),transparent 65%);pointer-events:none}.portal-stat small{display:block;color:#69717a;font-size:9px;font-weight:900;letter-spacing:.13em}.portal-stat strong{display:block;color:#edf1f5;font-size:31px;line-height:1;margin-top:17px}.portal-stat:nth-child(2n) strong{color:#ffad3d}
.portal-feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.portal-feature{position:relative;min-height:210px;padding:28px;text-decoration:none;color:inherit;background:linear-gradient(135deg,rgba(18,21,26,.9),rgba(7,9,12,.94));border:1px solid rgba(255,255,255,.065);border-radius:14px;overflow:hidden;transition:.18s ease}.portal-feature:hover{transform:translateY(-2px);border-color:rgba(255,143,25,.25);box-shadow:0 20px 65px rgba(0,0,0,.27),0 0 32px rgba(255,126,0,.04)}.portal-feature>span{position:absolute;right:24px;top:18px;font-size:44px;font-weight:900;color:rgba(255,153,38,.08)}.portal-feature h3{font-size:23px;margin:28px 0 10px}.portal-feature p{max-width:570px;color:#8d959d;line-height:1.7}.portal-feature b{display:block;margin-top:24px;font-size:10px;letter-spacing:.12em;color:#f49a2f}
.portal-ranking .portal-row{cursor:pointer}.portal-ranking .portal-row:hover td{background:rgba(255,139,22,.035)}.portal-accent{color:#ffad3e}
.profile-search,.blog-toolbar{display:flex;align-items:center;gap:15px;margin:0 0 20px}.profile-search .input,.blog-toolbar .input{max-width:460px}.profile-search span{font-size:10px;color:#68717a;letter-spacing:.08em;text-transform:uppercase}
.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.profile-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-card{display:grid;grid-template-columns:58px 1fr 25px;align-items:center;gap:14px;min-height:92px;padding:15px 17px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(10,12,16,.82);text-decoration:none;color:inherit;transition:.15s ease}.profile-card:hover{border-color:rgba(255,145,27,.23);background:rgba(16,17,20,.92)}.profile-card.static{grid-template-columns:58px 1fr}.profile-rune,.char-sigil{display:grid;place-items:center;border-radius:10px;background:radial-gradient(circle at 35% 30%,rgba(255,183,72,.18),rgba(255,125,0,.035));border:1px solid rgba(255,153,37,.18);color:#ffae3c;font-weight:900;font-size:21px}.profile-rune{width:56px;height:56px}.profile-card small{font-size:9px;letter-spacing:.08em;color:#737b85}.profile-card h3{margin:5px 0;font-size:15px}.profile-card p{margin:0;font-size:11px;color:#818993}.profile-card>b{color:#d88727}
.character-profile-head{display:flex;align-items:center;gap:20px;margin:0 0 20px;padding:24px 26px;border:1px solid rgba(255,147,28,.12);border-radius:15px;background:linear-gradient(120deg,rgba(21,18,13,.75),rgba(9,11,14,.9))}.char-sigil{width:82px;height:82px;font-size:34px}.character-profile-head span{color:#b87728;font-size:9px;font-weight:900;letter-spacing:.14em}.character-profile-head h2{font-size:30px;margin:5px 0}.character-profile-head p{margin:0;color:#89919a}
.portal-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.portal-panel{padding:20px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:rgba(9,11,14,.84)}.portal-panel .panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.portal-panel .panel-title h3{margin:0;font-size:14px}.portal-run-list>div,.sanction-list>div,.activity-list>div{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:11px 3px;border-bottom:1px solid rgba(255,255,255,.045)}.portal-run-list span,.sanction-list strong,.activity-list span{font-size:12px}.portal-run-list strong{font-size:11px;color:#ff9e2d}.portal-run-list small,.sanction-list small,.activity-list small{grid-column:1/-1;color:#65707a;font-size:9px}.sanction-list>div.read{opacity:.58}
.run-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.run-card{display:grid;grid-template-columns:1fr 115px 90px 20px;align-items:center;gap:12px;padding:18px 20px;text-decoration:none;color:inherit;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(10,12,15,.85);transition:.15s}.run-card:hover{border-color:rgba(255,145,29,.21);background:rgba(15,16,19,.92)}.run-card small,.run-card span{font-size:9px;color:#707984;letter-spacing:.08em}.run-card h3{font-size:15px;margin:4px 0 0}.run-card strong{display:block;color:#dce1e6;margin-top:4px}.run-card>b{color:#e9912d}
.fame-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.fame-panel{padding:20px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:linear-gradient(145deg,rgba(17,19,23,.9),rgba(8,10,13,.93))}.fame-panel>small{font-size:9px;color:#bd7b2c;letter-spacing:.12em;font-weight:900}.fame-row{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:9px;margin-top:15px;padding-top:13px;border-top:1px solid rgba(255,255,255,.055)}.fame-row>b{color:#6e7680}.fame-row span{font-size:12px;font-weight:800}.fame-row strong{color:#ffad3d;font-size:12px}
.blog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.blog-card{display:block;min-height:220px;padding:27px;border:1px solid rgba(255,255,255,.065);border-radius:14px;text-decoration:none;color:inherit;background:linear-gradient(145deg,rgba(18,20,24,.9),rgba(8,10,13,.95));transition:.17s}.blog-card:hover{transform:translateY(-2px);border-color:rgba(255,144,27,.23)}.blog-card small{font-size:9px;color:#b87528;letter-spacing:.12em}.blog-card h2{font-size:23px;margin:23px 0 10px}.blog-card p{color:#8b939c;line-height:1.7}.blog-card span{display:block;margin-top:23px;color:#f09a33;font-size:10px;font-weight:900;letter-spacing:.1em}.article-body{max-width:900px;margin:auto;padding:36px;border:1px solid rgba(255,255,255,.06);border-radius:14px;background:rgba(10,12,15,.82);line-height:1.8;color:#aab0b7}.article-body h1,.article-body h2,.article-body h3{color:#eef1f4}.article-body a{color:#ff9e2d}
.portal-account .account-menu button{font-size:11px;min-height:42px}.portal-points{color:#ffab3a;font-size:12px;font-weight:900}.account-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.account-info-grid>div{padding:17px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.014)}.account-info-grid small{display:block;color:#6e7780;font-size:9px;letter-spacing:.1em}.account-info-grid strong{display:block;margin:10px 0 5px;color:#eef1f4}.account-info-grid span{font-size:10px;color:#828a93}.activity-list>div{grid-template-columns:50px 1fr auto}.activity-list strong{color:#ff9e2c}
.portal-shop-banner{margin-bottom:16px}.shop-tabs{margin-bottom:16px}.store-actions{display:flex;gap:6px}.portal-store-grid .shop-card{min-height:370px}
.nav.cinematic-nav{gap:11px}.cinematic-links{gap:2px}.cinematic-links .nav-link{padding-left:9px;padding-right:9px;font-size:9px}
@media(max-width:1200px){.profile-grid{grid-template-columns:repeat(2,1fr)}.fame-grid{grid-template-columns:repeat(2,1fr)}.portal-stat-grid.five{grid-template-columns:repeat(3,1fr)}.top-server-status{display:none}}
@media(max-width:850px){.portal-stat-grid,.portal-stat-grid.five{grid-template-columns:repeat(2,1fr)}.portal-feature-grid,.portal-two,.run-grid,.blog-grid,.fame-grid,.account-info-grid{grid-template-columns:1fr}.profile-grid,.profile-grid.compact{grid-template-columns:1fr}.run-card{grid-template-columns:1fr 75px 20px}.run-card>div:nth-child(3){display:none}.cinematic-links{display:none}}
.account-identity{display:flex;align-items:center;gap:16px;margin-bottom:17px;padding:15px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.012)}.web-avatar{width:70px;height:70px;border-radius:12px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,151,35,.2);background:radial-gradient(circle at 35% 30%,rgba(255,178,61,.2),rgba(255,120,0,.03));color:#ffab39;font-size:26px;font-weight:900}.web-avatar img{width:100%;height:100%;object-fit:cover}.account-identity>div:last-child>strong{display:block;font-size:18px}.account-identity>div:last-child>small{display:block;margin:5px 0 10px;color:#737b84;font-size:9px;letter-spacing:.1em}.identity-actions{display:flex;gap:7px;flex-wrap:wrap}.challenge-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid rgba(255,255,255,.055);border-radius:11px;margin-bottom:10px;background:rgba(255,255,255,.012)}.challenge-list small{font-size:9px;color:#b87a2c;letter-spacing:.12em}.challenge-list strong{display:block;margin:6px 0;font-size:15px}.challenge-list p{margin:0;color:#79828b;font-size:11px}.btn.green{color:#75dba8;border-color:rgba(62,208,138,.25);background:rgba(41,139,98,.08)}
.admin-portal-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.admin-wide{grid-column:1/-1}.admin-wide .panel-title{gap:15px}.admin-wide .panel-title .input{max-width:320px}.admin-actions{white-space:nowrap}.mini-btn{border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.025);color:#929aa3;border-radius:6px;padding:6px 7px;font-size:9px;cursor:pointer}.mini-btn:hover{border-color:rgba(255,148,31,.22);color:#ff9f31}.admin-editor{min-height:220px;resize:vertical}.check-row{display:flex;gap:8px;align-items:center;margin:12px 0 16px;color:#8d959d;font-size:11px}.admin-blog-title{margin-top:28px!important}.admin-blog-list>div{display:grid;grid-template-columns:55px 1fr;gap:3px 10px;padding:9px 2px;border-bottom:1px solid rgba(255,255,255,.045)}.admin-blog-list span{font-size:8px;color:#d28a31;letter-spacing:.09em}.admin-blog-list strong{font-size:11px}.admin-blog-list small{grid-column:2;color:#67717a;font-size:9px}.tag.green{color:#67d69b}.tag.orange{color:#ffac3d}.tag.red{color:#ff6f7e}
@media(max-width:950px){.admin-portal-grid{grid-template-columns:1fr}}


/* v10.1 — native Fiesta Instance Dungeon Rankings */
.dungeon-ranking-shell{border:1px solid rgba(255,149,32,.12);background:linear-gradient(145deg,rgba(12,14,18,.94),rgba(7,9,12,.96));border-radius:16px;padding:20px;box-shadow:0 30px 90px rgba(0,0,0,.25)}
.dungeon-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(200px,.55fr) auto;gap:12px;align-items:end;padding:14px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(255,255,255,.015)}
.dungeon-filter label{display:block;margin:0 0 7px;color:#8c652f;font-size:9px;font-weight:900;letter-spacing:.12em}.dungeon-filter .input{width:100%;min-height:44px}
.dungeon-toolbar .btn{min-height:44px;white-space:nowrap}.dungeon-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:13px 0}.dungeon-summary>div{padding:16px 18px;border:1px solid rgba(255,255,255,.05);border-radius:11px;background:rgba(255,255,255,.012)}.dungeon-summary small{display:block;color:#626b75;font-size:8px;letter-spacing:.13em;font-weight:900}.dungeon-summary strong{display:block;margin-top:8px;color:#e9edf1;font-size:17px}.dungeon-summary>div:nth-child(2) strong{color:#ffa83b}
.dungeon-loading{padding:65px;text-align:center;color:#8c939a;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.dungeon-ranking-head{display:flex;justify-content:space-between;align-items:center;padding:19px 3px 15px}.dungeon-ranking-head span{color:#d78b2c;font-size:9px;font-weight:900;letter-spacing:.14em}.dungeon-ranking-head h2{font-size:25px;margin:4px 0}.dungeon-ranking-head p{margin:0;color:#747d86;font-size:11px}.dungeon-live-chip{padding:7px 10px;border:1px solid rgba(69,219,148,.2);border-radius:999px;color:#72dfa7;background:rgba(42,177,111,.055);font-size:8px;font-weight:900;letter-spacing:.12em}
.dungeon-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 13px}.dungeon-podium-card{position:relative;display:flex;flex-direction:column;align-items:center;min-height:190px;padding:20px;text-align:center;text-decoration:none;color:inherit;border:1px solid rgba(255,255,255,.06);border-radius:13px;background:linear-gradient(155deg,rgba(21,22,25,.93),rgba(9,10,13,.96));transition:.15s ease}.dungeon-podium-card:hover{transform:translateY(-2px);border-color:rgba(255,151,37,.24)}.dungeon-podium-card>b{position:absolute;left:13px;top:11px;color:#ffac3c;font-size:16px}.dungeon-podium-card.p1{border-color:rgba(255,169,58,.19);box-shadow:inset 0 0 45px rgba(255,132,13,.025)}.dungeon-rune{display:grid;place-items:center;width:52px;height:52px;margin:3px 0 10px;border-radius:50%;border:1px solid rgba(255,157,40,.18);background:radial-gradient(circle,rgba(255,162,46,.14),rgba(255,120,0,.02));color:#ffac3b;font-size:20px;font-weight:900}.dungeon-podium-card small{color:#727a83;font-size:8px;letter-spacing:.07em}.dungeon-podium-card h3{font-size:15px;margin:6px 0 14px}.dungeon-podium-card strong{color:#ffab3b;font-size:21px}.dungeon-podium-card span{margin-top:5px;color:#68717a;font-size:8px;letter-spacing:.1em;text-transform:uppercase}
.dungeon-table-wrap{overflow:auto}.dungeon-rank-table{min-width:1100px}.dungeon-rank-table a{text-decoration:none;color:inherit}.dungeon-rank-table tbody tr:hover td{background:rgba(255,144,27,.028)}
.dungeon-char-panel{margin-top:14px}.dungeon-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dungeon-record{padding:17px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.012)}.dungeon-record-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.045)}.dungeon-record-title small{display:block;color:#c37f2c;font-size:8px;letter-spacing:.11em}.dungeon-record-title strong{display:block;margin-top:4px;font-size:14px}.dungeon-record-title>span{color:#616a74;font-size:8px}.dungeon-record-values{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.dungeon-record-values>div{min-width:0}.dungeon-record-values small{display:block;color:#646d76;font-size:7px;letter-spacing:.09em}.dungeon-record-values strong{display:block;margin:7px 0 3px;color:#e8ecef;font-size:13px}.dungeon-record-values span{display:block;color:#6f7780;font-size:8px}
@media(max-width:1000px){.dungeon-toolbar{grid-template-columns:1fr 1fr}.dungeon-toolbar .btn{grid-column:1/-1}.dungeon-podium{grid-template-columns:1fr}.dungeon-record-grid{grid-template-columns:1fr}.dungeon-record-values{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.dungeon-toolbar,.dungeon-summary{grid-template-columns:1fr}.dungeon-toolbar .btn{grid-column:auto}}


/* v10.2 — Rankings dropdown in the main navigation */
.nav-dropdown{position:relative;display:flex;align-items:center;height:100%}
.nav-dropdown-trigger{appearance:none;border:0;background:transparent;font:inherit;cursor:pointer;display:flex;align-items:center;gap:5px}
.nav-caret{font-size:10px;opacity:.62;transform:translateY(-1px);transition:transform .15s ease}
.nav-dropdown-menu{
  position:absolute;top:calc(100% + 12px);left:50%;
  width:224px;padding:8px;
  transform:translateX(-50%) translateY(-5px);
  border:1px solid rgba(255,151,32,.15);border-radius:10px;
  background:rgba(8,10,13,.98);
  box-shadow:0 24px 65px rgba(0,0,0,.52),0 0 28px rgba(255,126,0,.035);
  opacity:0;visibility:hidden;pointer-events:none;transition:.15s ease;z-index:1000;
  backdrop-filter:blur(14px)
}
.nav-dropdown-menu:before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)
}
.nav-dropdown:hover .nav-caret,.nav-dropdown:focus-within .nav-caret{transform:rotate(180deg)}
.nav-dropdown-menu a{
  display:flex;align-items:center;justify-content:space-between;
  min-height:36px;padding:0 11px;border-radius:6px;
  color:#8e969f;text-decoration:none;font-size:9px;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;transition:.12s ease
}
.nav-dropdown-menu a:hover{background:rgba(255,144,24,.075);color:#ffab3d}
.nav-dropdown-sep{height:1px;margin:6px 5px;background:rgba(255,255,255,.055)}
.nav-dropdown-feature{color:#e39a3c!important}
.nav-dropdown-feature span{
  padding:3px 5px;border-radius:4px;
  background:rgba(255,142,24,.10);border:1px solid rgba(255,151,35,.15);
  color:#ffac3d;font-size:7px;letter-spacing:.1em
}
@media(max-width:850px){.nav-dropdown{display:none}}


/* v10.3 — Account Center navigation repair */
.portal-account .account-menu-v2{
  overflow:hidden;
  border:1px solid rgba(255,151,35,.12);
  background:linear-gradient(180deg,rgba(15,16,18,.96),rgba(8,10,12,.96));
}
.portal-account .account-menu-v2 button[data-portal-tab]{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:flex!important;
  align-items:center;
  width:calc(100% - 20px)!important;
  min-height:42px!important;
  margin:3px 10px!important;
  padding:0 13px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#89929c!important;
  font-family:inherit!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.035em!important;
  text-align:left!important;
  cursor:pointer;
  box-shadow:none!important;
  transition:.14s ease!important;
}
.portal-account .account-menu-v2 button[data-portal-tab]:hover{
  color:#d5d9dd!important;
  background:rgba(255,255,255,.025)!important;
  border-color:rgba(255,255,255,.045)!important;
}
.portal-account .account-menu-v2 button[data-portal-tab].active{
  color:#ffad3d!important;
  background:linear-gradient(90deg,rgba(255,132,16,.12),rgba(255,132,16,.025))!important;
  border-color:rgba(255,151,36,.15)!important;
  box-shadow:inset 2px 0 0 #f18d20!important;
}
.portal-account .account-nav-label{padding:15px 20px 8px!important;color:#686f77!important;font-size:8px!important;letter-spacing:.14em!important}
.portal-account .account-shop-link{margin:9px 10px 12px!important;border-radius:7px!important}

/* v10.3 — restored Xelion/Xavii item shop categories */
.xavii-store-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:16px;align-items:start}
.xavii-store-sidebar{
  position:sticky;top:92px;
  border:1px solid rgba(255,151,35,.11);border-radius:13px;
  background:linear-gradient(180deg,rgba(15,17,20,.95),rgba(8,10,13,.96));
  overflow:hidden
}
.store-side-head{padding:20px 18px 15px;border-bottom:1px solid rgba(255,255,255,.05)}
.store-side-head span{display:block;color:#c17b28;font-size:8px;font-weight:900;letter-spacing:.14em}
.store-side-head h3{margin:5px 0 0;font-size:18px}
.store-category-list{padding:8px}
.store-category-btn{
  appearance:none;width:100%;height:43px;margin:2px 0;padding:0 10px;
  display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;
  border:1px solid transparent;border-radius:7px;background:transparent;
  color:#858e97;text-align:left;cursor:pointer;font:inherit;transition:.13s ease
}
.store-category-btn:hover{background:rgba(255,255,255,.025);color:#d9dde1;border-color:rgba(255,255,255,.04)}
.store-category-btn.active{background:linear-gradient(90deg,rgba(255,135,19,.13),rgba(255,135,19,.025));border-color:rgba(255,151,37,.14);color:#ffac3b}
.store-cat-icon{display:grid;place-items:center;color:#9d6729;font-size:13px}.store-category-btn.active .store-cat-icon{color:#ff9e2f}
.store-cat-name{font-size:10px;font-weight:800}.store-category-btn b{min-width:25px;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.035);color:#6f7780;font-size:8px;text-align:center}
.store-category-btn.active b{background:rgba(255,144,25,.10);color:#e69a38}
.store-side-balance{margin:8px;padding:15px;border:1px solid rgba(255,151,34,.09);border-radius:9px;background:rgba(255,136,19,.025)}
.store-side-balance small{display:block;color:#666f78;font-size:7px;letter-spacing:.12em}.store-side-balance strong{display:block;margin:8px 0 3px;color:#ffad3e;font-size:16px}.store-side-balance span{color:#6f7780;font-size:8px}
.xavii-store-main{min-width:0;border:1px solid rgba(255,255,255,.055);border-radius:13px;background:rgba(9,11,14,.74);padding:18px}
.store-main-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:2px 2px 17px;border-bottom:1px solid rgba(255,255,255,.045);margin-bottom:17px}
.store-main-head h2{margin:5px 0 3px;font-size:24px}.store-main-head p{margin:0;color:#707983;font-size:10px}.store-search-wrap{width:min(330px,40%)}.store-search-wrap .input{width:100%;min-height:40px}
.portal-store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.portal-shop-card{min-height:365px}.portal-shop-card .shop-body h3{font-size:15px}.portal-shop-card .shop-body p{font-size:10px;line-height:1.6}
.store-empty{grid-column:1/-1}
@media(max-width:1150px){.portal-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.xavii-store-layout{grid-template-columns:1fr}.xavii-store-sidebar{position:static}.store-category-list{display:grid;grid-template-columns:repeat(2,1fr)}.store-main-head{align-items:stretch;flex-direction:column}.store-search-wrap{width:100%}.portal-store-grid{grid-template-columns:1fr}}


/* v10.6 — larger, clearer Account Center sidebar */
.portal-account .account-menu-v2{
  min-width:280px;
}

.portal-account .account-profile{
  padding:20px 18px!important;
  gap:14px!important;
}

.portal-account .account-avatar{
  width:48px!important;
  height:48px!important;
  font-size:18px!important;
}

.portal-account .account-profile-copy span{
  font-size:9px!important;
  letter-spacing:.14em!important;
}

.portal-account .account-profile-copy strong{
  font-size:15px!important;
  line-height:1.25!important;
}

.portal-account .account-profile-copy small{
  margin-top:5px!important;
  font-size:10px!important;
  line-height:1.4!important;
}

.portal-account .account-nav-label{
  padding:17px 20px 9px!important;
  font-size:9px!important;
  letter-spacing:.15em!important;
}

.portal-account .account-menu-v2 button[data-portal-tab]{
  min-height:48px!important;
  margin:4px 10px!important;
  padding:0 15px!important;
  border-radius:8px!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.025em!important;
  line-height:1.2!important;
}

.portal-account .account-menu-v2 button[data-portal-tab].active{
  font-size:12px!important;
  font-weight:900!important;
}

.portal-account .account-shop-link{
  min-height:48px!important;
  padding:0 15px!important;
  font-size:12px!important;
  font-weight:850!important;
}

.portal-account .account-menu-divider{
  margin:12px 14px!important;
}

@media(max-width:950px){
  .portal-account .account-menu-v2{min-width:0}
}


/* v10.9 — global readability pass */
html{font-size:17px}
body{font-size:15px;line-height:1.55}

.nav-link,.account-text-link,.login-text-link,.create-link,.nav-logout{
  font-size:11px!important;
  letter-spacing:.06em!important
}
.top-status-label{font-size:9px!important}
.top-status-value{font-size:10px!important}

.eyebrow,.micro-label,.shop-category,.portal-stat small,.profile-card small,
.portal-feature>span,.portal-panel small,.rank-table th,.form-row label,
.account-info-grid small,.challenge-list small,.dungeon-filter label{
  font-size:10px!important
}

.page-sub,.muted,.portal-feature p,.profile-card p,.run-card span,.run-card small,
.char-meta,.account-info-grid span,.challenge-list p,.article-body,
.shop-body p,.footer-links a,.footer-brand span{
  font-size:12px!important
}

.btn,.mini-btn,.category-btn,.store-category-btn,.portal-tabs a,.portal-tabs button{
  font-size:11px!important
}

.input,input,select,textarea{
  font-size:13px!important
}

.rank-table{font-size:14px!important}
.rank-table th{padding:13px 14px!important}
.rank-table td{padding:13px 14px!important}

.profile-card h3,.run-card h3,.shop-card h3,.portal-panel h3{
  font-size:16px!important
}

.portal-stat strong{font-size:34px!important}

.account-menu-v2 button[data-portal-tab]{
  font-size:13px!important;
  min-height:50px!important
}
.account-profile-copy strong{font-size:16px!important}
.account-profile-copy small{font-size:11px!important}
.account-shop-link{font-size:13px!important}

.shop-body p{line-height:1.65!important}
.store-cat-name{font-size:11px!important}
.store-category-btn{height:46px!important}

.footer-inner{font-size:12px!important}

/* v10.9 — Community redesign */
.community-cinematic{
  position:relative;
  overflow:hidden;
  padding:34px 0 90px;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,134,17,.055),transparent 28%),
    radial-gradient(circle at 85% 65%,rgba(0,175,210,.035),transparent 25%),
    linear-gradient(180deg,#080a0d 0%,#06080a 100%);
}
.community-lines{
  position:absolute;inset:0;pointer-events:none;opacity:.14;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:90px 90px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 92%);
}
.community-glow{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none}
.community-glow-a{width:420px;height:420px;left:-180px;top:140px;background:rgba(255,119,0,.07)}
.community-glow-b{width:380px;height:380px;right:-160px;top:430px;background:rgba(0,164,204,.045)}

.community-intro{
  max-width:760px;
  padding:58px 0 42px;
}
.community-kicker{
  color:#d88a29;font-size:11px;font-weight:900;letter-spacing:.18em
}
.community-intro h2{
  margin:10px 0 12px;
  font-size:46px;
  line-height:1.04;
  letter-spacing:-.025em
}
.community-intro p{
  margin:0;
  color:#929aa3;
  font-size:15px!important;
  line-height:1.7
}

.community-overview{
  display:grid;
  grid-template-columns:1.35fr repeat(3,1fr);
  gap:1px;
  margin-bottom:18px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.03)
}
.community-stat{
  position:relative;
  min-height:150px;
  padding:26px 28px;
  background:linear-gradient(145deg,rgba(16,19,23,.94),rgba(8,10,13,.95))
}
.community-stat span{
  display:block;
  color:#737c85;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em
}
.community-stat strong{
  display:block;
  margin-top:25px;
  color:#eef1f4;
  font-size:42px;
  line-height:1
}
.community-stat.major strong{color:#ffad3e;font-size:50px}
.community-stat.major i{
  position:absolute;left:28px;bottom:18px;width:48px;height:2px;
  background:linear-gradient(90deg,#f39328,transparent)
}

.community-showcase{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:14px
}
.community-feature{
  position:relative;
  min-height:235px;
  padding:30px 32px;
  display:flex;
  align-items:flex-end;
  text-decoration:none;
  color:inherit;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  background:
    radial-gradient(circle at 80% 20%,rgba(255,143,29,.055),transparent 34%),
    linear-gradient(140deg,rgba(18,21,25,.95),rgba(8,10,13,.97));
  transition:.18s ease
}
.community-feature:hover{
  transform:translateY(-2px);
  border-color:rgba(255,150,34,.22);
  box-shadow:0 28px 75px rgba(0,0,0,.28),0 0 34px rgba(255,126,0,.035)
}
.community-feature-wide{grid-row:span 2;min-height:484px}
.community-feature-accent{
  background:
    radial-gradient(circle at 80% 20%,rgba(255,145,27,.095),transparent 38%),
    linear-gradient(145deg,rgba(23,19,13,.96),rgba(9,10,12,.98))
}
.community-feature-number{
  position:absolute;top:20px;left:24px;
  color:rgba(255,159,47,.16);
  font-size:38px;
  font-weight:900
}
.community-feature-copy small{
  color:#c37c29;
  font-size:10px!important;
  font-weight:900;
  letter-spacing:.14em
}
.community-feature-copy h3{
  margin:8px 0 8px;
  font-size:28px!important;
  line-height:1.08
}
.community-feature-copy span{
  display:block;
  max-width:420px;
  color:#8b949d;
  font-size:13px!important;
  line-height:1.65
}
.community-feature-copy b{
  display:block;
  margin-top:23px;
  color:#f29b32;
  font-size:11px!important;
  letter-spacing:.11em
}
.community-feature-mark{
  position:absolute;right:35px;top:25px;
  color:rgba(255,151,35,.045);
  font-size:180px;
  font-weight:900;
  line-height:1
}

@media(max-width:1000px){
  html{font-size:16px}
  .community-overview{grid-template-columns:repeat(2,1fr)}
  .community-showcase{grid-template-columns:1fr}
  .community-feature-wide{grid-row:auto;min-height:280px}
}
@media(max-width:650px){
  .community-intro h2{font-size:36px}
  .community-overview{grid-template-columns:1fr}
  .community-feature{min-height:210px;padding:25px}
  .community-feature-copy h3{font-size:24px!important}
}


/* v10.10 — unified Community / Ranking flow */
.community-cinematic{
  padding:26px 0 76px!important;
  min-height:640px;
}

.portal-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  min-height:92px;
  padding:12px 2px 22px;
  margin:0 0 14px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.portal-page-head span{
  display:block;
  color:#c47d2a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.15em;
}
.portal-page-head h2{
  margin:6px 0 0;
  font-size:30px;
  line-height:1.05;
}

.community-overview{
  margin-top:0!important;
}

.community-stat{
  min-height:128px!important;
  padding:22px 24px!important;
}
.community-stat strong{
  margin-top:20px!important;
  font-size:36px!important;
}
.community-stat.major strong{
  font-size:42px!important;
}

.community-showcase{
  margin-top:14px;
}
.community-feature{
  min-height:205px!important;
  padding:26px 28px!important;
}
.community-feature-wide{
  min-height:424px!important;
}
.community-feature-copy h3{
  font-size:25px!important;
}
.community-feature-mark{
  font-size:150px!important;
}

/* Give all portal pages the same vertical rhythm below the hero. */
.section-game{
  padding-top:26px!important;
}
.section-game>.container>.portal-tabs,
.community-cinematic .portal-tabs{
  margin-bottom:14px!important;
}
.portal-tabs{
  min-height:52px;
  align-items:center;
}

/* No smooth scrolling between SPA portal routes: prevents visible up/down bounce. */
html,body,.content{
  scroll-behavior:auto!important;
}

/* Stable minimum heights reduce layout shift while API data renders. */
.portal-ranking,
.ranking-frame,
.dungeon-ranking-shell,
.run-grid,
.fame-grid{
  min-height:220px;
}

@media(max-width:1000px){
  .community-feature-wide{min-height:250px!important}
  .portal-page-head{min-height:78px}
}


/* v10.11 — Item Shop category readability */
.store-side-head{
  padding:22px 20px 17px!important;
}
.store-side-head span{
  font-size:10px!important;
  letter-spacing:.15em!important;
}
.store-side-head h3{
  font-size:21px!important;
  margin-top:7px!important;
}

.store-category-list{
  padding:10px!important;
}

.store-category-btn{
  min-height:54px!important;
  height:auto!important;
  margin:4px 0!important;
  padding:0 13px!important;
  grid-template-columns:32px 1fr auto!important;
  gap:10px!important;
  border-radius:8px!important;
}

.store-cat-icon{
  font-size:17px!important;
}

.store-cat-name{
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.01em!important;
}

.store-category-btn b{
  min-width:34px!important;
  padding:5px 8px!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  color:#aeb6be!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.055)!important;
}

.store-category-btn.active b{
  color:#ffbd62!important;
  background:rgba(255,145,27,.14)!important;
  border-color:rgba(255,156,42,.18)!important;
}

.store-category-btn:hover b{
  color:#d7dde3!important;
}

.store-side-balance{
  padding:17px!important;
}
.store-side-balance small{
  font-size:9px!important;
}
.store-side-balance strong{
  font-size:19px!important;
}
.store-side-balance span{
  font-size:10px!important;
}

/* v10.20 Coin vouchers */
.coin-voucher-box{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08);display:grid;gap:8px}
.coin-voucher-box .input{text-transform:uppercase;font-size:11px}
.coin-voucher-account{display:grid;grid-template-columns:minmax(180px,.7fr) 1.3fr;gap:18px;align-items:center;padding:16px;margin:16px 0;border:1px solid rgba(255,153,34,.22);background:rgba(255,153,34,.035)}
.coin-voucher-account strong{display:block;color:#f4f4f4;margin-bottom:4px}
.coin-voucher-account small{display:block;color:#8c9299;line-height:1.45}
.coin-voucher-inline{display:flex;gap:8px}
.coin-voucher-inline .input{text-transform:uppercase}
.coin-voucher-admin-list{display:grid;gap:6px;margin:12px 0 18px}
.coin-voucher-admin-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.015)}
.coin-voucher-admin-row strong,.coin-voucher-admin-row small{display:block}
.coin-voucher-admin-row small{color:#8c9299;margin-top:2px}
@media(max-width:760px){.coin-voucher-account{grid-template-columns:1fr}.coin-voucher-inline{flex-direction:column}}


/* v10.23 — voucher moved into the top Xavii Coins area */
.portal-shop-banner{
  align-items:center;
}
.shop-top-wallet{
  min-width:430px;
  display:grid;
  justify-items:end;
  gap:10px;
}
.shop-top-balance{
  text-align:right;
}
.shop-top-balance small{
  display:block;
  margin-bottom:3px;
  color:#7f8790;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
}
.shop-top-balance strong{
  display:block;
  color:#ffb33f;
  font-size:20px;
  line-height:1.2;
}
.shop-top-voucher{
  display:flex;
  align-items:stretch;
  gap:7px;
}
.shop-top-voucher .input{
  width:245px;
  min-height:39px;
  text-transform:uppercase;
  font-family:Consolas,monospace;
  letter-spacing:.05em;
}
.shop-top-voucher .btn{
  min-width:88px;
}
@media(max-width:900px){
  .portal-shop-banner{align-items:flex-start;flex-direction:column}
  .shop-top-wallet{width:100%;min-width:0;justify-items:start}
  .shop-top-balance{text-align:left}
  .shop-top-voucher{width:100%}
  .shop-top-voucher .input{width:auto;flex:1}
}


/* v10.24 — stable normal-item card structure */
.portal-store-grid .portal-shop-card{
  display:flex;
  flex-direction:column;
  min-height:370px;
}
.portal-store-grid .xavii-catalog-image{
  height:190px!important;
  min-height:190px!important;
  max-height:190px!important;
  flex:0 0 190px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
.portal-store-grid .xavii-catalog-image img{
  width:auto!important;
  height:auto!important;
  max-width:160px!important;
  max-height:160px!important;
  object-fit:contain!important;
}
.portal-store-grid .xavii-shop-copy{
  display:block!important;
  flex:1 1 auto!important;
  padding:15px 18px 0!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.portal-store-grid .xavii-shop-copy .shop-category{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#ff9e2c!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
.portal-store-grid .xavii-shop-copy h3{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#eef1f4!important;
  font-size:15px!important;
  line-height:1.3!important;
  margin:7px 0 6px!important;
}
.portal-store-grid .xavii-shop-copy p{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#918a84!important;
  font-size:10px!important;
  line-height:1.6!important;
  min-height:34px!important;
  margin:0!important;
  white-space:normal!important;
  overflow:visible!important;
}
.portal-store-grid .xavii-shop-actions{
  flex:0 0 auto!important;
  padding:0 18px 15px!important;
}
.portal-store-grid .xavii-shop-actions .shop-buy-row{
  margin-top:13px!important;
  padding-top:12px!important;
  border-top:1px solid rgba(255,255,255,.05)!important;
}
