/* =========================================================
   Berojgar admin panel. Builds on ../styles.css (tokens,
   fonts, .btn, .theme-switch, .toast, .floater, .ground).
   ========================================================= */

:root,
:root[data-theme="dark"] {
  --chart-line: #22b060;
  --grid: #2b2340;
  --danger: #ff5c5c;
  --warn: #ffd23f;
}
:root[data-theme="light"] {
  --chart-line: #0f9a4c;
  --grid: #dfeee5;
  --danger: #d63030;
  --warn: #b98a00;
}

body.admin { min-height: 100vh; }
[hidden] { display: none !important; }

/* ---------- Form bits ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field > span:first-child { font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  background: var(--card-2);
  border: 3px solid var(--line);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--shadow);
  transition: box-shadow 0.15s, transform 0.15s var(--ease-heavy);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; box-shadow: 4px 4px 0 var(--green); transform: translate(-1px, -1px); }
.field small { color: var(--ink-soft); font-weight: 700; }
.pw { position: relative; display: block; }
.pw input { padding-right: 72px; }
.pw__eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 800; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }

.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grow { flex: 1; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }

/* Small chunky buttons for panel actions */
.ghost-btn,
.act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  background: var(--card-2);
  border: 3px solid var(--line);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--shadow);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s var(--ease-heavy), box-shadow 0.12s;
}
.ghost-btn:hover,
.act:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--shadow); }
.ghost-btn:active,
.act:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow); }
.act:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: 3px 3px 0 var(--shadow); }
.act--primary { background: var(--mint); color: #06140c; }
.act--danger { background: var(--danger); color: #fff; }
.act--small { padding: 4px 10px; font-size: 13px; }

.btn.btn--small { font-size: 15px; padding: 0.55em 1.4em; }
.btn:disabled { opacity: 0.55; cursor: progress; }

/* ---------- Chips ---------- */
.chip-s {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--line);
  border-radius: 99px;
  background: var(--card-2);
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip-s--live { background: var(--mint); color: #06140c; }
.chip-s--off { background: var(--card-2); }
.chip-s--pin { background: var(--lime); color: #06140c; }
.chip-s--owner { background: #ffd23f; color: #2a1a00; }
.chip-s--admin { background: var(--blue); color: #fff; }
.chip-s--moderator { background: var(--teal); color: #06140c; }
.chip-s--disabled { background: var(--danger); color: #fff; }

/* =========================================================
   LOGIN
   ========================================================= */
.login {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 16px 140px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 20%, var(--glow-1), transparent 45%),
    radial-gradient(circle at 85% 30%, var(--glow-2), transparent 45%),
    radial-gradient(circle at 60% 85%, var(--glow-3), transparent 50%),
    linear-gradient(180deg, var(--sky-1), var(--sky-2));
}
.login__box {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  padding: 34px 30px 28px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 26px;
  box-shadow: 8px 8px 0 var(--green);
  animation: drop-in 0.45s var(--ease-heavy) both;
}
@keyframes drop-in {
  from { opacity: 0; transform: translateY(-30px) scale(0.95); }
}
.login__logo {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  image-rendering: auto;
  filter: drop-shadow(4px 4px 0 var(--shadow));
  animation: bob 3.6s ease-in-out infinite;
}
.login__brand {
  margin-top: 26px;
  text-align: center;
  font-family: var(--font-block);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--mint);
  text-shadow: 2px 2px 0 var(--shadow);
}
:root[data-theme="light"] .login__brand { color: var(--green); }
.login__title {
  margin: 4px 0 0;
  text-align: center;
  font-family: var(--font-fun);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  text-shadow: 4px 4px 0 var(--plum);
}
.login__hint { margin: 6px 0 6px; text-align: center; color: var(--ink-soft); }
.login__error {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 900;
  color: var(--danger);
}
.login__error.shake { animation: shake 0.35s var(--ease-out); }
@keyframes shake {
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}
.login__btn { width: 100%; justify-content: center; margin-top: 6px; }
.login__back {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-weight: 800;
  color: var(--ink-soft);
}
.login__steve,
.login__alex {
  position: absolute;
  z-index: 1;
  bottom: 88px;
  height: 230px;
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.login__steve { left: 8%; transform: scaleX(-1); }
.login__alex { right: 8%; height: 210px; }

/* =========================================================
   APP LAYOUT (vertical bar on the left)
   ========================================================= */
.app {
  display: grid;
  grid-template-columns: 268px 1fr;
  min-height: 100vh;
}
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 16px;
  background: var(--bg-2);
  border-right: 3px solid var(--line);
  overflow-y: auto;
}
.side__brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px; text-decoration: none; }
.side__brand img { image-rendering: auto; transition: transform 0.25s var(--ease-heavy); }
.side__brand:hover img { transform: rotate(-12deg) scale(1.1); }
.side__name {
  display: block;
  font-family: var(--font-block);
  font-size: 22px;
  line-height: 1;
  color: var(--mint);
  text-shadow: 2px 2px 0 var(--shadow);
}
:root[data-theme="light"] .side__name { color: var(--green); }
.side__sub { display: block; font-size: 13px; font-weight: 900; color: var(--ink-soft); }

.side__nav { display: flex; flex-direction: column; gap: 8px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  color: var(--ink-soft);
  background: transparent;
  border: 3px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--ease-heavy), background-color 0.15s, color 0.15s;
}
.nav-item img { width: 28px; height: 28px; flex-shrink: 0; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.4)); transition: transform 0.2s var(--ease-heavy); }
.nav-item:hover { color: var(--ink); background: color-mix(in srgb, var(--green) 14%, transparent); transform: translateX(3px); }
.nav-item:hover img { transform: rotate(-10deg) scale(1.12); }
.nav-item.active {
  color: var(--ink);
  background: var(--card);
  border-color: var(--line);
  box-shadow: 4px 4px 0 var(--green);
  transform: translateX(2px);
}
.nav-item__badge {
  margin-left: auto;
  min-width: 22px;
  padding: 0 6px;
  font-size: 12px;
  text-align: center;
  color: #06140c;
  background: var(--warn);
  border: 2px solid var(--line);
  border-radius: 99px;
}

.side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.side__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--card); border: 3px solid var(--line); border-radius: 14px; }
.me img { width: 36px; height: 36px; border-radius: 8px; border: 2px solid var(--line); }
.me__name { font-weight: 900; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main { min-width: 0; padding: 26px 32px 60px; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.topbar__title {
  margin: 0;
  font-family: var(--font-fun);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  text-shadow: 4px 4px 0 var(--plum);
}
.topbar__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.view { animation: view-in 0.3s var(--ease-heavy); }
@keyframes view-in { from { opacity: 0; transform: translateY(12px); } }

.panel {
  padding: 20px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--shadow);
}
.panel + .panel { margin-top: 18px; }
.panel__title { margin: 0 0 4px; font-size: 20px; font-weight: 900; }
.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 800;
}
.empty img { width: 56px; height: 56px; margin: 0 auto 10px; }
.note {
  padding: 12px 14px;
  font-weight: 800;
  color: var(--ink-soft);
  background: var(--card-2);
  border: 3px dashed color-mix(in srgb, var(--ink-soft) 40%, transparent);
  border-radius: 14px;
}

