/* help.css — the shop's Help (/help, 2026-11-20): the guides by topic, one
   guide with its video, steps, pictures and examples. Loaded after store.css
   and pages.css on help.php only. */

.help { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ---- the list */
.help__bar { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.help__find { position: relative; flex: 1 1 320px; max-width: 520px; }
.help__find .ico { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--fg-subtle); pointer-events: none; }
.help__find input { width: 100%; min-height: 48px; padding: 0 18px 0 46px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg); font: inherit; }
.help__find input:focus-visible { outline: none; box-shadow: var(--focus-ring); border-color: var(--brand); }
.help__none { color: var(--fg-muted); }

.help-sec { margin-bottom: clamp(2rem, 4vw, 3rem); }
.help-sec__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.help-sec__head h2 { margin: 0; font: 800 var(--step-2)/1.1 var(--font-display); letter-spacing: -.02em; }
.help-sec__head p { margin: 2px 0 0; color: var(--fg-muted); font-size: .95rem; }
.help-sec__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--brand-soft); color: var(--brand-ink); }

.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s-4); }
.help-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); color: var(--fg); text-decoration: none; box-shadow: var(--shadow-sm); transition: translate var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.help-card:active { scale: .98; }
@media (hover: hover) and (pointer: fine) { .help-card:hover { translate: 0 -3px; box-shadow: var(--shadow-md); } }
.help-card__img { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.help-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.help-card__play { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(10, 32, 20, .86); color: #fff; font-size: .78rem; font-weight: 700; }
.help-card__play .ico { width: 14px; height: 14px; }
.help-card__body { display: grid; gap: 4px; padding: var(--s-4); }
.help-card__body b { font: 700 1.05rem/1.25 var(--font-display); }
.help-card__body small { color: var(--fg-muted); font-size: .88rem; line-height: 1.45; }
.help-card__body em { font-style: normal; font: 600 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin-top: 4px; }

/* ---- the full tour: the video beside its chapters */
.help-tour { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: var(--s-4); margin-bottom: clamp(2rem, 4vw, 3rem); padding: var(--s-4); border-radius: 22px; background: #0a2014; color: #fff; }
.help-tour__h { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s-3); font: 800 var(--step-1)/1.2 var(--font-display); }
.help-tour video { display: block; width: 100%; border-radius: 14px; background: #000; aspect-ratio: 16 / 10; }
.help-tour__note { margin: var(--s-2) 0 0; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.help-tour__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; align-content: start; max-height: 520px; overflow: auto; }
.help-tour__list button { display: flex; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, .88); font: inherit; font-size: .9rem; text-align: left; cursor: pointer; }
.help-tour__list button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.help-tour__list button:active { scale: .98; }
.help-tour__list span { flex: none; font: 600 .78rem/1.6 var(--font-mono); color: #FDB802; }
@media (max-width: 900px) { .help-tour { grid-template-columns: 1fr; } .help-tour__list { max-height: 320px; } }

/* ---- one guide (redrawn 2026-11-20): where, steps and the actions; the
   recording as a theatre wide enough to read; then the steps on a numbered
   line beside a Contents rail that lights the step being read. */
.help--guide { padding-top: clamp(1rem, 2vw, 1.5rem); }
.hg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.hg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hg-chips li { display: grid; gap: 2px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.hg-chips span { font: 600 .68rem/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); }
.hg-chips b { font-size: .95rem; }
.hg-acts { display: flex; flex-wrap: wrap; gap: 8px; }

.hg-theatre { display: grid; gap: 18px; padding: clamp(10px, 1.6vw, 22px); border-radius: 26px; background: var(--surface); border: 1px solid var(--border); color: var(--fg); box-shadow: 0 22px 44px -36px rgba(8, 40, 22, .45); scroll-margin-top: calc(var(--head-h, 72px) + 12px); }
.hg-theatre__screen { width: 100%; max-width: calc((100vh - 140px) * 1.6); margin-inline: auto; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 34px 70px -34px rgba(4, 30, 16, .7); }
.hg-theatre__screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #000; }
.hg-theatre__side { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: 8px 28px; align-items: start; padding: 0 6px 4px; }
.hg-theatre__side > p { grid-column: 1; }
.hg-theatre__h { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font: 800 1.25rem/1.2 var(--font-display); color: var(--fg); }
.hg-theatre__h .ico { width: 18px; height: 18px; color: #E5322D; }
.hg-theatre__note { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--fg-muted); }
.hg-theatre__steps { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.hg-theatre__steps a { display: flex; gap: 10px; align-items: center; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--fg); text-decoration: none; font-size: .9rem; line-height: 1.3; }
.hg-theatre__steps a:hover { border-color: var(--brand); }
.hg-theatre__steps a:active { scale: .97; }
.hg-theatre__steps b { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--brand); color: var(--on-brand, #fff); font: 700 .75rem/1 var(--font-mono); }

.hg-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(1.5rem, 3vw, 2.25rem); align-items: start; margin-top: clamp(1.5rem, 3vw, 2rem); }
.hg-main { min-width: 0; }
.hg-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; scroll-margin-top: calc(var(--head-h, 72px) + 16px); }
.hg-step__rail { position: relative; display: flex; justify-content: center; }
.hg-step__rail::before { content: ""; position: absolute; top: 6px; bottom: -6px; left: 50%; width: 2px; translate: -1px 0; background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 15%, transparent)); }
.hg-step:last-of-type .hg-step__rail::before { background: linear-gradient(var(--brand), transparent 80%); }
.hg-step__rail span { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand, #fff); font: 800 1.1rem/1 var(--font-display); box-shadow: 0 0 0 6px var(--bg); }
.hg-step__card { min-width: 0; margin-bottom: 22px; padding: clamp(1rem, 2.4vw, 1.6rem); border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: 0 22px 44px -36px rgba(8, 40, 22, .45); }
.hg-step__kick { margin: 0 0 4px; font: 600 .68rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink, var(--brand)); }
.hg-step__card h2 { margin: 0 0 10px; font: 800 var(--step-1)/1.2 var(--font-display); letter-spacing: -.02em; }
.hg-step__text { line-height: 1.7; max-width: 76ch; }
.hg-step__text p { margin: 0 0 10px; }
.hg-step__text kbd { padding: 1px 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; background: var(--surface-2); font: 600 .8rem var(--font-mono); }
.hg-shot { margin: var(--s-4) 0 0; }
.hg-shot a { display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); background: #fff; box-shadow: 0 30px 60px -40px rgba(4, 30, 16, .5); cursor: zoom-in; text-decoration: none; transition: translate 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hg-shot a:hover { translate: 0 -2px; } .hg-shot a:hover .hg-shot__zoom { opacity: 1; } }
.hg-shot__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #EEF1EE; border-bottom: 1px solid #DCE3DE; }
.hg-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D4DAD5; }
.hg-shot__bar i:first-child { background: #F2766B; }
.hg-shot__bar i:nth-child(2) { background: #F5C451; }
.hg-shot__bar i:nth-child(3) { background: #5DCB6F; }
.hg-shot__bar em { flex: 1; max-width: 320px; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; color: #6B7670; font: 500 .72rem/1.3 var(--font-mono); font-style: normal; }
.hg-shot__zoom { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #0B2D1B; color: #fff; font-size: .72rem; font-weight: 600; opacity: .75; transition: opacity 140ms var(--ease-out); }
.hg-shot__zoom .ico { width: 12px; height: 12px; }
.hg-shot img { display: block; width: 100%; height: auto; }
.hg-shot figcaption { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); }
.hg-shot figcaption span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .86rem; }
.hg-shot figcaption b { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #F28C28; color: #fff; font-size: .72rem; }
.hg-more { margin-left: 64px; }

.hg-rail { position: sticky; top: calc(var(--head-h, 72px) + 16px); display: grid; gap: 10px; }
.hg-rail .btn { justify-content: center; }
.hg-toc { position: relative; padding: 18px 16px 14px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); overflow: hidden; }
.hg-toc__h { margin: 0 0 12px; font: 600 .68rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-subtle); }
.hg-toc__track { position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.hg-toc__track i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #FDB802); transform-origin: 0 50%; transform: scaleX(.0001); transition: transform 400ms var(--ease-out); }
.hg-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.hg-toc a { display: flex; gap: 10px; align-items: baseline; padding: 7px 8px; border-radius: 10px; color: var(--fg-muted); text-decoration: none; font-size: .86rem; line-height: 1.35; transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out); }
.hg-toc a:hover { background: var(--surface-2); color: var(--fg); }
.hg-toc a b { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--border); font: 700 .7rem/1 var(--font-mono); color: var(--fg-subtle); transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.hg-toc a .ico { width: 15px; height: 15px; flex: none; translate: 3px 2px; margin-right: 4px; color: var(--brand); }
.hg-toc a.is-done b { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink, var(--brand)); }
.hg-toc a.is-on { background: var(--brand-soft); color: var(--fg); font-weight: 600; }
.hg-toc a.is-on b { background: var(--brand); border-color: var(--brand); color: var(--on-brand, #fff); }
.hg-toc__sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }

.hg-zoom { width: min(1600px, 96vw); max-width: none; max-height: 96vh; padding: 0; border: 0; border-radius: 16px; background: #050E09; color: #fff; overflow: auto; }
.hg-zoom::backdrop { background: rgba(3, 10, 6, .82); }
.hg-zoom img { display: block; width: 100%; height: auto; }
.hg-zoom__bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; background: #050E09; font-weight: 600; font-size: .9rem; }
.hg-zoom__bar button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.hg-zoom__bar button:active { scale: .94; }

.help-ex { margin-top: var(--s-3); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.help-ex__h { margin: 0; padding: 8px 14px; background: var(--brand-soft); color: var(--brand-ink); font: 600 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.help-ex dl { margin: 0; }
.help-ex dl div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: var(--s-3); padding: 8px 14px; border-top: 1px solid var(--border); font-size: .92rem; }
.help-ex dt { color: var(--fg-muted); }
.help-ex dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.help-note { display: grid; gap: 4px; margin-top: var(--s-3); padding: 10px 14px; border-radius: 12px; border-left: 4px solid var(--brand); background: var(--brand-soft); font-size: .92rem; }
.help-note b { font: 600 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.help-note--warn { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--surface)); }
.help-note--warn b { color: var(--fg); }

.help-more { margin: var(--s-5) 0; }
.help-more h2 { margin: 0 0 var(--s-2); font: 700 var(--step-1) var(--font-display); }
.help-more ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--fg-muted); }
.help-rel { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.help-rel a { padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--fg); text-decoration: none; font-size: .9rem; background: var(--surface); }
.help-rel a:hover { border-color: var(--brand); color: var(--brand); }

.help-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-6); }
.help-nav a { display: grid; gap: 2px; padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: 14px; color: var(--fg); text-decoration: none; background: var(--surface); }
.help-nav a.is-next { text-align: right; }
.help-nav small { color: var(--fg-subtle); font: 600 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.help-nav a:hover { border-color: var(--brand); }

@media (max-width: 1100px) {
  .hg-body { grid-template-columns: 1fr; }
  .hg-rail { display: none; }
}
@media (max-width: 900px) {
  .hg-theatre__side { grid-template-columns: 1fr; }
  .hg-theatre__steps { grid-column: 1; grid-row: auto; }
}
@media (max-width: 700px) {
  .hg-step { grid-template-columns: 1fr; }
  .hg-step__rail { display: none; }
  .hg-more { margin-left: 0; }
  .hg-shot__bar em { display: none; }
  .hg-acts .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 560px) {
  .help-nav { grid-template-columns: 1fr; }
  .help-ex dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---- a Help video's cover (2026-11-20): it must read as a video at a glance */
.vbox { position: relative; }
.vcover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 0; border: 0; cursor: pointer; color: #fff; font: inherit;
  background: linear-gradient(to top, rgba(5, 14, 9, .78), rgba(5, 14, 9, .12) 48%, rgba(5, 14, 9, .04)); }
.vcover__tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px; background: #E5322D; color: #fff; font: 700 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.vcover__tag svg { width: 12px; height: 12px; fill: currentColor; }
.vcover__btn { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #FFC531; color: #1A1200; box-shadow: 0 20px 44px -12px rgba(0, 0, 0, .7); transition: transform 160ms cubic-bezier(.16, 1, .3, 1); }
.vcover__btn::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 197, 49, .7); animation: vcoverRing 1.9s cubic-bezier(.16, 1, .3, 1) infinite; }
.vcover__btn svg { width: 40px; height: 40px; margin-left: 6px; fill: currentColor; }
.vcover__label { position: absolute; left: 22px; right: 22px; bottom: 18px; display: grid; gap: 3px; text-align: left; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.vcover__label b { font: 800 22px/1.2 var(--font-display); letter-spacing: -.01em; }
.vcover__label small { font-size: 14px; font-weight: 600; color: #E4ECE6; }
.vcover:active .vcover__btn { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .vcover:hover .vcover__btn { transform: scale(1.07); } }
.vcover:focus-visible { outline: 3px solid #FFC531; outline-offset: -3px; }
@keyframes vcoverRing { from { transform: scale(.82); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vcover__btn::before { animation: none; } }
@media (max-width: 700px) {
  .vcover { gap: 10px; }
  .vcover__label { left: 12px; right: 12px; bottom: 10px; }
  .vcover__btn { width: 66px; height: 66px; }
  .vcover__btn svg { width: 28px; height: 28px; margin-left: 4px; }
  .vcover__label b { font-size: 16px; }
  .vcover__label small { font-size: 12px; }
  .vcover__tag { left: 10px; top: 10px; padding: 5px 9px 5px 8px; font-size: 10px; }
}
.help-tour__screen { border-radius: 14px; overflow: hidden; }

/* ---- the front page (redrawn 2026-11-20): topics as a contents bar, the tour
   as a light block with its chapters, topics numbered, bigger guide cards. */
.hx-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: var(--s-5); }
.hx-topics a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--fg); text-decoration: none; transition: border-color 140ms var(--ease-out), translate 140ms var(--ease-out); }
.hx-topics a:active { scale: .98; }
@media (hover: hover) and (pointer: fine) { .hx-topics a:hover { border-color: var(--brand); translate: 0 -2px; } }
.hx-topics__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink, var(--brand)); }
.hx-topics a > span:last-child { display: grid; gap: 1px; min-width: 0; }
.hx-topics b { font: 700 .98rem/1.2 var(--font-display); }
.hx-topics small { font: 600 .68rem/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-subtle); }

