:root {
  color-scheme: light;
  font-family: "DM Sans", "Malgun Gothic", system-ui, sans-serif;
  background: #f7f8fd;
  color: var(--brand-ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-edge); outline-offset: 3px; }
.topbar { border-bottom: 1px solid #d9def0; background: var(--brand-soft); }
.topbar-inner, main { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topbar-inner { display: flex; min-height: 76px; justify-content: space-between; align-items: center; gap: 20px; }
.brand, .back { color: var(--brand-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand { font-size: 26px; font-weight: 850; letter-spacing: -1.5px; }
.brand img { width: 33px; height: 33px; }
nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 650; }
#language-switch { color: #36584f; }
.back, .choice-buttons button { padding: 10px 15px; border-radius: 12px; border: 1px solid #c0cfc5; background: transparent; }
.back:hover, .choice-buttons button:hover { background: #e6eee9; }
main { padding: 24px 0 52px; }
.guide-hero { min-height: 260px; display: flex; align-items: end; overflow: hidden; border-radius: 24px; background: #173d50 url('/assets/snowyard.webp') center center / cover no-repeat; color: white; }
.guide-hero > div { width: 100%; padding: clamp(24px, 4vw, 54px); background: linear-gradient(0deg, #0c2944e8, transparent); }
.guide-hero h1 { margin: 0 0 10px; font-size: clamp(40px, 5vw, 64px); line-height: 1.1; letter-spacing: -.065em; }
.guide-hero p { max-width: 465px; margin: 0; line-height: 1.65; font-weight: 550; }
.guide-body { max-width: 840px; margin-inline: auto; }
.guide-links { flex-wrap: wrap; margin-top: 24px; }
.crumbs { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.crumbs span { color: #456258; }
.play-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; padding: 8px 16px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font-weight: 750; text-decoration: none; }
.play-link:hover { background: var(--brand-hover); }
.guide-body ol { padding-inline-start: 24px; line-height: 1.8; }
.guide-body li + li { margin-top: 8px; }
.guide-body section > h3:not(:first-child) { margin-top: 22px; }
section { padding: 35px 0; border-bottom: 1px solid #cddbd2; }
h2, h3 { line-height: 1.25; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 17px; }
h3 { font-size: 19px; margin: 0 0 7px; }
p { margin: 10px 0 0; font-size: 16px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.controls-grid, .hits { display: grid; gap: 12px; margin: 18px 0; }
.controls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.controls-grid article { border: 1px solid #cbdcd3; border-radius: 16px; padding: 18px 20px; background: #fdfefd; }
.controls-grid p, .hits p { margin: 0; }
.tip { border-left: 4px solid var(--brand-edge); padding: 5px 0 5px 14px; }
.hits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hits > div { border-radius: 14px; padding: 15px 17px; background: var(--brand-soft); }
.hits strong { font-size: 24px; letter-spacing: -.055em; }
.hits p { font-size: 15px; }
.privacy { border-bottom: 0; }
.choice-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.choice-buttons button { cursor: pointer; color: var(--brand-ink); font: inherit; font-weight: 650; }
.choice-buttons button[aria-pressed="true"] { background: var(--brand-ink); color: white; }
#ad-choice-state { color: #456258; font-size: 14px; }
#ad-area {
  margin-top: 64px;
  padding: clamp(12px, 2.5vw, 20px);
  border: 1px solid #d0ded5;
  border-radius: 16px;
  background: #eef3ef;
}
#ad-area small { display: block; color: #456258; margin-bottom: 8px; font-size: 12px; }
#ad-slot { min-height: 90px; }
@media (max-width: 600px) {
  .topbar-inner, main { width: min(100% - 30px, 1160px); }
  .topbar-inner { min-height: 60px; gap: 8px; }
  .brand { font-size: 21px; gap: 5px; }
  .brand img { width: 26px; height: 26px; }
  nav { gap: 9px; font-size: 12px; }
  .back { padding: 8px; }
  main { padding-top: 14px; }
  .guide-hero { min-height: 220px; border-radius: 16px; background-position: 64% center; }
  .guide-hero > div { padding: 20px 16px; }
  .guide-hero p { max-width: 280px; }
  section { padding: 26px 0; }
  .controls-grid, .hits { grid-template-columns: 1fr; }
  .hits > div { display: flex; gap: 16px; align-items: center; }
  .hits strong { flex: none; }
}

#language-switch { font:inherit; color:inherit; background:#fffef8; border:1px solid #a9beb4; border-radius:10px; padding:6px 10px; }
