/* AnooraMC — site principal. Mesmo céu noturno dourado da loja. */
:root {
  --bg-0: #070b26;
  --bg-1: #0b1137;
  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --text: #f1f4ff;
  --text-soft: #b3bde3;
  --text-dim: #8590c0;
  --sun: #ffc93d;
  --sun-2: #ff9b21;
  --sun-soft: #ffe6a3;
  --ok: #4ade80;
  --discord: #5865f2;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background-color: var(--bg-0);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(143, 123, 255, .16), transparent 60%),
              radial-gradient(900px 500px at 10% 0%, rgba(95, 184, 255, .12), transparent 60%),
              linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-0));
  background-attachment: fixed;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--bg-0); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3, strong.display { font-family: var(--font-display); letter-spacing: -.02em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--sun); color: var(--bg-0); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Céu ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky .stars {
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #cfe0ff, transparent),
    radial-gradient(1.4px 1.4px at 200px 160px, #fff, transparent), radial-gradient(1px 1px at 300px 40px, #ffe9b0, transparent),
    radial-gradient(1px 1px at 360px 220px, #fff, transparent), radial-gradient(1.6px 1.6px at 80px 260px, #fff, transparent);
  background-size: 400px 300px; opacity: .55; animation: twinkle 6s ease-in-out infinite alternate;
}
.sky .stars.s2 { background-size: 620px 470px; opacity: .35; animation-duration: 9s; animation-delay: -3s; translate: 90px 40px; }
@keyframes twinkle { from { opacity: .2; } to { opacity: .65; } }
.shooting { position: absolute; top: 12%; left: 72%; width: 140px; height: 2px; border-radius: 2px; rotate: -18deg; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 233, 176, 0), #fff3c4); animation: shoot 11s linear infinite; }
.shooting.s2 { top: 34%; left: 22%; animation-delay: 6.5s; animation-duration: 14s; }
@keyframes shoot { 0%, 88% { opacity: 0; translate: 0 0; } 90% { opacity: 1; } 100% { opacity: 0; translate: -420px 140px; } }

/* ---------- Barra do topo ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(9, 13, 44, .72); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand b { color: var(--sun); }
.brand img { filter: drop-shadow(0 4px 10px rgba(255, 201, 61, .35)); }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { position: relative; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--text-soft); transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--sun); scale: 0 1; transition: scale .3s var(--ease); }
.links a:hover { color: var(--text); }
.links a:hover::after { scale: 1 1; }
.ip-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 201, 61, .4); background: rgba(255, 201, 61, .1); color: var(--sun-soft); font-weight: 800; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s; }
.ip-chip:hover { background: rgba(255, 201, 61, .18); border-color: var(--sun); }
.dot { display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--text-dim); }
.dot.on { background: var(--ok); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 46px 16px 210px;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.hero::before { content: ""; position: absolute; left: 50%; top: 30px; width: 980px; height: 640px; translate: -50% 0; z-index: -2;
  background: radial-gradient(closest-side, rgba(255, 201, 61, .24), rgba(255, 155, 33, .08) 55%, transparent); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .65; scale: 1.06; } }
.sun { position: absolute; left: 50%; top: -190px; width: 900px; height: 900px; translate: -50% 0; z-index: -1; pointer-events: none;
  background: url(../img/logo.png) center / contain no-repeat; opacity: .2; animation: spin 180s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero h1 { margin: 0; animation: rise 1s var(--ease) both; }
.banner { width: min(760px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.lead { max-width: 46ch; margin: 6px auto 28px; color: var(--text-soft); font-size: 1.18rem; font-weight: 600; animation: rise 1s .15s var(--ease) both; }
.join { display: grid; justify-items: center; gap: 12px; animation: rise 1s .3s var(--ease) both; }
.ip-big {
  display: grid; gap: 2px; padding: 16px 34px 18px; border-radius: 20px; cursor: pointer;
  border: 0; background: linear-gradient(180deg, #ffe08a, var(--sun) 45%, var(--sun-2)); color: #2a1600;
  box-shadow: 0 14px 34px -10px rgba(255, 170, 40, .65), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .35s var(--spring), box-shadow .3s;
}
.ip-big:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -10px rgba(255, 170, 40, .8), inset 0 1px 0 rgba(255, 255, 255, .7); }
.ip-big:active { transform: scale(.98); }
.ip-k { font-size: .8rem; font-weight: 800; opacity: .7; }
.ip-v { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -.01em; line-height: 1.1; }
.online { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text-soft); font-weight: 700; }
@keyframes rise { from { opacity: 0; translate: 0 24px; filter: blur(6px); } }
.clouds { position: absolute; left: 0; right: 0; bottom: -2px; height: 190px; pointer-events: none; background: url(../img/clouds-night.svg) 0 100% / 1600px 100% repeat-x; animation: drift 70s linear infinite; }
.clouds.back { height: 240px; bottom: 30px; opacity: .5; background-size: 2100px 100%; background-position-x: 700px; animation: drift-r 110s linear infinite; }
@keyframes drift { to { background-position-x: -1600px; } }
@keyframes drift-r { to { background-position-x: 2800px; } }

/* ---------- Portas: Loja, Blog, Wiki ---------- */
.doors { position: relative; z-index: 2; margin-top: -150px; padding-bottom: 80px; }
.door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.door {
  position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(30, 40, 100, .78), rgba(14, 20, 62, .82)); border: 1px solid var(--line);
  backdrop-filter: blur(12px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7);
  transition: transform .45s var(--spring), border-color .25s, box-shadow .3s;
  animation: rise .9s var(--ease) both;
}
.door:nth-child(1) { animation-delay: .45s; }
.door:nth-child(2) { animation-delay: .55s; }
.door:nth-child(3) { animation-delay: .65s; }
.door:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c, #ffc93d) 60%, transparent); box-shadow: 0 34px 60px -24px color-mix(in srgb, var(--c, #ffc93d) 45%, #000); }
.door-art {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--c, #ffc93d) 70%, #ffffff) 0, color-mix(in srgb, var(--c, #ffc93d) 38%, #0b1137) 52%, #0b1137 100%);
}
.door-art::before { content: ""; position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .09) 0 8deg, transparent 8deg 20deg); animation: spin 60s linear infinite; }
.door-art svg { position: relative; width: 46%; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); transition: transform .6s var(--spring); }
.door:hover .door-art svg { transform: scale(1.1) rotate(-6deg); }
.door-body { display: grid; gap: 6px; padding: 18px 22px 22px; }
.door-body strong { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.1; }
.door-body > span:not(.door-cta) { color: var(--text-soft); font-weight: 600; }
.door-cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--sun); }
.door-cta::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .3s var(--ease); }
.door:hover .door-cta::after { width: 30px; }
.door.soon .door-cta { color: var(--text-soft); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: rgba(9, 13, 44, .78); border: 1px solid var(--line-2); color: var(--sun-soft); backdrop-filter: blur(6px); }

