/* ==========================================================================
   TRANG CHỦ — "Quán Mayo đất nặn" (claymation)
   Nền giấy kem, đồ vật đất nặn mềm, nút hành động mint viền đen + bóng cứng.
   Mọi class mới có tiền tố c- để không đụng class cũ (cute.css, components.css, donate-dialog.css).
   ========================================================================== */

:root {
  --c-paper: #F7F7F4;
  --c-paper-warm: #F3F1EA;
  --c-cream: #FFFDF7;
  --c-ink: #111111;
  --c-ink-soft: #3C3A36;
  --c-muted: #66635C;
  --c-mint: #A7F3D0;
  --c-mint-line: #8FD9B9;
  --c-mint-soft: #DDF8EC;
  --c-mint-deep: #6FD3A8;
  --c-butter: #FDE68A;
  --c-butter-deep: #F6D263;
  --c-sky: #CFE3F2;
  --c-sky-deep: #A9CBE6;
  --c-beige: #EADFCB;
  --c-beige-deep: #D9C7A6;
  --c-live: #E11D48;
  --c-live-glow: rgba(225, 29, 72, .45);
  --c-glass: #8E9692;
  --c-glass-dark: #5E6662;
  --c-shadow-warm: rgba(120, 96, 50, .22);
  --c-shadow-soft: rgba(80, 70, 50, .10);
  --c-floor: rgba(96, 76, 44, .26);
  --c-font: "Space Grotesk", system-ui, sans-serif;
  --c-hand: "Pangolin", "Comic Sans MS", cursive;
  --c-gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --c-gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --c-sec-pad: clamp(64px, 8vw, 112px);
}

body { background-color: var(--c-paper); color: var(--c-ink); }

.c-wrap {
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding-left: var(--c-gutter-l); padding-right: var(--c-gutter-r);
}
@media (min-width: 768px) {
  .c-wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}

.c-kicker { font-family: var(--c-hand); font-size: 1.35rem; color: var(--c-ink-soft); margin: 0 0 .35rem; }
.c-h2 { margin: 0; font-family: var(--c-font); font-size: clamp(2.4rem, 5.4vw, 4.5rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.c-butter { color: var(--c-butter-deep); }
.c-lead { margin: 1.1rem 0 0; max-width: 34ch; font-size: 1.15rem; line-height: 1.5; color: var(--c-ink-soft); }

/* ---------- Header (giữ cấu trúc cũ, đổi sang tông đất nặn) ---------- */
.site-header .goat-logo-img {
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  mix-blend-mode: multiply;
}
.site-header.scrolled { border-bottom: 0; box-shadow: 0 10px 24px -18px var(--c-shadow-warm); }
@media (min-width: 768px) {
  .site-header .desktop-nav { border: 0; background: transparent; box-shadow: none; }
  .site-header .nav-link { color: var(--c-ink); font-weight: 500; }
  .site-header .nav-link:hover { background: var(--c-mint-soft); }
  .site-header .nav-link.active { background: var(--c-ink); color: #fff; }
}
.site-header .h-nav-cta {
  border: 3px solid var(--c-ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--c-ink);
  transition: transform .12s, box-shadow .12s;
}
.site-header .h-nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--c-ink); }
.site-header .lang-switcher-container { border: 0; background: var(--c-cream); box-shadow: inset 0 2px 6px rgba(0,0,0,.07), 0 2px 0 rgba(255,255,255,.9); }
@media (max-width: 767px) { .site-header .goat-logo-img { width: 44px; height: 44px; } }

/* ---------- Nút mint ---------- */
.c-btn-mint {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 64px; padding: 0 1.6rem 0 1.25rem;
  background: var(--c-mint); color: var(--c-ink);
  border: 3px solid var(--c-ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--c-ink);
  font-family: var(--c-font); font-weight: 700; font-size: 1.22rem;
  text-decoration: none; cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.c-btn-mint:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-ink); }
.c-btn-mint:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-ink); }
.c-btn-mint:focus-visible, .c-tab:focus-visible, .c-goat-wrap:focus-visible, .c-contacts a:focus-visible, .c-dish a:focus-visible, .c-link-mint:focus-visible {
  outline: 3px solid var(--c-ink); outline-offset: 3px;
}
.c-ico-fish { width: 30px; height: 20px; flex: none; }
.c-arrow { font-size: 1.4rem; line-height: 1; margin-left: .3rem; transition: transform .15s; }
.c-btn-mint:hover .c-arrow { transform: translateX(4px); }

