:root {
  --bg: #0a0807;
  --bg-2: #15100e;
  --bg-3: #1f1714;
  --panel: #1a1310;
  --panel-2: #221814;
  --line: #2e2018;
  --line-2: #3d2a1e;
  --ink: #efe4d2;
  --ink-2: #c9b89a;
  --ink-3: #8a7a64;
  --ink-4: #5d4f40;
  --gold: #c9a24a;
  --gold-2: #e0bd6a;
  --gold-deep: #8a6a26;
  --garnet: #6e1d22;
  --garnet-2: #8c2a30;
  --garnet-deep: #4a1014;
  --blood: #b03a3f;
  --emerald: #4a7a4a;
  --shadow: 0 1px 0 rgba(255, 215, 140, 0.04) inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 0 rgba(255, 215, 140, 0.04) inset, 0 0 0 1px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.5);
  --text-muted: var(--ink-3);

  /* Legacy aliases for non-home templates */
  --bg-deep: var(--bg);
  --bg-main: var(--bg-2);
  --bg-card: var(--panel);
  --bg-card2: var(--panel-2);
  --border: var(--line-2);
  --text: var(--ink);
  --text-dim: var(--ink-2);
  --gold-light: var(--gold-2);
  --gold-dark: var(--gold-deep);
  --green-light: #6ec96e;
  --garnet-mid: var(--garnet-2);
  --radius: 3px;
  --transition: .14s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(110, 29, 34, 0.18), transparent 60%),
    radial-gradient(900px 420px at 75% 95%, rgba(201, 162, 74, 0.07), transparent 60%),
    var(--bg);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.65  0 0 0 0 0.4  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .45;
  mix-blend-mode: overlay;
}

.site-main, .site-header, .site-footer { position: relative; z-index: 1; }
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

