/* The ? on every page: a straight walkthrough (a light on each part, a card beside it). Site tokens (classic and
   Bone, day and night); everything rounded (rule 11). */
.chw {
    --hp-card: var(--bn-card, var(--cbp-surface, #ffffff)); --hp-tile: var(--bn-tile, var(--cbp-bg-2, #eef3f9)); --hp-line: var(--cbp-line, #e3eaf3);
    --hp-ink: var(--bn-text, var(--cbp-ink, #15263d)); --hp-body: var(--bn-body, var(--cbp-body, #46586f)); --hp-muted: var(--bn-muted, var(--cbp-muted, #7d8ca3));
    --hp-go: var(--bn-primary, #0e2c4f); --hp-go-ink: var(--bn-on-primary, #ffffff); --hp-hot: var(--bn-hot, var(--cbp-red, #d92d48));
    --hp-good: var(--bn-good, #1e6b47); --hp-veil: rgba(9, 16, 27, .55);
    position: fixed; inset: 0; z-index: 2147482500; font-family: inherit; color: var(--hp-body); opacity: 0; transition: opacity .22s ease;
}
html[data-theme="dark"]:not(.bone) .chw { --hp-card: #1f1f1f; --hp-tile: #2a2a2a; --hp-ink: #f1f1f1; --hp-body: #bdbdbd; --hp-line: #333; --hp-go: #f1f1f1; --hp-go-ink: #111; }
html[data-theme="dark"] .chw { --hp-veil: rgba(0, 0, 0, .7); }
.chw.is-in { opacity: 1; }
.chw *, .chw *::before, .chw *::after { box-sizing: border-box; }
.cbp-help-btn { position: relative; }
.cbp-help-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--cbp-red, #d92d48) 45%, transparent); }
.cbp-help-bar { display: none; }
@media (max-width: 991px) {
    .cbp-help-bar { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: auto; margin-right: 8px; padding: 0; border-radius: 13px; border: 0; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; }
    html.bone .cbp-help-bar { background: var(--bar-ctl, var(--bn-card)); color: var(--bar-ctl-ink, var(--bn-text)); }
    .cbp-help-bar + .cbp-burger { margin-left: 0 !important; }
}

/* the light: a rounded hole in the veil, red edged; with nothing to point at, the veil alone */
.chw-hole { position: fixed; left: 0; top: 0; width: 0; height: 0; border-radius: 16px; pointer-events: none;
    box-shadow: 0 0 0 9999px var(--hp-veil), 0 0 0 3px var(--hp-hot), 0 0 0 9px color-mix(in srgb, var(--hp-hot) 22%, transparent);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1), width .38s cubic-bezier(.2, .8, .2, 1), height .38s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.chw.is-center .chw-hole { opacity: 0 !important; }
.chw.is-center { background: var(--hp-veil); }
.chw.is-frame .chw-hole { box-shadow: 0 0 0 9999px rgba(9, 16, 27, .25), 0 0 0 3px var(--hp-hot); }
.chw.is-frame { background: none; }

/* the card */
.chw-card { position: fixed; left: 50%; top: 50%; width: min(400px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto;
    border-radius: 24px; background: var(--hp-card); border: 1px solid var(--hp-line); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
    transition: left .38s cubic-bezier(.2, .8, .2, 1), top .38s cubic-bezier(.2, .8, .2, 1); }
.chw.is-center .chw-card { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 24px)); }
.chw-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px 18px; }
.chw-page { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--hp-hot); }
.chw-n { font-size: 12.5px; font-weight: 800; color: var(--hp-muted); }
.chw .chw-x { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--hp-tile); color: var(--hp-ink); cursor: pointer; }
.chw-bar { height: 4px; margin: 0 18px; border-radius: 4px; background: var(--hp-tile); overflow: hidden; }
.chw-bar i { display: block; height: 100%; border-radius: 4px; background: var(--hp-hot); transition: width .38s cubic-bezier(.2, .8, .2, 1); }
.chw-body { padding: 14px 18px 4px; }
.chw-body h2 { margin: 10px 0 6px; font-size: 24px; font-weight: 900; line-height: 1.15; color: var(--hp-ink); }
.chw-body h3 { margin: 2px 0 6px; font-size: 19px; font-weight: 900; line-height: 1.2; color: var(--hp-ink); }
.chw-body p { margin: 0; font-size: 15px; line-height: 1.55; }
.chw-lead { color: var(--hp-ink); font-weight: 600; }
.chw-hint { margin-top: 10px !important; font-size: 13.5px !important; font-weight: 700; color: var(--hp-muted); }
.chw-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; background: var(--hp-hot); color: #fff; }
.chw-mark--done { background: var(--hp-good); }
.chw-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px 18px; }
.chw-foot .chw-btn--go { margin-left: auto; }
.chw .chw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent;
    font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; }
.chw .chw-btn--go { background: var(--hp-go); color: var(--hp-go-ink); }
.chw .chw-btn--soft { background: var(--hp-tile); color: var(--hp-ink); }
.chw .chw-btn--ghost { background: transparent; color: var(--hp-body); padding: 0 10px; }
.chw :focus-visible { outline: 3px solid color-mix(in srgb, var(--hp-hot) 45%, transparent); outline-offset: 2px; }
.chw .chw-rec { position: relative; display: block; width: 100%; margin-top: 14px; padding: 0; border: 1px solid var(--hp-line); border-radius: 16px; overflow: hidden; background: var(--hp-tile); cursor: pointer; text-align: left; font: inherit; }
.chw-rec img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.chw-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--hp-hot); color: #fff; }
.chw-rec b { display: block; padding: 10px 12px; font-size: 13.5px; color: var(--hp-ink); }
.chw-video { position: relative; margin-top: 14px; border-radius: 16px; overflow: hidden; background: #0b0b0b; aspect-ratio: 16 / 10; }
.chw-video video { width: 100%; height: 100%; display: block; }
/* the phone cut: a phone standing in the card, not a wide box (owner, 2026-10-25) */
.chw-video--phone { aspect-ratio: auto; height: min(58svh, 520px); display: grid; place-items: center; padding: 12px 0; background: transparent; }
.chw-video--phone video { width: auto; height: calc(min(58svh, 520px) - 24px); max-width: 100%; aspect-ratio: 720 / 1558; object-fit: cover; border-radius: 26px; background: #0b0b0b; box-shadow: 0 0 0 5px #151412, 0 18px 40px -16px rgba(0, 0, 0, .45); }
.chw-vwait { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12.5px; font-weight: 700; }
@media (max-width: 639px) {
    .chw-card { width: calc(100vw - 24px); border-radius: 22px; }
    .chw-body h2 { font-size: 21px; }
    .chw-body h3 { font-size: 17px; }
    .chw-body p { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .chw, .chw * { transition: none !important; animation: none !important; } }