/* ---------- Mây trôi ---------- */
.c-cloud {
  position: absolute; pointer-events: none; z-index: 0; height: auto;
  filter: drop-shadow(0 14px 18px var(--c-shadow-soft));
  animation: cDrift 38s ease-in-out infinite alternate;
}
@keyframes cDrift { from { transform: translateX(-20px); } to { transform: translateX(26px); } }

/* ---------- Vòng vẽ tay quanh "Kháo" ---------- */
.c-ring path {
  fill: none; stroke: var(--c-mint-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: cDraw 1.8s cubic-bezier(.6, .1, .3, 1) .35s forwards;
}
@keyframes cDraw { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.c-hero { position: relative; padding: 96px 0 24px; }
.c-hero > .c-wrap { max-width: 1400px; }
.c-hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". art" "title art" "body art" ". art";
  column-gap: 1.5rem;
  min-height: min(800px, calc(100svh - 110px));
}
.c-hero-title { grid-area: title; }
.c-hero-body { grid-area: body; position: relative; z-index: 2; }
.c-hero-art { grid-area: art; align-self: center; position: relative; z-index: 1; min-width: 0; }
.c-hero-title {
  position: relative; z-index: 2; margin: 0;
  font-family: var(--c-font); font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 1.04; letter-spacing: -.05em; font-weight: 700;
}
.c-kh { position: relative; display: inline-block; color: var(--c-butter-deep); padding: 0 .12em; }
.c-kh-text { position: relative; z-index: 1; }
.c-ring { position: absolute; left: -10%; top: -6%; width: 126%; height: 120%; overflow: visible; pointer-events: none; }
.c-hero-bio { margin: 1.6rem 0 0; max-width: 31ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--c-ink-soft); }
.c-hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.c-cta-note { font-family: var(--c-hand); color: var(--c-muted); font-size: 1.05rem; }
.c-contacts { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; max-width: 560px; }
.c-contacts a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .4rem 1rem .4rem .45rem; border-radius: 999px;
  background: var(--c-cream); color: var(--c-ink); text-decoration: none; font-size: .97rem;
  box-shadow: 0 8px 16px -10px var(--c-shadow-warm), inset 0 -3px 6px rgba(0,0,0,.04), inset 0 2px 3px rgba(255,255,255,.9);
  transition: transform .15s, background .15s;
}
.c-contacts a:hover { transform: translateY(-2px); background: var(--c-mint-soft); }
.c-contacts b { font-weight: 700; }
.c-ico {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-ink); color: var(--c-cream); font-weight: 700; font-size: .95rem;
}
.c-hero .womens-banner { margin-top: 1.5rem; }

/* Cảnh đất nặn: mọi vị trí tính theo % của khung để co giãn cùng nhau */
.c-scene { position: relative; width: 100%; max-width: 780px; margin-left: auto; aspect-ratio: 1 / .86; }
.c-scene .c-cloud { width: 22%; }
.c-s-c1 { left: 4%; top: 6%; }
.c-scene .c-s-c2 { width: 15%; right: -7%; top: -7%; animation-duration: 50s; animation-delay: -18s; }

.c-prop, .c-goat-wrap { position: absolute; isolation: isolate; }
.c-prop img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(80, 70, 50, .12)); }
.c-prop::after, .c-goat-wrap::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 6%; right: 6%; bottom: -5%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c-floor), rgba(96, 76, 44, .1) 60%, transparent);
}
.c-prop { pointer-events: none; z-index: 4; }
.c-p-bucket { width: 19%; left: 8%; bottom: 13%; z-index: 3; }
.c-p-bucket img { transform: rotate(-4deg); }
.c-p-bowl { width: 23%; left: 33%; bottom: 4%; z-index: 5; }
.c-p-ctrl { width: 22%; right: 0; bottom: 9%; }
.c-p-ctrl img { transform: rotate(-9deg); }
.c-p-ctrl::after { bottom: 2%; }

