@font-face {
  font-family: "Baloo 2";
  src: url("./fonts/baloo-2-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("./fonts/baloo-2-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("./fonts/baloo-2-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #fff2f8;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-alt: #fdeaf3;
  --border: rgba(214, 51, 132, 0.18);
  --border-strong: rgba(214, 51, 132, 0.38);
  --text: #5b3358;
  --text-muted: rgba(91, 51, 88, 0.58);
  --text-faint: rgba(91, 51, 88, 0.38);
  --accent: #ff6fa5;
  --accent-2: #b57edc;
  --accent-dim: rgba(255, 111, 165, 0.16);
  --accent-text: #ffffff;
  --select: #b57edc;
  --select-dim: rgba(181, 126, 220, 0.16);
  --danger: #ff6b81;
  --danger-dim: rgba(255, 107, 129, 0.14);
  --shadow: 0 8px 20px rgba(214, 51, 132, 0.16);
  --shadow-sm: 0 4px 12px rgba(214, 51, 132, 0.14);
  --radius: 18px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fff5fa 0%, #f6ecff 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, .home-title, .splash-title, .modal-title, .template-card-name, .topbar-title {
  font-family: "Baloo 2", ui-sans-serif, system-ui, sans-serif;
}
img { max-width: 100%; }
button, input, select { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

#app { min-height: 100vh; }

/* ---------- generic buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; padding: 9px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--panel-alt); color: var(--text);
  transition: transform 0.05s ease, filter 0.1s ease; white-space: nowrap;
}
.btn:active { transform: translate(1px, 1px); filter: brightness(0.95); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn-primary { background: var(--accent); color: var(--accent-text); border: none; box-shadow: var(--shadow-sm); font-weight: 800; }
.btn-outline-danger { border: 1.5px solid var(--danger); color: var(--danger); background: transparent; }
.btn-select { border: 2px solid var(--select); background: var(--select-dim); color: var(--select); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 10px; font-size: 11.5px; }

.icon-btn {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--panel-alt);
  color: var(--text-muted);
}
.icon-btn.active { border-color: var(--select); background: var(--select-dim); color: var(--select); }
.icon-btn.danger:hover, .icon-btn.danger.active { color: var(--danger); }
.icon-btn svg { pointer-events: none; }

.mini-icon {
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--text-muted); flex-shrink: 0;
}
.mini-icon.danger { color: var(--danger); }
.mini-icon.locked { color: var(--accent); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; background: var(--bg-soft); border-bottom: 1.5px solid var(--border);
  padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.topbar-center { flex: 1; display: flex; justify-content: center; min-width: 0; overflow: hidden; }
.topbar-title { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-input {
  background: var(--panel-alt); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 7px 10px; color: var(--text); font-size: 13px; font-weight: 700; outline: none; width: 170px;
}
select.select-input {
  background: var(--panel-alt); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 8px; color: var(--text); font-size: 11.5px; font-weight: 600;
}

/* ---------- home ---------- */
.home-wrap { padding: 20px 18px; max-width: 1000px; margin: 0 auto; }
.home-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.home-badge {
  width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; transform: rotate(-7deg); box-shadow: var(--shadow-sm);
}
.home-title { font-size: 19px; font-weight: 900; margin: 0; letter-spacing: -0.5px; }
.home-subtitle { font-size: 11.5px; color: var(--text-muted); margin: 0; }
.home-header-actions { margin-left: auto; display: flex; gap: 6px; }

.category-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.category-chip {
  padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; border: 1.5px solid var(--border);
  background: var(--panel-alt); color: var(--text-muted);
}
.category-chip.active { border-color: var(--select); background: var(--select-dim); color: var(--select); }

.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.new-template-btn {
  aspect-ratio: 4 / 5; border-radius: var(--radius); border: 2px dashed var(--border-strong); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--text-muted);
}
.new-template-btn span { font-size: 12.5px; font-weight: 700; }

.template-card {
  border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); background: var(--panel);
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative;
}
.template-card .badge-ratio {
  position: absolute; top: 6px; left: 6px; background: rgba(91, 51, 88, 0.68); color: #fff; font-size: 9px;
  font-weight: 700; padding: 3px 6px; border-radius: 4px;
}
.template-card .fav-btn {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 6px; border: none;
  background: rgba(91, 51, 88, 0.55); display: flex; align-items: center; justify-content: center; color: #fff;
}
.template-card .fav-btn.active { color: var(--accent); }
.template-card-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.template-card-name { font-size: 12.5px; font-weight: 800; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.template-card-meta { font-size: 10.5px; color: var(--text-faint); margin: 0; }
.template-card-actions { display: flex; gap: 6px; }
.template-card-actions .btn-primary { flex: 1; }

/* ---------- canvas / editor ---------- */
.canvas-box {
  position: relative; width: 100%; border-radius: var(--radius-sm); overflow: hidden; user-select: none;
  background: linear-gradient(135deg, #ffd6ec, #e6d4fb); container-type: inline-size; border: 1px solid var(--border);
  touch-action: none;
}
.canvas-box.has-photo { background: #2a2430; }
.canvas-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.canvas-placeholder span { font-size: 9px; letter-spacing: 1px; color: rgba(91, 51, 88, 0.42); text-align: center; padding: 0 10px; font-weight: 700; }
.canvas-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.el {
  position: absolute; touch-action: none;
}
.el.interactive { cursor: move; }
.el-logo-img { width: 30cqw; height: auto; display: block; pointer-events: none; }
.el-text { white-space: nowrap; pointer-events: none; }
.el.locked.interactive { cursor: not-allowed; }

.el-select-box { position: absolute; inset: 0; border: 2px solid var(--select); border-radius: 3px; pointer-events: none; }
.el-select-box.locked { border-color: var(--accent); border-style: dashed; }
.handle {
  position: absolute; width: 16px; height: 16px; border-radius: 4px; background: #fff; border: 2.5px solid var(--select);
  box-shadow: 1px 1px 0 rgba(91,51,88,0.35); z-index: 6; touch-action: none;
}
.handle:active { filter: brightness(1.15); }
.handle-rotate-line { position: absolute; left: 50%; top: 0; width: 2px; height: 26px; background: var(--select); transform: translate(-50%, -100%); pointer-events: none; }
.handle-rotate {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, calc(-100% - 26px)); width: 20px; height: 20px;
  border-radius: 50%; background: #fff; border: 2.5px solid var(--select); display: flex; align-items: center; justify-content: center;
  box-shadow: 1px 1px 0 rgba(91,51,88,0.35); z-index: 6; cursor: grab; touch-action: none;
}

.snap-guide { position: absolute; background: var(--select); z-index: 7; pointer-events: none; }
.snap-guide.v { top: 0; bottom: 0; width: 1px; }
.snap-guide.h { left: 0; right: 0; height: 1px; }

.safe-zone-band { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 4;
  background: repeating-linear-gradient(45deg, rgba(255,92,92,0.18), rgba(255,92,92,0.18) 6px, rgba(255,92,92,0.05) 6px, rgba(255,92,92,0.05) 12px); }
.safe-zone-label { position: absolute; left: 6px; font-size: 8.5px; font-weight: 800; color: #fff; background: rgba(255,107,129,0.85); padding: 2px 5px; border-radius: 3px; }

.editor-main { display: flex; flex-direction: column; }
.editor-canvas-col { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.editor-panel-col { width: 100%; max-width: 360px; margin: 16px auto 24px; padding: 0 18px; }
.editor-canvas-wrap { width: 100%; max-width: 340px; }
.editor-toolbar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.editor-hint { font-size: 11px; color: var(--text-faint); text-align: center; max-width: 320px; }

@media (min-width: 880px) {
  .editor-main { flex-direction: row; align-items: flex-start; gap: 26px; padding: 26px 26px 40px; max-width: 1100px; margin: 0 auto; }
  .editor-canvas-col { flex: 1; }
  .editor-panel-col { width: 320px; max-width: 320px; margin: 0; padding: 0; position: sticky; top: 74px; }
}

.panel-box { background: var(--panel); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.section-label { font-size: 10.5px; letter-spacing: 1.2px; color: var(--text-faint); margin: 0 0 8px; text-transform: uppercase; font-weight: 700; }

.layer-row {
  display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 7px; cursor: pointer;
  background: var(--panel-alt); border: 1.5px solid transparent; margin-bottom: 6px;
}
.layer-row.active { background: var(--select-dim); border-color: var(--select); }
.layer-row-name { font-size: 11.5px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; min-width: 0; }

.slider-row { margin-bottom: 12px; }
.slider-row-top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.slider-row-top span:first-child { font-size: 11px; color: var(--text-muted); }
.slider-row-top span:last-child { font-size: 11px; font-weight: 700; font-family: ui-monospace, monospace; }
input[type="range"] { width: 100%; accent-color: var(--select); }

.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 84px; }
.pos-grid button { width: 24px; height: 24px; border-radius: 5px; border: 1.5px solid var(--border); background: var(--panel-alt); display: flex; align-items: center; justify-content: center; }
.pos-grid button::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text-muted); }

.field-label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.text-input, .num-input, .select-full {
  width: 100%; background: var(--panel-alt); border: 1.5px solid var(--border); border-radius: 7px;
  padding: 7px 8px; color: var(--text); font-size: 12.5px; outline: none;
}
.color-swatches { display: flex; gap: 4px; }
.color-swatch { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--border); }
.color-swatch.active { border: 2.5px solid var(--select); }
.check-row { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-muted); margin-bottom: 10px; cursor: pointer; }
.check-row input { accent-color: var(--select); }

/* ---------- size picker ---------- */
.size-picker { position: relative; width: 100%; }
.size-picker-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--panel); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 12px; z-index: 20; max-height: 340px; overflow-y: auto; box-shadow: var(--shadow);
}
.size-option-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.size-option {
  padding: 6px 9px; border-radius: 7px; font-size: 11px; text-align: left; border: 1.5px solid var(--border);
  background: var(--panel-alt); color: var(--text); font-weight: 600;
}
.size-option.active { border-color: var(--select); background: var(--select-dim); color: var(--select); }
.size-option small { display: block; font-size: 9.5px; opacity: 0.65; font-weight: 400; }
.add-size-form { display: flex; flex-direction: column; gap: 6px; background: var(--panel-alt); padding: 10px; border-radius: 8px; border: 1px solid var(--border); }
.add-size-row { display: flex; gap: 6px; }

