/* Netherion RO Client UI 8.0 — Rune-Midgard window skin.
   Loaded LAST. Pure CSS override layer: remove this one <link> in header.php to roll back. */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&family=Nunito:wght@400;600;700;800&display=swap");

body.netherion{
  /* palette: night Prontera + client-window blue + zeny gold + parchment */
  --ro-night:#070f1c;
  --ro-stone:#0f1b2e;
  --ro-stone-hi:#16263d;
  --ro-edge:#2b4565;
  --ro-blue-hi:#5b93cf;
  --ro-blue:#3a6aa6;
  --ro-blue-lo:#1d406f;
  --ro-gold:#f0c35a;
  --ro-gold-lo:#a77a2c;
  --ro-gold-ink:#3a2706;
  --ro-parch:#f1e8cf;
  --ro-parch-ink:#3b2f1a;
  --ro-hp:#e0554a;
  --ro-sp:#43a6ff;
  --ro-ok:#6fe0a8;
  --ro-display:"Marcellus","Cormorant Garamond",Georgia,serif;
  --ro-body:"Nunito",Manrope,"Segoe UI",Arial,sans-serif;
  --ro-win-shadow:0 0 0 1px #050b14,0 10px 28px rgba(0,0,0,.45);
  --ro-bevel:inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(240,195,90,.10);
  font-family:var(--ro-body);
  background:
    radial-gradient(1200px 520px at 50% -120px,#15294a 0,transparent 70%),
    var(--ro-night);
}
body.netherion table,body.netherion .button,body.netherion input,body.netherion select,body.netherion textarea{font-family:var(--ro-body)}
body.netherion h1,body.netherion h2{font-family:var(--ro-display);font-weight:400;letter-spacing:.005em}
body.netherion h3,body.netherion h4{font-family:var(--ro-body);font-weight:800;letter-spacing:0}
body.netherion ::selection{background:var(--ro-gold);color:var(--ro-gold-ink)}

/* ---------- Header: client title bar ---------- */
body.netherion .site-header{
  background:linear-gradient(180deg,#14253f 0,#0b1627 100%);
  border-bottom:0;
  box-shadow:0 1px 0 var(--ro-gold-lo),0 2px 0 #050b14,0 8px 24px rgba(0,0,0,.5);
}
body.netherion .wordmark{font-family:var(--ro-display);font-weight:400;letter-spacing:.14em;text-shadow:0 2px 0 #050b14}
body.netherion .wordmark small{font-family:var(--ro-body);color:var(--ro-gold);letter-spacing:.3em;font-weight:700}
body.netherion .brand-sigil{
  border:0;color:var(--ro-gold-ink);font-family:var(--ro-display);
  background:linear-gradient(160deg,#ffe29a,var(--ro-gold) 45%,var(--ro-gold-lo));
  filter:drop-shadow(0 2px 6px rgba(240,195,90,.35));
}
body.netherion .primary-nav a{font-family:var(--ro-body);font-weight:800;color:#c3d3e6!important;padding:8px 2px}
body.netherion .primary-nav a:hover{color:#fff!important}
body.netherion .primary-nav a[aria-current]{color:var(--ro-gold)!important}
body.netherion .primary-nav a[aria-current]:after{height:3px;bottom:-14px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,transparent,var(--ro-gold),transparent)}
body.netherion .portal-nav{background:#0a1424;border-bottom:1px solid #1b2d47}
body.netherion .portal-nav span{color:var(--ro-gold);font-family:var(--ro-display);letter-spacing:.14em}

/* ---------- Buttons: bevelled client buttons ---------- */
body.netherion.netherion .button,
body.netherion.netherion input[type=submit],body.netherion.netherion input[type=button],body.netherion.netherion input[type=reset],
body.netherion.netherion button:not(.nav-toggle):not([data-arena-tab]){
  border-radius:6px;
  border:1px solid #0b1a2e;
  background:linear-gradient(180deg,var(--ro-blue-hi) 0,var(--ro-blue) 48%,var(--ro-blue-lo) 52%,#17355c 100%);
  color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(0,0,0,.4),0 2px 0 #08121f,0 6px 14px rgba(0,0,0,.35);
  font-weight:800;letter-spacing:.02em;
}
body.netherion .button:hover{transform:translateY(-1px);filter:brightness(1.12)}
body.netherion .button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(0,0,0,.5)}
body.netherion.netherion .button-primary,body.netherion.netherion input[type=submit]{
  color:var(--ro-gold-ink)!important;text-shadow:0 1px 0 rgba(255,255,255,.45);
  border-color:#6b4a10!important;
  background:linear-gradient(180deg,#ffe9a8 0,var(--ro-gold) 48%,#d39a2f 52%,var(--ro-gold-lo) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(0,0,0,.25),0 2px 0 #4b3208,0 8px 22px rgba(240,195,90,.22)!important;
}
body.netherion .button-primary:hover{filter:brightness(1.07);background:linear-gradient(180deg,#fff1c4 0,#f7cf72 48%,#dfa73a 52%,#b4862f 100%)!important}
body.netherion .button-glass{background:rgba(7,15,28,.72)!important;border:1px solid var(--ro-edge)!important;color:#fff!important;box-shadow:var(--ro-bevel)!important}
body.netherion .button-small{border-radius:5px}

/* ---------- Hero ---------- */
body.netherion .hero h1{font-family:var(--ro-display);text-shadow:0 3px 0 #050b14,0 8px 30px rgba(0,0,0,.6)}
body.netherion .hero h1 em{color:var(--ro-gold);font-style:normal}
body.netherion .hero p{color:#d3deea;font-weight:600;text-shadow:0 1px 8px rgba(0,0,0,.8)}
body.netherion .hero-eyebrow{color:var(--ro-gold);font-family:var(--ro-display);letter-spacing:.34em}
body.netherion .hero-shade{background:linear-gradient(180deg,rgba(7,15,28,.05) 0,rgba(7,15,28,.10) 28%,rgba(7,15,28,.80) 62%,var(--ro-night) 100%)}
body.netherion .hero-caption{color:var(--ro-gold);opacity:.75;font-family:var(--ro-display)}
body.netherion .home-hero-shortcuts a{
  background:linear-gradient(180deg,rgba(22,38,61,.88),rgba(10,20,36,.92));
  border:1px solid var(--ro-edge);border-radius:8px;box-shadow:var(--ro-bevel),0 6px 16px rgba(0,0,0,.4);
  color:#e6eef8!important;font-weight:800;
}
body.netherion .home-hero-shortcuts a:hover{border-color:var(--ro-gold);color:var(--ro-gold)!important}

/* ---------- Status rail = Basic Info window (HP/SP bars) ---------- */
body.netherion .status-rail{
  background:linear-gradient(180deg,#0e1a2d,#08111f);
  border:0;box-shadow:0 1px 0 #223a58,0 -1px 0 #050b14 inset,0 8px 20px rgba(0,0,0,.35);
}
body.netherion .status-label strong{font-family:var(--ro-display);font-weight:400;color:#fff;letter-spacing:.04em}
body.netherion .status-label .eyebrow{color:var(--ro-gold);letter-spacing:.2em}
body.netherion .service-state{position:relative;padding-bottom:10px;min-width:104px}
body.netherion .service-state:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:5px;border-radius:3px;
  background:#050b14;box-shadow:inset 0 0 0 1px #223a58;
}
body.netherion .service-state:has(.is-online):after{background:linear-gradient(180deg,#8ff0bf,#33b57a) padding-box,#050b14;box-shadow:0 0 0 1px #0a3a26,0 0 10px rgba(111,224,168,.35)}
body.netherion .service-state:has(.is-offline):after{background:linear-gradient(180deg,#ff8f84,#b3342b);box-shadow:0 0 0 1px #4a0f0b}
body.netherion .service-state:has(.is-unknown):after{background:linear-gradient(90deg,#26384f 0,#26384f 100%)}
body.netherion .status-dot.is-online{background:var(--ro-ok);box-shadow:0 0 10px var(--ro-ok)}
body.netherion .players-count{border-left:1px solid #223a58}
body.netherion .players-count strong{font-family:var(--ro-display);font-weight:400;color:var(--ro-gold);text-shadow:0 0 18px rgba(240,195,90,.35),0 2px 0 #050b14}

/* ---------- Windows: every panel gets client chrome ---------- */
body.netherion .panel,
body.netherion .content-surface,
body.netherion .arena-ledger,
body.netherion .hub-card,
body.netherion .roadmap-card,
body.netherion .collection-card,
body.netherion .resource-card,
body.netherion .game-sidebar,
body.netherion .game-side-help,
body.netherion .home-mvp-feed,
body.netherion .premium-news table,
body.netherion .journey-strip,
body.netherion .leaderboard-panel{
  background:linear-gradient(180deg,var(--ro-stone-hi) 0,var(--ro-stone) 36px,#0b1626 100%);
  border:1px solid #0a1424;
  border-top:3px solid var(--ro-blue);
  border-radius:8px;
  box-shadow:var(--ro-win-shadow),var(--ro-bevel),inset 0 3px 0 rgba(255,255,255,.06);
  position:relative;
}
/* gold corner studs, like the client window frame */
body.netherion .panel:before,body.netherion .content-surface:before,body.netherion .arena-ledger:before,body.netherion .game-sidebar:before{
  content:"";position:absolute;inset:6px;border:1px solid rgba(240,195,90,.14);border-radius:5px;pointer-events:none;
}
body.netherion .hub-card,body.netherion .collection-card,body.netherion .resource-card,body.netherion .roadmap-card{transition:transform .18s,border-color .18s,box-shadow .18s}
body.netherion .hub-card:hover,body.netherion .collection-card:hover,body.netherion .resource-card:hover{
  border-top-color:var(--ro-gold);transform:translateY(-3px);
  box-shadow:var(--ro-win-shadow),0 0 0 1px rgba(240,195,90,.35),0 14px 30px rgba(0,0,0,.5);
}
body.netherion .game-sidebar-title{
  background:linear-gradient(180deg,var(--ro-blue-hi),var(--ro-blue) 50%,var(--ro-blue-lo));
  color:#fff;border-radius:5px;text-shadow:0 1px 0 rgba(0,0,0,.6);font-family:var(--ro-body);font-weight:800;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 2px 0 #08121f;
}
body.netherion .game-sidebar-title small{color:#cfe2f7}

/* section headings: engraved, no decorative caps wall */
body.netherion .section-heading{border-bottom:1px solid #1f3552;padding-bottom:14px;position:relative}
body.netherion .section-heading:after{content:"";position:absolute;left:0;bottom:-1px;width:84px;height:2px;background:linear-gradient(90deg,var(--ro-gold),transparent)}
body.netherion .section-heading h2{font-size:38px}
body.netherion .eyebrow{color:var(--ro-gold);letter-spacing:.14em;font-family:var(--ro-body);font-weight:800}
body.netherion .text-link,body.netherion .subtle-link:hover{color:var(--ro-gold)!important}

/* ---------- Item slots: shop + collection ---------- */
body.netherion .collection-art,body.netherion .netherion .shop-table .shop-item-image{
  background:radial-gradient(circle at 50% 40%,#233b5a,#0b1626 70%);
  border:1px solid #0a1424;border-radius:6px;
  box-shadow:inset 0 0 0 1px rgba(240,195,90,.28),inset 0 6px 14px rgba(0,0,0,.55);
}
body.netherion .collection-card p,body.netherion .shop-item-cost{color:var(--ro-gold);font-weight:800;text-shadow:0 1px 0 #050b14}

/* ---------- Rankings & leaderboard rows ---------- */
body.netherion .rank-position{font-family:var(--ro-display);font-size:18px;color:#8aa4c2}
body.netherion .rank-gold{color:var(--ro-gold);text-shadow:0 0 14px rgba(240,195,90,.45)}
body.netherion .rank-row:hover{background:linear-gradient(90deg,rgba(91,147,207,.14),transparent)}
body.netherion .arena-podium-card{
  background:radial-gradient(ellipse at 50% 0,rgba(240,195,90,.14),transparent 65%),#0d1a2c;
  border:1px solid #0a1424;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(240,195,90,.22);
}
body.netherion .arena-medal{background:linear-gradient(160deg,#ffe29a,var(--ro-gold-lo));color:var(--ro-gold-ink);font-family:var(--ro-display);border-radius:4px}
body.netherion .arena-tabs button[aria-selected=true],body.netherion .arena-tabs button.is-active{
  background:linear-gradient(180deg,var(--ro-blue-hi),var(--ro-blue-lo))!important;color:#fff!important;border-color:#0b1a2e!important
}

/* ---------- Roadmap ---------- */
body.netherion .roadmap-phase{color:var(--ro-gold);font-family:var(--ro-display);letter-spacing:.12em}
body.netherion .roadmap-complete{border-top-color:var(--ro-ok)}
body.netherion .roadmap-progress{border-top-color:var(--ro-gold)}
body.netherion .roadmap-state{border-radius:4px;border:1px solid rgba(240,195,90,.4);background:rgba(240,195,90,.1);color:var(--ro-gold)}

/* ---------- Tables = inventory lists ---------- */
body.netherion .horizontal-table,body.netherion .vertical-table,body.netherion .shop-table{
  border:1px solid #0a1424!important;border-radius:8px;box-shadow:var(--ro-win-shadow),inset 0 0 0 1px rgba(240,195,90,.10)
}
body.netherion .horizontal-table th,body.netherion .vertical-table th{
  background:linear-gradient(180deg,#3f72b0,#27528a 55%,#1d406f)!important;
  color:#fff!important;text-shadow:0 1px 0 rgba(0,0,0,.55);border-bottom:1px solid #0b1a2e!important
}
body.netherion .vertical-table th{background:linear-gradient(180deg,#183052,#12243d)!important;color:var(--ro-gold)!important;text-shadow:none}
body.netherion .horizontal-table tbody tr:nth-child(even){background:#0f1e33!important}
body.netherion .horizontal-table tr:hover td{background:#1a3250!important}
body.netherion .horizontal-table td a,body.netherion .vertical-table td a{color:#9ccaf6}

/* ---------- Forms ---------- */
body.netherion input:not([type=submit]):not([type=button]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
body.netherion select,body.netherion textarea{
  background:linear-gradient(180deg,#050c18,#0a1626)!important;
  border:1px solid #0a1424!important;border-radius:5px!important;
  box-shadow:inset 0 2px 4px rgba(0,0,0,.6),0 0 0 1px #263e5e!important;
  color:#eef4fb!important;font-family:var(--ro-body)!important;
}
body.netherion input:focus,body.netherion select:focus,body.netherion textarea:focus{
  box-shadow:inset 0 2px 4px rgba(0,0,0,.6),0 0 0 2px var(--ro-gold)!important;outline:0!important
}
body.netherion .portal-form label,body.netherion .generic-form-table th{color:#c3d3e6;font-weight:700}
body.netherion .message,body.netherion .content-body .note,body.netherion .content-body .notice{
  background:var(--ro-parch);color:var(--ro-parch-ink);border:1px solid #b79c5a;border-left:5px solid var(--ro-gold-lo);
  box-shadow:0 4px 12px rgba(0,0,0,.35);font-weight:700;
}

/* ---------- Page heading on inner pages ---------- */
body.netherion .page-heading{
  background:
    linear-gradient(180deg,rgba(7,15,28,.55),rgba(7,15,28,.9)),
    radial-gradient(ellipse at 85% 120%,#24467a,transparent 65%),#0b1627;
  border-bottom:1px solid var(--ro-gold-lo);
}
body.netherion .page-heading h1{text-shadow:0 3px 0 #050b14}
body.netherion .breadcrumb{color:#9db4cf!important;font-weight:700}

/* ---------- Footer ---------- */
body.netherion .site-footer{background:linear-gradient(180deg,#08111f,#050b14);border-top:1px solid var(--ro-gold-lo);box-shadow:0 -1px 0 #050b14}
body.netherion .footer-top h3{color:var(--ro-gold)!important;font-family:var(--ro-display)!important;font-weight:400!important;font-size:17px!important;letter-spacing:.06em}
body.netherion .footer-top>div>a:not(.wordmark):hover{color:var(--ro-gold)!important}
body.netherion .journey-strip{background:radial-gradient(ellipse at 100% 100%,rgba(240,195,90,.14),transparent 60%),linear-gradient(180deg,var(--ro-stone-hi),var(--ro-stone))}
body.netherion .mobile-dock{background:linear-gradient(180deg,#14253f,#08111f);border-top:1px solid var(--ro-gold-lo)}
body.netherion .mobile-dock a[aria-current]{color:var(--ro-gold)}

/* ---------- Focus, motion, small screens ---------- */
body.netherion :focus-visible{outline:2px solid var(--ro-gold);outline-offset:3px}
@media(max-width:767px){
  body.netherion .section-heading h2{font-size:32px}
  body.netherion .panel:before,body.netherion .content-surface:before,body.netherion .arena-ledger:before,body.netherion .game-sidebar:before{inset:4px}
  body.netherion .service-state{min-width:0}
}
@media(prefers-reduced-motion:reduce){
  body.netherion .button:hover,body.netherion .hub-card:hover,body.netherion .collection-card:hover,body.netherion .resource-card:hover{transform:none}
}

/* =====================================================================
   8.1 — shell + inner pages
   ===================================================================== */
body.netherion .ro-topbar{background:#050b14;border-bottom:1px solid #16273f;font-size:13px;font-weight:700}
body.netherion .ro-topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:34px}
body.netherion .ro-topbar-realm{display:flex;align-items:center;gap:10px;color:#9db4cf;min-width:0}
body.netherion .ro-topbar-realm strong{color:var(--ro-gold);font-family:var(--ro-display);font-weight:400;letter-spacing:.06em;font-size:15px}
body.netherion .ro-topbar-realm .status-dot{margin:0}
body.netherion .ro-topbar-links{display:flex;gap:20px}
body.netherion .ro-topbar-links a{color:#9db4cf}
body.netherion .ro-topbar-links a:hover{color:var(--ro-gold)}
@media(max-width:767px){body.netherion .ro-topbar-links a:not(:last-child){display:none}body.netherion .ro-topbar-realm span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* real title bars on panel headings */
body.netherion .panel>.panel-heading{
  margin:-25px -25px 20px;padding:12px 25px 10px;border-radius:5px 5px 0 0;
  background:linear-gradient(180deg,#27487a,#183258);border-bottom:1px solid #0a1424;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
body.netherion .panel>.panel-heading h2{font-size:25px!important;margin:0 0 4px!important;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.6)}
body.netherion .panel>.panel-heading p{margin:0;color:#c7d8ee;font-size:14px}
body.netherion .panel>.panel-heading .eyebrow{color:var(--ro-gold);margin-bottom:2px}

/* sub-menus / tabs */
body.netherion #submenu a,body.netherion #pagemenu a,body.netherion #adminmenu a,body.netherion .portal-tabs a{
  border:1px solid #0a1424;border-radius:5px;background:linear-gradient(180deg,#1b3150,#12233b);color:#d6e3f3!important;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)
}
body.netherion .current-sub-menu,body.netherion .portal-tabs a[aria-current],body.netherion .portal-tabs a.is-active{
  background:linear-gradient(180deg,#ffe9a8,var(--ro-gold) 50%,#c9922c)!important;color:var(--ro-gold-ink)!important;text-shadow:none
}

/* rankings podium */
body.netherion .podium-card{background:radial-gradient(ellipse at 50% 0,rgba(240,195,90,.16),transparent 70%),linear-gradient(180deg,var(--ro-stone-hi),var(--ro-stone));border:1px solid #0a1424;border-top:3px solid var(--ro-gold-lo);border-radius:8px;box-shadow:var(--ro-win-shadow),inset 0 0 0 1px rgba(240,195,90,.2)}
body.netherion .podium-rank-1{border-top-color:var(--ro-gold);box-shadow:var(--ro-win-shadow),0 0 28px rgba(240,195,90,.18),inset 0 0 0 1px rgba(240,195,90,.4)}
body.netherion .podium-number{font-family:var(--ro-display);color:var(--ro-gold);text-shadow:0 2px 0 #050b14}
body.netherion .character-portrait,body.netherion .podium-portrait{background:radial-gradient(circle at 50% 35%,#27425f,#0b1626 75%);border:1px solid #0a1424;border-radius:6px;box-shadow:inset 0 0 0 1px rgba(240,195,90,.28)}
body.netherion .top-ranked td,body.netherion .top-ranked a{color:var(--ro-gold)}

/* monster / item / character detail pages */
body.netherion .entity-hero{background:radial-gradient(ellipse at 85% 0,rgba(91,147,207,.25),transparent 60%),linear-gradient(180deg,var(--ro-stone-hi),var(--ro-stone));border:1px solid #0a1424;border-top:3px solid var(--ro-blue);border-radius:8px;box-shadow:var(--ro-win-shadow),var(--ro-bevel)}
body.netherion .entity-mvp,body.netherion .mvp{color:var(--ro-gold);font-weight:800;text-shadow:0 0 12px rgba(240,195,90,.4)}
body.netherion .entity-orbit{filter:drop-shadow(0 6px 14px rgba(0,0,0,.6))}
body.netherion .entity-tags>*,body.netherion .status-pill{border-radius:4px;border:1px solid rgba(240,195,90,.4);background:rgba(240,195,90,.1);color:var(--ro-gold);font-weight:800}
body.netherion .pill-online,body.netherion .online{color:var(--ro-ok)!important}
body.netherion .pill-offline,body.netherion .offline{color:#ff8f84!important}
body.netherion .stat-name{color:#9db4cf;font-weight:700}
body.netherion .stat-value{color:#fff;font-weight:800}
body.netherion .item_name,body.netherion .item-name{color:#f6e3b0}
body.netherion .not-applicable{color:#566f8c}
body.netherion .for-sale.yes{color:var(--ro-ok)}body.netherion .for-sale.no{color:#ff8f84}
body.netherion .empty-row{color:#7b93b0;text-align:center}

/* pagination + search */
body.netherion .pagination a,body.netherion .page-num{background:linear-gradient(180deg,#1b3150,#12233b);border:1px solid #0a1424;border-radius:4px;color:#d6e3f3;font-weight:800}
body.netherion .pagination a:hover,body.netherion .page-num.current,body.netherion .pagination .current{background:linear-gradient(180deg,#ffe9a8,var(--ro-gold));color:var(--ro-gold-ink)!important}
body.netherion .search-form,body.netherion .search-form2{background:linear-gradient(180deg,#14253f,#0e1c30)!important;border:1px solid #0a1424!important;border-radius:8px;padding:14px 16px;box-shadow:var(--ro-bevel)}

/* item tooltips = parchment */
.tooltip,.unitip,#unitip,.item-tooltip{background:var(--ro-parch)!important;color:var(--ro-parch-ink)!important;border:1px solid #8c6b2a!important;border-radius:6px!important;box-shadow:0 10px 26px rgba(0,0,0,.55)!important}

/* shell polish */
body.netherion .mobile-dock a{font-weight:800}
body.netherion .site-footer .footer-brand p{color:#7f97b4}
body.netherion .footer-bottom p{color:#6a83a1}
body.netherion .journey-strip h2{color:#fff}
/* title-bar bleed only where the panel has the standard 25px padding */
body.netherion .game-sidebar .panel>.panel-heading,body.netherion .side-column .panel>.panel-heading{margin:0 0 16px;padding:0;background:none;border:0;box-shadow:none;border-radius:0}
body.netherion .game-sidebar .panel>.panel-heading h2,body.netherion .side-column .panel>.panel-heading h2{color:#fff}
