/* ================= BABYY UYÊN – BRAND ================= */
:root {
  --pink: #ffb6cc;
  --pink-light: #ffe3ec;
  --pink-deep: #ff5d93;
  --rose: #e8407a;
  --lavender: #d5c2ff;
  --mint: #bdf2e4;
  --cream: #fff6f9;
  --text: #6b2f4f;
  --text-soft: #a36585;
  --card: rgba(255, 255, 255, 0.74);
  --shadow: 0 10px 30px rgba(255, 93, 147, 0.18);
  --radius: 28px;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  font-family: "Quicksand", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #ffdce8 0%, #fff6f9 45%, #f0e6ff 100%) fixed;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 28px + var(--safe-b));
}
body.locked { overflow: hidden; }
@media (pointer: fine) {
  body { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><text y='22' font-size='22'>💗</text></svg>") 6 6, auto; }
}
h1, h2, h3, .btn, .tier b, .brand-font { font-family: "Baloo 2", "Quicksand", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* ================= NỀN & HIỆU ỨNG ================= */
.bg-blobs { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 360px; height: 360px; background: var(--pink); top: -90px; left: -110px; }
.b2 { width: 320px; height: 320px; background: var(--lavender); bottom: -70px; right: -90px; animation-delay: -6s; }
.b3 { width: 240px; height: 240px; background: var(--mint); top: 45%; left: 50%; animation-delay: -12s; opacity: .35; }
@keyframes drift { to { transform: translate(50px, 40px) scale(1.15); } }

.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.fall { position: absolute; top: -40px; user-select: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }
.rise {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255, 182, 204, .35) 60%, rgba(255, 182, 204, .1));
  border: 1px solid rgba(255, 255, 255, .8);
  animation: rise linear forwards;
}
@keyframes rise {
  50% { transform: translate(var(--dx), -55vh); }
  to { transform: translate(calc(var(--dx) * -1), -115vh); opacity: 0; }
}

.particle { position: fixed; pointer-events: none; z-index: 9999; user-select: none; animation: burst .9s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) scale(.3) rotate(var(--r, 0deg)); opacity: 0; } }

.float-heart { position: fixed; pointer-events: none; z-index: 9999; animation: floatUp 1.6s ease-out forwards; }
@keyframes floatUp {
  30% { transform: translate(calc(var(--dx) * .4), -60px) scale(1.2); }
  to { transform: translate(var(--dx), -220px) scale(.6) rotate(var(--r)); opacity: 0; }
}

/* sóng chữ */
.wave .ch { display: inline-block; animation: waveCh 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .09s); }
.wave .sp { width: .3em; }
@keyframes waveCh { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px) rotate(-4deg); } }

/* nhún khi bấm */
.jelly:active { animation: jelly .45s; }
@keyframes jelly {
  0% { transform: scale(1, 1); } 30% { transform: scale(1.18, .82); } 45% { transform: scale(.88, 1.12); }
  60% { transform: scale(1.06, .94); } 100% { transform: scale(1, 1); }
}

/* ================= INTRO ================= */
.intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #fff0f5, #ffc9da 55%, #e2d1ff);
  transition: opacity .8s ease, visibility .8s, transform .8s;
}
.intro.hide { opacity: 0; visibility: hidden; transform: scale(1.08); }
.intro-box { text-align: center; padding: 24px; position: relative; z-index: 1; }
.intro-logo {
  width: min(230px, 58vw); margin: 0 auto;
  filter: drop-shadow(0 14px 30px rgba(255, 93, 147, .45));
  animation: popIn .9s cubic-bezier(.3, 1.6, .5, 1) both, bob 3s 1s ease-in-out infinite;
}
.intro-name { font-size: clamp(38px, 11vw, 64px); color: #fff; line-height: 1.1; margin-top: 6px;
  text-shadow: 0 4px 0 var(--pink-deep), 0 10px 24px rgba(255, 93, 147, .45); }
.intro-sub { margin: 8px 0 26px; font-weight: 600; }
.intro-hearts span { position: absolute; font-size: 28px; animation: bob 3s ease-in-out infinite; opacity: .8; }
.intro-hearts span:nth-child(1) { top: 12%; left: 12%; }
.intro-hearts span:nth-child(2) { top: 18%; right: 14%; animation-delay: -.6s; }
.intro-hearts span:nth-child(3) { bottom: 22%; left: 10%; animation-delay: -1.2s; }
.intro-hearts span:nth-child(4) { bottom: 14%; right: 12%; animation-delay: -1.8s; }
.intro-hearts span:nth-child(5) { top: 50%; right: 6%; animation-delay: -2.4s; }
@keyframes popIn { from { transform: scale(0) rotate(-20deg); opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-12px) rotate(4deg); } }