.c-goat-wrap {
  width: 59%; right: 7%; top: 1%; z-index: 2;
  padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.c-goat-wrap::after { left: 8%; right: 4%; bottom: -3%; height: 13%; }
.c-goat-tilt { display: block; transform-origin: 50% 85%; will-change: transform; }
.c-goat-breathe { display: block; transform-origin: 50% 100%; animation: cBreathe 3.4s ease-in-out infinite; }
.c-scene.is-asleep .c-goat-breathe { animation-duration: 5.2s; }
@keyframes cBreathe { 50% { transform: scale(1.012, 1.022); } }
.c-goat-img {
  width: 100%; height: auto; aspect-ratio: 724 / 800; object-fit: contain; object-position: 50% 100%;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 18px rgba(80, 70, 50, .12));
  -webkit-user-drag: none; user-select: none;
}
.c-goat-img.squish { animation: cSquish .55s cubic-bezier(.3, 1.5, .5, 1); }
.c-goat-img.hop { animation: cHop .7s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes cSquish { 0% { transform: none; } 25% { transform: scale(1.07, .9); } 55% { transform: scale(.96, 1.06); } 78% { transform: scale(1.02, .985); } 100% { transform: none; } }
@keyframes cHop { 0% { transform: none; } 20% { transform: scale(1.05, .93); } 45% { transform: translateY(-5%) scale(.97, 1.04); } 70% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }

.c-ticks { position: absolute; z-index: 3; width: 7%; aspect-ratio: 1; pointer-events: none; }
.c-ticks path { stroke: var(--c-ink); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.c-t1 { left: 31%; top: 41%; }
.c-t2 { right: 3%; bottom: 31%; }

.c-bubble {
  position: absolute; z-index: 8; pointer-events: none; transform: translate(-50%, -100%);
  font-family: var(--c-hand); font-size: 1.25rem; white-space: nowrap;
  background: var(--c-cream); padding: .2rem .8rem; border-radius: 999px;
  box-shadow: 0 10px 18px -10px var(--c-shadow-warm), inset 0 -3px 5px rgba(0,0,0,.05);
  animation: cBubble 1.6s ease-out forwards;
}
.c-bubble.gold { background: var(--c-butter); }
@keyframes cBubble {
  0% { opacity: 0; transform: translate(-50%, -60%) scale(.6); }
  15% { opacity: 1; transform: translate(-50%, -100%) scale(1.05); }
  75% { opacity: 1; transform: translate(-50%, -160%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -190%) scale(.95); }
}
.c-fly-fish {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; height: auto;
  will-change: transform;
  filter: drop-shadow(0 10px 10px rgba(80, 70, 50, .2));
}

/* ---------- Section chung ---------- */
.c-sec { position: relative; padding: var(--c-sec-pad) 0 0; }
.c-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem 4rem; }
.c-row > .c-col-text { flex: 1 1 440px; min-width: 0; }
.c-row > .c-col-art { flex: 0 1 460px; min-width: 0; position: relative; margin: 0; }
.c-col-art img.c-clay { width: 100%; height: auto; filter: drop-shadow(0 26px 26px var(--c-shadow-soft)); }

/* thẻ đất nặn dùng chung */
.c-clay-card {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--c-cream) 45%, #F6F1E5 100%);
  box-shadow:
    0 22px 36px -22px var(--c-shadow-warm),
    0 3px 6px -2px rgba(120, 96, 50, .08),
    inset 0 3px 4px rgba(255,255,255,.95),
    inset 0 -7px 12px rgba(120, 96, 50, .08),
    inset 6px 0 12px rgba(255,255,255,.5);
}

