@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f8f9f5;
  --ink: #233b35;
  --muted: #6f7d76;
  --green: #28684e;
  --line: #e2e7df;
  --mint: #e5efe5;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #c18a37; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 20; padding: 12px 20px; border-radius: 10px; color: #fff; background: var(--green); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: #fbfcf8; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff6ca; background: var(--green); }
.brand-mark svg { width: 29px; height: 29px; }
.brand-name { display: block; font-size: 20px; font-weight: 850; letter-spacing: .04em; }
.brand-en { display: block; margin-top: 2px; color: #75867c; font-size: 9px; letter-spacing: .2em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; }
.nav-links a { padding: 12px 0; }
.nav-links a:hover { color: var(--green); }
.nav-links .nav-explore { display: inline-flex; align-items: center; gap: 13px; border: 1px solid #c7d6c8; border-radius: 99px; padding: 10px 17px; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: center; padding-top: 48px; padding-bottom: 42px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6b9974; }
.hero h1 { margin: 22px 0 21px; font-size: clamp(40px, 4.1vw, 59px); font-weight: 850; line-height: 1.28; letter-spacing: -.055em; }
.hero h1 span { color: var(--green); }
.hero-copy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; border-radius: 12px; padding: 12px 21px; color: #fff; background: var(--green); font-size: 13px; font-weight: 750; transition: background .2s, transform .2s; }
.button:hover { background: #20563f; transform: translateY(-2px); }
.text-link { font-size: 12px; font-weight: 750; }
.text-link span { margin-left: 10px; }
.hero-meta { display: flex; gap: 0; margin-top: 29px; }
.hero-meta > div { padding-inline: 20px; border-right: 1px solid #d9e1d8; }
.hero-meta > div:first-child { padding-left: 0; }
.hero-meta > div:last-child { border: 0; }
.hero-meta strong { font-size: 19px; font-weight: 850; }
.hero-meta small { margin-left: 7px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.hero-visual { position: relative; isolation: isolate; }
.hero-image { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: 61% center; border-radius: 28px 28px 76px 28px; }
.visual-note { position: absolute; display: flex; align-items: center; gap: 12px; left: -22px; bottom: 29px; max-width: calc(100% - 25px); padding: 13px 17px; border: 1px solid #fff; border-radius: 15px; background: #fffffff2; box-shadow: 0 8px 28px #23473316; }
.note-symbol { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: #986b28; background: #fff2cf; font-size: 20px; }
.visual-note strong { display: block; font-size: 12px; }
.visual-note small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.visual-caption { position: absolute; top: 16px; left: 16px; padding: 8px 12px; border: 1px solid #ffffffa8; border-radius: 99px; color: #315c4d; background: #ffffffe6; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.spotlight { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; min-height: 292px; margin: 0 0 54px; border: 1px solid #dce6d8; border-radius: 24px; background: #eaf1e5; }
.spotlight-copy { position: relative; z-index: 1; padding: 31px 36px; }
.spotlight-kicker { display: inline-flex; align-items: center; gap: 10px; color: #4d735a; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.new-badge { padding: 5px 9px; border-radius: 5px; color: #fff; background: var(--green); font-size: 9px; letter-spacing: .08em; }
.spotlight h2 { margin: 16px 0 9px; font-size: 30px; line-height: 1.45; letter-spacing: -.03em; }
.spotlight p { max-width: 400px; margin: 0; color: #617362; font-size: 13px; line-height: 1.9; }
.spotlight-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 20px; }
.spotlight .button { min-height: 43px; padding: 10px 17px; font-size: 12px; }
.spotlight .text-link { color: #54725d; font-size: 11px; }
.spotlight-art { position: relative; display: block; min-width: 0; }
.spotlight-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.art-label { position: absolute; right: 21px; bottom: 18px; color: #547669; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.library-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.section-eyebrow { margin: 0 0 9px; color: #819180; font-size: 9px; font-weight: 800; letter-spacing: .23em; }
.library-intro h2 { margin: 0; font-size: 28px; letter-spacing: -.045em; }
.library-intro p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.search { display: flex; align-items: center; gap: 10px; width: 272px; min-height: 45px; border: 1px solid #dbe2d8; border-radius: 11px; padding: 0 13px; background: #fff; }
.search svg { flex: 0 0 17px; width: 17px; height: 17px; color: #7b8b7c; }
.search input { min-width: 0; width: 100%; height: 43px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search:focus-within { outline: 3px solid #c18a37; outline-offset: 3px; }
.search input:focus-visible { outline: none; }
.search input::placeholder { color: #8c998e; }
.filter-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 12px 0; margin-bottom: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8f9f5f5; backdrop-filter: blur(12px); }
.filter-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; min-height: 40px; border: 1px solid transparent; border-radius: 9px; padding: 9px 15px; color: #728174; background: transparent; font-size: 12px; font-weight: 750; transition: background .2s, color .2s; }
.filter-btn:hover { color: var(--green); background: #e9eee5; }
.filter-btn[aria-pressed="true"] { color: #fff; background: var(--green); }
.filter-btn .filter-count { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 5px; background: #00000009; font-size: 9px; font-variant-numeric: tabular-nums; }
.filter-btn[aria-pressed="true"] .filter-count { background: #ffffff24; }
.results-status { margin-left: auto; padding-left: 15px; color: #8b978b; font-size: 10px; white-space: nowrap; }
.category { --accent: #4c7858; --tint: #e7eee3; margin-top: 29px; }
.category-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.category-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.category-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.category-title small { margin-left: 5px; color: #8a968a; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.category-count { color: #8a968a; font-size: 10px; }
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.game { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e1e6dc; border-radius: 17px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.game:hover { transform: translateY(-5px); border-color: #adbfaa; box-shadow: 0 13px 28px #2b4e3610; }
.game-art { position: relative; overflow: hidden; aspect-ratio: 1.7; background: var(--tint); }
.game-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.game:hover .game-art img { transform: scale(1.045); }
.game-art .new-badge { position: absolute; left: 11px; top: 11px; }
.game-body { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 15px; }
.game-subject { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 9px; font-weight: 700; }
.game-subject::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.game h4 { margin: 8px 0 8px; font-size: 16px; line-height: 1.4; font-weight: 800; letter-spacing: -.025em; }
.description { margin: 0; color: #7a867c; font-size: 11px; line-height: 1.85; }
.game-bottom { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-top: auto; padding-top: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { display: inline-block; border-radius: 5px; padding: 4px 6px; color: #778475; background: #f2f5ef; font-size: 9px; line-height: 1.3; }
.card-arrow { display: grid; flex: 0 0 26px; place-items: center; width: 26px; height: 26px; border: 1px solid #e1e7dc; border-radius: 50%; color: #577650; font-size: 14px; transition: color .2s, background .2s; }
.game:hover .card-arrow { color: #fff; background: var(--green); border-color: var(--green); }
.primary { --accent: #a07136; --tint: #f6eddf; }
.math { --accent: #4c72a7; --tint: #e7eef5; }
.language { --accent: #8c699b; --tint: #f0e9f4; }
.brain { --accent: #48846f; --tint: #e5f0e9; }
.empty { margin: 34px 0; padding: 50px 20px; border: 1px dashed #cdd8c8; border-radius: 20px; text-align: center; background: #f0f4ec; }
.empty h3 { margin-top: 0; font-size: 20px; }
.empty p { color: var(--muted); font-size: 13px; }
.empty button { margin-top: 12px; border: 0; }
.learning-note { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 48px 0 0; padding: 28px 30px; border: 1px solid #e0e6d9; border-radius: 18px; background: #eef2e8; }
.learning-note .note-copy { display: flex; align-items: center; gap: 18px; }
.learning-note .note-icon { color: #73916b; font-size: 28px; }
.learning-note h2 { margin: 0 0 7px; font-size: 15px; }
.learning-note p { margin: 0; color: #7b8875; font-size: 11px; line-height: 1.8; }
.learning-note > a { flex-shrink: 0; color: #5d7953; font-size: 11px; font-weight: 750; }
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 31px 0 32px; color: #8a9688; font-size: 10px; }
.footer-name { color: #667b61; font-weight: 800; letter-spacing: .05em; }
.footer-name span { margin-left: 9px; color: #97a08e; font-size: 9px; font-weight: 500; letter-spacing: .12em; }
@media (min-width: 1500px) { .hero { padding-top: 55px; padding-bottom: 50px; } }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 24px; }
  .hero h1 { font-size: 44px; }
  .hero-copy { font-size: 12px; }
  .hero-image { aspect-ratio: 1.1; }
  .hero-meta > div { padding-inline: 13px; }
  .hero-meta small { display: block; margin: 4px 0 0; }
  .games { gap: 15px; }
  .game-body { padding: 14px; }
  .game h4 { font-size: 15px; }
  .spotlight-copy { padding: 28px; }
  .results-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .nav { min-height: 76px; }
  .nav-links { gap: 20px; font-size: 12px; }
  .hero { grid-template-columns: 1fr 1fr; padding-top: 30px; padding-bottom: 32px; }
  .hero h1 { font-size: 35px; }
  .hero-image { aspect-ratio: .87; border-radius: 22px 22px 50px 22px; }
  .hero-actions { gap: 15px; flex-wrap: wrap; }
  .hero-actions .text-link { font-size: 11px; }
  .visual-note { left: -12px; padding: 11px; gap: 8px; }
  .visual-note small { font-size: 9px; }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spotlight { grid-template-columns: 1.1fr 1fr; margin-bottom: 38px; }
  .spotlight-copy { padding: 24px; }
  .spotlight h2 { font-size: 26px; }
  .spotlight p { font-size: 12px; }
  .spotlight-actions { gap: 15px; }
  .category-title small { display: none; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 85px; }
  .shell { width: calc(100% - 36px); }
  .nav { min-height: 73px; gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 17px; }
  .brand-en { font-size: 8px; }
  .nav-links > a:not(.nav-explore) { display: none; }
  .nav-links .nav-explore { gap: 8px; padding: 9px 12px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 31px; }
  .eyebrow { font-size: 9px; }
  .hero h1 { margin: 17px 0 15px; font-size: clamp(35px, 9.1vw, 49px); line-height: 1.23; }
  .hero-copy { font-size: 13px; }
  .hero-actions { margin-top: 21px; gap: 24px; }
  .hero-meta { margin-top: 24px; }
  .hero-meta > div { padding-inline: 21px; }
  .hero-meta small { display: inline; margin-left: 6px; font-size: 9px; }
  .hero-meta strong { font-size: 17px; }
  .hero-image { aspect-ratio: 1.6; object-position: center 65%; border-radius: 22px 22px 46px 22px; }
  .visual-note { bottom: 13px; left: 12px; padding: 10px 13px; }
  .note-symbol { width: 28px; height: 28px; font-size: 17px; }
  .visual-caption { top: 13px; left: 13px; padding: 6px 10px; font-size: 9px; }
  .visual-note strong { font-size: 10px; }
  .visual-note small { display: none; }
  .spotlight { grid-template-columns: 1fr; margin-bottom: 36px; border-radius: 20px; }
  .spotlight-copy { padding: 25px 23px 13px; }
  .spotlight h2 { margin-top: 14px; font-size: 28px; }
  .spotlight h2 span { display: block; }
  .spotlight p { max-width: none; font-size: 12px; }
  .spotlight-art { height: 200px; }
  .spotlight-art img { object-fit: cover; object-position: center 56%; }
  .art-label { bottom: 13px; right: 16px; font-size: 9px; }
  .library-intro { flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 16px; }
  .library-intro h2 { font-size: 26px; }
  .library-intro p:last-child { font-size: 11px; }
  .search { width: 100%; }
  .filter-bar { gap: 5px; overflow-x: auto; padding: 10px 0; margin-bottom: 9px; scrollbar-width: thin; scrollbar-color: #c6d5c0 transparent; }
  .filter-btn { padding: 9px 11px; gap: 6px; font-size: 11px; min-height: 39px; }
  .filter-btn .filter-count { min-width: 17px; height: 17px; font-size: 8px; }
  .category { margin-top: 25px; }
  .category-title { font-size: 17px; }
  .category-head { margin-bottom: 13px; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game { border-radius: 13px; }
  .game-art { aspect-ratio: 1.45; }
  .game-body { padding: 13px 11px 12px; }
  .game h4 { font-size: 14px; }
  .description { font-size: 10px; line-height: 1.8; }
  .game-subject { font-size: 8px; }
  .game-bottom { gap: 5px; padding-top: 13px; }
  .tag { font-size: 8px; padding: 4px 5px; }
  .tags { gap: 4px; }
  .card-arrow { flex-basis: 22px; width: 22px; height: 22px; font-size: 12px; }
  .learning-note { margin-top: 31px; padding: 22px; flex-wrap: wrap; gap: 18px; }
  .learning-note .note-copy { gap: 12px; }
  .learning-note .note-icon { font-size: 24px; }
  .learning-note h2 { font-size: 14px; }
  .learning-note p { font-size: 10px; }
  .learning-note > a { margin-left: 36px; }
  footer { padding-block: 25px; font-size: 9px; }
  .footer-name span { display: none; }
}
@media (max-width: 380px) {
  .hero-meta > div { padding-inline: 18px; }
  .hero-meta small { display: block; margin: 5px 0 0; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { gap: 15px; padding-inline: 16px; }
  .spotlight-actions { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