/* ---------- dropzone / mode toggle ---------- */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 4 / 5;
  border: 2px dashed var(--border-strong); border-radius: var(--radius); cursor: pointer; color: var(--text-muted); text-align: center; padding: 10px;
}
.dropzone.compact { aspect-ratio: auto; padding: 16px 10px; }
.dropzone span { font-size: 12.5px; font-weight: 600; margin-top: 8px; }
.dropzone input { display: none; }

.mode-toggle { display: flex; gap: 8px; margin-bottom: 18px; }
.mode-btn {
  flex: 1; padding: 10px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 800; border: 2px solid var(--border);
  background: var(--panel-alt); color: var(--text-muted);
}
.mode-btn.active { border-color: var(--select); background: var(--select-dim); color: var(--select); }

.use-wrap { max-width: 480px; margin: 0 auto; padding: 18px 16px 40px; }
.template-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.template-chip { padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1.5px solid var(--select); background: var(--select-dim); color: var(--select); display: flex; align-items: center; gap: 5px; }
.template-chip button { background: none; border: none; color: var(--select); display: flex; }
.add-template-btn { padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1.5px dashed var(--border-strong); background: transparent; color: var(--text-muted); }

.result-block { margin-bottom: 22px; }
.result-block-title { font-size: 11.5px; font-weight: 800; margin: 0 0 8px; color: var(--text-muted); }
.result-img { width: 100%; border-radius: 8px; display: block; border: 1.5px solid var(--border); }

