/* The Index / bogo.css
 * Bogo's own layer on top of case.css. The page keeps the portfolio's canvas, type and chrome.
 * Sakura (the app's design system, docs/05) lives only inside .bo-panel and inside phone frames.
 * Every class here is prefixed bo- so nothing collides with system.css, home.css or case.css.
 */

/* ---- Accent and Sakura tokens ------------------------------------------- */
.bo { --marker: #6C0820; --marker-text: #6C0820; --on-marker: #FFFFFF; }
:root[data-theme="dark"] .bo { --marker: #F2AEBC; --marker-text: #F2AEBC; --on-marker: #530015; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .bo { --marker: #F2AEBC; --marker-text: #F2AEBC; --on-marker: #530015; }
}

/* Sakura, light. Values are the semantic tokens in docs/05 section 4. */
.bo-panel, .bo-app {
  --sk-canvas: #FBF6F5; --sk-surface: #FFFFFF; --sk-tint: #F2DCDB; --sk-tint-sub: #FFF3F5;
  --sk-muted: #F0EBEC; --sk-ink: #231C1D; --sk-sec: #73696A; --sk-sec-tint: #595051;
  --sk-pri: #6C0820; --sk-pri-edge: #530015; --sk-on-pri: #FFFFFF; --sk-link: #3D5D91;
  --sk-border: #E2D8D9; --sk-decor: #5A86CB; --sk-ok: #4F7A21; --sk-ok-edge: #375517;
  --sk-ok-bg: #DFF6CE; --sk-ok-text: #385F00; --sk-bad: #C12538; --sk-bad-bg: #FFE6E5;
  --sk-bad-text: #9D0123; --sk-pink: #F2AEBC; --sk-info-bg: #E3EEFF;
  /* word status, light (docs/05 section 5) */
  --st-unseen: #6B7280; --st-new: #DC2626; --st-rec: #C2500A; --st-fam: #A16207; --st-known: #2563EB;
}
:root[data-theme="dark"] .bo-panel, :root[data-theme="dark"] .bo-app {
  --sk-canvas: #1A1315; --sk-surface: #261C1F; --sk-tint: #3A2A2E; --sk-tint-sub: #21181A;
  --sk-muted: #2E2326; --sk-ink: #F4ECEC; --sk-sec: #A99F9F; --sk-sec-tint: #C8BEBF;
  --sk-pri: #F2AEBC; --sk-pri-edge: #B0717F; --sk-on-pri: #530015; --sk-link: #9EC2FD;
  --sk-border: #3A2E31; --sk-decor: #7FA3DB; --sk-ok: #A2D279; --sk-ok-edge: #69963E;
  --sk-ok-bg: #1F2A14; --sk-ok-text: #A2D279; --sk-bad: #FEA5A3; --sk-bad-bg: #3A1A1C;
  --sk-bad-text: #FEA5A3; --sk-info-bg: #1E2A3D;
  --st-unseen: #9CA3AF; --st-new: #F87171; --st-rec: #FB923C; --st-fam: #FACC15; --st-known: #60A5FA;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .bo-panel, :root:not([data-theme]) .bo-app {
    --sk-canvas: #1A1315; --sk-surface: #261C1F; --sk-tint: #3A2A2E; --sk-tint-sub: #21181A;
    --sk-muted: #2E2326; --sk-ink: #F4ECEC; --sk-sec: #A99F9F; --sk-sec-tint: #C8BEBF;
    --sk-pri: #F2AEBC; --sk-pri-edge: #B0717F; --sk-on-pri: #530015; --sk-link: #9EC2FD;
    --sk-border: #3A2E31; --sk-decor: #7FA3DB; --sk-ok: #A2D279; --sk-ok-edge: #69963E;
    --sk-ok-bg: #1F2A14; --sk-ok-text: #A2D279; --sk-bad: #FEA5A3; --sk-bad-bg: #3A1A1C;
    --sk-bad-text: #FEA5A3; --sk-info-bg: #1E2A3D;
    --st-unseen: #9CA3AF; --st-new: #F87171; --st-rec: #FB923C; --st-fam: #FACC15; --st-known: #60A5FA;
  }
}

.bo-panel { background: var(--sk-canvas); border-color: color-mix(in srgb, var(--sk-pri) 10%, transparent); }
.bo-panel .panel__cap, .bo-panel .panel__title, .bo-panel .lab { color: var(--sk-sec); }
.bo-panel .lab--ink { color: var(--sk-ink); }
.bo-panel .lab--mark { color: var(--sk-pri); }
.bo-panel .demo__read { color: var(--sk-ink); }
.bo-panel .demo__read em { color: var(--sk-pri); }
.bo-panel .swap { background: color-mix(in srgb, var(--sk-ink) 7%, transparent); }
.bo-panel .swap button { color: var(--sk-sec); }
.bo-panel .swap button[aria-pressed="true"] { background: var(--sk-surface); color: var(--sk-ink); }
.bo-panel code { background: var(--sk-surface); border-color: var(--sk-border); }

/* Inside a phone, 1 --u is one iOS point: the screen is 0.926 of the phone and 393 pt wide. */
.bo-phone { --u: calc(var(--ph-w) * .002356); }
.bo-app {
  font-family: Nunito, "Noto Sans KR", system-ui, sans-serif;
  color: var(--sk-ink); background: var(--sk-canvas);
  -webkit-font-smoothing: antialiased;
}
.bo-app [lang="ko"], .bo-ko { font-family: "Noto Sans KR", Nunito, system-ui, sans-serif; }
.phone__screen.bo-app { --ph-bg: var(--sk-canvas); --ph-ink: var(--sk-ink); }
.phone__screen.bo-shot { background: #FBF6F5; }
.phone__screen.bo-shot > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bo-stat { display: inline-flex; align-items: center; gap: calc(var(--ph-w) * .02); }

/* ---- Top bar: sound toggle beside the theme switch ------------------------ */
.bo-top__right { justify-self: end; display: inline-flex; align-items: center; gap: 10px; }
.bo-sound {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 11px; border-radius: var(--radius-full);
  background: transparent; border: 1px solid var(--line); color: var(--ink-muted);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase;
  transition: color var(--dur-hover) var(--ease-expo), border-color var(--dur-hover) var(--ease-expo), background var(--dur-hover) var(--ease-expo);
}
.bo-sound:hover { color: var(--ink); border-color: var(--ink-muted); }
.bo-sound:focus-visible { outline: var(--focus-ring) solid var(--focus); outline-offset: var(--focus-offset); }
.bo-sound .bo-sound__on { display: none; }
.bo-sound[aria-pressed="true"] { color: var(--on-marker); background: var(--marker); border-color: var(--marker); }
.bo-sound[aria-pressed="true"] .bo-sound__on { display: block; }
.bo-sound[aria-pressed="true"] .bo-sound__off { display: none; }
@media (max-width: 560px) { .bo-sound__lab { display: none; } .bo-sound { padding: 0 8px; } }

/* ---- Hero ----------------------------------------------------------------- */
.bo .cs-hero { padding-bottom: 28px; }
.bo-hero { position: relative; display: grid; justify-items: center; padding: 28px 24px 22px; min-height: 360px; }
.bo-hero__bogo {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer; position: relative; z-index: 2;
  border-radius: 24px; transition: transform 240ms var(--ease-expo);
}
.bo-hero__bogo:active { transform: scale(.97); }
.bo-hero__bogo:focus-visible { outline: var(--focus-ring) solid var(--sk-link); outline-offset: 6px; }
.bo-hero__read { display: flex; gap: 14px; align-items: baseline; margin: 6px 0 0; position: relative; z-index: 2; }
.bo-petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bo-petal {
  position: absolute; top: -24px; width: 11px; height: 8px; border-radius: 70% 0 70% 0;
  background: var(--sk-pink); opacity: .85;
  animation: bo-fall var(--dur, 5s) cubic-bezier(.35, .1, .55, 1) var(--delay, 0s) 1 forwards;
}
@keyframes bo-fall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .9; }
  100% { transform: translate(var(--drift, 40px), 440px) rotate(var(--spin, 300deg)); opacity: 0; }
}

/* ---- A Bogo loop: a poster with a video that takes over -------------------- */
.bo-loop { position: relative; display: block; aspect-ratio: 1; }
.bo-loop > img, .bo-loop > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  pointer-events: none; -webkit-user-drag: none;
}
.bo-loop > video { opacity: 0; }
.bo-loop[data-started] > video { opacity: 1; }
.bo-loop[data-started] > img { opacity: 0; }
.bo-loop--hero { width: min(300px, 64vw); }
.bo-loop--flow { width: 72px; margin: 0 auto 6px; }

