:root{
  --void:#0B0F14;
  --panel:#111827;
  --surface:#0F172A;
  --border:#1F2937;

  --text:#E5E7EB;
  --muted:#9CA3AF;

  --og-orange:#FF7A18;
  --og-green:#5CFF7A;

  --tier-common:#9CA3AF;
  --tier-uncommon:#45D483;
  --tier-rare:#4AA3FF;
  --tier-ultra:#B56CFF;
  --tier-legendary:#FFD34D;

  --radius-xl:24px;
  --radius-lg:18px;
  --radius-md:14px;
  --shadow: 0 16px 50px rgba(0,0,0,.55);
}

/* -------------------------------------------------------
   Fonts
-------------------------------------------------------- */
@font-face{
  font-family:"Gtek Caverna";
  src:url("../fonts/GtekCaverna.woff2") format("woff2"),
      url("../fonts/GtekCaverna.woff") format("woff");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 700px at 65% 10%, rgba(74,163,255,.12), transparent 60%),
    radial-gradient(900px 600px at 25% 15%, rgba(181,108,255,.10), transparent 55%),
    var(--void);
  color:var(--text);
  line-height:1.45;
  overflow-x:hidden;
}

/* Subtle grain */
.grain::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.35;
}

a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92vw); margin:0 auto;}

.muted{color:rgba(156,163,175,.95)}
.mono{font-family:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;}

.kicker{
  color:rgba(229,231,235,.85);
  font-family:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.85;
}

h1{
  font-family:"Gtek Caverna","Space Grotesk",system-ui,sans-serif;
}
h2,h3{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

h1{font-size:52px; line-height:1.02;}
h2{font-size:34px; line-height:1.12;}
h3{font-size:18px; line-height:1.2;}
p{margin:0 0 14px; color:rgba(229,231,235,.86);}

section{padding:72px 0;}

header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(1.1) blur(10px);
  background:rgba(11,15,20,.55);
  border-bottom:1px solid rgba(31,41,55,.55);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:"Gtek Caverna","Space Grotesk",system-ui,sans-serif;
  letter-spacing:.6px;
  font-size:22px;
  flex:0 0 auto;
}

.brand-mark{
  width:34px;
  height:34px;
  border-radius:12px;
  background:
    radial-gradient(10px 10px at 30% 30%, rgba(92,255,122,.85), transparent 60%),
    radial-gradient(12px 12px at 70% 65%, rgba(255,122,24,.85), transparent 60%),
    linear-gradient(135deg, rgba(74,163,255,.35), rgba(181,108,255,.18));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 0 18px rgba(74,163,255,.18);
}

nav{
  flex:1 1 auto;
}

nav ul{
  list-style:none;
  display:flex;
  justify-content:center;
  gap:18px;
  padding:0;
  margin:0;
}

nav a{
  color:var(--muted);
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  transition:color .15s ease, background .15s ease;
}

nav a:hover{
  color:var(--text);
  background:rgba(255,255,255,.04);
}

nav a.active{
  color:var(--text);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.nav-cta{
  display:flex;
  gap:10px;
  align-items:center;
  flex:0 0 auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  font-weight:600;
  font-size:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  user-select:none;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 10px 30px rgba(0,0,0,.40);
}

.btn-primary{
  background:linear-gradient(135deg, rgba(74,163,255,.20), rgba(181,108,255,.14));
  border-color:rgba(74,163,255,.28);
}

.btn-primary:hover{
  box-shadow:0 0 24px rgba(74,163,255,.18);
}

.btn-ghost{background:transparent;}

.card{
  border-radius:var(--radius-xl);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 38px rgba(0,0,0,.45);
}

.panel{
  padding:18px;
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(15,23,42,.30);
}

.hero{padding:54px 0 30px;}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:center;
}

.subhead{
  font-size:18px;
  color:rgba(229,231,235,.82);
  max-width:56ch;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}

.hero-note{
  font-size:13px;
  color:rgba(156,163,175,.95);
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(229,231,235,.90);
}

.tag-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--tier-rare);
  box-shadow:0 0 14px rgba(74,163,255,.35);
}

.specimen{
  position:relative;
  border-radius:var(--radius-xl);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:420px;
}

.specimen .glow{
  position:absolute;
  inset:-80px -120px auto auto;
  width:420px;
  height:420px;
  background:
    radial-gradient(circle at 30% 30%, rgba(74,163,255,.22), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(181,108,255,.20), transparent 52%);
  opacity:.9;
  pointer-events:none;
}

.specimen .render{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
}

