/* ==========================================================
   blkv mass productions
   Minimal monochrome, one accent (green = live / online only).

   Shape system (documented, applied everywhere):
     cards & panels 12px | media inside cards 8px | buttons, inputs,
     segmented controls 6px | status badges full pill.
   Implementation note: static bundle, so motion is native CSS +
   IntersectionObserver rather than the Motion library.
   ========================================================== */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Geist", "SF Pro Display", "Helvetica Neue", sans-serif; }
img, video, svg { max-width: 100%; height: auto; }

:root {
  --canvas: #F6F6F4;
  --surface: #FDFDFC;
  --panel: #EDEDEA;
  --ink: #141414;
  --text: #2F3437;
  --muted: #6E6D6A;
  --line: #E6E5E2;
  --line-strong: #D3D2CE;
  --soft: #F0EFEC;
  --btn: #141414;
  --btn-hover: #333333;
  --btn-text: #FAFAF9;
  --mark-ghost: #ECEBE7;
  --accent: #2F7A4B;
  --accent-soft: #E6F0E8;
  --lift: 0 2px 10px rgba(60, 52, 38, 0.05);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-card: 12px; --r-media: 8px; --r-ctl: 6px;
  color-scheme: light;
}
.dark {
  --canvas: #161615;
  --surface: #1D1D1C;
  --panel: #222221;
  --ink: #EDEDEB;
  --text: #D2D2CF;
  --muted: #9A9995;
  --line: #2C2C2A;
  --line-strong: #3B3B38;
  --soft: #252524;
  --btn: #EDEDEB;
  --btn-hover: #D3D3D0;
  --btn-text: #141414;
  --mark-ghost: #1D1D1C;
  --accent: #7CC495;
  --accent-soft: #1C2B21;
  --lift: 0 2px 10px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

body {
  background: var(--canvas); color: var(--text);
  font-size: 16px; line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}
::selection { background: var(--ink); color: var(--canvas); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) { .container { padding-left: 32px; padding-right: 32px; } }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; }
main, footer { position: relative; z-index: 1; }

/* Grain: fixed, pointer-events none, never on scrolling containers */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dark .grain { opacity: 0.05; }

