/* InnerSignal — one stylesheet, mobile-first. Desktop tweaks at the bottom. */

:root {
  --bg: #0b0a14;
  --bg-2: #15122e;
  --card: #1b1838;
  --card-2: #242047;
  --line: #2f2a5a;
  --text: #ece9ff;
  --muted: #a39fc9;
  --accent: #a78bfa;      /* violet */
  --accent-2: #f5c97a;    /* gold */
  --good: #5eead4;
  --bad: #fb7185;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); line-height: 1.5;
  background: var(--bg); min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.8rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
small, .muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- layout ---------- */
.wrap { max-width: 960px; margin: 0 auto; padding: 16px; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center;
  padding: 12px 20px 0; background: rgba(11, 10, 20, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .01em; color: var(--text); text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.topbar .acct { margin-left: auto; display: flex; gap: 18px; }
.topbar .acct a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.topbar .acct a.active, .topbar .acct a:hover { color: var(--text); }
/* Phones: links sit on their own line under the brand and scroll sideways. */
.topnav {
  order: 3; flex-basis: 100%; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
  margin: 10px -20px 0; padding: 0 20px;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
@media (min-width: 960px) { .topnav { -webkit-mask-image: none; mask-image: none; } }
.topnav a {
  flex: none; color: var(--muted); text-decoration: none; font-size: .92rem; letter-spacing: .01em;
  padding: 8px 0 11px; border-bottom: 1.5px solid transparent;
}
.topnav a:hover { color: var(--text); }
.topnav a.active { color: var(--text); border-bottom-color: var(--accent-2); }

footer.site { max-width: 960px; margin: 32px auto 0; padding: 16px; font-size: .78rem; color: var(--muted); text-align: center; }
footer.site a { color: var(--muted); }

.announce { background: linear-gradient(90deg, #3b2a7a, #5b3b8f); padding: 8px 16px; text-align: center; font-size: .9rem; }

/* ---------- components ---------- */
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.card.tap { cursor: pointer; transition: transform .12s, border-color .12s; }
.card.tap:active { transform: scale(.98); }
.card.tap:hover { border-color: var(--accent); }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.grid > .card { margin-bottom: 0; }
.grid.tiles { grid-template-columns: 1fr 1fr; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stack > * + * { margin-top: 10px; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .75rem; background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }
.pill.gold { color: var(--accent-2); border-color: #6b5a2e; }
.pill.good { color: var(--good); border-color: #1f5f56; }

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2);
  color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
button:disabled { opacity: .5; cursor: default; }
.btn-primary, button.primary { background: #6f55d9; border-color: transparent; }
.btn-primary:hover, button.primary:hover { background: #7d64e3; }
.btn-gold { background: linear-gradient(135deg, #f5c97a, #d69e3b); color: #2a1a00; border-color: transparent; }
.btn-ghost { background: transparent; }
.btn-small { min-height: 34px; padding: 6px 12px; font-size: .85rem; border-radius: 10px; }
.btn-block { width: 100%; }

label { display: block; font-size: .9rem; color: var(--muted); margin: 10px 0 4px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px; /* 16px stops iOS/Android zoom */
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: none; }
.tabs button { min-height: 36px; padding: 6px 14px; border-radius: 99px; font-weight: 500; white-space: nowrap; }
.tabs button.active { background: var(--accent); color: #140a2e; border-color: transparent; }

.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); transform: translateX(-50%); z-index: 60;
  background: #2b2560; border: 1px solid var(--accent); padding: 10px 16px; border-radius: 12px;
  box-shadow: var(--shadow); max-width: 90vw; font-size: .95rem;
}
.toast.err { border-color: var(--bad); }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(5, 3, 15, .8); display: flex; align-items: center; justify-content: center; padding: 12px; }
.modal { width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.disclaimer { font-size: .8rem; color: var(--muted); border-left: 3px solid var(--accent-2); padding: 6px 10px; background: rgba(245, 201, 122, .06); border-radius: 0 8px 8px 0; margin: 10px 0; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }

/* ---------- exercise UI ---------- */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; margin: 14px 0; }
.opt {
  aspect-ratio: 3 / 4; min-height: 0; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  background: #f7f3ff; color: #2b1a66; border-radius: 14px; border: 2px solid transparent; font-weight: 600; font-size: .8rem;
}
.opt svg { width: 56%; height: auto; }
.opt.color { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.opt.wide { aspect-ratio: auto; min-height: 90px; font-size: .9rem; }
.opt .emoji { font-size: 2.4rem; line-height: 1; }
.opt.hit { border-color: var(--good); box-shadow: 0 0 0 3px rgba(94, 234, 212, .35); }
.opt.miss { opacity: .45; }
.opt.target { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(245, 201, 122, .5); opacity: 1; }
.veil {
  width: 130px; height: 170px; margin: 8px auto; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: #14121f; border: 1px solid rgba(255,255,255,.16); font-family: var(--serif); font-size: 2rem; color: var(--muted);
}
.commit { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .68rem; color: var(--muted); word-break: break-all; }
.progress { height: 6px; border-radius: 6px; background: var(--card-2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.result-big { text-align: center; font-family: var(--serif); font-size: 1.5rem; margin: 6px 0; }
.result-big.hit { color: var(--good); } .result-big.miss { color: var(--muted); }

/* ---------- HitRate ---------- */
.score { display: flex; align-items: center; gap: 14px; }
.dial { --v: 50; width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--card-2) 0); position: relative; }
.dial::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg-2); }
.dial span { position: relative; }
.big-number { font-family: var(--serif); font-size: 2rem; }
canvas.chart { width: 100%; height: 180px; display: block; }
.paywall { text-align: center; border: 1px dashed var(--accent-2); }

.stars { color: var(--accent-2); letter-spacing: 1px; }
.star-input button { min-height: 40px; padding: 4px 8px; font-size: 1.4rem; background: none; border: 0; color: var(--line); }
.star-input button.on { color: var(--accent-2); }

.ad-slot { margin: 16px 0; min-height: 90px; }
.ad-slot:empty { display: none; }

/* ---------- landing ---------- */
.hero { text-align: center; padding: 28px 8px 8px; }
.hero h1 { font-size: 2.2rem; }
.hero .tag { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 18px; }
.features { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin: 18px 0; }
.features .card { margin: 0; padding: 12px; font-size: .9rem; }
.features .card b { display: block; font-family: var(--serif); font-size: 1rem; }

table.simple { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.simple td, table.simple th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

/* ---------- v2 ---------- */
.card.locked { opacity: .55; cursor: pointer; }
.sign-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.sign-grid button { font-size: 1.3rem; padding: 4px; min-height: 40px; }
.tarot-back { width: 100%; min-height: 120px; flex-direction: column; font-size: 3rem; background: repeating-linear-gradient(45deg,#2a1f5c,#2a1f5c 10px,#33276d 10px,#33276d 20px); border: 2px solid var(--accent-2); }
.tarot-back small { font-size: .8rem; font-weight: 500; color: var(--muted); }
blockquote.quote { margin: 0 0 6px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; }
.adfree-link { display: block; text-align: center; font-size: .85rem; margin-top: 6px; color: var(--accent-2); }
footer.site a.active-lang { color: var(--text); font-weight: 700; }
li.is-target { color: var(--accent-2); font-weight: 700; }
.badge-verified { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: .72rem; background: linear-gradient(135deg,#f5c97a,#d69e3b); color: #2a1a00; font-weight: 700; }
.event-meta { font-size: .85rem; color: var(--accent-2); }
.amazon-btn { font-size: .8rem; color: var(--muted); }
details summary { cursor: pointer; color: var(--muted); margin: 8px 0; }
.lang-pick { display: flex; gap: 8px; justify-content: center; margin: 0 0 12px; }
.lang-pick button.active { background: var(--accent); color: #140a2e; }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .toast { bottom: 24px; }
  .wrap { padding: 24px; }
  .features { grid-template-columns: repeat(4, 1fr); }
}

/* Wide screens: brand, links and account on one line. */
@media (min-width: 960px) {
  .topbar { padding: 0 28px; flex-wrap: nowrap; }
  .topnav { order: 0; flex-basis: auto; margin: 0 0 0 44px; padding: 0; gap: 26px; }
  .topnav a { padding: 20px 0 18px; }
}

/* ---------- Today page (v2.2): quiet, editorial, no boxes ---------- */
.today { max-width: 720px; margin: 0 auto; padding: 36px 20px 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--muted); margin: 0 0 10px; }
.today-head h1 { font-size: 2rem; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.feature { margin: 34px 0 6px; text-align: center; }
.feature-media { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; overflow: hidden; border-radius: 3px; background: #15131f; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.feature-media.portrait { aspect-ratio: 4 / 5; }
.feature-media.landscape { aspect-ratio: 3 / 2; }
.feature-media.video { aspect-ratio: 16 / 9; max-height: none; }
.feature-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.feature-name { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin: 22px 0 6px; }
.feature-name a { color: var(--text); text-decoration: none; }
.feature-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.feature-quote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.55; color: #cfcbe6; max-width: 34ch; margin: 0 auto; }
.admin-hint { font-size: .85rem; color: var(--muted); border-top: 1px dashed rgba(255,255,255,.15); border-bottom: 1px dashed rgba(255,255,255,.15); padding: 14px 0; text-align: center; }
.sky-row { display: grid; gap: 34px; margin-top: 40px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.sky-row p { margin: 0 0 6px; }
.sky-row .small { font-size: .82rem; margin-top: 10px; }
.moon-line { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.moon-line h3 { font-weight: 500; font-size: 1.25rem; margin: 0; }
.moon-line .muted { margin: 2px 0 0; font-size: .85rem; }
.moon { font-size: 2.4rem; line-height: 1; }
.glyph { font-size: 2rem; line-height: 1; color: var(--accent-2); font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", var(--serif); }
.sky-event { color: var(--accent-2); }
.sign-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 12px 0; }
.sign-grid button { min-height: 40px; padding: 0; border-radius: 99px; background: transparent; border: 1px solid rgba(255,255,255,.14); color: var(--accent-2); font-size: 1.15rem; font-weight: 400; }
.sign-grid button:hover { border-color: var(--accent-2); }
.row.bd input { width: 92px; padding: 8px 10px; }
.link-btn { min-height: 0; padding: 6px 4px; background: none; border: 0; color: var(--accent-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.qotd { text-align: center; padding: 46px 0 30px; }
.qotd blockquote { font-family: var(--serif); font-size: 1.55rem; line-height: 1.45; font-weight: 400; margin: 0 auto 14px; max-width: 30ch; }
.qotd-author { color: var(--muted); font-size: .9rem; letter-spacing: .02em; }
.today .ad-slot { margin-top: 20px; }
@media (min-width: 720px) {
  .today { padding-top: 52px; }
  .today-head h1 { font-size: 2.4rem; }
  .feature-media.portrait { max-height: none; }
  .feature-media.portrait.size-large { max-width: 520px; margin: 0 auto; }
  .feature-media.landscape { max-height: 520px; }
  .sky-row { grid-template-columns: 1fr 1fr; gap: 48px; }
  .sky-row > div + div { border-left: 1px solid rgba(255,255,255,.08); padding-left: 48px; }
}

/* ---------- plain pages (v2.3): Train, Store — no boxes, no icons ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 36px 20px 8px; }
.page > h2.sec:first-of-type { margin-top: 0; }
.page > section > h1, .page > h1 { font-weight: 500; font-size: 2rem; margin: 0 0 6px; }
.page .small, .small { font-size: .82rem; }
.gold { color: var(--accent-2); }
h2.sec { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 500; color: var(--muted); margin: 40px 0 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ex-list { margin: 0; }
.ex-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.ex-row:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }
.ex-row h3 { font-weight: 500; font-size: 1.18rem; margin: 0 0 4px; }
.ex-row p { margin: 0; color: var(--muted); }
.ex-row:hover h3 { color: #fff; }
.ex-row .go { margin-left: auto; color: var(--muted); font-size: 1.5rem; line-height: 1; flex: none; }
.ex-row.locked { opacity: .42; }
.ex-meta { font-size: .8rem !important; letter-spacing: .02em; color: var(--muted); margin-top: 6px !important; }
.plain-blocks { display: grid; gap: 0; }
.plain-block { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.plain-block h3 { font-weight: 500; font-size: 1.18rem; margin: 0 0 6px; }
.plain-block p { margin: 0 0 8px; }
.plain-block .q { margin: 14px 0 6px; }
.mini-hist { margin: 6px 0 8px; padding-left: 18px; color: var(--muted); font-size: .85rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.choice { min-height: 40px; padding: 6px 18px; border-radius: 99px; background: transparent; border: 1px solid rgba(255,255,255,.2); font-weight: 500; }
.choice:hover { border-color: rgba(255,255,255,.45); }
.choice.on { border-color: var(--accent-2); color: var(--accent-2); }
.progress-sec { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.progress-sec h3 { font-weight: 500; margin: 0 0 4px; }
.thin-bar { height: 2px; background: rgba(255,255,255,.1); margin: 12px 0 8px; }
.thin-bar > i { display: block; height: 100%; background: var(--accent-2); transition: width .3s; }
.back-link { min-height: 0; padding: 0; margin: 0 0 18px; background: none; border: 0; color: var(--muted); font-weight: 400; font-size: .9rem; }
.back-link:hover { color: var(--text); }
.run h2 { font-weight: 500; font-size: 1.7rem; margin: 0 0 6px; }
.run textarea { margin-top: 4px; }
.reveal { margin-top: 8px; }
.reveal-name { font-weight: 500; font-size: 1.6rem; margin: 0 0 16px; }
.reveal-photo { margin: 0 0 14px; max-width: 300px; }   /* same as the "small" featured-teacher size */
.reveal-photo img { width: 100%; height: auto; border-radius: 3px; display: block; background: #15131f; }
.reveal-photo figcaption { font-size: .75rem; color: var(--muted); margin-top: 6px; }
.reveal-photo figcaption a { color: var(--muted); }
.reveal-map { width: 100%; max-width: 300px; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: #15131f; margin-top: 6px; }
/* Any photo or video shown inside Training defaults to the small size. */
.run img, .run video { max-width: 300px; }
.reveal-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
.verdict { font-family: var(--serif); font-size: 1.15rem; margin: 18px 0 6px; }
.verdict.hit { color: var(--good); }
.your-notes { white-space: pre-wrap; color: #d6d2ea; }
/* Admin: exercise photos */
.photo-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); align-items: flex-start; }
.photo-row img, .photo-row .nophoto { width: 120px; height: 84px; object-fit: cover; border-radius: 3px; flex: none; background: #15131f; }
.photo-row .nophoto { display: flex; align-items: center; justify-content: center; font-size: .72rem; color: var(--muted); text-align: center; }
.photo-row .photo-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.photo-row.off { opacity: .45; }
/* Featured teacher photo sizes */
.feature-media.size-small { max-width: 300px; margin-left: auto; margin-right: auto; }
.feature-media.size-medium { max-width: 400px; margin-left: auto; margin-right: auto; }
.feature-media.size-large { max-width: 100%; }
.feature-media.video.size-small { max-width: 420px; }
.feature-media.video.size-medium { max-width: 560px; }
.feature-media.landscape.size-small { max-width: 420px; }
.feature-media.landscape.size-medium { max-width: 560px; }
.store-row { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: inherit; text-decoration: none; }
.store-row h3 { font-weight: 500; font-size: 1.12rem; margin: 0 0 4px; }
.store-row p { margin: 0; color: var(--muted); }
.store-row .store-cta { margin-left: auto; flex: none; font-size: .85rem; color: var(--accent-2); white-space: nowrap; }
.store-row:hover h3 { color: #fff; }
@media (max-width: 520px) { .store-row { flex-direction: column; align-items: flex-start; gap: 8px; } .store-row .store-cta { margin-left: 0; } }

/* ---------- HitRate (v2.3): plain ---------- */
.hr-overall { margin-top: 22px; }
.hr-big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; margin: 4px 0 14px; }
.hr-big span { font-size: 1.1rem; color: var(--muted); margin-left: 4px; }
.hr-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hr-row h3 { font-weight: 500; font-size: 1.12rem; margin: 0 0 4px; }
.hr-row p { margin: 0; color: var(--muted); }
.hr-num { margin-left: auto; font-family: var(--serif); font-size: 1.8rem; flex: none; }
.hr-invite { border-top: 1px solid var(--accent-2); margin-top: 18px; }
.hr-trends { padding-bottom: 8px; }
.hr-form { margin-top: 6px; }
.hr-tools { display: flex; gap: 14px; align-items: center; margin: 26px 0 6px; }
.hr-tools input { max-width: 260px; }
.j-row { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.j-row h3 { font-weight: 500; font-size: 1.05rem; margin: 0; }
.j-row .your-notes { margin: 6px 0 4px; }
.muted-link { color: var(--muted); }
.feature-label { text-align: center; text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; color: var(--accent-2); margin: 0 0 14px; }
/* ---------- Community (v2.6): plain ---------- */
.post-row { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.post-row p { margin: 0 0 6px; }
.post-row:hover p { color: #fff; }
.plain-form { margin: 22px 0 8px; }
.safety { margin: 12px 0; font-size: .86rem; color: var(--muted); }
.safety p { margin: 0 0 6px; }
.safety b { color: var(--text); font-weight: 500; }
.tools-line { margin: 14px 0 0; }
.tip { border-top: 1px solid var(--accent-2); padding-top: 14px; margin-top: 22px; }
.tip p { margin: 0 0 8px; }
.coords { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .02em; margin: 0 0 12px; }
.verdict.close { color: var(--accent-2); }
.hint { margin-top: 10px; }
/* Shorts carousel (Learn) and small video rows */
.shorts { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 0 10px; scrollbar-width: thin; }
.short-card { flex: none; width: 150px; scroll-snap-align: start; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; min-height: 0; font-weight: 400; }
.short-card.wide { width: 280px; cursor: default; }
.short-frame { width: 100%; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: #15131f; position: relative; }
.short-frame.wide { aspect-ratio: 16 / 9; }
.short-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.short-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.short-frame .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.short-card .short-title { font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.short-card:hover .short-title { color: var(--text); }
.short-player { width: min(380px, 92vw); aspect-ratio: 9 / 16; max-height: 82vh; }
.short-player iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; }
/* Section tabs (Store, Practitioners, Learn, HitRate): same look as section titles */
.subtabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255,255,255,.08); margin: 4px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs a { flex: none; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 10px 0 12px; border-bottom: 1.5px solid transparent; }
.subtabs a:hover { color: var(--text); }
.subtabs a.on { color: #fff; border-bottom-color: var(--accent-2); }
@media (min-width: 760px) { .subtabs { -webkit-mask-image: none; mask-image: none; } }
.pr-row { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.pr-row h3 { font-weight: 500; font-size: 1.18rem; margin: 0 0 4px; }
.pr-row p { margin: 8px 0 0; }
.pr-links { display: flex; gap: 22px; align-items: center; margin-top: 12px; }
.pr-links a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; font-size: .92rem; }
.pr-links .link-btn { font-size: .92rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th, .tbl td { text-align: left; padding: 8px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tbl th { color: var(--muted); font-weight: 500; }
.card .tbl { display: block; overflow-x: auto; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; margin-top: 16px; }
.vid { cursor: pointer; }
.vid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; display: block; background: #15131f; }
.vid b { display: block; font-weight: 500; font-size: .95rem; margin-top: 8px; }
.vid:hover b { color: #fff; }
.ps-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ps-row img, .ps-ph { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex: none; background: #15131f; }
.ps-row h3 { font-weight: 500; font-size: 1.02rem; margin: 0; }
footer.site .ver { font-size: .7rem; opacity: .6; margin-top: 4px; }
.short-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
.vid-grid .empty { grid-column: 1 / -1; text-align: left; }
/* v2.6: disclaimers as quiet text, not boxes */
.disclaimer { background: none !important; border: 0 !important; padding: 0 !important; font-size: .8rem; color: var(--muted); }

/* ---------- v2.7 ---------- */
/* Learn: "SHORTS" label in the same small spaced capitals as the section tabs; smaller cards */
.sec-label { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 500; color: var(--text); margin: 18px 0 0; }
.short-card { width: 112px; }
.short-card .short-title { font-size: .76rem; }
/* Learn → Studied by Science */
.science-intro { color: var(--muted); margin: 14px 0 6px; max-width: 62ch; }
.sci-row { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.sci-row h3 { margin: 2px 0 4px; font-size: 1rem; font-weight: 500; }
.sci-row h3 a { color: var(--text); text-decoration: none; }
.sci-row h3 a:hover { color: var(--accent-2); }
.sci-row p.muted { margin: 0; font-size: .9rem; }
/* Tools */
.tools-safety { margin-top: 28px; }
.tool-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.tool-row h3 { margin: 0; font-size: 1rem; font-weight: 500; }
.ex-row.on h3 { color: var(--accent-2); }
.breath { display: flex; flex-direction: column; align-items: center; margin: 18px 0 6px; }
.breath-ring { width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(245,201,122,.35); display: flex; align-items: center; justify-content: center; }
.breath-dot { width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.45), rgba(167,139,250,.08) 70%); transform: scale(.55); }
.breath-word { margin-top: 14px; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--muted); min-height: 1.2em; }
.mandala-wrap { width: min(420px, 100%); aspect-ratio: 1; margin: 16px auto; }
.mandala-wrap canvas { width: 100%; height: 100%; display: block; }
.tunein-link { margin: 6px 0 10px; }
/* Train: Be the Camera / Become the Object */
.prompts { margin: 6px 0 0; padding-left: 20px; color: var(--text); }
.prompts li { margin: 4px 0; }
.reveal-live { margin: 10px 0 14px; max-width: 300px; padding-top: 0; aspect-ratio: 16 / 9; }   /* "small", like the training photos */
.story { line-height: 1.65; margin: 12px 0; max-width: 66ch; }
.facts { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ---------- v2.8 ---------- */
.feature-media { position: relative; }
.live-dot { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(200,40,60,.85); padding: 3px 8px; border-radius: 3px; }
.feature-ig { margin: 2px 0 8px; font-size: .9rem; }
/* Articles (v2.8): readable long-form pages */
.article-page article { max-width: 68ch; }
.article-page h1 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); line-height: 1.2; margin: 6px 0 8px; }
.art-answer { font-size: 1.12rem; line-height: 1.6; color: var(--text); border-left: 2px solid var(--accent-2); padding: 2px 0 2px 14px; margin: 18px 0; }
.art-body { line-height: 1.75; font-size: 1.02rem; }
.art-body h2 { font-size: 1.35rem; margin: 30px 0 8px; }
.art-body h3 { font-size: 1.1rem; margin: 22px 0 6px; }
.art-body p, .art-body li { color: var(--text); }
.art-body blockquote { margin: 16px 0; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.18); color: var(--muted); }
.art-video { max-width: 300px; margin: 14px 0; }
.art-try { margin: 28px 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.art-try a { font-size: 1.05rem; }
.art-faq h2, .art-sources h2 { font-size: 1.25rem; margin-top: 28px; }
.art-faq h3 { font-size: 1rem; margin: 16px 0 4px; }
.art-sources li { margin: 6px 0; }
.art-other { margin-top: 24px; }
.art-disclaimer { margin-top: 30px; max-width: 68ch; }
.art-list { margin-top: 10px; }
.art-row { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.art-row h2, .art-row h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 500; }
.art-row h2 a, .art-row h3 a { color: var(--text); text-decoration: none; }
.art-row h2 a:hover, .art-row h3 a:hover { color: var(--accent-2); }
.newart { margin-top: 26px; text-align: center; }

/* ---------- v2.9 ---------- */
/* Two-line tab names, bottoms lined up so single-line tabs sit on the same baseline */
.subtabs { align-items: flex-end; gap: 22px; }
.subtabs a { text-align: center; line-height: 1.45; }
/* Featured Intuitive: name now sits above the photo; LIVE in gold, same font and size as the label */
#teacher .feature-name { margin: 0 0 16px; }
.feature-live { color: #d6b05c; font-weight: 600; }
#teacher .feature-quote { margin-top: 16px; }

/* ---------- v2.10: Daily Message ---------- */
.dmsg { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; margin: 18px 0 8px; }
.modal .dmsg { margin: 0; border: 0; padding: 4px 0 0; background: none; }
.dm-eyebrow { color: var(--accent-2); }
.dm-title { font-size: 1.35rem; margin: 4px 0 10px; }
.dm-photo { margin: 0 0 12px; }
.dm-photo img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; display: block; }
.dm-body { font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; }
.dm-body p { margin: 0 0 .7em; }
.dm-author { color: var(--muted); font-style: italic; margin: 4px 0 8px; }
.dm-try { margin: 6px 0; }
.dm-offer { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin: 10px 0 4px; }
.dm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dm-btn { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .92rem; cursor: pointer; min-height: 38px; }
.dm-btn[aria-pressed="true"] { color: var(--accent-2); border-color: var(--accent-2); }
.dm-btn:hover { border-color: var(--accent); }
.dm-more { display: inline-block; margin: 2px 0 14px; font-size: .92rem; }
.dm-row { margin: 14px 0; }

/* ---------- v2.10: sound layers, YouTube dock, stop pill ---------- */
.layers { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 14px 0; background: var(--bg-2); }
.layers label { margin-top: 8px; }
.ly-sub { gap: 10px; align-items: center; flex-wrap: wrap; }
.ly-sub input[type=range] { flex: 1; min-width: 120px; }
.ti-more { margin: 10px 0; }
.ti-more summary { cursor: pointer; color: var(--accent); }
.mandala-wrap.small { width: min(240px, 80%); margin: 10px auto; }
.tunein-dock { margin: 28px auto 24px; max-width: 720px; padding: 0 16px; }
.tunein-dock:empty { display: none; }
.tunein-dock iframe { width: 220px; height: 124px; border: 0; border-radius: 10px; display: block; }
.tunein-dock audio { width: 100%; }
.sound-pill { position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  background: var(--card-2); color: var(--text); border: 1px solid var(--accent); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .9rem; box-shadow: var(--shadow); cursor: pointer; }
.layers [hidden] { display: none !important; }
a.btn-small, a.btn-primary { text-decoration: none; } a.btn-primary { color: #fff; display: inline-flex; align-items: center; }
/* v2.11: the YouTube player in Tune in first: as small as possible, at the very bottom of the pop-up */
.tunein-dock.in-modal { margin: 14px 0 0; padding: 0; max-width: none; }
.tunein-dock.in-modal iframe { width: 160px; height: 90px; opacity: .85; }
.tunein-dock.in-modal audio { display: none; }
.tunein-dock.in-modal p { font-size: .75rem; margin: 0 0 4px; }
.safety-list { padding-left: 18px; margin: 8px 0; }
.safety-list li { margin: 4px 0; }
.safety-note { color: var(--accent-2); border-left: 2px solid var(--accent-2); padding-left: 10px; margin: 8px 0 14px; }
.j-voice { margin: 6px 0 4px; }
.j-private { color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 6px 0 10px; }
.j-private .link-btn { display: inline; padding: 0; min-height: 0; }

/* ---------- v2.11: Today, tighter top so members see there is more below ---------- */
.today { padding-top: 18px; }
.today-head .eyebrow { margin-bottom: 4px; }
.today-head h1 { font-size: 1.45rem; }
.feature { margin: 16px 0 4px; }
.feature-label { margin-bottom: 6px; }
.feature-name { font-size: 1.3rem; margin: 4px 0 10px; }
/* phones: the photo/clip/live feed takes at most about a third of the screen */
@media (max-width: 759px) {
  .feature-media.portrait, .feature-media.landscape { max-height: 34vh; aspect-ratio: auto; height: 34vh; }
  .feature-media.portrait.size-small, .feature-media.landscape.size-small { height: 26vh; max-height: 26vh; }
  .feature-media.portrait.size-medium, .feature-media.landscape.size-medium { height: 30vh; max-height: 30vh; }
  .feature-media.portrait { max-width: 27vh; margin-left: auto; margin-right: auto; }
  .feature-media.portrait.size-large { max-width: 100%; }
  .feature-media.video { max-height: 34vh; }
  .feature-quote { font-size: 1.05rem; }
}
@media (min-width: 760px) { .today-head h1 { font-size: 1.9rem; } }

/* tap to enlarge the live feed or clip */
.feature-media.video { position: relative; }
.enlarge-btn { position: absolute; right: 8px; bottom: 8px; z-index: 3; background: rgba(13,11,31,.78); color: #fff; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; cursor: pointer; }
.big-video { position: fixed; inset: 0; z-index: 70; background: rgba(5,3,15,.96); display: flex; flex-direction: column; justify-content: center; padding: 12px; }
.big-video .bv-frame { width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; margin: 0 auto; }
.big-video iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; }
.big-video .bv-close { align-self: flex-end; margin: 0 auto 10px; max-width: 1100px; width: 100%; text-align: right; }

/* astrological weather + horoscope side by side, compact; tap for more */
.sky-row.compact { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; padding: 0; border: 0; align-items: start; }
.sky-row.compact.ask { grid-template-columns: 1fr; }
.sky-row.compact > div + div { border-left: 0; padding-left: 0; }
.mini-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-width: 0; }
.sky-row.ask .mini-card { background: none; border: 0; padding: 0; }
.mini summary { list-style: none; cursor: pointer; }
.mini summary::-webkit-details-marker { display: none; }
.mini .eyebrow { font-size: .62rem; letter-spacing: .12em; margin-bottom: 6px; }
.mini-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.mini-top .moon, .mini-top .glyph { font-size: 1.5rem; line-height: 1; }
.mini-top b { font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1.2; }
.mini-line { font-size: .86rem; color: #cfcbe6; line-height: 1.4; }
.mini-more { font-size: .78rem; color: var(--accent); }
.mini[open] .mini-more { display: none; }
.mini-body { font-size: .88rem; margin-top: 6px; }
.mini-body p { margin: 0 0 6px; }

/* ---------- v2.11: Oracle Card of the Day ---------- */
.oracle { text-align: center; padding: 34px 0 20px; }
.oracle-card { width: min(250px, 66vw); margin: 4px auto 16px; filter: drop-shadow(0 10px 30px rgba(124, 92, 255, .35)); }
.oracle-card svg, .oracle-card img { width: 100%; height: auto; display: block; border-radius: 14px; }
.oracle-card img { aspect-ratio: 2 / 3; object-fit: cover; }
.oracle-name { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 6px; color: #fbe3a6; }
.oracle-msg { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: #cfcbe6; max-width: 34ch; margin: 0 auto 14px; }
.oracle-reading { text-align: left; max-width: 560px; margin: 0 auto; line-height: 1.6; }
.oracle-reading p { margin: 0 0 .8em; }
.oracle-q { max-width: 560px; margin: 10px auto; text-align: left; background: var(--bg-2); border-left: 2px solid var(--accent-2); padding: 10px 12px; border-radius: 0 10px 10px 0; }
.oracle-q .eyebrow { color: var(--accent-2); }
.oracle-cta { margin: 14px 0 6px; }
.dm-more[hidden], .dmsg[hidden] { display: none !important; }

/* ---------- v2.12: anonymous practice readings ---------- */
.private-line { color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 8px 0 12px; }
.rate-pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .8rem; border: 1px solid var(--line); }
.rate-pill.r-hit { color: var(--accent-2); border-color: var(--accent-2); }
.rate-pill.r-some { color: var(--accent); border-color: var(--accent); }
.rate-pill.r-miss { color: var(--muted); }
#ctabs { margin-top: 18px; }

/* v2.12: Astrological Weather + Horoscope in the elegant 2.10 style, side by side on every screen */
.sky-row.side { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; padding: 22px 0; }
.sky-row.side > div { min-width: 0; padding-right: 14px; }
.sky-row.side > div + div { border-left: 1px solid rgba(255,255,255,.08); padding-left: 14px; padding-right: 0; }
.sky-row.side.ask { grid-template-columns: 1fr; }
.sky-row.side.ask > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; margin-top: 18px; }
@media (max-width: 759px) {
  .sky-row.side .eyebrow { font-size: .62rem; letter-spacing: .12em; }
  .sky-row.side .moon-line { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 8px; }
  .sky-row.side .moon { font-size: 1.9rem; }
  .sky-row.side .glyph { font-size: 1.7rem; }
  .sky-row.side .moon-line h3 { font-size: 1.08rem; }
  .sky-row.side p { font-size: .88rem; line-height: 1.5; }
  .sky-row.side .small { font-size: .76rem; }
}
@media (min-width: 760px) { .sky-row.side > div { padding-right: 32px; } .sky-row.side > div + div { padding-left: 32px; } }

.oracle-note { max-width: 560px; margin: -2px auto 14px; text-align: left; }
/* v2.12: the live camera in the Remote Viewing (Live Cam) reveal is big, right on the page */
.reveal-live { max-width: 900px; width: 100%; }
@media (max-width: 759px) { .reveal-live { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; border-radius: 0; } }
.reveal-live-photo img { width: 100%; max-width: 900px; height: auto; }
.reveal-photo.reveal-live-photo { max-width: 900px; }

/* ---------- v2.13: sign-in page, no boxes ---------- */
.free-readings { text-align: center; margin: 22px -20px 18px; padding: 22px 20px; border-top: 1px solid rgba(245,201,122,.35); border-bottom: 1px solid rgba(245,201,122,.35);
  background: linear-gradient(90deg, transparent, rgba(245,201,122,.07), transparent); }
.free-readings h2 { font-family: var(--serif); font-weight: 500; color: #f5c97a; font-size: 1.7rem; margin: 0 0 6px; letter-spacing: .01em; }
.free-readings p { color: #cfcbe6; margin: 0 auto; max-width: 520px; }
.feature-line { display: grid; grid-template-columns: 1fr 1fr; margin: 6px 0 26px; }
.feature-line > div { padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.08); }
.feature-line > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
.feature-line b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; margin-bottom: 2px; }
.feature-line span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.feature-line.three { grid-template-columns: 1fr; margin-top: 34px; }
.feature-line.three > div { border-right: 0; padding: 14px 4px; }
@media (min-width: 760px) {
  .free-readings { margin-left: 0; margin-right: 0; }
  .feature-line { grid-template-columns: repeat(4, 1fr); }
  .feature-line > div { border-top: 0; border-right: 1px solid rgba(255,255,255,.08); }
  .feature-line > div:last-child { border-right: 0; }
  .feature-line.three { grid-template-columns: repeat(3, 1fr); }
  .feature-line.three > div { border-right: 1px solid rgba(255,255,255,.08); padding: 4px 20px; }
  .feature-line.three > div:last-child { border-right: 0; }
}
/* v2.13: new readings */
.topnav a.has-new { position: relative; }
.topnav a.has-new::after { content: ''; position: absolute; top: 4px; right: -7px; width: 7px; height: 7px; border-radius: 50%; background: #f5c97a; box-shadow: 0 0 6px rgba(245,201,122,.8); }
.new-pill { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f5c97a; color: #1a1340; font-size: .7rem; font-weight: 600; letter-spacing: .03em; vertical-align: middle; }
/* v2.14: Articles link at the bottom of each Learn sub-tab; topic links on the articles list */
.topic-articles { margin: 22px 0 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.topic-articles a { font-family: var(--serif); font-size: 1.05rem; }
.art-topics { line-height: 2; }

/* ---------- v2.16: bookings ---------- */
.slot-day { margin: 10px 0; }
.slot-day b { font-family: var(--serif); font-weight: 500; }
.slot-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.choice.slot { padding: 6px 12px; min-height: 36px; font-size: .9rem; }
#bk-t { max-height: 300px; overflow-y: auto; }
.thread { max-height: 300px; overflow-y: auto; margin: 10px 0; }
.msg { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 6px 40px 6px 0; }
.msg.me { margin: 6px 0 6px 40px; border-color: var(--accent); }
.hours-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.hours-row b { width: 100px; font-weight: 500; }
.hr-range input { width: 110px; display: inline-block; }
.mini-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mini-table th, .mini-table td { text-align: left; padding: 4px 8px 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.legal-doc h2 { font-size: 1.15rem; margin-top: 26px; }
.legal-doc p { line-height: 1.6; }
#bookings { margin: 10px 0 20px; }

/* ---------- v2.17: booking deposit, seller store ---------- */
.deposit-box { border: 1px solid rgba(212, 175, 55, .35); border-radius: 12px; padding: 10px 12px; margin: 12px 0; background: rgba(212, 175, 55, .06); }
.seller-row { }   /* layout from .store-row (column on phones) */
.seller-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.seller-row > div { flex: 1; min-width: 0; }
.seller-prod { display: flex; gap: 12px; align-items: flex-start; }
.seller-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin-top: 10px; }
.bars > div { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bars span { display: block; width: 100%; background: var(--accent, #7c5cff); border-radius: 3px 3px 0 0; min-height: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 6px 0; }
.photo-grid > * { position: relative; display: block; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.photo-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; line-height: 24px; padding: 0; cursor: pointer; }
/* ---------- v2.18 ---------- */
.photo-open { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; flex: none; }
.photo-open img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block; }
.photo-count { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.7); color: #fff; font-size: .7rem; border-radius: 999px; padding: 1px 6px; }
.photo-main { position: absolute; left: 4px; top: 4px; background: rgba(0,0,0,.7); color: #fff; font-size: .65rem; border-radius: 999px; padding: 1px 6px; }
.photo-pick { padding: 0; border: 0; background: none; cursor: pointer; }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery img { flex: 0 0 100%; max-height: 60vh; object-fit: contain; border-radius: 12px; scroll-snap-align: center; background: #000; }
.item-card { border-style: dashed; }
.warning-box { border: 2px solid #f2b84b; border-radius: 12px; padding: 12px 14px; margin: 14px 0; background: rgba(242,184,75,.08); }
.warning-box .warning-title { font-weight: 800; letter-spacing: .08em; font-size: 1.15rem; color: #f2b84b; margin: 0 0 4px; }
.warning-box .warning-text { font-weight: 700; font-size: 1.05rem; line-height: 1.45; margin: 0; color: #fff; }
.mini-tabs { display: flex; gap: 8px; margin: 14px 0 4px; }
