/* PlusChat — тёмный мессенджер в стиле Telegram, оранжевый акцент #ff914d */
* { box-sizing: border-box; }
:root {
  --accent: #ff914d;
  --accent-soft: rgba(255, 145, 77, .14);
  --accent-text: #fff;
  --radius: 18px;
  --msg-font: 15px;
}
html[data-theme="dark"], html[data-theme="system"] {
  --bg: #0e1621; --bg-2: #17212b; --bg-3: #232e3c; --panel: #17212b;
  --text: #e8eef4; --muted: #7f91a4; --border: rgba(255,255,255,.08);
  --bubble-in: #182533; --bubble-out: #2b5278; --bubble-out-text: #fff;
  --input-bg: #0e1621; --hover: rgba(255,255,255,.06);
  --shadow: 0 8px 30px rgba(0,0,0,.45);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #ffffff; --bg-2: #f4f6f8; --bg-3: #e8ebee; --panel: #ffffff;
  --text: #111b21; --muted: #667781; --border: rgba(0,0,0,.09);
  --bubble-in: #ffffff; --bubble-out: #d9fdd3; --bubble-out-text: #111b21;
  --input-bg: #f0f2f5; --hover: rgba(0,0,0,.05);
  --shadow: 0 8px 30px rgba(0,0,0,.14);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  html[data-theme="system"] {
    --bg: #ffffff; --bg-2: #f4f6f8; --bg-3: #e8ebee; --panel: #ffffff;
    --text: #111b21; --muted: #667781; --border: rgba(0,0,0,.09);
    --bubble-in: #ffffff; --bubble-out: #d9fdd3; --bubble-out-text: #111b21;
    --input-bg: #f0f2f5; --hover: rgba(0,0,0,.05);
    --shadow: 0 8px 30px rgba(0,0,0,.14);
    color-scheme: light;
  }
}
html[data-accent="orange"] { --accent: #ff914d; --accent-soft: rgba(255,145,77,.14); }
html[data-accent="blue"]   { --accent: #2aabee; --accent-soft: rgba(42,171,238,.14); }
html[data-accent="green"]  { --accent: #4dcd5e; --accent-soft: rgba(77,205,94,.14); }
html[data-accent="purple"] { --accent: #8b5cf6; --accent-soft: rgba(139,92,246,.16); }
html[data-accent="pink"]   { --accent: #ec4899; --accent-soft: rgba(236,72,153,.14); }
html[data-accent="red"]    { --accent: #ef4444; --accent-soft: rgba(239,68,68,.14); }

html, body { height: 100%; }
body {
  margin: 0; font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; overflow: hidden;
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select {
  font: inherit; color: var(--text); background: var(--input-bg);
  border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; width: 100%; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
textarea { resize: vertical; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.field-hint { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }

/* ---------- Auth ---------- */
.auth-screen { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(600px 400px at 20% 10%, var(--accent-soft), transparent 70%), var(--bg); }
.auth-card { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 24px; padding: 32px 28px; box-shadow: var(--shadow); text-align: center; }
.auth-logo { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; background: #fff; }
.auth-title { margin: 14px 0 4px; font-size: 30px; }
.auth-sub { margin: 0 0 22px; color: var(--muted); }
.auth-tabs { display: flex; background: var(--bg-3); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.auth-tab { flex: 1; padding: 9px; border-radius: 999px; color: var(--muted); font-weight: 600; }
.auth-tab.active { background: var(--accent); color: #fff; }
.auth-form { text-align: left; }
.auth-error { color: #ff6b6b; font-size: 13px; margin: 0 0 12px; }
.auth-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }
.btn-primary { background: var(--accent); color: #fff; font-weight: 600; border-radius: 999px; padding: 11px 22px; }
.btn-primary:disabled { opacity: .55; cursor: default; }
.btn-block { width: 100%; }
.btn-ghost { border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; }
.danger { color: #ff6b6b; }

/* ---------- Main layout ---------- */
.main { display: flex; height: 100dvh; }
.sidebar { width: 360px; min-width: 300px; max-width: 42vw; border-right: 1px solid var(--border);
  background: var(--panel); display: flex; flex-direction: column; }
.sidebar-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.me-chip { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left;
  padding: 4px; border-radius: 12px; }
.me-chip:hover { background: var(--hover); }
.me-info { display: flex; flex-direction: column; min-width: 0; }
.me-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-sub { font-size: 13px; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; color: var(--muted); flex: none; }
.icon-btn:hover { background: var(--hover); color: var(--text); }
.search-wrap { position: relative; margin: 0 12px 8px; }
.search-wrap input { padding-left: 38px; border-radius: 999px; background: var(--bg-3); border-color: transparent; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.avatar { border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-md { width: 44px; height: 44px; font-size: 17px; }
.avatar-lg { width: 76px; height: 76px; font-size: 30px; }
.avatar-sm { width: 34px; height: 34px; font-size: 13px; }

.folder-chips { display: flex; gap: 6px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; }
.folder-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 6px 13px; border-radius: 999px; background: var(--bg-3); color: var(--muted); font-size: 13px; font-weight: 600; }
.chip.active { background: var(--accent); color: #fff; }

.chat-list { flex: 1; overflow-y: auto; padding-bottom: 12px; }
.chat-item { display: flex; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; align-items: flex-start; }
.chat-item:hover { background: var(--hover); }
.chat-item.active { background: var(--accent-soft); }
.chat-item-main { flex: 1; min-width: 0; }
.chat-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.chat-item-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-time { font-size: 12px; color: var(--muted); flex: none; }
.chat-item-preview { display: flex; justify-content: space-between; gap: 8px; margin-top: 2px; }
.chat-item-text { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unread-badge { flex: none; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }
.list-empty { padding: 32px 20px; text-align: center; color: var(--muted); }
.search-results { padding: 4px 8px 10px; border-bottom: 1px solid var(--border); max-height: 46%; overflow-y: auto; }
.search-results h4 { margin: 8px 8px 4px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.user-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px; border-radius: 12px; }
.user-row:hover { background: var(--hover); }
.user-row b { display: block; }
.user-row .muted { font-size: 13px; }
.verified { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  margin-left: 4px; vertical-align: -3px; flex: none; }

/* ---------- Content / welcome ---------- */
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative;
  background: var(--bg-2); }
.welcome { margin: auto; text-align: center; padding: 24px; max-width: 640px; }
.welcome-logo { width: 120px; height: 120px; border-radius: 28px; object-fit: cover; background: #fff; box-shadow: var(--shadow); }
.welcome h2 { font-size: 30px; margin: 18px 0 6px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; text-align: left; }
.quick-card { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.quick-card:hover { border-color: var(--accent); }
.quick-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.quick-card b { font-size: 15px; }
.quick-card span.muted { font-size: 13px; line-height: 1.4; }

/* ---------- Chat view ---------- */
.chat-view { display: flex; flex-direction: column; height: 100%; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  background: var(--panel); border-bottom: 1px solid var(--border); }
.back-btn { display: none; }
.chat-peer { flex: 1; min-width: 0; text-align: left; padding: 4px; border-radius: 10px; }
.chat-peer-name { font-weight: 600; display: flex; align-items: center; gap: 2px; }
.chat-status { display: block; font-size: 13px; margin-top: 1px; }
.chat-head-actions { display: flex; gap: 2px; }
.msg-search-bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--panel); border-bottom: 1px solid var(--border); }
.msg-search-bar input { flex: 1; }

.messages { flex: 1; overflow-y: auto; padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; }
/* Фоны чата */
html[data-chatbg="doodle"] .messages {
  background-color: var(--bg-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.5'%3E%3Ccircle cx='20' cy='20' r='7'/%3E%3Cpath d='M60 12l3 7 7 3-7 3-3 7-3-7-7-3 7-3z'/%3E%3Ccircle cx='100' cy='90' r='9'/%3E%3Cpath d='M15 80q8-8 16 0t16 0'/%3E%3Crect x='78' y='28' width='14' height='14' rx='3'/%3E%3Cpath d='M45 95l5 5-5 5-5-5z'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-theme="light"][data-chatbg="doodle"] .messages {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.05' stroke-width='1.5'%3E%3Ccircle cx='20' cy='20' r='7'/%3E%3Cpath d='M60 12l3 7 7 3-7 3-3 7-3-7-7-3 7-3z'/%3E%3Ccircle cx='100' cy='90' r='9'/%3E%3Cpath d='M15 80q8-8 16 0t16 0'/%3E%3Crect x='78' y='28' width='14' height='14' rx='3'/%3E%3Cpath d='M45 95l5 5-5 5-5-5z'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-chatbg="solid"] .messages { background: var(--bg-2); }
html[data-chatbg="gradient-1"] .messages { background: linear-gradient(160deg, #1b2a4a, #0e1621 70%); }
html[data-chatbg="gradient-2"] .messages { background: linear-gradient(160deg, #3d1e1e, #17212b 70%); }
html[data-chatbg="gradient-3"] .messages { background: linear-gradient(160deg, #123f2e, #0e1621 70%); }
html[data-chatbg="gradient-4"] .messages { background: linear-gradient(160deg, #4a2b5c, #17212b 70%); }
html[data-theme="light"][data-chatbg^="gradient"] .messages { background: linear-gradient(160deg, #ffe3d1, #f4f6f8 70%); }

.msg-date { align-self: center; background: var(--bg-3); color: var(--muted); font-size: 12px;
  padding: 5px 12px; border-radius: 999px; margin: 10px 0; }
.msg { display: flex; max-width: 72%; }
.msg.out { align-self: flex-end; justify-content: flex-end; }
.msg.in { align-self: flex-start; }
.msg-bubble { background: var(--bubble-in); border-radius: 16px; padding: 8px 12px 6px; font-size: var(--msg-font);
  line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.25); overflow-wrap: anywhere; white-space: pre-wrap; }
.msg.out .msg-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
html[data-theme="light"] .msg.out .msg-bubble { background: var(--accent); color: #fff; }
.msg.in .msg-bubble { border-bottom-left-radius: 6px; }
.msg-meta { display: inline-flex; gap: 4px; float: right; margin: 8px 0 0 10px; font-size: 11px; opacity: .75; }
.msg mark { background: #ffd54d; color: #111; border-radius: 3px; padding: 0 2px; }
.msg-author { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.ticks { font-size: 13px; letter-spacing: -2px; }
.ticks.read { color: #5eb2f2; }
.msg.out .ticks.read { color: #cfeaff; }
.msg-empty { margin: auto; text-align: center; color: var(--muted); }

.official-note { padding: 10px 16px; background: var(--accent-soft); color: var(--text); font-size: 13px;
  border-top: 1px solid var(--border); text-align: center; }
.composer { display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px 14px; background: var(--panel); }
.composer-pill { flex: 1; display: flex; align-items: flex-end; gap: 4px; background: var(--input-bg);
  border: 1px solid var(--border); border-radius: 24px; padding: 6px 6px 6px 14px; }
.composer-pill textarea { border: 0; background: transparent; padding: 8px 0; max-height: 140px; }
.composer-pill:focus-within { border-color: var(--accent); }
.send-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: none; }
.send-btn:disabled { opacity: .5; }
.emoji-panel { position: absolute; right: 16px; bottom: 84px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); padding: 12px; width: 300px; max-width: calc(100vw - 32px); z-index: 30; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; margin-bottom: 10px; }
.emoji-grid button { font-size: 22px; padding: 4px; border-radius: 8px; }
.emoji-grid button:hover { background: var(--hover); }
.sticker-row { display: flex; gap: 6px; flex-wrap: wrap; }
.sticker-chip { background: var(--bg-3); border-radius: 999px; padding: 6px 10px; font-size: 13px; }
.composer.disabled { opacity: .55; pointer-events: none; }

/* ---------- Bottom nav ---------- */
.bottom-nav { display: none; }

/* ---------- Overlays ---------- */
.overlay-view { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center;
  justify-content: center; padding: 18px; z-index: 50; }
.overlay-card { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; width: 100%;
  max-width: 560px; max-height: 88dvh; overflow-y: auto; padding: 20px; box-shadow: var(--shadow); }
.overlay-card.wide, .settings-card { max-width: 860px; }
.overlay-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.overlay-head h3 { margin: 0; font-size: 20px; }
.settings-layout { display: flex; gap: 18px; align-items: flex-start; }
.settings-menu { width: 220px; flex: none; display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 0; }
.settings-menu button { text-align: left; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.settings-menu button:hover { background: var(--hover); }
.settings-menu button.active { background: var(--accent-soft); color: var(--accent); }
.settings-body { flex: 1; min-width: 0; }
.settings-body h4 { margin: 4px 0 12px; font-size: 17px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 2px; border-bottom: 1px solid var(--border); }
.set-row:last-child { border-bottom: 0; }
.set-row .set-label b { display: block; font-weight: 600; }
.set-row .set-label span { font-size: 13px; color: var(--muted); }
.set-row select { width: auto; min-width: 150px; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--bg-3); border-radius: 999px; transition: .15s; pointer-events: none; }
.switch .track::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px; transition: .15s; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { left: 23px; }
.seg { display: flex; background: var(--bg-3); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--muted); }
.seg button.active { background: var(--accent); color: #fff; }
.accent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.accent-card { border: 2px solid var(--border); border-radius: 14px; padding: 10px; text-align: left; }
.accent-card.active { border-color: var(--accent); }
.accent-card .preview { height: 54px; border-radius: 9px; margin-bottom: 8px; position: relative; overflow: hidden; }
.accent-card .preview::after { content: "Привет! 👋"; position: absolute; left: 8px; bottom: 8px;
  background: rgba(255,255,255,.92); color: #111; font-size: 12px; padding: 5px 9px; border-radius: 10px 10px 10px 3px; }
.accent-card b { font-size: 13px; }
.bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bg-card { border: 2px solid var(--border); border-radius: 14px; padding: 8px; text-align: left; }
.bg-card.active { border-color: var(--accent); }
.bg-card .preview { height: 56px; border-radius: 9px; margin-bottom: 6px; }
.bg-card b { font-size: 12px; }
input[type="range"] { padding: 0; accent-color: var(--accent); }

.global-results, .user-results { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.admin-block { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.admin-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.admin-block h4 { margin: 0 0 6px; }
.admin-users { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; }
.admin-user { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.admin-user:hover { background: var(--hover); }
.admin-user .who { flex: 1; min-width: 0; }
.admin-user .who b { display: block; }
.admin-user .who span { font-size: 13px; color: var(--muted); }
.btn-small { padding: 7px 14px; font-size: 13px; border-radius: 999px; background: var(--bg-3); font-weight: 600; }
.btn-small.on { background: var(--accent); color: #fff; }
.profile-edit { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.profile-edit .avatar { align-self: center; margin-bottom: 12px; }
.profile-edit .btn-primary { margin-top: 8px; }
.profile-edit .btn-ghost { margin-top: 8px; }
.premium-hero { text-align: center; padding: 18px 10px; }
.premium-hero .big { font-size: 44px; }
.premium-list { text-align: left; margin: 16px 0; line-height: 1.9; }
.kbd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kbd-table td { padding: 9px 2px; border-bottom: 1px solid var(--border); }
.kbd-table td:last-child { text-align: right; }
kbd { background: var(--bg-3); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; font-family: inherit; font-size: 12px; }

/* ---------- Toasts / banner ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--bg-3); color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; box-shadow: var(--shadow); font-size: 14px; max-width: 90vw; }
.toast.error { background: #5c1a1a; color: #ffd7d7; border-color: #7a2a2a; }
.api-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: #7a2a2a; color: #fff;
  text-align: center; padding: 8px 12px; font-size: 13px; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .main { flex-direction: column; }
  .sidebar { width: 100%; max-width: none; border-right: 0; flex: 1; }
  .content { position: fixed; inset: 0; z-index: 40; display: none; background: var(--bg-2); }
  body.chat-open .content { display: flex; }
  body.chat-open .sidebar { visibility: hidden; }
  .back-btn { display: inline-flex; }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--panel); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
  body.chat-open .bottom-nav { display: none; }
  .nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 0 7px; font-size: 11px; color: var(--muted); position: relative; }
  .nav-item.active { color: var(--accent); }
  .nav-ico { font-size: 20px; }
  .nav-badge { position: absolute; top: 4px; right: calc(50% - 24px); background: var(--accent); color: #fff;
    font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; padding: 0 4px; }
  .sidebar { padding-bottom: 58px; }
  .settings-layout { flex-direction: column; }
  .settings-menu { width: 100%; flex-direction: row; overflow-x: auto; position: static; }
  .settings-menu button { white-space: nowrap; }
  .quick-grid { grid-template-columns: 1fr; }
  .msg { max-width: 86%; }
  .overlay-view { padding: 0; align-items: flex-end; }
  .overlay-card { max-width: none; max-height: 92dvh; border-radius: 20px 20px 0 0; }
  .auth-card { padding: 26px 20px; }
  .accent-grid, .bg-grid { grid-template-columns: repeat(2, 1fr); }
}