/* ---------- Live ---------- */
.c-live-row { gap: 2.5rem 5rem; }
.c-live-row > .c-col-art { flex: 0 1 500px; }
.c-tv-wrap { position: relative; transform: rotate(-3deg); isolation: isolate; }
.c-tv-wrap::after {
  content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; bottom: -3%; height: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c-floor), rgba(96, 76, 44, .08) 60%, transparent);
}
.c-tv { width: 100%; height: auto; filter: drop-shadow(0 18px 18px var(--c-shadow-soft)); }
.c-tv-glass {
  /* khớp vùng màn xám đo trên tv.webp (749×800) */
  position: absolute; left: 19.8%; top: 37.9%; width: 53%; height: 42.6%;
  border-radius: 11% / 14%; overflow: hidden;
  background: radial-gradient(120% 100% at 35% 25%, #A9B1AD 0%, var(--c-glass) 55%, var(--c-glass-dark) 100%);
  box-shadow: inset 0 8px 14px rgba(255,255,255,.25), inset 0 -10px 18px rgba(0,0,0,.22);
  display: grid; place-items: center;
  transition: box-shadow .5s, background .5s;
}
.c-tv-glass::before {
  content: ""; position: absolute; left: 10%; top: 8%; width: 34%; height: 14%; border-radius: 999px;
  background: rgba(255,255,255,.35); filter: blur(3px); transform: rotate(-8deg); z-index: 2;
}
.c-tv-goat {
  grid-area: 1 / 1; position: relative; z-index: 1; height: 86%; width: auto; max-width: 90%; margin-top: 14%;
  object-fit: contain;
  filter: saturate(.55) brightness(.82) drop-shadow(0 6px 6px rgba(0,0,0,.18));
}
.c-tv-goat-on { display: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.15)); }
.c-tv-onair {
  position: absolute; z-index: 3; left: 9%; top: 9%;
  display: none; align-items: center; gap: .35rem;
  background: var(--c-live); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  padding: .15rem .6rem; border-radius: 999px;
}
.c-tv-onair i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: cBlink 1.2s steps(1) infinite; }
body.is-live .c-tv-glass {
  background: radial-gradient(110% 100% at 50% 35%, #FFF7D6 0%, var(--c-mint) 55%, #7FDDB6 100%);
  box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 0 26px 6px rgba(167, 243, 208, .95), 0 0 50px 8px var(--c-live-glow), inset 0 -10px 18px rgba(0,0,0,.08);
  animation: cGlow 2.4s ease-in-out infinite;
}
body.is-live .c-tv-goat-off { display: none; }
body.is-live .c-tv-goat-on { display: block; }
body.is-live .c-tv-onair { display: inline-flex; }
@keyframes cGlow { 50% { box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 0 34px 10px rgba(167, 243, 208, .95), 0 0 64px 14px var(--c-live-glow), inset 0 -10px 18px rgba(0,0,0,.08); } }
.c-tv-caption { display: flex; justify-content: center; margin-top: 1.6rem; }
.c-tv-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; letter-spacing: .03em;
  padding: .45rem 1.1rem; border-radius: 999px; background: var(--c-cream);
  box-shadow: 0 10px 18px -10px var(--c-shadow-warm), inset 0 -3px 6px rgba(0,0,0,.05), inset 0 2px 3px rgba(255,255,255,.9);
}
.c-tv-badge .c-d { width: 10px; height: 10px; border-radius: 50%; background: #B9B5AC; }
body.is-live .c-tv-badge .c-d { background: var(--c-live); animation: cBlink 1.2s steps(1) infinite; }
.c-on-only { display: none; }
body.is-live .c-on-only { display: inline; }
body.is-live .c-off-only { display: none; }

/* Thẻ máy tính (pc-presence.js vẽ .h-pc vào #pc-presence-card-root) */
.c-pc-root { margin-top: 2rem; min-height: 90px; }
.c-pc-root .h-pc {
  display: inline-flex; align-items: center; gap: 1rem; max-width: 100%;
  padding: 1rem 1.6rem 1rem 1rem; border-radius: 32px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--c-cream) 45%, #F6F1E5 100%);
  box-shadow: 0 22px 36px -22px var(--c-shadow-warm), 0 3px 6px -2px rgba(120, 96, 50, .08), inset 0 3px 4px rgba(255,255,255,.95), inset 0 -7px 12px rgba(120, 96, 50, .08);
}
.c-pc-root .h-pc-ico {
  width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; flex: none;
  background: radial-gradient(120% 120% at 30% 20%, #F1F8FE 0%, var(--c-sky) 50%, var(--c-sky-deep) 100%);
  box-shadow: inset 0 3px 4px rgba(255,255,255,.8), inset 0 -5px 8px rgba(60, 90, 120, .15), 0 8px 14px -8px rgba(60, 90, 120, .35);
}
.c-pc-root .h-pc-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--c-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-pc-root .h-pc-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.c-pc-root .h-pc-label { display: flex; align-items: center; gap: .45rem; font-size: .95rem; color: var(--c-muted); }
.c-pc-root .h-pc-dot { width: 9px; height: 9px; border-radius: 50%; background: #B9B5AC; flex: none; }
.c-pc-root .h-pc.is-on .h-pc-dot { background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.c-pc-root .h-pc.is-idle .h-pc-dot { background: var(--c-butter-deep); }
.c-pc-root .h-pc-title { display: block; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.c-pc-root .h-pc-sub { font-size: .95rem; color: var(--c-muted); }

.c-screen { margin-top: 1.25rem; border-radius: 32px; overflow: hidden; max-width: 580px; }
.c-screen-main { padding: 1.5rem 1.6rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.c-screen-main b { font-size: 1.6rem; letter-spacing: -.03em; }
.c-screen-main p { margin: .2rem 0 0; color: var(--c-muted); }
.c-screen-on { display: none; }
.c-screen[data-state="live"] .c-screen-on { display: flex; }
.c-screen[data-state="live"] .c-screen-off { display: none; }
.c-badge-live {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--c-live); color: #fff; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums;
  padding: .35rem .85rem; border-radius: 999px;
}
.c-badge-live i { font-style: normal; animation: cBlink 1.2s steps(1) infinite; }
.c-watch {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; min-height: 44px;
  font-weight: 700; text-decoration: none; color: var(--c-ink); padding: .55rem 1.1rem; border-radius: 999px; background: var(--c-mint);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.7), inset 0 -4px 6px rgba(40, 120, 90, .15);
}
.c-screen-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem;
  padding: 1rem 1.6rem; background: rgba(234, 223, 203, .35); font-size: .97rem;
}
.c-screen-bar a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-mint-line); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- Thực đơn web ---------- */
.c-menu-row { align-items: flex-start; }
.c-menu-art { isolation: isolate; align-self: center; }
.c-menu-art::after {
  content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -2%; height: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c-floor), transparent);
}
.c-bowl { transform: rotate(4deg); }
.c-steam { position: absolute; top: -8%; left: 30%; width: 34%; height: 30%; overflow: visible; }
.c-steam path { fill: none; stroke: var(--c-beige-deep); stroke-width: 3; stroke-linecap: round; opacity: .7; animation: cSteam 4s ease-in-out infinite; }
.c-steam path:nth-child(2) { animation-delay: -1.3s; }
.c-steam path:nth-child(3) { animation-delay: -2.6s; }
@keyframes cSteam { 0%, 100% { transform: translateY(6px); opacity: 0; } 40% { opacity: .7; } 70% { transform: translateY(-10px); opacity: 0; } }

