:root {
  --bg-0: #0a0710;
  --panel: rgba(20, 14, 30, 0.72);
  --panel-solid: #14101e;
  --sidebar: rgba(14, 10, 22, 0.6);
  --card: rgba(30, 22, 44, 0.55);
  --card-2: rgba(40, 30, 58, 0.6);
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --text: #ECECF4;
  --muted: #9890ad;
  --primary: #7c4dff;
  --primary-2: #6a3df0;
  --green: #15c47e;
  --green-2: #0fae6e;
  --yellow: #f5c33b;
  --yellow-2: #eab308;
  --radius: 16px;
  --radius-lg: 26px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, #3a1d5e 0%, rgba(58,29,94,0) 55%),
    radial-gradient(900px 600px at 10% 110%, #2a123f 0%, rgba(42,18,63,0) 50%),
    linear-gradient(160deg, #140b22 0%, #0a0710 60%, #060409 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 5px; font-size: .85em; }
hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(700px 400px at 78% 8%, rgba(170,80,255,.18), transparent 60%);
}

/* ===================== LANDING ===================== */
body.landing { position: relative; z-index: 1; }
.lp-nav {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 26px 24px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.lp-logo {
  width: 38px; height: 38px; border-radius: 11px; color: #b79bff;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a1c44, #1a1230); border: 1px solid var(--border-2);
}
.lp-logo svg { width: 21px; height: 21px; }
.lp-nav-links { display: flex; align-items: center; gap: 24px; }
.lp-nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.lp-nav-links a:hover { color: var(--text); }
.lp-nav-links a.btn { color: #fff; }

.lp-hero {
  position: relative; z-index: 1;
  max-width: 820px; margin: 60px auto 0; padding: 0 24px; text-align: center;
}
.lp-pill {
  display: inline-block; padding: 7px 16px; border-radius: 30px;
  background: rgba(124,77,255,.16); border: 1px solid rgba(124,77,255,.4);
  color: #c4b3ff; font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.lp-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; margin: 0 0 18px; }
.lp-sub { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto 30px; }
.lp-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.lp-features {
  position: relative; z-index: 1;
  max-width: 1000px; margin: 80px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px;
}
.lp-feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; backdrop-filter: blur(6px);
}
.lp-feature h3 { margin: 0 0 8px; font-size: 1.15rem; }
.lp-feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.lp-footer {
  position: relative; z-index: 1;
  max-width: 1000px; margin: 70px auto 40px; padding: 26px 24px 0;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: .9rem;
}
.lp-footer a { color: #c4b3ff; font-weight: 600; }

/* ===================== SHELL ===================== */
.shell {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 0;
  max-width: 1500px;
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

/* ===================== SIDEBAR ===================== */
.sidebar {
  display: flex; flex-direction: column;
  padding: 22px 16px;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
}
.brand { padding: 6px 8px 18px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #b79bff;
  background: linear-gradient(135deg, #2a1c44, #1a1230);
  border: 1px solid var(--border-2);
}
.brand-mark svg { width: 24px; height: 24px; }

.nav-group { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 12px;
  color: var(--muted); font-weight: 500; font-size: .93rem;
  transition: background .15s, color .15s;
}
.nav-item:hover { background: rgba(255,255,255,.04); color: var(--text); }
.nav-item.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(124,77,255,.35);
}
.nav-ico {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
}
.nav-ico svg { width: 17px; height: 17px; }
.nav-item.active .nav-ico { background: rgba(255,255,255,.18); }
.nav-divider { height: 1px; background: var(--border); margin: 16px 6px; }
.nav-sections { overflow-y: auto; }
.nav-row { display: flex; align-items: center; gap: 4px; }
.nav-row .nav-item { flex: 1; min-width: 0; }
.switch-xs { width: 32px; height: 18px; flex-shrink: 0; margin-right: 4px; }
.switch-xs .slider:before { height: 12px; width: 12px; left: 3px; top: 2px; }
.switch-xs input:checked + .slider:before { transform: translateX(14px); }

.upgrade-card {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(135deg, #16c47e, #0c9b62);
  color: #04231a; font-weight: 700;
  box-shadow: 0 14px 30px rgba(21,196,126,.3);
}
.upgrade-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #04231a;
}
.upgrade-arrow svg { width: 15px; height: 15px; }

/* ===================== MAIN / TOPBAR ===================== */
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 30px;
}
.topbar-guild { color: var(--muted); font-weight: 600; }
.user-chip {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 6px 8px 6px 6px; border-radius: 40px;
}
.user-chip .avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.user-meta { display: flex; flex-direction: column; line-height: 1.1; }
.user-name { font-weight: 700; font-size: .88rem; letter-spacing: .03em; text-transform: uppercase; }
.user-badge {
  align-self: flex-start; margin-top: 2px;
  font-size: .62rem; font-weight: 700; color: #04231a;
  background: var(--green); padding: 1px 7px; border-radius: 20px;
}
.logout-btn {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: rgba(255,255,255,.04);
}
.logout-btn:hover { color: var(--text); background: rgba(255,255,255,.08); }
.logout-btn svg { width: 16px; height: 16px; }

.content { padding: 8px 30px 36px; overflow-y: auto; }

/* ===================== HEADINGS ===================== */
.page-head { margin-bottom: 22px; }
.page-head h1 { margin: 0 0 4px; font-size: 1.7rem; }
.muted { color: var(--muted); }
.section-title { margin: 26px 0 12px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.page-head-row { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.page-title { font-size: 2rem; font-weight: 800; margin: 0; }
.filter-box { position: relative; flex: 1; max-width: 420px; }
.filter-box input {
  width: 100%; padding: 13px 44px 13px 18px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--text); font-size: .95rem;
}
.filter-box input::placeholder { color: var(--muted); }
.filter-box input:focus { outline: none; border-color: var(--primary); }
.filter-ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--primary); display: flex; }
.filter-ico svg { width: 18px; height: 18px; }
.btn-premium {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 14px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #16c47e, #0c9b62);
  box-shadow: 0 12px 26px rgba(21,196,126,.28);
}
.btn-premium svg { width: 17px; height: 17px; }

/* ===================== SERVER GRID ===================== */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.srv-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0 0 16px;
  overflow: hidden;
  transition: transform .14s, border-color .14s;
}
.srv-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.srv-banner {
  height: 120px;
  background-size: cover; background-position: center;
  filter: blur(18px) saturate(1.3);
  transform: scale(1.4);
  opacity: .85;
}
.srv-emblem {
  position: absolute; top: 56px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--panel-solid);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.srv-emblem img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.srv-emblem span {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: #fff;
}
.srv-body {
  margin-top: 40px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.srv-info { min-width: 0; }
.srv-name { font-weight: 700; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srv-role { color: var(--muted); font-size: .8rem; }
.srv-btn {
  flex-shrink: 0; padding: 9px 20px; border-radius: 11px;
  font-weight: 700; font-size: .9rem; color: #04231a;
}
.srv-btn-go { background: linear-gradient(135deg, #16c47e, #0c9b62); color: #04231a; }
.srv-btn-setup { background: linear-gradient(135deg, #f7ce4b, #e7a90f); color: #2a1d00; }
.srv-btn:hover { filter: brightness(1.07); }

.empty { color: var(--muted); padding: 50px; text-align: center; }

/* ===================== CARDS / FORMS ===================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px; margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-head h2, .card h2 { margin: 0 0 12px; font-size: 1.08rem; }
.card-head h2 { margin: 0; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.row .field { flex: 1; min-width: 180px; }
.input {
  width: 100%; padding: 11px 13px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 11px; color: var(--text); font-size: .95rem; font-family: inherit;
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,.06); }
textarea.input { resize: vertical; }
select.input { appearance: none; }
select.input[multiple] { padding: 6px; }
select.input option { background: var(--panel-solid); }
.inline-check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.inline-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.actions { margin-top: 8px; }
.actions-inline { margin: 12px 0; }

/* Switch */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; inset: 0; background: rgba(255,255,255,.1); border: 1px solid var(--border);
  border-radius: 26px; cursor: pointer; transition: .2s;
}
.slider:before {
  content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  background: #c8c2d8; border-radius: 50%; transition: .2s;
}
.switch input:checked + .slider { background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-color: transparent; }
.switch input:checked + .slider:before { transform: translateX(20px); background: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: 11px 20px; border: none; border-radius: 12px;
  font-weight: 700; cursor: pointer; font-size: .94rem; font-family: inherit;
  transition: filter .15s, background .15s, transform .1s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 13px; font-size: .85rem; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 10px 24px rgba(124,77,255,.3); }
.btn-secondary { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--border); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border-2); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-danger { background: #ed4245; color: #fff; }

/* Flash */
.flash {
  background: rgba(21,196,126,.14); border: 1px solid rgba(21,196,126,.5); color: #8ff0c4;
  padding: 12px 16px; border-radius: 11px; margin-bottom: 18px;
}

/* ===================== LOGIN / ERROR ===================== */
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; width: 100%; padding: 20px; position: relative; z-index: 1; }
.login-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 22px;
  padding: 44px; text-align: center; max-width: 430px;
  backdrop-filter: blur(20px); box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.login-logo { font-size: 3rem; margin-bottom: 8px; }
.login-card h1 { margin: 0 0 8px; }
.login-card p { color: var(--muted); margin: 0 0 22px; }
.login-hint { font-size: .85rem; margin-top: 18px !important; }

/* ===================== OVERVIEW ===================== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-num { font-size: 2.1rem; font-weight: 800; background: linear-gradient(135deg,#a07bff,#16c47e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: .9rem; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.quick-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 12px; font-weight: 600; transition: border-color .12s, transform .12s; }
.quick-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.quick-card span { font-size: 1.4rem; }

/* Overview: info + módulos */
.ov-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; align-items: start; margin-top: 18px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.info-list li:last-child { border-bottom: none; }
.info-list li span { color: var(--muted); }
.info-list .mono { font-family: monospace; font-weight: 500; font-size: .85rem; }

.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 10px; }
.module-item {
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; transition: border-color .12s, transform .12s;
}
.module-item:hover { transform: translateY(-2px); border-color: var(--border-2); }
.module-link { display: flex; align-items: center; gap: 8px; color: var(--text); }
.module-ico { font-size: 1.2rem; }
.module-label { font-weight: 600; font-size: .9rem; }
.module-foot { display: flex; align-items: center; justify-content: space-between; }
.module-badge { font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.module-item.on .module-badge { background: rgba(21,196,126,.18); color: #6fe6ab; }
.module-item.off .module-badge { background: rgba(255,255,255,.07); color: var(--muted); }
.module-item.on { border-color: rgba(21,196,126,.3); }

/* Gráficas */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; margin-top: 18px; }
.chart-card { display: flex; flex-direction: column; align-items: center; }
.chart-card h3 { margin: 0 0 14px; font-size: 1rem; align-self: flex-start; }
.chart-card canvas { max-height: 220px; }

@media (max-width: 860px) { .ov-cols { grid-template-columns: 1fr; } }

/* Multiselect (chips + búsqueda) */
.ms-control {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 6px;
  cursor: text;
}
.ms-control:focus-within { border-color: var(--primary); }
.ms-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ms-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: .82rem; font-weight: 600;
  padding: 4px 6px 4px 10px; border-radius: 8px;
}
.ms-chip .ms-x {
  border: none; background: rgba(255,255,255,.25); color: #fff;
  width: 16px; height: 16px; border-radius: 50%; cursor: pointer;
  line-height: 1; font-size: .8rem; display: flex; align-items: center; justify-content: center;
}
.ms-chip .ms-x:hover { background: rgba(255,255,255,.45); }
.ms-input {
  flex: 1; min-width: 120px; border: none; outline: none;
  background: transparent; color: var(--text); font-size: .92rem; padding: 6px;
}
.ms-input::placeholder { color: var(--muted); }
.ms-dropdown {
  position: fixed; z-index: 9999;
  background: var(--panel-solid); border: 1px solid var(--border-2);
  border-radius: 11px; max-height: 240px; overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,.5); padding: 6px;
}
.ms-option { padding: 9px 11px; border-radius: 8px; cursor: pointer; font-size: .92rem; }
.ms-option:hover { background: rgba(124,77,255,.25); }
.ms-empty { padding: 10px 11px; color: var(--muted); font-size: .88rem; }

/* Filas de eventos (canal por evento) */
.event-rows { display: flex; flex-direction: column; gap: 10px; }
.event-row {
  display: grid; grid-template-columns: 46px 1fr 1.2fr; gap: 14px; align-items: center;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 11px; padding: 10px 14px;
}
.event-name { font-weight: 600; font-size: .94rem; }
.event-channel .input { margin: 0; }
@media (max-width: 620px) {
  .event-row { grid-template-columns: 46px 1fr; }
  .event-channel { grid-column: 1 / -1; }
}
/* Fila de estadísticas: toggle + nombre + canal + plantilla */
.stats-row { grid-template-columns: 46px 1.1fr 1.2fr 1.2fr; }
@media (max-width: 620px) {
  .stats-row { grid-template-columns: 46px 1fr; }
  .stats-row .event-channel { grid-column: 1 / -1; }
}

/* Toggle grid */
.toggle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 10px; }
.toggle-item { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.03); padding: 11px 15px; border-radius: 11px; border: 1px solid var(--border); }

/* Repeat rows */
.repeat-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.repeat-row .input { flex: 1; }

/* Autoroles */
.menu-block { border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 14px; background: rgba(255,255,255,.03); }
.menu-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.option-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.option-row .input { flex: 1; }
.option-row .input-emoji { max-width: 70px; }
.option-row .input-label { max-width: 180px; }

/* Embeds */
.embeds-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; align-items: start; }
.embeds-layout .card:last-child { grid-column: 1 / -1; }
.embed-list { display: flex; flex-direction: column; gap: 6px; }
.embed-list-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 13px; background: rgba(255,255,255,.04); border-radius: 10px; cursor: pointer; }
.embed-list-item:hover { background: rgba(255,255,255,.08); }
.embed-list-item.active { outline: 2px solid var(--primary); }
.embed-preview { border-left: 4px solid var(--primary); background: rgba(255,255,255,.04); border-radius: 8px; padding: 14px; }
.embed-preview .ep-title { font-weight: 700; margin-bottom: 6px; }
.embed-preview .ep-desc { color: var(--text); white-space: pre-wrap; }
.embed-preview img.ep-image { max-width: 100%; border-radius: 6px; margin-top: 10px; }
.embed-preview .ep-footer { color: var(--muted); font-size: .8rem; margin-top: 10px; }

/* Scrollbars */
.content::-webkit-scrollbar, .nav-sections::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb, .nav-sections::-webkit-scrollbar-thumb { background: rgba(124,77,255,.4); border-radius: 8px; }
.content::-webkit-scrollbar-track, .nav-sections::-webkit-scrollbar-track { background: transparent; }

/* Responsive */
@media (max-width: 1050px) {
  .shell { grid-template-columns: 76px 1fr; }
  .nav-label, .brand-mark { }
  .nav-label { display: none; }
  .nav-item { justify-content: center; }
  .upgrade-card .upgrade-text { display: none; }
  .embeds-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .shell { margin: 0; border-radius: 0; min-height: 100vh; }
  .content { padding: 8px 16px 28px; }
  .topbar { padding: 16px; }
}