h1,h2,h3,h4 { font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
.gold { color: var(--gold); }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(10, 8, 7, .78);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-text { font-family: 'Cinzel', serif; font-size: 18px; letter-spacing: .18em; line-height: 1; }
.logo-sub { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .18em; color: var(--ink-3); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 2px;
}
.nav-link.active, .nav-link:hover { color: var(--gold); background: rgba(201,162,74,.07); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px 22px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .14s ease;
}
.btn-gold, .btn-primary {
  color: #1a1008;
  background: linear-gradient(180deg, #e0bd6a 0%, #c9a24a 50%, #a17e2e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, .6), inset 0 -1px 0 rgba(80, 50, 10, .5), 0 0 0 1px rgba(0,0,0,.7), 0 8px 18px rgba(201,162,74,.25);
}
.btn-gold:hover, .btn-primary:hover { transform: translateY(-1px); }
.btn-outline, .btn-secondary {
  color: var(--ink);
  background: linear-gradient(180deg, #2a1d18 0%, #1a1310 100%);
  box-shadow: inset 0 1px 0 rgba(255,215,140,.06), 0 0 0 1px var(--line-2), 0 4px 12px rgba(0,0,0,.5);
}
.btn-outline:hover, .btn-secondary:hover { box-shadow: inset 0 1px 0 rgba(255,215,140,.08), 0 0 0 1px var(--gold-deep), 0 6px 16px rgba(0,0,0,.6); }

.panel, .card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.panel::before, .card::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201, 162, 74, .08);
  border-radius: 1px;
  pointer-events: none;
}
.panel-corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold-deep); pointer-events: none; }
.panel-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.panel-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.panel-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero {
  padding: 64px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-title { font-size: clamp(42px, 7vw, 72px); line-height: .95; margin-bottom: 22px; }
.hero-subtitle { color: var(--ink-2); max-width: 52ch; margin-bottom: 30px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 5px; }
.stat-value { font-family: 'Cinzel', serif; font-size: 26px; color: var(--ink); }
.stat-suffix { font-size: 11px; color: var(--ink-3); }

.status-panel { padding: 28px; }
.status-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.online, .status-dot.online { background: #6ec96e; box-shadow: 0 0 10px rgba(110, 201, 110, .6); }
.dot.offline, .status-dot.offline { background: #6e2a2a; }
.players-online { font-family: 'Cinzel', serif; font-size: clamp(46px, 6vw, 64px); color: var(--gold-2); line-height: 1; }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 16px; }
.status-cell { background: var(--panel); padding: 11px 13px; }

.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.section-sub { color: var(--ink-3); max-width: 60ch; }

.ranking-wrap { margin-top: 14px; }
.podium-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.podium-card { padding: 20px; }
.podium-rank { position: absolute; top: 12px; right: 14px; font-family: 'Cinzel', serif; font-size: 30px; opacity: .55; color: var(--gold); }
.tab-bar { display: inline-flex; background: var(--panel); border: 1px solid var(--line-2); padding: 3px; gap: 2px; }
.tab { border: 0; background: transparent; color: var(--ink-3); font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px; cursor: pointer; }
.tab.active { background: linear-gradient(180deg, #2a1d18 0%, #1a1310 100%); color: var(--gold); box-shadow: inset 0 1px 0 rgba(201, 162, 74, .15), 0 0 0 1px var(--gold-deep); }

.ranking-table { overflow: auto; }
.ranking-table table { width: 100%; border-collapse: collapse; }
.ranking-table th, .ranking-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.ranking-table th { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; background: #0d0907; }
.rank-pos.top1 { color: #f3d47b; }
.rank-pos.top2 { color: #b9bcc4; }
.rank-pos.top3 { color: #c79466; }

.news-section { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 18px; }
.news-card { overflow: hidden; }
.news-media { height: 160px; border-bottom: 1px solid var(--line-2); background: repeating-linear-gradient(45deg, transparent 0 8px, rgba(201,162,74,.04) 8px 16px), linear-gradient(180deg, var(--garnet-deep), var(--bg-2)); display: flex; align-items: center; justify-content: center; }
.news-card:first-child .news-media { height: 220px; }
.news-body { padding: 18px; }
.news-card:first-child .news-body { padding: 22px; }
.news-tag { display: inline-flex; padding: 4px 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line-2); margin-bottom: 10px; }
.news-tag-temporada { background: rgba(201,162,74,.12); color: #e0bd6a; border-color: #8a6a26; }
.news-tag-evento { background: rgba(176,58,63,.14); color: #d97a7a; border-color: #6e1d22; }
.news-tag-comunidad, .news-tag-parche, .news-tag-noticia { background: rgba(74,154,122,.12); color: #7ac99a; border-color: #3a6a4a; }
.news-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }

.section-divider { height: 1px; width: 130px; margin: 10px auto 14px; background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); }
.section-header { text-align: center; margin-bottom: 1.5rem; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.store-card { overflow: hidden; }
.store-card-img, .store-card-img-placeholder { width: 100%; height: 170px; object-fit: cover; border-bottom: 1px solid var(--line); background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.store-card-body { padding: 1rem; }
.store-price { color: var(--gold-2); font-family: 'Cinzel', serif; font-size: 22px; margin: .7rem 0; }
.store-price span { font-size: 12px; color: var(--ink-3); }

.alert { padding: .9rem 1rem; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); }
.alert-info { border-left: 3px solid var(--gold-deep); }
.alert-success { border-left: 3px solid #2f7b4e; }
.alert-error { border-left: 3px solid var(--blood); }

.site-footer { border-top: 1px solid var(--line-2); background: rgba(10, 8, 7, .8); margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 28px; padding: 30px 28px; }
.footer-brand .logo-icon { display: none; }
.footer-tagline { color: var(--ink-3); margin-top: 6px; }
.footer-nav h4, .footer-status h4 { margin-bottom: 10px; font-size: 14px; color: var(--gold); }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.status-indicator { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6e2a2a; }
.online-count { color: var(--ink-3); margin-top: 4px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 10px 28px 16px; color: var(--ink-4); font-size: 12px; text-align: center; }

.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: skeleton 1.2s linear infinite; }
@keyframes skeleton { to { background-position: -200% 0; } }


/* Legacy/common components used by ranking/personaje/panel/admin */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }
.ranking-table table,
.panel-table,
.table-wrap > table { min-width: 780px; }
.ranking-table th, .ranking-table td,
.panel-table th, .panel-table td,
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.ranking-table th,
.panel-table th,
th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: #0d0907;
}

.rank-tabs { display: inline-flex; gap: .5rem; margin-bottom: 1rem; }
.rank-tab {
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--ink-2);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem .9rem;
  cursor: pointer;
}
.rank-tab.active { color: var(--gold); border-color: var(--gold-deep); }

.badge-clase,
.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,.25);
  color: var(--ink-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.stat-card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line-2);
  padding: 14px;
}
.stat-icon { color: var(--gold); margin-bottom: 8px; }

.badge { display: inline-flex; align-items: center; padding: 3px 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent; }
.badge-ok { color: #7ac99a; background: rgba(74,154,122,.12); border-color: #3a6a4a; }
.badge-fail { color: #d97a7a; background: rgba(176,58,63,.14); border-color: #6e1d22; }

.btn-garnet {
  color: var(--gold-2);
  background: linear-gradient(180deg, #7a2026 0%, #5a1419 100%);
  box-shadow: inset 0 1px 0 rgba(255, 215, 140, .12), 0 0 0 1px rgba(0,0,0,.65), 0 6px 16px rgba(110,29,34,.35);
}

/* ── Login page ───────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.login-box {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.login-box::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201, 162, 74, .08);
  border-radius: 1px;
  pointer-events: none;
}
.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  letter-spacing: .14em;
  color: var(--ink);
}

/* ── Forms ────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label, label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
input[type=text], input[type=email], input[type=password],
input[type=number], input[type=search], input[type=url],
select, textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  transition: border-color .14s ease;
  outline: none;
}
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus,
input[type=number]:focus, input[type=search]:focus, input[type=url]:focus,
select:focus, textarea:focus { border-color: var(--gold-deep); }
input::placeholder, textarea::placeholder { color: var(--ink-4); }
textarea { resize: vertical; min-height: 120px; }
select { cursor: pointer; }
input:disabled, select:disabled, textarea:disabled { opacity: .5; cursor: not-allowed; }

/* ── Panel layout ─────────────────────────────────────────────────── */
.panel-body { background: var(--bg); }
.panel-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.panel-sidebar {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  padding: 0 0 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.panel-logo {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--line);
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: .14em;
}
.panel-logo a { color: var(--ink); display: flex; align-items: center; gap: 8px; }
.panel-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.panel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--garnet), var(--garnet-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: var(--gold-2);
  flex-shrink: 0;
}
.panel-username { font-size: 13px; font-weight: 600; }
.panel-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.panel-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; flex: 1; }
.panel-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 2px;
  color: var(--ink-2);
  font-size: 13px;
  transition: all .14s ease;
}
.panel-nav-link:hover { background: rgba(201,162,74,.06); color: var(--ink); }
.panel-nav-link.active { background: rgba(201,162,74,.1); color: var(--gold); }
.nav-icon { width: 18px; text-align: center; font-size: 14px; }
.nav-badge {
  margin-left: auto;
  background: var(--garnet-2);
  color: var(--gold-2);
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  padding: 1px 5px;
  min-width: 18px;
  text-align: center;
}
.panel-nav-sep { height: 1px; background: var(--line); margin: 8px 4px; }
.panel-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  margin: 8px 8px 0;
  color: var(--ink-3);
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all .14s ease;
}
.panel-logout:hover { color: var(--blood); border-color: var(--blood); }
.panel-content { display: flex; flex-direction: column; min-height: 100vh; }
.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line-2);
  background: rgba(10, 8, 7, .5);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.panel-page-title { font-size: 18px; }
.panel-topbar-notif {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--gold-deep);
  border-radius: 2px;
}
.panel-main { flex: 1; padding: 28px; }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* ── Extra badges ─────────────────────────────────────────────────── */
.badge-pending { color: #e0bd6a; background: rgba(201,162,74,.12); border-color: var(--gold-deep); }

/* ── Online pulse ─────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(110,201,110,.6); }
  50% { box-shadow: 0 0 14px rgba(110,201,110,.9); }
}
.dot.online, .status-dot.online { animation: pulse 2s ease-in-out infinite; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:first-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 12px 16px; }
  .main-nav { display: none; position: absolute; top: 100%; right: 16px; left: 16px; background: var(--panel); border: 1px solid var(--line-2); padding: 10px; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--gold); }
  .podium-grid, .news-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .panel-layout { grid-template-columns: 1fr; }
  .panel-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .panel-nav { flex-direction: row; flex-wrap: wrap; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-main { padding: 16px; }
  .login-box { padding: 24px 18px; }
}