.c-menu-card { margin-top: 2rem; padding: 1.6rem 1.7rem .6rem; border-radius: 34px; }
.c-menu-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--c-hand); color: var(--c-muted); font-size: 1.05rem; padding-bottom: .4rem; }
.c-dishes { list-style: none; margin: 0; padding: 0; }
.c-dish { padding: 1.2rem 0 1.25rem; border-top: 2px dashed var(--c-beige); }
.c-dish:first-child { border-top: 0; }
.c-dish-line { display: flex; align-items: baseline; gap: .6rem; }
.c-dish-no { font-family: var(--c-hand); color: var(--c-muted); font-size: 1.05rem; flex: none; }
.c-dish-name { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.035em; flex: none; }
.c-dots { flex: 1 1 auto; min-width: 16px; border-bottom: 3px dotted var(--c-beige-deep); transform: translateY(-6px); }
.c-dish-tag { flex: none; font-weight: 600; font-size: .95rem; padding: .25rem .8rem; border-radius: 999px; background: var(--c-mint-soft); }
.c-dish-desc { margin: .45rem 0 .6rem; color: var(--c-ink-soft); max-width: 46ch; line-height: 1.5; }
.c-dish a { display: inline-block; font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--c-mint); padding-bottom: 1px; transition: border-color .15s; }
.c-dish a:hover { border-color: var(--c-ink); }

