
/* VALTHERA2 V9 — original Regalis-inspired information architecture.
   Uses Valthera2 assets and does not copy Regalis2 source/assets. */

.regalis-shell{
  --rg-bg:#090705;
  --rg-panel:rgba(17,13,9,.93);
  --rg-panel2:rgba(23,17,11,.92);
  --rg-border:rgba(196,145,68,.24);
  --rg-gold:#d5a14d;
  --rg-gold2:#f0c778;
  --rg-text:#eee4d5;
  --rg-muted:#998d7d;
  --rg-red:#6e1d10;
  background:#090604 url('/assets/images/valthera2-warrior-gold-bg.jpg') center top/cover fixed no-repeat !important;
}
.regalis-shell .oryon-world{display:none!important}
.regalis-shell .top{
  background:rgba(7,6,5,.94)!important;
  border-bottom:1px solid rgba(205,153,76,.22)!important;
  backdrop-filter:blur(12px);
}
.regalis-shell .top .wrap{max-width:1500px}
.regalis-shell .logo img{width:190px!important;height:62px!important;object-fit:contain!important}
.regalis-shell nav a{font-size:12px!important;letter-spacing:.05em;color:#cbbda9!important}
.regalis-shell nav a:hover{color:#f0c778!important}
.regalis-shell .play{background:linear-gradient(180deg,#6d1f12,#451008)!important;border-color:#a86629!important}
.regalis-home{width:min(1500px,94%);margin:0 auto;padding:38px 0 70px}

.rg-topstats{
  display:grid;grid-template-columns:repeat(3,1fr);
  max-width:920px;margin:0 auto 28px;
  border:1px solid var(--rg-border);
  background:rgba(8,7,6,.82);
  box-shadow:0 20px 60px rgba(0,0,0,.35)
}
.rg-stat{display:flex;align-items:center;justify-content:center;gap:14px;padding:18px 22px;border-right:1px solid var(--rg-border)}
.rg-stat:last-child{border-right:0}
.rg-stat-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(220,170,83,.25);background:#15100b;color:var(--rg-gold2);font-size:20px}
.rg-stat small{display:block;color:#8f8373;font-size:10px;letter-spacing:.09em;margin-bottom:4px}
.rg-stat strong{font-family:Georgia,serif;color:var(--rg-gold2);font-size:25px}

.rg-layout{display:grid;grid-template-columns:280px minmax(0,1fr) 280px;gap:20px;align-items:start}
.rg-sidebar{display:grid;gap:20px;position:sticky;top:92px}
.rg-panel{background:linear-gradient(180deg,var(--rg-panel2),var(--rg-panel));border:1px solid var(--rg-border);box-shadow:0 18px 45px rgba(0,0,0,.32)}
.rg-panel-title{font-family:Georgia,serif;color:var(--rg-gold2);font-size:14px;letter-spacing:.06em;padding:14px 16px;border-bottom:1px solid var(--rg-border);background:linear-gradient(90deg,rgba(126,67,17,.18),transparent)}
.rg-login-form{padding:15px}
.rg-login-form label{display:flex;align-items:center;gap:9px;background:#0b0907;border:1px solid rgba(193,143,68,.19);padding:0 10px;margin-bottom:10px}
.rg-login-form label span{opacity:.55}
.rg-login-form input{width:100%;border:0!important;background:transparent!important;padding:12px 4px!important;color:#eee!important;box-shadow:none!important}
.rg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 18px;border:1px solid rgba(206,153,72,.44);font-size:11px;font-weight:800;letter-spacing:.06em;text-decoration:none!important;cursor:pointer}
.rg-btn.gold{color:#f8dfaa!important;background:linear-gradient(180deg,#723016,#431207)!important;border-color:#a9672d!important}
.rg-btn.dark{color:#dac8a7!important;background:#0e0b08!important}
.rg-login-form .rg-btn{width:100%}
.rg-login-links{display:flex;justify-content:space-between;gap:8px;margin-top:11px}
.rg-login-links a{font-size:10px;color:#9f907d}
.rg-error{margin:12px;background:rgba(133,30,18,.22);border:1px solid rgba(201,72,43,.38);padding:9px;color:#e4a895;font-size:11px}
.rg-account{padding:16px;display:grid;gap:9px}.rg-account small{color:#8f8373}.rg-account strong{color:#efd18d;font-size:18px}

.rg-ranking{padding:6px 12px}
.rg-rank-row{display:grid;grid-template-columns:27px 1fr auto;gap:8px;align-items:center;padding:9px 2px;border-bottom:1px solid rgba(255,255,255,.045)}
.rg-rank-row:last-child{border-bottom:0}
.rg-place{width:23px;height:23px;display:grid;place-items:center;font-size:10px;border:1px solid rgba(188,139,68,.18);color:#756c60}
.rg-place.podium{color:#f0c778;border-color:rgba(240,199,120,.4);background:rgba(137,83,22,.14)}
.rg-name{font-size:11px;color:#cfc3b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rg-rank-row strong{font-size:10px;color:#c9984e}
.rg-more{display:block;padding:10px 14px;border-top:1px solid var(--rg-border);font-size:9px;letter-spacing:.08em;color:#c69955;text-align:right}

.rg-content{min-width:0}
.rg-intro,.rg-section{background:rgba(9,7,5,.78);border:1px solid rgba(197,147,70,.18);box-shadow:0 20px 60px rgba(0,0,0,.28);padding:34px;margin-bottom:20px;backdrop-filter:blur(3px)}
.rg-kicker,.rg-section-head small{color:#b78642;font-size:10px;font-weight:800;letter-spacing:.14em}
.rg-intro h1{font-family:Georgia,serif;font-size:clamp(35px,4vw,61px);line-height:1.04;margin:8px 0 17px;color:#f0dfbe;text-shadow:0 5px 25px #000}
.rg-lead{color:#baae9d;line-height:1.8;font-size:14px;max-width:850px}
.rg-feature-lines{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin:25px 0}
.rg-feature-lines>div{display:grid;grid-template-columns:24px 1fr;column-gap:8px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.rg-feature-lines span{grid-row:1/3;color:#d5a14d}
.rg-feature-lines b{font-size:12px;color:#e1d1b7}
.rg-feature-lines small{font-size:10px;color:#8e8375;margin-top:3px}
.rg-actions{display:flex;gap:10px;flex-wrap:wrap}

.rg-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:8px}
.rg-section-head h2{font-family:Georgia,serif;color:#e9d5b0;font-size:28px;margin:4px 0 0}
.rg-section-head>a{font-size:9px;color:#c99a55;letter-spacing:.09em}
.rg-section-desc{color:#988d7e;line-height:1.7;font-size:12px;margin:0 0 18px}
.rg-explore-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rg-explore-card{position:relative;display:block;min-height:175px;padding:22px;background:linear-gradient(145deg,rgba(45,27,13,.62),rgba(11,9,7,.88));border:1px solid rgba(198,147,71,.18);overflow:hidden}
.rg-explore-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 90% 15%,rgba(181,102,27,.17),transparent 32%);pointer-events:none}
.rg-explore-card>span{position:absolute;right:15px;top:9px;font-family:Georgia,serif;font-size:36px;color:rgba(199,151,78,.10)}
.rg-explore-card h3{font-family:Georgia,serif;color:#e2c58f;margin:0 0 9px;font-size:18px}
.rg-explore-card p{font-size:11px;line-height:1.65;color:#938778;max-width:90%}
.rg-explore-card b{display:block;margin-top:16px;font-size:9px;color:#c4944b;letter-spacing:.08em}

.rg-update-list{border-top:1px solid rgba(255,255,255,.05)}
.rg-update-list>a{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;padding:13px 4px;border-bottom:1px solid rgba(255,255,255,.05)}
.rg-update-badge{font-size:8px;text-align:center;padding:5px 7px;border:1px solid rgba(194,143,69,.25);color:#c99a55}
.rg-update-list b{display:block;color:#d9c8ad;font-size:12px;margin-bottom:3px}
.rg-update-list small{color:#877c6f;font-size:10px}.rg-update-list time{font-size:9px;color:#776d60}

.rg-server-card{padding-bottom:14px}.rg-server-card .rg-btn{margin:10px 14px 0;width:calc(100% - 28px)}
.rg-server-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:18px 14px}
.rg-server-state span{width:8px;height:8px;border-radius:50%;background:#8a3227;box-shadow:0 0 12px rgba(138,50,39,.6)}
.rg-server-state.online span{background:#5ac36b;box-shadow:0 0 12px rgba(90,195,107,.6)}
.rg-server-state strong{font-size:13px;color:#d9c4a3}.rg-server-state.online strong{color:#8bd394}
.rg-server-row{display:flex;justify-content:space-between;padding:9px 14px;border-top:1px solid rgba(255,255,255,.045);font-size:10px;color:#8f8373}.rg-server-row b{color:#d5a14d}

.regalis-shell footer{background:#080706!important;border-top:1px solid rgba(197,147,70,.16)!important}
.regalis-shell .footer-grid{max-width:1500px!important}

@media(max-width:1180px){
  .rg-layout{grid-template-columns:245px minmax(0,1fr)}
  .rg-layout>.rg-sidebar:last-child{grid-column:1/-1;position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:850px){
  .regalis-home{width:min(94%,720px)}
  .rg-layout{grid-template-columns:1fr}
  .rg-sidebar,.rg-layout>.rg-sidebar:last-child{position:static;grid-template-columns:1fr}
  .rg-topstats{grid-template-columns:1fr}
  .rg-stat{border-right:0;border-bottom:1px solid var(--rg-border)}.rg-stat:last-child{border-bottom:0}
  .rg-feature-lines,.rg-explore-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .rg-intro,.rg-section{padding:22px 16px}
  .rg-intro h1{font-size:37px}
  .rg-actions{display:grid}
  .rg-update-list>a{grid-template-columns:52px 1fr}.rg-update-list time{display:none}
}
