/* Bulu Bonk! — situs (landing, unduh, aturan). Tanpa framework, tanpa CDN. */

@font-face {
  font-family: "Lilita One";
  src: url("font/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("font/fredoka-latin.woff2") format("woff2"), url("font/Fredoka-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #4a2c40;
  --ink-2: #7a566c;
  --cream: #fff8f0;
  --paper: #ffffff;
  --line: rgba(74, 44, 64, 0.1);
  --pink: #ff7aa8;
  --pink-d: #e9508a;
  --pink-t: #ffe3ee;
  --pink-x: #b52a61;
  --link: #c8336d;
  --blue: #4fb3ff;
  --blue-d: #2b8fe0;
  --blue-t: #dff1ff;
  --mint: #6ee7b7;
  --mint-d: #2fbf8a;
  --mint-t: #d9f8ec;
  --sun: #ffd166;
  --sun-d: #f0a830;
  --sun-t: #fff3d1;
  --lilac: #b9a6ff;
  --lilac-d: #8a73f0;
  --lilac-t: #ece6ff;
  --orange: #ff9f43;
  --orange-t: #ffe9d6;
  --r-biasa: #9aa9b8;
  --r-langka: #3d9df5;
  --r-epik: #a865ff;
  --r-legenda: #ffad1f;
  --r-mitos: #ff4f9a;
  --radius-s: 14px;
  --radius: 24px;
  --radius-l: 32px;
  --shadow: 0 1px 2px rgba(74, 44, 64, 0.05), 0 14px 34px -18px rgba(74, 44, 64, 0.35);
  --shadow-s: 0 1px 2px rgba(74, 44, 64, 0.05), 0 8px 18px -12px rgba(74, 44, 64, 0.4);
  --font-title: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--pink-x); }
b, strong { font-weight: 600; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h2, h3, .title-font { font-family: var(--font-title); font-weight: 400; letter-spacing: 0.01em; }
h1, h2, h3, .head p, .page-hero p, .tagline, .modes-note, .chars-note { text-wrap: balance; }
h2 { font-size: clamp(2rem, 7.4vw, 3.1rem); line-height: 1.08; margin: 0.3em 0 0.32em; }
h3 { font-size: 1.375rem; line-height: 1.2; margin: 0 0 0.35em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: 0.25em 0; }
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0.12em 0.5em 0.18em;
  font: 600 0.875rem/1.3 var(--font-body);
  text-align: center;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(74, 44, 64, 0.2);
  border-bottom-width: 3.5px;
  border-radius: 9px;
  white-space: nowrap;
  vertical-align: 0.06em;
}
code {
  font-family: ui-monospace, "Cascadia Mono", "Consolas", "Menlo", monospace;
  font-size: 0.9em;
}
:focus-visible {
  outline: 3px solid var(--blue-d);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.22em;
}

