/* Leikpyar Hunters - the website. Font: DM Sans only. No emoji, icons are SVG. */

/* The Burmese font of the game (MM.ttf). Only the Burmese letters use it, the English text stays DM Sans. */
@font-face {
  font-family: "MM";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/MM.woff?v=c7dca9d7e1") format("woff");
  unicode-range: U+1000-109F, U+A9E0-A9FF, U+AA60-AA7F, U+200B-200D;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/fonts/DMSans-latin.woff2?v=89c7ce3aaf") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/fonts/DMSans-latin-ext.woff2?v=5d99dbdccc") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a0604;
  --bg-2: #120b07;
  --panel: #1a110b;
  --panel-2: #20150e;
  --line: rgba(255, 224, 188, 0.1);
  --line-2: rgba(255, 224, 188, 0.18);
  --bone: #efe4d2;
  --muted: #a99a8a;
  --dim: #7b6e62;
  --blood: #c8151f;
  --blood-2: #e5333d;
  --blood-dark: #5a0b11;
  --amber: #e2a65a;
  --cold: #86b6d8;
  --ok: #4fcf7a;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --pad: clamp(18px, 4.5vw, 40px);
  --header-h: 68px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: "DM Sans", "MM", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blood); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bone); color: #000; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.center { text-align: center; justify-content: center; }

/* ---------------------------------------------------------------------------- icons */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 38px; height: 38px; stroke-width: 1.5; }

