/* תיבת נח – זמן נשמה · demo app styles */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(assets/fonts/assistant-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(assets/fonts/assistant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --purple: #3D0E61;
  --purple-2: #5a2385;
  --purple-3: #7b4aa0;
  --pink: #ca0b79;
  --pink-soft: #e874ad;
  --blush: #F6EEF4;
  --blush-2: #efe0ec;
  --ink: #2a0b42;
  --muted: #7a6a86;
  --card: #ffffff;
  --line: rgba(61, 14, 97, .09);
  --shadow: 0 10px 30px -12px rgba(61, 14, 97, .28);
  --shadow-sm: 0 4px 14px -6px rgba(61, 14, 97, .22);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --tabbar-h: 68px;
  --mini-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --app-w: 480px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--blush);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.45;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--pink); outline-offset: 2px; border-radius: 10px; }

.backdrop {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(202, 11, 121, .10), transparent 60%),
    radial-gradient(90% 50% at 0% 30%, rgba(61, 14, 97, .10), transparent 60%),
    linear-gradient(180deg, #fbf5f9 0%, var(--blush) 50%, #f1e3ee 100%);
}

/* ---------- App shell ---------- */
.app {
  position: relative;
  max-width: var(--app-w);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
}
.app.has-mini { padding-bottom: calc(var(--tabbar-h) + var(--mini-h) + var(--safe-b) + 22px); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--safe-t)) 18px 10px;
  background: linear-gradient(180deg, rgba(246, 238, 244, .96) 60%, rgba(246, 238, 244, 0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 17px; color: var(--purple); }
.brand-tag { font-size: 12.5px; color: var(--pink); font-weight: 600; letter-spacing: .02em; }
.demo-pill {
  margin-inline-start: auto;
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--pink);
  padding: 4px 9px; border-radius: 99px;
  box-shadow: 0 3px 10px -4px rgba(202, 11, 121, .6);
}
.lang-btn {
  font-size: 13.5px; font-weight: 700; color: var(--purple);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 99px; box-shadow: var(--shadow-sm);
  min-height: 36px;
}

.view { padding: 4px 18px 8px; outline: none; }
.screen { animation: fadeUp .38s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.demo-banner {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--purple-2);
  background: rgba(255, 255, 255, .7);
  border: 1px dashed rgba(202, 11, 121, .35);
  border-radius: 14px; padding: 8px 12px; margin: 4px 0 14px;
}
.demo-banner::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }

/* ---------- Home ---------- */
.greet { margin: 6px 0 16px; }
.greet h1 { font-size: 30px; font-weight: 800; color: var(--purple); line-height: 1.1; letter-spacing: -.01em; }
.greet p { color: var(--muted); font-size: 16px; margin-top: 4px; }

.hero {
  position: relative; display: block; width: 100%; text-align: start;
  border-radius: var(--r-lg); overflow: hidden;
  min-height: 300px; color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.hero:hover .hero-art { transform: scale(1.03); }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(61, 14, 97, 0) 30%, rgba(42, 6, 70, .78) 100%);
}
.hero-body { position: absolute; inset-inline: 0; bottom: 0; padding: 18px 18px 18px; display: flex; align-items: flex-end; gap: 12px; }
.hero-text { flex: 1; min-width: 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 3px 10px; border-radius: 99px; margin-bottom: 8px;
}
.hero-title { font-size: 23px; font-weight: 800; line-height: 1.15; }
.hero-sub { font-size: 14.5px; opacity: .9; margin-top: 3px; }
.hero-meta { font-size: 13px; opacity: .85; margin-top: 6px; }
.hero-play {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  background: #fff; color: var(--pink); display: grid; place-items: center;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .35);
}
.hero-play svg { width: 26px; height: 26px; fill: currentColor; }

.section { margin-top: 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.section-head h2 { font-size: 19px; font-weight: 800; color: var(--purple); }
.section-head a { font-size: 14px; font-weight: 700; color: var(--pink); padding: 6px 2px; }

.hscroll {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -18px; padding: 2px 18px 10px; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.hscroll::-webkit-scrollbar { display: none; }

.c-card {
  flex: none; width: 160px; scroll-snap-align: start; text-align: start;
  background: var(--card); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.c-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.c-card .c-body { padding: 9px 11px 11px; }
.c-card .c-title { font-weight: 700; font-size: 14.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.c-card .c-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.c-progress { height: 4px; background: var(--blush-2); border-radius: 4px; overflow: hidden; margin-top: 7px; }
.c-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--purple-3)); border-radius: 4px; }
[dir="rtl"] .c-progress span { margin-inline-start: 0; }

.empty {
  background: rgba(255, 255, 255, .65); border-radius: var(--r-md); padding: 16px;
  color: var(--muted); font-size: 15px; border: 1px solid var(--line);
}

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic {
  position: relative; display: block; border-radius: var(--r-md); overflow: hidden;
  min-height: 112px; color: #fff; box-shadow: var(--shadow-sm); isolation: isolate;
}
.topic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.topic::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 6, 70, 0) 20%, rgba(42, 6, 70, .72)); }
.topic .t-body { position: absolute; inset-inline: 0; bottom: 0; padding: 10px 12px; }
.topic .t-title { font-weight: 800; font-size: 15px; line-height: 1.15; }
.topic .t-meta { font-size: 12px; opacity: .88; margin-top: 2px; }

