:root {
  --bg: #0a0618;
  --bg2: #140c28;
  --card: rgba(255, 255, 255, 0.07);
  --card-solid: #1a1230;
  --card-hover: rgba(255, 255, 255, 0.12);
  --text: #f7f3ff;
  --muted: #b4a8d4;
  --accent: #c44dff;
  --accent2: #00e5ff;
  --magenta: #ff2d95;
  --pink: #ff6bcb;
  --purple: #8b5cff;
  --cyan: #00e5ff;
  --danger: #ff4d6d;
  --ok: #2effa0;
  --border: rgba(255, 255, 255, 0.12);
  --glow-purple: 0 0 24px rgba(139, 92, 255, 0.45);
  --glow-cyan: 0 0 24px rgba(0, 229, 255, 0.35);
  --glow-pink: 0 0 24px rgba(255, 45, 149, 0.4);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 18px;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.14);
  --tg-bg: var(--tg-theme-bg-color, var(--bg));
  --tg-text: var(--tg-theme-text-color, var(--text));
  --tg-hint: var(--tg-theme-hint-color, var(--muted));
  --tg-button: var(--tg-theme-button-color, var(--purple));
  --tg-button-text: var(--tg-theme-button-text-color, #fff);
  --tg-secondary: var(--tg-theme-secondary-bg-color, var(--bg2));
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--tg-bg);
  color: var(--tg-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  position: relative;
  isolation: isolate;
}

/* ---------- Animated background ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(139, 92, 255, 0.45) 0%, transparent 55%),
    radial-gradient(700px 420px at 95% 5%, rgba(255, 45, 149, 0.35) 0%, transparent 50%),
    radial-gradient(800px 480px at 50% 110%, rgba(0, 229, 255, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0a0618 0%, #12081f 40%, #0d1428 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
  animation: orbFloat 18s ease-in-out infinite;
}

.bg-orb.o1 {
  width: 220px; height: 220px;
  top: 8%; left: -40px;
  background: radial-gradient(circle, #c44dff 0%, transparent 70%);
  animation-duration: 16s;
}

.bg-orb.o2 {
  width: 280px; height: 280px;
  top: 35%; right: -80px;
  background: radial-gradient(circle, #00e5ff 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -4s;
}

.bg-orb.o3 {
  width: 200px; height: 200px;
  bottom: 12%; left: 20%;
  background: radial-gradient(circle, #ff2d95 0%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -8s;
}

.bg-orb.o4 {
  width: 160px; height: 160px;
  top: 55%; left: 55%;
  background: radial-gradient(circle, #8b5cff 0%, transparent 70%);
  animation-duration: 14s;
  animation-delay: -2s;
  opacity: 0.35;
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(30px, -24px, 0) scale(1.08); }
  66% { transform: translate3d(-20px, 18px, 0) scale(0.94); }
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(25deg); }
}

.bg-layer { animation: gradientShift 24s ease-in-out infinite; }

/* ---------- Header ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: linear-gradient(180deg, rgba(20, 10, 40, 0.85) 0%, rgba(20, 10, 40, 0.55) 100%);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 16px 12px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
}

.app-header h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: linear-gradient(110deg, #fff 10%, #ff6bcb 45%, #8b5cff 70%, #00e5ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShine 8s linear infinite;
}

@keyframes titleShine {
  to { background-position: 200% center; }
}

.app-header .sub {
  margin: 5px 0 0;
  font-size: 0.78rem;
  color: var(--tg-hint);
  opacity: 0.9;
}

/* ---------- Tab bar ---------- */
.tabs {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 6, 24, 0.92);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

.tab-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--tg-hint);
  border-radius: 14px;
  padding: 8px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease, transform 0.2s ease;
}

.tab-btn .ico {
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #8b5cff 0%, #ff2d95 55%, #ff6bcb 100%);
  box-shadow: var(--glow-pink), 0 4px 16px rgba(139, 92, 255, 0.35);
}

.tab-btn.active .ico {
  animation: iconBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-btn.press {
  transform: scale(0.92);
}

@keyframes iconBounce {
  0% { transform: scale(1) translateY(0); }
  40% { transform: scale(1.28) translateY(-4px); }
  70% { transform: scale(0.92) translateY(1px); }
  100% { transform: scale(1) translateY(0); }
}

/* ---------- Panels ---------- */
.panel {
  display: none;
  padding: 14px 14px 20px;
  opacity: 0;
  transform: translateY(10px);
}

.panel.active {
  display: block;
  animation: panelIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.panel.leaving {
  display: block;
  animation: panelOut 0.18s ease forwards;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes panelOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-6px); }
}

/* ---------- Search ---------- */
.search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.search-row input {
  flex: 1;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--tg-text);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-row input:focus {
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18), var(--glow-cyan);
}

.search-row input::placeholder {
  color: var(--tg-hint);
  opacity: 0.75;
}

/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--tg-button), #ff2d95 60%, #00e5ff);
  background-size: 180% 180%;
  color: var(--tg-button-text);
  box-shadow: 0 4px 18px rgba(139, 92, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s;
  position: relative;
  overflow: hidden;
}