/* ---------------------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 650; font-size: 16px; letter-spacing: 0.01em; text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: linear-gradient(180deg, var(--blood-2), var(--blood)); color: #fff; box-shadow: 0 10px 30px rgba(200, 21, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(229, 51, 61, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 224, 188, 0.05); border-color: var(--line-2); color: var(--bone); }
.btn-ghost:hover { background: rgba(255, 224, 188, 0.1); border-color: rgba(255, 224, 188, 0.32); }
.btn-quiet { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-quiet:hover { color: var(--bone); border-color: var(--line-2); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 1px solid var(--line); color: var(--bone); }
.icon-btn:hover { background: rgba(255, 224, 188, 0.08); }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 10px; background: rgba(255, 224, 188, 0.05); border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; max-width: 190px; }
.chip-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-btn:hover { background: rgba(255, 224, 188, 0.1); }
.chip-btn.on { border-color: rgba(79, 207, 122, 0.45); }
.chip-btn.on .ico { color: var(--ok); }

/* ---------------------------------------------------------------------------- header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(10, 6, 4, 0.85), rgba(10, 6, 4, 0));
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(10, 6, 4, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.brand-text { white-space: nowrap; font-weight: 500; font-size: 20px; letter-spacing: 0.02em; }
.brand-text b { font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 550; font-size: 15px; padding: 9px 13px; border-radius: 10px; transition: color .15s, background .15s; }
.nav a:hover, .nav a.active { color: var(--bone); background: rgba(255, 224, 188, 0.07); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

/* ---------------------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 36px) 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 72% 18%, #2c180f 0%, #170d08 46%, #080503 100%); }
.beam { position: absolute; top: -30%; height: 170%; width: 16%; transform: rotate(18deg); background: linear-gradient(180deg, rgba(255, 213, 160, 0), rgba(255, 213, 160, 0.085) 35%, rgba(255, 213, 160, 0.02) 75%, rgba(255, 213, 160, 0)); filter: blur(10px); animation: beam 11s ease-in-out infinite alternate; }
.beam.b1 { left: 48%; animation-delay: -2s; }
.beam.b2 { left: 62%; width: 11%; opacity: 0.8; animation-delay: -6s; }
.beam.b3 { left: 76%; width: 7%; opacity: 0.65; animation-delay: -9s; }
@keyframes beam { from { opacity: 0.35; transform: rotate(18deg) translateX(-14px); } to { opacity: 1; transform: rotate(18deg) translateX(18px); } }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.grain { position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 6, 4, 0.55) 0%, rgba(10, 6, 4, 0) 22%, rgba(10, 6, 4, 0) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(10, 6, 4, 0.7), rgba(10, 6, 4, 0) 40%, rgba(10, 6, 4, 0) 70%, rgba(10, 6, 4, 0.55)); }

.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blood-2); }
.eyebrow .ico { width: 18px; height: 18px; }
.hero-title { margin: 0; font-size: clamp(54px, 9.6vw, 128px); line-height: 0.92; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.hero-title span { display: block; font-weight: 300; color: var(--bone); opacity: 0.92; letter-spacing: -0.03em; }
.hero-sub { margin: 24px 0 0; max-width: 560px; font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 28px 0 0; color: var(--dim); font-size: 14px; font-weight: 600; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ico { width: 17px; height: 17px; }

.hero-art { display: flex; justify-content: center; }
.frame { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1.08; border-radius: 6px; background: radial-gradient(ellipse at 50% 45%, rgba(40, 24, 16, 0.55), rgba(14, 8, 5, 0) 70%); }
.viewer { width: 100%; height: 100%; background: transparent; --poster-color: transparent; --progress-bar-color: var(--blood-2); outline: none; }
.corner { display: none; position: absolute; width: 26px; height: 26px; border: 2px solid var(--blood); opacity: 0.9; pointer-events: none; }
.corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.frame-tag { position: absolute; top: 16px; left: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone); opacity: 0.8; pointer-events: none; }
.frame-tag .ico { width: 16px; height: 16px; color: var(--blood-2); }
.frame-credit { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--dim); pointer-events: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(30px, 6vw, 60px) 0 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(18, 11, 7, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; }
.stats > div { padding: 20px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats dt { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.stats dd { margin: 4px 0 0; font-size: clamp(26px, 4vw, 38px); font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(70px, 11vw, 130px) 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto clamp(34px, 6vw, 60px); text-align: center; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head h2 { margin: 0; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.04; font-weight: 750; letter-spacing: -0.03em; text-wrap: balance; }
.lead { margin: 16px 0 0; font-size: clamp(17px, 2vw, 19px); color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.note { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.note .ico { width: 18px; height: 18px; margin-top: 2px; }
.note a { color: var(--amber); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--blood), transparent); opacity: 0; transition: opacity .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.card .num { position: absolute; top: 18px; right: 20px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--dim); }
.card .ico-lg { color: var(--blood-2); margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(18, 11, 7, 0.5); }
.tl-item { position: relative; padding: 24px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.tl-item:last-child { border-right: 0; }
.tl-item .ico { color: var(--amber); margin-bottom: 4px; }
.tl-item b { font-size: 22px; font-weight: 750; letter-spacing: -0.01em; }
.tl-item span { color: var(--muted); font-size: 15px; }

.panel { padding: clamp(22px, 3.5vw, 32px); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head h3 { margin: 0; font-size: 21px; font-weight: 700; }
.panel-head .ico { color: var(--blood-2); }
.pill { margin-left: auto; display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255, 224, 188, 0.07); border: 1px solid var(--line-2); color: var(--muted); }
.pill.ok { color: var(--ok); border-color: rgba(79, 207, 122, 0.4); background: rgba(79, 207, 122, 0.08); }
.pill.warn { color: var(--amber); border-color: rgba(226, 166, 90, 0.4); background: rgba(226, 166, 90, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.play-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 16px; align-items: start; }
.meter { height: 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); overflow: hidden; margin-top: 16px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blood-dark), var(--blood-2)); box-shadow: 0 0 14px rgba(229, 51, 61, 0.6); transition: width .25s ease; }
.meter-row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.keys li { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.keys li:last-child { border-bottom: 0; }
.keys span { margin-left: 8px; }
kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 7px; font: 700 13px/1 "DM Sans", sans-serif; color: var(--bone); background: #0c0705; border: 1px solid var(--blood-dark); box-shadow: inset 0 -2px 0 rgba(200, 21, 31, 0.25); }

/* ---------------------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.model-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.model-stage { position: relative; aspect-ratio: 4 / 3.3; background: radial-gradient(90% 80% at 50% 38%, #2a180f, #100906); }
.model-stage model-viewer { width: 100%; height: 100%; background: transparent; --progress-bar-color: var(--blood-2); outline: none; }
.model-stage::after { /* a see-through cover: the art can be looked at, not grabbed */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0) 0 46px, rgba(255, 224, 188, 0.025) 46px 47px);
}
.watermark { position: absolute; right: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: rgba(239, 228, 210, 0.55); pointer-events: none; text-shadow: 0 1px 8px #000; }
.watermark .ico { width: 15px; height: 15px; }
.model-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; pointer-events: none; }
.model-info { padding: 20px 22px 22px; }
.model-info h3 { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.model-info p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.model-by { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); font-weight: 600; }
.model-by .ico { width: 16px; height: 16px; color: var(--blood-2); }
.model-soon { display: grid; place-items: center; text-align: center; padding: 30px; min-height: 280px; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); color: var(--dim); gap: 10px; }
.model-soon .ico { width: 34px; height: 34px; margin-inline: auto; color: var(--dim); stroke-width: 1.4; }