/* ---- The App Store link ------------------------------------------------------ */
.bo-cta { display: flex; justify-content: center; margin: 22px 0 0; }
.bo-cta__go {
  display: inline-flex; align-items: center; gap: 11px; padding: 8px 18px 8px 9px;
  border-radius: var(--radius-full); text-decoration: none;
  background: var(--marker); color: var(--on-marker);
  transition: transform var(--dur-hover) var(--ease-expo);
}
.bo-cta__go:hover { transform: translateY(-2px); }
.bo-cta__go:focus-visible { outline: var(--focus-ring) solid var(--focus); outline-offset: var(--focus-offset); }
.bo-cta__go img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.bo-cta__go span { display: grid; font-size: 13.5px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.bo-cta__go small { font-family: var(--font-mono); font-size: 8.6px; letter-spacing: .9px; text-transform: uppercase; opacity: .8; font-weight: 400; }

/* ---- Shared bits inside panels ------------------------------------------------ */
.bo-small { font-size: 13px; line-height: 19.5px; color: var(--sk-sec, var(--body)); margin: 0; }
.bo-panel .bo-small { color: var(--sk-sec); }
.bo-hint { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--sk-sec); }
.bo-tip { min-height: 20px; margin: 14px 0 0; text-align: center; font-size: 13px; line-height: 19px; color: var(--sk-ink); }
.bo-btn {
  appearance: none; cursor: pointer; border: 0; font: inherit; font-family: Nunito, system-ui, sans-serif;
  font-weight: 800; font-size: 14px; padding: 11px 22px; border-radius: 14px;
  background: var(--sk-pri); color: var(--sk-on-pri); box-shadow: 0 3px 0 var(--sk-pri-edge);
  transition: transform 120ms var(--ease-expo), box-shadow 120ms var(--ease-expo);
}
.bo-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--sk-pri-edge); }
.bo-btn:focus-visible, .bo-link:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 2px; }
.bo-btn--quiet { background: var(--sk-surface); color: var(--sk-ink); box-shadow: 0 0 0 1.5px var(--sk-border), 0 3px 0 var(--sk-border); }
.bo-link {
  appearance: none; border: 0; background: none; cursor: pointer; padding: 4px 0;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .9px; text-transform: uppercase;
  color: var(--sk-link); text-decoration: underline; text-underline-offset: 3px;
}
.bo-switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .9px; text-transform: uppercase; color: var(--sk-ink); }
.bo-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bo-switch span { width: 30px; height: 18px; border-radius: 99px; background: color-mix(in srgb, var(--sk-ink) 18%, transparent); position: relative; transition: background 200ms var(--ease-expo); }
.bo-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 99px; background: var(--sk-surface); transition: transform 200ms var(--ease-expo); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.bo-switch input:checked + span { background: var(--sk-pri); }
.bo-switch input:checked + span::after { transform: translateX(12px); }
.bo-switch input:focus-visible + span { outline: 2px solid var(--sk-link); outline-offset: 2px; }

/* The small device frame used for thumbnails: a bezel and a screen radius, never a bare rectangle. */
.bo-mini {
  display: block; padding: 3px; border-radius: 11px; background: #0A0A0B;
  box-shadow: 0 0 0 1px #E2DFD9, 0 8px 16px -10px rgba(0,0,0,.4);
}
:root[data-theme="dark"] .bo-mini { box-shadow: 0 0 0 1px #3A3A3E, 0 8px 16px -10px rgba(0,0,0,.6); }
.bo-mini img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1301; object-fit: cover; border-radius: 8px; }

/* ---- 01 Try it: the Feed ---------------------------------------------------------- */
.bo-try { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; }
.bo-try__notes { max-width: 300px; }
.bo-try__notes .lab { margin: 0 0 10px; }
.bo-steps { margin: 0 0 16px; padding-left: 18px; color: var(--sk-ink); font-size: 14px; line-height: 21px; }
.bo-steps li { margin-bottom: 8px; }
.bo-steps b { font-weight: 600; }

