/* THE AXIOM — Unified visual theme 2026.
   PRESENTATION ONLY. Existing DOM IDs, onclick handlers, API requests, checkout,
   login, ranking and map logic remain untouched. Load after other CSS files. */
:root { --axu-violet:#bc72ff;--axu-lilac:#d49eff;--axu-edge:rgba(187,126,255,.30);--axu-ink:#110e1d;--axu-dark:#0b0a16; }
/* Shared visual cadence: keep existing left menu; visually align sections with News. */
.nav a { position:relative; overflow:hidden; }
.nav a.active { background:linear-gradient(90deg,rgba(119,47,191,.35),rgba(64,35,112,.18))!important;border-color:rgba(203,126,255,.58)!important;box-shadow:inset 0 0 20px rgba(178,85,255,.09),0 0 22px rgba(167,77,245,.13)!important; }
.nav a.active i {color:#d49eff!important}
.nav a:focus-visible,.ax-context [data-ax-go]:focus-visible {outline:2px solid #d59bff;outline-offset:2px}
.axiom-topbar { border-bottom-color:rgba(194,138,255,.18); }
.page:not(#page-home):not(#page-news)>article { max-width:1180px; }
/* Explicitly use one shared dimension scale and media style for every section. */
.page:not(#page-home):not(#page-news) .eclipse-page-head {
  min-height:280px;padding:38px clamp(24px,4.2vw,54px);border-radius:17px;
  border:1px solid rgba(185,101,255,.55);margin-bottom:17px;
  background-size:cover;background-position:center,right center;
  box-shadow:0 10px 40px rgba(40,13,69,.14);isolation:isolate;
}
.page:not(#page-home):not(#page-news) .eclipse-page-head::before {
  opacity:.10;z-index:0;background-size:35px 35px;pointer-events:none;
}
.page:not(#page-home):not(#page-news) .eclipse-page-head::after {
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(189,99,255,.02),rgba(0,0,0,.10));z-index:0;
}
.page:not(#page-home):not(#page-news) .eclipse-page-head__ambient,
.page:not(#page-home):not(#page-news) .eclipse-page-head__sigil { opacity:.08; }
.page:not(#page-home):not(#page-news) .eclipse-page-head__content { z-index:2;max-width:64%; }
.page:not(#page-home):not(#page-news) .eclipse-page-head h2 {font-size:clamp(28px,3.45vw,44px)!important;line-height:1.13!important;letter-spacing:-.045em;text-shadow:0 3px 18px rgba(0,0,0,.65);}
.page:not(#page-home):not(#page-news) .eclipse-page-head p {color:#e3d6f0!important;font-size:clamp(13px,1.18vw,15px)!important;max-width:540px;text-shadow:0 2px 9px rgba(0,0,0,.85)}
.page:not(#page-home):not(#page-news) .eclipse-page-head__eyebrow {background:rgba(85,30,127,.66);border:1px solid rgba(225,166,255,.55);color:#f2dcff;box-shadow:0 4px 20px rgba(91,33,159,.30)}
.page:not(#page-home):not(#page-news) .eclipse-page-head__category {color:#bda9d0}
/* Each header has different Minecraft-fantasy illustration. */
#page-profile .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99) 0%,rgba(15,9,28,.93) 34%,rgba(15,9,28,.20) 100%),url('../img/sections/profile.webp')}
#page-launcher .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.89) 36%,rgba(15,9,28,.17)),url('../img/sections/launcher.webp')}
#page-donate .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 36%,rgba(15,9,28,.15)),url('../img/sections/donate.webp')}
#page-auction .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.91) 36%,rgba(15,9,28,.12)),url('../img/sections/auction.webp')}
#page-leaderboard .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.93) 36%,rgba(15,9,28,.14)),url('../img/sections/leaderboard.webp')}
#page-map .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 36%,rgba(15,9,28,.12)),url('../img/sections/map.webp')}
#page-rules .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.92) 36%,rgba(15,9,28,.16)),url('../img/sections/rules.webp')}
#page-support .eclipse-page-head{background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 36%,rgba(15,9,28,.15)),url('../img/sections/support.webp')}
/* Unified navigation tabs and the two introduction panes. */
.page:not(#page-home) .ax-context {background:rgba(17,11,29,.86);border:1px solid rgba(177,110,255,.29);border-radius:11px;padding:10px;display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:15px;}
.page:not(#page-home) .ax-context-label {font-size:10px;font-weight:800;letter-spacing:.08em;color:#a997ba;margin:0 9px 0 2px;}
.page:not(#page-home) .ax-context .ax-tab{background:rgba(31,20,49,.64)!important;border:1px solid rgba(197,143,255,.25)!important;color:#d6c5ea!important;box-shadow:none!important;border-radius:8px!important;padding:8px 12px!important;min-height:35px;font-size:11px!important;line-height:1.25;transition:background .15s,border-color .15s;}
.page:not(#page-home) .ax-context .ax-tab:hover {background:rgba(127,63,188,.31)!important;border-color:rgba(220,152,255,.65)!important;}
.page:not(#page-home) .ax-context .ax-tab[aria-current='page'] {background:linear-gradient(120deg,#6f2baf,#4a2378)!important;color:#fff!important;border-color:#b977ff!important;box-shadow:0 3px 16px rgba(159,60,248,.2)!important;}
.page:not(#page-home):not(#page-news) .ax-intro {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px;}
.page:not(#page-home):not(#page-news) .ax-intro-card {padding:17px 19px;border:1px solid rgba(179,110,242,.35);border-radius:12px;background:linear-gradient(135deg,rgba(47,27,71,.76),rgba(25,17,36,.78));min-width:0;}
.page:not(#page-home):not(#page-news) .ax-intro-card--accent {background:linear-gradient(135deg,rgba(55,25,75,.78),rgba(33,18,50,.78));}
.page:not(#page-home):not(#page-news) .ax-intro-card h3 {font:800 12px/1.3 Manrope,system-ui,sans-serif;color:#fff;margin:0 0 6px;}
.page:not(#page-home):not(#page-news) .ax-intro-card p {font-size:12px;color:#bfb0d4;line-height:1.6;margin:0;}
.page:not(#page-home):not(#page-news) .section-label {margin:30px 0 12px;color:#ce91ff;border-left-color:#bc72ff;}
/* Common sections read like the News card deck instead of plain-text documents. */
#page-launcher .launcher-features {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:23px;}
#page-launcher .launcher-feature {background:linear-gradient(145deg,#21172f,#12101e);border:1px solid rgba(180,114,250,.37);border-radius:13px;text-align:left;padding:17px;min-width:0;transition:transform .2s,border-color .2s,box-shadow .2s;}
#page-launcher .launcher-feature:hover {transform:translateY(-3px);border-color:#bc72ff;box-shadow:0 11px 26px rgba(94,42,142,.18)}
#page-launcher .launcher-feature i {color:#c78cff;margin-bottom:13px;text-shadow:0 0 18px rgba(158,73,255,.26)}
#page-launcher .launcher-feature h4{font-size:14px;color:#f8f2ff;margin-bottom:8px}
#page-launcher .launcher-feature p{font-size:12px;line-height:1.55;color:#bfb2d5}
#page-launcher .launcher-download-btn,#page-donate .donate-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(130deg,#a23bea,#792ebf)!important;color:#fff!important;border:1px solid #b877ff;border-radius:10px!important;box-shadow:0 8px 25px rgba(162,72,246,.23);font-size:14px;padding:13px 22px;}
#page-launcher .launcher-download-btn:hover,#page-donate .donate-btn:hover{filter:brightness(1.13);box-shadow:0 10px 30px rgba(162,72,246,.35)}
#page-donate .feature-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;}
#page-donate .feature-item {background:linear-gradient(145deg,#261936,#151020);border:1px solid rgba(180,114,250,.38);padding:20px 15px;border-radius:12px;gap:13px}
#page-donate .feature-item i{color:#c789ff}
#page-donate :is(ul,ol) {color:#cfc1df}#page-donate li{margin:7px 0}
/* Auction : only visual containers, never financial buttons/behavior. */
#page-auction .ax-market-hero {border:1px solid rgba(191,119,255,.53);border-radius:15px;overflow:hidden;background:linear-gradient(90deg,rgba(24,12,40,.95),rgba(24,12,40,.69) 55%,rgba(24,12,40,.14)),url('../img/sections/auction.webp') center/cover;box-shadow:0 10px 38px rgba(87,30,134,.16);}
#page-auction .ax-market-hero h3{color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.6)}
#page-auction #axiom-local-auction {margin-top:22px}
#page-auction #axiom-local-auction .axiom-local-grid{gap:14px}
#page-auction #axiom-local-auction article.axiom-local-card{border-color:rgba(188,116,255,.38);border-radius:12px;background:linear-gradient(150deg,#21182e,#141020);box-shadow:0 8px 22px rgba(0,0,0,.08)}
#page-auction #axiom-local-auction article.axiom-local-card:hover {border-color:#c38aff;box-shadow:0 11px 28px rgba(113,39,174,.16)}
/* Rating */
#page-leaderboard .lb-showcase,#page-leaderboard .lb-ranking {border:1px solid rgba(185,111,253,.35);border-radius:15px;background:linear-gradient(145deg,#20162f,#110f1d);overflow:hidden}
#page-leaderboard .lb-showcase {background-image:linear-gradient(90deg,rgba(20,12,33,.95),rgba(20,12,33,.82)),url('../img/sections/leaderboard.webp');background-size:cover;background-position:center}
#page-leaderboard .lb-podium-card{border:1px solid rgba(188,122,255,.35);border-radius:14px;background:linear-gradient(155deg,rgba(67,36,94,.67),rgba(20,14,31,.85))}
#page-leaderboard #leaderboardTable {width:100%;border-collapse:separate;border-spacing:0}
#page-leaderboard #leaderboardTable td,#page-leaderboard #leaderboardTable th {border-bottom:1px solid rgba(206,148,255,.10)}
/* Map: preserve embedded iframe URL, sizing, scroll, load behavior. */
#page-map .ax-map-guide{border-color:rgba(185,111,253,.40);border-radius:13px;background:linear-gradient(130deg,#23132f,#130f1c)}
#page-map iframe {display:block;border:1px solid rgba(194,133,255,.42);border-radius:14px;min-height:420px;max-width:100%;box-shadow:0 13px 35px rgba(28,11,44,.26)}
/* Rules: 2-column cards, with compact headings and clear hierarchy. */
#page-rules .rules-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#page-rules .rules-list .rule-item{padding:20px;border-radius:12px;border:1px solid rgba(186,109,255,.35);background:linear-gradient(145deg,#21162e,#13101d);min-width:0;transition:transform .22s,border-color .22s}
#page-rules .rules-list .rule-item:hover{transform:translateY(-3px);border-color:#bd7dff}
#page-rules .rules-list .rule-item h4{font-size:15px;color:#f8eaff}
#page-rules .rules-list .rule-item p{font-size:12px;line-height:1.7;color:#c5b7d6}
#page-rules .ax-rules-note {border:1px solid rgba(193,131,255,.38);border-radius:12px;background:linear-gradient(145deg,#291a38,#161022)}
/* Support: consistent compact CTA cards while preserving actual anchor hrefs. */
#page-support .ax-support-hint {border:1px solid rgba(193,131,255,.38);border-radius:12px;background:linear-gradient(145deg,#291a38,#161022)}
#page-support .social-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#page-support .social-links a {border-radius:12px;min-height:66px;padding:16px 14px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(214,171,255,.40);font-size:13px;font-weight:800;box-shadow:0 6px 20px rgba(37,20,62,.19)}
#page-support .social-links a:hover{transform:translateY(-3px);filter:brightness(1.1)}
/* Account panels: preserve display logic (hidden until login), fields and controls. */
#page-profile .axp-welcome{border:1px solid rgba(192,123,255,.40);border-radius:14px;background:linear-gradient(120deg,#291939,#151021)}
#page-profile :is(.axp-panel,#loginForm,#registerForm,#profileInfo){border-color:rgba(188,113,255,.32);border-radius:14px;background:linear-gradient(155deg,#20172d,#12101c)}
#page-profile input:focus{border-color:#c481ff;box-shadow:0 0 0 3px rgba(168,76,242,.13)}
#page-profile .skin-card-profile{border:1px solid rgba(177,105,241,.22);background:rgba(92,45,126,.10);border-radius:11px}
#page-profile .skin-card-profile:hover{border-color:#c88eff;background:rgba(133,59,188,.17)}
/* Home should also belong to the same world, but original portal/buttons remain usable. */
#page-home .axiom-hero{min-height:540px;border:1px solid rgba(188,116,255,.54);border-radius:18px;background-image:linear-gradient(90deg,rgba(15,9,28,.98),rgba(15,9,28,.88) 40%,rgba(15,9,28,.18)),url('../img/sections/home.webp');background-size:cover;background-position:center}
#page-home .axiom-hero::before{opacity:.05}
#page-home .hero-art{opacity:.18;filter:blur(2px);pointer-events:none}
#page-home .hero-content{max-width:680px}
#page-home .eclipse-hub a{border:1px solid rgba(186,106,255,.42);border-radius:13px;background:linear-gradient(145deg,#28183c,#13101f);transition:transform .22s,border-color .22s,box-shadow .22s}
#page-home .eclipse-hub a:hover{transform:translateY(-3px);border-color:#c281ff;box-shadow:0 10px 28px rgba(128,56,193,.20)}
#page-home .axiom-feature{border-radius:13px;border:1px solid rgba(186,108,255,.37);box-shadow:none}
#page-home .axiom-bottom-cta{border:1px solid rgba(188,115,255,.42);border-radius:16px}
/* Shared form focus without overriding existing backend callbacks or disabled states. */
.page:not(#page-news) :is(input,select,textarea):focus-visible {border-color:#c681ff!important;outline:2px solid rgba(205,133,255,.22);outline-offset:1px}
/* Responsiveness */
@media(max-width:1024px){
 #page-launcher .launcher-features{grid-template-columns:repeat(2,minmax(0,1fr))}
 #page-donate .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:740px){
 .page:not(#page-home):not(#page-news) .eclipse-page-head{min-height:235px;padding:25px 21px}
 .page:not(#page-home):not(#page-news) .eclipse-page-head__content{max-width:88%}
 .page:not(#page-home):not(#page-news) .eclipse-page-head::after{background:linear-gradient(90deg,rgba(13,8,26,.67),rgba(13,8,26,.37));}
 .page:not(#page-home):not(#page-news) .eclipse-page-head h2{font-size:clamp(26px,7vw,38px)!important}
 .page:not(#page-home):not(#page-news) .ax-intro{grid-template-columns:1fr}
 .page:not(#page-home) .ax-context{gap:5px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
 .page:not(#page-home) .ax-context .ax-tab{white-space:nowrap;flex:none}
 #page-home .axiom-hero{min-height:440px}
 #page-home .hero-art{opacity:.09}
 #page-support .social-links{grid-template-columns:1fr}
}
@media(max-width:540px){
 #page-launcher .launcher-features,#page-donate .feature-grid,#page-rules .rules-list{grid-template-columns:1fr}
 .page:not(#page-home):not(#page-news) .eclipse-page-head{min-height:235px;background-position:60% center}
 .page:not(#page-home):not(#page-news) .eclipse-page-head__content{max-width:100%}
 .page:not(#page-home):not(#page-news) .eclipse-page-head{background-blend-mode:normal}
 #page-profile .axp-welcome{padding:17px}
 #page-map iframe{min-height:340px}
}
@media(prefers-reduced-motion:reduce){#page-home .eclipse-hub a,#page-launcher .launcher-feature,#page-rules .rule-item{transition:none}}

/* CRISP SECTION HERO V2: Full-resolution, themed artwork anchored on right. No blurred 200px thumbnails scaled over 1600px. */
#page-profile .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/profile.webp')!important;background-position:center right!important;background-size:cover!important}
#page-launcher .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/launcher.webp')!important;background-position:center right!important;background-size:cover!important}
#page-donate .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/donate.webp')!important;background-position:center right!important;background-size:cover!important}
#page-auction .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/auction.webp')!important;background-position:center right!important;background-size:cover!important}
#page-leaderboard .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/leaderboard.webp')!important;background-position:center right!important;background-size:cover!important}
#page-map .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/map.webp')!important;background-position:center right!important;background-size:cover!important}
#page-rules .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/rules.webp')!important;background-position:center right!important;background-size:cover!important}
#page-support .eclipse-page-head {background-image:linear-gradient(90deg,rgba(15,9,28,.99),rgba(15,9,28,.90) 31%,rgba(15,9,28,.30) 65%,rgba(15,9,28,.08)),url('../img/sections/support.webp')!important;background-position:center right!important;background-size:cover!important}
#page-home .axiom-hero {background-image:linear-gradient(90deg,rgba(15,9,28,.96),rgba(15,9,28,.86) 31%,rgba(15,9,28,.25) 65%,rgba(15,9,28,.09)),url('../img/sections/home.webp')!important;background-position:center right!important;background-size:cover!important}
#page-auction .ax-market-hero{background-image:linear-gradient(90deg,rgba(24,12,40,.97),rgba(24,12,40,.85) 45%,rgba(24,12,40,.19)),url('../img/sections/auction.webp')!important;background-position:center right!important;background-size:cover!important}
#page-leaderboard .lb-showcase{background-image:linear-gradient(90deg,rgba(20,12,33,.97),rgba(20,12,33,.82) 45%,rgba(20,12,33,.3)),url('../img/sections/leaderboard.webp')!important}
@media(max-width:540px){.page:not(#page-home):not(#page-news) .eclipse-page-head{background-position:72% center!important}.page:not(#page-home):not(#page-news) .eclipse-page-head::after{background:linear-gradient(90deg,rgba(13,8,26,.77),rgba(13,8,26,.40))}}