.hx-tour { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(14px, 2vw, 24px); margin-bottom: clamp(2rem, 4vw, 3rem); padding: clamp(12px, 1.8vw, 22px); border: 1px solid var(--border); border-radius: 26px; background: var(--surface); box-shadow: 0 30px 60px -44px rgba(8, 40, 22, .5); scroll-margin-top: calc(var(--head-h, 72px) + 12px); }
.hx-tour__film { display: grid; gap: 14px; min-width: 0; align-content: start; }
.hx-tour__head { padding: 6px 6px 0; }
.hx-kick { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 10px 5px 8px; border-radius: 999px; background: #E5322D; color: #fff; font: 700 .68rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.hx-kick .ico { width: 11px; height: 11px; }
.hx-tour__head .hx-kick { color: #fff; }
.hx-tour__head h2 { margin: 10px 0 4px; font: 800 var(--step-2)/1.1 var(--font-display); letter-spacing: -.025em; }
.hx-tour__head p { margin: 0; color: var(--fg-muted); font-size: .95rem; }
.hx-tour__screen { border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 34px 70px -34px rgba(4, 30, 16, .7); }
.hx-tour__screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #000; }
.hx-tour__ch { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; max-height: 640px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-2); overflow: hidden; }
.hx-tour__chh { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--border); font: 600 .72rem/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); }
.hx-tour__chh span { padding: 3px 8px; border-radius: 999px; background: var(--surface); color: var(--fg); }
.hx-tour__ch ol { margin: 0; padding: 6px; list-style: none; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.hx-tour__ch button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--fg); font: inherit; font-size: .9rem; text-align: left; cursor: pointer; transition: background-color 140ms var(--ease-out); }
.hx-tour__ch button:hover { background: var(--surface); }
.hx-tour__ch button:active { scale: .98; }
.hx-t { padding: 3px 7px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font: 600 .74rem/1.2 var(--font-mono); color: var(--fg-muted); }
.hx-n { min-width: 0; }
.hx-tour__ch button .ico { width: 14px; height: 14px; color: var(--fg-subtle); opacity: 0; transition: opacity 140ms var(--ease-out); }
.hx-tour__ch button:hover .ico { opacity: 1; }
.hx-tour__ch button.is-on { background: var(--brand); color: var(--on-brand, #fff); }
.hx-tour__ch button.is-on .hx-t { background: rgba(255, 255, 255, .18); border-color: transparent; color: inherit; }
.hx-tour__ch button.is-on .ico { opacity: 1; color: inherit; }

.hx-sec { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); scroll-margin-top: calc(var(--head-h, 72px) + 12px); }
.hx-sec__head { display: flex; align-items: center; gap: 16px; margin-bottom: var(--s-4); padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.hx-sec__n { font: 800 2.4rem/1 var(--font-display); letter-spacing: -.04em; color: var(--brand); min-width: 2.2ch; }
.hx-sec__head > div { flex: 1; min-width: 0; }
.hx-sec__head h2 { margin: 0; font: 800 var(--step-2)/1.1 var(--font-display); letter-spacing: -.02em; }
.hx-sec__head p { margin: 3px 0 0; color: var(--fg-muted); font-size: .95rem; }
.hx-sec__count { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font: 600 .72rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.hx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--s-4); }
.hx-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--fg); text-decoration: none; box-shadow: 0 18px 40px -36px rgba(8, 40, 22, .55); transition: translate 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out); }
.hx-card:active { scale: .985; }
@media (hover: hover) and (pointer: fine) {
  .hx-card:hover { translate: 0 -4px; border-color: var(--brand); box-shadow: 0 28px 50px -34px rgba(8, 40, 22, .6); }
  .hx-card:hover .hx-card__play { scale: 1.08; }
  .hx-card:hover .hx-card__go { background: var(--brand); color: var(--on-brand, #fff); }
}
.hx-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.hx-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hx-card__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #FFC531; color: #1A1200; box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .55); transition: scale 180ms var(--ease-out); }
.hx-card__play .ico { width: 22px; height: 22px; margin-left: 3px; }
.hx-card__tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; background: #E5322D; color: #fff; font: 700 .64rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.hx-card__body { display: grid; align-content: start; gap: 6px; padding: 16px 18px 16px; }
.hx-card__body b { font: 800 1.12rem/1.25 var(--font-display); letter-spacing: -.01em; }
.hx-card__body small { color: var(--fg-muted); font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hx-card__meta em { font-style: normal; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font: 600 .68rem/1.2 var(--font-mono); letter-spacing: .04em; color: var(--fg-muted); }
.hx-card__go { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; border: 1px solid var(--border); color: var(--fg); transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.hx-card__go .ico { width: 15px; height: 15px; }
@media (max-width: 1000px) { .hx-tour { grid-template-columns: 1fr; } .hx-tour__ch { max-height: 360px; } }
@media (max-width: 600px) { .hx-topics { grid-template-columns: 1fr 1fr; } .hx-topics a { padding: 10px; gap: 10px; } .hx-topics__ico { width: 34px; height: 34px; } .hx-sec__count { display: none; } .hx-sec__n { font-size: 1.8rem; } }