/* ---------------------------------------------------------------------------- arcade leaderboard */
.arcade { position: relative; max-width: 940px; margin: 0 auto; padding: clamp(18px, 3vw, 30px); border-radius: var(--radius-lg); background: #0b0705; border: 1px solid var(--line-2); box-shadow: var(--shadow), inset 0 0 0 1px rgba(0, 0, 0, 0.6); overflow: hidden; }
.arcade::before { /* the screen lines */ content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 224, 188, 0.03) 0 1px, rgba(0, 0, 0, 0) 1px 4px); z-index: 2; }
.arcade::after { /* the glow of the screen */ content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(200, 21, 31, 0.09), rgba(0, 0, 0, 0) 38%); }
.arcade-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; z-index: 3; }
.arcade-title { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(20px, 3.6vw, 30px); font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); }
.arcade-title .ico { width: 28px; height: 28px; }
.arcade-head, .row { display: grid; grid-template-columns: 76px minmax(0, 1.6fr) 74px 74px 74px minmax(110px, 0.9fr); gap: 10px; align-items: center; }
.arcade-head { position: relative; z-index: 3; padding: 0 16px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line-2); }
.col-n, .col-s { text-align: right; }
.board { position: relative; z-index: 3; list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 4px; }
.row { padding: 12px 16px; border-radius: 10px; font-variant-numeric: tabular-nums; border: 1px solid transparent; transition: background .15s; }
.row:hover { background: rgba(255, 224, 188, 0.05); }
.row .rank { font-size: 20px; font-weight: 800; letter-spacing: 0.06em; color: var(--muted); }
.row .who { min-width: 0; display: grid; }
.row .who b { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .who small { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--dim); }
.row .n { text-align: right; color: var(--muted); font-weight: 600; }
.row .s { text-align: right; font-size: 21px; font-weight: 800; letter-spacing: 0.08em; color: var(--bone); }
.row.r1 { background: linear-gradient(90deg, rgba(226, 166, 90, 0.18), rgba(226, 166, 90, 0.03)); border-color: rgba(226, 166, 90, 0.35); }
.row.r1 .rank, .row.r1 .s { color: #f0c27d; }
.row.r2 .rank, .row.r2 .s { color: #d4d0ca; }
.row.r3 .rank, .row.r3 .s { color: #d09062; }
.row.me { border-color: rgba(79, 207, 122, 0.5); background: rgba(79, 207, 122, 0.07); }
.you { display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; border-radius: 6px; color: #04140a; background: var(--ok); vertical-align: 2px; }
.board-empty { padding: 36px 16px; text-align: center; color: var(--dim); font-weight: 600; letter-spacing: 0.08em; list-style: none; }
.board-gap { text-align: center; color: var(--dim); letter-spacing: 0.4em; padding: 2px 0; list-style: none; }
.arcade-foot { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.blink { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); animation: blink 1.3s steps(2, jump-none) infinite; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.25; } }

/* ---------------------------------------------------------------------------- agent */
.agent-grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(28px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; color: var(--bone); font-weight: 550; }
.ticks .ico { color: var(--ok); }
.form { display: grid; gap: 16px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); }
.tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 650; font-size: 15px; transition: background .18s, color .18s; }
.tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--panel-2), #2a1b12); color: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.input { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-radius: 12px; background: #0c0705; border: 1px solid var(--line-2); transition: border-color .18s, box-shadow .18s; }
.input:focus-within { border-color: var(--blood-2); box-shadow: 0 0 0 3px rgba(229, 51, 61, 0.18); }
.input .ico { color: var(--dim); }
.input input { flex: 1; min-width: 0; height: 52px; background: transparent; border: 0; outline: 0; font-size: 17px; font-weight: 500; color: var(--bone); }
.input input::placeholder { color: var(--dim); }
.form-msg { margin: 0; min-height: 22px; font-size: 14.5px; font-weight: 600; color: var(--blood-2); }
.form-msg.ok { color: var(--ok); }

