/* =========================================================
   Bolzoo — дулаан, хайрын загвар (тоор · сарнай · алтлаг)
   ========================================================= */
:root {
  --ink: #5a2a46;
  --muted: #8b7285;
  --soft: #a98a9b;
  --ivory: #fffcfa;
  --blush: #fff3f6;
  --blush2: #ffe3ea;
  --rose: #f76a8e;
  --coral: #ff8fa6;
  --gold: #f3a85f;
  --line: #ffe0e8;
  --green: #4caf82;
  --grad: linear-gradient(135deg, #ff8fa6 0%, #f76a8e 100%);
  --shadow: 0 30px 60px -36px rgba(200, 80, 120, 0.55);
  --shadow-sm: 0 10px 22px -16px rgba(247, 106, 142, 0.6);
  --card: #ffffff;
  --panel: rgba(255, 252, 250, 0.93);
  --panel-line: rgba(255, 220, 230, 0.8);
  --hand: #a0577a;
  --avatar-bg: radial-gradient(circle at 50% 40%, #fff 0%, #fff4f1 70%);
  --ticket: linear-gradient(135deg, #fff 0%, #fff0f4 100%);
  --page-base: #fff0f4;
  --page:
    radial-gradient(520px 420px at 10% 4%, #ffe6d6 0%, transparent 60%),
    radial-gradient(520px 420px at 92% 12%, #ffdce8 0%, transparent 60%),
    radial-gradient(620px 520px at 50% 110%, #ece0ff 0%, transparent 60%),
    linear-gradient(170deg, #fff7f3 0%, #fff0f4 60%, #f9eefa 100%);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { background: var(--page-base); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  background-attachment: fixed;
  overflow-x: hidden;
}
/* унах дэлбээ */
.petals { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.petals span { position: absolute; top: -40px; opacity: 0.75; animation: fall linear infinite; }
@keyframes fall { 0% { transform: translate(0, -5vh) rotate(0deg); } 100% { transform: translate(var(--drift, 30px), 110vh) rotate(260deg); } }

a { color: var(--rose); }
button { font-family: inherit; }

.shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 22px 14px 30px; }
.panel {
  position: relative;
  width: min(460px, 100%);
  min-height: min(780px, calc(100vh - 80px));
  display: flex;
  flex-direction: column;
  padding: 22px 22px 26px;
  border-radius: 32px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  box-shadow: 0 30px 60px -36px rgba(200, 80, 120, 0.55), 0 0 0 1px rgba(255, 220, 230, 0.7) inset;
  backdrop-filter: blur(8px);
}
.screen { display: flex; flex-direction: column; flex: 1; animation: rise 0.45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.foot { position: relative; z-index: 1; margin: 18px 0 0; font-size: 14px; font-weight: 800; }
.foot a { color: var(--rose); text-decoration: none; }
.center { text-align: center; }

/* progress */
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 14px; }
.progress i { height: 6px; border-radius: 9px; background: var(--blush2); }
.progress i.on { background: var(--grad); }

.back {
  align-self: flex-start;
  font-size: 14px; font-weight: 800; color: var(--muted);
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--blush); border: 1px solid var(--line);
}
.title {
  font-family: "Comfortaa", "Nunito", sans-serif; font-weight: 600; font-size: 25px; line-height: 1.35;
  text-align: center; margin: 10px 0 20px; color: var(--ink);
}
.title.big { font-size: 26px; margin: 8px 0 12px; }

/* form */
label { display: block; margin: 18px 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--rose); }
input, textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink);
  padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: #c9a9ae; font-weight: 600; }
input:focus, textarea:focus { border-color: #ef9aa8; box-shadow: 0 0 0 4px rgba(228, 92, 120, 0.12); }
textarea { min-height: 96px; resize: vertical; }
.help { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--soft); }
.help.ok { color: var(--green); }
.file { padding: 14px; border-radius: 16px; border: 1.5px dashed #efb7bf; background: var(--blush); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.file input { padding: 0; border: 0; background: none; font-size: 14px; box-shadow: none; }
.thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); }
.link { background: none; border: none; color: var(--rose); font-weight: 800; cursor: pointer; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 18px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.check input { width: 22px; height: 22px; accent-color: var(--rose); box-shadow: none; }
.err { margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: #ffe1e4; color: #b3304e; font-weight: 800; font-size: 14px; }

/* option rows (create) */
.opt-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 20px; background: var(--blush); border: 1px solid var(--line); margin-bottom: 12px; }
.opt-fields { flex: 1; display: grid; gap: 8px; min-width: 0; }
.opt-fields input { padding: 11px 14px; font-size: 15px; }
.opt-fields input + input { font-weight: 600; color: var(--muted); }
.x { width: 34px; height: 34px; flex: none; border-radius: 50%; border: none; cursor: pointer; background: var(--card); color: var(--soft); font-size: 18px; font-weight: 800; box-shadow: var(--shadow-sm); }
.add { width: 100%; padding: 15px; border-radius: 20px; border: 1.5px dashed #efb7bf; background: transparent; color: var(--rose); font-weight: 800; font-size: 15px; cursor: pointer; }
.add:hover { background: var(--blush); }

/* buttons */
.actions { margin-top: auto; padding-top: 22px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 19px 22px; border: none; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 17px; letter-spacing: 0.6px; color: #fff;
  background: var(--grad); box-shadow: 0 14px 28px -14px var(--rose);
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
}
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: scale(0.97); }
.cta:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.green, .ghost {
  padding: 17px 12px; border-radius: 999px; font-weight: 900; font-size: 15px; cursor: pointer; text-align: center; text-decoration: none;
}
.green { border: none; background: linear-gradient(135deg, #5cc08f, #3fa97a); color: #fff; box-shadow: 0 12px 24px -14px rgba(63, 169, 122, 0.9); }
.ghost { border: 1.5px solid var(--line); background: var(--card); color: var(--rose); }
.outline { display: inline-block; padding: 12px 20px; border: 1.5px solid var(--line); background: var(--card); color: var(--rose); font-weight: 800; border-radius: 999px; cursor: pointer; text-decoration: none; }

/* hero */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.huggers { width: 210px; height: auto; margin: 6px auto 0; filter: drop-shadow(0 16px 20px rgba(196, 84, 104, 0.25)); }
.huggers.sm { width: 92px; margin: 0; flex: none; filter: none; }
.huggers .beat { transform-origin: center; transform-box: fill-box; animation: beat 1.3s ease-in-out infinite; }
.huggers .d2 { animation-delay: 0.3s; }
@keyframes beat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.2); } 40% { transform: scale(1); } }
.photo { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; border: 6px solid var(--card); box-shadow: var(--shadow), 0 0 0 2px var(--gold); margin-top: 6px; }
.kicker { margin: 4px 0 2px; font-weight: 900; font-size: 15px; color: var(--rose); letter-spacing: 2px; }
.hand { font-family: "Caveat", cursive; font-size: 22px; font-weight: 700; color: var(--hand); margin: 6px 0 0; }
.avatar {
  width: 116px; height: 116px; margin: 4px auto 12px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--avatar-bg); border: 4px solid var(--coral);
  box-shadow: 0 14px 30px -16px var(--rose), 0 0 0 8px rgba(255, 255, 255, 0.6); animation: bob 3s ease-in-out infinite;
}
.avatar svg { width: 80px; height: 80px; }
.avatar.sm { width: 76px; height: 76px; border-width: 3px; margin: 4px auto 0; }
.avatar.sm svg { width: 52px; height: 52px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.5px; color: var(--rose); background: var(--blush2); padding: 7px 16px; border-radius: 999px; }
.caps { margin: 0; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--soft); }
.caps.pink { color: var(--rose); text-align: center; margin-top: 24px; }
.sub { margin: 4px 0 0; font-weight: 700; color: var(--muted); font-size: 15px; line-height: 1.55; }
.sub.dim { font-size: 13px; min-height: 18px; color: var(--rose); }
.quote {
  position: relative; width: 100%; margin: 6px 0 16px; padding: 18px 20px; border-radius: 20px; background: var(--blush);
  font-family: "Caveat", cursive; font-size: 22px; font-weight: 700; color: var(--hand); white-space: pre-wrap; text-align: center;
}
.price-tag { margin-top: 18px; padding: 10px 20px; border-radius: 999px; background: var(--blush); border: 1px solid var(--line); font-weight: 800; color: var(--muted); }
.price-tag b { color: var(--rose); }
.big-emoji { font-size: 64px; margin: 30px 0 4px; }

/* yes / no */
.yn { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.yn .yes { width: auto; padding: 18px 34px; position: relative; z-index: 2; transform-origin: left center; }
.no {
  padding: 16px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
  color: var(--soft); font-weight: 800; font-size: 15px; cursor: pointer; white-space: nowrap; z-index: 1;
  transition: left 0.25s ease, top 0.25s ease;
}
.no.flee { position: absolute; }

/* choices (invite) */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  position: relative; text-align: left; padding: 16px; border-radius: 20px; cursor: pointer; color: var(--ink);
  border: 1.5px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px; transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}
.choice b { font-size: 16px; font-weight: 900; line-height: 1.25; }
.choice small { font-size: 13.5px; font-weight: 700; color: var(--soft); }
.choice.wide { grid-column: 1 / -1; background: var(--blush); }
.choice:active { transform: scale(0.97); }
.choice.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 16px 28px -14px rgba(228, 92, 120, 0.9); }
.choice.on small { color: rgba(255, 255, 255, 0.85); }
.choice.on::after { content: "♥"; position: absolute; top: 10px; right: 12px; font-size: 14px; }