.batch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.batch-thumb { position: relative; border-radius: 7px; overflow: hidden; border: 2px solid transparent; }
.batch-thumb.selected { border-color: var(--select); }
.batch-thumb-img-wrap { cursor: pointer; background: var(--panel-alt); }
.batch-thumb-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.batch-thumb-check {
  position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 4px; background: rgba(91, 51, 88, 0.55);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.batch-thumb-check.checked { background: var(--select); }
.batch-thumb-check.checked::after { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #ffffff; }
.batch-thumb-edit {
  position: absolute; bottom: 4px; right: 4px; width: 22px; height: 22px; border-radius: 6px; background: rgba(91, 51, 88, 0.68);
  border: none; display: flex; align-items: center; justify-content: center; color: #fff;
}
.processing-label { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--text-faint); }

.contrast-hint {
  display: flex; align-items: center; gap: 8px; background: var(--accent-dim); border: 1px solid var(--accent);
  color: var(--accent); font-size: 11px; font-weight: 700; padding: 8px 10px; border-radius: 8px; margin-bottom: 10px;
}
.contrast-hint button { margin-left: auto; background: var(--accent); color: var(--accent-text); border: none; padding: 5px 9px; border-radius: 6px; font-weight: 800; font-size: 10.5px; }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(58, 30, 54, 0.72); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 18px; }
.modal-box { background: var(--bg-soft); border-radius: var(--radius); padding: 16px; width: 100%; max-width: 340px; border: 1.5px solid var(--border); box-shadow: var(--shadow); max-height: 90vh; overflow-y: auto; }
.modal-title { font-size: 12.5px; font-weight: 800; margin: 0 0 10px; }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--panel); border: 1.5px solid var(--border-strong); color: var(--text); font-size: 12px; font-weight: 700;
  padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  animation: toast-in 0.15s ease;
}
.toast button { background: var(--select-dim); color: var(--select); border: none; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- install banner ---------- */
.install-banner {
  display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 18px 16px; box-shadow: var(--shadow-sm);
}
.install-banner p { margin: 0; font-size: 11.5px; color: var(--text-muted); flex: 1; }
.install-banner strong { color: var(--text); }

/* ---------- history screen ---------- */
.history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; padding: 4px 18px 24px; max-width: 1000px; margin: 0 auto; }
.history-card { border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--border); background: var(--panel); }
.history-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.history-card-meta { padding: 8px; font-size: 10px; color: var(--text-faint); }
.history-card-actions { display: flex; padding: 0 8px 8px; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--text-faint); font-size: 12.5px; }