.install-card {
  display: flex; align-items: center; gap: 12px; margin-top: 26px;
  background: linear-gradient(120deg, #fff 0%, #fbeef6 100%);
  border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.install-card img { width: 46px; height: 46px; border-radius: 13px; flex: none; }
.install-card .ic-text { flex: 1; min-width: 0; }
.install-card strong { display: block; color: var(--purple); font-size: 15.5px; }
.install-card span { font-size: 13.5px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 99px;
  font-weight: 800; font-size: 15.5px;
  background: linear-gradient(135deg, var(--pink) 0%, #a10a6a 100%); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(202, 11, 121, .65);
}
.btn.secondary { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Library ---------- */
.page-head { margin: 6px 0 14px; }
.page-head h1 { font-size: 28px; font-weight: 800; color: var(--purple); line-height: 1.1; }
.page-head p { color: var(--muted); margin-top: 4px; font-size: 15px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--pink); font-weight: 700; font-size: 15px; padding: 6px 0; margin-bottom: 2px; }
.back-link svg { width: 18px; height: 18px; }
[dir="ltr"] .back-link svg { transform: scaleX(-1); }

.cat-list { display: grid; gap: 12px; }
.cat-row {
  display: flex; align-items: center; gap: 13px; text-align: start; width: 100%;
  background: var(--card); border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease);
}
.cat-row:active { transform: scale(.985); }
.cat-row img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; flex: none; }
.cat-row .cr-text { flex: 1; min-width: 0; }
.cat-row .cr-title { font-weight: 800; font-size: 16.5px; color: var(--purple); line-height: 1.2; }
.cat-row .cr-desc { color: var(--muted); font-size: 13.5px; margin-top: 1px; }
.cat-row .cr-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chip { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--blush); color: var(--purple-2); }
.chip.on { background: rgba(202, 11, 121, .1); color: var(--pink); }
.chev { width: 20px; height: 20px; color: #b9a6c6; flex: none; }
[dir="ltr"] .chev { transform: scaleX(-1); }

.cat-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 170px; box-shadow: var(--shadow); margin-bottom: 14px; isolation: isolate; color: #fff; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cat-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 6, 70, 0) 25%, rgba(42, 6, 70, .78)); }
.cat-hero .ch-body { position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px; }
.cat-hero h1 { font-size: 24px; font-weight: 800; line-height: 1.12; }
.cat-hero p { font-size: 14px; opacity: .9; margin-top: 2px; }

.tracks { display: grid; gap: 8px; }
.track {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: var(--r-md); padding: 10px 10px; box-shadow: var(--shadow-sm);
  min-height: 64px;
}
.track.locked { background: rgba(255, 255, 255, .6); box-shadow: none; border: 1px solid var(--line); }
.track-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-align: start; padding: 2px 0; }
.track-ico {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple-2) 100%); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(202, 11, 121, .7);
}
.track-ico svg { width: 20px; height: 20px; fill: currentColor; }
.track.locked .track-ico { background: var(--blush); color: #a796b4; box-shadow: none; }
.track.is-current .track-ico { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-3) 100%); }
.track-text { min-width: 0; flex: 1; }
.track-title { font-weight: 700; font-size: 15.5px; line-height: 1.25; overflow-wrap: anywhere; }
.track.locked .track-title { color: #6e5d7c; font-weight: 600; }
.track-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.track .fav-btn { color: #c7b5d3; flex: none; }
.track .fav-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.track .fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.track .fav-btn[aria-pressed="true"], .player .fav-btn[aria-pressed="true"] { color: var(--pink); }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.eq i { width: 2.5px; background: var(--pink); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
.paused .eq, .track:not(.is-playing) .eq { display: none; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 11px; } }

/* ---------- Profile ---------- */
.card { background: var(--card); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.card h2 { font-size: 17px; font-weight: 800; color: var(--purple); margin-bottom: 6px; }
.card p { font-size: 14.5px; color: #5f4f6d; }
.card .note { font-size: 13px; color: var(--pink); background: rgba(202, 11, 121, .07); border-radius: 10px; padding: 8px 10px; margin: 10px 0 12px; }
.member-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blush-2), #fff); color: var(--purple); flex: none; }
.avatar svg { width: 28px; height: 28px; fill: currentColor; }
.member-head .mh-name { font-weight: 800; font-size: 17px; color: var(--purple); }
.member-head .mh-status { font-size: 13px; color: var(--muted); }
.member-head .mh-status.on { color: var(--pink); font-weight: 700; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row label { font-weight: 600; font-size: 15px; }
.demo-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--pink); background: rgba(202, 11, 121, .1); border-radius: 99px; padding: 2px 8px; margin-inline-start: 6px; vertical-align: middle; }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #ddd0e3; transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--pink); }
.switch input:checked + span::after { transform: translateX(20px); }
[dir="rtl"] .switch input:checked + span::after { transform: translateX(-20px); }
.switch input:focus-visible + span { outline: 2.5px solid var(--purple); outline-offset: 2px; }
input[type="time"] {
  font: inherit; font-weight: 700; color: var(--purple); background: var(--blush); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px 10px; min-height: 40px;
}
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.day { width: 38px; height: 38px; border-radius: 50%; font-weight: 800; font-size: 14px; background: var(--blush); color: var(--purple-2); }
.day[aria-pressed="true"] { background: var(--purple); color: #fff; }
.seg { display: inline-flex; background: var(--blush); border-radius: 99px; padding: 3px; }
.seg button { padding: 7px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--purple-2); min-height: 36px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }
.small-print { font-size: 12.5px; color: var(--muted); text-align: center; margin: 18px 6px 6px; }

/* ---------- Mini player ---------- */
.mini {
  position: fixed; z-index: 30;
  inset-inline: 0; margin: 0 auto; max-width: calc(var(--app-w) - 20px);
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 8px);
  width: calc(100% - 20px);
  display: flex; align-items: center; gap: 8px;
  background: rgba(61, 14, 97, .94); color: #fff;
  border-radius: 20px; padding: 8px 8px 8px 10px;
  box-shadow: 0 14px 30px -12px rgba(42, 6, 70, .6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  animation: fadeUp .3s var(--ease) both;
}
.mini-open { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: start; }
.mini-art { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; }
.mini-text { display: flex; flex-direction: column; min-width: 0; }
.mini-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { font-size: 12px; opacity: .75; }
.mini-play { background: #fff; color: var(--purple); flex: none; }
.mini-play svg { width: 22px; height: 22px; }
.mini-progress { position: absolute; inset-inline: 14px; bottom: 3px; height: 2.5px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.mini-progress span { display: block; height: 100%; width: 0; background: var(--pink-soft); border-radius: 2px; }
[dir="rtl"] .mini-progress span { margin-inline-start: 0; }
.i-pause { display: none !important; }
.is-playing .i-play { display: none !important; }
.is-playing .i-pause { display: block !important; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; z-index: 31; bottom: 0; inset-inline: 0;
  margin: 0 auto; max-width: var(--app-w);
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 24px -16px rgba(61, 14, 97, .35);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #a291af; font-size: 11.5px; font-weight: 700; min-width: 0; white-space: nowrap; }
.tabbar svg { width: 24px; height: 24px; fill: currentColor; }
.tabbar a.active { color: var(--pink); }

/* ---------- Player sheet ---------- */
.player {
  position: fixed; inset: 0; z-index: 50;
  transform: translateY(102%); transition: transform .45s var(--ease), visibility 0s linear .45s;
  visibility: hidden;
  color: #fff; overflow: hidden;
}
.player.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.player-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) saturate(1.2); transform: scale(1.1); }
.player-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 6, 70, .55), rgba(30, 4, 52, .88)); }
.player-inner {
  position: relative; height: 100%; max-width: var(--app-w); margin: 0 auto;
  display: flex; flex-direction: column;
  padding: calc(10px + var(--safe-t)) 22px calc(22px + var(--safe-b));
  overflow-y: auto;
}
.player-top { display: flex; align-items: center; justify-content: space-between; }
.player-top .icon-btn { background: rgba(255, 255, 255, .14); }
.player-top .icon-btn svg { width: 24px; height: 24px; }
.player-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; opacity: .85; }
.player .fav-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.player .fav-btn[aria-pressed="true"] { color: #ff7cc0; }
.player .fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.player-art { margin: 18px auto 0; width: min(100%, 360px, 46vh); aspect-ratio: 1; border-radius: 30px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); flex: none; }
.player-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.player.open.is-playing .player-art img { transform: scale(1.06); }
.player-meta { text-align: center; margin-top: 20px; }
.player-title { font-size: 23px; font-weight: 800; line-height: 1.2; }
.player-sub { font-size: 14.5px; opacity: .8; margin-top: 4px; }
.hebrew-note:empty { display: none; }
.inline-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--pink); background: rgba(202, 11, 121, .08); border: 1px solid rgba(202, 11, 121, .18); border-radius: 99px; padding: 4px 12px; }
.inline-note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.page-head + .demo-banner + .inline-note, .cat-hero + .inline-note { margin: 0 0 12px; }
.hebrew-note { display: inline-block; margin-top: 8px; font-size: 12.5px; background: rgba(255, 255, 255, .14); border-radius: 99px; padding: 3px 10px; }
.scrub { margin-top: 22px; }
.scrub input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; margin: 0; cursor: pointer;
  --p: 0%;
}
.scrub input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg, #ff8fc6 var(--p), rgba(255, 255, 255, .25) var(--p)); }
.scrub input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; margin-top: -6.5px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.scrub input[type="range"]::-moz-range-track { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .25); }
.scrub input[type="range"]::-moz-range-progress { height: 5px; border-radius: 5px; background: #ff8fc6; }
.scrub input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; }
.times { display: flex; justify-content: space-between; font-size: 13px; opacity: .8; font-variant-numeric: tabular-nums; margin-top: 2px; }
.controls { display: flex; align-items: center; justify-content: center; gap: 34px; margin-top: 14px; }
.controls .skip { width: 56px; height: 56px; color: #fff; }
.controls .skip svg { width: 38px; height: 38px; }
.controls .skip svg .arc { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.controls .skip svg .head { fill: currentColor; stroke: none; }
.controls .skip svg text { fill: currentColor; font-family: 'Assistant', system-ui, sans-serif; font-size: 9.5px; font-weight: 800; }
.play-btn { position: relative; width: 80px; height: 80px; border-radius: 50%; background: #fff; color: var(--purple); display: grid; place-items: center; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .5); transition: transform .15s; }
.play-btn:active { transform: scale(.95); }
.play-btn svg { width: 34px; height: 34px; fill: currentColor; }
.spinner { position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; border-top-color: #ff8fc6; animation: spin 1s linear infinite; display: none; }
.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-status { text-align: center; font-size: 13.5px; min-height: 1.4em; margin-top: 14px; opacity: .85; }

.player-actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.bg-pill {
  display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: calc(100% - 56px);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  padding: 7px 16px 7px 14px; border-radius: 99px; min-height: 46px; text-align: start;
}
.bg-pill svg { width: 22px; height: 22px; flex: none; }
.pill-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.pill-label { font-size: 14px; font-weight: 800; }
.pill-sum { font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-pill.on { background: rgba(255, 143, 198, .26); border-color: rgba(255, 143, 198, .55); }
.info-btn { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); width: 46px; height: 46px; }
.info-btn svg { fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--blush); border-radius: 99px; padding: 4px; margin: 2px 0 14px; }
.tabs button { min-height: 40px; border-radius: 99px; font-weight: 800; font-size: 14.5px; color: var(--purple-2); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }
.layer { background: #fbf6fa; border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 6px; margin-bottom: 10px; }
.layer h3 { font-size: 15.5px; font-weight: 800; color: var(--purple); margin: 0 2px 8px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { min-height: 38px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1.5px solid #e4d6ea; font-weight: 700; font-size: 14px; color: var(--purple-2); }
.opt[aria-checked="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.layer .vol-row { margin: 8px 2px 4px; color: var(--purple-2); }
.vol-row svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.vol-row input[type="range"]:disabled { opacity: .35; }
.vol-val { font-size: 12.5px; font-weight: 700; min-width: 3ch; text-align: end; font-variant-numeric: tabular-nums; color: var(--muted); }
.sheet-actions { display: flex; gap: 10px; margin-top: 6px; }
.sheet-actions .btn { flex: 1; }
.info-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.info-head img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex: none; }
.info-head strong { display: block; font-size: 17px; color: var(--purple); line-height: 1.2; }
.info-head span { font-size: 13.5px; color: var(--muted); }
.info-list { margin: 0 0 12px; border-top: 1px solid var(--line); }
.info-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 700; color: var(--purple); text-align: end; }
.guide-link { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 10px 12px; border-radius: 18px; background: var(--blush); margin-bottom: 12px; min-height: 64px; }
.g-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: var(--shadow-sm); }
.g-avatar img, .gh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.g-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
.g-text strong { color: var(--purple); font-size: 15.5px; }
.g-text span { color: var(--muted); font-size: 13px; }
.g-cta { color: var(--pink); font-weight: 800; font-size: 14px; white-space: nowrap; }
.guide-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; color: #fff; margin-bottom: 14px; }
.gh-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.guide-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 6, 70, .15), rgba(42, 6, 70, .82) 75%); }
.gh-body { padding: 70px 18px 18px; text-align: center; }
.gh-avatar { display: block; width: 84px; height: 84px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.guide-hero h1 { font-size: 26px; font-weight: 800; line-height: 1.1; }
.gh-role { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 800; letter-spacing: .04em; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: 2px 12px; }
.gh-intro { font-size: 14.5px; opacity: .92; margin-top: 8px; }
.gh-count { font-size: 13px; opacity: .8; margin-top: 2px; }
.sub-head { font-size: 14.5px; font-weight: 800; color: var(--purple-2); margin: 16px 2px 8px; }
.bg-list { display: grid; gap: 8px; margin: 4px 0 16px; }
.bg-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: start;
  padding: 12px 14px; border-radius: 16px; background: var(--blush); font-weight: 700; font-size: 15.5px; color: var(--purple);
  border: 2px solid transparent; min-height: 50px;
}
.bg-opt::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b9a6c6; flex: none; box-sizing: border-box; }
.bg-opt[aria-checked="true"] { border-color: var(--pink); background: #fff; }
.bg-opt[aria-checked="true"]::before { border: 5.5px solid var(--pink); }
.vol-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.vol-row label { font-weight: 700; color: var(--purple); font-size: 14.5px; flex: none; }
.vol-row input[type="range"] { flex: 1; accent-color: var(--pink); min-width: 0; height: 30px; }
.sheet .fine { font-size: 12.5px; color: var(--muted); margin: 6px 0 14px; }

/* ---------- Sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(30, 4, 52, .45); animation: fade .25s both; }
.sheet {
  position: absolute; inset-inline: 0; bottom: 0; margin: 0 auto; max-width: var(--app-w);
  background: #fff; border-radius: 26px 26px 0 0; padding: 8px 20px calc(22px + var(--safe-b));
  max-height: 86vh; overflow-y: auto; animation: sheetUp .35s var(--ease) both;
}
.sheet-grip { width: 42px; height: 5px; border-radius: 5px; background: #e2d6e9; margin: 4px auto 12px; }
.sheet h2 { font-size: 21px; font-weight: 800; color: var(--purple); }
.sheet .lead { color: var(--muted); margin: 4px 0 14px; font-size: 15px; }
.steps { background: var(--blush); border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; }
.steps h3 { font-size: 15.5px; font-weight: 800; color: var(--purple-2); margin-bottom: 6px; }
.steps ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.share-ico { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: #1a73e8; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 70; inset-inline: 16px; margin: 0 auto; max-width: 420px;
  top: calc(14px + var(--safe-t));
  background: var(--purple); color: #fff; font-weight: 600; font-size: 14.5px; text-align: center;
  padding: 11px 16px; border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.noscript { padding: 20px; text-align: center; }

/* ---------- Desktop: centered, spacious ---------- */
@media (min-width: 760px) {
  :root { --app-w: 520px; }
  body { padding: 28px 0; }
  .app {
    background: rgba(255, 255, 255, .55);
    border-radius: 36px; box-shadow: 0 30px 80px -30px rgba(61, 14, 97, .35);
    border: 1px solid rgba(255, 255, 255, .8);
    min-height: calc(100vh - 56px);
    overflow: clip;
  }
  .topbar { border-radius: 36px 36px 0 0; padding-top: 18px; padding-inline: 24px; }
  .view { padding-inline: 24px; }
  .hscroll { margin: 0 -24px; padding-inline: 24px; }
  .tabbar { bottom: 28px; border-radius: 22px; max-width: calc(var(--app-w) - 24px); }
  .mini { bottom: calc(var(--tabbar-h) + 36px); max-width: calc(var(--app-w) - 44px); }
  .hero { min-height: 340px; }
  .player-art { width: min(100%, 380px, 44vh); }
}
@media (min-width: 1100px) {
  .backdrop::after {
    content: ''; position: absolute; inset: 0;
    background: url(art/ark.svg) center / cover no-repeat; opacity: .08; filter: blur(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- real login + gate ---------- */
.login-form { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 8px; }
.field { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; color: var(--purple, #3D0E61); }
.field input { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(61, 14, 97, .18); background: #fff; color: #2a0646; outline: none; }
.field input:focus { border-color: var(--pink, #ca0b79); box-shadow: 0 0 0 3px rgba(202, 11, 121, .15); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fde8f2; color: #9c0a5c; font-size: 14px; }
.form-link { align-self: center; font-size: 14px; color: var(--pink, #ca0b79); text-decoration: underline; margin-top: 2px; }
a.btn { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.btn.ghost { background: transparent; color: var(--purple, #3D0E61); box-shadow: none; }
.sheet-title { margin: 6px 0 8px; font-size: 20px; color: var(--purple, #3D0E61); }
.track.gated .track-ico { opacity: .55; }
.track.gated .chip { background: rgba(61, 14, 97, .08); color: var(--purple, #3D0E61); }

/* ---------- player: menu, full-screen art, glow ---------- */
.player-top-actions { display: flex; gap: 4px; align-items: center; }
.art-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: inherit; overflow: hidden; }
.art-btn img { display: block; }
.player-art { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px -14px rgba(0,0,0,.6), 0 0 80px -10px rgba(246, 238, 244, .35); }
.art-full { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 1000; background: #0b0314; overflow: hidden; animation: fadeIn .25s ease; cursor: pointer; }
.art-full[hidden] { display: none; }
.art-full #artFullImg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; border-radius: 0; }
.art-full-close { position: absolute; z-index: 2; top: max(14px, env(safe-area-inset-top)); box-shadow: 0 2px 10px rgba(0,0,0,.25); inset-inline-end: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.art-full-close svg { width: 22px; height: 22px; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.menu-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.menu-list .btn { justify-content: flex-start; gap: 10px; }
.version-seg { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 2px; border-radius: 22px; }
.version-seg button { flex: 1 1 auto; }
.chip-en { margin-inline-start: 4px; }


/* ---------- videos ---------- */
.vid-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.vid-card { display: flex; gap: 12px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px -14px rgba(61,14,97,.35); text-align: start; cursor: pointer; color: inherit; font: inherit; }
.vid-thumb { position: relative; flex: none; width: 128px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #e9dff0; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-thumb .vid-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vid-thumb .vid-play svg { width: 34px; height: 34px; fill: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.vid-card.gated .vid-thumb img { filter: grayscale(.4) brightness(.8); }
.vid-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vid-title { font-weight: 700; color: var(--purple, #3D0E61); font-size: 15px; line-height: 1.25; }
.vid-meta { font-size: 12px; color: #7a6a86; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.video-full { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 1000; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fadeIn .25s ease; }
.video-full[hidden] { display: none; }
.video-full video { width: 100%; max-height: 100%; background: #000; }
.video-title { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline: 16px; margin: 0; color: #fff; font-size: 15px; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }

/* videos by topic: a chip row (the Library's topics) above the list */
.vchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 4px; padding: 2px 18px 8px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.vchips::-webkit-scrollbar { display: none; }
.vchip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 99px; background: #fff; color: var(--purple); font-weight: 700; font-size: 14px; line-height: 1.2; white-space: nowrap; text-decoration: none; box-shadow: 0 6px 18px -12px rgba(61, 14, 97, .4); border: 1px solid rgba(61, 14, 97, .08); }
.vchip b { font-weight: 800; font-size: 12px; color: var(--pink); background: rgba(202, 11, 121, .1); border-radius: 99px; padding: 1px 7px; }
.vchip.on { background: var(--purple); color: #fff; border-color: var(--purple); }
.vchip.on b { background: rgba(255, 255, 255, .2); color: #fff; }
.vid-section { margin-top: 14px; }
.vid-section + .vid-section { margin-top: 26px; }
.vid-section .section-head a { display: inline-flex; align-items: center; gap: 2px; }
.vid-section .section-head a .chev { width: 16px; height: 16px; }
@media (min-width: 700px) { .vchips { margin-inline: -24px; padding-inline: 24px; } }

/* ---------- search ---------- */
.search { position: relative; display: flex; align-items: center; margin: 4px 0 14px; }
.s-ico { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--purple-3); pointer-events: none; display: flex; }
.s-ico svg { width: 20px; height: 20px; }
.s-input {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: #2a0646; background: #fff;
  padding: 13px 14px; padding-inline-start: 44px; border-radius: 18px; border: 1.5px solid rgba(61, 14, 97, .16);
  box-shadow: 0 8px 22px -12px rgba(61, 14, 97, .35); outline: none; -webkit-appearance: none; appearance: none; min-width: 0;
}
.s-input::placeholder { color: #9a86a8; font-weight: 400; font-size: 14.5px; }
.search.has-q .s-input { padding-inline-end: 44px; }
.s-input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(202, 11, 121, .14); }
.s-input::-webkit-search-cancel-button, .s-input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.s-clear { position: absolute; inset-inline-end: 9px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--blush); color: var(--purple); display: grid; place-items: center; cursor: pointer; padding: 0; }
.s-clear svg { width: 16px; height: 16px; }
.s-clear[hidden] { display: none; }
.s-results { margin: 0 0 18px; }
.s-results[hidden] { display: none; }
.screen.searching > :not(.search):not(.s-results) { display: none !important; }
.screen.searching { padding-top: 10px; }
.s-count { font-size: 13.5px; font-weight: 700; color: var(--purple-2); margin: 2px 4px 10px; }
.s-res { display: flex; flex-direction: column; }
.s-res .track { border-end-start-radius: 0; border-end-end-radius: 0; }
.s-hint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 12px 8px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); font-size: 12.5px; color: var(--muted); }
.s-hint .chip { background: rgba(61, 14, 97, .07); color: var(--purple-2); }
.s-in { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--pink); }
.s-in svg { width: 13px; height: 13px; }
.s-empty { text-align: center; }
.s-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* ---------- "האור שלך" · light game ---------- */
.lg-tile {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin: 10px 0 4px; padding: 11px 14px; height: 64px;
  border-radius: var(--r-lg); color: #fff8ec; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 50%, #6b2a8f 0%, #3D0E61 55%, #24073c 100%);
  box-shadow: 0 12px 28px -14px rgba(61, 14, 97, .6);
  text-align: start;
}
.lg-tile::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 90% at 88% 50%, rgba(255, 200, 110, .28), transparent 70%); pointer-events: none; }
.lg-tile-glow { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, .55), rgba(255, 180, 90, 0) 70%); }
.lg-tile-flame { position: absolute; left: 50%; top: 50%; width: 16px; height: 23px; margin: -13px 0 0 -8px; filter: drop-shadow(0 0 6px rgba(255, 190, 90, .9)); transform-origin: 50% 90%; animation: lgFlicker 2.6s ease-in-out infinite; }
.lg-tile-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.lg-tile-text strong { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-tile-text span { display: block; font-size: 13px; line-height: 1.3; opacity: .88; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-tile-go { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); position: relative; z-index: 1; }
.lg-tile-go svg { width: 16px; height: 16px; transform: scaleX(-1); }

.lightgame { padding-bottom: 6px; }
.lg-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.lightgame .back-link svg { transform: none; }
.lg-back { min-height: 44px; }
.lg-music { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 99px; background: #fff; color: var(--purple); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 700; }
.lg-music svg { width: 20px; height: 20px; fill: currentColor; }
.lg-music[aria-pressed="true"] .lg-off, .lg-music[aria-pressed="false"] .lg-on { display: none; }

.lg-room {
  --lv: 0;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; color: #fff6ea;
  min-height: calc(100vh - 210px); min-height: calc(100dvh - 210px);
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 18px 0;
  background: radial-gradient(120% 80% at 50% 100%, #5a2385 0%, #3D0E61 42%, #1d0531 100%);
  box-shadow: 0 18px 40px -20px rgba(29, 5, 49, .8);
}
.lg-gold {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: var(--lv); transition: opacity 2.4s var(--ease);
  background:
    radial-gradient(95% 60% at 50% 10%, rgba(255, 222, 150, .75), rgba(255, 190, 100, .3) 55%, transparent 82%),
    radial-gradient(100% 60% at 50% 100%, rgba(255, 200, 120, .45), transparent 70%),
    linear-gradient(180deg, rgba(196, 128, 52, .62), rgba(150, 84, 70, .42));
}
.lg-dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: calc(.25 + var(--lv) * .75); transition: opacity 2.4s;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 236, 190, .8), transparent), radial-gradient(1.2px 1.2px at 70% 22%, rgba(255, 236, 190, .7), transparent), radial-gradient(1.6px 1.6px at 40% 62%, rgba(255, 236, 190, .6), transparent), radial-gradient(1.2px 1.2px at 82% 55%, rgba(255, 236, 190, .7), transparent), radial-gradient(1.4px 1.4px at 12% 75%, rgba(255, 236, 190, .6), transparent), radial-gradient(1.2px 1.2px at 58% 82%, rgba(255, 236, 190, .5), transparent);
  animation: lgDrift 14s ease-in-out infinite alternate; }

.lg-lanterns { display: flex; justify-content: center; gap: 4%; width: 100%; height: 92px; margin-top: -10px; }
.lg-lantern { position: relative; width: 15%; max-width: 50px; display: flex; flex-direction: column; align-items: center; }
.lg-lantern:nth-child(odd) { margin-top: 10px; }
.lg-string { width: 1.5px; height: 18px; background: rgba(255, 230, 190, .35); }
.lg-lantern svg { width: 100%; height: auto; overflow: visible; transition: filter 1.6s var(--ease); }
.lg-cap { fill: #6e4f86; transition: fill 1.6s; }
.lg-ring { stroke: #6e4f86; }
.lg-glass { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 230, 200, .28); stroke-width: 1.3; transition: fill 1.6s, stroke 1.6s; }
.lg-bars { stroke: rgba(255, 230, 200, .18); }
.lg-fl { fill: #ffe7a8; opacity: 0; transform-origin: 20px 36px; transition: opacity 1.2s; }
.lg-lantern.lit .lg-cap { fill: #c99a52; }
.lg-lantern.lit .lg-ring { stroke: #c99a52; }
.lg-lantern.lit .lg-glass { fill: rgba(255, 196, 110, .78); stroke: rgba(255, 236, 190, .9); }
.lg-lantern.lit .lg-fl { opacity: 1; animation: lgFlame 2.2s ease-in-out infinite; }
.lg-lantern.lit svg { filter: drop-shadow(0 0 10px rgba(255, 196, 100, .85)) drop-shadow(0 0 24px rgba(255, 170, 70, .45)); }
.lg-lantern.ignite::after { content: ''; position: absolute; left: 50%; top: 52%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 150, .75), rgba(255, 190, 100, 0) 65%); animation: lgBloom 1.8s var(--ease) forwards; pointer-events: none; }

.lg-stage { flex: 1; width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 18px 4px 10px; }
.lg-stage.lg-in > * { animation: lgRise .9s var(--ease) both; }
.lg-stage.lg-in > *:nth-child(2) { animation-delay: .18s; }
.lg-stage.lg-in > *:nth-child(3) { animation-delay: .36s; }
.lg-stage.lg-in > *:nth-child(4) { animation-delay: .5s; }
.lg-title { font-size: 34px; font-weight: 800; line-height: 1.15; color: #fff3d6; text-shadow: 0 0 22px rgba(255, 200, 120, .45); }
.lg-end { font-size: 38px; }
.lg-p { font-size: 17.5px; line-height: 1.6; color: rgba(255, 244, 228, .9); }
.lg-q { font-size: 25px; font-weight: 800; line-height: 1.3; color: #fff3d6; }
.lg-answers { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.lg-ans { min-height: 56px; width: 100%; padding: 10px 18px; border-radius: 18px; font-size: 19px; font-weight: 700; color: #fff6ea; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 224, 170, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background .3s, border-color .3s, transform .2s; }
.lg-ans:hover, .lg-ans:focus-visible { background: rgba(255, 210, 140, .2); border-color: rgba(255, 224, 170, .8); }
.lg-ans:active { transform: scale(.98); }
.lg-verse { margin: 0; padding: 18px 16px; width: 100%; border-radius: 20px; background: rgba(40, 8, 60, .38); border: 1px solid rgba(255, 224, 170, .3); }
.lg-verse p { font-size: 24px; line-height: 1.55; font-weight: 600; color: #fff3d6; font-family: 'Assistant', 'SBL Hebrew', 'Times New Roman', serif; }
.lg-verse cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: rgba(255, 228, 180, .85); letter-spacing: .02em; }
.lg-line { font-size: 18px; line-height: 1.5; color: rgba(255, 246, 232, .95); }
.lg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; width: 100%; padding: 10px 20px; border-radius: 99px; font-size: 18px; font-weight: 800; color: #3D0E61; background: linear-gradient(180deg, #ffe7b0, #f6c46f); box-shadow: 0 10px 24px -10px rgba(255, 190, 90, .8); text-align: center; line-height: 1.25; }
.lg-btn.ghost { background: transparent; color: #fff3d6; border: 1.5px solid rgba(255, 224, 170, .55); box-shadow: none; }
.lg-room.lg-done .lg-stage { gap: 12px; }

.lg-candle { position: relative; width: 70px; height: 120px; margin: 4px 0 0; flex: none; }
.lg-halo { position: absolute; left: 50%; top: 4px; width: 190px; height: 190px; margin-left: -95px; margin-top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 205, 120, .42), rgba(255, 170, 80, .12) 45%, transparent 70%); animation: lgHalo 3.4s ease-in-out infinite; }
.lg-flame { position: absolute; left: 50%; top: 6px; width: 18px; height: 30px; margin-left: -9px; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; background: radial-gradient(circle at 50% 72%, #fffdf0 0%, #ffe08a 40%, #ff9a38 85%); box-shadow: 0 0 16px 6px rgba(255, 190, 90, .6); transform-origin: 50% 90%; animation: lgFlicker 2.4s ease-in-out infinite; }
.lg-wick { position: absolute; left: 50%; top: 33px; width: 2px; height: 7px; margin-left: -1px; background: #3a2418; border-radius: 1px; }
.lg-wax { position: absolute; left: 50%; top: 39px; width: 34px; height: 62px; margin-left: -17px; border-radius: 6px 6px 4px 4px; background: linear-gradient(90deg, #e9dcc9, #fff8ee 45%, #e3d2bb); box-shadow: inset 0 6px 8px -4px rgba(255, 200, 120, .6); }
.lg-dish { position: absolute; left: 50%; bottom: 8px; width: 70px; height: 14px; margin-left: -35px; border-radius: 50%; background: linear-gradient(180deg, #d8ad62, #8d6630); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .5); }

@keyframes lgFlicker { 0%, 100% { transform: scale(1) rotate(-1deg); opacity: 1; } 30% { transform: scale(1.05, .96) rotate(1.5deg); opacity: .94; } 60% { transform: scale(.97, 1.04) rotate(-1.5deg); opacity: 1; } }
@keyframes lgFlame { 0%, 100% { transform: scale(1); } 50% { transform: scale(.92, 1.06); } }
@keyframes lgHalo { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes lgBloom { 0% { opacity: 0; transform: scale(.3); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes lgRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lgDrift { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
  .lg-flame, .lg-halo, .lg-tile-flame, .lg-dust, .lg-lantern.lit .lg-fl { animation: none; }
  .lg-stage.lg-in > * { animation: none; }
  .lg-lantern.ignite::after { display: none; }
}
@media (max-height: 700px) { .lg-candle { transform: scale(.8); transform-origin: 50% 100%; margin-top: -14px; } .lg-q { font-size: 22px; } .lg-verse p { font-size: 21px; } }

/* ---------- soul quiz (#/soul) ---------- */
/* free mini-course card on the home screen */
.mc-tile {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin: 14px 0 4px; padding: 10px 12px; min-height: 78px;
  border-radius: var(--r-lg); color: #fff8ec; overflow: hidden;
  background: linear-gradient(120deg, #4a1a74 0%, #3D0E61 45%, #1f6f86 100%);
  box-shadow: 0 14px 30px -14px rgba(31, 111, 134, .7);
  border: 1px solid rgba(255, 215, 122, .45);
  text-align: start;
}
.mc-tile::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 90% at 90% 40%, rgba(255, 215, 122, .22), transparent 70%); pointer-events: none; }
.mc-art { position: relative; z-index: 1; flex: none; width: 58px; height: 58px; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.mc-tile .lg-tile-text strong { font-size: 16.5px; white-space: normal; }
.mc-tile .lg-tile-text span { white-space: normal; }
.mc-tile .lg-tile-text strong .mc-chip { display: inline-block; vertical-align: middle; margin-inline-start: 6px; font-size: 11px; font-weight: 800; line-height: 1; padding: 4px 8px; border-radius: 99px; background: #ffd77a; color: #3D0E61; white-space: nowrap; }
.mc-tile .lg-tile-go { color: #ffd77a; }
.sq-tile {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin: 14px 0 4px; padding: 11px 14px; height: 64px;
  border-radius: var(--r-lg); color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #ca0b79 0%, #8e1f86 55%, #5a2385 100%);
  box-shadow: 0 12px 28px -14px rgba(202, 11, 121, .6);
  text-align: start;
}
.sq-tile::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 90% at 90% 40%, rgba(255, 220, 160, .25), transparent 70%); pointer-events: none; }
.sq-tile .lg-tile-text strong { font-size: 16.5px; }
.sq-tile-ico { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: rgba(255, 255, 255, .18); }

.soulquiz { padding-bottom: 8px; }
.soulquiz .back-link svg { transform: none; }
.sq-back { min-height: 44px; }
.sq-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--pink); margin: 2px 2px 10px; }
.sq-head-ico { font-size: 18px; }
.sq-stage {
  position: relative; border-radius: var(--r-lg); padding: 20px 16px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf3f8 60%, #f6e6f0 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px; min-height: 420px;
}
.sq-stage.sq-in > * { animation: sqRise .7s var(--ease) both; }
.sq-stage.sq-in > *:nth-child(2) { animation-delay: .08s; }
.sq-stage.sq-in > *:nth-child(3) { animation-delay: .16s; }
.sq-stage.sq-in > *:nth-child(4) { animation-delay: .24s; }
.sq-stage.sq-in > *:nth-child(n+5) { animation-delay: .32s; }
@keyframes sqRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sq-dots { display: flex; justify-content: center; gap: 8px; }
.sq-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--blush-2); transition: all .3s var(--ease); }
.sq-dots span.on { width: 26px; border-radius: 9px; background: var(--pink); }
.sq-dots span.done { background: var(--purple-3); }
.sq-count { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: -4px; }
.sq-q { text-align: center; font-size: 25px; line-height: 1.3; font-weight: 800; color: var(--purple); margin: 2px 0 4px; }
.sq-answers { display: flex; flex-direction: column; gap: 10px; }
.sq-ans {
  min-height: 54px; width: 100%; padding: 10px 18px; border-radius: 18px;
  font-size: 17.5px; font-weight: 700; color: var(--purple); text-align: center; line-height: 1.3;
  background: #fff; border: 1.5px solid rgba(202, 11, 121, .28); box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), background .2s, border-color .2s;
}
.sq-ans:active { transform: scale(.98); background: #fdeef6; border-color: var(--pink); }
.sq-prev { align-self: center; min-height: 44px; padding: 6px 14px; font-size: 15px; font-weight: 700; color: var(--muted); }
.sq-vwrap { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 10px 4px; }
.sq-verse { text-align: center; margin: 0; }
.sq-verse p { font-size: 23px; line-height: 1.6; font-weight: 700; color: var(--purple); }
.sq-verse cite { display: block; margin-top: 6px; font-style: normal; font-size: 14px; font-weight: 700; color: #b8862f; }
.sq-vline { text-align: center; font-size: 17px; line-height: 1.55; color: var(--purple-2); }
.sq-next, .sq-play {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; width: 100%; padding: 10px 20px;
  border-radius: 99px; font-size: 18px; font-weight: 800; color: #fff;
  background: linear-gradient(120deg, var(--pink), #8e1f86); box-shadow: 0 10px 24px -10px rgba(202, 11, 121, .7);
}
.sq-play svg { width: 22px; height: 22px; fill: currentColor; }
.sq-kicker { text-align: center; font-size: 23px; font-weight: 800; color: var(--purple); }
.sq-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: -4px; }
.sq-chips span { font-size: 13px; font-weight: 700; color: var(--pink); background: #fdeef6; border-radius: 99px; padding: 4px 10px; }
.sq-rverse { background: rgba(255, 255, 255, .7); border-radius: var(--r-md); padding: 12px 12px 10px; border: 1px solid rgba(184, 134, 47, .25); }
.sq-rverse .sq-verse p { font-size: 19px; }
.sq-rverse .sq-vline { font-size: 15px; margin-top: 4px; }
.sq-main { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.sq-main img { display: block; width: 100%; height: 160px; object-fit: cover; }
.sq-main-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.sq-col { font-size: 13px; font-weight: 700; color: var(--pink); }
.sq-main-title { font-size: 22px; line-height: 1.25; font-weight: 800; color: var(--purple); overflow-wrap: anywhere; }
.sq-why { font-size: 16px; line-height: 1.5; color: var(--ink); margin-bottom: 6px; }
.sq-more-h { font-size: 17px; font-weight: 800; color: var(--purple); margin-top: 4px; }
.sq-more { display: flex; flex-direction: column; gap: 10px; }
.sq-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: start; }
.sq-card img { flex: none; width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.sq-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sq-card-title { font-size: 16.5px; font-weight: 800; color: var(--purple); line-height: 1.3; overflow-wrap: anywhere; }
.sq-card-col { font-size: 12.5px; font-weight: 700; color: var(--pink); }
.sq-card-why { font-size: 14px; color: var(--muted); line-height: 1.4; }
.sq-card-play { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fdeef6; color: var(--pink); }
.sq-card-play svg { width: 18px; height: 18px; fill: currentColor; }
.sq-again { align-self: center; min-height: 48px; padding: 8px 26px; border-radius: 99px; font-size: 16.5px; font-weight: 800; color: var(--purple); border: 1.5px solid rgba(61, 14, 97, .25); background: transparent; margin-top: 4px; }
.lg-quiz-link { display: inline-block; margin-top: 2px; padding: 8px 6px; min-height: 44px; font-size: 16px; font-weight: 700; color: #ffe7b0; text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .sq-stage.sq-in > * { animation: none; } }

/* soul quiz: "הצעות נוספות" + "לנסות שוב" row */
.sq-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.sq-actions .sq-again { margin-top: 0; }
.sq-moreb { min-height: 48px; padding: 8px 22px; border-radius: 99px; font-size: 16.5px; font-weight: 800; color: #fff; background: var(--pink); border: 0; box-shadow: 0 6px 16px rgba(202, 11, 121, .22); }
.sq-moreb:active { transform: scale(.98); }
.sq-extra .sq-card { animation: sqFadeUp .45s ease both; }
@keyframes sqFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sq-extra .sq-card { animation: none; } }

/* guest → login line (Oct 14 login flow) */
.player-login { text-align: center; margin-top: 6px; min-height: 0; }
.guest-line { background: none; border: 0; color: #f3d98a; font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px; cursor: pointer; }
.guest-banner { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 14px; padding: 12px 14px; border: 1px solid rgba(243, 217, 138, .45); border-radius: 14px; background: rgba(67, 11, 108, .35); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; text-align: start; cursor: pointer; }
.guest-banner svg { width: 22px; height: 22px; flex: 0 0 22px; color: #f3d98a; }

/* ---------- לנשום אהבה (#/breathe) — warm cream card, circle of four badges ---------- */
.bb-tile {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin: 10px 0 4px; padding: 11px 14px; height: 64px;
  border-radius: var(--r-lg); color: #3D0E61; overflow: hidden;
  background: radial-gradient(120% 140% at 15% 50%, #fff3e6 0%, #fde3df 55%, #f7d3cf 100%);
  box-shadow: 0 12px 28px -14px rgba(202, 11, 121, .45);
  text-align: start;
}
.bb-tile::after { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 50%, rgba(255, 215, 150, .35), transparent 70%); pointer-events: none; }
.bb-tile .lg-tile-text span { color: #6b3a7a; }
.bb-tile .lg-tile-go { color: #caa14a; }
.bb-tile-orb { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 220, 160, .55), rgba(255, 220, 160, 0) 70%); }
.bb-tile-orb span { width: 21px; height: 21px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fffaf0, #ffd9a8 55%, #e8b86a 100%); box-shadow: 0 0 16px 4px rgba(255, 200, 120, .7); animation: bbTileBreath 6s ease-in-out infinite; }
@keyframes bbTileBreath { 0%, 100% { transform: scale(.78); } 50% { transform: scale(1.12); } }
.bb-tile .lg-tile-text strong { font-size: 16.5px; }

.breathe { padding-bottom: 6px; }
.bb-room {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; color: #3D0E61;
  min-height: calc(100vh - 210px); min-height: calc(100dvh - 210px);
  display: flex; flex-direction: column; padding: 18px 18px 22px;
  background: radial-gradient(110% 70% at 50% 42%, #fff9f1 0%, #fdeee6 45%, #f6dcd6 100%);
  box-shadow: 0 18px 40px -20px rgba(61, 14, 97, .45);
}
.bb-room::before { content: ''; position: absolute; inset: -20%; background: radial-gradient(40% 40% at 50% 45%, rgba(255, 220, 160, .35), transparent 70%); pointer-events: none; z-index: -1; }
.bb-stage { flex: 1; display: flex; flex-direction: column; }
.bb-stage.bb-in > * { animation: bbFade .5s ease both; }
@keyframes bbFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bb-head { text-align: center; margin: 0 0 10px; }
.bb-head h1, .bb-end h1 { font-size: 30px; font-weight: 800; margin: 2px 0 4px; color: #3D0E61; letter-spacing: .01em; }
.bb-sub { font-size: 15.5px; font-weight: 600; color: #ca0b79; margin: 0; line-height: 1.5; }
.bb-lead { font-size: 15.5px; line-height: 1.55; color: #5a3270; margin: 4px 0 16px; text-align: center; }
.bb-set { margin: 0 0 14px; }
.bb-set-l { font-size: 13.5px; font-weight: 700; color: #7a4a8a; margin-bottom: 7px; }
.bb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-chip { min-height: 42px; padding: 0 16px; border-radius: 99px; font-size: 15px; font-weight: 700; color: #3D0E61; background: rgba(255, 255, 255, .55); border: 1.5px solid rgba(202, 161, 74, .55); }
.bb-chip[aria-pressed="true"] { background: linear-gradient(180deg, #ffe7b0, #f6c46f); color: #3D0E61; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(202, 161, 74, .9); }
.bb-note { font-size: 13.5px; color: #7a4a8a; margin: 8px 0 0; }
.bb-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; margin: 2px 0 14px; color: #3D0E61; }
.bb-check input { width: 22px; height: 22px; accent-color: #ca0b79; flex: none; }
.bb-start { margin-top: auto; }
.breathe[dir="ltr"] .bb-lead { margin-bottom: 8px; font-size: 14.5px; line-height: 1.4; }
.breathe[dir="ltr"] .bb-set { margin-bottom: 8px; }
.breathe[dir="ltr"] .bb-check { margin-bottom: 8px; }
.breathe[dir="ltr"] .bb-room { padding-bottom: 14px; }
.breathe[dir="ltr"] .bb-intro h1 { font-size: 26px; }
.bb-room .lg-btn.ghost { color: #3D0E61; border-color: rgba(202, 161, 74, .7); }
.bb-credit { font-size: 12.5px; color: #7a4a8a; text-align: center; margin: 12px 0 0; }
.bb-sign { font-size: 13px; font-weight: 600; color: #a0763a; text-align: center; margin: 14px 0 0; letter-spacing: .02em; }

.bb-run { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bb-box { position: relative; width: min(320px, 86vw); aspect-ratio: 1; margin: 4px auto 6px; }
.bb-ringwrap { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.bb-sq { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bb-ring { fill: none; stroke: rgba(202, 161, 74, .14); stroke-width: 1.5; }
.bb-arc { fill: none; stroke: #caa14a; stroke-width: 3.2; stroke-linecap: round; opacity: .85; }
.bb-arc-lit { fill: none; stroke: #ffd98a; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(255, 200, 110, .95)); }
.bb-dot { fill: #fff6dc; stroke: #f0c35e; stroke-width: 1.5; filter: drop-shadow(0 0 7px rgba(255, 205, 110, 1)); transition: opacity .4s; }
.bb-badge {
  position: absolute; width: 23%; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: radial-gradient(circle at 45% 35%, #fffdf8 0%, #fff4e4 60%, #fbe6d0 100%);
  border: 2px solid rgba(202, 161, 74, .75);
  box-shadow: 0 0 0 5px rgba(255, 236, 200, .55), 0 0 18px 4px rgba(255, 215, 150, .45), inset 0 0 10px rgba(255, 255, 255, .9);
  transition: transform .5s, box-shadow .5s, border-color .5s;
  text-align: center; line-height: 1;
}
.bb-b0 { left: 50%; top: 13%; transform: translate(-50%, -50%); }
.bb-b1 { left: 87%; top: 50%; transform: translate(-50%, -50%); }
.bb-b2 { left: 50%; top: 87%; transform: translate(-50%, -50%); }
.bb-b3 { left: 13%; top: 50%; transform: translate(-50%, -50%); }
.bb-badge-l { font-size: 26px; font-weight: 800; color: #3D0E61; line-height: 1; margin-top: -2px; }
.bb-badge-w { font-size: 10.5px; font-weight: 700; color: #6b3a7a; line-height: 1.1; }
.bb-badge.is-on { transform: translate(-50%, -50%) scale(1.22); border-color: #f0c35e; box-shadow: 0 0 0 7px rgba(255, 228, 170, .75), 0 0 34px 10px rgba(255, 200, 110, .8), inset 0 0 14px rgba(255, 255, 255, 1); z-index: 2; }
.bb-badge.is-on .bb-badge-l { color: #ca0b79; }
.bb-glow {
  position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; margin: -23% 0 0 -23%; border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, rgba(255, 250, 240, 1) 0%, rgba(255, 232, 200, .9) 40%, rgba(252, 215, 215, .55) 70%, rgba(252, 215, 215, 0) 100%);
  box-shadow: 0 0 40px 14px rgba(255, 220, 170, .55), 0 0 90px 30px rgba(255, 200, 190, .35);
  transform: scale(.6); opacity: .6; will-change: transform, opacity;
}
.bb-box.is-idle .bb-glow { animation: bbIdle 7s ease-in-out infinite; }
@keyframes bbIdle { 0%, 100% { transform: scale(.72); opacity: .7; } 50% { transform: scale(.86); opacity: .95; } }
.bb-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.bb-word { font-size: 24px; font-weight: 800; color: #3D0E61; line-height: 1.15; text-shadow: 0 0 12px rgba(255, 255, 255, .9); }
.bb-word.bb-pop { animation: bbPop .6s ease both; }
@keyframes bbPop { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.bb-count { font-size: 17px; font-weight: 700; line-height: 1.1; margin-top: 3px; color: #b8862e; font-variant-numeric: tabular-nums; }
.bb-meta { font-size: 13.5px; color: #7a4a8a; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.bb-ctl { display: flex; gap: 10px; width: 100%; justify-content: center; }
.bb-cbtn { min-height: 46px; padding: 0 18px; border-radius: 99px; font-size: 15.5px; font-weight: 800; color: #3D0E61; background: linear-gradient(180deg, #ffe7b0, #f6c46f); flex: 1; max-width: 150px; box-shadow: 0 8px 20px -10px rgba(202, 161, 74, .9); }
.bb-cbtn.ghost { background: rgba(255, 255, 255, .5); color: #3D0E61; border: 1.5px solid rgba(202, 161, 74, .7); box-shadow: none; }
.bb-cbtn.ghost[aria-pressed="false"] { opacity: .55; }

.bb-end { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.bb-end-orb { width: 118px; height: 118px; border-radius: 50%; margin: 6px 0 18px; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #3D0E61; background: radial-gradient(circle at 45% 35%, #fffdf8 0%, #fff0dc 55%, #fbe0cc 100%); border: 2px solid rgba(202, 161, 74, .75); box-shadow: 0 0 0 7px rgba(255, 236, 200, .55), 0 0 40px 12px rgba(255, 210, 140, .55); animation: bbIdle 7s ease-in-out infinite; }
.bb-stats { font-size: 15px; color: #7a4a8a; margin: 0 0 14px; }
.bb-close { font-size: 17px; line-height: 1.55; margin: 0 0 16px; color: #3D0E61; }
.bb-pasuk { font-size: 20px; font-weight: 700; color: #ca0b79; margin: 0 0 24px; line-height: 1.5; }
.bb-pasuk span { display: block; font-size: 13px; font-weight: 600; color: #7a4a8a; margin-top: 2px; }
.bb-end .lg-btn { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .bb-tile-orb span, .bb-box.is-idle .bb-glow, .bb-end-orb, .bb-word.bb-pop { animation: none; } }

/* ---------- rights / no-recording notice ---------- */
.rights-note { font-size: 11.5px; line-height: 1.55; color: var(--muted); text-align: center; white-space: pre-line; margin: 26px 6px 8px; }
.player .rights-note { color: rgba(255, 255, 255, .72); margin: 22px 0 0; font-size: 11px; }
