:root {
  color-scheme:light;
  --page:#faf8f2; --surface:#fffdf9; --ink:#2c342e; --muted:#556257;
  --accent:#37674f; --line:#dcded1; --play:#fff8e9;
  font-family:"PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Microsoft YaHei",sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:98px; }
body { margin:0; background:var(--page); color:var(--ink); line-height:1.6; }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; cursor:pointer; }
button,a { touch-action:manipulation; }
button:focus-visible,a:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
h1,h2,h3,p,ul { margin:0; }
img { display:block; width:100%; height:auto; }
.shell { width:min(calc(100% - 108px),1140px); margin-inline:auto; }
.skip { position:fixed; top:8px; left:8px; z-index:4; padding:8px 15px; background:var(--surface); transform:translateY(-200%); }
.skip:focus { transform:none; }

.site-header { position:sticky; top:0; z-index:3; min-height:77px; display:flex; align-items:center; justify-content:space-between; gap:14px; border-bottom:1px solid var(--line); background:#faf8f2f2; backdrop-filter:blur(12px); }
.brand { display:flex; align-items:center; gap:9px; font-weight:720; font-size:16px; }
.brand-icon { display:grid; place-items:center; width:35px; height:35px; border-radius:50%; color:var(--accent); background:#e9eee1; }
.brand-icon svg { width:25px; height:25px; }
.site-header nav { display:flex; align-items:center; gap:28px; color:var(--muted); font-size:14px; }
.site-header nav a { display:grid; place-items:center; min-height:44px; }
.site-header nav a:hover { color:var(--accent); text-decoration:underline; text-underline-offset:5px; }

.welcome { min-height:278px; display:grid; grid-template-columns:1fr .8fr; align-items:center; gap:34px; padding:32px 42px; margin-top:25px; background:#f2efdf; border-radius:24px; }
.welcome > img { justify-self:end; max-width:307px; }
.eyebrow { color:var(--accent); font-size:12px; font-weight:700; letter-spacing:.1em; }
.welcome h1 { font-size:clamp(46px,5.5vw,74px); font-weight:800; letter-spacing:-.085em; line-height:1.02; margin:9px 0 14px; }
.welcome-note { color:var(--muted); font-size:15px; }

.collection { margin-top:89px; scroll-margin-top:2px; }
#games { margin-top:55px; }
.section-head { margin-bottom:24px; }
.section-head h2 { font-size:clamp(34px,4vw,48px); font-weight:770; line-height:1.13; letter-spacing:-.06em; margin:4px 0 8px; }
.section-head > p { color:var(--muted); font-size:14px; }
.games,.films { display:grid; gap:28px; }
.games { grid-template-columns:repeat(3,minmax(0,1fr)); }
.films { grid-template-columns:repeat(2,minmax(0,1fr)); }
.game-card,.mv-card { min-width:0; }
.cover { position:relative; display:block; overflow:hidden; width:100%; border:0; padding:0; border-radius:13px; background:#e8ebdf; }
.cover img { aspect-ratio:16/9; object-fit:cover; }
.cover:hover { box-shadow:0 0 0 2px var(--accent); }
.card-copy { padding:13px 1px 0; }
.card-copy h3 { font-size:22px; line-height:1.3; font-weight:740; }
.card-copy p { margin-top:4px; color:var(--muted); font-size:14px; }
.card-copy p span { white-space:nowrap; }
.text-action { display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:2px 0; border:0; background:none; color:var(--accent); font-size:14px; font-weight:700; white-space:nowrap; }
.text-action:hover { text-decoration:underline; text-underline-offset:4px; }
.play-icon { position:absolute; right:14px; bottom:14px; width:44px; height:44px; display:grid; place-items:center; border:1px solid #fff9; border-radius:50%; background:#211d1fd9; color:#fff; font-size:21px; }

.music { padding-bottom:58px; }
.tracks { list-style:none; padding:0; border-top:1px solid var(--line); }
.track { display:grid; grid-template-columns:53px minmax(0,1fr) 45px auto; align-items:center; gap:15px; padding:13px 2px; border-bottom:1px solid var(--line); }
.track img { width:53px; height:53px; object-fit:cover; border-radius:7px; }
.track h3 { font-size:18px; line-height:1.3; }
.track p,.track > span { color:var(--muted); font-size:13px; }
.lyrics { display:inline-block; margin-top:16px; color:var(--accent); font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.site-footer { border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; padding-block:19px; color:var(--muted); font-size:12px; }

#player { width:min(680px,calc(100% - 26px)); max-height:calc(100dvh - 28px); padding:23px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); }
#player::backdrop { background:#282a26c2; }
#player h2 { font-size:26px; margin:3px 36px 10px 0; }
#player form button { position:absolute; top:9px; right:11px; height:37px; width:37px; border:1px solid var(--line); border-radius:9px; background:var(--play); font-size:22px; line-height:1; }
#player audio,#player video { display:block; width:100%; }
#player video { max-height:min(55dvh,370px); background:#211f24; }
#player a { display:inline-block; margin-top:9px; font-size:13px; color:var(--accent); }

@media(max-width:960px) {
  .shell { width:calc(100% - 62px); }
  .games,.films { gap:19px; }
  .welcome { min-height:241px; }
}
@media(max-width:650px) {
  html { scroll-padding-top:70px; }
  .shell { width:calc(100% - 34px); }
  .site-header { min-height:61px; }
  .brand { font-size:13px; gap:6px; white-space:nowrap; }
  .brand-icon { width:29px; height:29px; }
  .brand-icon svg { width:22px; height:22px; }
  .site-header nav { gap:11px; font-size:12px; }
  .welcome { min-height:168px; grid-template-columns:1.16fr .84fr; gap:5px; padding:15px 13px; margin-top:15px; border-radius:16px; }
  .welcome h1 { font-size:clamp(34px,8.4vw,53px); margin:5px 0 8px; }
  .welcome .eyebrow { font-size:9px; letter-spacing:.03em; }
  .welcome-note { font-size:11px; }
  .welcome img { width:110%; }
  #games { margin-top:35px; }
  .collection { margin-top:53px; }
  .section-head { margin-bottom:16px; }
  .section-head h2 { font-size:33px; margin-block:3px 5px; }
  .section-head .eyebrow { font-size:10px; }
  .section-head > p { font-size:13px; }
  .games,.films { grid-template-columns:1fr; gap:24px; }
  .cover { border-radius:11px; }
  .card-copy { padding-top:9px; }
  .card-copy h3 { font-size:20px; }
  .card-copy p { font-size:13px; }
  .text-action { font-size:13px; }
  .music { padding-bottom:34px; }
  .track { grid-template-columns:42px minmax(0,1fr) 31px auto; gap:8px; padding:10px 1px; }
  .track img { width:42px; height:42px; }
  .track h3 { font-size:16px; }
  .track p,.track > span { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.site-header { display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto; column-gap:14px; row-gap:2px; align-content:center; padding-block:7px; }
.site-header nav { grid-column:2; grid-row:1/3; }
.visitors { grid-column:1; grid-row:2; display:flex; gap:5px; align-items:baseline; margin-left:44px; color:var(--muted); font-size:11px; line-height:1.3; }
.visitors strong { color:var(--accent); font-variant-numeric:tabular-nums; font-size:12px; }
.music { padding-bottom:42px; }
.site-note { padding:14px 0 18px; border-top:1px solid var(--line); }
.site-note h2 { font-size:16px; }
.site-note p { font-size:13px; color:var(--muted); margin-top:4px; }
@media(max-width:650px) {
  .visitors { margin-left:35px; font-size:10px; }
  .visitors strong { font-size:11px; }
}