.badge-card { position: relative; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(155deg, #2b190f, #150c07 60%); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.badge-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--blood), var(--amber)); }
.badge-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; opacity: 0.05; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1'><path d='M12 11.500C10.500 6 6 3 3.200 4.400 1.600 5.200 2.200 9 4 11.400c1.100 1.500 3.600 2.300 6.500 1.900'/><path d='M12 11.500C13.500 6 18 3 20.800 4.400c1.600.8 1 4.600-.8 7-1.100 1.500-3.600 2.300-6.500 1.900'/></svg>") center / contain no-repeat; pointer-events: none; }
.badge-top { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.badge-mark { width: 26px; height: 26px; object-fit: contain; }
.badge-top .status { margin-left: auto; font-style: normal; display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.badge-top .status::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.badge-id { margin-top: 26px; font-size: clamp(34px, 8vw, 52px); font-weight: 800; letter-spacing: 0.08em; line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; }
.badge-name { margin-top: 8px; font-size: 22px; font-weight: 600; word-break: break-word; }
.badge-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 0; }
.badge-stats > div { padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.badge-stats dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.badge-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------------- license */
.license { max-width: 940px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.license-head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.license-head .ico-lg { color: var(--amber); }
.license-head h3 { margin: 0 0 4px; font-size: 24px; font-weight: 750; }
.license-head p { margin: 0; color: var(--muted); }
.license-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 24px; }
.license-cols h4 { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.license-cols > div:first-child h4 .ico { color: var(--ok); }
.license-cols > div:last-child h4 .ico { color: var(--blood-2); }
.license-cols ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------------------- footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); background: #070403; }
.foot-in { display: grid; gap: 10px; justify-items: start; }
.foot p { margin: 0; color: var(--muted); font-size: 15px; }
.foot .small { color: var(--dim); font-size: 13.5px; }

/* ---------------------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .tl-item:nth-child(2) { border-right: 0; }
  .tl-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .play-grid, .agent-grid { grid-template-columns: 1fr; }
  .agent-grid .sec-head.left { text-align: center; }
  .agent-grid .ticks { justify-items: start; width: fit-content; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 14px var(--pad) 22px; flex-direction: column; gap: 4px; background: rgba(10, 6, 4, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 18px; padding: 14px 12px; }
  .menu-btn { display: inline-grid; }
  .top-actions { margin-left: auto; }
  .top-actions .btn-primary { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 22px); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .frame { width: min(78vw, 340px); }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .eyebrow { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .license-cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .chip-btn { padding: 0; width: 44px; justify-content: center; }
  .chip-btn span { display: none; }
  .top-in { gap: 10px; }
  .top-actions { gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .tl-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .tl-item:last-child { border-bottom: 0; }
  .btn { min-height: 54px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .brand-text { font-size: 18px; }

  /* the leaderboard: rank, agent and score; the numbers under the name */
  .arcade-head { grid-template-columns: 56px minmax(0, 1fr) auto; padding-inline: 10px; }
  .arcade-head .col-n { display: none; }
  .row { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 12px 10px; }
  .row .n { display: none; }
  .row .who small.stats-line { display: block; margin-top: 2px; letter-spacing: 0.06em; }
  .row .rank { font-size: 17px; }
  .row .s { font-size: 18px; }
  .badge-stats { grid-template-columns: 1fr 1fr 1fr; }
  .badge-stats dd { font-size: 18px; }
}
@media (min-width: 641px) { .row .who small.stats-line { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam, .blink { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* the robot check (Google reCAPTCHA, 304 px wide: it is made smaller on a very narrow phone) */
.captcha { display: flex; justify-content: center; min-height: 78px; }
@media (max-width: 360px) { .captcha > div { transform: scale(0.88); transform-origin: center top; } }

/* the creators: a faceless avatar, the role, the name and their own copyright line */
.creators { max-width: 1180px; margin: 0 auto 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.creator { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.creator:hover { transform: translateY(-3px); border-color: var(--line-2); }
.creator img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #0b0705; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.creator-body { padding: 16px 18px 20px; display: grid; gap: 4px; align-content: start; }
.creator-body span { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blood-2); }
.creator-body h3 { margin: 0; font-size: 20px; font-weight: 750; }
.creator-body p { margin: 4px 0 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.creator-body small { color: var(--dim); font-size: 12.5px; }

/* the carousel at the top: two viewers on top of each other, the next one fades in. Nothing in it can be touched. */
.hero-view { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-view.on { opacity: 1; }
.frame-dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.frame-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); opacity: 0.45; transition: background .3s ease, opacity .3s ease, width .3s ease; }
.frame-dots i.on { width: 22px; border-radius: 4px; background: var(--blood-2); opacity: 1; }
/* more contributors: small landscape boxes (picture left, label, name and copyright line right) */
.credits-more { max-width: 1180px; margin: 0 auto 28px; }
.more-title { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.credits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .credits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .credits-grid { grid-template-columns: 1fr; } }
.credit-mini { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.credit-mini.noimg { grid-template-columns: 1fr; padding: 14px 18px; }
.credit-mini img { display: block; width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: #0b0705; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.credit-mini div { display: grid; gap: 2px; min-width: 0; }
.credit-mini span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blood-2); }
.credit-mini h4 { margin: 0; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.credit-mini small { color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
/* special thanks: the same small boxes; a box with sounds opens inside the card */
.thanks-grid { align-items: start; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .thanks-grid { grid-template-columns: 1fr; } }
.thanks { border-radius: 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); overflow: hidden; }
.thanks > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 10px 20px 10px 10px; }
.thanks.noimg > summary { grid-template-columns: 1fr auto; padding: 14px 20px 14px 18px; }
.thanks > summary::-webkit-details-marker { display: none; }
.thanks > summary img { display: block; width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: #0b0705; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.thanks > summary > div { display: grid; gap: 2px; min-width: 0; }
.thanks > summary span.role { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blood-2); }
.thanks > summary h4 { margin: 0; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.thanks > summary small { color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
.thanks .open-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.thanks .open-hint::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; margin-top: -3px; }
.thanks[open] .open-hint::after { transform: rotate(-135deg); margin-top: 3px; }
.sounds { list-style: none; margin: 0; padding: 10px 18px 14px; border-top: 1px solid var(--line); max-height: 280px; overflow: auto; display: grid; gap: 7px; }
.sounds li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.sounds li b { flex: 1; }
.play { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 224, 188, 0.06); cursor: pointer; padding: 0; }
.play::before { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid var(--bone); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play:hover { background: rgba(229, 51, 61, 0.2); border-color: var(--blood-2); }
.play.on { background: var(--blood); border-color: var(--blood); }
.play.on::before { left: 9px; top: 8px; width: 8px; height: 10px; border: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65% 100%); }
.sounds li b { font-weight: 500; color: var(--bone); overflow-wrap: anywhere; }
.sounds li span { color: var(--dim); text-align: right; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .creators { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .creators { grid-template-columns: 1fr; } }

/* EN | MM: the language switch in the header */
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: rgba(255, 224, 188, 0.05); flex: none; }
.lang button { background: transparent; border: 0; cursor: pointer; font-family: inherit; min-height: 40px; padding: 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); transition: background .18s, color .18s; }
.lang button:hover { color: var(--bone); }
.lang button[aria-pressed="true"] { background: var(--blood); color: #fff; }
@media (max-width: 520px) { .lang button { padding: 0 9px; font-size: 12px; } }

/* Burmese: the letters are joined, so no letter-spacing, and the lines need more room (the marks go above and below) */
html[lang="my"] body { line-height: 1.9; }
html[lang="my"] *, html[lang="my"] *::before, html[lang="my"] *::after { letter-spacing: normal !important; }
html[lang="my"] h2, html[lang="my"] h3, html[lang="my"] h4 { line-height: 1.55; }
html[lang="my"] .btn, html[lang="my"] .chip-btn, html[lang="my"] .nav a { line-height: 1.5; }
html[lang="my"] .lang button { letter-spacing: 0.08em !important; line-height: 1; }

/* the big frame at the top has no loading bar (the next model loads out of sight) */
.hero-view::part(default-progress-bar) { display: none; }
@media (max-width: 520px) {
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-text { font-size: 15px; }
  .top-actions { gap: 6px; }
  .lang button { min-height: 38px; padding: 0 8px; }
}

/* ---------------------------------------------------------------------------- privacy page (the text can be edited in /admin/) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h3 { margin: 30px 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin: 0 0 6px; }
.foot .small a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot .small a:hover { color: var(--bone); }