.render .placeholder{
  width:min(320px, 75%);
  aspect-ratio:1 / 1.1;
  border-radius:30px;
  border:1px dashed rgba(255,255,255,.18);
  background:rgba(15,23,42,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(156,163,175,.9);
  text-align:center;
  padding:16px;
}

.stat{
  position:absolute;
  width:170px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(11,15,20,.55);
  backdrop-filter:blur(10px);
  padding:10px 12px;
  box-shadow:0 14px 40px rgba(0,0,0,.55);
  transition:transform .15s ease, box-shadow .15s ease;
}

.stat:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 55px rgba(0,0,0,.65);
}

.stat .label{
  font-size:11px;
  color:rgba(156,163,175,.95);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.stat .value{
  font-size:14px;
  font-weight:600;
  margin-top:4px;
}

.tier-rare{
  outline:1px solid rgba(74,163,255,.22);
  box-shadow:0 0 0 1px rgba(74,163,255,.10), 0 18px 55px rgba(0,0,0,.55);
}

.stat.s1{top:18px; left:18px;}
.stat.s2{top:70px; right:18px;}
.stat.s3{bottom:86px; left:18px;}
.stat.s4{bottom:18px; right:18px;}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:24px;
}

.feature{
  padding:18px 18px 16px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(15,23,42,.30);
  transition:transform .12s ease, border-color .12s ease;
}

.feature:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.14);
}

.icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  margin-bottom:10px;
  box-shadow:0 0 22px rgba(74,163,255,.10);
}

.og-wrap{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:center;
  margin-top:20px;
}

.energy-ring{
  height:260px;
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 50% 50%, rgba(11,15,20,.65) 0 40%, transparent 41%),
    conic-gradient(from 90deg, rgba(255,122,24,.85), rgba(92,255,122,.85), rgba(255,122,24,.85));
  box-shadow:0 16px 60px rgba(0,0,0,.55);
  position:relative;
  overflow:hidden;
}

.energy-ring::after{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 40% 30%, rgba(255,122,24,.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(92,255,122,.16), transparent 55%);
  animation:drift 6s ease-in-out infinite alternate;
}

@keyframes drift{
  from{transform:translate3d(-10px,-6px,0) scale(1.02)}
  to{transform:translate3d(12px,10px,0) scale(1.05)}
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:20px;
}

.badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}

.b-common{box-shadow:0 0 18px rgba(156,163,175,.10); border-color:rgba(156,163,175,.22)}
.b-uncommon{box-shadow:0 0 18px rgba(69,212,131,.12); border-color:rgba(69,212,131,.22)}
.b-rare{box-shadow:0 0 18px rgba(74,163,255,.12); border-color:rgba(74,163,255,.22)}
.b-ultra{box-shadow:0 0 18px rgba(181,108,255,.12); border-color:rgba(181,108,255,.22)}
.b-legendary{box-shadow:0 0 18px rgba(255,211,77,.12); border-color:rgba(255,211,77,.22)}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(11,15,20,.35);
  font-size:13px;
}

.chip .k{color:rgba(156,163,175,.95)}
.chip .v{font-weight:600}
.chip:hover{border-color:rgba(255,255,255,.16)}

.page-hero{padding:46px 0 14px;}
.page-hero h1{font-size:44px;}
.page-hero .subhead{max-width:70ch;}

footer{
  padding:26px 0 40px;
  border-top:1px solid rgba(31,41,55,.55);
  color:rgba(156,163,175,.95);
  font-size:13px;
}

/* -------------------------------------------------------
   Main responsive
-------------------------------------------------------- */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .feature-grid{grid-template-columns:1fr;}
  .og-wrap,
  .split{grid-template-columns:1fr;}
  h1{font-size:42px;}
  .specimen{min-height:380px;}

  .nav{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
  }

  .brand{
    justify-content:center;
  }

  nav{
    width:100%;
  }

  nav ul{
    display:flex;
    flex-direction:column;
    gap:10px;
    width:100%;
  }

  nav li{
    width:100%;
  }

  nav a{
    display:block;
    width:100%;
    text-align:center;
    padding:12px 14px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
  }

  .nav-cta{
    display:flex;
    flex-direction:column;
    width:100%;
  }

  .nav-cta .btn{
    width:100%;
  }
}

/* -------------------------------------------------------
   Account / Vault additions
-------------------------------------------------------- */
.auth-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(300px, .85fr);
  gap:18px;
  align-items:start;
}

.auth-panel{min-height:100%;}
.auth-panel-main{padding:24px;}
.auth-form{margin-top:18px;}

.auth-form label{
  display:block;
  margin:0 0 8px;
  color:rgba(229,231,235,.92);
  font-size:14px;
  font-weight:600;
}