.bo-feed { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(66 * var(--u)); }
.bo-goal { display: flex; align-items: center; gap: calc(8 * var(--u)); padding: calc(4 * var(--u)) calc(16 * var(--u)) calc(8 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 800; color: var(--sk-ink); }
.bo-goal i { flex: 1; height: calc(8 * var(--u)); border-radius: 99px; background: var(--sk-muted); position: relative; overflow: hidden; }
.bo-goal i::after { content: ""; position: absolute; inset: 0 70% 0 0; background: var(--sk-decor); border-radius: 99px; }
.bo-clip { position: relative; height: calc(340 * var(--u)); background: #000; color: #fff; flex: 0 0 auto; overflow: hidden; }
.bo-clip__head { position: absolute; top: calc(10 * var(--u)); left: calc(12 * var(--u)); right: calc(12 * var(--u)); display: flex; gap: calc(8 * var(--u)); align-items: center; z-index: 2; }
.bo-clip__av { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 99px; background: #F2AEBC; color: #6C0820; display: grid; place-items: center; font-weight: 800; font-size: calc(13 * var(--u)); }
.bo-clip__t { display: grid; font-size: calc(12.5 * var(--u)); font-weight: 800; line-height: 1.2; }
.bo-clip__t small { font-weight: 600; opacity: .7; font-size: calc(10.5 * var(--u)); }
.bo-clip__card { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); width: calc(190 * var(--u)); height: calc(190 * var(--u)); border-radius: calc(28 * var(--u)); background: #F2DCDB; display: grid; place-items: center; }
.bo-clip__card img { width: 88%; height: 88%; object-fit: contain; }
.bo-clip__time { position: absolute; left: 0; right: 0; bottom: 0; height: calc(3 * var(--u)); background: rgba(255,255,255,.25); }
.bo-clip__time::after { content: ""; position: absolute; inset: 0 76% 0 0; background: #F2AEBC; }

.bo-lines { flex: 1; padding: calc(18 * var(--u)) calc(16 * var(--u)) 0; overflow: hidden; }
.bo-line { margin-bottom: calc(14 * var(--u)); }
.bo-line--dim { opacity: .45; }
.bo-words { display: flex; flex-wrap: wrap; gap: calc(2 * var(--u)) calc(8 * var(--u)); }
.bo-word {
  appearance: none; border: 0; background: none; padding: calc(2 * var(--u)) calc(2 * var(--u)) 0; cursor: pointer;
  display: grid; justify-items: center; color: var(--sk-ink); border-radius: calc(6 * var(--u));
  font-family: inherit;
}
.bo-word b { font-family: "Noto Sans KR", Nunito, sans-serif; font-size: calc(23 * var(--u)); font-weight: 800; line-height: 1.25; padding-bottom: calc(2 * var(--u)); border-bottom: calc(3 * var(--u)) solid var(--ul, var(--st-new)); }
.bo-word small { font-size: calc(10 * var(--u)); color: var(--sk-sec); margin-top: calc(3 * var(--u)); font-weight: 600; }
.bo-word[data-saved] { --ul: var(--st-known); }
.bo-word:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 1px; }
.bo-word[aria-expanded="true"] { background: var(--sk-tint-sub); }
.bo-line p { margin: calc(4 * var(--u)) 0 0; font-size: calc(13 * var(--u)); color: var(--sk-sec); font-weight: 600; }

.bo-tabbar {
  position: absolute; left: 50%; bottom: calc(30 * var(--u)); transform: translateX(-50%);
  display: flex; gap: calc(4 * var(--u)); padding: calc(6 * var(--u)); border-radius: 999px;
  background: var(--sk-surface);
  box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(35, 28, 29, .14);
  z-index: 3;
}
.bo-tabbar span {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: calc(2 * var(--u)); width: calc(82 * var(--u)); height: calc(53 * var(--u));
  border-radius: 999px; color: var(--sk-sec);
}
.bo-tabbar span[data-on] { background: var(--sk-tint); color: var(--sk-pri); }
.bo-tabbar svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); display: block; }
.bo-tabbar b { font-size: calc(11 * var(--u)); line-height: calc(15 * var(--u)); font-weight: 800; }
.bo-tabbar em {
  position: absolute; top: 0; left: calc(49 * var(--u));
  height: calc(18 * var(--u)); min-width: calc(18 * var(--u)); padding: 0 calc(6 * var(--u));
  border-radius: 999px; background: var(--sk-pri); color: var(--sk-on-pri);
  font-style: normal; font-weight: 800; font-size: calc(11 * var(--u)); line-height: calc(18 * var(--u));
  text-align: center; box-sizing: border-box;
}
.bo-tabbar em[hidden] { display: none; }

/* The W1 word card */
.bo-card {
  position: absolute; left: calc(12 * var(--u)); right: calc(12 * var(--u)); top: calc(84 * var(--u));
  z-index: 4; background: var(--sk-surface); border-radius: calc(22 * var(--u));
  padding: calc(18 * var(--u)); box-shadow: 0 calc(12 * var(--u)) calc(40 * var(--u)) rgba(35,28,29,.28);
  transform: translateY(calc(40 * var(--u))); opacity: 0; visibility: hidden;
  transition: transform 340ms cubic-bezier(.32,.72,0,1), opacity 220ms ease, visibility 0s 340ms;
  max-height: calc(560 * var(--u)); overflow: auto; scrollbar-width: none;
}
.bo-card[data-open] { transform: none; opacity: 1; visibility: visible; transition: transform 340ms cubic-bezier(.32,.72,0,1), opacity 220ms ease; }
.bo-card__head { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.bo-card__w { font-family: "Noto Sans KR", Nunito, sans-serif; font-size: calc(32 * var(--u)); font-weight: 800; line-height: 1.1; }
.bo-spk { appearance: none; border: 0; cursor: pointer; width: calc(34 * var(--u)); height: calc(34 * var(--u)); border-radius: 99px; background: var(--sk-tint); color: var(--sk-pri); display: grid; place-items: center; padding: 0; }
.bo-spk svg { width: 52%; height: 52%; }
.bo-pill { appearance: none; border: 0; cursor: pointer; margin-left: auto; font-family: inherit; font-weight: 800; font-size: calc(13 * var(--u)); padding: calc(7 * var(--u)) calc(13 * var(--u)); border-radius: 99px; background: var(--sk-ok-bg); color: var(--sk-ok-text); display: inline-flex; gap: calc(5 * var(--u)); align-items: center; }
.bo-pill[data-off] { background: var(--sk-muted); color: var(--sk-ink); }
.bo-pill:focus-visible, .bo-spk:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 2px; }
.bo-card__mean { margin: calc(12 * var(--u)) 0 0; font-size: calc(20 * var(--u)); font-weight: 800; line-height: 1.25; }
.bo-card__meta { margin: calc(3 * var(--u)) 0 0; font-size: calc(12 * var(--u)); color: var(--sk-sec); font-weight: 600; }
.bo-card hr { border: 0; border-top: 1px solid var(--sk-border); margin: calc(14 * var(--u)) 0; }
.bo-card__clip { background: var(--sk-tint-sub); border-radius: calc(14 * var(--u)); padding: calc(12 * var(--u)); }
:root[data-theme="dark"] .bo-card__clip { background: var(--sk-tint); }
.bo-card__clip .lab { display: block; font-family: Nunito, sans-serif; font-weight: 800; font-size: calc(9.5 * var(--u)); letter-spacing: .06em; color: var(--sk-sec); margin-bottom: calc(5 * var(--u)); }
.bo-card__s { font-family: "Noto Sans KR", Nunito, sans-serif; font-size: calc(16 * var(--u)); font-weight: 700; margin: 0; }
.bo-card__s mark { background: none; color: var(--sk-pri); font-weight: 800; }
.bo-card__en { margin: calc(4 * var(--u)) 0 0; font-size: calc(12.5 * var(--u)); color: var(--sk-sec); font-weight: 600; }
.bo-card__brk { margin: calc(8 * var(--u)) 0 0; font-size: calc(12.5 * var(--u)); font-weight: 700; color: var(--sk-ink); }
.bo-card__more { margin-top: calc(14 * var(--u)); width: 100%; appearance: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: calc(14 * var(--u)); padding: calc(11 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--sk-surface); color: var(--sk-ink); border: 1.5px solid var(--sk-border); }
.bo-card__more:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 2px; }
.bo-card__senses { margin: calc(10 * var(--u)) 0 0; padding: 0; list-style: none; display: grid; gap: calc(6 * var(--u)); }
.bo-card__senses li { background: var(--sk-muted); border-radius: calc(10 * var(--u)); padding: calc(8 * var(--u)) calc(10 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 700; }
.bo-card__senses li:nth-child(2n) { background: var(--sk-info-bg); }
.bo-card__senses li span { color: var(--sk-sec); margin-right: calc(6 * var(--u)); }
.bo-card__ex { font-size: calc(12.5 * var(--u)); color: var(--sk-sec); font-weight: 600; margin: calc(8 * var(--u)) 0 0; }

/* ---- 02 The mistake ------------------------------------------------------- */
.bo-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bo-vs__side { margin: 0; display: grid; justify-items: center; align-content: start; }
.bo-vs__side + .bo-vs__side { border-left: 1px dashed color-mix(in srgb, var(--sk-ink) 14%, transparent); }
.bo-vs .ba__tag--after { background: var(--sk-pri); color: var(--sk-on-pri); }
.bo-vs .ba__tag--before { background: color-mix(in srgb, var(--sk-ink) 9%, transparent); color: var(--sk-sec); }
.bo-shot > img { transition: opacity 160ms ease; }
.bo-hot {
  position: absolute; z-index: 3; appearance: none; border: 0; padding: 0; cursor: pointer;
  background: transparent; border-radius: 12px;
  box-shadow: 0 0 0 2px color-mix(in srgb, #3D5D91 70%, transparent);
  animation: bo-hot 1.6s ease-in-out infinite;
}
.bo-hot:focus-visible { outline: 3px solid #3D5D91; outline-offset: 2px; }
@keyframes bo-hot { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, #3D5D91 30%, transparent); } }
@media (prefers-reduced-motion: reduce) { .bo-hot { animation: none; } }
.bo-count { display: flex; gap: 18px; margin-top: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--sk-sec); }
.bo-count b { font-family: var(--font-sans); font-size: 24px; letter-spacing: -.03em; font-weight: 500; color: var(--sk-ink); margin-right: 4px; font-variant-numeric: tabular-nums; }

/* ---- Practice (used in 02 and 05) ---------------------------------------- */
.bo-pr { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(70 * var(--u)) calc(18 * var(--u)) calc(30 * var(--u)); }
.bo-pr__top { display: flex; align-items: center; gap: calc(12 * var(--u)); height: calc(36 * var(--u)); }
.bo-pr__x { font-size: calc(18 * var(--u)); color: var(--sk-ink); line-height: 1; font-weight: 600; }
.bo-pr__track { flex: 1; height: calc(8 * var(--u)); border-radius: 99px; background: var(--sk-muted); position: relative; }
.bo-pr__fill { position: absolute; inset: 0 auto 0 0; width: 6%; border-radius: 99px; background: var(--sk-decor); transition: width 480ms cubic-bezier(.23,1,.32,1), background 300ms ease; }
.bo-pr__fill[data-hot] { background: var(--sk-pink); }
.bo-pr__rider { position: absolute; top: 50%; width: calc(30 * var(--u)); height: calc(30 * var(--u)); transform: translate(-50%, -58%); left: 6%; transition: left 480ms cubic-bezier(.23,1,.32,1); }
.bo-pr__rider img { width: 100%; height: 100%; object-fit: contain; }
.bo-pr__count { font-size: calc(12 * var(--u)); font-weight: 800; color: var(--sk-sec); display: none; }
.bo-pr[data-sched] .bo-pr__count { display: block; }
.bo-pr__combo { height: calc(18 * var(--u)); font-size: calc(11.5 * var(--u)); font-weight: 900; color: var(--sk-pri); letter-spacing: .04em; margin-top: calc(4 * var(--u)); }
.bo-pr__q { margin: calc(4 * var(--u)) 0 0; font-size: calc(21 * var(--u)); font-weight: 900; }
.bo-pr__ask { display: flex; align-items: center; gap: calc(6 * var(--u)); margin-top: calc(10 * var(--u)); min-height: calc(130 * var(--u)); }
.bo-pr__ask .bo-loop { width: calc(130 * var(--u)); flex: 0 0 auto; }
.bo-bubble { position: relative; background: var(--sk-surface); border: 1.5px solid var(--sk-border); border-radius: calc(16 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); min-width: calc(110 * var(--u)); }
.bo-bubble::before { content: ""; position: absolute; left: calc(-8 * var(--u)); top: 50%; width: calc(13 * var(--u)); height: calc(13 * var(--u)); background: inherit; border-left: 1.5px solid var(--sk-border); border-bottom: 1.5px solid var(--sk-border); transform: translateY(-50%) rotate(45deg); }
.bo-bubble__w { display: flex; align-items: center; gap: calc(8 * var(--u)); font-family: "Noto Sans KR", Nunito, sans-serif; font-size: calc(30 * var(--u)); font-weight: 800; line-height: 1.15; }
.bo-bubble__w .bo-spk { width: calc(28 * var(--u)); height: calc(28 * var(--u)); }
.bo-bubble small { display: block; font-size: calc(11.5 * var(--u)); color: var(--sk-sec); font-weight: 600; }
.bo-again-tag { display: inline-flex; align-items: center; gap: calc(3 * var(--u)); margin-bottom: calc(4 * var(--u)); font-size: calc(9.5 * var(--u)); font-weight: 800; color: var(--sk-link); background: var(--sk-info-bg); border-radius: 99px; padding: calc(2 * var(--u)) calc(7 * var(--u)); }
.bo-tiles { display: grid; gap: calc(9 * var(--u)); margin-top: calc(16 * var(--u)); }
.bo-tile {
  appearance: none; cursor: pointer; font-family: inherit; text-align: center;
  font-size: calc(14 * var(--u)); font-weight: 800; color: var(--sk-ink);
  padding: calc(13 * var(--u)) calc(10 * var(--u)); border-radius: calc(16 * var(--u));
  background: var(--sk-surface); border: 1px solid var(--sk-border); box-shadow: 0 calc(2 * var(--u)) 0 var(--sk-border);
  transition: transform 120ms ease, background 150ms ease, border-color 150ms ease;
}
.bo-tile:active { transform: translateY(calc(2 * var(--u))); }
.bo-tile:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 2px; }
.bo-tile[data-state="right"] { background: var(--sk-ok-bg); border: 2px solid var(--sk-ok); color: var(--sk-ok-text); animation: bo-pop 260ms ease; }
.bo-tile[data-state="wrong"] { background: var(--sk-bad-bg); border: 2px solid var(--sk-bad); color: var(--sk-bad-text); animation: bo-shake 300ms ease; }
@keyframes bo-pop { 50% { transform: scale(1.04); } }
@keyframes bo-shake { 20%, 60% { transform: translateX(calc(-5 * var(--u))); } 40%, 80% { transform: translateX(calc(5 * var(--u))); } }
@media (prefers-reduced-motion: reduce) { .bo-tile[data-state] { animation: none; } }
.bo-oldrow { display: none; grid-template-columns: 1fr 1fr; gap: calc(9 * var(--u)); margin-top: calc(10 * var(--u)); }
.bo-pr[data-sched] .bo-oldrow { display: grid; }
.bo-oldrow span { text-align: center; border-radius: calc(12 * var(--u)); padding: calc(7 * var(--u)) 0; font-size: calc(13 * var(--u)); font-weight: 800; line-height: 1.2; }
.bo-oldrow span:first-child { background: var(--sk-bad-bg); color: var(--sk-bad-text); }
.bo-oldrow span:last-child { background: var(--sk-ok); color: #fff; }
:root[data-theme="dark"] .bo-oldrow span:last-child { color: #0E1D00; }
.bo-oldrow small { display: block; font-size: calc(10.5 * var(--u)); font-weight: 700; }
.bo-oldnext { display: none; margin-top: calc(8 * var(--u)); justify-self: center; font-size: calc(11 * var(--u)); font-weight: 800; color: var(--sk-pri); background: var(--sk-tint); border-radius: 99px; padding: calc(4 * var(--u)) calc(10 * var(--u)); }
.bo-pr[data-sched] .bo-oldnext { display: inline-block; }

.bo-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: calc(16 * var(--u)) calc(18 * var(--u)) calc(34 * var(--u));
  border-radius: calc(24 * var(--u)) calc(24 * var(--u)) 0 0;
  background: var(--sk-ok-bg); transform: translateY(105%);
  transition: transform 360ms cubic-bezier(.32,.72,0,1);
}
.bo-sheet[data-open] { transform: none; }
.bo-sheet[data-kind="wrong"] { background: var(--sk-bad-bg); }
.bo-sheet[data-burst] { animation: bo-burst 900ms ease; }
@keyframes bo-burst { 0% { background: var(--sk-pink); } 100% { background: var(--sk-ok-bg); } }
.bo-sheet__row { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.bo-sheet__row .bo-loop { width: calc(84 * var(--u)); flex: 0 0 auto; }
.bo-sheet__t { font-size: calc(20 * var(--u)); font-weight: 900; color: var(--sk-ok-text); margin: 0; }
.bo-sheet[data-kind="wrong"] .bo-sheet__t { color: var(--sk-bad-text); }
.bo-sheet__m { margin: calc(3 * var(--u)) 0 0; font-size: calc(13.5 * var(--u)); font-weight: 700; color: var(--sk-ink); }
.bo-sheet__next { font-size: calc(11 * var(--u)); font-weight: 800; color: var(--sk-sec); margin: calc(4 * var(--u)) 0 0; display: none; }
.bo-pr[data-sched] .bo-sheet__next { display: block; }
.bo-sheet__go { width: 100%; margin-top: calc(12 * var(--u)); font-size: calc(15 * var(--u)); padding: calc(13 * var(--u)); border-radius: calc(16 * var(--u)); }
.bo-sheet[data-kind="right"] .bo-sheet__go { background: #4F7A21; color: #fff; box-shadow: 0 calc(3 * var(--u)) 0 #375517; }

.bo-done { position: absolute; inset: 0; z-index: 5; background: var(--sk-canvas); display: flex; flex-direction: column; align-items: center; padding: calc(70 * var(--u)) calc(18 * var(--u)) calc(34 * var(--u)); text-align: center; }
.bo-done .bo-loop { width: calc(170 * var(--u)); }
.bo-done h3 { margin: calc(6 * var(--u)) 0 0; font-size: calc(24 * var(--u)); font-weight: 900; }
.bo-done p { margin: calc(4 * var(--u)) 0 0; font-size: calc(13.5 * var(--u)); color: var(--sk-sec); font-weight: 700; }
.bo-done__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(8 * var(--u)); width: 100%; margin-top: calc(16 * var(--u)); }
.bo-done__tiles span { border-radius: calc(14 * var(--u)); border: 2px solid var(--c); overflow: hidden; display: grid; }
.bo-done__tiles small { background: var(--c); color: #fff; font-size: calc(9 * var(--u)); font-weight: 900; letter-spacing: .06em; padding: calc(3 * var(--u)) 0; }
.bo-done__tiles b { font-size: calc(22 * var(--u)); font-weight: 900; color: var(--c); padding: calc(6 * var(--u)) 0; background: var(--sk-surface); }
.bo-done__go { margin-top: auto; width: 100%; font-size: calc(15 * var(--u)); padding: calc(13 * var(--u)); border-radius: calc(16 * var(--u)); }
.bo-done__end { margin-top: calc(10 * var(--u)); appearance: none; border: 0; background: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: calc(14 * var(--u)); color: var(--sk-link); }

/* ---- 05 Scheduler panel ---------------------------------------------------- */
.bo-lab__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 22px; }
.bo-sched { background: var(--sk-surface); border: 1px solid var(--sk-border); border-radius: 16px; padding: 18px; min-height: 100%; }
.bo-sched__now { margin: 12px 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bo-sched__now > div { background: var(--sk-canvas); border-radius: 10px; padding: 9px 10px; }
.bo-sched__now span { display: block; font-family: var(--font-mono); font-size: 8.6px; letter-spacing: .5px; text-transform: uppercase; color: var(--sk-sec); }
.bo-sched__now b { display: block; margin-top: 3px; font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--sk-ink); font-variant-numeric: tabular-nums; }
.bo-sched__now .bo-big { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
.bo-sched__now .bo-big b { font-family: "Noto Sans KR", var(--font-sans); font-size: 22px; }
.bo-sched__log { width: 100%; border-collapse: collapse; font-size: 12.5px; color: var(--sk-ink); }
.bo-sched__log th { text-align: left; font-family: var(--font-mono); font-size: 8.6px; letter-spacing: .5px; text-transform: uppercase; font-weight: 400; color: var(--sk-sec); padding: 0 6px 6px 0; border-bottom: 1px solid var(--sk-border); }
.bo-sched__log td { padding: 6px 6px 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--sk-border) 70%, transparent); font-variant-numeric: tabular-nums; }
.bo-sched__log td:first-child { font-family: "Noto Sans KR", var(--font-sans); font-weight: 500; }
.bo-sched__log tr.bo-new td { animation: bo-row 900ms ease; }
@keyframes bo-row { from { background: var(--sk-tint); } }
.bo-sched__log .bo-empty td { color: var(--sk-sec); font-size: 12px; padding-top: 12px; border: 0; }
.bo-g { font-family: var(--font-mono); font-size: 10px; letter-spacing: .4px; padding: 1px 6px; border-radius: 4px; }
.bo-g--good { background: var(--sk-ok-bg); color: var(--sk-ok-text); }
.bo-g--again { background: var(--sk-bad-bg); color: var(--sk-bad-text); }
.bo-st { font-size: 11.5px; font-weight: 500; }
.bo-st--known { color: var(--sk-ok-text); }
.bo-sched__body { max-height: 260px; overflow: auto; }
.bo-sched__foot { display: grid; gap: 4px; margin-top: 14px; }

/* ---- 03 The bar -------------------------------------------------------------- */
.bo-bar { display: grid; justify-items: center; padding-top: 30px; }
.bo-bar__tabs { display: inline-flex; gap: 4px; padding: 6px; border-radius: 99px; background: var(--sk-surface); box-shadow: 0 2px 10px rgba(35,28,29,.14); }
.bo-bar__tabs button {
  appearance: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 2px;
  width: 92px; height: 60px; padding: 0; border-radius: 99px; background: none; color: var(--sk-sec);
  font-family: Nunito, sans-serif; font-weight: 800; font-size: 12px; align-content: center;
  transition: background 180ms ease, color 180ms ease;
}
.bo-bar__tabs svg { width: 24px; height: 24px; display: block; }
.bo-bar__tabs button[aria-selected="true"] { background: var(--sk-tint); color: var(--sk-pri); }
.bo-bar__tabs button:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 2px; }
.bo-bar__line { margin: 22px 0 18px; font-size: clamp(19px, 2.6vw, 26px); letter-spacing: -.02em; line-height: 1.3; text-align: center; color: var(--sk-ink); max-width: 560px; min-height: 2.6em; }
.bo-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.bo-rules li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sk-border); font-size: 12.5px; line-height: 18px; color: var(--sk-sec); opacity: .5; transition: opacity 260ms ease, background 260ms ease, border-color 260ms ease, color 260ms ease; }
.bo-rules li b { font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--sk-sec); }
.bo-rules li[data-on] { opacity: 1; background: var(--sk-surface); border-color: color-mix(in srgb, var(--sk-pri) 40%, transparent); color: var(--sk-ink); }
.bo-rules li[data-on] b { color: var(--sk-pri); }

