:root {
  --bg: #0c0c0f;
  --card: #16161c;
  --card2: #1d1d25;
  --card3: #24242e;
  --border: #2a2a35;
  --border2: #353542;
  --text: #ececf1;
  --muted: #8a8a99;
  --accent: #7c5cff;
  --accent2: #b06bff;
  --accent-hover: #8b6dff;
  --accent-glow: rgba(124, 92, 255, .35);
  --error: #ff6b6b;
  --warn: #ffb84d;
  --ok: #3ecf8e;
  --radius: 14px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-back: cubic-bezier(.34, 1.45, .6, 1);
  --shadow: 0 8px 26px rgba(0, 0, 0, .4);
  --shadow-glow: 0 10px 34px -8px var(--accent-glow);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* the hidden attribute must always win over display:flex etc. */
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
  min-height: 100vh; position: relative; overflow-x: hidden;
}
/* ambient glow */
body::before, body::after {
  content: ""; position: fixed; pointer-events: none; z-index: 0;
  width: 60vw; height: 60vw; border-radius: 50%; filter: blur(90px); opacity: .14;
}
body::before { background: var(--accent); top: -22vw; left: -14vw; }
body::after { background: var(--accent2); bottom: -26vw; right: -16vw; opacity: .10; }

.view { max-width: 720px; margin: 0 auto; padding: 24px 16px 90px; position: relative; z-index: 1; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 18px;
  animation: fadeUp .5s var(--ease) both;
}
h1 { font-size: 24px; margin: 0 0 4px; letter-spacing: -.01em; }
h2 { font-size: 17px; margin: 0 0 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
h3 { font-size: 14px; margin: 20px 0 9px; font-weight: 600; color: var(--text); }
.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--muted); margin: 0 0 20px; }
.hint { color: var(--muted); font-weight: 400; font-size: 12px; }
.step {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
}

/* Login */
.login-card { max-width: 380px; margin: 12vh auto 0; box-shadow: var(--shadow-glow); animation: popIn .55s var(--ease-back) both; }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
input[type="text"], input[type="password"] {
  background: var(--card2); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 11px 13px; font-size: 15px; outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: #20202a; }

button {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; border-radius: 10px;
  padding: 12px 16px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), opacity .15s, border-color .15s, color .15s;
}
button:hover:not(:disabled) { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
button:active:not(:disabled) { transform: translateY(0) scale(.97); }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-glow); }

button.ghost { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 8px 13px; font-size: 13px; }
button.ghost:hover:not(:disabled) { background: var(--card2); color: var(--text); border-color: var(--border2); box-shadow: none; transform: translateY(-1px); }
button.copy { background: var(--card2); border: 1px solid var(--border); color: var(--text); font-size: 13px; padding: 9px 14px; display: inline-flex; align-items: center; gap: 6px; }
button.copy:hover:not(:disabled) { background: var(--card3); border-color: var(--border2); box-shadow: none; transform: translateY(-1px); }
button.copy.copied { border-color: var(--ok); color: var(--ok); background: rgba(62, 207, 142, .08); animation: pop .32s var(--ease-back); }
button.copy.failed { border-color: var(--error); color: var(--error); animation: shake .35s var(--ease); }

.error { color: var(--error); font-size: 13px; margin: 4px 0 0; animation: fadeUp .25s var(--ease); }
.warn { color: var(--warn); font-size: 13px; background: rgba(255,184,77,.08); border: 1px solid rgba(255,184,77,.25); border-radius: 8px; padding: 9px 12px; margin: 0 0 12px; animation: fadeUp .3s var(--ease); }