/* =========================================================
   NOTICEBOARD
   ========================================================= */
.notices { display: grid; gap: 14px; }
.notice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform 0.15s var(--ease-heavy), box-shadow 0.15s;
}
.notice.is-live { box-shadow: 4px 4px 0 var(--green); }
.notice__title { margin: 0; font-size: 20px; font-weight: 900; overflow-wrap: anywhere; }
.notice__meta { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.notice__body { margin: 10px 0 0; color: var(--ink-soft); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.notice__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* Simple on/off switch */
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 14px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track {
  position: relative;
  width: 48px;
  height: 28px;
  background: var(--card-2);
  border: 3px solid var(--line);
  border-radius: 99px;
  transition: background-color 0.2s;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--ink-soft);
  border: 2px solid var(--line);
  border-radius: 50%;
  transition: transform 0.25s var(--ease-heavy), background-color 0.2s;
}
.switch input:checked + .switch__track { background: var(--green); }
.switch input:checked + .switch__track::after { transform: translateX(20px); background: #fff; }
.switch input:focus-visible + .switch__track { outline: 3px dashed var(--green); outline-offset: 3px; }
.switch input:disabled + .switch__track { opacity: 0.45; cursor: not-allowed; }

.notice-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.nb-preview { pointer-events: none; }
.nb-preview .nb { transform: none; max-height: none; box-shadow: 6px 6px 0 var(--green); }

/* =========================================================
   SITE EDITOR
   ========================================================= */
.editor-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--shadow);
}
.editor-bar__sel { flex: 1; min-width: 200px; font-weight: 800; color: var(--ink-soft); }
.editor-bar__sel b { color: var(--ink); }
.pending-count {
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 900;
  color: #2a1a00;
  background: var(--warn);
  border: 2px solid var(--line);
  border-radius: 99px;
}
.seg { display: inline-flex; border: 3px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 3px 3px 0 var(--shadow); }
.seg button {
  padding: 6px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink-soft);
  background: var(--card-2);
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.seg button + button { border-left: 3px solid var(--line); }
.seg button.on { color: #06140c; background: var(--mint); }

.frame-wrap {
  display: flex;
  justify-content: center;
  padding: 14px;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--ink-soft) 6%, transparent) 12px 24px),
    var(--bg-2);
  border: 3px solid var(--line);
  border-radius: 20px;
}
.frame-wrap iframe {
  width: 100%;
  height: 76vh;
  background: var(--bg);
  border: 3px solid var(--line);
  border-radius: 12px;
  transition: width 0.35s var(--ease-heavy);
}
.frame-wrap.phone iframe { width: 390px; max-width: 100%; }
.editor-help { margin: 0 0 14px; }
.edits-table { margin-top: 18px; }