.discord {
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 18px; margin-top: 22px; padding: 18px 22px;
  border-radius: var(--r-lg); text-decoration: none; background: linear-gradient(100deg, rgba(88, 101, 242, .28), rgba(88, 101, 242, .08));
  border: 1px solid rgba(88, 101, 242, .45); transition: transform .4s var(--spring), border-color .2s; animation: rise .9s .75s var(--ease) both;
}
.discord:hover { transform: translateY(-4px); border-color: rgba(140, 150, 255, .8); }
.discord svg { width: 54px; height: 54px; padding: 12px; border-radius: 16px; background: var(--discord); color: #fff; }
.discord strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.discord span span { color: var(--text-soft); font-weight: 600; }
.discord-cta { padding: 9px 16px; border-radius: 12px; background: var(--discord); color: #fff; font-weight: 800; white-space: nowrap; }

/* ---------- Páginas "em breve" ---------- */
.soon-page { display: grid; place-items: center; text-align: center; padding: 70px 16px 90px; }
.soon-page .soon-art { width: 170px; margin: 0 auto 10px; animation: float 4s ease-in-out infinite; }
.soon-page h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; animation: rise .9s var(--ease) both; }
.soon-page p { max-width: 44ch; margin: 0 auto 26px; color: var(--text-soft); font-weight: 600; font-size: 1.08rem; animation: rise .9s .1s var(--ease) both; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 14px; text-decoration: none; font-weight: 800; border: 1px solid var(--line-2); background: var(--glass-2); transition: transform .3s var(--spring), background .2s; }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); }
.btn-sun { border: 0; background: linear-gradient(180deg, #ffe08a, var(--sun) 45%, var(--sun-2)); color: #2a1600; }
.btn-sun:hover { background: linear-gradient(180deg, #ffe8a6, #ffd257 45%, #ffa83a); }
.row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: rise .9s .2s var(--ease) both; }

/* ---------- Rodapé ---------- */
.foot { border-top: 1px solid var(--line); background: rgba(5, 8, 28, .7); }
.foot-grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.25fr; gap: 34px; padding: 44px 0 30px; }
.foot h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.01em; color: var(--text); }
.foot h2.mt { margin-top: 22px; }
.foot-about .brand { margin-bottom: 12px; }
.foot-about p { margin: 0 0 10px; color: var(--text-soft); font-weight: 600; max-width: 38ch; }
.foot .fine { font-size: .8rem; line-height: 1.5; color: var(--text-dim); font-weight: 600; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-col a { color: var(--text-soft); text-decoration: none; font-weight: 600; transition: color .2s; }
.foot-col a:hover { color: var(--sun-soft); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--text-soft); font-weight: 700; font-size: .9rem; }
.social svg { width: 16px; height: 16px; }
.foot-col .social:hover { border-color: rgba(88, 101, 242, .7); color: var(--text); }
.foot-news p { margin: 0 0 12px; color: var(--text-soft); font-weight: 600; }
.news-input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(9, 13, 44, .8); color: var(--text); font: inherit; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.news-input::placeholder { color: var(--text-dim); }
.news-input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 201, 61, .2); }
.news-btn { width: 100%; margin-top: 10px; padding: 13px 16px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 800; color: #2a1600;
  background: linear-gradient(180deg, #ffe08a, var(--sun) 45%, var(--sun-2)); box-shadow: 0 10px 24px -12px rgba(255, 170, 40, .7); transition: transform .3s var(--spring), filter .2s; }
.news-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.news-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.news-msg { min-height: 0; margin: 10px 0 0 !important; font-size: .9rem; }
.news-msg:empty { display: none; }
.news-msg.ok { color: #b9f5cf !important; }
.news-msg.err { color: #ffc2cc !important; }
.foot-news .fine { margin-top: 10px !important; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot-legal { border-top: 1px solid var(--line); padding: 16px 0 24px; }
.foot-legal p { margin: 0; color: var(--text-dim); font-size: .85rem; font-weight: 600; }
.hidden { display: none !important; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about, .foot-news { grid-column: 1 / -1; } .foot-news { max-width: 460px; } }
@media (max-width: 480px) { .foot-grid { gap: 26px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 50; padding: 12px 18px; border-radius: 14px; font-weight: 800;
  background: rgba(18, 26, 77, .95); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); animation: toast-in .45s var(--spring); }
.toast::before { content: "✦ "; color: var(--sun); }
@keyframes toast-in { from { opacity: 0; translate: -50% 16px; scale: .9; } }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .door-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .door { flex-direction: row; align-items: stretch; }
  .door-art { aspect-ratio: auto; width: 38%; flex: none; }
  .door-art svg { width: 70%; }
  .door-body { align-content: center; padding: 16px 18px; }
  .door-body strong { font-size: 1.4rem; }
  .discord { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .links { display: none; }
  .bar-in { justify-content: space-between; }
  .hero { padding-top: 26px; padding-bottom: 190px; }
  .lead { font-size: 1.05rem; }
  .doors { margin-top: -140px; }
  .door-body > span:not(.door-cta) { font-size: .92rem; line-height: 1.45; }
  .discord { grid-template-columns: 46px 1fr; gap: 14px; }
  .discord svg { width: 46px; height: 46px; padding: 10px; }
  .discord-cta { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 400px) {
  .ip-chip span:last-child { display: none; }
  .ip-chip::after { content: "Copiar IP"; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Conta: botão do topo ---------- */
.acct { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: .92rem;
  border: 1px solid var(--line-2); background: var(--glass-2); color: var(--text); opacity: 0; transition: opacity .3s, background .2s, border-color .2s; }
.acct.ready { opacity: 1; }
.acct:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 201, 61, .5); }
.acct img { width: 24px; height: 24px; border-radius: 6px; image-rendering: pixelated; }
.acct span { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-in { gap: 12px; }

/* ---------- Painéis ---------- */
.panel-page { padding: 40px 0 70px; display: grid; gap: 20px; align-content: start; }
.card { background: linear-gradient(180deg, rgba(30, 40, 100, .7), rgba(14, 20, 62, .78)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; backdrop-filter: blur(12px); animation: rise .7s var(--ease) both; }
.card h1 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.1; }
.card h2 { margin: 0; font-family: var(--font-display); font-size: 1.35rem; }
.card p { color: var(--text-soft); font-weight: 600; }
.card.loading p { margin: 0; }
.card.gate { text-align: center; max-width: 520px; margin: 30px auto; padding: 36px 28px; }
.card.gate p { margin: 10px 0 22px; }
.me { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.me-head { border-radius: 18px; border: 2px solid var(--sun); image-rendering: pixelated; background: var(--glass-2); }
.me-txt { flex: 1; min-width: 200px; }
.me-txt p { margin: 4px 0 0; overflow-wrap: anywhere; }
.me-txt a, .soon-line a, .empty a { color: var(--sun); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.link { color: var(--sun); font-weight: 800; text-decoration: none; }
.link:hover { text-decoration: underline; }
.panel-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.panel-col { display: grid; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.stat b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.stat span { font-size: .82rem; font-weight: 700; color: var(--text-soft); line-height: 1.3; }
.stat.gold { background: linear-gradient(160deg, rgba(255, 201, 61, .22), rgba(255, 155, 33, .06)); border-color: rgba(255, 201, 61, .45); }
.stat.gold b { color: var(--sun-soft); }
.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.orders li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.o-items { font-weight: 800; overflow-wrap: anywhere; }
.o-meta { grid-column: 1; font-size: .85rem; color: var(--text-soft); font-weight: 600; }
.orders .pill { grid-row: 1 / span 2; grid-column: 2; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; background: rgba(255, 255, 255, .08); color: var(--text-soft); }
.pill.ok { background: rgba(74, 222, 128, .12); color: var(--ok); }
.pill.warn { background: rgba(251, 191, 36, .12); color: #fbbf24; }
.pill.bad { background: rgba(255, 107, 129, .12); color: #ff8fa3; }
.empty, .soon-line { margin: 0; }
.soon-line { margin-top: 14px; font-size: .9rem; color: var(--text-dim) !important; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.toggle-row p { margin: 2px 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.switch { position: relative; flex: none; width: 52px; height: 30px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .1); cursor: pointer; transition: background .25s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: translate .3s var(--spring); }
.switch[aria-checked="true"] { background: linear-gradient(180deg, var(--sun), var(--sun-2)); border-color: transparent; }
.switch[aria-checked="true"] i { translate: 22px 0; }
.switch:disabled { opacity: .6; cursor: wait; }
.back { margin: 0; text-align: center; }
.news-manage { display: inline-block; margin-top: 6px; color: var(--sun); font-weight: 800; text-decoration: none; }
@media (max-width: 820px) { .panel-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr; } .stat.gold { grid-column: 1 / -1; } .acct span { display: none; } .acct { padding: 7px 10px; } }

/* ---------- Admin ---------- */
.acct-admin { border-color: rgba(255, 201, 61, .5); color: var(--sun-soft); }
.hint-line { margin: -6px 0 14px; font-size: .92rem; }
.mnt-list { display: grid; gap: 10px; margin-bottom: 14px; }
.mnt { padding: 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.mnt-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mnt-top p { margin: 2px 0 0; font-size: .85rem; }
.mnt-top .pill { margin-left: 6px; vertical-align: 2px; }
.mnt-msg { display: grid; gap: 6px; margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--text-soft); }
.mnt-msg .news-input { padding: 10px 12px; font-size: .92rem; }
.links-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.links-list li { display: grid; gap: 0; }
.links-list span { font-size: .85rem; color: var(--text-soft); font-weight: 600; }

/* ---------- Início: sobre o servidor + novidades ---------- */
.home-info { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 22px; align-items: start; }
.info-card { padding: 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(30, 40, 100, .72), rgba(14, 20, 62, .8)); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.info-card h2 { margin: 0 0 12px; font-size: 1.5rem; }
.info-card .card-head h2 { margin: 0; }
.about-text p { margin: 0 0 10px; color: var(--text-soft); font-weight: 600; }
.live { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.live-item { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); min-width: 0; }
.live-item .k { font-size: .78rem; font-weight: 800; color: var(--text-dim); }
.live-item b { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; overflow-wrap: anywhere; }
.live-item small { font-size: .78rem; font-weight: 700; color: var(--ok); }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.highlights:empty { display: none; }
.highlights li { display: grid; gap: 2px; padding: 12px 14px 12px 16px; border-radius: 14px; border-left: 3px solid var(--sun); background: rgba(255, 201, 61, .06); }
.highlights strong { font-family: var(--font-display); }
.highlights span { font-size: .9rem; color: var(--text-soft); font-weight: 600; }
.news-list { display: grid; gap: 10px; }
.empty.small { font-size: .92rem; color: var(--text-soft); font-weight: 600; margin: 0; }

/* Cards de post (início e /blog) */
.post-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 18px; text-decoration: none; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 40, 100, .7), rgba(14, 20, 62, .8)); transition: transform .4s var(--spring), border-color .2s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(255, 201, 61, .5); }
.pc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 50% 60%, rgba(255, 201, 61, .45), #0b1137 75%); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-fallback { display: block; width: 100%; height: 100%; background: url(../img/logo.png) center / 45% no-repeat; opacity: .6; }
.pc-body { display: grid; gap: 6px; padding: 14px 16px 16px; align-content: start; }
.pc-body strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.pc-body span { color: var(--text-soft); font-weight: 600; font-size: .92rem; }
.pc-body small { color: var(--text-dim); font-weight: 700; font-size: .8rem; }
.post-card.compact { grid-template-rows: none; grid-template-columns: 76px 1fr; align-items: center; border-radius: 14px; }
.post-card.compact .pc-img { aspect-ratio: 1; margin: 8px; border-radius: 10px; }
.post-card.compact .pc-body { padding: 10px 12px 10px 4px; gap: 4px; }
.post-card.compact strong { font-size: 1rem; }

/* /blog */
.blog-page { padding: 40px 0 70px; }
.blog-head { margin-bottom: 24px; }
.blog-head h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.blog-head p { margin: 6px 0 8px; color: var(--text-soft); font-weight: 600; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post { max-width: 760px; margin: 0 auto; }
.post h1 { margin: 14px 0 6px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; }
.post-meta { margin: 0 0 20px; color: var(--text-soft); font-weight: 700; }
.post-cover { width: 100%; border-radius: 20px; margin-bottom: 26px; border: 1px solid var(--line); }
.back-link { display: inline-block; }
.post-end { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose p { margin: 0 0 18px; color: #dde3ff; }
.prose h2 { margin: 34px 0 12px; font-size: 1.6rem; }
.prose h3 { margin: 26px 0 10px; font-size: 1.25rem; }
.prose a { color: var(--sun); }
.prose ul { margin: 0 0 18px; padding-left: 22px; color: #dde3ff; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 3px solid var(--sun); background: rgba(255, 201, 61, .06); border-radius: 0 12px 12px 0; color: var(--text-soft); }
.prose img { max-width: 100%; border-radius: 14px; }
.prose figure { margin: 0 0 20px; }

/* Cards do início com imagem própria */
.door-art.has-img::before { display: none; }
.door-art.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Admin: abas, posts, editor, registro ---------- */
.tabs-bar { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); overflow-x: auto; }
.tabs-bar button { flex: 1 0 auto; padding: 10px 16px; border: 0; border-radius: 11px; background: none; font-weight: 800; color: var(--text-soft); cursor: pointer; white-space: nowrap; }
.tabs-bar button[aria-selected="true"] { background: linear-gradient(90deg, rgba(255, 201, 61, .22), rgba(255, 201, 61, .06)); color: var(--sun-soft); }
.btn-danger { color: #ffb3c0; border-color: rgba(255, 107, 129, .4); }
.btn-danger:hover { background: rgba(255, 107, 129, .15); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.post-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.post-list li > div:first-child { display: grid; min-width: 0; }
.post-list li > div:first-child span { font-size: .85rem; color: var(--text-soft); font-weight: 600; }
.post-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.post-actions .btn { padding: 7px 12px; font-size: .88rem; }
.editor { margin-top: 20px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 800; font-size: .9rem; color: var(--text-soft); }
.form textarea { resize: vertical; font-family: var(--font-body); line-height: 1.5; }
.form select { appearance: auto; }
.form-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-row .news-btn { width: auto; margin: 0; padding-inline: 28px; }
.check-line { display: flex !important; align-items: center; gap: 8px; color: var(--text) !important; }
.check-line input { width: 18px; height: 18px; accent-color: var(--sun); }
.slug-row { display: flex; align-items: center; gap: 8px; }
.slug-row span { color: var(--text-dim); font-weight: 700; white-space: nowrap; }
.cover-prev { max-width: 320px; border-radius: 12px; border: 1px solid var(--line); }
.hint-line.small { font-size: .82rem; font-weight: 600; }
.hint-line code, .form code { background: rgba(0, 0, 0, .35); padding: 1px 6px; border-radius: 6px; color: var(--sun-soft); }
.preview { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.cards-edit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cards-edit fieldset { display: grid; gap: 10px; margin: 0; min-width: 0; }
.cards-edit legend { font-family: var(--font-display); font-weight: 800; padding: 0 6px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .news-input { width: auto; padding: 8px 12px; }
.table-wrap { overflow-x: auto; }
.audit-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.audit-table th { text-align: left; padding: 8px 10px; color: var(--text-dim); font-size: .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.audit-table td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: top; }
.audit-table td:first-child { white-space: nowrap; color: var(--text-soft); }
.audit-details { font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.audit-details .muted { color: var(--text-dim); }

@media (max-width: 900px) {
  .home-info { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .cards-edit { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .live { grid-template-columns: 1fr 1fr; }
  .live-item:last-child { grid-column: 1 / -1; }
  .highlights { grid-template-columns: 1fr; }
  .post-list li { grid-template-columns: 1fr auto; }
  .post-actions { grid-column: 1 / -1; }
  .audit-table thead { display: none; }
  .audit-table, .audit-table tbody, .audit-table tr, .audit-table td { display: block; width: 100%; }
  .audit-table tr { padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--glass); }
  .audit-table td { padding: 3px 0; border: 0; white-space: normal !important; }
}
.foot-col .social.yt:hover { border-color: rgba(255, 60, 60, .7); }
.foot-col .social.tt:hover { border-color: rgba(37, 244, 238, .7); }
.foot-col .social.ig:hover { border-color: rgba(225, 48, 108, .7); }

/* ---------- blog.anooramc.com: topo, destaque e newsletter ---------- */
.blog-kicker { margin: 0 0 4px !important; color: var(--sun) !important; font-weight: 800 !important; }
.post-hero { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border-radius: 24px; text-decoration: none; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(30, 40, 100, .8), rgba(14, 20, 62, .85)); transition: transform .45s var(--spring), border-color .25s; animation: rise .8s var(--ease) both; }
.post-hero:hover { transform: translateY(-4px); border-color: rgba(255, 201, 61, .55); }
.ph-img { display: block; min-height: 280px; background: radial-gradient(circle at 50% 60%, rgba(255, 201, 61, .45), #0b1137 75%); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-body { display: grid; gap: 10px; align-content: center; padding: 30px 32px; }
.ph-body .pill { justify-self: start; }
.ph-body strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em; }
.ph-body > span:not(.pill):not(.door-cta) { color: var(--text-soft); font-weight: 600; font-size: 1.02rem; }
.ph-body small { color: var(--text-dim); font-weight: 700; }
.ph-body .door-cta { margin-top: 4px; }
.post-hero:hover .door-cta::after { width: 30px; }
.blog-news { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0 8px; padding: 18px 22px; border-radius: 18px;
  background: linear-gradient(100deg, rgba(255, 201, 61, .16), rgba(255, 155, 33, .05)); border: 1px solid rgba(255, 201, 61, .35); }
.blog-news div { display: grid; gap: 2px; }
.blog-news strong { font-family: var(--font-display); font-size: 1.15rem; }
.blog-news span { color: var(--text-soft); font-weight: 600; font-size: .92rem; }
.blog-sub { margin: 34px 0 16px; font-size: 1.5rem; }
@media (max-width: 780px) {
  .post-hero { grid-template-columns: 1fr; }
  .ph-img { min-height: 0; aspect-ratio: 16 / 9; }
  .ph-body { padding: 22px; }
}