.btn:hover { filter: brightness(1.08); }
.btn:active,
.btn.press {
  transform: scale(0.96);
  box-shadow: 0 2px 10px rgba(139, 92, 255, 0.3);
}

.btn.secondary {
  background: var(--glass);
  color: var(--tg-text);
  border: 1px solid var(--glass-border);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn.ghost {
  background: transparent;
  color: var(--accent2);
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: none;
}

.btn:disabled { opacity: 0.5; cursor: default; transform: none; }

/* ---------- Mood grid ---------- */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mood-btn {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, border-color 0.2s;
}

.mood-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255,255,255,0.35) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.mood-btn.ripple::after { opacity: 1; transition: opacity 0s; }

.mood-btn span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.mood-btn[data-mood="ziqi"] {
  background: linear-gradient(145deg, rgba(90, 60, 180, 0.55), rgba(40, 30, 90, 0.7));
}
.mood-btn[data-mood="oshiq"] {
  background: linear-gradient(145deg, rgba(255, 45, 149, 0.55), rgba(180, 40, 100, 0.65));
}
.mood-btn[data-mood="tuyona"] {
  background: linear-gradient(145deg, rgba(255, 180, 40, 0.5), rgba(255, 80, 120, 0.55));
}
.mood-btn[data-mood="orom"] {
  background: linear-gradient(145deg, rgba(40, 120, 200, 0.5), rgba(0, 180, 200, 0.45));
}
.mood-btn[data-mood="shod"] {
  background: linear-gradient(145deg, rgba(255, 100, 200, 0.55), rgba(139, 92, 255, 0.55));
}
.mood-btn[data-mood="today"] {
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.45), rgba(139, 92, 255, 0.55));
}

.mood-btn:active,
.mood-btn.press {
  transform: scale(0.94);
}

.mood-btn.active {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: var(--glow-pink), 0 6px 20px rgba(0, 0, 0, 0.35);
  transform: scale(1.03);
}

.mood-btn.active span { color: rgba(255, 255, 255, 0.9); }

/* ---------- Hit list (glass cards) ---------- */
.hit-list { display: flex; flex-direction: column; gap: 8px; }

.hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease, background 0.2s, box-shadow 0.25s, border-color 0.2s;
}

.hit.visible {
  opacity: 1;
  transform: none;
  animation: hitIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hitIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.hit:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: var(--glow-cyan), var(--shadow);
}

.hit:active,
.hit.press {
  transform: scale(0.97);
  background: var(--card-hover);
}

.hit-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 255, 0.45), rgba(255, 45, 149, 0.4));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(139, 92, 255, 0.35);
}

.hit-body { flex: 1; min-width: 0; }

.hit-title {
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hit-perf {
  font-size: 0.78rem;
  color: var(--tg-hint);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hit-play {
  font-size: 1.2rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.5));
}

.results-fade {
  animation: resultsFade 0.35s ease;
}

@keyframes resultsFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Status ---------- */
.status {
  text-align: center;
  color: var(--tg-hint);
  padding: 24px 12px;
  font-size: 0.9rem;
}

.status.error { color: var(--danger); }

/* ---------- Artists ---------- */
.artist-list { display: flex; flex-direction: column; gap: 10px; }

.artist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid transparent;
  background-clip: padding-box;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-10px);
  transition: transform 0.2s ease, box-shadow 0.25s;
}

.artist-row.visible {
  opacity: 1;
  transform: none;
  animation: artistSlide 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes artistSlide {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}

.artist-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #8b5cff, #ff2d95, #00e5ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.artist-row:active,
.artist-row.press {
  transform: scale(0.97);
}

.artist-avatar {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cff, #ff2d95);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255, 45, 149, 0.35);
}

.artist-avatar.ph {
  display: grid; place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
}

.artist-name { font-weight: 700; font-size: 0.95rem; }
.artist-meta { font-size: 0.75rem; color: var(--tg-hint); margin-top: 2px; }

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 8px;
}

.pager .page-info { font-size: 0.85rem; color: var(--tg-hint); }

#artist-detail.slide-in {
  animation: detailIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes detailIn {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}

.bio-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow), var(--glow-purple);
  position: relative;
}

.bio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #8b5cff, #ff2d95, #00e5ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.bio-card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.bio-card h2 { margin: 0 0 4px; font-size: 1.2rem; }
.bio-card .meta { color: var(--tg-hint); font-size: 0.82rem; margin-bottom: 10px; }
.bio-card .bio {
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }

.chip {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 255, 0.3), rgba(255, 45, 149, 0.25));
  color: #f0e6ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Quiz ---------- */
.quiz-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow), var(--glow-purple);
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--tg-hint);
  margin-bottom: 10px;
}

.quiz-q {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}

.opt {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--tg-text);
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, background 0.2s, box-shadow 0.25s;
}

.opt:active,
.opt.press { transform: scale(0.98); }
.opt:disabled { cursor: default; }

.opt.correct {
  border-color: var(--ok);
  background: rgba(46, 255, 160, 0.18);
  box-shadow: 0 0 20px rgba(46, 255, 160, 0.35);
  animation: correctPulse 0.6s ease;
}