/* ticket */
.ticket {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 22px 18px;
  border-radius: 22px; background: var(--ticket);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ivory); }
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.t-body { flex: 1; min-width: 0; padding-left: 12px; border-left: 1.5px dashed #ffc6d3; }
.t-head { margin: 0 0 8px; font-size: 12.5px; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; color: var(--rose); }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.t-grid span { display: block; font-size: 11px; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; color: #c07a86; }
.t-grid b { font-size: 15px; line-height: 1.3; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 12px 0 22px; }
.countdown div { min-width: 60px; padding: 10px 6px; border-radius: 16px; background: var(--card); text-align: center; box-shadow: var(--shadow-sm); }
.countdown b { display: block; font-family: "Comfortaa", sans-serif; font-weight: 700; font-size: 24px; color: var(--ink); }
.countdown span { font-size: 11px; font-weight: 800; color: var(--soft); }
.pill-note { display: inline-block; margin-top: 16px; padding: 13px 22px; border-radius: 999px; background: var(--blush); color: var(--rose); font-weight: 900; }

/* pay / manage */
.pay-box { padding: 22px 20px; border-radius: 24px; background: linear-gradient(160deg, var(--card) 0%, var(--blush) 100%); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.pay-box .amount { font-family: "Comfortaa", sans-serif; font-size: 40px; font-weight: 700; margin: 6px 0; color: var(--rose); }
.pay-box .cta { margin-top: 16px; }
.pay-box .ghost { display: block; width: 100%; margin-top: 12px; }
.waiting { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--soft); font-weight: 700; font-size: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--blush2); border-top-color: var(--rose); animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbox { width: 100%; padding: 16px; border-radius: 18px; background: var(--blush); border: 1px dashed #efb7bf; font-weight: 800; text-align: center; word-break: break-all; user-select: all; color: #6b3443; }
.answer { margin-top: 18px; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, #fff1ee, #fde0e3); border: 1px solid var(--line); }
.answer h3 { margin: 0 0 8px; font-family: "Comfortaa", sans-serif; font-size: 18px; color: var(--rose); }
.answer p { margin: 4px 0; font-weight: 700; color: var(--muted); }
.answer p b { color: var(--ink); }

/* dashboard */
.inv { padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.inv-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.inv-head small { display: block; color: var(--soft); font-weight: 700; }
.chip { font-size: 12px; font-weight: 900; padding: 5px 10px; border-radius: 999px; background: var(--blush); color: var(--muted); white-space: nowrap; }
.chip.ok { background: #dff4e9; color: #2f8a5f; }
.chip.warn { background: #fff0d9; color: #b07a2a; }
.inv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.inv-actions a, .inv-actions button { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; border: 1px solid var(--line); background: var(--blush); color: var(--rose); text-decoration: none; cursor: pointer; }
.inv-answer { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.inv-answer b { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stats div { padding: 12px; border-radius: 18px; background: var(--blush); text-align: center; }
.stats b { display: block; font-family: "Comfortaa", sans-serif; font-size: 26px; color: var(--rose); }
.stats span { font-size: 11px; font-weight: 800; color: var(--soft); text-transform: uppercase; }

@media (max-width: 420px) {
  .shell { padding: 12px 10px 24px; }
  .panel { padding: 18px 16px 22px; border-radius: 26px; }
  .title { font-size: 27px; }
  .title.big { font-size: 32px; }
  .choice { padding: 14px; }
  .countdown div { min-width: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
  .huggers .beat, .avatar { animation: none; }
}

/* =========================================================
   Загварууд (урилга бүр өөрийн загвартай)
   ========================================================= */
.theme-lavender {
  --ink: #3f2d5c; --muted: #7b6b94; --soft: #a497b8; --blush: #f5f0ff; --blush2: #e7ddff; --rose: #8b6fd6; --coral: #b9a2f0;
  --line: #e6dcfb; --hand: #7a5bb8; --grad: linear-gradient(135deg, #b9a2f0 0%, #8b6fd6 100%);
  --shadow: 0 30px 60px -36px rgba(110, 80, 180, 0.55); --shadow-sm: 0 10px 22px -16px rgba(139, 111, 214, 0.6);
  --panel: rgba(253, 251, 255, 0.94); --panel-line: rgba(225, 214, 250, 0.9);
  --avatar-bg: radial-gradient(circle at 50% 40%, #fff 0%, #f4efff 70%); --ticket: linear-gradient(135deg, #fff 0%, #f3edff 100%);
  --page-base: #f3eeff;
  --page: radial-gradient(520px 420px at 10% 4%, #e8e0ff 0%, transparent 60%), radial-gradient(520px 420px at 92% 12%, #ffe1f0 0%, transparent 60%),
    radial-gradient(620px 520px at 50% 110%, #d9ecff 0%, transparent 60%), linear-gradient(170deg, #faf7ff 0%, #f3eeff 60%, #eef3ff 100%);
}
.theme-night {
  --ink: #f6eeff; --muted: #c9b8e6; --soft: #a593c6; --blush: rgba(255, 255, 255, 0.07); --blush2: rgba(255, 255, 255, 0.14);
  --rose: #ff86b8; --coral: #ffd36e; --gold: #ffd36e; --line: rgba(255, 255, 255, 0.14); --hand: #ffd36e;
  --grad: linear-gradient(135deg, #ff86b8 0%, #a46bff 100%);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); --shadow-sm: 0 10px 22px -14px rgba(0, 0, 0, 0.7);
  --card: rgba(255, 255, 255, 0.07); --panel: rgba(28, 22, 64, 0.72); --panel-line: rgba(255, 255, 255, 0.14);
  --avatar-bg: radial-gradient(circle, #2c2366, #16113a); --ticket: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 134, 184, 0.12));
  --page-base: #0e0b26;
  --page: radial-gradient(700px 500px at 85% -5%, #3b2a7a 0%, transparent 60%), radial-gradient(600px 500px at 0% 100%, #4a1f5c 0%, transparent 60%),
    radial-gradient(1.4px 1.4px at 30px 40px, #fff, transparent) 0 0 / 180px 160px, radial-gradient(1px 1px at 110px 120px, #ffe9a8, transparent) 0 0 / 220px 190px, #0e0b26;
}
.theme-night .title, .theme-night .t-grid b, .theme-night .countdown b, .theme-night .answer p b, .theme-night .inv-answer b { color: #fff; }
.theme-night .avatar { box-shadow: 0 0 36px -6px #ffd36e; }
.theme-night .t-grid span, .theme-night .t-head { color: #ffd36e; }
.theme-night input::placeholder, .theme-night textarea::placeholder { color: #8d80ad; }
.theme-night input[type="date"] { color-scheme: dark; }
.theme-night .err { background: rgba(255, 80, 120, 0.18); color: #ffc2d1; }
.theme-night .ticket::before, .theme-night .ticket::after { background: #1d1748; }
.theme-retro {
  --ink: #3b2a20; --muted: #7d6553; --soft: #9c8370; --blush: #f6ead8; --blush2: #ecd9bd; --rose: #b23a2e; --coral: #c9553f; --gold: #b0843e;
  --line: #dcc6a6; --hand: #b23a2e; --grad: linear-gradient(135deg, #c9553f 0%, #a8352a 100%);
  --shadow: 0 24px 40px -28px rgba(80, 50, 20, 0.6); --shadow-sm: 0 8px 18px -14px rgba(80, 50, 20, 0.6);
  --card: #fffaf0; --panel: rgba(255, 249, 238, 0.96); --panel-line: #dcc6a6;
  --avatar-bg: #f6e3cf; --ticket: #fbf1e1; --page-base: #efe2cc;
  --page: repeating-linear-gradient(0deg, rgba(120, 90, 60, 0.04) 0 2px, transparent 2px 4px), linear-gradient(170deg, #f5ead8 0%, #ecdcc2 100%);
}
.theme-retro .title { font-family: "Lora", Georgia, serif; font-weight: 700; }
.theme-retro .panel::after { content: ""; position: absolute; inset: 10px; border: 1px dashed #d4b893; border-radius: 24px; pointer-events: none; }
.theme-retro .avatar { border-style: dashed; }

/* загвар сонгогч */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }
.theme-opt { padding: 0; border: 2px solid var(--line); border-radius: 16px; background: var(--card); cursor: pointer; overflow: hidden; font-weight: 800; font-size: 12px; color: var(--ink); }
.theme-opt i { display: block; height: 46px; }
.theme-opt span { display: block; padding: 6px 2px; }
.theme-opt.on { border-color: var(--rose); box-shadow: 0 0 0 3px var(--blush2); }
.theme-opt[data-theme="pink"] i { background: linear-gradient(135deg, #ffe6d6, #ff8fa6); }
.theme-opt[data-theme="lavender"] i { background: linear-gradient(135deg, #e8e0ff, #8b6fd6); }
.theme-opt[data-theme="night"] i { background: radial-gradient(1.5px 1.5px at 10px 12px, #fff, transparent) 0 0 / 22px 18px, linear-gradient(135deg, #3b2a7a, #0e0b26); }
.theme-opt[data-theme="retro"] i { background: linear-gradient(135deg, #f5ead8, #b23a2e); }

/* хөгжим */
.music-btn {
  position: fixed; right: 14px; bottom: 14px; z-index: 20; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.music-btn .eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.music-btn .eq i { width: 3px; background: var(--rose); border-radius: 2px; height: 4px; }
.music-btn.on .eq i { animation: eq 0.9s ease-in-out infinite; }
.music-btn.on .eq i:nth-child(2) { animation-delay: 0.2s; } .music-btn.on .eq i:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.music-frame { position: fixed; right: 10px; top: 10px; z-index: 19; width: 112px; height: 63px; border: 0; border-radius: 12px; box-shadow: var(--shadow-sm); pointer-events: none; opacity: 0.92; }

/* цаг сонгох */
.time-wrap { margin-top: 16px; }
.tods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.tod, .slot { font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 2px; background: var(--card); color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { border-radius: 12px; padding: 10px 2px; font-size: 14px; }
.tod.on, .slot.on { background: var(--grad); border-color: transparent; color: #fff; }
.place-line { margin: 10px 0 0; text-align: center; font-weight: 800; color: var(--muted); }
.place-line a { font-weight: 900; }

/* засах / устгах */
.owner-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.owner-actions button, .owner-actions a { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); font-weight: 800; font-size: 13px; cursor: pointer; text-decoration: none; }
.owner-actions .danger { color: #c93a55; border-color: #f5c2cc; }
body.has-music .shell { padding-bottom: 86px; }

/* төрөл сонгох */
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: stretch; margin-top: 16px; }
.kind-opt { text-align: left; padding: 14px; border-radius: 18px; border: 2px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.kind-opt b { font-size: 15px; font-weight: 900; }
.kind-opt small { font-size: 12.5px; font-weight: 700; color: var(--soft); }
.kind-opt.on { border-color: var(--rose); background: var(--blush); box-shadow: 0 0 0 3px var(--blush2); }

/* жишээ */
.demo-link { display: block; margin-top: 14px; text-align: center; font-weight: 900; font-size: 15px; color: var(--rose); text-decoration: none; padding: 12px; border-radius: 999px; border: 1.5px dashed var(--line); }
.demo-bar { position: sticky; top: 0; z-index: 30; text-align: center; padding: 10px 14px; font-size: 13px; font-weight: 800; color: #fff; background: var(--grad); }
.demo-bar a { color: #fff; margin-left: 8px; text-decoration: underline; }