/* ------------------------------------------------------------------ header */
/* the site header floats over the coloured hero of each page and stays on top while scrolling */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.top.is-scrolled {
  background: rgba(255, 248, 240, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 8px 22px -16px rgba(74, 44, 64, 0.5);
}
.top.is-scrolled .top__in { min-height: 58px; }
.top__in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-right: auto;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 10px -4px rgba(74, 44, 64, 0.45);
}
.brand:hover { color: var(--ink); }
.nav { display: none; }
.nav a {
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.85); }
@media (min-width: 900px) {
  .nav { display: flex; gap: 2px; margin-right: 8px; }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0.7em 1.4em;
  border: 0;
  border-radius: 999px;
  font: 600 1.0625rem/1.15 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn:active { transform: translateY(3px); }
.btn small { font-size: 0.82em; font-weight: 500; opacity: 0.85; }

.btn--play,
.btn--blue {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: #fff;
  min-height: 62px;
  padding: 0.5em 1.5em 0.55em;
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--ink);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .btn--play,
  .btn--blue { font-size: 1.375rem; padding-left: 1.15em; padding-right: 1.15em; }
}
.btn--play {
  background: linear-gradient(180deg, #ff94bb 0%, #ff6b9e 55%, #f5568f 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 6px 0 #c93a6f, 0 16px 26px -10px rgba(201, 58, 111, 0.65);
}
.btn--play:hover { color: #fff; background: linear-gradient(180deg, #ffa0c3 0%, #ff76a6 55%, #f75f96 100%); }
.btn--play:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 3px 0 #c93a6f, 0 8px 16px -10px rgba(201, 58, 111, 0.65); }
.btn--blue {
  background: linear-gradient(180deg, #7cc8ff 0%, #4fb3ff 55%, #3aa3f5 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 6px 0 #2479c4, 0 16px 26px -10px rgba(36, 121, 196, 0.6);
}
.btn--blue:hover { color: #fff; background: linear-gradient(180deg, #8ad0ff 0%, #5dbaff 55%, #45aaf7 100%); }
.btn--blue:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 3px 0 #2479c4, 0 8px 16px -10px rgba(36, 121, 196, 0.6); }
.btn--play .ic,
.btn--blue .ic {
  width: 0.95em;
  height: 0.95em;
  stroke: var(--ink);
  stroke-width: 2.6;
  fill: #fff;
  overflow: visible;
}
.btn--play .ic--dl,
.btn--blue .ic--dl { fill: none; stroke: #fff; stroke-width: 3.2; filter: drop-shadow(0 2px 0 var(--ink)); }
.btn--play small,
.btn--blue small {
  font-family: var(--font-body);
  font-weight: 600;
  -webkit-text-stroke: 0;
  text-shadow: none;
  letter-spacing: 0;
  font-size: 0.6em;
  background: rgba(74, 44, 64, 0.22);
  padding: 0.2em 0.6em;
  border-radius: 999px;
  opacity: 1;
}

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--blue);
  box-shadow: 0 5px 0 var(--blue-d), 0 14px 22px -14px rgba(43, 143, 224, 0.7);
  padding: 0.6em 1.3em;
}
.btn--ghost:hover { color: var(--ink); background: #f3f9ff; }
.btn--ghost:active { box-shadow: 0 2px 0 var(--blue-d); }
.btn--ghost .ic { color: var(--blue-d); stroke-width: 2.6; }
.btn--ghost small { color: var(--ink-2); }

.btn--soft {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(74, 44, 64, 0.12), 0 4px 0 rgba(74, 44, 64, 0.12);
}
.btn--soft:hover { color: var(--ink); background: #fffafc; }
.btn--soft:active { box-shadow: inset 0 0 0 2px rgba(74, 44, 64, 0.12), 0 1px 0 rgba(74, 44, 64, 0.12); }

.btn--sm {
  min-height: 44px;
  padding: 0.45em 1.05em 0.5em;
  font-size: 1.125rem;
  -webkit-text-stroke-width: 4px;
  text-shadow: 0 2px 0 var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 4px 0 #c93a6f;
}
.btn--sm .ic { width: 0.85em; height: 0.85em; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 14px;
}

/* ------------------------------------------------------------------ chips & badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.22em 0.7em 0.25em;
  border-radius: 999px;
  font: 600 0.8125rem/1.25 var(--font-body);
  white-space: nowrap;
  background: #f2edf0;
  color: var(--ink);
}
.chip::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}
.chip--plain::before { display: none; }
.chip--biasa { background: #e9eef3; color: #4d5b69; }
.chip--biasa::before { background: var(--r-biasa); opacity: 1; }
.chip--langka { background: #dff0ff; color: #1665b5; }
.chip--langka::before { background: var(--r-langka); opacity: 1; }
.chip--epik { background: #f0e5ff; color: #7134c9; }
.chip--epik::before { background: var(--r-epik); opacity: 1; }
.chip--legenda { background: #fff0d4; color: #9a5a00; }
.chip--legenda::before { background: var(--r-legenda); opacity: 1; }
.chip--mitos { background: #ffe1ee; color: #c2185b; }
.chip--mitos::before { background: var(--r-mitos); opacity: 1; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.42em 0.95em 0.45em;
  border-radius: 999px;
  font: 600 0.875rem/1.1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-x);
  background: var(--pink-t);
}
.kicker .ic { width: 1.1em; height: 1.1em; }
.kicker--blue { color: #1665b5; background: var(--blue-t); }
.kicker--mint { color: #137a55; background: var(--mint-t); }
.kicker--sun { color: #8a5a00; background: var(--sun-t); }
.kicker--lilac { color: #5b3fc9; background: var(--lilac-t); }

.ver-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 6px;
  padding: 0.38em 0.95em 0.4em 0.75em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-s);
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
}
.ver-badge:hover { color: var(--ink); background: #fff; }
.ver-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint-d);
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.45);
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #c9e8ff 0%, #e4dcff 48%, #ffdcea 100%);
  padding: 68px 0 54px;
}
.hero__in {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 18px;
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cloud {
  position: absolute;
  width: 150px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.85;
  box-shadow: 0 8px 18px -12px rgba(74, 44, 64, 0.25);
  animation: drift 26s ease-in-out infinite alternate;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before { width: 64px; height: 64px; left: 22px; top: -30px; }
.cloud::after { width: 48px; height: 48px; left: 74px; top: -20px; }
.cloud--1 { left: -30px; top: 120px; transform: scale(0.8); }
.cloud--2 { right: -50px; top: 70px; transform: scale(1.05); animation-duration: 32s; animation-delay: -9s; }
.cloud--3 { left: 8%; top: 54%; transform: scale(0.55); opacity: 0.7; animation-duration: 38s; animation-delay: -4s; }
.cloud--4 { right: 6%; top: 46%; transform: scale(0.7); opacity: 0.75; animation-duration: 30s; animation-delay: -15s; }
@keyframes drift {
  from { translate: -14px 0; }
  to { translate: 14px 0; }
}
.spark {
  position: absolute;
  width: 18px;
  height: 18px;
  color: #fff;
  animation: twinkle 3.2s ease-in-out infinite;
}
.spark svg { width: 100%; height: 100%; fill: currentColor; }
.spark--1 { left: 7%; top: 31%; color: var(--sun); }
.spark--2 { right: 9%; top: 27%; color: #ff8fb7; width: 14px; height: 14px; animation-delay: -1.1s; }
.spark--3 { left: 21%; top: 12%; width: 12px; height: 12px; animation-delay: -2s; }
.spark--4 { right: 23%; top: 9%; width: 13px; height: 13px; animation-delay: -0.6s; }
.spark--5 { right: 4%; top: 63%; color: var(--lilac-d); width: 12px; height: 12px; animation-delay: -1.6s; }
@keyframes twinkle {
  0%, 100% { transform: scale(0.75) rotate(0deg); opacity: 0.55; }
  50% { transform: scale(1.1) rotate(20deg); opacity: 1; }
}

.logo {
  margin: 4px 0 6px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(3.4rem, 17.2vw, 7.6rem);
  line-height: 1.02;
  letter-spacing: 0.035em;
  white-space: nowrap;
  -webkit-text-stroke: 0.2em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 0.075em 0 var(--ink);
}
.logo span { display: inline-block; animation: bob 2.8s ease-in-out infinite; }
.logo span:nth-child(1) { color: #ff7aa8; animation-delay: 0s; }
.logo span:nth-child(2) { color: #ffd166; animation-delay: -0.2s; }
.logo span:nth-child(3) { color: #6ee7b7; animation-delay: -0.4s; }
.logo span:nth-child(4) { color: #4fb3ff; animation-delay: -0.6s; }
.logo span:nth-child(5) { width: 0.22em; animation: none; }
.logo span:nth-child(6) { color: #ff9f43; animation-delay: -1s; }
.logo span:nth-child(7) { color: #b9a6ff; animation-delay: -1.2s; }
.logo span:nth-child(8) { color: #ff7aa8; animation-delay: -1.4s; }
.logo span:nth-child(9) { color: #6ee7b7; animation-delay: -1.6s; }
.logo span:nth-child(10) { color: #ffd166; animation-delay: -1.8s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-0.045em) rotate(-2deg); }
  75% { transform: translateY(0.02em) rotate(1.5deg); }
}
.tagline {
  max-width: 34ch;
  margin: 10px auto 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}
.tagline b { font-weight: 650; }
.hero__art {
  position: relative;
  margin: 14px -16px 14px;
}
.hero__art::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -4%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}
.hero__art img {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.hero .btn-row { margin-top: 6px; }
.hero__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 550;
}
.hero__checks li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.hero__checks .ic { color: var(--mint-d); stroke-width: 3; width: 1.05em; height: 1.05em; }
.hero__hint {
  margin: 14px auto 0;
  max-width: 36ch;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.hero__hint a { font-weight: 550; }
.dl-hint {
  max-width: 560px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-s);
  font-size: 0.9375rem;
  text-align: left;
}
.dl-hint b { font-weight: 650; }
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 46px;
  z-index: 2;
  display: block;
}
.wave path { fill: var(--cream); }

@media (max-width: 599px) {
  /* phones: show the 7 middle characters bigger (crop lines fall in the empty gaps of lineup.webp) */
  .hero__art img { aspect-ratio: 3.05 / 1; object-fit: cover; object-position: 50% 50%; }
}
@media (min-width: 600px) {
  .tagline { font-size: 1.25rem; }
  .hero__art { margin: 18px auto 18px; }
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .hero { padding-bottom: 80px; }
  .hero__in { padding-top: 26px; }
  .cloud--1 { left: 4%; top: 150px; transform: scale(1); }
  .cloud--2 { right: 5%; top: 96px; }
  .wave { height: 70px; }
}

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: 60px 0; }
.section--tint { background: #fff1f6; }
.section--tint + .section--tint { padding-top: 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.head p { color: var(--ink-2); font-size: 1.0625rem; margin: 0 auto; max-width: 60ch; }
@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .head { margin-bottom: 40px; }
  .head p { font-size: 1.1875rem; }
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* "Yang baru" */
.news { position: relative; z-index: 3; margin-top: -26px; padding: 0 0 8px; }
.news__card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 22px 20px;
  border: 3px solid #ffd2e2;
}
.news__sticker {
  position: absolute;
  top: -16px;
  right: 18px;
  transform: rotate(6deg);
  padding: 0.3em 0.8em 0.35em;
  border-radius: 12px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 0 var(--sun-d);
}
.news h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); margin: 0 0 0.15em; padding-right: 64px; }
.news__date { color: var(--ink-2); font-size: 0.9375rem; margin: 0 0 12px; }
.notes p { margin: 0 0 0.6em; }
.notes ul { list-style: none; padding: 0; margin: 0 0 0.6em; }
.notes li {
  position: relative;
  padding-left: 1.6em;
  margin: 0.45em 0;
}
.notes li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.38em;
  width: 0.8em;
  height: 0.8em;
  background: var(--pink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.9 6.2 3.8 9.4 11 11-7.2 1.6-10.1 4.8-11 11-.9-6.2-3.8-9.4-11-11 7.2-1.6 10.1-4.8 11-11z'/%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 24 24'%3E%3Cpath d='M12 1c.9 6.2 3.8 9.4 11 11-7.2 1.6-10.1 4.8-11 11-.9-6.2-3.8-9.4-11-11 7.2-1.6 10.1-4.8 11-11z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.notes li:nth-child(3n + 2)::before { background: var(--blue); }
.notes li:nth-child(3n + 3)::before { background: var(--sun-d); }
.notes.is-clamped li.is-extra { display: none; }
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: 4px;
  padding: 8px 2px;
  border: 0;
  background: none;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--link);
  cursor: pointer;
}
.more-btn:hover { color: var(--pink-x); }
.more-btn .ic { transition: transform 0.2s; }
.more-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }

/* feature cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { gap: 22px; } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.feat {
  --c: var(--pink);
  --ct: var(--pink-t);
  --cx: #d6457d;
  position: relative;
  overflow: hidden;
  padding: 24px 22px 22px;
}
.feat::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ct);
  opacity: 0.55;
}
.feat > * { position: relative; z-index: 1; }
.feat__ic {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: var(--ct);
  color: var(--cx);
  transform: rotate(-6deg);
  box-shadow: inset 0 -4px 0 rgba(74, 44, 64, 0.06);
}
.feat__ic .ic { width: 30px; height: 30px; stroke-width: 2.1; transform: rotate(6deg); }
.feat p { color: var(--ink-2); margin: 0; }
.feat p + p { margin-top: 0.6em; }
.feat a { font-weight: 600; }
@media (max-width: 599px) {
  /* phones: icon beside the title to keep the list short */
  .feat { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: center; padding: 20px 18px 20px; }
  .feat__ic { width: 52px; height: 52px; margin: 0; border-radius: 18px; }
  .feat__ic .ic { width: 27px; height: 27px; }
  .feat h3 { margin: 0; }
  .feat p { grid-column: 1 / -1; margin-top: 10px; }
  .feat p + p { margin-top: 0.5em; }
}
.feat--blue { --c: var(--blue); --ct: var(--blue-t); --cx: #2a86d1; }
.feat--mint { --c: var(--mint); --ct: var(--mint-t); --cx: #1f9e70; }
.feat--sun { --c: var(--sun); --ct: var(--sun-t); --cx: #c47f0a; }
.feat--lilac { --c: var(--lilac); --ct: var(--lilac-t); --cx: #7b61e8; }
.feat--orange { --c: var(--orange); --ct: var(--orange-t); --cx: #e07b1c; }

/* modes */
.modes { display: grid; gap: 14px; }
@media (min-width: 600px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.mode {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: start;
  align-content: start;
  padding: 18px 18px 18px 16px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-s);
}
.mode__emo {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--ct, var(--pink-t));
  font-size: 1.65rem;
  line-height: 1;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
.mode h3 { font-size: 1.3rem; margin: 0; }
.mode .chip { justify-self: start; margin: 2px 0 4px; }
.mode p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.mode--feat {
  position: relative;
  overflow: hidden;
  padding: 24px 20px 22px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 209, 102, 0.45), rgba(255, 209, 102, 0) 55%),
    linear-gradient(135deg, #ffe3ee 0%, #ece6ff 100%);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.mode--feat .mode__emo { background: #fff; width: 64px; height: 64px; font-size: 2.1rem; border-radius: 22px; }
.mode--feat h3 { font-size: 1.75rem; }
.mode--feat p { color: var(--ink); font-size: 1.0625rem; }
.mode--feat .tag-fav {
  position: absolute;
  top: 14px;
  right: -36px;
  transform: rotate(35deg);
  width: 140px;
  padding: 4px 0;
  text-align: center;
  background: var(--pink);
  color: #fff;
  font: 600 0.75rem/1.2 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (min-width: 600px) { .mode--feat { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  /* 3 columns: the featured card takes 2 slots, so 1 + 10 cards fill 4 complete rows */
  .mode--feat { grid-column: span 2; grid-template-columns: auto 1fr; padding: 26px 28px; }
}
.modes-note { text-align: center; color: var(--ink-2); margin: 22px auto 0; font-size: 1rem; max-width: 62ch; }

/* arena + screenshots */
.arena { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .arena { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.arena__text h2 { text-align: left; }
.arena__text > p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; padding: 0; list-style: none; }
.tags li { margin: 0; }
.tags .chip { font-size: 0.875rem; padding: 0.35em 0.85em 0.38em; }
.chip--mut { background: var(--lilac-t); color: #5b3fc9; }
.chip--evt { background: var(--sun-t); color: #8a5a00; }
.chip--map { background: var(--mint-t); color: #137a55; }
.sub { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin: 0; color: var(--ink); }

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  margin: 0 -16px;
  padding: 6px 16px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.shot {
  margin: 0;
  scroll-snap-align: start;
  background: var(--paper);
  border-radius: 22px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
  background: #e8e2f5;
}
.shot figcaption { padding: 9px 6px 3px; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); }
.shot figcaption b { color: var(--ink); }
@media (min-width: 600px) { .shots { grid-auto-columns: 62%; } }
@media (min-width: 900px) {
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    gap: 16px;
  }
  .shot:nth-child(odd) { transform: rotate(-1.2deg); }
  .shot:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
}

/* characters */
.filters {
  display: flex;
  gap: 8px;
  margin: 0 -16px 22px;
  padding: 4px 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .filters { justify-content: center; flex-wrap: wrap; margin: 0 0 26px; padding: 0; overflow: visible; } }
.filter {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  padding: 0.45em 1em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.9375rem/1.2 var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-s);
}
.filter .n { font-weight: 500; color: var(--ink-2); }
.filter i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--rc, var(--pink)); }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.filter[aria-pressed="true"] .n { color: rgba(255, 255, 255, 0.75); }

.chars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) { .chars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .chars { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.chars li { margin: 0; }
.char {
  --rc: var(--r-biasa);
  --rt: #eef2f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 6px 12px;
  border: 0;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-s), inset 0 -4px 0 var(--rc);
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.char:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow), inset 0 -4px 0 var(--rc); }
.char:active { transform: translateY(0) scale(0.98); }
.char__pic {
  position: relative;
  display: block;
  width: calc(100% + 12px);
  margin: 0 -6px 6px;
  aspect-ratio: 1 / 1;
  border-radius: 20px 20px 16px 16px;
  background: radial-gradient(circle at 50% 42%, #fff 0%, var(--rt) 68%);
  overflow: hidden;
}
.char__pic img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.14) translateY(-2%); }
.char__name { font-family: var(--font-title); font-size: 1.125rem; line-height: 1.1; letter-spacing: 0.01em; }
.char .chip { margin: 5px 0 4px; font-size: 0.75rem; padding: 0.18em 0.6em 0.2em; }
.char__skill { font-size: 0.875rem; line-height: 1.25; color: var(--ink-2); font-weight: 500; }
.char__free {
  position: absolute;
  left: 7px;
  top: 7px;
  padding: 0.15em 0.55em 0.2em;
  border-radius: 999px;
  background: var(--mint);
  color: #0f5c40;
  font: 600 0.6875rem/1.2 var(--font-body);
  letter-spacing: 0.03em;
}
.char--langka { --rc: var(--r-langka); --rt: #d9edff; }
.char--epik { --rc: var(--r-epik); --rt: #ece0ff; }
.char--legenda { --rc: var(--r-legenda); --rt: #ffeac2; }
.char--mitos { --rc: var(--r-mitos); --rt: #ffd8ea; }
.char--legenda .char__pic { background: radial-gradient(circle at 50% 42%, #fffaf0 0%, #ffe2a8 72%, #ffd27a 100%); }
.char--mitos .char__pic { background: radial-gradient(circle at 50% 40%, #fff 0%, #ffd6ea 45%, #e4d6ff 100%); }
@media (min-width: 600px) {
  .char__name { font-size: 1.25rem; }
  .char__skill { font-size: 0.9375rem; }
}
.chars-more { text-align: center; margin-top: 22px; }
.chars-note { text-align: center; color: var(--ink-2); max-width: 62ch; margin: 22px auto 0; font-size: 1rem; }
.load-msg { text-align: center; color: var(--ink-2); padding: 20px; }

/* character dialog */
.dlg {
  width: min(440px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(74, 44, 64, 0.55);
  overflow: auto;
}
.dlg::backdrop { background: rgba(74, 44, 64, 0.45); }
.dlg[open] { animation: pop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
.dlg:not([open]) { display: none; }
.dlg.is-fallback {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 60;
  height: fit-content;
}
@keyframes pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.dlg__pic {
  position: relative;
  aspect-ratio: 16 / 11;
  background: radial-gradient(circle at 50% 45%, #fff 0%, var(--rt, #eef2f6) 70%);
}
.dlg__pic.char--legenda { background: radial-gradient(circle at 50% 45%, #fffaf0 0%, #ffe2a8 72%, #ffd27a 100%); }
.dlg__pic.char--mitos { background: radial-gradient(circle at 50% 42%, #fff 0%, #ffd6ea 45%, #e4d6ff 100%); }
.dlg__pic img { width: 100%; height: 100%; object-fit: contain; }
.dlg__body { padding: 18px 22px 22px; }
.dlg__body h3 { font-size: 2rem; margin: 0; }
.dlg__sp { color: var(--ink-2); font-weight: 500; margin: 0 0 10px; }
.dlg__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.dlg__skill {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fbf4f8;
  margin: 0 0 16px;
}
.dlg__skill b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 1.25rem; }
.dlg__skill p { margin: 0.2em 0 0; }
.dlg__x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-s);
}
.dlg__x .ic { width: 22px; height: 22px; stroke-width: 2.6; }
.dlg .btn { width: 100%; }

/* how to play */
.howto { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .howto { grid-template-columns: 1.15fr 0.85fr; gap: 32px; } }
.keys { width: 100%; border-collapse: separate; border-spacing: 0; }
.keys caption { text-align: left; font-weight: 600; padding: 0 0 10px; }
.keys th,
.keys td { padding: 11px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.keys thead th { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); font-weight: 600; padding-top: 4px; }
.keys tbody th { font-weight: 600; white-space: nowrap; }
.keys tr:last-child th,
.keys tr:last-child td { border-bottom: 0; }
.keys td { line-height: 2; }
.keys .or { color: var(--ink-2); font-size: 0.875rem; margin: 0 0.15em; }
.keys .note { display: block; color: var(--ink-2); font-size: 0.875rem; line-height: 1.35; margin-top: 2px; }
.keys .pad { color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 599px) {
  .keys thead { display: none; }
  .keys tbody { display: block; }
  .keys tr {
    display: grid;
    grid-template-columns: 6.6em minmax(0, 1fr);
    column-gap: 10px;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }
  .keys tr:last-child { border-bottom: 0; }
  .keys th,
  .keys td { display: block; border: 0; padding: 0; }
  .keys tbody th { white-space: normal; line-height: 1.3; font-size: 0.9375rem; }
  .keys td { line-height: 1.9; }
  .keys td.pad { grid-column: 2; line-height: 1.35; font-size: 0.8125rem; }
  .keys td.pad::before { content: "Gamepad: "; font-weight: 600; }
  .keys td.pad:empty { display: none; }
  .keys .note { font-size: 0.8125rem; }
}
.keys td.pad { white-space: nowrap; }
.tips { margin: 0; padding: 0; list-style: none; }
.tips li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 0 0 14px;
}
.tips .num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--sun);
  font-family: var(--font-title);
  font-size: 1.1rem;
  box-shadow: 0 3px 0 var(--sun-d);
}
.tips li:nth-child(2) .num { background: var(--mint); box-shadow: 0 3px 0 var(--mint-d); }
.tips li:nth-child(3) .num { background: var(--blue); box-shadow: 0 3px 0 var(--blue-d); }
.tips li:nth-child(4) .num { background: var(--lilac); box-shadow: 0 3px 0 var(--lilac-d); }
.tips li:nth-child(5) .num { background: var(--pink); box-shadow: 0 3px 0 var(--pink-d); }
.tips b { display: block; }
.tips span { color: var(--ink-2); }
.local-note { margin: 16px 0 0; padding: 14px 16px; border-radius: 18px; background: #fbf4f8; font-size: 0.9375rem; line-height: 1.55; }
.local-note dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; margin: 10px 0 8px; }
.local-note dt {
  align-self: start;
  margin-top: 0.15em;
  padding: 0.1em 0.5em;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font: 600 0.8125rem/1.5 var(--font-body);
}
.local-note dd { margin: 0; line-height: 2; }
.local-note > span { color: var(--ink-2); }

/* final CTA */
.cta-band { padding: 0 0 64px; }
.cta-band__in {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 40px 20px 34px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(110, 231, 183, 0.5), rgba(110, 231, 183, 0) 60%),
    radial-gradient(90% 120% at 100% 0%, rgba(255, 209, 102, 0.55), rgba(255, 209, 102, 0) 60%),
    linear-gradient(135deg, #ffd3e4 0%, #e3dcff 100%);
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-top: 0; }
.cta-band p { max-width: 46ch; margin: 0 auto 22px; font-weight: 500; }
.cta-band__pals { display: flex; justify-content: center; gap: 0; margin: -6px 0 6px; }
.cta-band__pals img { width: 92px; height: 92px; margin: 0 -10px; }
@media (min-width: 900px) { .cta-band { padding-bottom: 90px; } .cta-band__in { padding: 56px 40px 48px; } .cta-band__pals img { width: 120px; height: 120px; } }

/* ------------------------------------------------------------------ footer */
.foot {
  padding: 38px 0 calc(30px + env(safe-area-inset-bottom, 0px));
  background: #fbeef4;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.foot__in { display: grid; gap: 18px; text-align: center; justify-items: center; }
.foot .brand { margin: 0; font-size: 1.35rem; }
.foot__love { color: var(--ink); font-weight: 550; margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.foot__links li { margin: 0; }
.foot__links a { display: inline-block; padding: 8px 10px; color: var(--ink); font-weight: 550; text-decoration: none; border-radius: 999px; }
.foot__links a:hover { background: #fff; color: var(--ink); }
.foot__credits { margin: 0; line-height: 1.6; max-width: 70ch; }
.foot__credits a { color: var(--ink-2); }

/* ------------------------------------------------------------------ sub pages */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #c9e8ff 0%, #e4dcff 60%, #ffe6ef 100%);
  padding: 68px 0 60px;
}
.page-hero--pink { background: linear-gradient(180deg, #ffe0ec 0%, #efe6ff 60%, #fff1f6 100%); }
.page-hero__in { position: relative; z-index: 2; text-align: center; padding-top: 18px; }
.page-hero h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.3rem, 9.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.015em;
  margin: 10px 0 10px;
}
.page-hero p { max-width: 52ch; margin: 0 auto; font-size: 1.125rem; font-weight: 500; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, 0.75); padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 0.9375rem; }
.crumb:hover { color: var(--ink); background: #fff; }
.crumb .ic { transform: rotate(180deg); width: 1.05em; height: 1.05em; }

/* download card */
.dl { position: relative; z-index: 3; margin-top: -34px; }
.dl__card {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 20px 24px;
  text-align: center;
  border: 3px solid #d6ecff;
}
.dl__ver { font-family: var(--font-title); font-size: 1.6rem; line-height: 1.1; margin: 0; }
.dl__meta { color: var(--ink-2); margin: 6px 0 20px; }
.dl__card .btn--blue { width: 100%; max-width: 420px; }
.dl__small { margin: 18px 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.dl__notes { text-align: left; margin: 22px 0 0; padding: 18px 18px 8px; border-radius: 20px; background: #fbf4f8; }
.dl__notes h2 { font-size: 1.35rem; margin: 0 0 8px; }

details.peek {
  margin: 18px auto 0;
  max-width: 640px;
  text-align: left;
  border-radius: 18px;
  background: #f6f9fd;
  border: 1.5px solid #dbe9f7;
}
details.peek summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
details.peek summary::-webkit-details-marker { display: none; }
details.peek summary .ic:last-child { margin-left: auto; transition: transform 0.2s; }
details.peek[open] summary .ic:last-child { transform: rotate(180deg); }
.peek__body { padding: 0 16px 16px; font-size: 0.9375rem; }
.hash {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin: 6px 0 12px;
}
.hash code {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #dbe9f7;
  word-break: break-all;
  font-size: 0.875rem;
  line-height: 1.45;
}
.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-t);
  color: #1665b5;
  font: 600 0.9375rem/1 var(--font-body);
  cursor: pointer;
}
.copy-btn:hover { background: #cde8ff; }
.hash code.cmd,
.cmd {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 0;
  background: #2d1f2a;
  color: #ffe9f2;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.peek__end { margin: 0; }

.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.step {
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 74px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-s);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--sun);
  box-shadow: 0 4px 0 var(--sun-d);
  font-family: var(--font-title);
  font-size: 1.35rem;
}
.step:nth-child(2)::before { background: var(--mint); box-shadow: 0 4px 0 var(--mint-d); }
.step:nth-child(3)::before { background: var(--blue); box-shadow: 0 4px 0 var(--blue-d); }
.step:nth-child(4)::before { background: var(--pink); box-shadow: 0 4px 0 var(--pink-d); }
.step h3 { font-size: 1.25rem; }
.step p { margin: 0; color: var(--ink-2); }
.step p + p { margin-top: 0.5em; }
.step--wide { grid-column: 1 / -1; }

/* SmartScreen illustration (not a real dialog) */
.ss { display: grid; gap: 12px; margin: 16px 0 4px; }
@media (min-width: 700px) { .ss { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ss__win {
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 10px;
  background: #1666b8;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.4;
  box-shadow: 0 10px 22px -12px rgba(22, 102, 184, 0.9);
}
.step .ss__win p { margin: 0 0 8px; color: rgba(255, 255, 255, 0.92); }
.step .ss__win .t { font-size: 1.15rem; font-weight: 300; margin: 0 0 6px; color: #fff; }
.ss__link { display: inline-block; text-decoration: underline; font-weight: 600; padding: 2px 4px; border-radius: 6px; }
.ss__btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.ss__btn { padding: 5px 12px; border: 1.5px solid rgba(255, 255, 255, 0.8); border-radius: 4px; font-weight: 600; }
.ss__hl { outline: 3px solid var(--sun); outline-offset: 2px; background: rgba(255, 209, 102, 0.25); }
.ss__num {
  position: absolute;
  top: -12px;
  left: -10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1rem;
  box-shadow: 0 3px 0 var(--sun-d);
}
.ss__cap { font-size: 0.875rem; color: var(--ink-2); margin: 6px 0 0; }

.info-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.info { padding: 22px; }
.info h2 { font-size: 1.6rem; margin: 6px 0 8px; }
.info ul { margin: 0; padding: 0; list-style: none; }
.info li { position: relative; padding-left: 1.7em; margin: 0.5em 0; }
.info li > .ic { position: absolute; left: 0; top: 0.22em; color: var(--mint-d); stroke-width: 3; width: 1.15em; height: 1.15em; }
.info p { color: var(--ink-2); margin: 0; }
.info p + p { margin-top: 0.6em; }

.alt-play {
  display: grid;
  gap: 16px;
  align-items: center;
  text-align: center;
  padding: 28px 22px;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, #ffe3ee 0%, #fff3d1 100%);
  box-shadow: var(--shadow);
}
.alt-play h2 { margin: 0; font-size: clamp(1.7rem, 6vw, 2.3rem); }
.alt-play p { margin: 0 auto; max-width: 52ch; }
@media (min-width: 800px) { .alt-play { grid-template-columns: 1fr auto; text-align: left; padding: 32px 36px; } .alt-play p { margin: 0; } }

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-s); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { margin-left: auto; transition: transform 0.2s; color: var(--ink-2); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .a { padding: 0 18px 16px; color: var(--ink-2); }
.faq .a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ rules / privacy (long text) */
.doc { padding: 0 0 70px; }
.doc__grid { display: grid; gap: 26px; }
@media (min-width: 1000px) { .doc__grid { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; } }
.toc {
  padding: 18px 18px 14px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-s);
}
.toc b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 1.2rem; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: 0.35em 0; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 550; }
.toc a:hover { color: var(--link); text-decoration: underline; }
@media (min-width: 1000px) { .toc { position: sticky; top: 16px; } }
.tldr {
  display: grid;
  gap: 10px;
  padding: 20px 20px 18px;
  margin: -30px 0 26px;
  position: relative;
  z-index: 3;
  border: 3px solid #ffd2e2;
}
.tldr h2 { font-size: 1.5rem; margin: 0; }
.tldr ul { margin: 0; padding: 0; list-style: none; }
.tldr li { position: relative; padding-left: 1.7em; margin: 0.4em 0; }
.tldr li > .ic { position: absolute; left: 0; top: 0.22em; color: var(--mint-d); stroke-width: 3; width: 1.15em; height: 1.15em; }
.prose > section { padding-top: 10px; margin-bottom: 34px; }
.prose h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.7rem, 6.2vw, 2.3rem);
  margin: 0 0 14px;
}
.prose h2 .n {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--pink-t);
  color: var(--pink-x);
  font-size: 1.4rem;
}
.prose h3 { font-size: 1.3rem; margin: 22px 0 8px; }
.prose p,
.prose li { max-width: 70ch; }
.rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow-s);
}
.rules .emo { font-size: 1.5rem; line-height: 1.2; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.rules b { display: block; }
.rules span { color: var(--ink-2); }
.sanksi { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
@media (min-width: 640px) { .sanksi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sanksi li { margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-s); border-left: 6px solid var(--c, var(--sun)); }
.sanksi b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 1.2rem; }
.sanksi span { color: var(--ink-2); font-size: 0.9375rem; }
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--sun-t);
}
.callout > .ic { width: 28px; height: 28px; color: #b57400; margin-top: 2px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.5em; }
.callout--pink { background: var(--pink-t); }
.callout--pink > .ic { color: var(--pink-x); }
.callout--blue { background: var(--blue-t); }
.callout--blue > .ic { color: #1665b5; }
.callout--mint { background: var(--mint-t); }
.callout--mint > .ic { color: #137a55; }
.staff { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
@media (min-width: 640px) { .staff { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.staff li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-s);
}
.staff .badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--bt);
  color: var(--bc);
}
.staff .badge .ic { width: 30px; height: 30px; fill: var(--bc); stroke: var(--bs); stroke-width: 1.6; }
.staff b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 1.25rem; }
.staff span { color: var(--ink-2); font-size: 0.9375rem; }
.staff .owner { --bt: #fff3d1; --bc: #ffc83d; --bs: #a87400; }
.staff .coowner { --bt: #eef1f5; --bc: #c9d3e0; --bs: #6b7a8c; }
.staff .admin { --bt: #dff0ff; --bc: #4f9dff; --bs: #1a5fb5; }
.staff .mod { --bt: #dcf7ea; --bc: #4fd18b; --bs: #1c8a52; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border-radius: 20px; box-shadow: var(--shadow-s); background: var(--paper); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.data-table th,
.data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: #fbf1f6; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.data-table tbody th { font-weight: 600; min-width: 9.5em; }
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: 0; }
@media (max-width: 599px) {
  .data-table thead { display: none; }
  .data-table tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table th,
  .data-table td { display: block; padding: 0; border: 0; }
  .data-table td { color: var(--ink-2); margin-top: 2px; }
}
.no-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; padding: 0; list-style: none; }
.no-list li { margin: 0; }
.no-list .chip { font-size: 0.9375rem; padding: 0.4em 0.9em 0.42em 0.75em; background: #fff; box-shadow: var(--shadow-s); }
.no-list .chip::before {
  width: 0.7em;
  height: 0.7em;
  border-radius: 0;
  opacity: 1;
  background: var(--r-mitos);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5 5 19' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%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 24 24'%3E%3Cpath d='M5 5l14 14M19 5 5 19' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list { margin: 0 0 14px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.75em; margin: 0.55em 0; }
.check-list li > .ic { position: absolute; left: 0; top: 0.22em; width: 1.15em; height: 1.15em; stroke-width: 2.6; }
.check-list .ok { color: var(--mint-d); }
.check-list .no { color: var(--r-mitos); }
.kontak { font-weight: 600; color: var(--ink); }
.updated { color: var(--ink-2); font-size: 0.9375rem; margin-top: 12px; }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ utility classes (no inline styles in the HTML) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.t-pink { --ct: #ffe3ee; }
.t-blue { --ct: #dff1ff; }
.t-sun { --ct: #fff3d1; }
.t-orange { --ct: #ffe9d6; }
.t-mint { --ct: #d9f8ec; }
.t-lilac { --ct: #ece6ff; }
.c-mint { --c: var(--mint); }
.c-blue { --c: var(--blue); }
.c-sun { --c: var(--sun); }
.c-orange { --c: var(--orange); }
.c-mitos { --c: var(--r-mitos); }