/* =========================================================
   TABLES
   ========================================================= */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-soft);
  border-bottom: 3px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 10px 12px; border-bottom: 2px solid color-mix(in srgb, var(--ink-soft) 18%, transparent); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table th.num { text-align: right; }
.code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; }

/* =========================================================
   STATISTICS
   ========================================================= */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.kpi {
  padding: 16px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--shadow);
}
.kpi__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 900; color: var(--ink-soft); }
.kpi__label img { width: 22px; height: 22px; }
.kpi__num { margin-top: 6px; font-size: 38px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__sub { margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }

.charts { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.chart-card { padding: 16px 16px 10px; background: var(--card); border: 3px solid var(--line); border-radius: 18px; box-shadow: 4px 4px 0 var(--shadow); }
.chart-card h3 { margin: 0; font-size: 16px; font-weight: 900; }
.chart-card .chart-sub { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.chart { position: relative; margin-top: 8px; }
.chart svg { display: block; width: 100%; height: 170px; overflow: visible; }
.chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.chart .axis-text { fill: var(--ink-soft); font-size: 11px; font-weight: 700; font-family: var(--font-body); }
.chart .end-text { fill: var(--ink); font-size: 12px; font-weight: 900; font-family: var(--font-body); }
.chart .line { fill: none; stroke: var(--chart-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--chart-line); opacity: 0.12; }
.chart .dot { fill: var(--chart-line); stroke: var(--card); stroke-width: 2; }
.chart .cross { stroke: var(--ink-soft); stroke-width: 1; }
.chart-tip {
  position: absolute;
  top: 0;
  z-index: 3;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--ink);
  background: var(--card-2);
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--shadow);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
}
.chart-tip b { font-size: 16px; }
.chart:hover .chart-tip.on { opacity: 1; }

/* =========================================================
   TEAM
   ========================================================= */
.members { display: grid; gap: 10px; }
.member {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  text-align: left;
  color: var(--ink);
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform 0.15s var(--ease-heavy), box-shadow 0.15s;
}
button.member { cursor: pointer; }
button.member:hover { transform: translate(-2px, -3px); box-shadow: 6px 7px 0 var(--green); }
.member img { width: 44px; height: 44px; border-radius: 10px; border: 3px solid var(--line); }
.member__name { font-size: 17px; font-weight: 900; }
.member__sub { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.member__right { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; align-items: center; }
.member.is-disabled { opacity: 0.6; }

.perm-group { margin-top: 16px; }
.perm-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.perm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 2px solid color-mix(in srgb, var(--ink-soft) 14%, transparent);
}
.perm-row:last-child { border-bottom: 0; }
.perm-row__label { font-weight: 800; }
.perm-row__code { display: block; font-size: 12px; color: var(--ink-soft); }
.perm-row__now { font-size: 12px; font-weight: 900; }
.perm-row__now.on { color: var(--green); }
.perm-row__now.off { color: var(--danger); }

/* Three-way permission control: Off / Role default / On */
.tri { display: inline-flex; flex-shrink: 0; border: 3px solid var(--line); border-radius: 10px; overflow: hidden; }
.tri button {
  width: 40px;
  height: 30px;
  font: inherit;
  font-weight: 900;
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--card-2);
  border: 0;
  cursor: pointer;
  transition: background-color 0.12s, color 0.12s;
}
.tri button + button { border-left: 3px solid var(--line); }
.tri button.on[data-v="deny"] { background: var(--danger); color: #fff; }
.tri button.on[data-v="inherit"] { background: var(--ink-soft); color: var(--card); }
.tri button.on[data-v="allow"] { background: var(--green); color: #06140c; }
.tri button:disabled { cursor: not-allowed; opacity: 0.5; }

.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }

/* =========================================================
   ACTIVITY LOG
   ========================================================= */
.log-who { font-weight: 900; white-space: nowrap; }
.log-when { white-space: nowrap; color: var(--ink-soft); font-size: 13px; font-weight: 800; }

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 3, 9, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fade-in 0.18s var(--ease-out);
}
@keyframes fade-in { from { opacity: 0; } }
.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--green);
  animation: pop-in 0.35s var(--ease-heavy);
}
.modal--wide { width: min(980px, 100%); }
.modal--danger { box-shadow: 8px 8px 0 var(--danger); }
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(0.94); } }
.modal__title { margin: 0; font-family: var(--font-fun); font-weight: 400; font-size: 38px; line-height: 1.05; }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.modal__section { margin-top: 20px; padding-top: 16px; border-top: 3px dashed color-mix(in srgb, var(--ink-soft) 30%, transparent); }
.modal__section h3 { margin: 0; font-size: 17px; font-weight: 900; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .notice-form { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side {
    position: sticky;
    z-index: 20;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }
  .side__brand { margin-right: auto; }
  .side__sub { display: none; }
  .side__nav { order: 3; flex-basis: 100%; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .nav-item { flex-shrink: 0; padding: 6px 10px; font-size: 14px; }
  .nav-item:hover { transform: none; }
  .side__foot { margin-top: 0; flex-direction: row; align-items: center; }
  .me { display: none; }
  .main { padding: 18px 16px 50px; }
  .login__steve, .login__alex { display: none; }
  .notice { grid-template-columns: 1fr; }
  .notice__side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .charts { grid-template-columns: 1fr; }
  .member { grid-template-columns: auto 1fr; }
  .member__right { grid-column: 1 / -1; justify-content: flex-start; }
}
