@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400..900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root{--bg:#05060b;--line:rgba(255,255,255,.1);--tx:#eef2ff;--mu:#98a2c3;--or:#ff7a1a;--bl:#38bdf8;--ac:var(--or);--ac2:var(--bl);--acg:rgba(255,122,26,.5);--acs:rgba(255,122,26,.14);--on:#1a0b00;--disp:'Outfit',system-ui,sans-serif;--sans:'Plus Jakarta Sans',system-ui,sans-serif;--mono:ui-monospace,'Cascadia Mono',Consolas,Menlo,monospace}
body.fc,.realm.fc{--ac:var(--bl);--ac2:var(--or);--acg:rgba(56,189,248,.5);--acs:rgba(56,189,248,.14);--on:#001a2b}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:90px;color-scheme:dark}
body{background:var(--bg);color:var(--tx);font:400 1rem/1.65 var(--sans);-webkit-font-smoothing:antialiased}

/* Updated Space Background */
body:before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        /* Deep space glowing nebula clouds */
        radial-gradient(circle at 15% 10%, rgba(255, 122, 26, 0.22), transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.2), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08), transparent 70%),
        
        /* Fine micro-starfield grid */
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 60px 60px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 60px 60px,
        
        /* Deep background base color */
        #05060b;
}

a{color:inherit}:focus-visible{outline:2px solid var(--bl);outline-offset:3px}
.w{max-width:1080px;margin:0 auto;padding:0 20px}
.glass,.panel,.top,.rank,.item,.realm,#votes,.tabs a{background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.02));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--line)}
header{position:sticky;top:0;z-index:9;padding:12px 16px}
header .w{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;height:62px;padding:0 14px 0 16px;border-radius:16px;background:rgba(10,12,20,.75);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--line);box-shadow:0 10px 40px -12px rgba(0,0,0,.8)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font:900 1.6rem var(--disp);letter-spacing:.02em;color:var(--or)}
.brand b{color:var(--bl);font-weight:900}
.brand img{width:36px;height:36px;border-radius:50%;border:2px solid var(--bl);object-fit:cover}
nav{display:flex;gap:2px;justify-self:center}header .btn{justify-self:end}
nav a{padding:8px 14px;text-decoration:none;color:var(--mu);font-weight:500;font-size:.95rem;border-radius:10px;transition:color .15s,background .15s}
nav a:hover,nav a[aria-current]{color:var(--tx);background:rgba(255,255,255,.07)}
.btn{display:inline-flex;justify-content:center;align-items:center;font:700 .92rem var(--sans);padding:11px 20px;border:1px solid transparent;background:linear-gradient(135deg,var(--ac),color-mix(in srgb,var(--ac) 70%,#fff));color:var(--on);border-radius:12px;text-decoration:none;cursor:pointer;box-shadow:0 8px 28px -8px var(--acg);transition:transform .15s,box-shadow .15s,filter .15s}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 32px -6px var(--acg);filter:brightness(1.08)}
.btn.ghost{background:rgba(255,255,255,.06);color:var(--tx);border-color:var(--line);box-shadow:none}
.btn.wide{width:100%}
h1,h2,h3{font-family:var(--disp);font-weight:800;letter-spacing:-.01em;line-height:1.08;text-wrap:balance}
p{text-wrap:pretty}
h2{font-size:clamp(2.1rem,5vw,3.2rem);margin-bottom:12px}
section{padding:80px 0}
.sub{color:var(--mu);max-width:60ch;margin-bottom:36px;text-wrap:balance}
.hero{padding:64px 0 48px}
.hero .w{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center}
.hero h1{font-weight:900;font-size:clamp(4rem,12vw,8.4rem);line-height:.9;letter-spacing:-.03em;animation:in .9s ease-out both}
.hero h1 span{color:var(--or);text-shadow:0 0 50px rgba(255,122,26,.5)}.hero h1 b{color:var(--bl);text-shadow:0 0 50px rgba(56,189,248,.5)}
@keyframes in{from{opacity:0;filter:blur(14px);transform:translateY(10px)}}
.lede{font-size:1.25rem;color:#cdd5f0;max-width:32ch;margin:28px 0}
.acts{display:flex;flex-wrap:wrap;gap:12px}
.panel{padding:28px;border-radius:22px;box-shadow:0 0 70px -20px rgba(255,122,26,.35),0 0 70px -30px rgba(56,189,248,.4);display:flex;flex-direction:column;gap:14px}
.panel small{color:var(--mu);font-weight:600;font-size:.85rem}
.ip{padding:14px 16px;border-radius:12px;background:rgba(0,0,0,.4);border:1px solid var(--line)}
.ip code{font:700 clamp(1.2rem,3.4vw,1.55rem) var(--mono);letter-spacing:-.02em}
.rows{list-style:none;padding:8px 0 0;border-top:1px solid var(--line);display:grid;gap:10px}
.rows li{display:flex;align-items:center;justify-content:space-between;gap:10px}
.rows li span{color:var(--mu)}.rows b{font-weight:600}.rows b.ok{color:#4ade80}
.st{justify-content:flex-start!important;gap:10px!important}.st span{color:var(--tx)!important}
.st i{width:10px;height:10px;background:var(--mu);border-radius:50%}.st.on i{background:#4ade80;box-shadow:0 0 12px #4ade80}
.realms,.hub{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.realm{padding:32px;border-radius:24px;display:flex;flex-direction:column;gap:12px;text-decoration:none;position:relative;overflow:hidden;border-color:var(--acs);transition:transform .2s,box-shadow .2s,border-color .2s}
.realm:before{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:var(--ac);opacity:.16;filter:blur(50px)}
a.realm:hover{transform:translateY(-4px);border-color:var(--ac);box-shadow:0 18px 50px -16px var(--acg)}
.realm h3{font-size:2.1rem;position:relative}.realm p{flex:1;color:#c3cbe6;position:relative}
.tag{align-self:flex-start;font-size:.78rem;font-weight:700;padding:4px 12px;border-radius:99px;background:var(--acs);color:var(--ac);border:1px solid var(--acs);position:relative}
.realm .acts{position:relative;margin-top:6px}.realm>b{color:var(--ac);position:relative}
.hub{padding:8px 0 80px}.hub .realm{min-height:260px}
#vn{font-weight:600}
.bar{height:10px;background:rgba(255,255,255,.07);border-radius:99px;margin:10px 0 24px;max-width:520px;overflow:hidden}
.bar i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,var(--or),var(--bl));box-shadow:0 0 16px rgba(56,189,248,.6);transition:width .4s}
#votes{list-style:none;padding:8px 20px;max-width:760px;border-radius:20px}
#votes a{display:grid;grid-template-columns:32px 1fr auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none}
#votes li:last-child a{border:0}
.tick{width:28px;height:28px;border:2px solid rgba(255,255,255,.2);border-radius:9px;display:grid;place-items:center;font-weight:800;color:#001a2b;transition:background .2s}
.done .tick{background:var(--bl);border-color:var(--bl);box-shadow:0 0 14px rgba(56,189,248,.6)}.done .tick:after{content:"✓"}
#votes b{display:block}#votes span{color:var(--mu);font-size:.9rem}
#votes em{font-style:normal;font-weight:700;color:var(--or)}.done em{color:var(--mu)}
details{border-bottom:1px solid var(--line);max-width:760px}
summary{padding:18px 0;cursor:pointer;font-weight:600;font-size:1.08rem}
details p{padding-bottom:18px;color:var(--mu)}
footer{padding:36px 0;color:var(--mu);font-size:.85rem;border-top:1px solid var(--line)}
footer .w{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.page{padding:48px 0 24px}.page h1{font-size:clamp(2.6rem,7vw,4.2rem);margin:16px 0 12px}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tabs a{padding:8px 18px;border-radius:99px;text-decoration:none;font-weight:600;color:var(--mu)}
.tabs a[aria-current]{background:var(--acs);border-color:var(--ac);color:var(--ac);box-shadow:0 0 24px -8px var(--acg)}
.top{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:32px;border-radius:24px;border-color:var(--ac);box-shadow:0 0 60px -20px var(--acg);margin:24px 0 24px}
.top-inner { display: flex; align-items: center; gap: 24px; }
.top h2{font-size:2.2rem;color:var(--ac);margin-bottom:4px}.top p{color:#c3cbe6;margin:6px 0 10px}
.top ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:4px 18px;font-size:.92rem}

/* Clean, Non-overlapping Rank Layout */
.rank {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  margin-bottom: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.rank:hover { border-color: var(--acs); }
.rank .n { font: 800 1.4rem var(--disp); color: var(--ac); min-width: 24px; text-align: center; }
.rank-info { flex: 1; }
.rank h3 { font-size: 1.5rem; margin-bottom: 2px; }
.rank ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.9rem; color: var(--mu); }
.rank.k { border-color: var(--ac); box-shadow: 0 0 40px -16px var(--acg); }

.buy { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.price { font: 800 1.6rem var(--disp); text-align: right; }
.price small { display: block; font: 400 .75rem var(--sans); color: var(--mu); }
.sec { font-size: 1.9rem; margin: 48px 0 16px; }

.items { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 16px; margin: 0 0 80px; }
.item { padding: 22px; border-radius: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s,border-color .2s; }
.item:hover { transform: translateY(-4px); border-color: var(--acs); }
.item p { color: var(--mu); font-size: .92rem; flex: 1; }
.item .buy { justify-content: space-between; margin-left: 0; width: 100%; }

[data-feed] { display: flex; flex-direction: column; }
.fcard { padding: 28px; border-radius: 22px; max-width: 520px; }
.fsd { display: flex; align-items: center; gap: 10px; font: 800 1.35rem var(--disp); }
.fsd i { width: 12px; height: 12px; border-radius: 50%; background: var(--mu); }
.fsd.on i { background: #4ade80; box-shadow: 0 0 14px #4ade80; }
.fm { color: var(--mu); margin: 8px 0 16px; font-size: .9rem; }
[data-feed] dl { display: grid; gap: 8px; margin: 0 0 16px; font-size: .92rem; }
[data-feed] dl div { display: flex; justify-content: space-between; }
[data-feed] dt { color: var(--mu); }
[data-feed] dd { margin: 0; font-weight: 600; }
[data-feed] .bar { margin: 0 0 20px; max-width: none; }
[data-feed] h3 { font-size: 1.1rem; margin-bottom: 10px; }
.f-l { list-style: none; padding: 0; display: grid; gap: 8px; }
.fcard .f-l { grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); }
.f-l li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-l img { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; flex: none; }
.f-l li.e { grid-column: 1/-1; background: none; border: 0; color: var(--mu); font-weight: 400; padding: 0; white-space: normal; }

.fr { position: fixed; z-index: 8; top: 50%; right: calc((100vw - 1080px)/4 - 130px); transform: translateY(-50%); width: 260px; display: none; padding: 22px; border-radius: 22px; max-height: calc(100vh - 110px); overflow: auto; box-shadow: 0 0 60px -22px rgba(74,222,128,.4); }
.dc { position: fixed; z-index: 8; max-height: calc(100vh - 110px); top: 50%; left: calc((100vw - 1080px)/4 - 130px); transform: translateY(-50%); width: 260px; display: none; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.02)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 0 60px -22px rgba(88,101,242,.7); }
.dch { display: flex; align-items: center; gap: 10px; font: 800 1.15rem var(--disp); color: #aab2ff; }
.dcn { display: flex; align-items: center; gap: 10px; color: var(--mu); }
.dcn.on { color: var(--tx); font-weight: 600; }
.dcn i { width: 10px; height: 10px; border-radius: 50%; background: var(--mu); }
.dcn.on i { background: #4ade80; box-shadow: 0 0 12px #4ade80; }
.dca { display: flex; flex-direction: column; gap: 8px; max-height: 210px; overflow: auto; }
.dca div { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dca img { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.dca .more { color: var(--mu); font-size: .82rem; }
.dc .dcb { background: #5865f2; color: #fff; box-shadow: 0 8px 28px -8px rgba(88,101,242,.8); }

/* Custom-fitted Slots for Portrait/Vertical Rank & Bundle Images */
.rank-icon {
  width: auto;
  height: 64px;
  max-width: 80px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  flex: none;
}

.rank-icon-large {
  width: auto;
  height: 92px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--ac);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px var(--acg);
  flex: none;
}

@media(min-width:1680px){.dc,.fr{display:flex}.dcm{display:none!important}}
@media(max-width:860px){.hero .w,.feed{grid-template-columns:1fr}}
@media(max-width:760px){
  .realms,.hub{grid-template-columns:1fr}
  .rank{flex-wrap: wrap;}
  .rank .n { display: none; }
  .buy{width: 100%; justify-content: space-between; margin-top: 10px; margin-left: 0;}
  .top{grid-template-columns:1fr}
  .top-inner{flex-direction: column; align-items: flex-start;}
  header .w{display:flex;flex-wrap:wrap;height:auto;padding-block:10px;gap:8px 12px}
  nav{order:3;width:100%;margin:0;overflow-x:auto}
  header .btn{margin-left:auto;padding:9px 16px}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}