.auth-form input{
  width:100%;
  margin:0 0 16px;
  padding:14px 15px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(11,15,20,.35);
  color:var(--text);
  font:inherit;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.auth-form input::placeholder{color:rgba(156,163,175,.75);}

.auth-form input:focus{
  border-color:rgba(74,163,255,.38);
  box-shadow:0 0 0 3px rgba(74,163,255,.10);
}

.auth-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.check-wrap{
  display:inline-flex !important;
  align-items:center;
  gap:10px;
  margin:0;
  color:rgba(229,231,235,.88);
  font-weight:500;
}

.check-wrap input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:#4AA3FF;
}

.text-link{
  color:rgba(74,163,255,.95);
  font-size:14px;
}

.text-link:hover{text-decoration:underline;}

.account-steps{
  display:grid;
  gap:14px;
  margin-top:14px;
}

.account-step{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:start;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(11,15,20,.24);
}

.step-no{
  min-width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid rgba(74,163,255,.22);
  background:linear-gradient(135deg, rgba(74,163,255,.14), rgba(181,108,255,.10));
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-size:12px;
  font-weight:700;
}

.account-note{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}

.vault-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr);
  gap:18px;
  align-items:start;
}

.vault-stats{
  display:grid;
  gap:18px;
}

.metric-card .label{
  font-size:11px;
  color:rgba(156,163,175,.95);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.metric-value{
  margin:8px 0 6px;
  font-size:28px;
  font-weight:700;
  line-height:1.1;
}

.vault-toolbar{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.vault-card-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.vault-card{
  overflow:hidden;
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(15,23,42,.28);
  box-shadow:0 10px 40px rgba(0,0,0,.45);
  transition:transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.vault-card:hover{
  transform:translateY(-2px);
  border-color:rgba(74,163,255,.18);
  box-shadow:0 16px 55px rgba(0,0,0,.55);
}

.vault-thumb{
  height:180px;
  background:
    radial-gradient(500px 260px at 30% 20%, rgba(74,163,255,.16), transparent 60%),
    radial-gradient(500px 260px at 70% 80%, rgba(181,108,255,.14), transparent 55%),
    rgba(11,15,20,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(156,163,175,.9);
  font-size:13px;
}

.vault-body{padding:14px 14px 12px;}

.status-line{
  margin-top:12px;
  font-size:13px;
  color:rgba(156,163,175,.95);
  display:flex;
  align-items:center;
  gap:8px;
}

@media (max-width: 980px){
  .auth-layout,
  .vault-grid,
  .vault-card-grid{
    grid-template-columns:1fr;
  }
}

/* -------------------------------------------------------
   Account live forms / messages
-------------------------------------------------------- */
.form-message{
  margin:16px 0 0;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  font-size:14px;
}

.form-error{
  background:rgba(255,94,98,.08);
  border-color:rgba(255,94,98,.22);
  color:#ffd9da;
}

.form-success{
  background:rgba(92,255,122,.08);
  border-color:rgba(92,255,122,.20);
  color:#dbffe3;
}

.small-copy{font-size:13px;}
.compact-form input{margin-bottom:10px;}

.empty-state{
  padding:34px 18px;
  border-radius:20px;
  border:1px dashed rgba(255,255,255,.12);
  background:rgba(11,15,20,.22);
  text-align:center;
}

.status-good .dot{background:rgba(92,255,122,.9); box-shadow:0 0 12px rgba(92,255,122,.24);}
.status-warn .dot{background:rgba(255,122,24,.88); box-shadow:0 0 12px rgba(255,122,24,.24);}
.status-bad .dot{background:rgba(255,94,98,.88); box-shadow:0 0 12px rgba(255,94,98,.24);}
.b-ultra{border-color:rgba(181,108,255,.3); color:#dec3ff;}
.b-legendary{border-color:rgba(255,211,77,.32); color:#ffe8a0;}

.alien-link{
  color:#fff;
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}

.alien-link:hover{
  color:rgba(74,163,255,.95);
  border-bottom-color:rgba(74,163,255,.45);
}

.family-link{
  color:rgba(74,163,255,.95);
  text-decoration:none;
}

.family-link:hover{text-decoration:underline;}

.family-tree-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.family-tree-col{
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(11,15,20,.22);
}

.family-person{
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.06);
}

.family-person:first-child{
  border-top:0;
  padding-top:0;
}

@media (max-width: 980px){
  .family-tree-grid{grid-template-columns:1fr;}
}

.pedigree-tree{
  display:grid;
  gap:18px;
}

.tree-row{
  display:grid;
  gap:14px;
  align-items:start;
}

.tree-row-8{grid-template-columns:repeat(8, minmax(0, 1fr));}
.tree-row-4{grid-template-columns:repeat(4, minmax(0, 1fr));}
.tree-row-2{grid-template-columns:repeat(2, minmax(220px, 1fr)); justify-content:center;}
.tree-row-1{grid-template-columns:minmax(240px, 320px); justify-content:center;}

.tree-card{
  padding:14px 12px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(11,15,20,.22);
  text-align:center;
  min-height:100%;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.tree-card-self{
  border-color:rgba(74,163,255,.28);
  box-shadow:0 0 0 1px rgba(74,163,255,.10), 0 14px 40px rgba(0,0,0,.35);
}

.tree-card-empty{opacity:.72;}

.tree-label{
  font-size:12px;
  font-weight:700;
  margin-bottom:10px;
  color:rgba(229,231,235,.92);
}

.tree-thumb-wrap{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}

.tree-thumb{
  width:74px;
  height:74px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

.tree-name{
  display:block;
  font-weight:700;
  margin-bottom:6px;
  line-height:1.2;
}

.tree-meta{
  font-size:12px;
  color:rgba(229,231,235,.78);
  line-height:1.35;
}

.tree-children-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:14px;
}

@media (max-width: 1400px){
  .tree-row-8{grid-template-columns:repeat(4, minmax(0, 1fr));}
}

@media (max-width: 980px){
  .tree-row-8,
  .tree-row-4,
  .tree-row-2,
  .tree-row-1{
    grid-template-columns:1fr 1fr;
  }

  .tree-row-1{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .tree-row-8,
  .tree-row-4,
  .tree-row-2,
  .tree-row-1,
  .tree-children-grid{
    grid-template-columns:1fr;
  }
}

/* -------------------------------------------------------
   Help / Support
-------------------------------------------------------- */
.help-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.help-card{padding:24px;}

.help-icon{
  width:52px;
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  font-size:24px;
  margin-bottom:14px;
}

.support-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, .9fr);
  gap:18px;
  align-items:start;
}

.support-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.support-select,
.support-textarea{
  width:100%;
  margin:0 0 16px;
  padding:14px 15px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(11,15,20,.35);
  color:var(--text);
  font:inherit;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.support-select:focus,
.support-textarea:focus{
  border-color:rgba(74,163,255,.38);
  box-shadow:0 0 0 3px rgba(74,163,255,.10);
}

.support-textarea{
  resize:vertical;
  min-height:160px;
}

.support-ticket-list{
  display:grid;
  gap:12px;
}

.support-ticket-card{
  display:block;
  padding:16px 16px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(11,15,20,.22);
  transition:transform .12s ease, border-color .12s ease;
}

.support-ticket-card:hover{
  transform:translateY(-1px);
  border-color:rgba(74,163,255,.24);
}

.support-ticket-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.support-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}

.support-status-open{border-color:rgba(74,163,255,.28);}
.support-status-answered{border-color:rgba(92,255,122,.28);}
.support-status-awaiting_user{border-color:rgba(255,122,24,.28);}
.support-status-closed{border-color:rgba(156,163,175,.28); opacity:.85;}

.support-thread{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.support-message{
  padding:18px 20px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
}

.support-message.is-user{
  background:rgba(15,23,42,.34);
}

.support-message.is-admin{
  background:rgba(18,28,32,.42);
  border-color:rgba(92,255,122,.14);
}

.support-message-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.support-message-body{
  color:rgba(229,231,235,.92);
  white-space:normal;
  word-break:break-word;
}

@media (max-width: 980px){
  .help-grid,
  .support-layout,
  .support-form-grid{
    grid-template-columns:1fr;
  }
}

.support-needs-reply{
  border-color:rgba(255,122,24,.34);
  background:rgba(255,122,24,.10);
  color:#ffd9bf;
  box-shadow:0 0 0 1px rgba(255,122,24,.08);
}

.packs-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.pack-card{
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:22px 20px 18px;
  border-radius:22px;
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(74,163,255,.10), transparent 60%),
    radial-gradient(500px 220px at 80% 100%, rgba(181,108,255,.10), transparent 60%),
    rgba(15,23,42,.32);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.pack-card h3{
  margin:0 0 10px;
  font-size:22px;
}

.pack-card p{
  margin:0 0 10px;
}

@media (max-width: 700px){
  .packs-grid{
    grid-template-columns:1fr;
  }
}
.child-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
  margin-top:12px;
}

.child-card{
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(11,15,20,.24);
  box-shadow:0 10px 30px rgba(0,0,0,.22);
}

.child-card:hover{
  border-color:rgba(74,163,255,.22);
  background:rgba(15,23,42,.34);
}

.child-card-egg{
  border-color:rgba(255,122,24,.18);
}

.child-card-name{
  display:block;
  margin:8px 0 10px;
  font-size:1.05rem;
  font-weight:700;
}

.child-card-meta{
  display:grid;
  gap:6px;
  font-size:.92rem;
}