/* ---- 04 Nineteen to ten ----------------------------------------------------- */
.bo-minis { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 14px 12px; margin-top: 24px; max-width: 820px; margin-inline: auto; }
.bo-mcell { appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: default; position: relative; display: grid; gap: 6px; justify-items: center; font: inherit; color: inherit; }
.bo-mcell .bo-mini { width: 100%; transition: transform 300ms var(--ease-expo); }
.bo-mcell span.lab { font-size: 8.4px; line-height: 11px; text-align: center; letter-spacing: .2px; }
.bo-mcell[data-cut] { cursor: help; }
.bo-mcell[data-cut]:hover .bo-mini, .bo-mcell[data-cut]:focus-visible .bo-mini { transform: translateY(-3px); }
.bo-mcell:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 3px; border-radius: 8px; }
.bo-mcell[data-struck] .bo-mini::after {
  content: ""; position: absolute; inset: 3px; border-radius: 8px;
  background: linear-gradient(to bottom left, transparent calc(50% - 1px), var(--sk-bad) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.bo-mcell .bo-mini { position: relative; }
.bo-mcell[data-struck] { opacity: .55; }
.bo-mcell[data-sys] .bo-mini { opacity: .55; }
.bo-mcell[data-moved] .bo-mini { outline: 1.5px dashed var(--sk-link); outline-offset: 3px; }
.bo-mcell[data-moved] .lab { color: var(--sk-link); }
.bo-mcell[data-gone] { display: none; }

/* ---- Progress bar --------------------------------------------------------------- */
.bo-prog__bars { display: grid; gap: 16px; max-width: 620px; margin: 0 auto 28px; }
.bo-prog__bar { display: grid; grid-template-columns: 170px minmax(0, 1fr) 62px; gap: 14px; align-items: center; }
.bo-track { position: relative; height: 10px; border-radius: 99px; background: var(--sk-muted); }
.bo-track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: color-mix(in srgb, var(--sk-ink) 35%, transparent); transition: width 520ms cubic-bezier(.23,1,.32,1); }
.bo-track--ship i { background: var(--sk-decor); }
.bo-track img { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; transform: translate(-50%, -58%); transition: left 520ms cubic-bezier(.23,1,.32,1), opacity 200ms ease; object-fit: contain; }
.bo-prog__pc { text-align: right; }
.bo-prog__row { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; }
.bo-prog__side { max-width: 300px; display: grid; gap: 12px; justify-items: start; }

/* ---- The struck list ----------------------------------------------------------- */
.bo-gone { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.bo-gone li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; align-items: start; }
.bo-gone__shot { margin: 0; position: relative; }
.bo-gone__shot .bo-mini { position: relative; }
.bo-gone__shot .bo-mini::after { content: ""; position: absolute; inset: 3px; border-radius: 8px; background: linear-gradient(to bottom left, transparent calc(50% - 1px), var(--sk-bad) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.bo-gone b { font-weight: 500; font-size: 14.5px; color: var(--sk-ink); }
.strike-on { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--sk-bad); }
.bo-gone p { margin: 6px 0 0; font-size: 13px; line-height: 19.5px; color: var(--sk-sec); }

/* ---- 06 Quiet ---------------------------------------------------------------- */
.bo-quiet__stage { background: var(--sk-tint-sub); border-radius: 18px; padding: 28px 20px 22px; margin-top: 22px; text-align: center; }
:root[data-theme="dark"] .bo-quiet__stage { background: var(--sk-surface); }
.bo-qwords { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.bo-qw { display: grid; justify-items: center; }
.bo-qw rt, .bo-qw .bo-qw__hint { font-size: 11px; color: var(--sk-sec); height: 15px; font-weight: 600; }
.bo-qw b { font-family: "Noto Sans KR", Nunito, sans-serif; font-weight: 800; font-size: clamp(24px, 4.4vw, 36px); line-height: 1.25; padding-bottom: 3px; border-bottom: 3px solid var(--qc, transparent); transition: border-color 500ms ease; }
.bo-qw[data-s="unseen"] b { border-bottom-width: 2px; }
.bo-qw small { margin-top: 5px; font-size: 11.5px; color: var(--sk-sec); font-weight: 600; }
.bo-quiet__en { margin: 16px 0 0; font-size: 14px; color: var(--sk-sec); font-weight: 600; }
.bo-quiet__slider { max-width: 520px; margin: 22px auto 0; }
.bo-quiet__slider input { width: 100%; accent-color: var(--sk-pri); }
.bo-quiet__ticks { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--sk-sec); }

/* ---- 07 Contrast ---------------------------------------------------------------- */
.bo-con__pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bo-con__pick fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bo-con__pick legend { margin-bottom: 10px; padding: 0; }
.bo-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.bo-sw label { position: relative; cursor: pointer; display: grid; justify-items: center; gap: 5px; width: 64px; }
.bo-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bo-sw i { width: 40px; height: 40px; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(35,28,29,.14); transition: transform 160ms ease, box-shadow 160ms ease; }
.bo-sw span { font-size: 10.5px; line-height: 13px; text-align: center; color: var(--sk-sec); }
.bo-sw input:checked + i { box-shadow: inset 0 0 0 1px rgba(35,28,29,.14), 0 0 0 2px var(--sk-canvas), 0 0 0 4px var(--sk-ink); transform: scale(1.05); }
.bo-sw input:checked ~ span { color: var(--sk-ink); font-weight: 500; }
.bo-sw input:focus-visible + i { outline: 2px solid var(--sk-link); outline-offset: 5px; }
.bo-con__out { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; margin-top: 26px; align-items: stretch; }
.bo-con__demo { border-radius: 16px; padding: 22px; display: grid; gap: 14px; align-content: center; justify-items: start; font-family: Nunito, "Noto Sans KR", sans-serif; box-shadow: inset 0 0 0 1px rgba(35,28,29,.08); transition: background 200ms ease, color 200ms ease; }
.bo-con__btn { font-weight: 800; font-size: 15px; padding: 12px 22px; border-radius: 14px; border: 2px solid currentColor; }
.bo-con__demo p { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 600; }
.bo-con__read { display: grid; align-content: center; gap: 6px; }
.bo-con__read b { font-size: clamp(44px, 6vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--sk-ink); font-variant-numeric: tabular-nums; }
.bo-con__read p { margin: 4px 0 0; font-size: 14.5px; line-height: 21px; color: var(--sk-ink); }
.bo-con__read[data-v="fail"] b { color: var(--sk-bad-text); }
.bo-con__read[data-v="large"] b { color: #A16207; }
:root[data-theme="dark"] .bo-con__read[data-v="large"] b { color: #FACC15; }

/* ---- Green --------------------------------------------------------------------- */
.bo-green__row { margin-top: 24px; gap: 18px; }
.bo-green__row figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.bo-green__row canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 420ms ease; }
.bo-green[data-on] .bo-green__row canvas { opacity: 1; }

/* ---- Tonal strip -------------------------------------------------------------- */
.bo-tones__grid { display: grid; gap: 6px; }
.bo-tones__row { display: grid; grid-template-columns: 76px repeat(11, minmax(0, 1fr)); gap: 3px; align-items: center; }
.bo-tones__row span.lab { font-size: 8.6px; }
.bo-tones__row i { height: 26px; border-radius: 5px; background: var(--c); position: relative; }
.bo-tones__row i[data-brand]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%); border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px rgba(35,28,29,.25); }
.bo-tones__head { display: grid; grid-template-columns: 76px repeat(11, minmax(0, 1fr)); gap: 3px; }
.bo-tones__head span { font-family: var(--font-mono); font-size: 8px; text-align: center; color: var(--sk-sec); }

/* ---- 08 Bogo -------------------------------------------------------------------- */
.bo-charsheet { display: block; width: 100%; height: auto; border-radius: 12px; }
.bo-flow { flex-direction: row; flex-wrap: nowrap; align-items: center; }
.bo-flow .node small { text-transform: none; font-family: var(--font-sans); font-size: 11px; line-height: 15px; letter-spacing: 0; }
.bo-flow .node { padding: 12px 10px; min-width: 0; flex: 1 1 0; text-align: center; background: var(--sk-surface); border-color: var(--sk-border); }
.bo-flow .node b { color: var(--sk-ink); }
.bo-flow .node small { color: var(--sk-sec); }
.bo-flow .node img { width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 auto 6px; }
.bo-flow__sq { display: block; width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 8px; background: #0047FF; padding: 6px; }
.bo-flow__sq img { width: 100% !important; height: 100% !important; margin: 0 !important; }
.bo-flow .edge { min-width: 40px; flex: 0 0 64px; }
.bo-flow .edge > span { color: var(--sk-sec); }
.bo-flow .node--mark { border-color: var(--sk-pri); }

.bo-wall__group { margin-top: 22px; }
.bo-wall__group h3 { margin: 0 0 10px; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--sk-sec); }
.bo-wall__group h3 b { color: var(--sk-ink); font-weight: 400; margin-left: 6px; }
.bo-wall__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.bo-wcell { appearance: none; border: 0; padding: 4px; cursor: pointer; border-radius: 12px; background: var(--sk-surface); box-shadow: inset 0 0 0 1px var(--sk-border); transition: box-shadow 160ms ease, transform 160ms ease; }
.bo-wcell .bo-loop { width: 100%; }
.bo-wcell:hover, .bo-wcell[data-on] { box-shadow: inset 0 0 0 2px var(--sk-pri); }
.bo-wcell:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 2px; }
:root[data-theme="dark"] .bo-wcell { background: var(--sk-tint); }