/* ---------- Bảng vàng ---------- */
.c-board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; }
.c-board-title-wrap { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.c-trophy { width: clamp(110px, 15vw, 180px); height: auto; filter: drop-shadow(0 20px 22px rgba(201, 154, 30, .28)); transform: rotate(6deg); }
.c-board-desc { margin-top: .8rem; }
.c-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--c-cream); box-shadow: inset 0 2px 6px rgba(0,0,0,.07), 0 2px 0 rgba(255,255,255,.9); }
.c-tab {
  border: 0; background: transparent; color: var(--c-ink); cursor: pointer;
  font-family: var(--c-font); font-weight: 600; font-size: 1rem;
  padding: .6rem 1.15rem; border-radius: 999px; min-height: 44px;
}
.c-tab[aria-selected="true"] {
  background: radial-gradient(120% 120% at 35% 20%, #FFF6CF 0%, var(--c-butter) 50%, var(--c-butter-deep) 100%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.8), inset 0 -3px 5px rgba(201, 154, 30, .25), 0 4px 10px -4px rgba(201, 154, 30, .5);
}

.c-podium {
  position: relative; isolation: isolate;
  margin: 3.5rem auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end; max-width: 780px;
}
.c-podium::after {
  content: ""; position: absolute; z-index: -2; left: -4%; right: -4%; bottom: -26px; height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(96, 76, 44, .2), transparent);
}
.c-podium-img { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; transform-origin: 50% 100%; }
.c-pod { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.c-pod-fish {
  width: clamp(70px, 11vw, 116px); height: auto; margin-bottom: .5rem;
  filter: drop-shadow(0 10px 10px rgba(80, 70, 50, .16));
  animation: cBob 4s ease-in-out infinite;
}
.c-pod-1 .c-pod-fish { width: clamp(88px, 14vw, 146px); animation-delay: -1s; }
.c-pod-3 .c-pod-fish { animation-delay: -2s; }
.c-pod-empty .c-pod-fish { opacity: .35; filter: grayscale(1); }
@keyframes cBob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.c-pod-name { font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.3rem); letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; padding: 0 .2rem; }
.c-pod-empty .c-pod-name { font-weight: 500; font-size: clamp(.85rem, 1.8vw, 1rem); color: var(--c-muted); }
.c-pod-amt { font-size: clamp(.95rem, 1.8vw, 1rem); color: var(--c-muted); margin: .25rem 0 .9rem; }
.c-pod-block {
  width: 100%; position: relative; transform-origin: 50% 100%;
  display: grid; place-items: start center; padding-top: clamp(.6rem, 2vw, 1.1rem);
  font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: -.05em; line-height: 1;
  color: rgba(17,17,17,.72);
  text-shadow: 0 2px 0 rgba(255,255,255,.75), 0 -1px 1px rgba(0,0,0,.15);
}
/* bậc trong podium.webp (800x408): cao ~82% / 59% / 41% ảnh, mỗi bậc rộng 1/3 */
.c-pod-1 .c-pod-block { aspect-ratio: 1 / 1.25; }
.c-pod-2 .c-pod-block { aspect-ratio: 1 / .9; }
.c-pod-3 .c-pod-block { aspect-ratio: 1 / .63; }
/* bục mọc lên khi cuộn tới (home.js gắn .is-in) và mỗi lần đổi tab (vẽ lại) */
.js-reveal .c-podium:not(.is-in) .c-podium-img,
.js-reveal .c-podium:not(.is-in) .c-pod-block { transform: scaleY(0); }
.js-reveal .c-podium:not(.is-in) .c-pod > :not(.c-pod-block) { opacity: 0; }
.js-reveal .c-podium.is-in .c-podium-img,
.js-reveal .c-podium.is-in .c-pod-block { animation: cRise .7s cubic-bezier(.3, 1.4, .5, 1) both; }
.js-reveal .c-podium.is-in .c-pod-3 .c-pod-block { animation-delay: .05s; }
.js-reveal .c-podium.is-in .c-pod-2 .c-pod-block { animation-delay: .18s; }
.js-reveal .c-podium.is-in .c-pod-1 .c-pod-block { animation-delay: .3s; }
.js-reveal .c-podium.is-in .c-pod > :not(.c-pod-block) { animation: cFadeUp .5s ease .45s both; }
@keyframes cRise { from { transform: scaleY(0); } to { transform: none; } }
@keyframes cFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.c-ranks { list-style: none; margin: 3rem auto 0; padding: 0; max-width: 900px; display: grid; gap: .7rem; }
.c-ranks:empty { display: none; }
.c-ranks li {
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: center; gap: .8rem;
  padding: .9rem 1.3rem; border-radius: 24px;
}
.c-ranks .c-no { font-weight: 700; color: var(--c-muted); }
.c-ranks .c-nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-ranks .c-am { color: var(--c-ink-soft); font-size: .97rem; white-space: nowrap; }
.c-board-foot { max-width: 900px; margin: 1.2rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; color: var(--c-muted); font-size: .97rem; }
.c-board-foot-right { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; }
.c-link-mint {
  font-family: var(--c-font); font-weight: 700; font-size: .97rem; color: var(--c-ink);
  text-decoration: underline; text-decoration-color: var(--c-mint-line); text-decoration-thickness: 3px; text-underline-offset: 4px;
  min-height: 44px; padding: 0;
}

