@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/_a/bricolage-grotesque.8c3ddfa9be.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/_a/dm-sans.468d56b6b2.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fff8e7;
  --navy: #203777;
  --text: #27364d;
  --muted: #515d69;
  --red: #c63f37;
  --yellow: #ffcf48;
  --green: #69ad5f;
  --line: #d7cfb9;
  --coral: #f56953;
  --surface: color-mix(in srgb, var(--paper) 38%, white);
  --sun-tint: color-mix(in srgb, var(--yellow) 32%, var(--paper));
  --coral-tint: color-mix(in srgb, var(--coral) 20%, var(--paper));
  --leaf-tint: color-mix(in srgb, var(--green) 20%, var(--paper));
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.55 var(--body); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--navy); text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.044em; }
h3 { font-size: 24px; line-height: 1.14; font-weight: 760; letter-spacing: -.036em; }
.wrap { width: min(1180px, calc(100% - clamp(38px, 8vw, 128px))); margin-inline: auto; }
.skip-link { position: absolute; top: 7px; left: 12px; z-index: 9; padding: 8px 15px; background: white; transform: translateY(-145%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.nav-row, .footer-row, .wordmark, .footer-row nav { display: flex; align-items: center; }
.nav-row { justify-content: space-between; min-height: 73px; gap: 18px; }
.wordmark { gap: 10px; font: 800 28px/1 var(--display); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.wordmark .gf-site-icon { width: 38px; height: 38px; border-radius: 10px; }
.language-picker { position: relative; color: var(--navy); font-size: 15px; font-weight: 660; }
.language-picker summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 8px; cursor: pointer; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary svg { width: 20px; height: 20px; flex-shrink: 0; }
.language-picker summary::after { content: ""; width: 7px; height: 7px; margin: -3px 2px 0 1px; border: solid var(--navy); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.language-picker[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.language-options { position: absolute; z-index: 8; inset: 100% 0 auto auto; display: grid; min-width: 150px; padding: 5px; border: 1.5px solid var(--navy); border-radius: 12px; box-shadow: 3px 3px 0 var(--navy); background: var(--surface); }
.language-options a { display: flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 7px; text-decoration: none; }
.language-options a:hover, .language-options [aria-current="page"] { background: var(--sun-tint); }
.footer-row nav a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 660; font-size: 15px; text-decoration: none; }
.footer-row nav a:hover, .guide-link:hover { text-decoration: underline; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 0; padding: clamp(22px, 2.6vw, 38px) 0 clamp(38px, 4vw, 60px); }
.hero-copy { width: min(100%, 770px); margin-bottom: clamp(18px, 2vw, 28px); text-align: center; }
.genre { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--navy); font-weight: 700; font-size: 14px; }
.category-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 1.5px solid var(--navy); box-shadow: 3px 0 0 var(--yellow); }
.hero-type { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.3vw, 18px); margin: 6px auto 9px; }
.hero h1 { font-size: clamp(48px, 6.3vw, 88px); line-height: 1.08; letter-spacing: -.056em; font-weight: 800; }
.drop-word { display: inline-block; color: var(--red); transform: rotate(-3deg); }
.hero .local-name { display: inline-block; font: 720 .42em/1.3 var(--body); letter-spacing: .015em; vertical-align: .15em; white-space: nowrap; }
.cherry-sticker { flex: 0 0 auto; width: clamp(32px, 4vw, 60px); height: auto; transform: rotate(9deg); }
.hook { max-width: 64ch; margin-inline: auto; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; text-wrap: pretty; }
.byline { color: var(--muted); font-size: 14px; margin-top: 5px; }
.guide-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 10px; padding: 4px 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.guide-link span { font-size: 19px; line-height: 1; }
.player-shell {
  position: relative;
  width: min(100%, 960px);
  /* Leave room for the tools below the 4:3 game on laptop screens. */
  width: min(100%, clamp(740px, calc(133.333svh - 104px), 960px));
  min-width: 0;
  border: 2px solid var(--navy);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: 5px 6px 0 var(--navy);
}
.awning { height: 17px; border-radius: 16px 16px 0 0; border-bottom: 2px solid var(--navy); background: repeating-linear-gradient(90deg,var(--navy) 0 22px,var(--paper) 22px 44px); }
.stage { position: relative; isolation: isolate; aspect-ratio: 4/3; width: 100%; overflow: hidden; background: var(--navy); }
.cover, .load-screen, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.start-shelf { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; background: linear-gradient(transparent 28%, rgb(32 55 119 / 14%) 72%, transparent); pointer-events: none; }
.start-shelf button { pointer-events: auto; }
.start-game, .post-btn, .exit-screen { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 2px solid var(--navy); border-radius: 100px; font-family: var(--display); font-weight: 800; line-height: 1.1; }
.start-game { min-height: 52px; padding: 12px 26px; background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 var(--navy); font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.035em; }
.start-game:hover { background: color-mix(in srgb, var(--yellow) 75%, var(--paper)); transform: translateY(-2px); }
.start-game:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--navy); }
.stage[data-gf-state="loading"] .cover, .stage[data-gf-state="playing"] .cover { display: none; }
.load-screen { display: none; place-content: center; justify-items: center; gap: 18px; z-index: 2; color: var(--navy); background: var(--sun-tint); font: 750 21px/1.2 var(--display); }
.stage[data-gf-state="loading"] .load-screen { display: grid; }
.falling-fruit { display: flex; align-items: flex-end; justify-content: center; height: 60px; gap: 7px; border: solid var(--navy); border-width: 0 3px 4px; border-radius: 0 0 16px 16px; padding: 0 8px 5px; }
.falling-fruit i { display: block; width: 21px; height: 21px; border: 2px solid var(--navy); border-radius: 49% 51% 54% 46%; background: var(--red); animation: fruit-drop .85s ease-in-out infinite alternate; }
.falling-fruit i:nth-child(2) { width: 25px; height: 25px; background: var(--yellow); animation-delay: -.25s; }
.falling-fruit i:nth-child(3) { background: var(--green); animation-delay: -.55s; }
@keyframes fruit-drop { 0%,18% { transform: translateY(-17px) rotate(-12deg); } 84%,100% { transform: translateY(0) rotate(8deg); } }
.stage:fullscreen, .stage[data-gf-fs="1"] { background: var(--navy); aspect-ratio: auto; }
.exit-screen { position: absolute; z-index: 5; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); background: var(--paper); color: var(--navy); min-height: 42px; padding: 8px 16px; font-size: 15px; }
.player-tools { display: flex; align-items: center; min-height: 50px; border-top: 2px solid var(--navy); padding: 0 12px; }
.player-tools button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 4px 10px; border: 0; background: transparent; color: var(--navy); font-weight: 700; font-size: 14px; border-radius: 9px; }
.player-tools button:hover { background: var(--leaf-tint); }
.player-tools svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.player-tools [data-gf-like][aria-pressed="true"], .player-tools [data-gf-liked] { color: var(--red); }
.player-tools [data-gf-like][aria-pressed="true"] svg, .player-tools [data-gf-liked] svg { fill: var(--coral); }
.player-tools .expand { margin-left: auto; }
.share-msg:not(:empty) { position: absolute; z-index: 2; bottom: 52px; left: 12px; padding: 6px 14px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 14px; }
.player-help { display: none; max-width: 100%; margin-top: 8px; text-align: center; font-size: 14px; }
html[data-gf-playing] .player-help { display: block; }
.player-help summary { width: fit-content; margin-inline: auto; min-height: 44px; padding: 10px 8px; color: var(--navy); font-weight: 650; cursor: pointer; }
.player-help div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.player-help a { display: inline-flex; align-items: center; min-height: 44px; }
.section-heading { display: flex; align-items: center; gap: 25px; margin-bottom: 24px; }
.rule-line { flex: 1; min-width: 15px; height: 1px; background: var(--line); }
.game-intro { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: clamp(18px,3vw,44px); margin-bottom: clamp(36px,5vw,72px); }
.game-intro .section-heading { margin-bottom: 0; }
.game-intro p { max-width: 65ch; font-size: clamp(16px,1.3vw,19px); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 15px; padding: clamp(18px,2.2vw,30px) 20px; background: var(--sun-tint); border-radius: 16px; }
.steps li:nth-child(2) { background: var(--coral-tint); }
.steps li:nth-child(3) { background: var(--leaf-tint); }
.step-number { flex: 0 0 31px; height: 31px; border: 1.5px solid var(--navy); border-radius: 50%; color: var(--navy); text-align: center; font: 750 19px/29px var(--display); }
.steps h3 { margin: 3px 0 9px; font-size: clamp(20px,1.85vw,25px); }
.steps p, .tip-grid p, .jar-copy p, .questions p, .comment-heading p { color: var(--text); font-size: 16px; }
.field-guide { display: grid; grid-template-columns: minmax(240px,.88fr) minmax(0,1.12fr); gap: clamp(28px,6vw,88px); margin: clamp(60px,6.5vw,96px) 0; align-items: center; }
.jar-photo img { width: 100%; height: auto; border: 2px solid var(--navy); border-radius: 16px; }
.jar-photo figcaption { padding: 13px 5px; max-width: 55ch; font-size: 14px; color: var(--muted); }
.jar-copy h2 { margin-bottom: 24px; }
.jar-copy h3 { margin: 19px 0 5px; font-size: 21px; }
.tip-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px,3vw,42px); }
.tip-grid h3 { margin: 0 0 12px; }
.tactics { margin-bottom: clamp(58px,6vw,86px); }
.score-note { max-width: 69ch; margin-bottom: clamp(20px,3vw,32px); }
.faq-section, .comment-section { display: grid; grid-template-columns: minmax(190px,.65fr) minmax(0,1.35fr); gap: clamp(25px,5vw,82px); padding: clamp(38px,5vw,64px) 0; border-top: 1px solid var(--line); }
.faq-section h2, .comment-section h2 { max-width: 12ch; }
.questions details { border-bottom: 1px solid var(--line); }
.questions details:first-child { border-top: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; padding: 15px 0; list-style: none; font: 720 19px/1.33 var(--display); color: var(--navy); }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font: 500 23px/1 var(--body); }
.questions details[open] summary::after { content: "−"; }
.questions p { margin: 0 22px 18px 0; }
.comment-heading p { max-width: 34ch; margin-top: 15px; }
.comment-area form { display: grid; gap: 7px; justify-items: start; }
.comment-area label { color: var(--navy); font-weight: 700; }
.comment-area label span, .policy-date { color: var(--muted); font-size: 14px; font-weight: 400; }
.comment-area input, .comment-area textarea { color: var(--text); background: var(--surface); border: 1.4px solid var(--muted); border-radius: 9px; padding: 10px 13px; }
.comment-area input { width: min(300px,100%); min-height: 44px; margin-bottom: 7px; }
.comment-area textarea { width: 100%; resize: vertical; }
.post-btn { min-height: 44px; background: var(--navy); color: white; font-size: 16px; padding: 10px 21px; margin: 8px 0 0; }
.post-btn:hover { background: var(--text); }
.reply-to { display: none; }
form[data-gf-replying] .reply-to { display: block; }
.reply-btn, .reply-to button { background: transparent; border: 0; text-decoration: underline; color: var(--navy); padding: 3px; }
.player-note { margin-top: 18px; padding: 16px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.player-note time { color: var(--muted); font-size: 13px; }
.player-note .owner { font-size: 13px; font-weight: 700; }
.player-note [data-gf-c-replies] { padding-left: 15px; }
.form-status:empty { display: none; }
.site-footer { margin-top: 12px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 68%, var(--line)); }
.footer-row { min-height: 90px; gap: 20px; flex-wrap: wrap; }
.footer-mark { font-size: 24px; }
.footer-row nav { margin-left: auto; flex-wrap: wrap; gap: 0 22px; }
.footer-row .reference-link { color: var(--muted); font: 500 13px/1.4 ui-monospace, monospace; }
.footer-resources { border-top: 1px solid var(--line); }
.footer-resources ul { display: flex; gap: 0 22px; overflow-x: auto; overscroll-behavior-x: contain; list-style: none; margin: 0; padding: 4px; }
.footer-resources li { flex: none; }
.footer-resources a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--navy); font-size: 15px; text-decoration: none; }
.footer-resources a:hover, .footer-row .reference-link:hover { color: var(--navy); text-decoration: underline; }
.footer-resources a:focus-visible { outline-offset: 1px; }
.policy { max-width: 760px; padding-block: clamp(36px,6vw,80px); }
.policy h1 { margin: 22px 0 12px; font-size: clamp(49px,6vw,80px); letter-spacing: -.075em; line-height: 1; font-weight: 800; }
.policy-lead { font-size: 21px; max-width: 57ch; }
.policy-date { margin: 14px 0 32px; }
.policy-text { border-top: 1px solid var(--line); }
.policy-text h2 { margin: 32px 0 10px; font-size: 30px; }
.policy-text p { margin-bottom: 13px; }
.back-link { font-weight: 650; }
html:lang(zh) { --body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif; --display: "Bricolage Grotesque", "PingFang SC", "Microsoft YaHei", sans-serif; }
html:lang(zh-Hant) { --body: "DM Sans", "PingFang TC", "Microsoft JhengHei", sans-serif; --display: "Bricolage Grotesque", "PingFang TC", "Microsoft JhengHei", sans-serif; }
:lang(zh) :is(h2, h3, .policy h1, .start-game) { line-height: 1.25; letter-spacing: 0; }
:lang(zh) :is(.steps p, .tip-grid p, .jar-copy p, .questions p, .policy-text p) { line-height: 1.75; }
@media (max-width: 920px) {
  .steps li { display: block; }
  .step-number { display: inline-block; width: 31px; margin-bottom: 8px; }
}
@media (min-width: 681px) and (max-height: 680px) {
  .start-shelf { align-items: start; padding-top: clamp(12px, calc(100svh - 410px), 20%); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .nav-row { min-height: 61px; gap: 10px; }
  .wordmark { font-size: 24px; gap: 6px; }
  .wordmark .gf-site-icon { width: 30px; height: 30px; border-radius: 8px; }
  .hero { padding: 19px 0 33px; }
  .hero-copy { margin-bottom: 16px; }
  .genre, .byline { font-size: 13px; }
  .hero-type { gap: 7px; margin: 5px auto 8px; }
  .hero h1 { font-size: clamp(38px, 9.3vw, 58px); }
  .hero .local-name { font-size: .44em; }
  .cherry-sticker { width: clamp(25px, 6.8vw, 40px); }
  .hook { max-width: 42ch; font-size: 16px; }
  .player-shell { width: min(calc(100% + 12px), calc(100vw - 22px)); border-radius: 14px; box-shadow: 3px 4px 0 var(--navy); }
  .awning { height: 13px; border-radius: 11px 11px 0 0; background-size: auto; }
  .start-game { min-height: 46px; padding: 10px 22px; }
  .player-tools { min-height: 46px; padding: 0 5px; }
  .player-tools button { font-size: 13px; gap: 5px; padding-inline: 9px; }
  .section-heading { gap: 14px; margin-bottom: 16px; }
  .game-intro { grid-template-columns: 1fr; gap: 12px; }
  .steps, .tip-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps li { display: flex; gap: 13px; padding: 17px; border-radius: 12px; }
  .step-number { margin-bottom: 0; }
  .steps h3 { margin: 4px 0 5px; }
  .field-guide { grid-template-columns: 1fr; gap: 22px; margin: 43px 0; }
  .jar-copy h2 { margin-bottom: 11px; }
  .tactics { margin-bottom: 36px; }
  .tip-grid { gap: 24px; }
  .tip-grid h3 { margin-bottom: 5px; }
  .faq-section, .comment-section { grid-template-columns: 1fr; gap: 20px; padding-block: 31px; }
  .faq-section h2, .comment-section h2 { max-width: 100%; }
  .comment-heading p { margin-top: 8px; max-width: 100%; }
  .footer-row { min-height: 0; padding-block: 20px; gap: 5px 14px; }
  .footer-row nav { width: 100%; gap: 0 14px; margin: 0; }
  .policy-lead { font-size: 18px; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 28px); }
  .player-tools button { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .falling-fruit i { animation: none; }
}