/* Topbar */
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; animation: fadeUp .5s var(--ease) both; }
.brand { font-size: 18px; font-weight: 700; }
.who { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
#whoami { padding: 4px 10px; background: var(--card2); border: 1px solid var(--border); border-radius: 999px; }

/* Dropzone */
.dropzone {
  border: 1.5px dashed var(--border2); border-radius: var(--radius); min-height: 210px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  text-align: center; padding: 16px; position: relative; overflow: hidden;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.dropzone:hover { border-color: var(--accent); background: var(--card2); }
.dropzone:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.dropzone.dragover { border-color: var(--accent); border-style: solid; background: rgba(124,92,255,.07); transform: scale(1.01); }
.drop-empty p { margin: 4px 0; }
.drop-empty::before {
  content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M7 8l5-5 5 5'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M7 8l5-5 5 5'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: floatY 3s var(--ease) infinite;
}
.preview { max-width: 100%; max-height: 340px; border-radius: 10px; animation: popIn .4s var(--ease-back); box-shadow: var(--shadow); }
.img-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.img-actions button { flex: 1 1 auto; min-width: 140px; }
.clean-btn { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }

/* Peptide buttons */
.peptides { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 11px; }
.peptide {
  position: relative; text-align: left; background: var(--card2);
  border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 15px 38px 15px 16px; font-weight: 600;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), opacity .25s var(--ease);
  animation: popIn .45s var(--ease-back) both; animation-delay: calc(var(--i, 0) * 50ms);
}
.peptide:hover { background: var(--card3); border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.peptide:active { transform: translateY(-1px) scale(.98); }
.peptide .pep-label { font-size: 15px; }
.peptide .pep-blurb { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.peptide::after {
  content: "\2192"; position: absolute; right: 15px; top: 50%; font-weight: 700; color: var(--accent2);
  transform: translateY(-50%) translateX(-5px); opacity: 0; transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.peptide:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.peptide.best::before {
  content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--accent); animation: bestPulse 2.6s var(--ease) infinite;
}
.peptide .badge {
  position: absolute; top: -9px; right: 14px; z-index: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em;
  box-shadow: 0 4px 12px -2px var(--accent-glow);
}
/* generating = temporary lock during a request; has-selection = a peptide has been chosen */
.peptides.generating .peptide:not(.selected) { opacity: .4; transform: scale(.98); pointer-events: none; }
.peptides.generating .peptide.selected { opacity: .85; }
.peptides.has-selection .peptide.best::before { display: none; }
.peptides.has-selection .peptide.best .badge { opacity: .4; }
.pep-hint { margin: 12px 2px 0; }
.peptide.selected { border-color: var(--accent); background: var(--card3); }
.peptide.selected::before { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--accent); animation: none; }

/* Tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 5px; animation: fadeUp .5s var(--ease) both; }
.tab {
  flex: 1; background: transparent; color: var(--muted); border: none; border-radius: 8px;
  padding: 9px 14px; font-size: 14px; font-weight: 600; box-shadow: none;
}
.tab:hover:not(.active) { background: var(--card2); color: var(--text); transform: none; box-shadow: none; }
.tab.active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }

/* History */
.note { font-size: 13px; color: var(--warn); background: rgba(255,184,77,.08); border: 1px solid rgba(255,184,77,.25); border-radius: 8px; padding: 9px 12px; margin: 0 0 16px; }
.hist-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hist-title { font-size: 15px; font-weight: 600; }
button.ghost.danger { color: var(--error); border-color: rgba(255,107,107,.3); }
button.ghost.danger:hover:not(:disabled) { background: rgba(255,107,107,.08); border-color: var(--error); color: var(--error); }
button.ghost.danger.armed { background: var(--error); color: #fff; border-color: var(--error); }
.hist-day { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 16px 2px 8px; }
.hist-day:first-child { margin-top: 0; }
.hist-list { display: flex; flex-direction: column; gap: 9px; }
.hist-row {
  text-align: left; background: var(--card); border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 13px 15px; box-shadow: none;
  animation: fadeUp .4s var(--ease) both;
}
.hist-row:hover { background: var(--card2); border-color: var(--accent); transform: translateX(3px); box-shadow: none; }
.hist-row-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 5px; }
.hist-pep { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); padding: 2px 9px; border-radius: 999px; }
.hist-when { font-size: 12px; color: var(--muted); }
.hist-hook { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-detail-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 6px; }
.hist-img { width: 96px; height: 144px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); flex-shrink: 0; }
.hist-detail-head .angle { flex: 1; margin: 0; }
#histBack { margin-bottom: 16px; }

/* Admin entry button (topbar) */
.admin-btn { color: var(--accent); border-color: rgba(124,92,255,.35); }
.admin-btn:hover:not(:disabled) { background: rgba(124,92,255,.1); border-color: var(--accent); color: var(--accent); }
.admin-btn.active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border-color: transparent; }

/* Admin nav (replaces the home tab bar in admin mode) */
.subtabs { display: flex; gap: 8px; margin-bottom: 18px; animation: fadeUp .3s var(--ease) both; }
.subtabs button {
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: none;
}
.subtabs button[data-adminview] { flex: 1; }
.subtabs button[data-adminview]:hover:not(.active) { background: var(--card2); color: var(--text); transform: none; box-shadow: none; }
.subtabs button[data-adminview].active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border-color: transparent; }
.back-btn { flex: 0 0 auto; color: var(--muted); }
.back-btn:hover:not(:disabled) { background: var(--card2); color: var(--text); border-color: var(--border2); transform: translateX(-2px); box-shadow: none; }