.bo-pup { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: center; }
.bo-pup__stage { position: relative; width: 100%; aspect-ratio: 4 / 5; background: var(--sk-tint); border-radius: 24px; overflow: hidden; cursor: pointer; touch-action: manipulation; }
.bo-pup__stage:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 3px; }
.bo-pup__inner { position: absolute; left: 0; top: 0; width: 400px; height: 500px; transform-origin: 0 0; }
.bo-pup__root { position: absolute; left: 0; top: 0; width: 400px; height: 500px; }
.bo-pup__shadow { position: absolute; left: 110px; top: 432px; width: 180px; height: 18px; border-radius: 50%; background: #F2AEBC; opacity: .55; }
.bo-joint { position: absolute; width: 0; height: 0; transform-origin: 0 0; }
.bo-joint img { position: absolute; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.bo-pup__side { display: grid; gap: 14px; justify-items: start; }
.bo-pup__btns { display: flex; gap: 10px; }

.bo-board__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.bo-snd { background: var(--sk-surface); border: 1px solid var(--sk-border); border-radius: 12px; padding: 11px 12px; display: grid; gap: 8px; }
.bo-snd > span { font-size: 13px; color: var(--sk-ink); font-weight: 500; }
.bo-snd > span small { display: block; font-size: 11px; font-weight: 400; color: var(--sk-sec); margin-top: 2px; }
.bo-snd__takes { display: flex; gap: 6px; flex-wrap: wrap; }
.bo-take { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 6px; border-radius: 99px; border: 1px solid var(--sk-border); background: var(--sk-canvas); color: var(--sk-sec); font-family: var(--font-mono); font-size: 10px; letter-spacing: .5px; text-transform: uppercase; }
.bo-take svg { width: 12px; height: 12px; }
.bo-take[data-chosen] { border-color: var(--sk-pri); color: var(--sk-pri); background: var(--sk-surface); }
.bo-take[data-chosen]::after { content: "in app"; font-size: 8px; letter-spacing: .4px; padding: 1px 5px; border-radius: 99px; background: var(--sk-pri); color: var(--sk-on-pri); }
.bo-take[data-playing] { background: var(--sk-tint); }
.bo-take:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 2px; }
.bo-snd[data-cut] > span { text-decoration: line-through; text-decoration-color: var(--sk-bad); }

/* ---- 09 Log -------------------------------------------------------------------- */
.bo-log__chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.bo-log__chart .ax { stroke: var(--sk-border); }
.bo-log__chart .tk { font-family: var(--font-mono); font-size: 9px; letter-spacing: .4px; fill: var(--sk-sec); text-transform: uppercase; }
.bo-log__chart .dt { fill: color-mix(in srgb, var(--sk-ink) 26%, transparent); cursor: pointer; transition: fill 140ms ease; }
.bo-log__chart .dt[data-key] { fill: var(--sk-pri); }
.bo-log__chart .dt:hover, .bo-log__chart .dt:focus, .bo-log__chart .dt[data-on] { fill: var(--sk-link); outline: none; }
.bo-log__chart .kl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .4px; fill: var(--sk-pri); }
.bo-log__chart .kl-line { stroke: var(--sk-pri); stroke-width: 1; stroke-dasharray: 2 3; }