/* ---------- Type ---------- */
.display {
  margin: 0; color: var(--ink); font-weight: 600;
  font-size: clamp(34px, 4.1vw, 52px); line-height: 1.05; letter-spacing: -0.04em;
  max-width: 20ch; text-wrap: balance;
}
.h2 { margin: 0; color: var(--ink); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.h3 { margin: 0; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.eyebrow { margin: 0; font-family: "Geist Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  font-family: "Geist Mono", monospace; font-size: 11px; font-weight: 500; line-height: 1; color: var(--ink);
  background: var(--soft); border: 1px solid var(--line); border-radius: 4px; box-shadow: inset 0 -1px 0 var(--line);
}

/* ---------- Logo + icons ---------- */
.logo-slot { display: inline-flex; color: var(--ink); }
.logo-slot svg { height: 100%; width: auto; display: block; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-text {
  padding-left: 12px; border-left: 1.5px solid var(--ink);
  font-family: "Geist Mono", monospace; font-size: 11px; font-weight: 500; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink); white-space: nowrap;
}
.brand-lg { gap: 14px; }
.brand-lg .brand-text { font-size: 12px; padding-left: 14px; }
[data-icon] { display: inline-flex; width: 16px; height: 16px; flex: none; }
[data-icon] svg { width: 100%; height: 100%; display: block; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; border-bottom: 1px solid transparent; transition: background-color 0.2s ease, border-color 0.2s ease; }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--canvas) 84%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-link { padding: 6px 12px; border-radius: var(--r-ctl); font-size: 14px; color: var(--muted); transition: color 0.2s ease, background-color 0.2s ease; }
.nav-link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-link.is-active { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: var(--r-ctl); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-primary { background: var(--btn); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn [data-icon] { width: 15px; height: 15px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-ctl);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn > [data-icon] { grid-area: 1 / 1; transition: opacity 0.2s ease, transform 0.3s var(--ease); }
.theme-moon { opacity: 0; transform: scale(0.6); }
.dark .theme-sun { opacity: 0; transform: scale(0.6); }
.dark .theme-moon { opacity: 1; transform: none; }
.check-i { opacity: 0; transform: scale(0.6); }
.is-copied .copy-i { opacity: 0; transform: scale(0.6); }
.is-copied .check-i { opacity: 1; transform: none; color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.avatar-figure { margin: 0; }
.avatar-stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-card); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.avatar-img {
  width: 92%; height: 92%; object-fit: contain;
  filter: grayscale(1) contrast(1.05); transform: translateY(2%);
  transition: filter 0.5s ease, transform 0.6s var(--ease);
}
.avatar-figure:hover .avatar-img { filter: grayscale(0) contrast(1); transform: translateY(0) scale(1.015); }
.avatar-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 2px 0; }
.avatar-name { font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.avatar-meta { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }
@media (min-width: 768px) { .avatar-figure { max-width: 460px; justify-self: end; width: 100%; } }

/* ---------- Profile strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.strip-cell { display: flex; flex-direction: column; gap: 6px; padding: 20px; min-width: 0; }
.strip-cell:nth-child(odd) { border-right: 1px solid var(--line); }
.strip-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip-cell { padding: 24px 26px; }
  .strip-cell:nth-child(-n+2) { border-bottom: 0; }
  .strip-cell + .strip-cell { border-left: 1px solid var(--line); }
  .strip-cell:nth-child(odd) { border-right: 0; }
}
.strip-label { margin: 0; font-size: 13px; color: var(--muted); }
.strip-num { margin: 0; font-size: clamp(32px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.strip-foot { margin: 6px 0 0; min-height: 30px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.icon-row { gap: 0; }
.icon-row img {
  width: 30px; height: 30px; border-radius: var(--r-ctl); object-fit: cover; background: var(--soft);
  border: 2px solid var(--surface); margin-left: -8px; filter: grayscale(1); transition: filter 0.3s ease, transform 0.3s var(--ease);
}
.icon-row img:first-child { margin-left: 0; }
.icon-row:hover img { filter: grayscale(0); }
.badge-chip { display: inline-flex; align-items: center; gap: 8px; }
.badge-chip img { width: 26px; height: 26px; filter: grayscale(1); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); flex: none; position: relative; }
.status.is-live { color: var(--accent); }
.status.is-live .status-dot { background: var(--accent); }
.status.is-live .status-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.55; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.tick { animation: tick 0.6s var(--ease); }
@keyframes tick { from { opacity: 0.35; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }
.section-rule { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end; margin-bottom: 40px; }
@media (min-width: 768px) { .section-head { grid-template-columns: 1fr auto; } }

.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.seg-wide { display: flex; width: 100%; }
.seg-wide .seg-btn { flex: 1; }
.seg-btn {
  height: 30px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid transparent; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--muted); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-active { background: var(--surface); color: var(--ink); border-color: var(--line); }
.refresh { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.refresh [data-icon] { width: 14px; height: 14px; }
.refresh.is-busy [data-icon] { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 12px 14px;
  border-radius: var(--r-card); background: var(--soft); border: 1px solid var(--line); color: var(--text); font-size: 14px;
}
.notice.hidden { display: none; }
.notice [data-icon] { color: var(--muted); }

/* ---------- Games bento (cell count = game count) ---------- */
.games-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-grid > .g-0, .games-grid > .g-span-md { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .games-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .games-grid > * { grid-column: span 4; }
  .games-grid > .g-span-md { grid-column: span 4; }
  .n-1 > .g-0 { grid-column: span 12; }
  .n-2 > .g-0 { grid-column: span 7; } .n-2 > .g-1 { grid-column: span 5; }
  .n-3 > .g-0, .n-4 > .g-0, .n-5 > .g-0 { grid-column: span 7; grid-row: span 2; }
  .n-3 > .g-1, .n-3 > .g-2, .n-4 > .g-1, .n-4 > .g-2, .n-5 > .g-1, .n-5 > .g-2 { grid-column: span 5; }
  .n-4 > .g-3 { grid-column: span 12; }
  .n-5 > .g-3, .n-5 > .g-4 { grid-column: span 6; }
  .n-many > .g-0 { grid-column: span 8; grid-row: span 2; }
}
.game {
  display: flex; flex-direction: column; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.game:hover { box-shadow: var(--lift); border-color: var(--line-strong); }
.js .game.enter { opacity: 0; transform: translateY(16px); animation: enter 0.6s var(--ease) forwards; animation-delay: calc(var(--index, 0) * 60ms); }
@keyframes enter { to { opacity: 1; transform: none; } }
.game-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-media); background: var(--soft); }
.n-3 > .g-0 .game-media, .n-4 > .g-0 .game-media, .n-5 > .g-0 .game-media, .n-many > .g-0 .game-media { flex: 1; min-height: 240px; aspect-ratio: auto; }
.game-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.02); opacity: 0;
  transition: filter 0.5s ease, transform 0.6s var(--ease), opacity 0.4s ease;
}
.game-media img.loaded { opacity: 1; }
.game:hover .game-media img, .game:focus-within .game-media img { filter: grayscale(0) contrast(1); transform: scale(1.02); }
.game-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); }
.game-fallback svg { width: 30%; max-width: 140px; }
.game-body { display: flex; flex-direction: column; gap: 16px; padding: 16px 14px 12px; }
.g-0 .game-body { padding: 20px 18px 14px; }
.game-title { margin: 0; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.g-0 .game-title { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.035em; }
.game-meta { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.game-live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; }
.game-live .status-dot { background: var(--accent); }
.game-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.game-stats > div { min-width: 0; }
.game-stats > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.game-stats dd { margin: 0; font-family: "Geist Mono", monospace; font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.game-stats dt { margin-top: 2px; font-size: 12px; color: var(--muted); }
.play [data-icon] { width: 12px; height: 12px; }

.skel { background: var(--soft); border-radius: var(--r-ctl); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
.game-skel .game-media .skel { position: absolute; inset: 0; border-radius: var(--r-media); }
.skel-line { height: 12px; }
.empty {
  grid-column: 1 / -1; display: grid; place-items: center; gap: 10px; text-align: center;
  padding: 72px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
}
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-ctl); background: var(--soft); color: var(--ink); }
.empty-icon [data-icon] { width: 22px; height: 22px; }

/* ---------- Operate: sticky split, two-column list (no cards) ---------- */
.operate-list { display: grid; grid-template-columns: 1fr; gap: 40px 40px; align-content: start; }
@media (min-width: 640px) { .operate-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.op { display: flex; flex-direction: column; gap: 10px; }
.op-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-ctl); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.op-icon [data-icon] { width: 18px; height: 18px; }
.op-title { margin: 6px 0 0; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.op-body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 40ch; }
.sketch { background: #FDFDFC; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; max-width: 380px; }
.sketch img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.dark .sketch { background: var(--surface); }
.dark .sketch img { filter: invert(1) hue-rotate(180deg) brightness(0.9); mix-blend-mode: screen; }

/* ---------- Founder: profile card ---------- */
.profile {
  max-width: 56rem; margin: 0 auto; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
}
@media (min-width: 768px) { .profile { padding: 36px; } }
.profile-head { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; }
.profile-cta { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 768px) { .profile-head { grid-template-columns: auto 1fr auto; } .profile-cta { grid-column: auto; justify-self: end; } }
.profile-avatar { width: 84px; height: 84px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); object-fit: cover; filter: grayscale(1); transition: filter 0.4s ease; }
.profile:hover .profile-avatar { filter: grayscale(0); }
.profile-handle { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-family: "Geist Mono", monospace; font-size: 13px; color: var(--muted); }
.profile-bio { margin-top: 24px; max-width: 60ch; }
.profile-social { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted); }
.profile-social b { color: var(--ink); font-weight: 600; }
.profile-social.hidden { display: none; }
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .profile-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.community-list, .badge-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 560px) { .community-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.community, .badge-item {
  display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-media);
  transition: background-color 0.2s ease;
}
a.community:hover { background: var(--soft); }
.community img, .badge-item img { width: 40px; height: 40px; border-radius: var(--r-ctl); object-fit: cover; background: var(--soft); flex: none; filter: grayscale(1); transition: filter 0.3s ease; }
.community:hover img, .badge-item:hover img { filter: grayscale(0); }
.community-name { display: block; color: var(--ink); font-size: 14.5px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-role { display: block; font-size: 12.5px; color: var(--muted); }
.badge-item img { object-fit: contain; background: transparent; }

/* ---------- Contact ---------- */
.email-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.email-icon { width: 20px; height: 20px; color: var(--muted); }
.email-link {
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; letter-spacing: -0.025em; color: var(--ink); word-break: break-all;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 6px;
  transition: text-decoration-color 0.2s ease;
}
.email-link:hover { text-decoration-color: var(--ink); }
.copy-toast { font-size: 13px; color: var(--muted); opacity: 0; transition: opacity 0.2s ease; }
.copy-toast.show { opacity: 1; }
.form-card { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong);
  background: var(--canvas); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 10%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: var(--ink); border-width: 1.5px; }