/* ---------- footer ---------- */
.app-footer {
  text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2px;
  color: var(--text-faint); padding: 14px 16px 20px; border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ---------- splash screen ---------- */
.splash-screen {
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #ffd6ec 0%, #f6d9ff 50%, #e2d6fb 100%);
  transition: opacity 0.4s ease;
}
.splash-mascot {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 26px rgba(214, 51, 132, 0.3);
  margin-bottom: 18px;
  animation: splash-bounce 1.3s ease-in-out infinite;
}
.splash-eye { position: absolute; top: 34px; width: 7px; height: 7px; border-radius: 50%; background: #5b3358; }
.splash-eye-l { left: 25px; }
.splash-eye-r { left: 52px; }
.splash-blush { position: absolute; top: 44px; width: 12px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); filter: blur(0.5px); }
.splash-blush-l { left: 12px; }
.splash-blush-r { left: 60px; }
.splash-smile { position: absolute; top: 45px; left: 33px; width: 18px; height: 9px; border-bottom: 3px solid #5b3358; border-radius: 0 0 18px 18px; }
.splash-sparkle { position: absolute; color: #fff; animation: splash-twinkle 1.6s ease-in-out infinite; }
.splash-sparkle-1 { top: -10px; left: -10px; font-size: 15px; }
.splash-sparkle-2 { top: -8px; right: -12px; font-size: 12px; animation-delay: 0.3s; }
.splash-sparkle-3 { bottom: -6px; left: 50%; font-size: 11px; animation-delay: 0.6s; }
.splash-title { font-family: "Baloo 2", ui-sans-serif, sans-serif; font-weight: 700; font-size: 21px; color: var(--text); margin: 0 0 16px; letter-spacing: 0.2px; }
.splash-bar-track {
  position: relative; width: 200px; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.65);
  overflow: hidden; box-shadow: inset 0 1px 4px rgba(91, 51, 88, 0.18);
}
.splash-bar-fill { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); animation: splash-slide 1.4s ease-in-out infinite; }
.splash-bar-heart { position: absolute; top: 50%; left: -4%; font-size: 10px; color: #fff; transform: translateY(-50%); animation: splash-slide-heart 1.4s ease-in-out infinite; }
.splash-caption { font-family: "Baloo 2", ui-sans-serif, sans-serif; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin: 14px 0 0; }

@keyframes splash-bounce { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes splash-slide { 0% { left: -40%; } 50% { left: 60%; } 100% { left: -40%; } }
@keyframes splash-slide-heart { 0% { left: -4%; } 50% { left: 96%; } 100% { left: -4%; } }
@keyframes splash-twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- cute scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--panel-alt); border-radius: 999px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 999px; border: 2px solid var(--panel-alt); }
* { scrollbar-color: var(--accent) var(--panel-alt); scrollbar-width: thin; }