/* Accounts (admin) */
.acc-form { display: flex; flex-direction: column; gap: 10px; }
.acc-role-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.acc-role-label select { background: var(--card2); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 11px 13px; font-size: 14px; outline: none; }
.acc-role-label select:focus { border-color: var(--accent); }
.acc-form input { background: var(--card2); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 11px 13px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.acc-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.acc-pw-row { display: flex; gap: 8px; }
.acc-pw-row input { flex: 1; }
#accMsg { font-size: 13px; margin: 4px 0 0; padding: 9px 12px; border-radius: 8px; word-break: break-word; }
#accMsg.note { color: var(--error); background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.25); }
#accMsg.ok-note { color: var(--ok); background: rgba(62,207,142,.08); border: 1px solid rgba(62,207,142,.3); }
.acc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; }
.acc-name { font-size: 15px; font-weight: 600; }
.acc-badge { font-size: 9px; font-weight: 700; letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; margin-left: 8px; color: var(--muted); background: var(--card2); border: 1px solid var(--border); }
.acc-badge.admin { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); border: none; }
.acc-badge.created { color: var(--ok); background: rgba(62,207,142,.1); border-color: rgba(62,207,142,.3); }
.acc-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.acc-del { flex-shrink: 0; }
.acc-del.armed { background: var(--error); color: #fff; border-color: var(--error); }

/* Sessions (admin) */
.store-chip { font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.store-chip.ok { color: var(--ok); background: rgba(62,207,142,.1); border: 1px solid rgba(62,207,142,.3); }
.store-chip.bad { color: var(--error); background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.3); }
.sess-card { padding: 16px 18px; }
.sess-acc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sess-acc-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.sess-admin-badge { font-size: 9px; font-weight: 700; letter-spacing: .05em; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); padding: 2px 7px; border-radius: 999px; }
.sess-count { font-size: 12px; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--card2); border: 1px solid var(--border); }
.sess-count.on { color: var(--ok); border-color: rgba(62,207,142,.3); background: rgba(62,207,142,.08); }
.sess-device { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0 0; margin-top: 11px; border-top: 1px solid var(--border); }
.sess-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-top: 5px; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(62,207,142,.5); animation: dotPulse 2s var(--ease) infinite; }
.sess-dev-main { flex: 1; min-width: 0; }
.sess-dev { font-size: 14px; font-weight: 500; }
.sess-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(62,207,142,.45); } 50% { box-shadow: 0 0 0 5px rgba(62,207,142,0); } }

/* Results */
.angle { font-size: 13px; color: var(--muted); background: var(--card2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.hooks { display: flex; flex-direction: column; gap: 8px; }
.hook {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--card2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
  animation: fadeUp .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms);
}
.hook:hover { border-color: var(--border2); transform: translateX(2px); }
.hook span { font-size: 15px; }
.output {
  background: var(--card2); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; white-space: pre-wrap; word-wrap: break-word; font-family: inherit;
  font-size: 14px; margin: 0 0 10px; max-height: 420px; overflow-y: auto;
}
.output.small { font-size: 13px; color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.row.redo { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 16px; align-items: center; }
.primary-wide { flex: 1; min-width: 160px; }
.reveal { animation: fadeUp .5s var(--ease) both; }

/* Loading */
.loading { text-align: center; color: var(--muted); padding: 24px; animation: fadeUp .3s var(--ease); }
.spinner {
  width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 50%;
  border: 3px solid rgba(124,92,255,.18); border-top-color: var(--accent);
  animation: spin .75s linear infinite;
}
#loadingMsg { animation: breathe 1.6s var(--ease) infinite; }

/* keyframes */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.09); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes bestPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: inset 0 0 0 1px var(--accent), 0 0 24px 0 var(--accent-glow); }
}

/* ===== Photo Studio (araw only) ===== */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 4px; }
.model-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  padding: 0; overflow: hidden; cursor: pointer; text-align: center;
  background: var(--card2); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .15s var(--ease), transform .12s var(--ease), box-shadow .15s var(--ease);
}
.model-card:hover { transform: translateY(-2px); border-color: var(--border2); }
.model-card.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-glow); }
.model-thumb { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--card3); }
.model-name { padding: 7px 6px; font-size: 12.5px; font-weight: 600; color: var(--text); }

.seg { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: var(--card2); border: 1px solid var(--border); border-radius: 11px; }
.seg-btn { padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--muted); background: transparent; border: none; border-radius: 8px; cursor: pointer; transition: color .15s var(--ease), background .15s var(--ease); }
.seg-btn.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }

#photoFreeText { width: 100%; padding: 12px 14px; font-size: 14px; color: var(--text); background: var(--card2); border: 1px solid var(--border); border-radius: 10px; outline: none; transition: border-color .15s var(--ease); }
#photoFreeText:focus { border-color: var(--accent); }
#photoFree { margin-bottom: 16px; }
.scene-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.scene-chip { padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--text); background: var(--card2); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease), transform .12s var(--ease); }
.scene-chip:hover { border-color: var(--border2); transform: translateY(-1px); }
.scene-chip.selected { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; }

.photo-out { width: 100%; max-width: 460px; display: block; margin: 0 auto 4px; border-radius: 12px; border: 1px solid var(--border); }

.dropzone.small { min-height: 130px; padding: 16px; }
.model-row-left { display: flex; align-items: center; gap: 11px; }
.model-row-thumb { width: 38px; height: 50px; object-fit: cover; border-radius: 7px; border: 1px solid var(--border); background: var(--card3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
