/* Shared shell and reading surfaces for generated help, tutorials and game guides. */
@font-face {
  font-family: XiangqiKai;
  src: url('/assets/fonts/chinese-chess/xiangqi-kai-subset.woff2') format('woff2');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --geo-ink: var(--jade-bg);
  --geo-panel: var(--jade-surface);
  --geo-paper: var(--jade-text);
  --geo-paper-muted: var(--jade-muted);
  --geo-line: var(--jade-line-soft);
  --geo-vermilion: var(--jade-gold);
  --geo-gold: var(--jade-gold);
  --geo-display: var(--jade-display);
  --geo-body: var(--jade-font);
}
* { box-sizing: border-box; }
html { background: var(--jade-bg); scroll-behavior: smooth; }
body { min-width: 0; margin: 0; color: var(--jade-text); background: var(--jade-bg); font-family: var(--jade-font); line-height: 1.7; }
a { color: inherit; }
:is(a, summary, button, input, select):focus-visible { outline: 2px solid var(--jade-gold-bright); outline-offset: 3px; }
:is(a, summary, button) { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-nav { position: relative; z-index: 90; width: 100%; border-bottom: 1px solid var(--jade-line); background: var(--jade-deep); }
.site-nav-main { width: min(1236px, calc(100% - 64px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.site-brand { min-width: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.site-brand-mark { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; }
.site-brand-copy { display: grid; min-width: 0; gap: 1px; }
.site-brand-name { color: var(--jade-text); font-family: var(--jade-font); font-size: 18px; font-weight: 700; letter-spacing: .025em; white-space: nowrap; line-height: 1.4; }
.site-brand-tagline { max-width: 235px; overflow: hidden; margin-top: 3px; color: var(--jade-muted); font-size: 14px; letter-spacing: .17em; text-overflow: ellipsis; white-space: nowrap; }
.site-portal-primary { display: flex; align-items: center; gap: 6px; }
.site-portal-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 8px; color: var(--jade-muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-portal-link:hover, .site-portal-link[aria-current='page'] { color: var(--jade-text); background: var(--jade-raised); }
.site-portal-link[aria-current='page'] { box-shadow: inset 0 -2px var(--jade-gold); }
.site-nav-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-account-link { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--jade-gold); border-radius: 50%; color: var(--jade-gold); }
.site-account-link:hover { color: var(--jade-gold-bright); background: var(--jade-raised); }
.site-account-link svg, .static-mobile-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-locale-control { position: relative; }
.site-locale-trigger { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 8px; color: var(--jade-text); font-size: 14px; cursor: pointer; white-space: nowrap; list-style: none; }
.site-locale-trigger::-webkit-details-marker { display: none; }
.site-locale-icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-locale-code { display: none; }
.static-locale-menu { position: absolute; z-index: 100; top: calc(100% + 10px); right: 0; width: 230px; max-height: min(560px, calc(100dvh - 98px)); display: grid; gap: 3px; padding: 8px; overflow-y: auto; border: 1px solid var(--jade-line); border-radius: 12px; background: var(--jade-deep); box-shadow: var(--jade-shadow); }
.static-locale-control:not([open]) .static-locale-menu { display: none; }
.static-locale-menu a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--jade-muted); font-size: 14px; text-decoration: none; }
.static-locale-menu a:hover, .static-locale-menu a[aria-current='page'] { color: var(--jade-text); background: var(--jade-raised); }
.static-mobile-nav { display: none; }
.geo-breadcrumb { min-height: 56px; display: flex; align-items: center; gap: 10px; margin: 0; border-bottom: 1px solid var(--jade-line-soft); color: var(--jade-muted); font-size: 12px; }
.geo-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jade-muted); text-decoration: none; }
.geo-breadcrumb a:hover { color: var(--jade-gold-bright); }
.geo-breadcrumb span[aria-current='page'] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.static-primary-action, .static-secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1px solid var(--jade-line); border-radius: 8px; color: var(--jade-text); font-size: 15px; font-weight: 600; text-decoration: none; }
.static-primary-action { border-color: var(--jade-gold); color: var(--jade-gold-ink); background: var(--jade-gold); }
.static-primary-action:hover { background: var(--jade-gold-bright); }
.static-secondary-action:hover { background: var(--jade-raised); border-color: var(--jade-gold); }
.geo-page-body main, .geo-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.geo-hero { min-height: 0; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 60px; padding: 46px 0 42px; }
.geo-hero h1 { font-size: clamp(36px, 4vw, 54px); letter-spacing: 0; line-height: 1.25; }
.geo-eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .12em; }
.geo-subtitle { margin-top: 16px; font-family: var(--jade-font); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.geo-direct-answer { margin-top: 18px; color: var(--jade-muted); font-size: 16px; line-height: 1.9; }
.geo-hero-media { min-width: 0; }
.geo-hero-image { display: block; width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; border: 0; border-radius: 10px; }
.geo-hero-media .geo-game-facts { margin: 20px 0 0; }
.geo-hero-media .geo-game-facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--jade-line-soft); }
.geo-game-facts dt { color: var(--jade-muted); font-size: 12px; }
.geo-game-facts dd { margin: 4px 0 0; color: var(--jade-gold); font-size: 21px; }
.geo-game-facts p { margin: 12px 0 0; color: var(--jade-muted); font-size: 13px; line-height: 1.75; }
.geo-primary-cta { min-height: 48px; gap: 18px; margin-top: 26px; padding: 10px 22px; border-color: var(--jade-gold); border-radius: 8px; color: var(--jade-gold-ink); background: var(--jade-gold); box-shadow: none; }
.geo-primary-cta i { width: auto; height: auto; background: none; color: inherit; font-size: 20px; }
.geo-primary-cta:hover, .geo-primary-cta:focus-visible { transform: none; background: var(--jade-gold-bright); box-shadow: none; }
.geo-proof-grid { gap: 0; padding: 24px 0; border-top: 1px solid var(--jade-line-soft); border-bottom: 1px solid var(--jade-line-soft); }
.geo-proof-card { min-height: 0; padding: 0 28px; border: 0; border-right: 1px solid var(--jade-line-soft); border-radius: 0; background: none; }
.geo-proof-card:first-child { padding-left: 0; }
.geo-proof-card:last-child { padding-right: 0; border: 0; }
.geo-proof-card h2 { margin: 10px 0 8px; font-size: 24px; line-height: 1.35; }
.geo-proof-number { color: var(--jade-gold); }
.geo-proof-card p { font-size: 14px; line-height: 1.8; }
.geo-guide-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 60px; align-items: start; margin-top: 42px; }
.geo-article-directory { position: sticky; top: 24px; padding-right: 24px; border-right: 1px solid var(--jade-line-soft); }
.geo-article-directory > p { margin: 0 0 18px; color: var(--jade-gold); font-size: 13px; font-weight: 600; }
.geo-article-directory nav { display: grid; gap: 4px; }
.geo-article-directory nav a { min-height: 46px; display: flex; gap: 10px; align-items: baseline; padding: 10px 0; color: var(--jade-muted); font-size: 13px; line-height: 1.7; text-decoration: none; }
.geo-article-directory small { color: var(--jade-gold); font-size: 10px; }
.geo-article-directory nav a:hover { color: var(--jade-text); }
.geo-guide-tutorial { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: var(--jade-gold); font-size: 14px; text-underline-offset: 5px; }
.geo-article { min-width: 0; padding: 0; }
.geo-article-section { display: block; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--jade-line-soft); scroll-margin-top: 24px; }
.geo-article-section:last-child { margin-bottom: 0; border-bottom: 0; }
.geo-section-index { margin: 0 0 10px; color: var(--jade-gold); font-size: 12px; }
.geo-section-copy h2, .geo-faq > h2, .geo-related > h2 { margin-bottom: 22px; font-size: clamp(27px, 3vw, 34px); line-height: 1.35; letter-spacing: 0; }
.geo-section-copy p, .geo-section-copy li { color: var(--jade-muted); font-size: 16px; line-height: 1.9; }
.geo-section-copy li { padding-left: 0; }
.geo-section-copy ul { padding-left: 22px; list-style: disc; }
.geo-section-copy li::before { content: none; }
.geo-section-copy li::marker, .geo-section-copy ol li::marker { color: var(--jade-gold); }
.geo-section-copy > a { min-height: 44px; border-color: var(--jade-line); border-radius: 8px; color: var(--jade-gold); text-underline-offset: 4px; }
.geo-piece-rules { margin: 24px 0 0; }
.geo-piece-rules > div { display: grid; grid-template-columns: minmax(66px, .25fr) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-color: var(--jade-line-soft); }
.geo-piece-rules dt { color: var(--jade-gold); font-size: 15px; }
.geo-piece-rules dd { margin: 0; color: var(--jade-muted); font-size: 14px; line-height: 1.8; }
.geo-faq { margin-top: 40px; padding: 32px 0; border: 0; border-top: 1px solid var(--jade-line-soft); border-bottom: 1px solid var(--jade-line-soft); border-radius: 0; background: none; }
.geo-faq-list { margin-top: 24px; }
.geo-faq summary { min-height: 68px; padding: 22px 10px; font-family: var(--jade-font); font-size: 17px; list-style: disclosure-closed; }
.geo-faq details[open] summary { list-style: disclosure-open; }
.geo-faq summary::marker { color: var(--jade-gold); }
.geo-faq summary::-webkit-details-marker, .geo-tutorial-rules summary::-webkit-details-marker { display: inline; }
.geo-faq summary::after, .geo-faq details[open] summary::after { content: none; }
.geo-faq details p { padding: 0 10px; line-height: 1.9; }
.geo-related { padding: 42px 0 24px; }
.geo-related-grid { gap: 18px; border-top: 0; }
.geo-related-card, .geo-related-card:nth-child(odd), .geo-related-card:nth-child(even) { min-height: 0; padding: 20px 44px 20px 0; border: 0; border-bottom: 1px solid var(--jade-line-soft); border-radius: 0; background: none; }
.geo-related-card:hover { border-color: var(--jade-gold); }
.geo-related-card strong { font-size: 23px; line-height: 1.4; }
.geo-related-card span { line-height: 1.8; }
.geo-reference { margin-top: 24px; padding: 24px 0; }
.geo-final-cta { min-height: 0; padding: 40px 0; }
.geo-final-cta p { font-size: clamp(26px, 3vw, 38px); line-height: 1.4; }
.geo-final-cta a { min-height: 48px; border: 1px solid var(--jade-gold); border-radius: 8px; color: var(--jade-gold-ink); background: var(--jade-gold); padding: 10px 22px; }
.geo-footer { min-height: 76px; color: var(--jade-muted); letter-spacing: .04em; }
[data-geo-game='tutorial'] main { max-width: 1180px; }
body[data-geo-game='tutorial'] { padding-bottom: var(--tutorial-anchor-space, 0px); }
.geo-tutorial-intro { padding: 32px 0 28px; }
.geo-tutorial-intro h1 { font-family: var(--jade-display); font-weight: 500; font-size: clamp(34px, 4vw, 48px); line-height: 1.3; }
.geo-tutorial-intro > p:not(.geo-eyebrow) { max-width: 72ch; margin-top: 14px; color: var(--jade-muted); line-height: 1.85; }
.geo-tutorial-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 40px; }
.geo-tutorial-directory a { min-width: 0; display: block; padding: 0; overflow: hidden; border: 0; border-radius: 0; color: var(--jade-text); text-decoration: none; }
.geo-tutorial-directory img { display: block; width: 100%; height: auto; aspect-ratio: 2.2; border-radius: 8px; object-fit: cover; }
.geo-tutorial-directory a > span { display: flex; align-items: baseline; gap: 12px; min-height: 54px; padding: 13px 0; border-bottom: 1px solid var(--jade-line-soft); }
.geo-tutorial-directory strong { min-width: 0; font-family: var(--jade-display); font-size: 23px; font-weight: 500; line-height: 1.3; }
.geo-tutorial-directory small { color: var(--jade-gold); font-size: 11px; }
.geo-tutorial-directory a:hover strong { color: var(--jade-gold-bright); }
.geo-tutorial-directory a:hover > span { border-color: var(--jade-gold); }
.tutorial-rules-heading { border-bottom: 1px solid var(--jade-line); }
.tutorial-rules-heading h2 { margin: 0 0 20px; color: var(--jade-gold-bright); font-family: var(--jade-display); font-size: 30px; font-weight: 500; line-height: 1.3; }
.geo-tutorial-games { display: block; margin: 0 0 48px; border: 0; }
.geo-tutorial-game { position: relative; display: block; padding: 0; border: 0; border-bottom: 1px solid var(--jade-line-soft); border-radius: 0; background: none; scroll-margin-top: 20px; }
.geo-tutorial-game:target { border-color: var(--jade-gold); }
.geo-tutorial-rules summary { position: relative; min-height: 114px; padding: 25px 174px 25px 8px; list-style: disclosure-closed; }
.geo-tutorial-rules[open] summary { list-style: disclosure-open; }
.geo-tutorial-rules summary::marker { color: var(--jade-gold); }
.geo-tutorial-rules summary::after, .geo-tutorial-rules[open] summary::after { content: none; }
.tutorial-rule-index { display: inline-block; width: 36px; color: var(--jade-gold); font-size: 12px; vertical-align: top; padding-top: 6px; }
.tutorial-rule-heading { display: inline-block; width: calc(100% - 58px); vertical-align: top; }
.geo-tutorial-rules h2 { display: block; margin: 0; color: var(--jade-text); font-family: var(--jade-display); font-size: 28px; font-weight: 500; line-height: 1.3; }
.tutorial-rule-heading > span { display: block; margin-top: 9px; color: var(--jade-muted); font-size: 14px; line-height: 1.8; }
.geo-tutorial-rules .geo-section-copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); gap: 46px; max-width: none; padding: 6px 0 32px 58px; }
.geo-tutorial-rules h3 { margin: 0 0 14px; color: var(--jade-text); font-size: 15px; font-weight: 600; line-height: 1.5; }
.geo-tutorial-rules .geo-section-copy ol { display: grid; gap: 12px; margin: 0; padding-left: 22px; }
.geo-tutorial-rules .geo-section-copy li { padding-left: 6px; font-size: 15px; line-height: 1.9; }
.tutorial-practice { align-self: start; padding: 20px 24px; border-left: 2px solid var(--jade-gold); background: var(--jade-deep); }
.tutorial-practice p { margin: 0; font-size: 14px; line-height: 1.9; }
.tutorial-practice .geo-rule-example { display: block; margin: 24px 0 0; }
.tutorial-practice .geo-rule-example svg { display: block; width: 170px; margin: 0 auto 16px; }
.tutorial-practice figcaption { color: var(--jade-muted); font-size: 13px; line-height: 1.8; }
.geo-tutorial-play { position: absolute; top: 27px; right: 0; width: auto; min-width: 140px; min-height: 46px; margin: 0; padding: 10px 20px; border: 1px solid var(--jade-gold); border-radius: 8px; color: var(--jade-gold-ink); background: var(--jade-gold); font-weight: 600; }
.geo-tutorial-play:hover { color: var(--jade-gold-ink); background: var(--jade-gold-bright); }
.lesson-diagrams figure, .lesson-question { border-color: var(--jade-line); background: var(--jade-deep); }
.lesson-answer { border-color: var(--jade-gold); background: var(--jade-raised); }
.lesson-question label { min-height: 44px; }
@media (max-width: 1000px) {
  .geo-guide-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 32px; }
  .geo-hero { gap: 32px; }
  .geo-tutorial-directory { gap: 16px; }
  .geo-tutorial-directory strong { font-size: 21px; }
  .geo-tutorial-rules .geo-section-copy { gap: 28px; padding-left: 0; }
}
@media (max-width: 920px) {
  .site-nav-main { width: calc(100% - 48px); gap: 18px; }
  .site-brand-name { font-size: 17px; }
  .site-brand-tagline { max-width: 190px; font-size: 11px; }
  .site-portal-link { padding: 0 10px; }
  .site-nav-tools { gap: 8px; }
}
@media (max-width: 760px) {
  .site-nav-main { width: calc(100% - 32px); min-height: 68px; gap: 8px; }
  .site-brand { gap: 8px; }
  .site-brand-mark { width: 34px; height: 34px; }
  .site-brand-name { font-size: 12px; letter-spacing: 0; }
  .site-brand-tagline { display: none; }
  .site-portal-primary { display: none; }
  .site-nav-tools { gap: 4px; }
  .site-account-link { width: 44px; height: 44px; border: 0; }
  .site-account-link svg { width: 26px; height: 26px; }
  .site-locale-trigger { justify-content: center; width: 53px; min-height: 44px; padding: 0 4px; gap: 4px; }
  .site-locale-trigger::-webkit-details-marker { display: none; }
  .site-locale-name { display: none; }
  .site-locale-code { display: inline; color: var(--jade-text); font-size: 14px; font-weight: 600; }
  .static-mobile-nav { position: static; display: block; }
  .static-mobile-nav > summary { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--jade-line); border-radius: 8px; color: var(--jade-text); list-style: none; cursor: pointer; }
  .static-mobile-nav > summary::-webkit-details-marker { display: none; }
  .static-mobile-nav[open] > summary { background: var(--jade-raised); color: var(--jade-gold); }
  .static-mobile-nav nav { position: absolute; top: calc(100% + 1px); right: 16px; left: 16px; z-index: 100; display: grid; padding: 8px; border: 1px solid var(--jade-line); border-radius: 12px; background: var(--jade-deep); box-shadow: var(--jade-shadow); }
  .static-mobile-nav:not([open]) nav { display: none; }
  .static-mobile-nav .site-portal-link { min-height: 48px; justify-content: flex-start; padding: 8px 16px; white-space: normal; }
  .static-locale-menu { position: fixed; top: 72px; right: 16px; left: 16px; width: auto; max-height: calc(100dvh - 88px); }
  .geo-page-body main, .geo-footer { width: calc(100% - 32px); }
  .geo-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0; }
  .geo-hero h1 { font-size: clamp(34px, 8vw, 44px); }
  .geo-hero-image { justify-self: stretch; }
  .geo-proof-grid { grid-template-columns: minmax(0, 1fr); padding: 4px 0; }
  .geo-proof-card, .geo-proof-card:first-child, .geo-proof-card:last-child { padding: 20px 0; border: 0; border-bottom: 1px solid var(--jade-line-soft); }
  .geo-proof-card:last-child { border-bottom: 0; }
  .geo-proof-card h2 { margin-top: 6px; }
  .geo-guide-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 26px; }
  .geo-article-directory { position: static; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--jade-line-soft); }
  .geo-article-directory nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
  .geo-article-directory > p { margin-bottom: 8px; }
  .geo-guide-tutorial { margin-top: 8px; }
  .geo-article-section { padding-bottom: 24px; margin-bottom: 26px; }
  .geo-faq { padding: 24px 0; }
  .geo-related-grid { grid-template-columns: minmax(0, 1fr); }
  .geo-final-cta { gap: 20px; align-items: flex-start; }
  .geo-tutorial-intro { padding: 24px 0; }
  .geo-tutorial-intro .geo-eyebrow { font-size: 11px; }
  .geo-tutorial-intro h1 { font-size: 34px; }
  .geo-tutorial-intro > p:not(.geo-eyebrow) { font-size: 14px; }
  .geo-tutorial-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-bottom: 30px; }
  .geo-tutorial-directory a > span { gap: 8px; min-height: 48px; padding: 10px 0; }
  .geo-tutorial-directory strong { font-size: 22px; }
  .geo-tutorial-directory small { font-size: 10px; }
  .tutorial-rules-heading h2 { font-size: 27px; }
  .geo-tutorial-rules summary { min-height: 0; margin-inline-start: 18px; padding: 22px 0 18px 0; }
  .tutorial-rule-index { width: 28px; }
  .tutorial-rule-heading { width: calc(100% - 45px); }
  .geo-tutorial-rules h2 { font-size: 26px; }
  .geo-tutorial-rules .geo-section-copy { display: block; padding: 4px 0 24px; }
  .tutorial-practice { margin-top: 24px; padding: 18px 20px; }
  .tutorial-practice .geo-rule-example { display: flex; align-items: center; gap: 18px; }
  .tutorial-practice .geo-rule-example svg { width: 124px; margin: 0; }
  .tutorial-practice figcaption { flex: 1; }
  .geo-tutorial-play { position: static; display: inline-flex; min-width: 0; margin: 0 0 24px 0; padding: 10px 20px; }
}
@media (max-width: 360px) {
  .site-nav-main { width: calc(100% - 20px); }
  .site-brand { gap: 4px; }
  .site-brand-mark { width: 28px; height: 28px; }
  .site-brand-name { font-size: 12px; }
  .site-brand-tagline { max-width: 125px; }
  .site-nav-tools { gap: 0; }
  .geo-tutorial-directory strong { font-size: 19px; }
  .geo-article-directory nav { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Match the selected jade game lobby across help, tutorials and rule guides. */
.static-primary-action, .geo-primary-cta, .geo-tutorial-play {
  border-color: #ecd59b;
  background: var(--jade-button-gold);
  box-shadow: var(--jade-button-shadow);
  transition: filter 140ms, box-shadow 140ms;
}
.static-primary-action:hover, .geo-primary-cta:is(:hover, :focus-visible), .geo-tutorial-play:is(:hover, :focus-visible) {
  background: var(--jade-button-gold);
  box-shadow: var(--jade-button-shadow);
  filter: brightness(1.06);
}
.static-primary-action:active, .geo-primary-cta:active, .geo-tutorial-play:active { box-shadow: inset 0 2px 4px rgb(82 54 16 / 25%), 0 1px 0 #796137; }
.static-secondary-action { background: var(--jade-button-green); box-shadow: var(--jade-button-secondary-shadow); }
.geo-tutorial-directory a { position: relative; border: 1px solid #6f7050; border-radius: 10px; background: var(--jade-surface); box-shadow: var(--jade-shadow); }
.geo-tutorial-directory a > span { padding-inline: 16px; border-bottom: 0; }
.geo-tutorial-directory img { border-radius: 8px 8px 0 0; }
.geo-tutorial-directory a:is(:hover, :focus-visible)::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 14px solid transparent;
  border-image: url('/assets/img/jade/card-frame.png') 170 / 18px / 0 stretch;
  pointer-events: none;
}
.geo-tutorial-rules[open] { background: var(--jade-deep); box-shadow: inset 3px 0 var(--jade-gold); }
.geo-tutorial-rules[open] summary { color: var(--jade-gold-bright); }
.help-tutorial-feature { padding: 12px; border: 1px solid #6f7050; border-radius: 10px; background: var(--jade-surface); box-shadow: var(--jade-shadow); }
.help-page .help-actions { gap: 8px; }
.help-actions a { padding-inline: 12px; border: 1px solid var(--jade-line); border-radius: 8px; background: var(--jade-button-green); box-shadow: var(--jade-button-secondary-shadow); }
.tutorial-help-list details[open] { background: var(--jade-surface); box-shadow: inset 3px 0 var(--jade-gold); }
.tutorial-help-list details[open] summary { color: var(--jade-gold-bright); }
.help-page .tutorial-help-list details { padding-inline: 16px; }
.help-page .help-feature-copy > span { font-size: 14px; }
@media (max-width: 700px) {
  .geo-tutorial-directory a > span { padding-inline: 10px; gap: 7px; }
  .help-page .help-tutorial-feature { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .help-page .help-actions { gap: 8px; }
  .help-page .help-actions a { font-size: 14px; }
}