/* ---------- Footer ---------- */
.site-footer.c-foot { position: relative; padding: var(--c-sec-pad) 0 calc(110px + env(safe-area-inset-bottom, 0px)); overflow: hidden; background: transparent; }
.c-foot-card {
  position: relative; border-radius: 44px;
  background: radial-gradient(140% 120% at 20% 0%, #EEFCF5 0%, var(--c-mint-soft) 55%, #CBF2E0 100%);
  padding: clamp(2rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3rem;
  box-shadow: inset 0 -12px 26px rgba(40, 120, 90, .07), inset 0 10px 20px rgba(255,255,255,.7), 0 30px 50px -36px rgba(40, 120, 90, .45);
}
.c-foot-card .c-col-text { flex: 1 1 380px; min-width: 0; }
.c-foot-card .c-col-art { flex: 0 1 300px; min-width: 0; }
.c-bucket { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(60, 90, 120, .18)); transform: rotate(-5deg); }
.c-foot-title { margin: 0; max-width: 10ch; font-family: var(--c-font); font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.c-foot-card .c-btn-mint { margin-top: 1.8rem; }
.c-foot > .c-c3 { width: 140px; right: 5%; top: calc(var(--c-sec-pad) - 56px); z-index: 2; }
.c-foot-bottom { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.c-foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.c-foot-links a { font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.c-foot-links a:hover { text-decoration: underline; text-decoration-color: var(--c-mint-line); text-decoration-thickness: 3px; }
.c-foot-copy { color: var(--c-muted); font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.c-foot-copy img { width: 30px; height: 30px; object-fit: contain; mix-blend-mode: multiply; }
.c-admin-lock { opacity: .35; font-size: .85rem; }
.c-to-top { font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-mint-line); text-decoration-thickness: 3px; text-underline-offset: 4px; }

@keyframes cBlink { 50% { opacity: .25; } }

/* ---------- Điện thoại / máy tính bảng ---------- */
@media (max-width: 860px) {
  .c-hero { padding-top: 84px; }
  .c-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "title" "art" "body";
    min-height: 0;
  }
  .c-hero-title { padding-top: 1.2rem; }
  .c-hero-art { margin: .2rem -6px 0; }
  .c-scene { max-width: 560px; margin: 0 auto; aspect-ratio: 1 / .9; }
  .c-goat-wrap { width: 64%; right: 6%; top: 0; }
  .c-p-bucket { width: 21%; left: 1%; bottom: 13%; }
  .c-p-bowl { width: 25%; left: 25%; bottom: 1%; }
  .c-p-ctrl { width: 23%; right: -1%; bottom: 6%; }
  .c-scene .c-s-c1 { width: 24%; left: 0; top: 4%; }
  .c-scene .c-s-c2 { width: 17%; right: 0; top: 0; }
  .c-t1 { left: 27%; top: 42%; }
  .c-hero-bio { margin-top: 1.4rem; }
}
@media (max-width: 560px) {
  .c-btn-mint { width: 100%; }
  .c-hero-cta { gap: .7rem; margin-top: 1.6rem; }
  .c-cta-note { width: 100%; text-align: center; }
  .c-contacts { margin-top: 1.6rem; }
  .c-contacts a { font-size: .95rem; }
  .c-row { gap: 1.75rem; }
  .c-row > .c-col-art { flex-basis: 100%; max-width: 330px; margin: 0 auto; }
  .c-live-row > .c-col-art { max-width: 340px; }
  .c-pc-root .h-pc { display: flex; padding: .9rem 1.1rem .9rem .9rem; border-radius: 28px; }
  .c-screen { border-radius: 28px; }
  .c-screen-main, .c-screen-bar { padding-left: 1.2rem; padding-right: 1.2rem; }
  .c-menu-card { padding: 1.2rem 1.15rem .4rem; border-radius: 28px; }
  .c-dish-line { flex-wrap: wrap; row-gap: .3rem; }
  .c-dots { display: none; }
  .c-dish-tag { order: 3; }
  .c-dish-name { margin-right: auto; }
  .c-tabs { width: 100%; }
  .c-tab { flex: 1; padding: .6rem .5rem; }
  .c-ranks li { grid-template-columns: 1.8rem minmax(0, 1fr) auto; padding: .8rem 1rem; border-radius: 22px; }
  .c-pod-amt .c-vnd { display: none; }
  .c-foot-card { border-radius: 32px; }
  .c-foot-card .c-col-art { flex-basis: 100%; max-width: 200px; margin: 0 auto; order: -1; }
  .c-foot > .c-c3 { width: 96px; right: 2%; }
  .c-foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   POPUP DONATE (#donate-dialog) — chỉ đổi giao diện sang đất nặn, giữ nguyên cấu trúc/ID
   ========================================================================== */
.dd::backdrop { background: rgba(40, 34, 24, .45); }
.dd .dd-sheet {
  background: var(--c-cream); border: 0;
  box-shadow: 0 30px 60px -20px var(--c-shadow-warm), inset 0 2px 3px rgba(255,255,255,.9);
}
.dd .dd-handle { background: var(--c-beige); }
.dd .dd-head-goat { width: 64px; height: auto; margin: -4px 0; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(80, 70, 50, .15)); }
.dd .dd-title { letter-spacing: -.025em; }
.dd .dd-sub { color: var(--c-muted); }
.dd .dd-icon-btn { background: var(--c-paper-warm); box-shadow: inset 0 -3px 0 rgba(0,0,0,.05); }

.dd .dd-btn-primary {
  border-radius: 999px; background: var(--c-mint); border: 3px solid var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink);
}
.dd .dd-btn-primary:hover { box-shadow: 6px 6px 0 var(--c-ink); }
.dd .dd-btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-ink); }

.dd .dd-amount { background: var(--c-paper); border-radius: 22px; box-shadow: inset 0 3px 8px rgba(0,0,0,.06); }
.dd .dd-amount:focus-within { box-shadow: inset 0 3px 8px rgba(0,0,0,.06), 0 0 0 3px var(--c-ink); }
.dd .dd-amount-unit { color: var(--c-muted); font-weight: 700; }
.dd .dd-fish { color: var(--c-ink-soft); }
.dd .dd-chip { border-radius: 16px; background: var(--c-paper-warm); box-shadow: inset 0 -3px 0 rgba(0,0,0,.06); }
.dd .dd-chip.is-on { background: var(--c-ink); color: #fff; box-shadow: none; }
.dd .dd-msg-tab { border-radius: 16px; background: var(--c-paper-warm); box-shadow: inset 0 -3px 0 rgba(0,0,0,.06); }
.dd .dd-msg-tab.is-on { background: var(--c-ink); color: #fff; box-shadow: none; }
.dd .dd-field { font-weight: 600; }
.dd .dd-input { background: #fff; border: 1.5px solid #E4DED1; border-radius: 16px; }
.dd .dd-input:focus { border-color: var(--c-ink); box-shadow: 0 0 0 2px var(--c-ink); }
.dd .dd-voice { background: var(--c-paper-warm); border-radius: 18px; }
.dd .dd-error { color: #B42318; font-weight: 600; }

.dd .dd-qr { border-radius: 26px; box-shadow: 0 0 0 8px var(--c-mint), 0 14px 26px -12px var(--c-shadow-warm); }
.dd .dd-qr-scan { background: var(--c-mint-deep); box-shadow: 0 0 12px var(--c-mint-deep); }
.dd .dd-pay-hint { color: var(--c-ink-soft); }
.dd .dd-bank { border-radius: 16px; box-shadow: 0 0 0 1.5px #E4DED1, 0 6px 12px -8px var(--c-shadow-warm); }
.dd .dd-bank:hover { box-shadow: 0 0 0 2px var(--c-ink); }
.dd .dd-status { font-weight: 600; }
.dd .dd-status-dot { background: var(--c-mint-deep); }

/* Xem trước alert (máy tính): nền mint đất nặn thay cho nền đen */
.dd .dd-preview { background: radial-gradient(140% 120% at 20% 0%, #EEFCF5 0%, var(--c-mint-soft) 55%, #CBF2E0 100%); }
.dd .dd-preview-label { color: var(--c-muted); font-family: var(--c-hand); font-size: 1.05rem; }
.dd .dd-preview-line { color: #fff; }

/* Bước 3: đã bón — thẻ kem sáng, dê đất nặn vui */
.dd .dd-sheet[data-view="done"] { background: radial-gradient(140% 120% at 20% 0%, #FFFDF7 0%, var(--c-cream) 45%, var(--c-mint-soft) 100%); }
.dd .dd-sheet[data-view="done"] .dd-handle { background: var(--c-beige); }
.dd .dd-view-done { color: var(--c-ink); }
.dd .dd-done-glow { background: radial-gradient(closest-side, rgba(253, 230, 138, .7), rgba(167, 243, 208, .35) 45%, rgba(255, 255, 255, 0)); }
.dd .dd-done-goat { height: auto; top: 18px; filter: drop-shadow(0 16px 16px rgba(80, 70, 50, .18)); }
.dd .dd-done-stamp { box-shadow: 0 10px 18px -10px var(--c-shadow-warm); }
.dd .dd-done-text { color: var(--c-ink-soft); }
.dd .dd-btn-mint { border-color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
.dd .dd-btn-ghost { color: var(--c-ink); background: var(--c-paper-warm); border-radius: 999px; }
.dd .dd-view-done :focus-visible { outline-color: var(--c-ink); }

@media (max-width: 899px) {
  .dd .dd-sheet { border-radius: 30px 30px 0 0; }
}
@media (min-width: 900px) {
  .dd .dd-sheet { border: 0; border-radius: 32px; box-shadow: 0 30px 60px -20px var(--c-shadow-warm), inset 0 2px 3px rgba(255,255,255,.9); }
}

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  .c-cloud, .c-goat-breathe, .c-goat-img, .c-tv-onair i, .c-badge-live i, .c-tv-badge .c-d, .c-steam path, .c-pod-fish, .c-bubble { animation: none !important; }
  body.is-live .c-tv-glass { animation: none; }
  .c-ring path { animation: none; stroke-dashoffset: 0; }
}