.opt.wrong {
  border-color: var(--danger);
  background: rgba(255, 77, 109, 0.14);
  animation: wrongShake 0.45s ease;
}

@keyframes correctPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 255, 160, 0.55); transform: scale(1); }
  50% { box-shadow: 0 0 28px 6px rgba(46, 255, 160, 0.4); transform: scale(1.02); }
  100% { box-shadow: 0 0 16px rgba(46, 255, 160, 0.3); transform: scale(1); }
}

@keyframes wrongShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}


.quiz-card.celebrate {
  animation: correctPulse 0.65s ease;
  box-shadow: 0 0 28px rgba(46, 255, 160, 0.4), var(--shadow);
}

.quiz-card.shake-soft {
  animation: wrongShake 0.45s ease;
}

.quiz-feedback {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--tg-hint);
  animation: resultsFade 0.3s ease;
}

.quiz-score {
  text-align: center;
  padding: 28px 12px;
}

.quiz-score .big {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8b5cff, #ff2d95, #00e5ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShine 4s linear infinite, correctPulse 1s ease;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg-layer,
  .bg-orb,
  .app-header h1,
  .quiz-score .big {
    animation: none !important;
  }

  .panel.active,
  .panel.leaving,
  .hit.visible,
  .artist-row.visible,
  #artist-detail.slide-in,
  .tab-btn.active .ico,
  .opt.correct,
  .opt.wrong,
  .results-fade,
  
.quiz-card.celebrate {
  animation: correctPulse 0.65s ease;
  box-shadow: 0 0 28px rgba(46, 255, 160, 0.4), var(--shadow);
}

.quiz-card.shake-soft {
  animation: wrongShake 0.45s ease;
}

.quiz-feedback {
    animation: none !important;
  }

  .hit,
  .artist-row {
    opacity: 1;
    transform: none;
  }

  .mood-btn,
  .btn,
  .hit,
  .tab-btn,
  .opt {
    transition: none !important;
  }
}


/* ---- Admin contact ---- */
.header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.admin-chip {
  flex-shrink: 0;
  appearance: none;
  border: 1px solid rgba(255,105,180,0.45);
  background: linear-gradient(135deg, rgba(255,45,149,0.35), rgba(139,92,255,0.35));
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: var(--glow-pink);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.admin-chip.press, .admin-chip:active { transform: scale(0.94); }
.tabs-5 { grid-template-columns: repeat(5, 1fr); }
.tabs-5 .tab-btn { font-size: 0.62rem; padding: 6px 2px; }
.tabs-5 .tab-btn .ico { font-size: 1.05rem; }
.admin-card {
  margin: 8px 4px;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  text-align: center;
  animation: fadeUp 0.35s ease both;
}
.admin-icon { font-size: 2.4rem; margin-bottom: 8px; }
.admin-card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.admin-text { margin: 0 0 16px; color: var(--tg-hint); font-size: 0.9rem; line-height: 1.45; }
.admin-hint { margin: 14px 0 0; color: var(--tg-hint); font-size: 0.75rem; line-height: 1.4; }
.btn.admin-open {
  background: linear-gradient(135deg, #ff2d95, #8b5cff);
  box-shadow: var(--glow-pink);
}


/* ---- Floating bot sticker (side, clears bottom tabs) ---- */
.bot-sticker {
  position: fixed;
  right: 10px;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg, #ff2d95 0%, #8b5cff 55%, #00e5ff 120%);
  box-shadow: 0 8px 24px rgba(139, 92, 255, 0.45), 0 0 0 2px rgba(255,255,255,0.2);
  animation: stickerBob 2.8s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.bot-sticker-aura {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,149,0.45) 0%, transparent 70%);
  animation: stickerPulse 2.2s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}
.bot-sticker-face {
  font-size: 1.45rem;
  line-height: 1;
  animation: stickerWiggle 3.2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}
.bot-sticker-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.bot-sticker.press {
  transform: scale(0.9);
  animation: none;
}
@keyframes stickerBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes stickerPulse {
  0% { opacity: 0.85; transform: scale(0.92); }
  70% { opacity: 0; transform: scale(1.25); }
  100% { opacity: 0; transform: scale(1.25); }
}
@keyframes stickerWiggle {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bot-sticker,
  .bot-sticker-aura,
  .bot-sticker-face { animation: none !important; }
}


.mood-section-label {
  margin: 16px 4px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tg-hint);
  opacity: 0.9;
}
.mood-btn.lang-btn[data-mood="hindi"] {
  background: linear-gradient(145deg, #ff6b35 0%, #f7c948 100%);
}
.mood-btn.lang-btn[data-mood="iranian"] {
  background: linear-gradient(145deg, #00b09b 0%, #96c93d 100%);
}
.mood-btn.lang-btn[data-mood="turkish"] {
  background: linear-gradient(145deg, #e53935 0%, #e35d5b 55%, #ffffff22 100%);
}
.mood-btn.lang-btn[data-mood="arabic"] {
  background: linear-gradient(145deg, #0f9b8e 0%, #1b5e20 100%);
}
