/* ============================================
   DigiZay — Claymorphism (puffy 3D) theme
   ============================================ */

/* Myanmar fonts — Latin glyphs come from Nunito/Baloo 2 first in the stack,
   so only Myanmar text falls through to these */
@font-face {
  font-family: "MyanmarPangram";
  src: url("../fonts/MyanmarPangram.ttf") format("truetype");
  /* regular-only face: declaring 400 lets the browser synthesize bold
     when this font is used at heavier weights */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AekOne";
  src: url("../fonts/AekOne-Bold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Phantee";
  src: url("../fonts/Phantee-HandWritten.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #F52259;
  --primary-hover: #DC174B;
  --secondary: #8B16B5;
  --accent: #FF7417;
  --accent-blue: #3024D6;
  --heading: #071735;
  --body: #475569;
  --muted: #64748B; /* darkened from #94A3B8 for small-text contrast (AA) */
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --border: #E5EAF0;
  --success: #16A36A;
  --warning: #F59E0B;
  --error: #E53935;
}

html {
  scroll-behavior: smooth;
  /* never show a horizontal scroll indicator at page level
     (clip does not create a scroll container, so sticky still works) */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 8% -5%, rgba(245, 34, 89, 0.07), transparent 60%),
    radial-gradient(900px 500px at 95% 8%, rgba(139, 22, 181, 0.07), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(48, 36, 214, 0.05), transparent 60%);
  font-family: "Nunito", "MyanmarPangram", "AekOne", "Phantee", "Noto Sans Myanmar", "Myanmar Text", sans-serif;
  color: var(--body);
}

/* fixed-attachment backgrounds are buggy on mobile browsers (iOS Safari)
   and break compositing in emulated viewports — desktop only */
@media (min-width: 1024px) {
  body { background-attachment: fixed; }
}

body { overflow-x: clip; }
body.no-scroll { overflow: hidden; }

/* headings: AekOne (real bold Myanmar face) before MyanmarPangram */
h1, h2, h3, h4, .font-display {
  font-family: "Baloo 2", "AekOne", "MyanmarPangram", "Phantee", "Noto Sans Myanmar", "Myanmar Text", sans-serif;
  color: var(--heading);
}

/* ---------- Clay surfaces (the puffy look) ---------- */
/* outer soft drop shadow + inner bottom shade + inner top highlight = inflated */

.clay {
  background: var(--card);
  border-radius: 1.75rem;
  box-shadow:
    0 14px 30px -12px rgba(7, 23, 53, 0.14),
    0 4px 10px -4px rgba(7, 23, 53, 0.06),
    inset 0 -8px 16px rgba(7, 23, 53, 0.055),
    inset 0 8px 16px rgba(255, 255, 255, 0.95);
}

/* flat clay: soft outer shadow only, no inner top/bottom shading
   (for small cards where the inset shading reads as an artifact) */
.clay-flat {
  background: var(--card);
  border-radius: 1.75rem;
  box-shadow:
    0 14px 30px -12px rgba(7, 23, 53, 0.12),
    0 4px 10px -4px rgba(7, 23, 53, 0.05);
}

/* Edge-to-edge app bar — no card radius, sits flush with the viewport */
.app-bar {
  background: var(--card);
  border-radius: 0;
  box-shadow:
    0 8px 20px -14px rgba(7, 23, 53, 0.18),
    0 1px 0 rgba(229, 234, 240, 0.95);
}

html.tg-webapp body {
  padding-top: var(--tg-content-safe-area-inset-top, 0px);
  padding-bottom: var(--tg-content-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
}

.app-footer {
  background: var(--card);
  border-radius: 0;
  box-shadow:
    0 -8px 20px -14px rgba(7, 23, 53, 0.16),
    0 -1px 0 rgba(229, 234, 240, 0.95);
}

.clay-sm {
  background: var(--card);
  border-radius: 1.25rem;
  box-shadow:
    0 8px 18px -8px rgba(7, 23, 53, 0.14),
    inset 0 -5px 10px rgba(7, 23, 53, 0.05),
    inset 0 5px 10px rgba(255, 255, 255, 0.95);
}

.clay-inset {
  background: #EEF2F7;
  border-radius: 1.25rem;
  box-shadow:
    inset 0 4px 10px rgba(7, 23, 53, 0.09),
    inset 0 -2px 6px rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Pastel-tinted clay tiles (stats row) */
.clay-tint-pink    { background: linear-gradient(160deg, #FFEDF2, #FFE0EA); }
.clay-tint-purple  { background: linear-gradient(160deg, #F7EBFC, #F0DDF9); }
.clay-tint-orange  { background: linear-gradient(160deg, #FFF1E6, #FFE7D3); }
.clay-tint-blue    { background: linear-gradient(160deg, #ECEBFD, #E0DEFB); }
.clay-tint-green   { background: linear-gradient(160deg, #E9F9F1, #DBF4E7); }
.clay-tint-pink, .clay-tint-purple, .clay-tint-orange, .clay-tint-blue, .clay-tint-green {
  border-radius: 1.75rem;
  box-shadow:
    0 14px 28px -14px rgba(7, 23, 53, 0.16),
    inset 0 -8px 14px rgba(7, 23, 53, 0.05),
    inset 0 8px 14px rgba(255, 255, 255, 0.85);
}

/* ---------- Clay buttons ---------- */

.btn-clay {
  border-radius: 9999px;
  font-family: "Baloo 2", "AekOne", "MyanmarPangram", "Phantee", "Noto Sans Myanmar", sans-serif;
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  will-change: transform;
}
.btn-clay:active { transform: translateY(3px) scale(0.98); }

.btn-primary {
  background: linear-gradient(180deg, #F73D6E, var(--primary) 55%);
  color: #fff;
  box-shadow:
    0 10px 22px -8px rgba(245, 34, 89, 0.55),
    inset 0 -4px 8px rgba(150, 8, 50, 0.35),
    inset 0 4px 8px rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #F5336B, var(--primary-hover) 55%);
  box-shadow:
    0 12px 26px -8px rgba(220, 23, 75, 0.6),
    inset 0 -4px 8px rgba(150, 8, 50, 0.4),
    inset 0 4px 8px rgba(255, 255, 255, 0.35);
}
.btn-primary:active {
  box-shadow:
    0 4px 10px -4px rgba(220, 23, 75, 0.5),
    inset 0 -2px 4px rgba(150, 8, 50, 0.3),
    inset 0 3px 6px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: linear-gradient(180deg, #A93AD1, var(--secondary) 55%);
  color: #fff;
  box-shadow:
    0 10px 22px -8px rgba(139, 22, 181, 0.5),
    inset 0 -4px 8px rgba(80, 5, 110, 0.35),
    inset 0 4px 8px rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover { filter: brightness(1.06); }

.btn-ghost {
  background: var(--card);
  color: var(--heading);
  box-shadow:
    0 8px 18px -8px rgba(7, 23, 53, 0.18),
    inset 0 -4px 8px rgba(7, 23, 53, 0.06),
    inset 0 4px 8px rgba(255, 255, 255, 0.95);
}
.btn-ghost:hover { color: var(--primary); }

/* ---------- Category pills ---------- */

.cat-pill {
  border-radius: 9999px;
  background: var(--card);
  color: var(--heading);
  font-family: "Baloo 2", "AekOne", "MyanmarPangram", "Phantee", "Noto Sans Myanmar", sans-serif;
  font-weight: 700;
  box-shadow:
    0 8px 16px -8px rgba(7, 23, 53, 0.16),
    inset 0 -4px 8px rgba(7, 23, 53, 0.05),
    inset 0 4px 8px rgba(255, 255, 255, 0.95);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cat-pill:hover { transform: translateY(-2px); }
.cat-pill:active { transform: translateY(2px); }
.cat-pill.active {
  background: linear-gradient(180deg, #FF4D7C, var(--primary) 55%);
  color: #fff;
  box-shadow:
    0 10px 22px -8px rgba(245, 34, 89, 0.55),
    inset 0 -4px 8px rgba(150, 8, 50, 0.35),
    inset 0 4px 8px rgba(255, 255, 255, 0.4);
}

/* ---------- Product cards ---------- */

.product-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 40px -14px rgba(7, 23, 53, 0.2),
    0 6px 14px -6px rgba(7, 23, 53, 0.08),
    inset 0 -8px 16px rgba(7, 23, 53, 0.055),
    inset 0 8px 16px rgba(255, 255, 255, 0.95);
}

.icon-tile {
  border-radius: 1.4rem;
  box-shadow:
    0 10px 20px -8px rgba(7, 23, 53, 0.28),
    inset 0 -5px 10px rgba(0, 0, 0, 0.22),
    inset 0 5px 10px rgba(255, 255, 255, 0.45);
}

.badge-clay {
  border-radius: 9999px;
  font-family: "Baloo 2", "AekOne", "MyanmarPangram", "Phantee", "Noto Sans Myanmar", sans-serif;
  font-weight: 700;
  box-shadow:
    0 5px 12px -4px rgba(7, 23, 53, 0.25),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* ---------- Floating blobs in hero ---------- */

.float-blob { animation: floaty 5s ease-in-out infinite; }
.float-blob-delay { animation: floaty 5s ease-in-out 1.6s infinite; }
.float-blob-delay2 { animation: floaty 5s ease-in-out 3.1s infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

/* ---------- Cart drawer & toast ---------- */

#cart-drawer { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
#cart-drawer.closed { transform: translateX(110%); visibility: hidden; }

/* ---------- Bottom sheet (mobile) / centered modal (desktop) ---------- */

#sheet {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: min(86dvh, 720px);
  overflow-y: auto;
}
#sheet.closed { transform: translateY(110%); visibility: hidden; }

/* desktop: centered popup modal with a scale + fade animation.
   .sheet-modal uses the same layout on every breakpoint (login / register). */
@media (min-width: 640px) {
  #sheet {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 92vw;
    max-width: 30rem;
    border-radius: 2rem;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.24s ease;
  }
  #sheet.closed {
    transform: translate(-50%, -46%) scale(0.96);
    opacity: 0;
    visibility: hidden;
  }
}

#sheet.sheet-modal {
  inset: auto;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: calc(100vw - 2rem);
  max-width: 30rem;
  border-radius: 2rem;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
}
#sheet.sheet-modal.closed {
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  visibility: hidden;
}
#sheet.sheet-modal .sheet-handle { display: none; }

.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 9999px;
  background: #D6DEE8;
  margin: 0 auto;
}

#toast {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
#toast.hidden-toast { transform: translateY(24px); opacity: 0; pointer-events: none; }

/* ---------- Search input ---------- */

.search-clay {
  background: #EEF2F7;
  border-radius: 9999px;
  box-shadow:
    inset 0 4px 10px rgba(7, 23, 53, 0.08),
    inset 0 -2px 6px rgba(255, 255, 255, 0.9);
}
.search-clay:focus-within {
  box-shadow:
    inset 0 4px 10px rgba(7, 23, 53, 0.08),
    inset 0 -2px 6px rgba(255, 255, 255, 0.9),
    0 0 0 3px rgba(245, 34, 89, 0.25);
}
.search-clay input { background: transparent; outline: none; }

/* ---------- Section fade-in ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.shown { opacity: 1; transform: translateY(0); }

/* ---------- Admin shell (1xKey-style sidebar + topbar) ---------- */

.admin-shell {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.admin-side {
  display: flex;
  flex-direction: column;
  width: 14.5rem;
  flex-shrink: 0;
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.1rem 0.9rem;
  box-shadow:
    0 14px 30px -12px rgba(7, 23, 53, 0.12),
    0 4px 10px -4px rgba(7, 23, 53, 0.05);
  position: sticky;
  top: 1.5rem; /* the storefront header is hidden on /admin */
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
}

.admin-main {
  flex: 1;
  min-width: 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border-radius: 0.9rem;
  padding: 0.6rem 0.9rem;
  font-family: "Baloo 2", "AekOne", "MyanmarPangram", "Noto Sans Myanmar", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--body);
  text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
}
.admin-nav-item:hover { background: #F1F5F9; color: var(--heading); }
.admin-nav-item.active {
  background: linear-gradient(180deg, #F73D6E, var(--primary) 55%);
  color: #fff;
  box-shadow:
    0 8px 18px -8px rgba(245, 34, 89, 0.5),
    inset 0 -3px 6px rgba(150, 8, 50, 0.3),
    inset 0 3px 6px rgba(255, 255, 255, 0.35);
}

#admin-scrim { display: none; }

@media (max-width: 767px) {
  .admin-side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    z-index: 70;
    border-radius: 0 1.5rem 1.5rem 0;
    max-height: none;
    transform: translateX(-110%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .admin-side.open { transform: none; }
  #admin-scrim.show {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(7, 23, 53, 0.35);
    backdrop-filter: blur(2px);
  }
}

/* ---------- Hidden scrollbar (mobile category swipe row) ---------- */

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar { display: none; }

/* mobile: category pills are flat — no clay shadow */
@media (max-width: 639px) {
  #cat-pills .cat-pill,
  #cat-pills .cat-pill.active {
    box-shadow: none;
  }
}

/* mobile swipe row: fade clipped pills at the edges instead of a hard cut.
   .fade-l / .fade-r are toggled from JS based on the scroll position */
@media (max-width: 639px) {
  #cat-pills.fade-r {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  #cat-pills.fade-l {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 100%);
  }
  #cat-pills.fade-l.fade-r {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  }
}

.inbox-thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: min(62vh, 560px);
  overflow-y: auto;
  padding: 0.35rem 0.15rem;
}
.inbox-msg {
  max-width: 86%;
  border-radius: 1rem;
  padding: 0.65rem 0.85rem;
}
.inbox-msg.user {
  align-self: flex-start;
  background: #F1F5F9;
}
.inbox-msg.model {
  align-self: flex-start;
  background: #EEF2FF;
}
.inbox-msg.admin {
  align-self: flex-end;
  background: #FFE4EC;
}
.inbox-msg-role {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.inbox-msg-text {
  margin-top: 0.2rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading);
}
.inbox-msg-time {
  margin-top: 0.3rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.inbox-media-link {
  display: block;
  margin: 0.4rem 0;
}
.inbox-media {
  display: block;
  max-width: min(240px, 100%);
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  background: #fff;
}
.inbox-media-fallback,
.inbox-doc {
  display: inline-block;
  margin-top: 0.35rem;
  border-radius: 0.65rem;
  background: #fff;
  padding: 0.35rem 0.65rem;
  font-size: 12px;
  font-weight: 800;
  color: var(--heading);
}
.inbox-msg.has-kb {
  max-width: min(420px, 100%);
}
.inbox-kb {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.55rem;
}
.inbox-kb-row {
  display: flex;
  gap: 0.35rem;
}
.inbox-kb-btn {
  flex: 1;
  min-width: 0;
  border-radius: 0.65rem;
  background: #fff;
  border: 1px solid #D7DEEA;
  padding: 0.45rem 0.6rem;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  color: var(--heading);
  word-break: break-word;
}

/* ---------- Profile ---------- */
.profile-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  padding: 1.4rem 1.35rem 1.5rem;
  color: #fff;
  background:
    radial-gradient(520px 240px at 95% -10%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(155deg, #F52259 0%, #8B16B5 58%, #3024D6 120%);
  box-shadow:
    0 18px 36px -16px rgba(139, 22, 181, 0.45),
    inset 0 -8px 16px rgba(7, 23, 53, 0.12),
    inset 0 8px 16px rgba(255, 255, 255, 0.18);
}
.profile-hero .profile-hero-muted { color: rgba(255, 255, 255, 0.78); }
.profile-hero .profile-hero-name { color: #fff; }
.profile-balance { letter-spacing: -0.03em; }
.profile-hero-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.profile-hero-btn:hover { color: #fff; filter: brightness(1.08); }
.profile-avatar {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.profile-stats .profile-stat {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.profile-stat-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #94a3b8);
  animation: profile-stat-pop 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .profile-stat-label { animation: none; }
}
.profile-stat-value {
  margin-top: 0.35rem;
  font-family: "Baloo 2", "Noto Sans Myanmar", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--heading, #071735);
  line-height: 1.25;
}
.profile-stat-balance { background: linear-gradient(180deg, #fff5f8 0%, #fff 100%); }
.profile-stat-deposit { background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%); }
.profile-stat-spent { background: linear-gradient(180deg, #fff7ed 0%, #fff 100%); }
.profile-stat-date { background: linear-gradient(180deg, #eef2ff 0%, #fff 100%); }
.profile-stat-now { background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%); }
.profile-stat-orders { background: linear-gradient(180deg, #ecfeff 0%, #fff 100%); }

@media (max-width: 420px) {
  .profile-stats {
    grid-template-columns: 1fr;
  }
  .profile-stat-spent,
  .profile-stat-orders {
    grid-column: span 1;
  }
  .profile-stat {
    min-width: 0;
  }
  .profile-stat-value {
    font-size: 1rem;
    word-break: break-word;
  }
}

@keyframes profile-stat-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.docs-code {
  position: relative;
  background: #0B2149;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  overflow-x: auto;
}
.docs-code pre {
  margin: 0;
  white-space: pre;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #E8EEF7;
}
.docs-copy {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
}
.docs-copy:hover { background: rgba(255, 255, 255, 0.2); }
.docs-verb {
  display: inline-block;
  min-width: 3.1rem;
  border-radius: 0.4rem;
  padding: 0.12rem 0.45rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.docs-get { background: #DBF4E7; color: #0F7A48; }
.docs-post { background: #FFE0EA; color: #C2185B; }
.docs-ep {
  border-top: 1px solid var(--border);
  padding: 1.15rem 0 0;
  margin-top: 1.15rem;
}
.docs-ep:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

.boot-skel { display: none; }
.skel {
  background: linear-gradient(90deg, #E4EAF2 0%, #F4F7FB 42%, #E4EAF2 84%);
  background-size: 220% 100%;
  animation: skel-wave 1.15s ease-in-out infinite;
  border-radius: 0.7rem;
}
.profile-hero .skel {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.36) 42%, rgba(255, 255, 255, 0.16) 84%);
  background-size: 220% 100%;
}
@keyframes skel-wave {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---------- Scrollbar (subtle) ---------- */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D6DEE8; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #C2CDDB; }

/* iOS/Android auto-zoom on focus fires when a field's font-size is under 16px.
   Always 16px (not only a mobile media query) so landscape / desktop-mode
   Safari cannot skip it. index.html also inlines this in case CSS is cached. */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
select,
textarea {
  font-size: 16px !important;
}
