:root {
  --forest: #06110c; --forest-raised: #0e2118; --forest-soft: #152c20;
  --cream: #f2eee7; --cream-deep: #e8e3d9; --cream-light: #f8f5ef;
  --ink: #0a1a12; --gold: #d9b679; --gold-light: #e7c88f;
  --on-dark: #f4ead5; --soft: #c1c5b9;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --gutter: clamp(22px, 6.19vw, 112px);
  --display: clamp(42px, 6.32vw, 110px);
  --heading: clamp(34px, 4.56vw, 72px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 18px/1.9 var(--sans); -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #aa7941; outline-offset: 7px; }
::selection { color: var(--forest); background: var(--gold); }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 1580px; margin-inline: auto; }
.section-space { padding-block: clamp(76px, 8vw, 130px); }
h1, h2, h3 { font-family: var(--serif); }
h2 { font-size: var(--heading); line-height: 1.3; letter-spacing: -.015em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 26px; line-height: 1.65; font-weight: 600; }
p { text-wrap: pretty; }
strong { font-weight: 500; }
.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; }
.skip-link { position: fixed; top: 12px; left: 20px; transform: translateY(-200%); z-index: 30; padding: 12px 22px; color: var(--forest); background: var(--cream); }
.skip-link:focus { transform: none; }
.site-header { background: var(--forest); color: var(--on-dark); position: relative; z-index: 5; }
.header-inner { min-height: clamp(82px, 6.52vw, 106px); display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(160px, 12.9vw, 205px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 2.8vw, 46px); font: 600 clamp(18px, 1.62vw, 26px)/1.6 var(--serif); }
.site-nav a { padding-block: 13px; }
.site-nav .nav-contact { color: var(--ink); background: var(--gold); padding: 10px 18px; border-radius: 3px; font-size: clamp(17px, 1.4vw, 22px); }
.site-header :focus-visible, .about :focus-visible, .download :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.menu-toggle { border: 0; background: var(--forest-soft); color: var(--on-dark); padding: 10px 16px; min-height: 46px; font-family: var(--serif); }
.hero { min-height: clamp(570px, 44.46vw, 742px); background: var(--forest); color: var(--on-dark); position: relative; isolation: isolate; overflow: clip; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.hero-content { padding-block: clamp(88px, 7.1vw, 118px) 44px; }
.hero h1 { font: 700 var(--display)/1.13 var(--serif); letter-spacing: .015em; }
.hero h1 span { display: block; }
.hero-description { font: 600 clamp(18px, 1.72vw, 28px)/1.8 var(--serif); margin-top: 28px; max-width: 48em; }
.hero-actions { display: flex; align-items: center; gap: clamp(36px, 3.85vw, 64px); margin-top: 48px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 27px; border: 0; border-radius: 3px; font: 600 22px/1.6 var(--serif); }
.button-primary, .button-light { color: var(--ink); background: var(--gold); }
.button-secondary { color: var(--on-dark); background: var(--forest-raised); min-height: 54px; font-size: 18px; }
.hero .button { min-width: clamp(240px, 19.5vw, 316px); min-height: clamp(66px, 5.18vw, 84px); font-size: clamp(22px, 1.95vw, 31px); }
.text-link { display: inline-block; padding-block: 7px; font-family: var(--serif); font-weight: 600; text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 1px; }
.hero .text-link { font-size: clamp(20px, 1.62vw, 26px); }
.contact-caption { margin-top: 17px; font-size: 15px; color: var(--soft); }
.line-id { white-space: nowrap; }
.games { background: var(--cream); padding-bottom: 72px; }
.games-intro { display: grid; grid-template-columns: 44% 56%; align-items: center; min-height: clamp(265px, 20.1vw, 326px); padding-block: 54px; }
.games-intro h2 { font-size: clamp(42px, 4.93vw, 78px); line-height: 1.25; }
.game-tabs { display: flex; align-items: center; width: 100%; }
.game-tabs button { border: 0; background: transparent; width: 33.3333%; min-height: 98px; padding: 8px 16px; color: var(--ink); font-family: var(--serif); line-height: 1.25; position: relative; font-weight: 600; }
.game-tabs button + button::before { content: ""; position: absolute; left: 0; top: 50%; height: 67px; border-left: 1px solid #c0bbb1; transform: translateY(-50%); } /* taste-skill-ignore: 選定稿的實際玩法分頁控制使用分隔線，控制群已標記 data-ui。 */
.game-cn { display: block; font-size: clamp(24px, 2.5vw, 39px); white-space: nowrap; }
.game-en { display: block; font: 600 clamp(23px, 2.3vw, 37px)/1.25 Georgia, "Times New Roman", serif; margin-top: 3px; }
.game-tabs button[aria-selected="true"] { font-weight: 700; }
.game-tabs button[aria-selected="false"] { color: #25352d; }
.game-panels { background: var(--cream-deep); padding: 37px 42px; }
.game-panel { display: grid; grid-template-columns: 42% 58%; gap: 0; align-items: start; min-width: 0; }
.game-name { font: 600 clamp(38px, 4.2vw, 64px)/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.game-info { max-width: 34em; }
.game-info h3 { font-size: 28px; }
.game-info > p { margin-top: 10px; }
.game-info .button { margin-top: 23px; }
.section-note { font-size: 14px; margin-top: 20px; color: #465048; }
.about { color: var(--on-dark); background: var(--forest-raised); }
.section-intro { display: grid; grid-template-columns: 1fr .84fr; align-items: end; gap: 70px; }
.intro-copy { max-width: 35em; }
.intro-copy .text-link { margin-top: 20px; color: var(--gold); }
.intro-copy .button { margin-top: 26px; font-size: 20px; }
.gallery-contact { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 60px; }
.gallery-contact p { color: var(--soft); margin-top: 8px; }
.gallery-contact .button { flex-shrink: 0; font-size: 20px; }
.product-gallery { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(24px, 3.2vw, 54px); margin-top: 60px; align-items: start; }
.product-image { background: #0a1830; aspect-ratio: .72; overflow: hidden; }
.product-image img { height: 100%; object-fit: cover; object-position: center 66%; }
.product-gallery figure:nth-child(2) { padding-top: 38px; }
.product-gallery figure:nth-child(3) { padding-top: 76px; }
.product-gallery figcaption { padding-top: 23px; }
.product-gallery h3 { font-size: 26px; }
.product-gallery figcaption p { font-size: 16px; margin-top: 6px; }
.start { background: var(--cream-light); }
.start-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.start-heading > p { margin-top: 26px; }
.start-heading .text-link { margin-top: 25px; }
.start-heading > .button { margin-top: 28px; }
.join-steps .text-link { padding-block: 0; text-underline-offset: 4px; }
.join-steps { list-style: decimal; padding: 0 0 0 30px; margin: 0; display: grid; gap: 28px; }
.join-steps li { padding-left: 12px; }
.join-steps li::marker { font: 600 24px var(--serif); color: #806039; }
.join-steps p { margin-top: 9px; }
.referral-area { grid-column: 1 / -1; color: var(--on-dark); background: var(--forest-raised); padding: 36px 42px; }
.referral-area :focus-visible { outline-color: var(--gold); }
.referral-heading { display: flex; justify-content: space-between; gap: 25px; align-items: start; }
.referral-heading h3 { font-size: 32px; line-height: 1.5; }
.club-name { margin-top: 5px; font: 600 23px/1.7 var(--serif); }
.points-label { padding-top: 10px; text-align: right; flex-shrink: 0; font-size: 16px; line-height: 1.7; color: var(--soft); }
.points-label .field-label { display: inline; font-size: inherit; }
.referral-area > p { font-size: 16px; margin-top: 13px; }
.join-id-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 27px; }
.join-field { min-width: 0; }
.join-value { display: block; font: 600 34px/1.8 var(--serif); overflow-wrap: anywhere; }
.field-label { display: block; font-size: 14px; color: var(--soft); }
.copy-button { display: block; min-height: 44px; padding: 5px 0; background: transparent; border: 0; color: var(--gold); font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.join-contact { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 25px; }
.join-contact p { font-size: 16px; }
.join-contact .button { flex-shrink: 0; font-size: 21px; }
.copy-status:empty { display: none; }
.faq { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.faq-heading p { margin-top: 24px; }
.faq-heading .button { margin-top: 24px; }
.faq-list { display: grid; gap: 9px; align-content: start; }
.faq-list details { background: var(--cream-light); padding-inline: 27px; }
.faq-list summary { cursor: pointer; padding-block: 21px; font: 600 22px/1.65 var(--serif); min-height: 70px; }
.faq-list summary::marker { color: #866437; font-size: 17px; }
.faq-answer { padding: 0 0 23px; font-size: 17px; }
.faq-answer a { text-decoration: underline; text-underline-offset: 4px; }
.faq-answer .button { margin-top: 18px; text-decoration: none; font-size: 17px; padding-inline: 19px; }
.download { color: var(--on-dark); background: var(--forest); }
.download-layout { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 40px; }
.download-layout > img { width: 100px; height: 100px; }
.download-layout p { margin-top: 26px; }
.closing-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.closing-actions .text-link { font-size: 17px; }
.floating-contact { position: fixed; right: 24px; bottom: 24px; z-index: 20; }
.floating-contact.is-suppressed { visibility: hidden; pointer-events: none; }
.floating-contact .button { min-height: 56px; font: 500 18px/1.6 var(--sans); padding: 13px 23px; }
.floating-label { display: none; }
.floating-contact :focus-visible { outline-color: var(--on-dark); outline-offset: -6px; }
.site-footer { color: var(--soft); background: var(--forest); padding-block: 0 55px; }
.footer-top { display: grid; grid-template-columns: 1fr auto auto; gap: 45px; align-items: center; }
.footer-name { color: var(--on-dark); font: 600 24px/1.6 var(--serif); }
.footer-top > a:not(.footer-name) { font-size: 16px; padding-block: 8px; }
.footer-notes { font-size: 14px; margin-top: 30px; }
.privacy-link { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover, .button-light:hover { background: var(--gold-light); }
  .button-secondary:hover { background: var(--forest-soft); }
  .text-link:hover { color: #956c35; }
  .hero .text-link:hover, .site-nav a:hover, .download .text-link:hover, .footer-top a:hover { color: var(--gold); }
  .site-nav .nav-contact:hover { color: var(--ink); background: var(--gold-light); }
  .game-tabs button:hover, .faq-list summary:hover { color: #866437; }
  .copy-button:hover { color: var(--gold-light); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: transform 160ms var(--ease-out), background-color 160ms ease; }
  .button:active { transform: scale(.98); }
  .hero-photo { animation: image-settle 1000ms var(--ease-out) both; transform-origin: center; }
  .hero h1 > span { animation: entrance 650ms var(--ease-out) both; }
  .hero h1 > span:nth-child(2) { animation-delay: 70ms; }
  .hero-description { animation: entrance 600ms 120ms var(--ease-out) both; }
  .hero-actions > a { animation: entrance 550ms 170ms var(--ease-out) both; }
  .hero-actions > a:nth-child(2) { animation-delay: 220ms; }
  [data-reveal].is-revealing { animation: entrance 600ms var(--ease-out) both; }
  @keyframes entrance { from { opacity: .1; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes image-settle { from { opacity: .6; transform: scale(1.012); } to { opacity: 1; transform: scale(1); } }
}
@media (min-width: 901px) { .menu-toggle { display: none; } }
@media (min-width: 1101px) {
  .game-tabs button:nth-child(n + 2) { left: 3.1vw; }
}
@media (max-width: 1100px) {
  :root { --gutter: 5vw; --heading: 44px; }
  .hero-description { max-width: 33em; font-size: 21px; }
  .hero-content { padding-top: 83px; }
  .hero-actions { margin-top: 36px; }
  .hero { min-height: 550px; }
  .hero h1 { font-size: 72px; }
  .games-intro { grid-template-columns: 43% 57%; min-height: 245px; }
  .games-intro h2 { font-size: 44px; }
  .game-cn { font-size: 27px; } .game-en { font-size: 26px; }
  .section-intro, .start-layout, .faq-layout { gap: 45px; }
  .product-gallery h3 { font-size: 23px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 84px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 166px; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 7px 22px; font-size: 20px; }
  .site-nav.is-open { display: flex; } .site-nav a { padding: 12px 0; }
  .site-nav .nav-contact { align-self: start; padding: 10px 18px; margin-top: 9px; font-size: 18px; }
  .hero { min-height: 520px; } .hero-photo { object-position: 20% center; }
  .hero-content { padding-top: 76px; }
  .hero h1 { font-size: 62px; }
  .hero-description { max-width: 57%; font-size: 19px; }
  .hero .button { min-width: 220px; min-height: 64px; }
  .hero-actions { gap: 30px; } .hero .text-link { font-size: 20px; }
  .games-intro { grid-template-columns: 1fr; gap: 35px; padding-block: 50px 40px; }
  .game-tabs { max-width: 650px; margin-inline: auto; }
  .game-tabs button { min-height: 85px; }
  .game-cn { font-size: 29px; } .game-en { font-size: 27px; }
  .game-panel { grid-template-columns: 37% 63%; }
  .game-panels { padding: 29px; } .game-name { font-size: 42px; }
  .game-info h3 { font-size: 25px; }
  .section-intro { grid-template-columns: 1fr; gap: 25px; }
  .intro-copy { max-width: 40em; }
  .product-gallery { gap: 22px; }
  .product-gallery figure:nth-child(2) { padding-top: 25px; }
  .product-gallery figure:nth-child(3) { padding-top: 50px; }
  .product-gallery figcaption p { font-size: 15px; }
  .product-gallery h3 { font-size: 21px; }
  .start-layout, .faq-layout { grid-template-columns: 1fr; }
  .join-id-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-field:last-child { grid-column: 1 / -1; }
  .start-heading > p br { display: none; }
  .faq-list summary { font-size: 21px; }
  .download-layout { grid-template-columns: 90px 1fr; gap: 28px; }
  .closing-actions { grid-column: 2; align-items: start; }
  .floating-contact { right: 18px; bottom: 18px; }
}
@media (max-width: 600px) {
  :root { --gutter: 22px; --heading: 36px; }
  html:has([data-floating-contact]:not([hidden])) { scroll-padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  body:has([data-floating-contact]:not([hidden])) { padding-bottom: calc(86px + env(safe-area-inset-bottom)); background: var(--forest); }
  body { font-size: 17px; line-height: 1.85; }
  .section-space { padding-block: 66px; }
  .header-inner { min-height: 76px; }
  .brand img { width: 151px; }
  .menu-toggle { padding: 8px 14px; min-height: 44px; font-size: 16px; }
  .hero { min-height: auto; }
  .hero-photo { inset: auto 0 0; height: 324px; object-position: 77% center; }
  .hero-content { padding-block: 42px 354px; }
  .hero h1 { font-size: clamp(41px, 11.5vw, 60px); line-height: 1.22; letter-spacing: .01em; }
  .hero-description { font-size: 18px; line-height: 1.9; margin-top: 24px; max-width: 29em; }
  .hero-actions { gap: 28px; margin-top: 28px; flex-wrap: wrap; }
  .hero .button { min-width: 187px; min-height: 58px; padding: 13px 20px; font-size: 21px; }
  .hero .text-link { font-size: 19px; }
  .contact-caption { font-size: 14px; line-height: 1.7; }
  .games { padding-bottom: 50px; }
  .games-intro { gap: 28px; padding-block: 42px 31px; }
  .games-intro h2 { font-size: 36px; line-height: 1.3; }
  .game-tabs { justify-content: space-between; }
  .game-tabs button { padding: 7px; min-height: 77px; }
  .game-cn { font-size: 22px; } .game-en { font-size: 21px; }
  .game-tabs button + button::before { height: 54px; border-color: #c5c0b7; }
  .game-panels { padding: 25px 22px 27px; }
  .game-panel { grid-template-columns: 1fr; gap: 18px; }
  .game-name { font-size: 42px; } .game-info h3 { font-size: 23px; }
  .game-info > p { margin-top: 12px; } .game-info .text-link { font-size: 17px; }
  .section-note { font-size: 14px; }
  .product-gallery { grid-template-columns: 1fr 1fr; gap: 30px 18px; margin-top: 36px; }
  .product-gallery figure:nth-child(2) { padding-top: 25px; }
  .product-gallery figure:nth-child(3) { grid-column: 1 / -1; padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px; }
  .product-image { aspect-ratio: .59; }
  .product-gallery figcaption { padding-top: 17px; }
  .product-gallery figure:nth-child(3) figcaption { padding-top: 0; }
  .product-gallery h3 { font-size: 21px; } .product-gallery figcaption p { font-size: 15px; }
  .gallery-contact { flex-direction: column; align-items: start; gap: 24px; margin-top: 42px; }
  .gallery-contact h3 { font-size: 24px; }
  .gallery-contact p { font-size: 16px; }
  .join-steps { gap: 26px; padding-left: 25px; } .join-steps li { padding-left: 8px; }
  .join-steps h3 { font-size: 24px; }
  .referral-area { padding: 27px 22px; }
  .referral-heading { flex-wrap: wrap; gap: 14px; }
  .referral-area h3 { font-size: 26px; }
  .club-name { font-size: 21px; }
  .points-label { padding-top: 0; text-align: left; }
  .join-id-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .join-value { font-size: 29px; line-height: 1.65; }
  .join-contact { align-items: stretch; flex-direction: column; gap: 20px; }
  .join-contact .button { width: 100%; font-size: 20px; }
  .faq-heading p { margin-top: 18px; }
  .faq-list details { padding-inline: 20px; }
  .faq-list summary { font-size: 20px; padding-block: 18px; }
  .faq-answer { font-size: 16px; }
  .download-layout { grid-template-columns: 62px 1fr; gap: 25px; }
  .download-layout > img { width: 62px; height: 62px; }
  .download h2 { font-size: 34px; }
  .download-layout p { margin-top: 20px; } .download-layout p br { display: none; }
  .closing-actions { grid-column: 1 / -1; align-items: stretch; }
  .closing-actions .button { width: 100%; font-size: 21px; }
  .closing-actions .text-link { align-self: center; }
  .floating-contact { inset: auto 0 0; min-height: calc(86px + env(safe-area-inset-bottom)); padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--forest-raised); color: var(--on-dark); }
  .floating-label { display: block; font-size: 13px; line-height: 1.6; }
  .floating-label .line-id { display: block; color: var(--soft); font-size: 12px; }
  .floating-contact .button { flex-shrink: 0; min-height: 54px; padding: 12px 17px; font-size: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 15px 10px; }
  .footer-name { grid-column: 1 / -1; font-size: 22px; }
  .footer-notes p + p { margin-top: 10px; } .site-footer { padding-bottom: 35px; }
}
@media (max-width: 370px) {
  .hero-actions { gap: 18px; }
  .hero .button { min-width: 176px; font-size: 20px; } .hero .text-link { font-size: 18px; }
  .game-cn, .game-en { font-size: 20px; }
}
