:root {
  color-scheme: light;
  --bg: #f8f9f5; --bg-elev: #ffffff; --bg-card: #ffffff; --bg-hot: #eef2e9;
  --text: #263b32; --text-dim: #64756b; --text-faint: #738378;
  --cyan: #267151; --magenta: #875c3f; --acid: #267151; --blue: #416c94;
  --line: #d5dfd2; --line-dim: #e4e9df; --max: 1200px; --header-h: 80px;
  --display: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: var(--display); --body: var(--display);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { margin: 0; background: var(--bg); scroll-behavior: smooth; }
body { min-width: 0; margin: 0; color: var(--text); background: var(--bg); font: 15px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
button, input, select { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #267151; outline-offset: 5px; }
::selection { color: #fff; background: #397b59; }
section[id], #all-games { scroll-margin-top: calc(var(--header-h) + 20px); }
.skip-link { position: fixed; z-index: 300; top: -80px; left: 20px; padding: 12px 20px; border-radius: 8px; background: #fff; }
.skip-link:focus { top: 12px; }
.network-header { height: var(--header-h); width: min(var(--max), calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand nav account"; align-items: center; gap: 28px; border-bottom: 1px solid var(--line-dim); }
.network-brand { grid-area: brand; justify-self: start; display: flex; align-items: baseline; gap: 7px; color: #286348; font-size: 32px; font-weight: 850; letter-spacing: -1.8px; }
.network-brand span { color: #7b897b; font-size: 13px; font-weight: 550; letter-spacing: .5px; }
.network-nav { grid-area: nav; display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 550; }
.network-nav a, .network-nav button { min-height: 44px; display: inline-flex; align-items: center; }
.network-nav a:hover { color: #267151; }
.home-main { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }
.home-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 42px 0 30px; }
.home-eyebrow { margin: 0 0 10px; font-size: 10px; font-weight: 650; letter-spacing: 2.1px; color: #778673; }
.home-intro h1 { margin: 0; font-size: clamp(25px, 3vw, 38px); font-weight: 650; line-height: 1.3; letter-spacing: -.7px; }
.home-intro > p { margin: 0 2px 2px 0; font-size: 12px; line-height: 1.9; color: var(--text-dim); }
.showcase-grid { display: grid; gap: 22px; }
.game-showcase { position: relative; display: grid; grid-template-columns: 48% 52%; min-height: 352px; overflow: hidden; border-radius: 22px; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
.game-showcase:hover { transform: translateY(-3px); box-shadow: 0 14px 32px #283e3212; }
.game-showcase--moon { --card-ink: #2d5378; --card-muted: #57748d; --card-button: #3c668a; background: #e6eff7; }
.game-showcase--harbor { --card-ink: #315c48; --card-muted: #587763; --card-button: #457859; background: #e7efdf; }
.game-showcase--lantern { --card-ink: #765136; --card-muted: #876c56; --card-button: #956b43; background: #f4e9d8; }
.game-showcase__copy { z-index: 2; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 12px 28px 42px; color: var(--card-ink); }
.game-showcase__genre { display: flex; align-items: center; gap: 12px; margin: 0 0 13px; font-size: 11px; font-weight: 550; color: var(--card-muted); }
.game-showcase__genre span { border-left: 1px solid currentColor; padding-left: 12px; opacity: .85; }
.game-showcase h2 { margin: 0; font-size: clamp(30px, 3.3vw, 43px); font-weight: 750; letter-spacing: 2px; line-height: 1.25; }
.game-showcase__native { margin: 4px 0 14px; color: var(--card-muted); font-size: 11px; letter-spacing: 1.5px; }
.game-showcase h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.game-showcase__description { margin: 0 0 21px; font-size: 12px; line-height: 1.9; color: var(--card-muted); }
.game-showcase__play { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 142px; min-height: 45px; padding: 10px 20px; border-radius: 24px; background: var(--card-button); color: #fff; font-size: 13px; font-weight: 600; transition: gap .2s ease; }
.game-showcase:hover .game-showcase__play { gap: 36px; }
.game-showcase__detail { margin-top: 10px; color: var(--card-muted); font-size: 10px; letter-spacing: .2px; }
.showcase-art { position: relative; overflow: hidden; height: 100%; min-height: 352px; }
.showcase-art__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-showcase--harbor .showcase-art__scene { object-position: 50% 9%; }
.game-showcase--lantern .showcase-art__scene { object-position: 73% 38%; }
.showcase-art__character { position: absolute; z-index: 2; width: 58%; left: 0; top: 8%; filter: drop-shadow(0 18px 14px #2f52791c); transform: rotate(-9deg); }
.showcase-art__capture { position: absolute; height: 88%; width: auto; right: 12%; top: 12%; border: 5px solid #fff; border-radius: 13px; transform: rotate(8deg); box-shadow: 0 14px 26px #385e7d26; }
.showcase-art__ferry { position: absolute; height: 43%; width: auto; right: 31%; bottom: 10%; transform: rotate(32deg); filter: drop-shadow(10px 16px 10px #186a6140); }
.showcase-art__lighthouse { position: absolute; height: 97%; width: auto; max-width: none; right: -1%; bottom: -9%; filter: drop-shadow(0 10px 12px #0b253b55); }
.home-afterword { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 34px 4px; border-bottom: 1px solid var(--line-dim); }
.home-afterword p { margin: 0; display: grid; gap: 5px; }
.home-afterword strong { font-size: 16px; font-weight: 600; }
.home-afterword span, .home-afterword a { color: var(--text-dim); font-size: 11px; }
.home-afterword a { padding: 12px 0; }
.home-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 24px 4px 42px; font-size: 12px; }
.home-help summary { cursor: pointer; padding: 10px 0; }
.home-help p { color: var(--text-dim); margin: 8px 0; }
.home-help a { text-decoration: underline; }
.network-footer { max-width: var(--max); margin: 0 auto; padding: 26px 0 20px; border-top: 1px solid var(--line-dim); display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; font-size: 10px; color: #748073; }
.network-footer__brand { display: grid; gap: 5px; }
.network-footer__brand strong { color: var(--text); font-size: 17px; font-weight: 700; }
.network-footer__brand > span { font-size: 9px; letter-spacing: .6px; }
.network-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; }
.network-footer a { min-height: 30px; display: inline-flex; align-items: center; }
.network-footer a:hover { color: #267151; }
.network-footer__legal { grid-column: 1 / -1; max-width: 900px; font-size: 9px; line-height: 1.7; }
.network-footer__legal p { margin: 3px 0; }
.network-privacy { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; padding: 0 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: #758073; font-size: 10px; }
.network-privacy button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; }
.network-privacy p { margin: 0; }
.noscript { padding: 14px 24px; text-align: center; }
/* Shared index and editorial surfaces use the same daylight palette. */
.game-network, .discovery-section, .editorial-page { width: min(var(--max), calc(100% - 64px)); margin: 32px auto 48px; }
.section-command { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 30px 0 22px; }
.section-command h1, .section-command h2 { margin: 8px 0; line-height: 1.2; font-size: clamp(26px, 4vw, 44px); font-weight: 650; }
.section-command p, .command-kicker { color: var(--text-dim); font-size: 12px; letter-spacing: .6px; }
.games-grid, .discovery-grid, .trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 24px; }
.game-card, .discovery-card, .trust-card { position: relative; min-width: 0; border: 1px solid var(--line-dim); border-radius: 16px; background: #fff; overflow: hidden; }
.game-card { display: flex; flex-direction: column; }
.game-card:hover { border-color: #92ad91; }
.game-card__index { padding: 12px 20px 0; font-size: 11px; color: var(--text-dim); }
.game-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.game-cover { width: 100%; height: 100%; object-fit: cover; }
.game-card__body { padding: 20px; display: grid; gap: 10px; }
.game-card__body small { font-size: 11px; color: var(--text-dim); }
.game-card__body strong { font-size: 22px; line-height: 1.4; }
.game-card__body > span { font-size: 13px; color: var(--text-dim); }
.game-card__enter { padding: 0 20px 20px; font-size: 12px; color: #267151; }
.original-card__status, .game-card__status { position: absolute; right: 14px; top: 14px; border-radius: 12px; padding: 4px 9px; font-size: 10px; color: #2a6748; background: #edf4e7; }
.game-card__status + .game-card__body { padding-top: 48px; }
.discovery-card, .trust-card { padding: 24px; }
.discovery-card h3, .trust-card h3 { margin-top: 8px; }
.discovery-card p, .trust-card p { color: var(--text-dim); font-size: 14px; }
.editorial-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-block: 20px; font-size: 13px; }
.editorial-links a { text-decoration: underline; color: #267151; }
.home-faq details { padding: 16px 0; border-bottom: 1px solid var(--line-dim); }
.home-faq summary { cursor: pointer; font-weight: 600; }
.home-faq p, .editorial-lead { color: var(--text-dim); }
.game-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.game-facts dt { font-size: 12px; color: var(--text-dim); }
.game-facts dd { margin: 4px 0 0; }
.guide-list { display: grid; gap: 16px; }
.guide-list a { padding: 20px; border: 1px solid var(--line-dim); background: #fff; border-radius: 12px; }
.guide-list strong { display: block; font-size: 20px; }
.network-controls, .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { border: 1px solid var(--line); padding: 10px 14px; background: #fff; border-radius: 20px; }
.search input { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; }
@media (min-width: 821px) { body > .network-footer { width: min(var(--max), calc(100% - 80px)); } }
@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .network-header { width: calc(100% - 40px); gap: 20px; }
  .network-brand { font-size: 28px; }
  .network-nav { gap: 18px; }
  .home-main { width: calc(100% - 40px); }
  .home-intro { padding: 32px 0 26px; }
  .home-intro > p { display: none; }
  .game-showcase { min-height: 330px; grid-template-columns: 51% 49%; border-radius: 18px; }
  .game-showcase__copy { padding: 26px 4px 24px 26px; }
  .game-showcase h2 { font-size: 32px; }
  .game-showcase h3 { font-size: 14px; }
  .game-showcase__description { font-size: 11px; }
  .showcase-art { min-height: 330px; }
  .showcase-art__character { width: 70%; top: 22%; left: -4%; }
  .showcase-art__capture { right: 7%; height: 75%; top: 20%; }
  .network-footer { width: calc(100% - 40px); }
  .network-footer nav { justify-content: end; }
  .network-privacy { width: calc(100% - 40px); }
  .games-grid, .discovery-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .network-header { width: calc(100% - 32px); gap: 13px; grid-template-columns: 1fr auto auto; }
  .network-brand { font-size: 27px; }
  .network-brand span { font-size: 10px; }
  .network-nav { gap: 14px; font-size: 12px; }
  .network-nav > a { display: none; }
  .home-main { width: calc(100% - 28px); }
  .home-intro { padding: 25px 6px 23px; }
  .home-intro h1 { font-size: 25px; }
  .home-eyebrow { font-size: 8px; letter-spacing: 1.6px; margin-bottom: 9px; }
  .showcase-grid { gap: 16px; }
  .game-showcase { grid-template-columns: 56% 44%; min-height: 270px; border-radius: 17px; }
  .game-showcase__copy { padding: 22px 0 20px 20px; }
  .game-showcase__genre { font-size: 9px; gap: 8px; margin-bottom: 13px; }
  .game-showcase__genre span { padding-left: 8px; }
  .game-showcase h2 { font-size: clamp(25px, 6.5vw, 32px); letter-spacing: 1px; }
  .game-showcase__native { font-size: 8px; letter-spacing: .5px; margin: 5px 0 13px; }
  .game-showcase h3 { font-size: 12px; max-width: 160px; line-height: 1.7; }
  .game-showcase__description { display: none; }
  .game-showcase__play { min-width: 125px; min-height: 44px; margin-top: 12px; padding: 9px 17px; font-size: 12px; }
  .game-showcase__detail { font-size: 8px; max-width: 165px; margin-top: 12px; }
  .showcase-art { min-height: 270px; }
  .showcase-art__character { width: 95%; max-width: none; top: 27%; left: -8%; }
  .showcase-art__capture { height: 70%; right: -28%; top: 18%; border-width: 3px; border-radius: 9px; }
  .game-showcase--harbor .showcase-art__scene { object-position: 60% 0; }
  .showcase-art__ferry { height: 35%; right: 25%; bottom: 13%; }
  .showcase-art__lighthouse { height: 83%; right: -70%; bottom: -1%; }
  .home-afterword { padding: 26px 5px; align-items: start; flex-direction: column; gap: 10px; }
  .home-afterword a { padding: 5px 0; }
  .home-help { grid-template-columns: 1fr; gap: 0; padding: 16px 5px 26px; }
  .home-help details { border-bottom: 1px solid var(--line-dim); padding: 5px 0; }
  .network-footer { grid-template-columns: 1fr; width: calc(100% - 40px); gap: 16px; }
  .network-footer nav { justify-content: start; gap: 8px 16px; }
  .network-footer__brand > span { font-size: 8px; }
  .network-footer__legal { font-size: 8px; }
  .network-privacy { width: calc(100% - 40px); padding-top: 8px; }
  .games-grid, .discovery-grid, .trust-grid, .game-facts { grid-template-columns: 1fr; }
  .game-network, .discovery-section, .editorial-page { width: calc(100% - 32px); }
  .game-card__status { right: 10px; top: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.recent-play { font-size: 10px; font-weight: 600; color: var(--card-ink); padding-top: 5px; }

/* English names keep their natural word breaks in the narrow banner column. */
.game-showcase h2 { letter-spacing: -.8px; line-height: 1.12; }
.game-showcase__native { letter-spacing: .8px; }
@media (max-width: 600px) { .game-showcase { min-height: 300px; } .game-showcase h2 { font-size: clamp(24px, 6.4vw, 29px); line-height: 1.06; } .game-showcase__genre { font-size: 8px; } .game-showcase__play { min-width: 125px; } .game-showcase__detail { font-size: 8px; } .showcase-art { min-height: 300px; } .home-intro h1 { max-width: 330px; line-height: 1.2; } }