/* ---- 10 Stack ------------------------------------------------------------------- */
.bo-flow--pipe .node { flex: 1 1 0; }
.bo-panel .stack__layer { border-color: var(--sk-border); }
.bo-panel .chip { background: var(--sk-surface); border-color: var(--sk-border); color: var(--sk-ink); }
.bo-standing { margin-top: 18px; background: var(--sk-surface); border-color: var(--sk-border); color: var(--sk-ink); font-size: 14px; }
.bo-standing b { font-weight: 500; }
.bo-gap { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px dashed #A16207; color: #A16207; }
:root[data-theme="dark"] .bo-gap { border-color: #FACC15; color: #FACC15; }

/* ---- Narrow screens ------------------------------------------------------------- */
@media (max-width: 900px) {
  .bo-lab__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .bo-sched { width: 100%; }
  .bo-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .bo-flow { flex-direction: column; align-items: center; }
  .bo-flow .node { width: 100%; max-width: 320px; flex: 0 0 auto; }
  .bo-flow .edge { flex: 0 0 34px; }
}
@media (max-width: 760px) {
  .bo-vs { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bo-vs__side + .bo-vs__side { border-left: 0; border-top: 1px dashed color-mix(in srgb, var(--sk-ink) 14%, transparent); padding-top: 32px; }
  .bo-gone { grid-template-columns: minmax(0, 1fr); }
  .bo-con__pick, .bo-con__out { grid-template-columns: minmax(0, 1fr); }
  .bo-pup { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .bo-pup__stage { max-width: 300px; }
  .bo-prog__bar { grid-template-columns: minmax(0, 1fr) 52px; }
  .bo-prog__bar > .lab { grid-column: 1 / -1; }
  .bo-tones__row, .bo-tones__head { grid-template-columns: 54px repeat(11, minmax(0, 1fr)); }
  .bo-sched__log th:nth-child(2), .bo-sched__log td:nth-child(2) { display: none; }
  .bo-gap { margin-left: 0; }
  .bo-minis { grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 12px 8px; }
}
@media (max-width: 480px) {
  .bo-rules { grid-template-columns: minmax(0, 1fr); }
  .bo-bar__tabs button { width: 76px; }
  .bo-wall__grid { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .bo-petal { display: none; }
  .bo-card, .bo-sheet, .bo-pr__fill, .bo-pr__rider, .bo-track i, .bo-track img { transition-duration: 150ms; }
}

/* Dark mode: the app sits Bogo on a disc (colors.practice.bogoDisc) so the black hoodie keeps its outline. */
:root[data-theme="dark"] .bo-pr__ask .bo-loop, :root[data-theme="dark"] .bo-sheet .bo-loop,
:root[data-theme="dark"] .bo-done .bo-loop, :root[data-theme="dark"] .bo-loop--hero,
:root[data-theme="dark"] .bo-loop--flow { background: var(--sk-tint); border-radius: 50%; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .bo-pr__ask .bo-loop, :root:not([data-theme]) .bo-sheet .bo-loop,
  :root:not([data-theme]) .bo-done .bo-loop, :root:not([data-theme]) .bo-loop--hero,
  :root:not([data-theme]) .bo-loop--flow { background: var(--sk-tint); border-radius: 50%; }
}
@media (max-width: 760px) {
  .bo-log__chart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bo-log__chart svg { min-width: 680px; }
}

/* ---- Visuals that replaced paragraphs (26 Nov) ---------------------------- */

/* A cut has a cost: A8 wired to the two screens that quoted it. */
.bo-ripple__row { display: grid; grid-template-columns: 84px 90px 84px minmax(0, 200px); gap: 0 18px; align-items: center; justify-content: center; }
.bo-ripple figure { margin: 0; display: grid; gap: 6px; justify-items: center; text-align: center; }
.bo-ripple__cut .bo-mini { position: relative; opacity: .6; }
.bo-ripple__cut .bo-mini::after { content: ""; position: absolute; inset: 3px; border-radius: 8px; background: linear-gradient(to bottom left, transparent calc(50% - 1px), var(--sk-bad) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.bo-ripple__wires { width: 100%; height: 220px; overflow: visible; }
.bo-ripple__wires path { fill: none; stroke: var(--sk-bad); stroke-width: 1.4; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.bo-ripple__kept { display: grid; gap: 14px; }
.bo-ripple__kept .bo-mini { width: 84px; }
.bo-ripple__cut .bo-mini { width: 84px; }
.bo-ripple__now { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--sk-surface); border: 1.5px solid var(--sk-link); }
.bo-ripple__now b { font-size: 14px; font-weight: 500; color: var(--sk-ink); }

/* The combo ding as a staircase: taller step, higher pitch. */
.bo-combo__steps { display: flex; justify-content: center; align-items: flex-end; gap: 10px; }
.bo-step { appearance: none; border: 0; background: none; cursor: pointer; padding: 0; display: grid; justify-items: center; gap: 6px; width: 64px; }
.bo-step i { display: block; width: 100%; height: calc(var(--n) * 22px); border-radius: 10px 10px 4px 4px; background: color-mix(in srgb, var(--sk-ok) calc(30% + var(--n) * 12%), var(--sk-surface)); box-shadow: inset 0 0 0 1px var(--sk-border); transition: transform 160ms var(--ease-expo); }
.bo-step b { font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--sk-ink); }
.bo-step:hover i, .bo-step[data-on] i { transform: translateY(-4px); }
.bo-step[data-on] i { background: var(--sk-pink); }
.bo-step:focus-visible { outline: 2px solid var(--sk-link); outline-offset: 4px; border-radius: 10px; }

/* The crackle bug, drawn. */
.bo-crackle__rows { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.bo-crackle__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 200px; gap: 16px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--sk-surface); border: 1px solid var(--sk-border); }
.bo-crackle__row .ba__tag { margin: 0; justify-self: start; }
.bo-crackle .ba__tag--before { background: color-mix(in srgb, var(--sk-ink) 9%, transparent); color: var(--sk-sec); }
.bo-crackle .ba__tag--after { background: var(--sk-pri); color: var(--sk-on-pri); }
.bo-crackle__chain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bo-crackle__chain b { font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: var(--sk-ink); }
.bo-crackle__chain i { width: 18px; height: 1px; background: var(--sk-sec); position: relative; }
.bo-crackle__chain i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left-color: var(--sk-sec); }
.bo-wave { width: 100%; height: 40px; }
.bo-wave path { fill: none; stroke: var(--sk-ok); stroke-width: 2; stroke-linejoin: round; }
.bo-wave--bad path { stroke: var(--sk-bad); }

/* Who built what. */
.bo-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
.bo-split__col { display: grid; gap: 12px; align-content: start; }
.bo-split__col + .bo-split__col { border-left: 1px dashed color-mix(in srgb, var(--sk-ink) 14%, transparent); padding-left: 28px; }

@media (max-width: 760px) {
  .bo-ripple__row { grid-template-columns: 70px 60px 70px; }
  .bo-ripple__now { grid-column: 1 / -1; margin-top: 14px; }
  .bo-ripple__kept .bo-mini, .bo-ripple__cut .bo-mini { width: 70px; }
  .bo-ripple__wires { height: 180px; }
  .bo-crackle__row { grid-template-columns: minmax(0, 1fr); }
  .bo-step { width: 48px; }
  .bo-split { grid-template-columns: minmax(0, 1fr); }
  .bo-split__col + .bo-split__col { border-left: 0; padding-left: 0; border-top: 1px dashed color-mix(in srgb, var(--sk-ink) 14%, transparent); padding-top: 20px; }
}

/* ---- 03 One sentence per tab: the real screen with its rules pinned ---------- */
.bo-tab__stage { display: grid; grid-template-columns: auto minmax(0, 340px); gap: 40px; align-items: center; justify-content: center; margin-top: 28px; }
.bo-tab__side { display: grid; gap: 20px; }
.bo-tab__side .bo-bar__line { margin: 0; text-align: left; min-height: 0; }
.bo-pins { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bo-pins li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 21px; color: var(--sk-ink); }
.bo-pins small { display: block; margin-bottom: 2px; }
.bo-pin {
  position: absolute; z-index: 4; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 99px;
  display: grid; place-items: center; background: var(--sk-pri); color: var(--sk-on-pri);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; font-style: normal;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sk-pri) 25%, transparent);
  animation: bo-pin 420ms cubic-bezier(.23, 1, .32, 1) var(--d, 0ms) both;
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.bo-pin[data-on] { transform: scale(1.18); box-shadow: 0 0 0 6px color-mix(in srgb, var(--sk-pri) 30%, transparent); }
.bo-pin--key { position: static; margin: 0; animation: none; box-shadow: none; }
@keyframes bo-pin { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bo-pin { animation: none; } }
@media (max-width: 760px) {
  .bo-tab__stage { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; }
  .bo-tab__side { width: 100%; }
  .bo-tab__side .bo-bar__line { text-align: center; }
}

/* ---- Pipelines as steps that show their output --------------------------------
 * Six equal cards on one rail. Each card shows what that step produces, then a
 * two-word name and a short gloss, so the diagram reads without the prose.
 */
.bo-pipe { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bo-pipe::before { content: ""; position: absolute; left: 6%; right: 6%; top: 58px; height: 2px; background: color-mix(in srgb, var(--sk-ink) 12%, transparent); }
.bo-pstep { position: relative; display: grid; grid-template-rows: 116px auto auto; justify-items: center; text-align: center; gap: 4px; }
.bo-pstep__art {
  position: relative; z-index: 1; width: 100%; max-width: 132px; height: 116px; border-radius: 16px;
  background: var(--sk-surface); border: 1px solid var(--sk-border); display: grid; place-items: center; overflow: hidden;
}
.bo-pstep--end .bo-pstep__art { border: 1.5px solid var(--sk-pri); }
.bo-pstep + .bo-pstep .bo-pstep__art::before {
  content: ""; position: absolute; left: -1px; top: 50%; margin-top: -5px;
  border: 5px solid transparent; border-left-color: color-mix(in srgb, var(--sk-ink) 30%, transparent);
}
.bo-pstep > b { margin-top: 10px; font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--sk-ink); white-space: nowrap; }
.bo-pstep > span { font-size: 12.5px; line-height: 17px; color: var(--sk-sec); }
.bo-pstep__art > img { width: 76px; height: 76px; object-fit: contain; }
.bo-pstep__art--key { background: #0047FF; border-color: #0047FF; }
.bo-pstep__art--cut img { position: relative; }
.bo-step__chk { position: absolute; inset: 0; width: 100%; height: 100%; }
.bo-pstep__art--film { display: flex; align-items: center; justify-content: center; gap: 6px; }
.bo-film { position: relative; display: grid; justify-items: center; gap: 3px; padding: 4px; border-radius: 8px; background: #0047FF; }
.bo-film img { width: 40px; height: 40px; object-fit: contain; }
.bo-film i { font-style: normal; font-family: var(--font-mono); font-size: 8.5px; color: #fff; }
.bo-film__eq { font-family: var(--font-mono); font-size: 14px; color: var(--sk-sec); }
.bo-file { display: grid; justify-items: center; gap: 2px; width: 62px; padding: 12px 0 10px; border-radius: 6px 16px 6px 6px; background: var(--sk-canvas); border: 1px solid var(--sk-border); }
.bo-file b { font-family: var(--font-mono); font-size: 13px; color: var(--sk-pri); font-weight: 500; }
.bo-file i, .bo-file small { font-family: var(--font-mono); font-style: normal; font-size: 9px; color: var(--sk-sec); }
.bo-pstep .bo-loop--flow { width: 92px; margin: 0; }

.bo-pstep__art--text { padding: 10px; font-family: Nunito, "Noto Sans KR", sans-serif; }
.bo-short { width: 52px; height: 92px; border-radius: 8px; background: #111; display: grid; place-items: center; }
.bo-short i { width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.bo-line-mini { display: grid; gap: 3px; text-align: left; }
.bo-line-mini small { font-family: var(--font-mono); font-size: 9px; color: var(--sk-sec); }
.bo-line-mini b { font-family: "Noto Sans KR", sans-serif; font-size: 13px; font-weight: 700; color: var(--sk-ink); line-height: 1.3; }
.bo-line-mini em { font-style: normal; font-size: 11px; color: var(--sk-sec); font-weight: 600; line-height: 1.3; }
.bo-toks { display: grid; gap: 5px; justify-items: center; }
.bo-toks i { font-style: normal; font-family: "Noto Sans KR", sans-serif; font-size: 12px; font-weight: 700; color: var(--sk-ink); padding: 3px 8px; border-radius: 7px; background: var(--sk-tint-sub); border-bottom: 2px solid var(--st-known); }
:root[data-theme="dark"] .bo-toks i { background: var(--sk-tint); }
.bo-dict { display: grid; gap: 3px; justify-items: center; }
.bo-dict b { font-family: "Noto Sans KR", sans-serif; font-size: 22px; font-weight: 800; color: var(--sk-ink); }
.bo-dict em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--sk-ink); }
.bo-dict small { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .5px; color: var(--sk-sec); }
.bo-tables { display: grid; gap: 4px; width: 100%; }
.bo-tables i { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; text-align: left; padding: 3px 7px; border-radius: 5px; background: var(--sk-canvas); border: 1px solid var(--sk-border); color: var(--sk-ink); }
.bo-cardmini { display: grid; grid-template-columns: auto auto; gap: 4px 6px; align-items: center; text-align: left; width: 100%; padding: 8px; border-radius: 10px; background: var(--sk-canvas); box-shadow: 0 4px 12px rgba(35,28,29,.10); }
.bo-cardmini b { font-family: "Noto Sans KR", sans-serif; font-size: 16px; font-weight: 800; color: var(--sk-ink); }
.bo-cardmini__pill { justify-self: end; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 99px; background: var(--sk-ok-bg); color: var(--sk-ok-text); }
.bo-cardmini em { grid-column: 1 / -1; font-style: normal; font-size: 11px; font-weight: 800; color: var(--sk-ink); }

@media (max-width: 900px) {
  .bo-pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .bo-pipe::before { display: none; }
}
@media (max-width: 520px) {
  .bo-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-pstep + .bo-pstep .bo-pstep__art::before { display: none; }
}
.bo-toks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.bo-toks i { font-size: 11px; padding: 2px 6px; }
.bo-tables { grid-template-columns: 1fr 1fr; gap: 4px; }
.bo-tables i { font-size: 8.5px; padding: 3px 4px; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.bo-tables i:last-child { grid-column: 1 / -1; }
.bo-tables { gap: 3px; }
.bo-tables i { padding: 2px 3px; font-size: 8px; line-height: 14px; }

/* ---- Try it or Screenshot ------------------------------------------------------ */
.bo-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; font-size: 13px; color: var(--body); }
.bo-key > span { display: inline-flex; align-items: center; gap: 8px; }
.bo-kind {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 4px 10px; border-radius: 99px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .8px; text-transform: uppercase; line-height: 1;
  background: var(--ground); color: var(--ink-muted); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}
.bo-kind--live { background: var(--marker); color: var(--on-marker); border-color: var(--marker); }
.bo-kind--live::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; animation: bo-tap 1.8s ease-in-out infinite; }
@keyframes bo-tap { 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .bo-kind--live::before { animation: none; } }
.bo-kind--on-phone { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); z-index: 7; }
.bo-panel .bo-kind:not(.bo-kind--live) { background: var(--sk-surface); color: var(--sk-sec); border-color: var(--sk-border); }
.phone[data-kind] { margin-bottom: 12px; }
#bo-onb { cursor: pointer; }
.bo-count { margin-top: 26px; }
.bo-green__row figure { gap: 22px; }

/* ---- The logo: app icon and wordmark, as on bogolang.com (SiteHeader) --------
   The wordmark is the app's own type style: Nunito Black, burgundy, -0.01em. */
.bo-lockup { margin: 0; display: inline-flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.bo .cs-hero { display: grid; justify-items: center; }
.bo-lockup img { width: clamp(72px, 11vw, 132px); height: auto; border-radius: 22.5%; box-shadow: 0 10px 28px -14px rgba(108, 8, 32, .45); }
.bo-lockup span { font-family: Nunito, sans-serif; font-weight: 900; font-size: clamp(64px, 12vw, 150px); line-height: .9; letter-spacing: -.01em; color: var(--marker); }

/* ---- The opener in the hero ------------------------------------------------------ */
.bo-hero { aspect-ratio: 16 / 9; min-height: 0; align-content: center; padding: 0; }
.bo-film { position: absolute; inset: 0; z-index: 5; background: #FBF6F5; transition: opacity 500ms var(--ease-expo), visibility 0s 500ms; }
.bo-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bo-film__skip {
  position: absolute; right: 14px; bottom: 14px; appearance: none; cursor: pointer;
  padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(35, 28, 29, .18); background: rgba(255, 255, 255, .85);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .8px; text-transform: uppercase; color: #231C1D;
}
.bo-film__skip:focus-visible { outline: 2px solid #3D5D91; outline-offset: 2px; }
.bo-hero--live .bo-film { opacity: 0; visibility: hidden; }
.bo-hero:not(.bo-hero--live) .bo-hero__bogo, .bo-hero:not(.bo-hero--live) .bo-hero__read { opacity: 0; }
.bo-hero__bogo, .bo-hero__read { transition: opacity 500ms var(--ease-expo) 150ms; }
.bo-hero .bo-loop--hero { width: min(300px, 44vw); }
.bo-hero__read .bo-link { margin-left: 4px; }
@media (max-width: 760px) { .bo-hero { aspect-ratio: auto; min-height: 330px; } .bo-film video { object-fit: contain; } }
