/* Product websites: readable, buildless, responsive. */
:root {
  --primary: #174f40;
  --accent: #d8bd82;
  --paper: #f7f6ef;
  --ink: #202b29;
  --muted: #58655f;
  --line: #dce1d9;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.8; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
button, a, input, summary { outline-offset: 5px; }
:focus-visible { outline: 3px solid #dd8c31; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { display: block; font-size: 12px; letter-spacing: .18em; font-weight: 700; color: var(--primary); margin: 0 0 20px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 4vw, 60px); line-height: 1.3; letter-spacing: -.045em; margin-bottom: 25px; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.4; letter-spacing: -.025em; }
h3 { font-size: 21px; line-height: 1.5; }
p { color: var(--muted); }
.skip { position: fixed; top: -90px; left: 15px; z-index: 30; background: white; padding: 15px; }
.skip:focus { top: 10px; }
.header { position: sticky; top: 0; background: var(--paper); z-index: 10; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 29px; font-weight: 900; letter-spacing: -1.3px; color: var(--primary); }
.brand img { width: 48px; height: 48px; }
.nav { display: flex; gap: 25px; margin-left: auto; font-size: 14px; }
.nav a[aria-current] { color: var(--primary); border-bottom: 2px solid var(--primary); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: var(--primary); color: white; border: 1px solid var(--primary); border-radius: 5px; padding: 13px 24px; font-weight: 700; }
.button:hover { filter: brightness(1.1); text-decoration: none; }
.button.outline { color: var(--primary); background: transparent; }
.button.small { padding: 8px 17px; font-size: 14px; }
.menu { display: none; border: 0; background: transparent; font-size: 24px; }
.hero { padding: 56px 0 30px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: 52px; }
.hero-copy { padding: 15px 0; }
.hero-word { font-size: clamp(48px, 6vw, 78px); line-height: 1; font-weight: 900; letter-spacing: -.06em; color: var(--primary); display: block; margin-bottom: 25px; }
.hero-copy > p { max-width: 540px; font-size: 16px; line-height: 1.95; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 28px 0; }
.text-link { font-weight: 700; color: var(--primary); }
.hero-art { position: relative; margin: 0; overflow: hidden; border-radius: 140px 14px 14px 14px; background: var(--primary); }
.hero-art > img { width: 100%; aspect-ratio: 900 / 760; object-fit: cover; }
.hero-art figcaption { position: absolute; bottom: 15px; right: 20px; color: #fff; background: #0007; padding: 2px 10px; font-size: 11px; border-radius: 20px; }
.mini-social { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 28px; }
.mini-social .faces { display: flex; padding-left: 7px; }
.faces img { width: 38px; height: 38px; border: 2px solid var(--paper); border-radius: 50%; margin-left: -7px; }
.hero-bottom { display: flex; justify-content: space-between; padding-top: 32px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; border-block: 1px solid var(--line); }
.entry { padding: 25px 20px; display: flex; gap: 16px; align-items: center; }
.entry + .entry { border-left: 1px solid var(--line); }
.entry strong, .entry small { display: block; }
.entry strong { font-size: 17px; }
.entry small { font-size: 12px; color: var(--muted); }
.platform-icon { width: 27px; height: 30px; color: var(--primary); flex-shrink: 0; }
.entry .arrow { margin-left: auto; }
.section { padding: 86px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 430px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { padding: 28px 0; border-top: 1px solid var(--line); }
.feature .number { color: var(--primary); font-size: 13px; font-weight: bold; display: block; margin-bottom: 18px; }
.feature h3 { margin-bottom: 13px; }
.feature p { margin: 0; }
.tinted { background: color-mix(in srgb, var(--primary) 6%, var(--paper)); }
.experience-grid, .detail-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 66px; }
.board-box { padding: 26px; background: #fff8; border: 1px solid var(--line); border-radius: var(--radius); }
.board-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--primary); margin-bottom: 30px; }
.poker-table { position: relative; min-height: 255px; background: radial-gradient(ellipse at center, color-mix(in srgb,var(--primary) 70%,white),var(--primary)); border: 12px solid color-mix(in srgb,var(--primary) 80%,black); outline: 2px solid var(--accent); border-radius: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 15px 25px #0002; margin: 12px 0 35px; }
.table-name { color: var(--accent); letter-spacing: .2em; font-size: 11px; margin-bottom: 16px; }
.cards { display: flex; gap: 6px; }
.card { width: 46px; height: 67px; background: #fffaf0; color: #263a32; border-radius: 4px; padding: 3px 5px; display: flex; flex-direction: column; font-size: 19px; line-height: 1.3; box-shadow: 0 3px 3px #0003; }
.card.red { color: #ac3949; }
.card b { align-self: end; font-size: 24px; }
.card.down { background: repeating-linear-gradient(45deg,#c4b894 0 2px,#ebe4ca 2px 5px); color: transparent; }
.seat { position: absolute; background: #f2ecd9; color: var(--primary); border: 5px solid #fff9; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; font-size: 12px; }
.seat.s1 { top: -22px; left: 46%; }
.seat.s2 { left: -23px; top: 44%; }
.seat.s3 { right: -23px; top: 44%; }
.stage-controls { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.stage-controls button, .filters button { border: 1px solid var(--line); background: transparent; border-radius: 5px; padding: 7px 13px; color: var(--primary); font-size: 13px; }
.stage-controls button[aria-pressed=true], .filters button[aria-pressed=true] { background: var(--primary); color: white; border-color: var(--primary); }
.stage-description { text-align: center; font-size: 13px; margin: 18px 0 0; min-height: 45px; }
.steps { list-style: none; padding: 0; margin: 25px 0; counter-reset: step; }
.steps li { padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: inline-block; width: 42px; color: var(--primary); font-size: 12px; }
.detail-symbol { background: var(--primary); padding: 45px; border-radius: var(--radius); color: white; }
.detail-symbol img { width: 96px; height: 96px; margin-bottom: 30px; }
.detail-symbol h3 { font-size: 30px; }
.detail-symbol p { color: #fffd; }
.detail-symbol .steps li { border-color: #fff3; }
.detail-symbol .steps li::before { color: var(--accent); }
.gallery { background: #101d1a; color: white; }
.gallery .eyebrow { color: var(--accent); }
.gallery p { color: #bdcbc6; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; }
.filters button { color: white; border-color: #ffffff35; }
.filters button[aria-pressed=true] { color: #17241e; background: var(--accent); border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-card { margin: 0; }
.gallery-open { padding: 0; border: 1px solid #ffffff30; border-radius: 14px; overflow: hidden; width: 100%; background: transparent; text-align: left; color: white; }
.gallery-open:hover { transform: translateY(-4px); }
.mock { padding: 22px; min-height: 285px; background: linear-gradient(155deg,var(--primary),#16221f); display: flex; flex-direction: column; gap: 20px; }
.mock-brand { font-size: 20px; color: var(--accent); font-weight: 900; }
.mock-label { font-size: 22px; }
.mock-rows { display: grid; gap: 9px; }
.mock-row { padding: 10px 14px; border: 1px solid #fff3; background: #ffffff0c; font-size: 13px; border-radius: 5px; display: flex; justify-content: space-between; }
.mock img { width: 100%; height: 150px; object-fit: cover; border-radius: 7px; }
.gallery-card figcaption { padding: 20px 0 0; }
.gallery-card h3 { margin-bottom: 8px; }
.gallery-card p { font-size: 14px; }
.community { background: var(--primary); color: white; }
.community .eyebrow { color: var(--accent); }
.community p { color: #fffd; }
.community-top { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.community-number { border: 1px solid #ffffff30; padding: 30px; }
.counter { display: block; font-size: clamp(45px,6vw,76px); color: var(--accent); line-height: 1.3; font-family: Georgia,serif; }
.counter-label { font-size: 12px; color: #fffb; }
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.voice { margin: 0; padding: 26px; background: #ffffff0c; border-top: 1px solid #ffffff30; }
.voice p { font-size: 15px; }
.voice figcaption { display: flex; align-items: center; gap: 15px; font-size: 13px; }
.voice img { width: 54px; height: 54px; border-radius: 50%; }
.download-band { padding: 55px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.download-card { background: var(--paper); border: 1px solid var(--line); padding: 25px; border-radius: 10px; display: flex; gap: 20px; align-items: center; }
.download-card strong { display: block; font-size: 23px; }
.download-card small { color: var(--muted); display: block; }
.download-card .platform-icon { width: 34px; height: 38px; }
.download-card .arrow { margin-left: auto; font-size: 25px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: bold; }
.faq details p { margin: 15px 0 0; }
.footer { border-top: 1px solid var(--line); padding: 50px 0 110px; }
.footer-grid { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.disclosure { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); margin: 30px 0 0; padding-top: 20px; }
.subhero { padding: 65px 0 45px; background: var(--paper); }
.subhero h1 { font-size: clamp(32px,4vw,50px); }
.crumb { font-size: 12px; margin-bottom: 30px; color: var(--muted); }
.prose { max-width: 880px; }
.prose p { line-height: 2; }
.prose a:not(.button) { text-decoration: underline; }
.channels { display: grid; gap: 12px; margin: 24px 0; }
.channel { border: 1px solid var(--line); background: var(--paper); padding: 13px; display: flex; align-items: center; gap: 12px; border-radius: 7px; }
.channel span { min-width: 75px; font-size: 13px; }
.channel input { width: 120px; min-width: 0; border: 0; background: transparent; color: var(--primary); font-weight: bold; }
.channel button { margin-left: auto; border: 0; background: var(--primary); color: white; padding: 6px 10px; border-radius: 4px; font-size: 12px; white-space: nowrap; }
.copy-status { min-height: 24px; font-size: 12px; color: var(--primary); }
dialog { width: min(540px,calc(100% - 28px)); border: 0; padding: 35px; border-radius: 18px; background: var(--paper); color: var(--ink); max-height: 90dvh; overflow: auto; }
dialog::backdrop { background: #071b14bb; backdrop-filter: blur(3px); }
dialog h2 { font-size: 28px; padding-right: 20px; }
.close-dialog { position: absolute; right: 15px; top: 10px; border: 0; background: transparent; color: inherit; font-size: 30px; }
.lightbox { width: min(800px,calc(100% - 28px)); }
.lightbox .mock { min-height: 390px; }
.lightbox .mock img { height: 250px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { gap: 16px; }
  .nav { gap: 15px; }
  .hero-grid, .experience-grid, .detail-grid { gap: 32px; }
  .hero-word { font-size: 62px; }
  .header .button { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 72px; justify-content: space-between; }
  .brand { font-size: 25px; }
  .brand img { width: 39px; height: 39px; }
  .header .button { display: inline-flex; font-size: 12px; padding: 7px 12px; margin-left: auto; }
  .menu { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: grid; grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 35px; }
  body .hero-grid, .experience-grid, .detail-grid, .community-top { grid-template-columns: 1fr !important; gap: 32px; }
  .hero-word { font-size: 60px; margin-bottom: 22px; }
  h1 { font-size: 38px; }
  .hero-copy > p { font-size: 15px; }
  .hero-art { width: 100%; max-width: 520px; margin-inline: auto; }
  body .hero-art { order: initial !important; transform: none !important; }
  .hero-bottom { font-size: 11px; gap: 20px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry { padding: 19px 10px; }
  .entry + .entry { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 55px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  body .features, .voices, .downloads { grid-template-columns: 1fr; gap: 15px; }
  .feature { padding: 20px 0; }
  .board-box { padding: 19px; }
  .poker-table { min-height: 210px; border-width: 9px; }
  .card { width: 37px; height: 56px; font-size: 15px; }
  .card b { font-size: 20px; }
  .detail-symbol { padding: 28px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 32px; }
  .mock { min-height: 280px; }
  .mock img { height: 165px; }
  .download-band { padding: 24px; }
  .download-card { padding: 20px; }
  .footer-grid { flex-direction: column; gap: 25px; }
  .footer-links { gap: 16px; }
  .chat-launcher { right: 15px; bottom: 16px; font-size: 13px; }
  .chat-panel { right: 14px; bottom: 75px; }
  dialog { padding: 28px 20px; }
  .channel { gap: 6px; }
  .channel input { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 360px) {
  .header .button { display: none; }
  .channel { padding: 10px 8px; gap: 4px; }
  .channel span { min-width: 55px; font-size: 12px; }
  .channel input { width: 80px; font-size: 14px; }
  .channel button { padding: 6px; font-size: 11px; }
}

/* Shared vertical controls: top button sits 12px above the assistant. */
body[data-support-theme]{--hh-stack-bottom:18px;--hh-stack-right:18px}
/* Let the last footer text scroll clear of both fixed controls on narrow screens. */
@media(max-width:900px){body[data-support-theme] .site-footer{padding-bottom:calc(var(--hh-stack-bottom) + 128px + env(safe-area-inset-bottom))}}
/* Shared layout v1.0.0. Theme variables preserve each template's visual identity. */
.hh-support{--hh-surface:#f7f8f3;--hh-header:#e8efdf;--hh-text:#173e32;--hh-muted:#506b5c;--hh-line:#d4dfcd;--hh-accent:#164b38;--hh-accent-text:#fffdf3;--hh-user:#e1eddc;--hh-bottom:var(--hh-stack-bottom);font:14px/1.65 "Microsoft YaHei","PingFang SC",sans-serif;color:var(--hh-text)}
body[data-support-theme="club"] .hh-support{--hh-surface:#faf7ef;--hh-header:#eee3ca;--hh-text:#362817;--hh-muted:#715c3d;--hh-line:#e1d5be;--hh-accent:#725124;--hh-accent-text:#fffaf0;--hh-user:#f2e5ca}
body[data-support-theme="download"] .hh-support{--hh-surface:#fff7f4;--hh-header:#f2e0db;--hh-text:#54242b;--hh-muted:#7c5257;--hh-line:#e7d1cd;--hh-accent:#a62436;--hh-accent-text:#fff;--hh-user:#f8e3e3}
.hh-support *{box-sizing:border-box}
.hh-support [hidden]{display:none!important}
.hh-support button,.hh-support input{font:inherit}
.hh-support button{cursor:pointer;touch-action:manipulation}
.hh-support button:disabled{cursor:wait;opacity:.65}
.hh-support :is(button,input):focus-visible{outline:2px solid var(--hh-accent);outline-offset:3px}
.hh-support ::selection{background:var(--hh-accent);color:var(--hh-accent-text)}
.hh-support input{caret-color:var(--hh-accent)}
.hh-launcher{position:fixed;z-index:1000;right:max(var(--hh-stack-right),env(safe-area-inset-right));bottom:calc(var(--hh-bottom) + env(safe-area-inset-bottom));min-height:52px;padding:12px 22px;border:1px solid var(--hh-line);border-radius:28px;background:var(--hh-accent);color:var(--hh-accent-text);box-shadow:0 10px 28px #0004;font-weight:700!important}
.hh-panel{position:fixed;z-index:1001;right:max(var(--hh-stack-right),env(safe-area-inset-right));bottom:calc(var(--hh-bottom) + 128px + env(safe-area-inset-bottom));display:flex;flex-direction:column;width:min(400px,calc(100vw - 32px));height:min(650px,calc(100vh - var(--hh-bottom) - 144px - env(safe-area-inset-bottom)));height:min(650px,calc(100dvh - var(--hh-bottom) - 144px - env(safe-area-inset-bottom)));overflow:hidden;border-radius:16px;background:var(--hh-surface);box-shadow:0 20px 60px #0005;text-align:left}
.hh-header{display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:15px;background:var(--hh-header);border-bottom:1px solid var(--hh-line)}
.hh-avatar{display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid var(--hh-accent);border-radius:50%;color:var(--hh-accent);font:bold 17px Georgia,serif}
.hh-heading{min-width:0;flex:1}.hh-heading strong{display:block;font-size:14px}.hh-heading small{display:block;margin-top:2px;font-size:11px;color:var(--hh-muted)}
.hh-close{flex:0 0 44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--hh-text);font-size:26px!important;line-height:1!important}
.hh-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px;scrollbar-width:thin;scrollbar-color:var(--hh-muted) transparent}
.hh-message{margin:0 0 12px;padding:11px 13px;border:1px solid var(--hh-line);border-radius:12px;background:#fff;color:var(--hh-text);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.hh-user{margin-left:28px;background:var(--hh-user)}
.hh-contact{margin-bottom:12px;padding:15px;border:1px solid var(--hh-line);border-radius:14px;background:#fff}
.hh-contact-top{display:flex;gap:9px;align-items:center;margin-bottom:9px}.hh-contact-top strong{font-size:14px}.hh-contact-top small{margin-left:auto;font-size:11px;color:var(--hh-muted)}
.hh-app-icon{display:block;width:36px;height:36px;object-fit:contain;border-radius:5px;background:#fff}
.hh-account-row{display:flex;align-items:center;gap:8px;min-width:0}
.hh-account{min-width:0;width:100%;padding:0;border:0;background:transparent;color:var(--hh-text);font-size:29px!important;font-weight:800!important;letter-spacing:.5px;line-height:1.6!important}
.hh-copy{flex-shrink:0;min-height:44px;padding:8px 11px;border:0;border-radius:8px;color:var(--hh-accent-text);background:var(--hh-accent);font-size:12px!important;font-weight:700!important}
.hh-contact-note,.hh-copy-status,.hh-manual{margin:8px 0 0;font-size:11px;line-height:1.6;color:var(--hh-muted)}
.hh-copy-status:empty{display:none}.hh-retry{min-height:36px;padding:4px;border:0;background:transparent;color:var(--hh-accent);text-decoration:underline;text-underline-offset:3px}
.hh-message .hh-copy-group{margin-top:10px}.hh-message .hh-account{font-size:20px!important}.hh-message .hh-copy{font-size:16px!important;letter-spacing:.3px}
.hh-footer{flex:0 0 auto;padding:12px 14px 9px;border-top:1px solid var(--hh-line);background:var(--hh-surface)}
.hh-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}
.hh-quick button{min-height:36px;padding:6px 8px;border:1px solid var(--hh-line);border-radius:5px;background:#fff;color:var(--hh-text);font-size:11px;line-height:1.4;text-align:center}
.hh-form{display:flex;gap:7px;margin:0}.hh-input{min-width:0;flex:1;min-height:46px;border:1px solid var(--hh-line);border-radius:6px;padding:9px 10px;background:#fff;color:var(--hh-text);font-size:16px!important}.hh-input::placeholder{color:var(--hh-muted);font-size:13px}
.hh-send{flex:0 0 50px;border:0;border-radius:6px;background:var(--hh-accent);color:var(--hh-accent-text);font-size:12px!important;font-weight:700!important}
.hh-footnote{margin:7px 0 0;text-align:center;font-size:10px;color:var(--hh-muted)}
.hh-support button:hover{filter:brightness(.94)}
@media(max-width:760px){body[data-support-theme]{--hh-stack-bottom:12px;--hh-stack-right:12px}.hh-panel{right:max(12px,env(safe-area-inset-right));width:calc(100vw - 24px);max-width:400px}.hh-launcher{right:max(12px,env(safe-area-inset-right))}.hh-header{padding:10px 12px}.hh-scroll{padding:12px}.hh-footer{padding:10px 12px 8px}body[data-support-theme="download"]{--hh-stack-bottom:78px}}
@media(max-height:540px){.hh-header{padding:6px 10px}.hh-footer{padding:7px 10px}.hh-footnote{display:none}.hh-quick{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:6px;gap:4px}.hh-quick button{padding:4px;font-size:10px}}

/* Short landscape windows use the space beside the controls for readable chat. */
@media(max-height:540px) and (min-width:480px){.hh-panel{right:calc(max(var(--hh-stack-right),env(safe-area-inset-right)) + 126px);bottom:calc(var(--hh-bottom) + env(safe-area-inset-bottom));width:min(400px,calc(100vw - 154px));height:calc(100vh - var(--hh-bottom) - env(safe-area-inset-bottom) - 16px);height:calc(100dvh - var(--hh-bottom) - env(safe-area-inset-bottom) - 16px)}}

/* Single-page refinements; original 001 palette and composition retained. */
:root { --primary:#123d42; --accent:#91cfc5; --paper:#f7f6ef; --muted:#52615b; --deep:color-mix(in srgb,var(--primary) 78%,black); --soft:color-mix(in srgb,var(--primary) 6%,var(--paper)); --on-dark:color-mix(in srgb,var(--accent) 30%,white); --soft-border:color-mix(in srgb,var(--primary) 22%,var(--paper)); }
html { scrollbar-color:var(--muted) var(--paper); }
.brand-mark path:first-child { fill:var(--primary); }
.brand-mark path:last-child { fill:var(--accent); }
:focus-visible { outline-color:var(--muted); }
.gallery p { color:var(--on-dark); }
body { overflow-wrap:break-word; }
::selection { background:var(--primary); color:white; }
input { caret-color:var(--primary); }
button:disabled { opacity:.65; cursor:wait; }
button,a,summary { touch-action:manipulation; }
button[data-scroll]:not(.entry):not(.button), .footer-links button[data-open-chat] { padding:0; border:0; background:transparent; text-align:inherit; cursor:pointer; }
.nav button, .footer-links button { color:inherit; }
.community-top button, .hero-bottom button, .mini-social button { color:inherit; }
.nav button:hover, .footer-links button:hover, .text-link:hover { text-decoration:underline; text-underline-offset:5px; }
.entry[data-scroll] { text-align:left; border:0; background:transparent; color:inherit; }
.entry[data-open-chat] { text-align:left; border:0; background:transparent; color:inherit; }
.download-card { text-align:left; }
.entry[data-scroll]:hover { background:var(--soft); }
.text-link[data-open-chat] { border:0; padding:0; background:transparent; text-align:left; }
.entry-grid .entry + .entry { border-left:1px solid var(--line); }
summary { min-height:32px; }
.brand-mark { width:48px; height:48px; flex-shrink:0; }
.hero { padding-top:66px; }
.hero-grid { grid-template-columns:1.02fr 1fr; gap:54px; }
.hero-art { order:-1; border-radius:16px 120px 16px 16px; }
.hero-word { letter-spacing:-.04em; font-size:clamp(48px,6vw,78px); }
h1 { letter-spacing:-.035em; font-size:clamp(36px,3.65vw,52px); }
.hero-art > img { aspect-ratio:6/5; }
.hero-art figcaption { background:color-mix(in srgb,var(--primary) 92%,transparent); font-size:12px; padding:4px 13px; }
.hero-copy > p { line-height:1.9; }
.hero-bottom { padding-bottom:12px; }
.section-head { align-items:center; }
.section-head p { max-width:380px; }
.features { gap:36px; }
.feature { padding:24px 0 0; }
.feature h3 { margin-bottom:12px; }
.entry:hover { background:var(--soft); text-decoration:none; }
.gallery { background:var(--deep); }
.gallery-open { position:relative; display:block; border:0; transition:transform .2s ease; }
.gallery-open > img { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.image-expand { position:absolute; bottom:12px; right:12px; width:32px; height:32px; display:grid; place-items:center; background:var(--primary); border-radius:50%; font-size:22px; line-height:1; }
.gallery-card h3 { font-size:22px; }
.gallery-controls { display:none; }
.community { background:var(--primary); }
.community h2 { max-width:none; text-wrap:balance; }
.community-number { border:0; border-left:1px solid #ffffff38; padding:8px 0 8px 56px; }
.counter { font-variant-numeric:tabular-nums; font-size:clamp(52px,6.5vw,88px); }
.counter-label { color:var(--on-dark); }
.voice { padding:26px 28px; border-radius:0 0 12px 12px; }
.voice > p { min-height:28px; font-size:17px; }
.voice img { object-fit:cover; width:60px; height:60px; }
.voice small { color:var(--on-dark); }
.club-process { margin-top:52px; padding-top:34px; border-top:1px solid #ffffff30; }
.club-process h3 { font-size:25px; margin-bottom:25px; }
.club-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; padding:0; margin:0 0 22px; list-style:none; counter-reset:club; }
.club-steps li { counter-increment:club; }
.club-steps li:before { content:'0' counter(club); display:block; color:var(--accent); font-size:12px; margin-bottom:9px; }
.club-steps strong { font-size:17px; }
.club-steps p { font-size:14px; margin:10px 0; }
.outline-light { border-color:var(--accent)!important; background:transparent!important; color:white!important; }
.guide-details { border-block:1px solid var(--line); padding:14px 0; margin:22px 0; }
.guide-details summary { font-weight:bold; color:var(--primary); cursor:pointer; }
.guide-details p { margin:12px 0 0; font-size:14px; }
.stage-controls button { min-height:44px; }
.table-name { color:#ffffff; font-size:12px; }
.practice-table { position:relative; display:grid; place-items:center; height:310px; margin:30px 14px; padding:0 32px; border:10px solid var(--deep); outline:2px solid var(--accent); border-radius:160px; background:radial-gradient(ellipse at center,color-mix(in srgb,var(--primary) 83%,white),var(--primary)); color:#fff; box-shadow:0 12px 20px #0000001c; }
.practice-hand, .practice-board { display:grid; justify-items:center; gap:8px; }
.practice-hand { position:absolute; left:50%; transform:translateX(-50%); }
.opponent-hand { top:18px; }
.player-hand { bottom:18px; }
.practice-board { gap:5px; }
.board-box .cards { justify-content:center; }
.hand-caption { color:var(--primary); font-size:12px; }
.practice-table .hand-caption { color:var(--on-dark); }
.table-inscription { color:var(--on-dark); font-family:Georgia,serif; letter-spacing:.16em; font-size:10px; margin:0; }
.practice-seat { position:absolute; display:grid; place-items:center; width:46px; height:40px; border:3px solid var(--paper); border-radius:18px; background:var(--soft); color:var(--primary); font-size:11px; white-space:nowrap; }
.practice-seat.seat-n { top:-27px; left:calc(50% - 23px); }
.practice-seat.seat-s { bottom:-27px; left:calc(50% - 23px); }
.practice-seat.seat-w { left:-30px; top:calc(50% - 20px); }
.practice-seat.seat-e { right:-30px; top:calc(50% - 20px); }
.practice-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding-top:4px; }
.hand-heading { display:flex; align-items:center; gap:14px; }
.hand-heading button { min-height:44px; border:1px solid var(--soft-border); padding:5px 12px; border-radius:5px; background:transparent; color:var(--primary); font-size:13px; }
.board-box .card { width:40px; height:55px; font-size:17px; }
.board-box .card b { font-size:21px; }
.board-box .card.down { background:repeating-linear-gradient(45deg,#b0a785 0 2px,#e7dfc7 2px 5px); }
.practice-actions { display:flex; gap:10px; margin:16px 0 12px; }
.practice-actions .button { flex:1; min-height:44px; padding:9px 10px; font-size:13px; }
.board-box .stage-controls { margin:0; }
.board-box button:disabled { cursor:default; opacity:.55; }
.board-box .stage-controls [aria-pressed=true] { opacity:1; }
.board-box .stage-description { margin-bottom:0; min-height:44px; }
.practice-result { margin-top:14px; border-top:1px solid var(--line); padding-top:12px; }
.practice-result p { margin:0 0 6px; font-size:13px; }
.download-band { background:var(--soft); }
.download-help { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:22px 0 30px; }
.download-help p { margin:0; font-size:13px; }
.download-help strong { display:block; color:var(--primary); margin-bottom:3px; }
.download-card:hover { text-decoration:none; border-color:var(--primary); }
.contact-inline { border-top:1px solid #cdd4c8; padding-top:30px; }
.contact-inline h3 { margin-bottom:5px; }
.contact-inline > div > p { font-size:14px; }
.contact-options { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.contact-direct { display:grid; grid-template-columns:1fr auto; align-items:center; column-gap:12px; }
.contact-direct > span { grid-column:1/-1; color:var(--muted); font-size:12px; }
.contact-direct > strong { font-size:28px; color:var(--primary); letter-spacing:.01em; }
.contact-direct button { border:1px solid var(--primary); color:var(--primary); padding:8px 12px; border-radius:5px; background:transparent; min-height:44px; font-size:12px; }
.page-copy-status { margin:12px 0 5px; min-height:25px; font-size:13px; color:var(--primary); }
.contact-inline > .text-link { font-size:13px; }
.faq details { padding:19px 0; }
.faq summary { display:flex; align-items:center; justify-content:space-between; gap:20px; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary:after { content:'+'; font-size:24px; font-weight:normal; color:var(--primary); flex-shrink:0; }
.faq details[open] summary:after { content:'−'; }
.faq details p { max-width:78ch; line-height:1.9; }
.legal-details { margin-top:28px; display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.legal-details details { border-top:1px solid var(--line); padding:16px 0; font-size:13px; }
.legal-details summary { cursor:pointer; color:var(--primary); font-weight:700; }
.legal-details p { margin:10px 0 0; }
.friend-links { display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; font-size:13px; padding:18px 0; border-top:1px solid var(--line); }
.friend-links:empty { display:none; }
.friend-links a { color:var(--primary); }
.disclosure { line-height:1.9; font-size:12px; }
.lightbox { width:min(900px,calc(100% - 28px)); padding:25px; }
.lightbox h2 { font-size:24px; margin-bottom:18px; }
.lightbox img { width:100%; height:auto; border-radius:8px; }
.close-dialog { min-width:44px; min-height:44px; }
.back-top { position:fixed; z-index:999; right:max(var(--hh-stack-right),env(safe-area-inset-right)); bottom:calc(var(--hh-stack-bottom) + 64px + env(safe-area-inset-bottom)); width:52px; height:52px; border:1px solid var(--soft-border); border-radius:50%; background:var(--paper); color:var(--primary); font-size:25px; box-shadow:0 8px 24px #0001; }
body[data-support-theme=official] .hh-support { --hh-surface:var(--paper); --hh-header:var(--soft); --hh-text:var(--primary); --hh-muted:var(--muted); --hh-line:var(--line); --hh-accent:var(--primary); --hh-accent-text:#fff; --hh-user:var(--soft); }
.hh-panel { box-shadow:0 20px 60px #00000040; }
.hh-header .hh-avatar { border:0; border-radius:0; background:transparent; }
.hh-header .hh-avatar .brand-mark { display:block; width:36px; height:36px; object-fit:contain; }
.hh-copy-status,.hh-contact-note,.hh-manual { color:var(--hh-muted); }
.error-page { padding-top:90px; padding-bottom:90px; }
.error-code { font:120px/1 Georgia,serif; color:var(--primary); margin:60px 0 20px; }
@media(max-width:1050px) { .hero-grid { gap:32px; } .hero-word { font-size:62px; } .community-number { padding-left:32px; } }
@media(max-width:760px) {
  .brand-mark { width:39px; height:39px; }
  .hero { padding-top:28px; }
  .hero-word { font-size:54px; margin-bottom:18px; }
  h1 { font-size:36px; }
  .hero-art { border-radius:14px 84px 14px 14px; }
  .hero-copy { padding:0; }
  .hero-bottom { align-items:center; }
  .header .button.small { display:none; }
  .menu { min-width:44px; min-height:44px; }
  .section-head p { max-width:none; }
  .entry-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .entry-grid .entry { position:relative; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:8px; padding:12px 6px; min-width:0; }
  .entry-grid .entry + .entry { border-left:1px solid var(--line); border-top:0; }
  .entry-grid .entry > .platform-icon, .entry-grid .entry > span:first-child { width:23px; height:25px; line-height:25px; }
  .entry-grid .entry strong { font-size:14px; line-height:1.5; }
  .entry-grid .entry small { margin-top:4px; font-size:12px; line-height:1.5; }
  .entry-grid .entry .arrow { position:absolute; top:14px; right:10px; font-size:13px; }
  #features { padding:16px 0; }
  #features .section-head { gap:8px; margin-bottom:12px; }
  #features .section-head h2 { font-size:24px; line-height:1.35; text-wrap:balance; }
  #features .section-head p { margin:0; font-size:14px; line-height:1.6; }
  #features .features { gap:0; }
  #features .feature { display:grid; grid-template-columns:68px minmax(0,1fr); gap:10px; align-items:start; border-left:0; border-top:1px solid var(--line); padding:8px 0; }
  #features .feature:last-child { padding-bottom:0; }
  #features .feature h3 { margin:0; font-size:16px; line-height:1.65; }
  #features .feature p { margin:0; font-size:14px; line-height:1.6; }
  .gallery { padding:28px 0; }
  .gallery .section-head { margin-bottom:18px; }
  .gallery .section-head h2 { font-size:26px; line-height:1.35; text-wrap:balance; }
  .gallery .section-head p { margin-top:10px; font-size:13px; line-height:1.65; }
  .gallery-grid { display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; overscroll-behavior-x:contain; scrollbar-width:none; }
  .gallery-grid::-webkit-scrollbar { display:none; }
  .gallery-card { flex:0 0 100%; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; }
  .gallery-open > img { max-height:28svh; object-fit:cover; }
  .gallery-open:hover { transform:none; }
  .gallery-card figcaption { padding-top:14px; }
  .gallery-card h3 { font-size:20px; line-height:1.4; margin-bottom:5px; }
  .gallery-card p { margin-bottom:0; font-size:13px; line-height:1.65; }
  .gallery-controls { display:flex; align-items:center; gap:10px; margin-top:16px; }
  .gallery-position { color:var(--accent); font-variant-numeric:tabular-nums; min-width:34px; font-size:13px; }
  .gallery-hint { flex:1; color:var(--on-dark); font-size:11px; order:3; text-align:right; }
  .gallery-controls [data-gallery-prev] { order:1; }
  .gallery-controls [data-gallery-next] { order:2; }
  .gallery-controls button { width:40px; height:40px; padding:0; border:1px solid #ffffff55; border-radius:50%; background:transparent; color:white; }
  .gallery-controls button:disabled { opacity:.3; cursor:default; }
  .community h2 { max-width:none; }
  .community-number { border-left:0; border-top:1px solid #ffffff38; padding:20px 0 0; }
  .voice { padding:22px; }
  .club-steps { grid-template-columns:1fr; gap:18px; }
  .club-steps li { padding-left:42px; position:relative; }
  .club-steps li:before { position:absolute; left:0; top:3px; }
  .club-steps p { margin:6px 0 0; }
  .club-process { margin-top:32px; }
  .download-band { padding:26px 20px; }
  .download-help { gap:16px; }
  .contact-options { grid-template-columns:1fr; gap:16px; }
  .contact-direct { border-top:1px solid #d4d9cd; padding-top:12px; }
  .legal-details { grid-template-columns:1fr; gap:0; }
  .footer-links { font-size:13px; }
  .hh-panel { width:min(400px,calc(100% - 24px)); bottom:calc(var(--hh-bottom) + 64px + env(safe-area-inset-bottom)); height:min(650px,calc(100dvh - var(--hh-bottom) - 82px - env(safe-area-inset-bottom))); }
  .lightbox { padding:20px; }
  .board-box { padding:14px; }
  .board-label { margin-bottom:16px; }
  .practice-table { height:290px; padding:0 16px; margin:28px 12px; border-width:8px; }
  .board-box .card { width:clamp(28px,7vw,40px); height:48px; }
  .practice-table .cards { gap:4px; }
  .practice-seat.seat-w { left:-27px; }
  .practice-seat.seat-e { right:-27px; }
  .practice-seat.seat-n { top:-25px; }
  .practice-seat.seat-s { bottom:-25px; }
  .board-box .stage-controls { gap:5px; }
  .board-box .stage-controls button { padding:7px 8px; font-size:12px; }
}
@media(max-width:420px) {
  .practice-table { height:270px; margin-inline:10px; padding-inline:5px; }
  .practice-seat { width:40px; height:34px; font-size:10px; }
  .practice-seat.seat-n { left:calc(50% - 20px); top:-23px; }
  .practice-seat.seat-s { left:calc(50% - 20px); bottom:-23px; }
  .practice-seat.seat-w { left:-25px; top:calc(50% - 17px); }
  .practice-seat.seat-e { right:-25px; top:calc(50% - 17px); }
  .practice-tools { justify-content:center; }
}
@media(max-width:760px) and (max-height:700px) {
  .gallery { padding:24px 0; }
  .gallery .section-head { margin-bottom:14px; }
  .gallery .section-head h2 { font-size:24px; }
  .gallery-open > img { max-height:22svh; }
  .gallery-controls { margin-top:12px; }
  .gallery-controls button { width:36px; height:36px; }
}
@media(max-height:540px) and (min-width:480px) {
  .hh-panel { right:calc(max(var(--hh-stack-right),env(safe-area-inset-right)) + 126px); bottom:calc(var(--hh-bottom) + env(safe-area-inset-bottom)); width:min(400px,calc(100vw - 154px)); height:calc(100dvh - var(--hh-bottom) - env(safe-area-inset-bottom) - 16px); }
}
@media(prefers-reduced-motion:reduce) { .gallery-open { transition:none; } }

/* Shared palette tokens: every theme uses the same component rules. */
:root{--primary:#123d42;--accent:#91cfc5;--paper:#f7f6ef;--ink:#202b29;--muted:#52615b;--line:#dce1d9}
html[data-color-theme="teal"]{--primary:#123d42;--accent:#91cfc5;--paper:#f7f6ef;--ink:#202b29;--muted:#52615b;--line:#dce1d9}
html[data-color-theme="navy"]{--primary:#263f59;--accent:#abc4df;--paper:#f5f7fa;--ink:#242e39;--muted:#556373;--line:#d9e0e8}
html[data-color-theme="forest"]{--primary:#334b3c;--accent:#b7cdb6;--paper:#f6f6f0;--ink:#29312a;--muted:#5d685d;--line:#dce1d7}
html[data-color-theme="graphite"]{--primary:#363c43;--accent:#c4ccd3;--paper:#f6f6f5;--ink:#282c31;--muted:#62676e;--line:#dedfe1}
