  :root {
    --bg: #08080a;
    --bg-alt: #0b0b0d;
    --panel: #0d0d10;
    --line: #1c1c1f;
    --line-strong: #3a3833;
    --bone: #e6e1d7;
    --bone-dim: #a5a094;
    --bone-dimmer: #7a746a;
    --red: oklch(0.45 0.16 25);
    --red-light: oklch(0.62 0.14 28);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--bg); }
  body {
    color: var(--bone);
    font-family: 'IBM Plex Mono', monospace;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  a:hover { color: var(--red-light); }
  img { max-width: 100%; display: block; }
  .serif { font-family: 'Bodoni Moda', serif; }
  .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dimmer); }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

  header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 40px; border-bottom: 1px solid var(--line);
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim);
    position: sticky; top: 0; background: rgba(8,8,10,0.9); backdrop-filter: blur(6px); z-index: 10;
  }
  header .brand { display: flex; align-items: center; gap: 10px; color: var(--bone); }
  header .brand img { width: 22px; height: 22px; border-radius: 5px; }
  header nav { display: flex; gap: 32px; }
  header nav a[aria-current] { color: var(--bone); }
  header .cta { border: 1px solid var(--line-strong); padding: 8px 16px; color: var(--bone); white-space: nowrap; }

  .hero {
    position: relative; overflow: hidden; padding: 140px 40px 120px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(143,42,36,0.22), transparent 70%);
  }
  .hero::before {
    content: ''; position: absolute; inset: -20% -20%;
    background-image: repeating-linear-gradient(122deg, rgba(230,225,215,0.04) 0 2px, transparent 2px 11px);
    pointer-events: none;
    animation: hero-drift 50s linear infinite;
  }
  @keyframes hero-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-160px, 120px); }
  }
  .hero-content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
  .hero img.mark { width: 84px; height: 84px; border-radius: 18px; }
  .hero h1 { font-size: clamp(48px, 8vw, 96px); line-height: 0.95; letter-spacing: -0.02em; font-weight: 500; margin: 0; }
  .hero p { font-style: italic; font-size: 20px; line-height: 1.5; color: #c4bfb4; max-width: 560px; margin: 0; text-wrap: pretty; }
  .hero .actions { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
  .hero .actions a { padding: 16px 30px; border: 1px solid var(--line-strong); }
  .hero .actions a.primary { background: var(--red); border-color: var(--red); color: #f4f0e8; }

  section.block { padding: 96px 40px; border-bottom: 1px solid var(--line); }
  section.block .wrap { display: grid; grid-template-columns: 1fr 1px 1.4fr; gap: 56px; }
  section.block .rule { background: var(--line); }
  section.block h2 { font-size: 34px; line-height: 1.2; letter-spacing: -0.01em; margin: 0; text-wrap: pretty; }

  .game-card {
    --accent: var(--red-light);
    position: relative;
    border: 1px solid var(--line); background: var(--panel); padding: 32px 32px 28px;
    display: flex; flex-direction: column; gap: 16px;
    min-width: 0;
    transition: border-color 240ms ease, transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
  }
  .game-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
  .game-card:hover { border-color: var(--accent); transform: translateY(-4px); background: #101013; box-shadow: 0 20px 44px -26px var(--accent); }
  .game-card-head { display: flex; align-items: center; gap: 16px; min-width: 0; }
  .game-card .icon { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; border: 1px solid var(--line); }
  .game-card-head-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .game-card .tag { display: inline-flex; align-self: flex-start; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 5px 10px; color: var(--bone); }
  .game-card h3 { font-family: 'Bodoni Moda', serif; font-size: 26px; margin: 0; font-weight: 500; line-height: 1.1; overflow-wrap: break-word; }
  .game-card p { color: var(--bone-dim); line-height: 1.75; font-weight: 300; margin: 0; font-size: 14px; }
  .game-card .meta { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dimmer); margin-top: 8px; }
  .game-card .meta div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
  .game-card .meta span:last-child { color: var(--bone); }
  .game-card .play-link { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone); border-bottom: 1px solid var(--line-strong); align-self: flex-start; padding-bottom: 4px; margin-top: 4px; }
  .game-list { display: flex; flex-direction: column; gap: 24px; }
  .game-list.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
  .game-card.featured h3 { font-size: 32px; }
  .game-card.featured .game-shots { grid-template-columns: 1fr 1fr; }

  .game-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
  .game-shots img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; border: 1px solid var(--line); transition: transform 400ms ease; }
  .game-shots a:hover img { transform: scale(1.03); }

  .stat-strip { display: flex; flex-wrap: wrap; justify-content: center; padding: 56px 40px; border-bottom: 1px solid var(--line); }
  .stat-strip .stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 48px; border-left: 1px solid var(--line); }
  .stat-strip .stat:first-child { border-left: none; }
  .stat-strip .stat .num { font-family: 'Bodoni Moda', serif; font-size: 44px; line-height: 1; color: var(--bone); }
  .stat-strip .stat .stat-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dimmer); text-align: center; }
  @media (max-width: 700px) {
    .stat-strip { gap: 28px 0; }
    .stat-strip .stat { border-left: none; padding: 0 20px; }
  }

  .statement { padding: 110px 40px; text-align: center; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
    background: radial-gradient(ellipse 60% 90% at 50% 50%, rgba(143,42,36,0.14), transparent 70%); }
  .statement p { font-family: 'Bodoni Moda', serif; font-size: clamp(28px, 4vw, 46px); line-height: 1.3; max-width: 840px; margin: 0 auto; color: var(--bone); text-wrap: balance; }

  .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
  .team-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .team-avatar {
    width: 72px; height: 72px; border-radius: 16px; border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Bodoni Moda', serif; font-size: 28px; color: var(--bone-dim); background: var(--panel);
  }
  .team-card strong { font-size: 17px; font-weight: 500; color: var(--bone); display: block; }
  .team-card .role { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dimmer); margin-top: 4px; }
  .team-card .li-link { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }

  .games-group { display: flex; flex-direction: column; gap: 18px; }
  .games-group-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dimmer); }
  .legacy-list { display: flex; flex-direction: column; }
  .legacy-item { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
  .legacy-item:last-child { border-bottom: 1px solid var(--line); }
  .legacy-item strong { font-size: 15px; font-weight: 500; color: var(--bone); }
  .legacy-item span { font-size: 13px; color: var(--bone-dim); font-weight: 300; line-height: 1.6; }

  .teaser {
    background: var(--bg-alt); padding: 96px 40px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 22px;
  }
  .teaser .glyph { width: 6px; height: 6px; background: var(--red-light); border-radius: 50%; }
  .teaser h2 { font-family: 'Bodoni Moda', serif; font-size: 42px; margin: 0; max-width: 640px; text-wrap: pretty; }
  .teaser p { color: var(--bone-dim); max-width: 480px; line-height: 1.75; font-weight: 300; font-size: 14px; margin: 0; }

  form.signup { display: flex; gap: 0; margin-top: 10px; font-size: 12px; width: 100%; max-width: 420px; }
  form.signup input {
    flex: 1; background: transparent; border: 1px solid var(--line-strong); border-right: none;
    padding: 16px 20px; color: var(--bone); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.08em; outline: none; min-width: 0;
  }
  form.signup button {
    padding: 16px 26px; background: var(--red); color: #f4f0e8; letter-spacing: 0.16em; text-transform: uppercase;
    border: 1px solid var(--red); font-family: 'IBM Plex Mono', monospace; font-size: 12px; cursor: pointer;
  }
  form.signup button:hover { background: var(--red-light); border-color: var(--red-light); }
  form.signup button:disabled { opacity: 0.5; cursor: not-allowed; }
  .signup-status { font-size: 12px; letter-spacing: 0.06em; min-height: 18px; color: var(--bone-dim); }
  .signup-status[data-state="ok"] { color: var(--red-light); }
  .signup-status[data-state="error"] { color: #d98a7f; }

  footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 40px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dimmer); }
  footer .links { display: flex; gap: 26px; }

  @media (max-width: 760px) {
    header nav { display: none; }
    section.block .wrap { grid-template-columns: 1fr; }
    section.block .rule { display: none; }
  }

  .devlog-header { padding: 140px 40px 60px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .devlog-header h1 { font-size: clamp(40px, 6vw, 64px); margin: 0; }
  .devlog-header p { color: var(--bone-dim); font-weight: 300; max-width: 480px; margin: 0; line-height: 1.7; font-size: 14px; }
  .devlog-list { max-width: 760px; margin: 0 auto; padding: 0 40px 120px; display: flex; flex-direction: column; }
  .devlog-post { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding: 28px 0; }
  .devlog-post:last-child { border-bottom: 1px solid var(--line); }
  .devlog-post .date { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dimmer); }
  .devlog-post h2 { font-size: 26px; margin: 0; font-weight: 500; }
  .devlog-post p { color: var(--bone-dim); font-weight: 300; margin: 0; font-size: 14px; line-height: 1.75; }
  .devlog-post .read-more { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dimmer); align-self: flex-start; margin-top: 4px; }
  .devlog-empty { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; text-align: center; color: var(--bone-dimmer); font-size: 13px; letter-spacing: 0.06em; }

  .devlog-post-header { max-width: 760px; margin: 0 auto; padding: 140px 40px 40px; display: flex; flex-direction: column; gap: 16px; }
  .devlog-post-header .date { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dimmer); }
  .devlog-post-header h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 0; }
  .devlog-post-body { max-width: 760px; margin: 0 auto; padding: 0 40px 120px; color: var(--bone-dim); font-weight: 300; font-size: 15px; line-height: 1.9; white-space: pre-wrap; }
  .devlog-post-back { display: inline-block; margin-top: 24px; }

  .faq-list { max-width: 760px; margin: 0 auto; padding: 0 40px 120px; display: flex; flex-direction: column; }
  .faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
  .faq-item:last-child { border-bottom: 1px solid var(--line); }
  .faq-item summary { cursor: pointer; font-size: 17px; font-weight: 500; color: var(--bone); list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: '+'; font-family: 'IBM Plex Mono', monospace; color: var(--bone-dimmer); font-size: 20px; flex-shrink: 0; }
  .faq-item[open] summary::after { content: '\2212'; }
  .faq-item p { color: var(--bone-dim); font-weight: 300; font-size: 14px; line-height: 1.8; margin: 14px 0 0; }

  .admin-wrap { max-width: 860px; margin: 0 auto; padding: 140px 40px 120px; display: flex; flex-direction: column; gap: 48px; }
  .admin-card { border: 1px solid var(--line); background: var(--panel); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
  .admin-card h2 { font-family: 'Bodoni Moda', serif; font-size: 24px; margin: 0; font-weight: 500; }
  .admin-form { display: flex; flex-direction: column; gap: 14px; }
  .admin-form label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dimmer); display: flex; flex-direction: column; gap: 6px; }
  .admin-form input[type="text"], .admin-form input[type="email"], .admin-form input[type="password"], .admin-form input[type="url"], .admin-form input[type="number"], .admin-form textarea {
    background: transparent; border: 1px solid var(--line-strong); padding: 12px 14px; color: var(--bone);
    font-family: 'IBM Plex Mono', monospace; font-size: 13px; outline: none; width: 100%;
  }
  .admin-form textarea { min-height: 140px; resize: vertical; }
  .admin-form .checkbox-row { flex-direction: row; align-items: center; gap: 10px; }
  .admin-form .checkbox-row input { width: auto; }
  .admin-form .form-row { display: flex; flex-direction: row; gap: 14px; }
  .admin-form .form-row > label { flex: 1; }
  .admin-form .form-row > label.narrow { flex: 0 0 100px; }
  .admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .admin-btn {
    padding: 12px 22px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; cursor: pointer; border: 1px solid var(--line-strong); background: transparent; color: var(--bone);
  }
  .admin-btn.primary { background: var(--red); border-color: var(--red); color: #f4f0e8; }
  .admin-btn.primary:hover { background: var(--red-light); border-color: var(--red-light); }
  .admin-btn.danger { border-color: #d98a7f; color: #d98a7f; }
  .admin-btn:disabled { opacity: 0.5; cursor: not-allowed; }
  .admin-list { display: flex; flex-direction: column; }
  .admin-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .admin-row:last-child { border-bottom: 1px solid var(--line); }
  .admin-row-title { display: flex; flex-direction: column; gap: 4px; }
  .admin-row-title strong { font-size: 15px; font-weight: 500; }
  .admin-row-title span { font-size: 11px; color: var(--bone-dimmer); letter-spacing: 0.08em; }
  .admin-badge { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-strong); white-space: nowrap; color: var(--bone-dimmer); }
  .admin-badge.published { color: var(--red-light); border-color: var(--red-light); }
  .admin-empty { color: var(--bone-dimmer); font-size: 13px; padding: 24px 0; text-align: center; }
  .admin-msg { font-size: 12px; min-height: 18px; }
  .admin-msg[data-state="ok"] { color: var(--red-light); }
  .admin-msg[data-state="error"] { color: #d98a7f; }

  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.7,.2,1); }
  [data-reveal].is-visible { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero::before { animation: none; }
    .game-card, .game-shots img { transition: none; }
    .game-card:hover { transform: none; }
  }