.help { margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.err { display: none; align-items: center; gap: 6px; margin: 0; font-size: 13px; line-height: 18px; min-height: 18px; color: var(--ink); font-weight: 500; }
.err::before {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128 20a108 108 0 1 0 108 108A108.12 108.12 0 0 0 128 20Zm0 192a84 84 0 1 1 84-84 84.09 84.09 0 0 1-84 84Zm-12-80V80a12 12 0 0 1 24 0v52a12 12 0 0 1-24 0Zm28 40a16 16 0 1 1-16-16 16 16 0 0 1 16 16Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128 20a108 108 0 1 0 108 108A108.12 108.12 0 0 0 128 20Zm0 192a84 84 0 1 1 84-84 84.09 84.09 0 0 1-84 84Zm-12-80V80a12 12 0 0 1 24 0v52a12 12 0 0 1-24 0Zm28 40a16 16 0 1 1-16-16 16 16 0 0 1 16 16Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.field.has-error .err { display: inline-flex; }
.field.has-error .help { display: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.operated { margin: 0; font-family: "Geist Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.operated strong { color: var(--ink); font-weight: 600; }
.foot-link { font-size: 14px; color: var(--muted); transition: color 0.2s ease; }
.foot-link:hover { color: var(--ink); }
.foot-link [data-icon] { width: 13px; height: 13px; }
.shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.shortcuts > span { display: inline-flex; align-items: center; gap: 8px; }
.shortcuts [data-icon] { width: 14px; height: 14px; }
.footer-mark { height: clamp(80px, 19vw, 220px); overflow: hidden; margin-top: 48px; }
.footer-mark .logo-slot { width: 100%; color: var(--mark-ghost); }
.footer-mark .logo-slot svg { width: 100%; height: auto; }
.footer-base {
  display: flex; flex-direction: column; gap: 10px; padding: 20px 0 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-base .foot-link { font-size: 13px; }
@media (min-width: 768px) { .footer-base { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Scroll entry (IntersectionObserver) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--index, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal, .js .game.enter { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