/* ================= LAYOUT ================= */
.container { width: min(560px, 100% - 24px); margin: 0 auto; padding: 28px 0 20px; display: flex; flex-direction: column; gap: 18px; }
.card {
  background: var(--card);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 18px;
}
.title { font-size: 23px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.title span { display: inline-block; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
.empty { text-align: center; color: var(--text-soft); font-weight: 600; padding: 18px 8px; background: #fff; border-radius: 18px; border: 2px dashed var(--pink); }

.reveal { opacity: 0; transform: translateY(36px) scale(.96); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1.25); }
.reveal.show { opacity: 1; transform: none; }

/* ================= NÚT ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 10px 24px; border-radius: 999px; font-weight: 700; font-size: 17px;
  transition: transform .2s, box-shadow .2s; user-select: none;
}
@media (hover: hover) { .btn:hover { transform: translateY(-3px) scale(1.04); } }
.btn-main { color: #fff; background: linear-gradient(135deg, var(--pink-deep), #ff9ec0);
  box-shadow: 0 8px 20px rgba(255, 93, 147, .45), inset 0 -3px 0 rgba(0, 0, 0, .08); }
.btn-soft { background: #fff; border: 2px solid var(--pink); color: var(--pink-deep); font-size: 15px; padding: 8px 18px; }
.btn-pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 93, 147, .55), 0 8px 20px rgba(255, 93, 147, .45); }
  50% { box-shadow: 0 0 0 14px rgba(255, 93, 147, 0), 0 8px 20px rgba(255, 93, 147, .45); }
}

/* ================= HERO ================= */
.hero { text-align: center; padding-top: 40px; }
.avatar-wrap { position: relative; width: 148px; height: 148px; margin: 0 auto 16px; animation: bob 4s ease-in-out infinite; }
.ear {
  position: absolute; top: -40px; width: 36px; height: 70px; border-radius: 50% 50% 40% 40%;
  background: #fff; border: 4px solid #fff; box-shadow: inset 0 0 0 7px #fff, inset 0 0 0 30px var(--pink);
  transform-origin: 50% 100%; z-index: 0;
}
.ear.left { left: 22px; transform: rotate(-16deg); animation: earL 3s ease-in-out infinite; }
.ear.right { right: 22px; transform: rotate(16deg); animation: earR 3s ease-in-out infinite; }
@keyframes earL { 0%, 70%, 100% { transform: rotate(-16deg); } 80% { transform: rotate(-32deg); } 90% { transform: rotate(-10deg); } }
@keyframes earR { 0%, 70%, 100% { transform: rotate(16deg); } 85% { transform: rotate(30deg); } 95% { transform: rotate(10deg); } }
.avatar-ring { position: absolute; inset: -7px; border-radius: 50%; z-index: 1;
  background: conic-gradient(var(--pink-deep), var(--lavender), var(--mint), var(--pink), var(--pink-deep)); animation: spin 6s linear infinite; }
.avatar { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 5px solid #fff; z-index: 2; background: var(--pink-light); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.orbit { position: absolute; inset: -26px; z-index: 3; animation: spin 9s linear infinite; pointer-events: none; }
.orbit span { position: absolute; font-size: 18px; animation: spin 9s linear infinite reverse; }
.orbit span:nth-child(1) { top: 0; left: 50%; }
.orbit span:nth-child(2) { bottom: 10%; left: 4%; }
.orbit span:nth-child(3) { bottom: 10%; right: 4%; }
.avatar-notes { position: absolute; inset: -18px; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .4s; }
body.is-singing .avatar-notes { opacity: 1; }
.avatar-notes span { position: absolute; font-size: 16px; opacity: 0; }
body.is-singing .avatar-notes span { animation: noteRise 2.8s ease-out infinite; }
.avatar-notes span:nth-child(1) { left: 6%; top: 22%; animation-delay: 0s; }
.avatar-notes span:nth-child(2) { right: 4%; top: 34%; animation-delay: .9s; }
.avatar-notes span:nth-child(3) { left: 16%; bottom: 14%; animation-delay: 1.8s; }
@keyframes noteRise {
  0% { transform: translate(0, 8px) scale(.6) rotate(-10deg); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translate(12px, -44px) scale(1.15) rotate(14deg); opacity: 0; }
}
.bow { position: absolute; top: -6px; right: -4px; z-index: 4; font-size: 34px; transform: rotate(18deg); animation: bowWiggle 2.5s ease-in-out infinite; }
@keyframes bowWiggle { 50% { transform: rotate(4deg) scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.name { font-size: clamp(34px, 10vw, 44px); line-height: 1.1; color: var(--rose);
  text-shadow: 0 3px 0 #fff, 0 6px 16px rgba(255, 93, 147, .3); }
.sparkle { display: inline-block; animation: twinkle 1.5s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(1.3) rotate(20deg); opacity: .6; } }
.realname { font-weight: 700; margin-top: 4px; }
.handle { color: var(--text-soft); font-weight: 600; font-size: 14px; }

/* trạng thái */
.status {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin: 14px auto 0; padding: 8px 16px; max-width: 100%;
  background: #fff; border-radius: 18px; font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(255, 93, 147, .15); border: 2px solid var(--st, #5be3a1);
  animation: popIn .6s cubic-bezier(.3, 1.6, .5, 1) both;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--st, #5be3a1); position: relative; }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.4s ease-out infinite; }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
.status-label { color: var(--st-text, #1f9a62); font-weight: 700; }
.status-text { width: 100%; font-weight: 600; }
.status-text:empty { display: none; }
.status-time { color: var(--text-soft); width: 100%; font-size: 11px; }
.status-time:empty { display: none; }
.status[data-type="live"] { --st: #ff3b6b; --st-text: #ff3b6b; animation: popIn .6s both, liveGlow 1.2s ease-in-out infinite; }
.status[data-type="live"] .status-label { animation: blink 1s step-end infinite; }
.status[data-type="busy"] { --st: #b58cff; --st-text: #8a5be0; }
.status[data-type="offline"] { --st: #c4b3bd; --st-text: #8f7584; }
.status[href] { cursor: pointer; }
@keyframes liveGlow { 50% { box-shadow: 0 0 0 6px rgba(255, 59, 107, .18), 0 4px 14px rgba(255, 59, 107, .3); } }

.typing { min-height: 24px; margin: 12px 0 14px; font-weight: 600; font-size: 15px; }
.caret { color: var(--pink-deep); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.badge { background: #fff; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 2px dashed var(--pink); animation: popIn .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * .1s + .3s); }
.hero-actions { display: flex; gap: 10px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.hero-donate-wrap { display: inline-flex; flex-direction: column; align-items: center; }
.hero-pointer {
  width: 82px; margin-bottom: 4px; position: relative; z-index: 1;
  display: block; transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.hero-donate-wrap .btn { position: relative; z-index: 2; }
.hero-pointer img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 5px 12px rgba(255, 120, 165, .3));
  animation: pointBob 3.2s ease-in-out infinite;
}
@media (hover: hover) { .hero-pointer:hover { transform: scale(1.06); } }
@keyframes pointBob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-4px) rotate(1.5deg); }
}
#loveCount { font-variant-numeric: tabular-nums; min-width: 1.5ch; display: inline-block; }
#loveCount.bump { animation: jelly .4s; }

/* ================= ABOUT ================= */
.info-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-grid li { background: #fff; border-radius: 18px; padding: 11px 13px; display: flex; flex-direction: column; gap: 2px; transition: transform .2s; }
.info-grid li:active { transform: scale(.96); }
.info-grid b { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-soft); }
.info-grid span { font-weight: 700; word-break: break-word; }
.quote { margin-top: 16px; text-align: center; font-style: italic; font-weight: 600; background: linear-gradient(135deg, #ffe3ec, #efe4ff); padding: 14px; border-radius: 18px; }
.quote:empty { display: none; }

/* ================= SOCIAL ================= */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.socials .social { flex: 0 1 calc((100% - 20px) / 3); }
.social {
  background: #fff; border-radius: 20px; padding: 14px 6px; text-align: center; min-height: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 700; font-size: 14px;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .25s, color .25s;
}
.social i { font-style: normal; font-size: 26px; }
.social small { font-size: 11px; color: var(--text-soft); font-weight: 600; overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
.social:hover, .social:active { transform: translateY(-5px) rotate(-3deg); color: #fff; background: var(--sc, var(--pink-deep)); }
.social:hover small, .social:active small { color: rgba(255, 255, 255, .9); }
.social.tiktok { --sc: linear-gradient(135deg, #25f4ee, #fe2c55); }
.social.youtube { --sc: #ff4e6a; } .social.facebook { --sc: #5b8def; }
.social.instagram { --sc: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.social.discord { --sc: #7b83f5; } .social.zalo { --sc: #3e8bff; }

/* ================= ALBUM ================= */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery button {
  aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--pink-light); position: relative;
  transition: transform .3s; animation: popIn .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * .06s);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.gallery button:hover, .gallery button:active { transform: scale(1.05) rotate(2deg); z-index: 1; }
.gallery button::after { content: "💗"; position: absolute; right: 6px; bottom: 4px; font-size: 14px; opacity: 0; transition: .3s; }
.gallery button:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 1500; background: rgba(80, 30, 60, .72); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; touch-action: pan-y;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { max-width: min(92vw, 520px); text-align: center; transform: scale(.7); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.lightbox.open .lb-figure { transform: scale(1); }
.lb-figure img { max-height: 74dvh; margin: 0 auto; border-radius: 22px; border: 5px solid #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.lb-figure figcaption { color: #fff; font-weight: 700; margin-top: 12px; }
.lb-close, .lb-nav { position: absolute; color: #fff; background: rgba(255, 255, 255, .2); border-radius: 50%; width: 44px; height: 44px; font-size: 24px; display: grid; place-items: center; }
.lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; font-size: 18px; }
.lb-nav.prev { left: 8px; } .lb-nav.next { right: 8px; }
.lb-count { position: absolute; bottom: calc(18px + var(--safe-b)); color: #fff; font-weight: 700; font-size: 13px; }

/* ================= DONATE ================= */
.donate { border: 3px solid var(--pink); }
.donate::after { content: "💖"; position: absolute; right: 8px; top: 2px; font-size: 64px; opacity: .14; transform: rotate(18deg); pointer-events: none; }
.donate-msg { text-align: center; font-weight: 600; margin-bottom: 12px; line-height: 1.6; }
.donate-guide {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 4px auto 16px; max-width: 440px;
}
.donate-pointer {
  width: 132px; flex-shrink: 0; display: block;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.donate-pointer img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 8px 16px rgba(255, 120, 165, .28));
  animation: pointBob 3.4s ease-in-out infinite;
}
@media (hover: hover) { .donate-pointer:hover { transform: scale(1.05); } }
.donate-pointer:active { animation: jelly .45s; }
.donate-bubble {
  position: relative; background: linear-gradient(135deg, #fff, #fff2f7);
  border: 2px solid var(--pink); border-radius: 20px 20px 20px 6px;
  padding: 10px 14px; box-shadow: 0 6px 18px rgba(255, 115, 165, .15);
  text-align: left; display: flex; flex-direction: column; gap: 3px;
}
.donate-bubble::before {
  content: ""; position: absolute; left: -9px; bottom: 18px; width: 12px; height: 12px;
  background: #fff7fa; border-left: 2px solid var(--pink); border-bottom: 2px solid var(--pink);
  transform: rotate(45deg);
}
.donate-bubble span { font-weight: 700; font-size: 14px; color: var(--rose); line-height: 1.35; }
.donate-bubble small { font-weight: 600; font-size: 12px; color: var(--text-soft); }
.donate-note { text-align: center; color: var(--text-soft); font-size: 13px; margin-top: 12px; }
.donate-note:empty { display: none; }
.step { font-weight: 700; font-size: 14px; margin: 4px 0 10px; color: var(--rose); }


.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.tier { background: #fff; border: 2px solid transparent; border-radius: 18px; padding: 10px 4px; min-height: 88px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; transition: transform .2s, border-color .2s, background .2s; }
.tier i { font-style: normal; font-size: 28px; transition: transform .3s; }
.tier b { font-size: 16px; color: var(--pink-deep); }
.tier.active { border-color: var(--pink-deep); background: #fff0f5; transform: translateY(-4px) scale(1.04); box-shadow: 0 6px 16px rgba(255, 93, 147, .25); }
.tier.active i { animation: bob 1.2s ease-in-out infinite; }

.tabs { display: flex; background: #fff; border-radius: 999px; padding: 4px; margin-bottom: 12px; }
.tab { flex: 1; padding: 9px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: background .25s, color .25s; }
.tab.active { background: var(--pink-deep); color: #fff; }

.pay-panel { display: none; gap: 16px; align-items: center; background: #fff; border-radius: 22px; padding: 16px; }
.pay-panel.active { display: flex; animation: popIn .4s ease; }
.qr { width: 170px; flex-shrink: 0; text-align: center; }
.qr-box { width: 170px; height: 170px; border-radius: 16px; overflow: hidden; border: 3px solid var(--pink); background: #fff; padding: 4px; position: relative; }
.qr-box svg, .qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-box.flash { animation: jelly .5s; }
.qr small { display: block; margin-top: 6px; font-size: 11px; color: var(--text-soft); font-weight: 600; }
.qr-empty { display: grid; place-items: center; height: 100%; font-size: 13px; font-weight: 600; color: var(--text-soft); text-align: center; padding: 10px; }
.qr-dl { margin-top: 6px; font-size: 12px; color: var(--pink-deep); font-weight: 700; text-decoration: underline; }
.pay-info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; min-width: 0; flex: 1; }
.pay-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; border-bottom: 1px dashed var(--pink-light); padding-bottom: 6px; }
.pay-row span:first-child { color: var(--text-soft); font-weight: 600; flex-shrink: 0; }
.mono { font-weight: 700; color: var(--rose); word-break: break-all; text-align: right; }
.pay-info .btn { margin-top: 6px; }
.global-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }

.board { margin-top: 20px; }
.board h3 { font-size: 18px; margin-bottom: 10px; }
.board ol { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.board li { display: flex; justify-content: space-between; background: #fff; border-radius: 14px; padding: 9px 14px; font-weight: 600; font-size: 14px; }
.board li:first-child { background: linear-gradient(90deg, #fff4c7, #fff); }
.board b { color: var(--pink-deep); }

/* ================= FOOTER ================= */
.footer { text-align: center; color: var(--text-soft); font-weight: 600; font-size: 14px; }
.footer-logo { width: 70px; margin: 0 auto 6px; animation: bob 3s ease-in-out infinite; }

/* ================= NỔI ================= */
.music-btn {
  position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(145deg, #fff, #ffedf3);
  box-shadow: 0 6px 20px rgba(255, 115, 165, .2); display: grid; place-items: center; border: 2.5px solid #ffd0e0;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .35s, box-shadow .35s;
}
@media (hover: hover) { .music-btn:hover { transform: scale(1.06); } }
.music-btn:active { transform: scale(.94); }
.music-btn .sing-avatar {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: block;
}
.music-btn .sing-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transform-origin: center bottom; transition: filter .35s ease;
}
.music-btn:not(.playing) .sing-avatar img { filter: saturate(.65) brightness(.97); opacity: .88; }
.music-btn.playing {
  border-color: #ff9bbf;
  animation: singGlow 3.2s ease-in-out infinite;
}
@keyframes singGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 155, 191, .22), 0 8px 22px rgba(255, 115, 165, .28); }
  50% { box-shadow: 0 0 0 7px rgba(255, 155, 191, .12), 0 10px 26px rgba(255, 115, 165, .36); }
}
.music-btn.playing .sing-avatar img { animation: singBob 2.6s ease-in-out infinite; }
@keyframes singBob {
  0%, 100% { transform: translateY(0) rotate(-2.2deg) scale(1); }
  50% { transform: translateY(-2px) rotate(2.4deg) scale(1.03); }
}
.sing-mic {
  position: absolute; right: -4px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, .96); border: 1.5px solid #ffd0e0; box-shadow: 0 2px 8px rgba(255, 115, 165, .2);
  display: grid; place-items: center; font-size: 11px; line-height: 1;
}
.music-btn.playing .sing-mic { border-color: #ff9bbf; animation: micPulse 2.6s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.08); } }
.sing-eq {
  position: absolute; left: -4px; bottom: -2px; display: flex; align-items: flex-end; gap: 2px;
  height: 16px; padding: 3px 4px; border-radius: 999px; background: rgba(255, 255, 255, .96);
  border: 1.5px solid #ffd0e0; box-shadow: 0 2px 6px rgba(255, 115, 165, .18);
}
.sing-eq i {
  display: block; width: 2.5px; height: 3.5px; border-radius: 99px; background: #ff82ae;
}
.music-btn.playing .sing-eq { border-color: #ff9bbf; }
.music-btn.playing .sing-eq i { animation: eqBar 1.1s ease-in-out infinite alternate; }
.music-btn.playing .sing-eq i:nth-child(2) { animation-delay: .3s; }
.music-btn.playing .sing-eq i:nth-child(3) { animation-delay: .6s; }
@keyframes eqBar { from { height: 3px; } to { height: 9px; } }
.sing-notes { position: absolute; inset: -10px; pointer-events: none; }
.sing-notes i { position: absolute; font-style: normal; font-size: 12px; opacity: 0; }
.music-btn.playing .sing-notes i { animation: singNote 3.4s ease-out infinite; }
.sing-notes i:nth-child(1) { left: 4px; top: 6px; animation-delay: 0s; }
.sing-notes i:nth-child(2) { right: 2px; top: 2px; animation-delay: 1.15s; }
.sing-notes i:nth-child(3) { left: 48%; top: -2px; animation-delay: 2.3s; }
@keyframes singNote {
  0% { transform: translate(0, 6px) scale(.65); opacity: 0; }
  28% { opacity: .85; }
  100% { transform: translate(-8px, -24px) scale(1.04) rotate(-10deg); opacity: 0; }
}

.mascot { transition: transform .6s cubic-bezier(.22, 1, .36, 1); position: fixed; right: 10px; bottom: calc(var(--nav-h) + 26px + var(--safe-b)); z-index: 600; }
.mascot-body { display: block; font-size: 44px; filter: drop-shadow(0 6px 12px rgba(255, 120, 165, .28)); animation: bob 3.6s ease-in-out infinite; }
.mascot.jump .mascot-body { animation: jump .7s cubic-bezier(.22, 1, .36, 1); }
@keyframes jump { 40% { transform: translateY(-18px) rotate(-6deg) scale(1.06); } }
.mascot-bubble {
  position: absolute; right: 52px; bottom: 30px; width: max-content; max-width: 200px;
  background: #fff; padding: 8px 12px; border-radius: 16px 16px 4px 16px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow); border: 2px solid var(--pink); text-align: left;
  opacity: 0; transform: scale(.5) translateY(10px); transform-origin: bottom right; transition: .3s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none;
}
.mascot-bubble.show { opacity: 1; transform: none; }

.bottom-nav {
  position: fixed; left: 50%; bottom: calc(12px + var(--safe-b)); transform: translateX(-50%); z-index: 700;
  width: min(420px, 100% - 24px); height: var(--nav-h); display: flex; justify-content: space-around; align-items: center;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 26px; border: 2px solid #fff; box-shadow: 0 10px 30px rgba(255, 93, 147, .25);
  transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
body.locked .bottom-nav { transform: translate(-50%, 160px); }
body.locked .mascot { transform: translateY(200px); }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; font-weight: 700; color: var(--text-soft); padding: 6px 0; border-radius: 18px; transition: .25s; }
.bottom-nav i { font-style: normal; font-size: 22px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.bottom-nav a.active { color: var(--pink-deep); }
.bottom-nav a.active i { transform: translateY(-5px) scale(1.2); }
.nav-donate i { animation: heartbeat 1.4s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }

.toast {
  position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 2000; max-width: calc(100% - 32px);
  transform: translate(-50%, -120px); background: var(--pink-deep); color: #fff; text-align: center;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.toast.show { transform: translate(-50%, 0); }

/* ================= CHIBI BÁM KHUNG ================= */
.card { position: relative; }
.card.has-peek { margin-top: 56px; }
.clinger { position: absolute; bottom: 100%; margin-bottom: -4px; z-index: 3; --dur: 13s; }
.clinger.right { right: 20px; } .clinger.left { left: 20px; }
.peek { display: block; position: relative; width: 92px; aspect-ratio: 320 / 308; overflow: hidden; }
.peek.peek-2 { width: 112px; aspect-ratio: 340 / 247; }
.peek img, .nav-peek img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  transform-origin: center bottom;
  filter: drop-shadow(0 5px 12px rgba(255, 130, 175, .24));
  transform: translateY(100%);
  animation: peekUp var(--dur, 13s) cubic-bezier(.37, 0, .63, 1) infinite;
  animation-delay: var(--d, 0s);
  transition: filter .35s ease;
}
@media (hover: hover) {
  .peek:hover img, .nav-peek:hover img { filter: drop-shadow(0 6px 15px rgba(255, 110, 165, .36)) brightness(1.03); }
}
.peek.flip img { scale: -1 1; }
@keyframes peekUp {
  0%, 14% { transform: translateY(100%); }
  23% { transform: translateY(48%); }                      /* ló mắt nhẹ nhàng */
  29%, 34% { transform: translateY(45%); }                 /* rình khẽ… */
  42% { transform: translateY(2%); }                       /* trồi lên êm ái */
  48%, 55% { transform: translateY(0) rotate(-2.5deg); }   /* nghiêng đầu dịu dàng */
  61%, 67% { transform: translateY(0) rotate(2.8deg); }
  73% { transform: translateY(1%) rotate(0); }
  85%, 100% { transform: translateY(100%); }               /* lặn xuống êm */
}

/* bàn tay nhỏ nhắn bám mép */
.hand {
  position: absolute; width: 22px; aspect-ratio: 44 / 24; pointer-events: none;
  background: url("../assets/hand.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(210, 120, 145, .22));
  opacity: 0;
  animation: handGrab var(--dur, 13s) cubic-bezier(.37, 0, .63, 1) infinite;
  animation-delay: var(--d, 0s);
}
.clinger .hand { bottom: -10px; z-index: 2; }
.clinger .hand.l { left: -2px; --tilt: -6deg; }
.clinger .hand.r { right: -2px; --tilt: 6deg; }
@keyframes handGrab {
  0%, 10% { opacity: 0; transform: translateY(-10px) scale(.75) rotate(var(--tilt, 0deg)); }
  16% { opacity: .94; transform: translateY(1px) scale(1.02) rotate(var(--tilt, 0deg)); }
  20%, 78% { opacity: .94; transform: translateY(0) rotate(var(--tilt, 0deg)); }
  42% { transform: translateY(-1.5px) rotate(var(--tilt, 0deg)); }
  84% { opacity: .7; transform: translateY(-3px) rotate(var(--tilt, 0deg)); }
  90%, 100% { opacity: 0; transform: translateY(-10px) scale(.75) rotate(var(--tilt, 0deg)); }
}

/* bị bắt gặp → ngại ngùng trốn êm */
.caught img { animation: caught .95s cubic-bezier(.4, 0, .2, 1) both !important; }
.caught .hand, .clinger.caught .hand, .nav-hand.caught-hand { animation: handLet .85s ease-out both !important; }
@keyframes caught {
  0% { transform: translateY(0); }
  28% { transform: translateY(-6%) scale(1.04) rotate(-3deg); }
  100% { transform: translateY(100%); }
}
@keyframes handLet {
  0% { opacity: .94; }
  35% { opacity: .94; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(-10px) scale(.75); }
}

/* thò đầu sau thanh menu */
.nav-peek {
  position: fixed; z-index: 690; --dur: 15s; --d: -7s;
  left: calc(50% - min(210px, 50% - 12px) + 18px);   /* = mép trái thanh menu + 18px */
  bottom: calc(12px + var(--safe-b) + var(--nav-h) - 26px);
  width: 98px; aspect-ratio: 340 / 247; overflow: hidden; transition: opacity .5s ease;
}
.nav-peek img { scale: -1 1; }
.bottom-nav .nav-hand { top: -9px; z-index: 2; --dur: 15s; --d: -7s; width: 21px; }
.bottom-nav .nav-hand.l { left: 14px; --tilt: -6deg; }
.bottom-nav .nav-hand.r { left: 92px; --tilt: 6deg; }
body.locked .nav-peek { opacity: 0; }

/* thò đầu dịu dàng từ mép màn hình (trái / phải) */
.edge-peek {
  position: fixed; z-index: 640; top: var(--y, 40%); height: 112px; width: var(--w);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(.22, 1, .36, 1), opacity .75s ease;
}
.edge-peek img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(255, 130, 175, .26));
}
.edge-peek.left { left: 0; --w: 82px; transform: translateX(-105%); }
.edge-peek.right { right: 0; --w: 108px; transform: translateX(105%); }
.edge-peek.left img { transform-origin: left center; }
.edge-peek.right img { transform-origin: right center; }
.edge-peek.left.show { transform: translateX(-14%); opacity: 1; }
.edge-peek.right.show { transform: translateX(14%); opacity: 1; }
.edge-peek.show img { animation: edgeTilt 4.8s ease-in-out .8s; }
@keyframes edgeTilt { 32% { rotate: -3deg; } 66% { rotate: 2.6deg; } 100% { rotate: 0deg; } }
body.locked .edge-peek { display: none; }

/* ================= TỰ NHẬP SỐ TIỀN ================= */
.tier.custom { border: 2px dashed var(--pink); }
.tier.custom.active { border-style: solid; }
.custom-amount {
  background: linear-gradient(135deg, #fff, #fff0f5); border: 2px solid var(--pink); border-radius: 20px;
  padding: 14px; margin-bottom: 12px; animation: popIn .4s cubic-bezier(.3, 1.6, .5, 1);
}
.custom-amount label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; text-align: center; }
.custom-input { position: relative; }
.custom-input input {
  width: 100%; border: 2px solid var(--pink); border-radius: 16px; background: #fff; outline: none;
  padding: 12px 44px 12px 16px; font: 800 26px "Baloo 2", sans-serif; color: var(--rose); text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.custom-input input:focus { border-color: var(--pink-deep); box-shadow: 0 0 0 5px rgba(255, 93, 147, .15); }
.custom-input input::placeholder { color: #f3b8cb; }
.custom-input span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 800 22px "Baloo 2", sans-serif; color: var(--pink-deep); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.quick button { background: #fff; border: 2px solid var(--pink); color: var(--pink-deep); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; min-height: 34px; }
.quick button:active { animation: jelly .4s; }
.quick .clear { border-color: #e9d3dd; color: var(--text-soft); }

.gift-sum {
  text-align: center; font-weight: 600; font-size: 14px; margin: 0 auto 18px; padding: 10px 14px;
  background: #fff; border-radius: 999px; box-shadow: 0 4px 12px rgba(255, 93, 147, .12); width: fit-content; max-width: 100%;
}
.gift-sum b { color: var(--rose); }
.gift-sum.pop { animation: jelly .45s; }

/* "hoặc mua trà cho Uyên" – cuối phần chuyển khoản */
.or-tea { display: block; text-align: center; margin-top: 18px; }
.or-tea .or-line { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-weight: 700; font-size: 13px; }
.or-tea .or-line::before, .or-tea .or-line::after { content: ""; flex: 1; border-top: 2px dashed var(--pink); }
.or-tea b {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 11px 24px; border-radius: 999px;
  font: 800 18px "Baloo 2", sans-serif; color: #fff; background: linear-gradient(135deg, #2f9150, #1d6b37);
  box-shadow: 0 8px 18px rgba(29, 107, 55, .3); animation: teaPulse 1.8s ease-in-out infinite;
}
.or-tea small { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #1d6b37; }

/* ================= UYÊN BÁN TRÀ ================= */
.tea {
  --tea: #2f9150; --tea-deep: #1d6b37; --tea-light: #e9f7ec; --tea-line: #bfe5c8; --gold: #f4c64e;
  border: 3px solid var(--tea-line);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(240,251,242,.9));
}
.tea .title b { font-weight: 800; color: var(--tea-deep); }
.tea-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: linear-gradient(135deg, var(--tea), var(--tea-deep)); color: #fff;
  border-radius: 20px; padding: 12px 14px; margin-bottom: 12px; box-shadow: 0 8px 18px rgba(29,107,55,.25);
}
.tea-brand b { display: block; font: 800 22px/1.1 "Baloo 2", sans-serif; letter-spacing: .5px; }
.tea-brand small { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #dff5e4; font-weight: 700; }
.tea-leaf { font-size: 26px; animation: wiggle 2.6s ease-in-out infinite; }
.tea-leaf.r { animation-delay: -1.3s; transform: scaleX(-1); }
.tea-intro { text-align: center; font-weight: 600; font-size: 14px; line-height: 1.55; margin-bottom: 14px; }

.tea-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 999px; padding: 4px; border: 2px solid var(--tea-line); }
.tea-switch button { position: relative; z-index: 1; padding: 9px 6px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: color .3s; }
.tea-switch button.active { color: #fff; }
.tea-switch em { font-style: normal; background: #ff4d6d; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 999px; margin-left: 2px; }
.tea-switch-bg { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(135deg, var(--tea), var(--tea-deep)); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.tea-switch.wholesale .tea-switch-bg { transform: translateX(100%); }
.tea-rule { text-align: center; font-size: 12px; color: var(--tea-deep); font-weight: 600; margin: 8px 0 12px; }

.tea-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tea-item {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 10px 12px;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s;
  animation: popIn .45s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * .05s);
}
.tea-item:active { transform: scale(.98); }
.tea-item.active { border-color: var(--tea); box-shadow: 0 6px 16px rgba(47,145,80,.18); }
.tea-no { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tea-light); color: var(--tea-deep); font-weight: 800; font-size: 14px; }
.tea-name { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.tea-tag { display: inline-block; vertical-align: 2px; margin-left: 4px; background: #ff4d6d; color: #fff; font-size: 10px; padding: 1px 7px; border-radius: 999px; animation: heartbeat 1.6s ease-in-out infinite; }
.tea-tag.premium { background: linear-gradient(135deg, #f4c64e, #e0a21b); color: #5a3b00; }
.tea-price { text-align: right; flex-shrink: 0; }
.tea-price b { display: inline; font: 800 17px/1.1 "Baloo 2", sans-serif; color: var(--tea-deep); }
.tea-price s { display: block; font-size: 12px; color: #9aa89e; }
.tea-price small { font-size: 11px; color: var(--text-soft); font-weight: 600; margin-left: 1px; }
.tea-price.contact b, .tea-price.contact small { display: block; }
.tea-switch.wholesale ~ .tea-list .tea-price b { color: #e0244f; }
.tea-price.contact b { color: #c48a00 !important; font-size: 15px; }

.tea-calc { margin-top: 16px; background: #fff; border-radius: 22px; padding: 14px; border: 2px dashed var(--tea-line); }
.tea-calc h3 { font-size: 17px; margin-bottom: 10px; color: var(--tea-deep); }
.tea-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-soft); margin-bottom: 10px; }
.tea-field select, .tea-stepper input {
  font: 700 16px "Quicksand", sans-serif; color: var(--text); border: 2px solid var(--tea-line); border-radius: 14px; padding: 10px 12px; background: #fff; outline: none; width: 100%;
}
.tea-field select:focus, .tea-stepper input:focus { border-color: var(--tea); }
.tea-stepper { display: grid; grid-template-columns: 48px 1fr 48px; gap: 6px; }
.tea-stepper input { text-align: center; font: 800 22px "Baloo 2", sans-serif; color: var(--tea-deep); }
.tea-stepper button { border-radius: 14px; background: var(--tea-light); color: var(--tea-deep); font-size: 24px; font-weight: 800; }
.tea-stepper button:active, .tea-quick button:active { animation: jelly .4s; }
.tea-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.tea-quick button { padding: 5px 12px; border-radius: 999px; border: 2px solid var(--tea-line); color: var(--tea-deep); font-weight: 700; font-size: 13px; background: #fff; }
.tea-total { background: linear-gradient(135deg, var(--tea-light), #fff); border-radius: 16px; padding: 12px; text-align: center; }
.tea-total .row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.tea-total .sum { font: 800 28px/1.2 "Baloo 2", sans-serif; color: var(--tea-deep); margin-top: 4px; }
.tea-total .save { display: inline-block; margin-top: 4px; background: #ff4d6d; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; animation: popIn .4s cubic-bezier(.3,1.6,.5,1); }
.tea-total.pop { animation: jelly .45s; }
.tea-hint { text-align: center; font-size: 13px; font-weight: 700; color: #c26a00; margin-top: 8px; }
.tea-hint:empty { display: none; }

.tea-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.tea-btn { color: #fff; background: linear-gradient(135deg, var(--tea), var(--tea-deep)); box-shadow: 0 8px 18px rgba(29,107,55,.3); font-size: 16px; }
.tea-btn:first-child { grid-column: 1 / -1; font-size: 18px; min-height: 52px; animation: teaPulse 1.8s ease-in-out infinite; }
.tea-btn.ghost { background: #fff; color: var(--tea-deep); border: 2px solid var(--tea-line); box-shadow: none; font-size: 14px; padding: 8px 10px; white-space: nowrap; }
@keyframes teaPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,145,80,.5), 0 8px 18px rgba(29,107,55,.3); } 50% { box-shadow: 0 0 0 12px rgba(47,145,80,0), 0 8px 18px rgba(29,107,55,.3); } }

.tea-policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.tea-policy div { background: #fff; border-radius: 16px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--tea-light); }
.tea-policy i { font-style: normal; font-size: 24px; }
.tea-policy b { font-size: 13px; color: var(--tea-deep); }
.tea-policy span { font-size: 11px; color: var(--text-soft); font-weight: 600; line-height: 1.35; }
.tea-foot { text-align: center; font-weight: 700; margin-top: 14px; color: var(--tea-deep); }
.tea-slogan { text-align: center; font-size: 12px; font-style: italic; color: var(--text-soft); margin-top: 4px; }
@media (max-width: 400px) {
  .tea-policy { grid-template-columns: 1fr; }
  .tea-policy div { flex-direction: row; text-align: left; align-items: center; gap: 8px; }
  .tea-policy div span { flex: 1; }
  .tea-policy b { white-space: nowrap; }
}
.bottom-nav a span { white-space: nowrap; }

/* ================= RESPONSIVE ================= */
@media (max-width: 460px) {
  .card { padding: 22px 14px; border-radius: 24px; }
  .pay-panel { flex-direction: column; }
  .qr, .qr-box { width: 200px; } .qr-box { height: 200px; }
  .pay-info { width: 100%; }
  .socials { gap: 8px; }
  .music-btn { width: 52px; height: 52px; }
  .peek { width: 82px; } .peek.peek-2 { width: 100px; }
  .edge-peek { height: 98px; }
  .edge-peek.left { --w: 72px; } .edge-peek.right { --w: 94px; }
  .donate-pointer { width: 108px; }
  .donate-bubble { padding: 9px 12px; }
  .donate-bubble span { font-size: 13px; }
}
@media (max-width: 350px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .socials .social { flex-basis: calc((100% - 10px) / 2); }
  .info-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .container { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Máy bật "giảm chuyển động": chỉ tắt hiệu ứng nền nặng, giữ lại chibi & hiệu ứng khi chạm */
  .fx-layer { display: none; }
  .blob, .avatar-ring, .orbit, .orbit span, .wave .ch, .intro-hearts span { animation: none !important; }
}
