/* Arkanoid.org site styles – "midnight arcade". The header, the game stage and the footer are always midnight; the
   reading area is light by default with a dark theme (html[data-theme], key ak_theme shared with the game; without a
   stored choice prefers-color-scheme decides). Logical properties throughout: html[dir=rtl] (Arabic) mirrors the
   layout; the game canvas is never mirrored (the game handles its own direction). Fonts come from the game's
   theme.css (--ak-font / --ak-display, self-hosted Manrope + Orbitron); system stacks for ar hi th zh ja ko. */

:root {
  --mid: #0b1026; --mid-2: #121a48; --mid-3: #1b2560; --mid-ink: #e9eeff; --mid-muted: #9ea8d6; --mid-line: rgba(160, 176, 255, .16);
  --cyan: #2de2e6; --magenta: #ff3d81; --amber: #ffc53d;
  --bg: #f4f6fd; --surface: #fff; --surface-2: #eef1fb; --ink: #141a3a; --muted: #565f86; --line: #dde2f2;
  --accent: #0a8f9c; --accent-ink: #fff; --hot: #d92466; --link: #0a7f8c; --focus: #ff3d81;
  --shadow: 0 1px 2px rgba(16, 22, 60, .06), 0 6px 22px rgba(16, 22, 60, .07);
  --r: 16px; --r-s: 10px;
  --font: var(--ak-font, "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  --font-display: var(--ak-display, "Orbitron", var(--font));
  --ak-header-h: 56px;
  --ak-avail-h: calc(100vh - var(--ak-header-h));
  --col: 760px;
  color-scheme: light;
}
@supports (height: 100dvh) { :root { --ak-avail-h: calc(100dvh - var(--ak-header-h)); } }
@media (min-width: 900px) { :root { --ak-header-h: 64px; } }
:root[data-theme="dark"] {
  --bg: #0b1026; --surface: #131a3e; --surface-2: #182152; --ink: #e8ecff; --muted: #a2abd3; --line: #262f61;
  --accent: #2de2e6; --accent-ink: #0b1026; --hot: #ff3d81; --link: #5ff0f2;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1026; --surface: #131a3e; --surface-2: #182152; --ink: #e8ecff; --muted: #a2abd3; --line: #262f61;
    --accent: #2de2e6; --accent-ink: #0b1026; --hot: #ff3d81; --link: #5ff0f2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
/* system font stacks (no web font) */
:root:lang(ar) { --font: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif; }
:root:lang(hi) { --font: "Nirmala UI", "Noto Sans Devanagari", "Kohinoor Devanagari", system-ui, sans-serif; }
:root:lang(th) { --font: "Leelawadee UI", "Noto Sans Thai", Thonburi, Tahoma, system-ui, sans-serif; }
:root:lang(zh-Hans) { --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif; }
:root:lang(zh-Hant) { --font: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Source Han Sans TC", system-ui, sans-serif; }
:root:lang(ja) { --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", system-ui, sans-serif; }
:root:lang(ko) { --font: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
:lang(ja) body, :lang(zh-Hans) body, :lang(zh-Hant) body, :lang(ko) body { line-break: strict; word-break: normal; }
:lang(ko) body { word-break: keep-all; }
:lang(th) body, :lang(hi) body, :lang(ar) body { line-height: 1.8; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ak-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ak-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .ak-i--flip { transform: scaleX(-1); }

/* ------------------------------------------------------------ header (always midnight) */
.ak-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--amber); color: var(--mid); font-weight: 800; text-decoration: none; }
.ak-skip:focus { top: 10px; }
.ak-header { position: relative; z-index: 20; background: var(--mid); color: var(--mid-ink); }
.ak-header::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--magenta) 50%, var(--amber)); opacity: .9; }
.ak-header__in { display: flex; align-items: center; gap: 12px; max-width: 1280px; height: var(--ak-header-h); margin: 0 auto; padding: 0 12px; }
/* the logo link is dir="ltr" (the wordmark), so its auto margin is physical */
.ak-logo { display: flex; align-items: center; flex: none; margin-right: auto; border-radius: 8px; }
[dir="rtl"] .ak-header .ak-logo { margin-right: 0; margin-left: auto; }
.ak-logo__svg { display: block; width: auto; height: 30px; }
@media (min-width: 900px) { .ak-logo__svg { height: 34px; } }
@media (max-width: 340px) { .ak-logo__svg { height: 26px; } }
.ak-nav { display: none; gap: 2px; }
.ak-nav a, .ak-mnav a { color: var(--mid-ink); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; border-radius: 9px; }
.ak-nav a { padding: 8px 10px; }
.ak-nav a:hover, .ak-mnav a:hover { background: rgba(255, 255, 255, .08); }
.ak-nav a[aria-current="page"], .ak-mnav a[aria-current="page"] { color: var(--cyan); box-shadow: inset 0 -2px 0 var(--cyan); }
.ak-tools { display: flex; align-items: center; gap: 4px; flex: none; }
.ak-iconbtn, .ak-lang__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 9px; border: 0; border-radius: 11px; background: transparent; color: var(--mid-ink); font: 700 14px/1 var(--font); cursor: pointer; }
.ak-iconbtn:hover, .ak-lang__btn:hover, .ak-lang__btn[aria-expanded="true"], .ak-menu-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.ak-i--sun { display: none; }
:root[data-theme="dark"] .ak-i--sun { display: block; }
:root[data-theme="dark"] .ak-i--moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ak-i--sun { display: block; } :root:not([data-theme="light"]) .ak-i--moon { display: none; } }
.ak-lang { position: relative; }
.ak-lang__code { font-family: var(--font-display); letter-spacing: .04em; font-size: 12px; }
.ak-i--chev { width: 16px; height: 16px; }
.ak-lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; width: 236px; max-height: min(70vh, 560px); overflow: auto; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: var(--mid-2); border: 1px solid var(--mid-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.ak-lang__menu a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--mid-ink); text-decoration: none; font-weight: 600; font-size: 15px; text-align: start; }
.ak-lang__menu a:hover, .ak-lang__menu a:focus { background: rgba(255, 255, 255, .1); }
.ak-lang__menu a[aria-current="true"] { color: var(--cyan); }
.ak-menu-btn .ak-i:last-child { display: none; }
.ak-menu-btn[aria-expanded="true"] .ak-i:first-child { display: none; }
.ak-menu-btn[aria-expanded="true"] .ak-i:last-child { display: block; }
.ak-mnav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-width: 1280px; margin: 0 auto; padding: 4px 12px 14px; }
.ak-mnav[hidden] { display: none; }
.ak-mnav a { padding: 11px 12px; }
@media (max-width: 400px) {
  .ak-header__in { gap: 6px; padding: 0 8px; }
  .ak-tools { gap: 0; }
  .ak-lang__btn .ak-i--chev { display: none; }
}
@media (min-width: 1200px) {
  .ak-header__in { padding: 0 20px; gap: 16px; }
  .ak-nav { display: flex; }
  .ak-menu-btn { display: none; }
  .ak-mnav { display: none !important; }
}

/* ------------------------------------------------------------ game stage (always midnight) */
.ak-arena { position: relative; padding: 0 0 12px; color: var(--mid-ink); overflow: hidden;
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .55) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, .45) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 86% 42%, rgba(45, 226, 230, .6) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, rgba(255, 255, 255, .4) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 58% 82%, rgba(255, 61, 129, .55) 50%, transparent 51%),
    radial-gradient(120% 90% at 50% 0%, var(--mid-3) 0%, var(--mid-2) 40%, var(--mid) 75%); }
.ak-arena::before { content: ""; position: absolute; inset-inline: -20%; bottom: 0; height: 46%; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(90deg, transparent 0 58px, rgba(45, 226, 230, .35) 58px 59px), repeating-linear-gradient(0deg, transparent 0 28px, rgba(45, 226, 230, .3) 28px 29px);
  transform: perspective(320px) rotateX(58deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); }
.ak-arena__in { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.ak-game { position: relative; width: 100%; min-height: 360px; --ak-game-h: var(--ak-avail-h); }
@media (min-width: 600px) { .ak-arena { padding: 14px 0 22px; } .ak-game { --ak-game-h: calc(var(--ak-avail-h) - 14px); } }
/* skeleton until the game mounts (site.js removes it) */
.ak-boot { display: flex; flex-direction: column; gap: 8px; width: 100%; height: min(calc(var(--ak-avail-h) - 12px), 800px); max-height: calc(100vw * 4 / 3 + 48px); padding: 8px; }
.ak-boot__hud { display: flex; gap: 8px; height: 36px; }
.ak-boot__hud i { flex: 1; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.ak-boot__field { position: relative; flex: 1; border-radius: 14px; border: 1px solid var(--mid-line); background: rgba(11, 16, 38, .6); overflow: hidden; }
.ak-boot__bricks { display: grid; gap: 4px; padding: 10% 4% 0; }
.ak-boot__row { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; }
.ak-boot__row b { aspect-ratio: 2; border-radius: 3px; background: var(--c, var(--cyan)); opacity: .5; }
.ak-boot__row:nth-child(1) { --c: #eef3ff; } .ak-boot__row:nth-child(2) { --c: var(--magenta); } .ak-boot__row:nth-child(3) { --c: var(--amber); } .ak-boot__row:nth-child(4) { --c: var(--cyan); } .ak-boot__row:nth-child(5) { --c: #4d7cff; }
.ak-boot__t { position: absolute; inset-inline: 0; top: 52%; text-align: center; color: var(--mid-muted); font-weight: 700; font-size: 15px; }
.ak-boot__ball { position: absolute; left: 50%; bottom: 13%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--cyan); }
.ak-boot__pad { position: absolute; left: 50%; bottom: 8%; width: 22%; height: 10px; transform: translateX(-50%); border-radius: 6px; background: linear-gradient(90deg, var(--cyan) 0 12%, #cfd8ea 12% 88%, var(--cyan) 88%); }
.ak-noscript { margin: 12px; padding: 14px; border-radius: 12px; background: var(--magenta); color: #fff; font-weight: 700; }

/* ------------------------------------------------------------ hero (game pages: under the stage) */
.ak-gamehead { display: grid; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 22px 16px 6px; }
@media (min-width: 900px) { .ak-gamehead { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 28px; padding-top: 30px; } }
.ak-hero h1 { font-size: clamp(28px, 4.6vw, 42px); }
.ak-lede { font-size: 18.5px; color: var(--muted); margin-bottom: 14px; }
.ak-points { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.ak-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ak-points .ak-i { width: 20px; height: 20px; margin-top: 4px; color: var(--accent); stroke-width: 3; }
.ak-sharebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ak-sharebar__t { margin: 0; font-weight: 800; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
:lang(ar) .ak-sharebar__t, :lang(ja) .ak-sharebar__t, :lang(zh-Hans) .ak-sharebar__t, :lang(zh-Hant) .ak-sharebar__t, :lang(ko) .ak-sharebar__t, :lang(th) .ak-sharebar__t, :lang(hi) .ak-sharebar__t { text-transform: none; letter-spacing: 0; }
.ak-sharebar__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-sbtn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .12s, border-color .12s; }
.ak-sbtn svg { width: 20px; height: 20px; fill: currentColor; }
.ak-sbtn .ak-i { fill: none; }
.ak-sbtn:hover { transform: translateY(-2px); border-color: var(--accent); }
.ak-sbtn--facebook:hover { color: #1877f2; } .ak-sbtn--whatsapp:hover { color: #25d366; } .ak-sbtn--telegram:hover { color: #229ed9; } .ak-sbtn--reddit:hover { color: #ff4500; }
.ak-flash { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--mid); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

/* rating card */
.ak-rate { position: relative; padding: 18px 18px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ak-rate::before { content: ""; position: absolute; inset-inline: 18px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--amber)); }
.ak-rate__t { margin: 0 0 4px; font-weight: 800; font-size: 18px; }
.ak-rate__s { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ak-rate__stars { position: relative; display: inline-flex; gap: 2px; --show: var(--avg); }
.ak-rate__b { position: relative; z-index: 2; width: 40px; height: 40px; padding: 4px; border: 0; background: transparent; cursor: pointer; color: transparent; }
.ak-rate__b svg { width: 100%; height: 100%; fill: currentColor; stroke: var(--muted); stroke-opacity: .55; stroke-width: 1.4; }
.ak-rate__b:disabled { cursor: default; }
.ak-rate__fill { position: absolute; z-index: 1; inset-inline-start: 0; top: 0; display: flex; gap: 2px; height: 40px; overflow: hidden; pointer-events: none; color: var(--amber);
  width: calc(var(--show, 0) * 42px - 2px); max-width: 208px; }
.ak-rate__fill svg { flex: none; width: 40px; height: 40px; padding: 4px; fill: currentColor; filter: drop-shadow(0 0 4px rgba(255, 197, 61, .5)); }
.ak-rate__stars:has(.ak-rate__b:hover) .ak-rate__fill, .ak-rate__stars[style*="--show"] .ak-rate__fill { color: var(--magenta); }
.ak-rate__sum { margin: 6px 0 0; font-weight: 700; font-size: 14.5px; }
.ak-rate__n { color: var(--muted); font-weight: 600; }
.ak-rate__msg { margin: 4px 0 0; min-height: 1.3em; font-size: 14px; color: var(--accent); font-weight: 700; }
.ak-rate__msg.is-err { color: var(--hot); }

/* ------------------------------------------------------------ content column */
.ak-content { max-width: var(--col); margin: 0 auto; padding: 8px 16px 30px; hyphens: auto; -webkit-hyphens: auto; }
.ak-content h1, .ak-content h2, .ak-content h3 { hyphens: manual; -webkit-hyphens: manual; }
:lang(hi) .ak-content, :lang(th) .ak-content, :lang(ar) .ak-content { hyphens: manual; -webkit-hyphens: manual; }
.ak-steps > li, .ak-cards > li, .ak-tips > li, .ak-faq, .ak-related li { min-width: 0; overflow-wrap: anywhere; }
.ak-k-article .ak-content, .ak-k-doc .ak-content, .ak-k-legal .ak-content { padding-top: 26px; }
.ak-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ak-crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.ak-crumbs a { color: var(--muted); }
.ak-k-article .ak-hero, .ak-k-doc .ak-hero, .ak-k-legal .ak-hero { margin-bottom: 18px; }
.ak-sec { margin: 34px 0; }
.ak-sec h2 { position: relative; font-size: clamp(23px, 3.2vw, 29px); padding-top: 16px; }
.ak-sec h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 54px; height: 6px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan) 0 30%, transparent 30% 35%, var(--magenta) 35% 65%, transparent 65% 70%, var(--amber) 70%); }
[dir="rtl"] .ak-sec h2::before { background: linear-gradient(-90deg, var(--cyan) 0 30%, transparent 30% 35%, var(--magenta) 35% 65%, transparent 65% 70%, var(--amber) 70%); }
.ak-sec h3 { font-size: 19.5px; margin-top: 1.2em; }
.ak-sec ul:not([class]), .ak-sec ol:not([class]) { padding-inline-start: 1.3em; margin: 0 0 1em; }
.ak-sec li { margin: .25em 0; }
.ak-sec li::marker { color: var(--accent); font-weight: 800; }
kbd { display: inline-block; min-width: 1.9em; padding: .05em .45em; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 7px; background: var(--surface); font: 700 .86em/1.5 var(--font); text-align: center; color: var(--ink); }
.note { margin: 1.2em 0; padding: 14px 18px; border-radius: var(--r-s); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border-inline-start: 4px solid var(--accent); }
.note > :last-child { margin-bottom: 0; }
.ak-table { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface); }
.ak-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ak-table th, .ak-table td { padding: 10px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.ak-table thead th { background: var(--surface-2); font-weight: 800; white-space: nowrap; }
.ak-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .ak-table th, .ak-table td { min-width: 7.5em; } }

/* step cards */
.ak-steps { counter-reset: s; display: grid; gap: 12px; margin: 1.2em 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .ak-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.ak-steps > li { counter-increment: s; position: relative; margin: 0; padding: 52px 16px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ak-steps > li::before { content: counter(s); position: absolute; inset-inline-start: 16px; top: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--mid); color: var(--cyan); font: 900 15px/1 var(--font-display); box-shadow: inset 0 0 0 1px rgba(45, 226, 230, .45), 0 0 12px rgba(45, 226, 230, .25); }
.ak-steps h3 { margin: 0 0 .3em; font-size: 18px; }
.ak-steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
/* card grid */
.ak-cards { display: grid; gap: 12px; margin: 1.2em 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .ak-cards { grid-template-columns: 1fr 1fr; } }
.ak-cards > li { margin: 0; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ak-cards h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 .35em; font-size: 18px; }
.ak-cards p { margin: 0 0 .5em; font-size: 15.5px; color: var(--muted); }
.ak-cards p:last-child { margin-bottom: 0; }
/* tips */
.ak-tips { counter-reset: t; display: grid; gap: 10px; margin: 1.2em 0; padding: 0; list-style: none; }
.ak-tips > li { counter-increment: t; position: relative; margin: 0; padding: 12px 16px; padding-inline-start: 58px; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); }
.ak-tips > li::before { content: counter(t); position: absolute; inset-inline-start: 14px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--magenta); color: #fff; font: 900 14px/1 var(--font-display); }
/* FAQ */
.ak-faqs { display: grid; gap: 10px; margin: 1em 0; }
.ak-faq { border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); }
.ak-faq summary { position: relative; list-style: none; cursor: pointer; padding: 14px 18px; padding-inline-end: 48px; font-weight: 800; }
.ak-faq summary::-webkit-details-marker { display: none; }
.ak-faq summary::after { content: ""; position: absolute; inset-inline-end: 18px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); transition: transform .15s; }
.ak-faq[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.ak-faq > :not(summary) { margin: 0 18px 14px; }
.ak-faq ul { padding-inline-start: 1.2em; }

/* inline icons (capsules, bricks) */
.ak-ic { display: inline-block; vertical-align: -.2em; line-height: 0; }
.ak-ic svg { width: 2em; height: 1em; overflow: visible; }
.ak-cards h3 .ak-ic svg { width: 2.2em; height: 1.1em; }

/* mini fields */
.ak-fig { margin: 1.4em auto; text-align: center; }
.ak-fig .akf { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(45, 226, 230, .25), 0 12px 30px rgba(11, 16, 38, .25); }
.ak-fig figcaption { max-width: 520px; margin: 10px auto 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ak-cards .ak-fig { margin: .6em 0; }
/* field-css-start */
.akf, .ak-ic { --b-white: var(--ak-c-white, #eef2ff); --b-orange: var(--ak-c-orange, #ff8a3d); --b-cyan: var(--ak-c-cyan, #2de2e6); --b-green: var(--ak-c-green, #3ddc84);
  --b-red: var(--ak-c-red, #ff4f5e); --b-blue: var(--ak-c-blue, #4d7cff); --b-magenta: var(--ak-c-magenta, #ff3d81); --b-amber: var(--ak-c-amber, #ffc53d);
  --b-silver: var(--ak-c-silver, #b9c4da); --b-gold: var(--ak-c-gold, #e7ad1f); --b-explosive: var(--ak-c-explosive, #ff5a36); --b-splitter: var(--ak-c-splitter, #a875ff); }
.akf__bg { fill: var(--ak-field, #0b1026); }
.akf__star { fill: #fff; opacity: .5; }
.akf__grid { stroke: var(--ak-c-cyan, #2de2e6); stroke-width: .35; opacity: .18; fill: none; }
.akf__wall { fill: none; stroke: #8f9cc7; stroke-width: 3; opacity: .55; }
.akb { --c: var(--b-white); }
.akb--white { --c: var(--b-white); } .akb--orange { --c: var(--b-orange); } .akb--cyan { --c: var(--b-cyan); } .akb--green { --c: var(--b-green); }
.akb--red { --c: var(--b-red); } .akb--blue { --c: var(--b-blue); } .akb--magenta { --c: var(--b-magenta); } .akb--amber { --c: var(--b-amber); }
.akb--silver, .akb--cracked { --c: var(--b-silver); } .akb--gold { --c: var(--b-gold); } .akb--explosive { --c: var(--b-explosive); } .akb--splitter { --c: var(--b-splitter); }
.akb__b { fill: var(--c); }
.akb__hi { fill: #fff; opacity: .42; }
.akb__lo { fill: #000; opacity: .22; }
.akb__sheen { stroke: #fff; stroke-width: .9; opacity: .55; fill: none; }
.akb__crack { stroke: #2a3150; stroke-width: .7; fill: none; stroke-linejoin: round; }
.akb__shine { fill: #fff6c8; opacity: .7; }
.akb__glyph { fill: #fff3b0; }
.akb--splitter .akb__glyph { fill: #fff; }
.akb__flash { fill: #fff; opacity: .55; stroke: #fff; stroke-width: .6; }
.akc { --c: #4d7cff; }
.akc--wide { --c: var(--ak-cap-wide, #4d7cff); } .akc--laser { --c: var(--ak-cap-laser, #ff4f5e); } .akc--magnet { --c: var(--ak-cap-magnet, #3ddc84); }
.akc--slow { --c: var(--ak-cap-slow, #ff9f40); } .akc--multi { --c: var(--ak-cap-multi, #2de2e6); } .akc--fire { --c: var(--ak-cap-fire, #ff6a2b); }
.akc--shield { --c: var(--ak-cap-shield, #a875ff); } .akc--life { --c: var(--ak-cap-life, #ff3d81); } .akc--warp { --c: var(--ak-cap-warp, #ffc53d); }
.akc__b { fill: var(--c); stroke: rgba(255, 255, 255, .7); stroke-width: .6; }
.akc__hi { fill: #fff; opacity: .35; }
.akc__g { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.akc--multi .akc__g, .akc--life .akc__g, .akc--fire .akc__g, .akc--shield .akc__g { fill: #fff; stroke-width: 1; }
.akf__padb { fill: #cfd8ea; }
.akf__padhi { fill: #fff; opacity: .8; }
.akf__padend { fill: var(--ak-c-cyan, #2de2e6); }
.akf__pad--laser .akf__padend { fill: var(--ak-cap-laser, #ff4f5e); }
.akf__pad--magnet .akf__padend { fill: var(--ak-cap-magnet, #3ddc84); }
.akf__gun { fill: #8f9cc7; }
.akf__shield { fill: var(--ak-c-cyan, #2de2e6); opacity: .9; }
.akf__ball { fill: #fff; }
.akf__glow { fill: var(--ak-c-cyan, #2de2e6); opacity: .28; }
.akf__path { fill: none; stroke: #fff; stroke-width: 1.1; stroke-dasharray: 3 2.2; opacity: .85; }
.akf__arr { fill: #fff; }
/* field-css-end */

/* ads: placeholders stay empty until Ezoic fills them */
[id^="ezoic-pub-ad-placeholder-"] { max-width: 1080px; margin: 0 auto; text-align: center; }
.ak-content [id^="ezoic-pub-ad-placeholder-"] { margin: 0 auto; }

/* related, CTA */
.ak-related { margin: 40px 0 0; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ak-related h2 { font-size: 20px; }
.ak-related ul { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
@media (min-width: 560px) { .ak-related ul { grid-template-columns: 1fr 1fr; } }
.ak-related li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--ink); font-weight: 700; text-decoration: none; }
.ak-related li a:hover { color: var(--link); }
.ak-related li .ak-i { width: 18px; height: 18px; color: var(--accent); }
.ak-related p { margin: 0; }
.ak-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: linear-gradient(90deg, var(--magenta), #ff6a5a); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(255, 61, 129, .35); }
.ak-cta:hover { filter: brightness(1.06); }
.ak-cta .ak-i { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* More games */
.ak-more { max-width: 1080px; margin: 10px auto 44px; padding: 0 16px; }
.ak-more h2 { font-size: 24px; }
.ak-more__grid { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ak-pcard { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .12s, border-color .12s; }
.ak-pcard:hover { transform: translateY(-2px); border-color: var(--accent); }
.ak-pcard img { flex: none; width: 48px; height: 48px; border-radius: 12px; }
.ak-pcard__b { display: flex; flex-direction: column; min-width: 0; }
.ak-pcard__t { font-weight: 800; }
.ak-pcard__s { color: var(--muted); font-size: 14px; line-height: 1.4; }
.ak-pcard--new { border-color: color-mix(in srgb, var(--magenta) 45%, var(--line)); }
.ak-pcard__new { position: absolute; inset-inline-end: 10px; top: -9px; padding: 2px 8px; border-radius: 999px; background: var(--magenta); color: #fff; font: 800 11px/1.5 var(--font); letter-spacing: .04em; }

/* contact form (markup of the shared feedback widget) */
.ak-formcard { margin: 20px 0 10px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fb-row { margin-bottom: 14px; }
.fb-row label { display: block; margin-bottom: 6px; font-weight: 700; }
.fb-note { color: var(--muted); font-weight: 500; font-size: 14px; }
.fb-input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.fb-input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.fb-btn { padding: 12px 24px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 800 16px/1 var(--font); cursor: pointer; }
[data-feedback-status] { margin: 10px 0 0; font-weight: 700; }

/* legal */
.ak-legal h2 { font-size: 22px; margin-top: 1.6em; }
.ak-legal h3 { font-size: 18px; margin-top: 1.2em; }
.ak-legal .ak-sec { margin: 20px 0; }
.ak-legal .ak-sec h2::before { display: none; }
.ak-legal .ak-sec h2 { padding-top: 0; }

/* 404 */
.ak-main--404 { display: flex; align-items: center; }
.ak-404 { width: 100%; min-width: 0; max-width: 560px; margin: 0 auto; padding: 36px 16px 60px; text-align: center; overflow-wrap: anywhere; }
.ak-404__pic { max-width: 300px; margin: 0 auto 18px; }
.ak-404__pic .akf { display: block; width: 100%; height: auto; border-radius: 12px; }
.ak-404__oops { margin: 0 0 4px; font: 900 15px/1.4 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--hot); }
:lang(ar) .ak-404__oops, :lang(ja) .ak-404__oops, :lang(zh-Hans) .ak-404__oops, :lang(zh-Hant) .ak-404__oops, :lang(ko) .ak-404__oops, :lang(th) .ak-404__oops, :lang(hi) .ak-404__oops, :lang(el) .ak-404__oops, :lang(ru) .ak-404__oops, :lang(uk) .ak-404__oops { font-family: var(--font); letter-spacing: 0; }
.ak-404 h1 { font-size: clamp(26px, 5vw, 36px); }
.ak-404__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ak-404__more a { display: block; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; text-decoration: none; }

/* ------------------------------------------------------------ footer (always midnight) */
.ak-foot { position: relative; margin-top: 30px; background: var(--mid); color: var(--mid-muted); font-size: 15px; }
.ak-foot::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--amber), var(--magenta) 50%, var(--cyan)); opacity: .9; }
.ak-foot a { color: var(--mid-ink); text-decoration: none; }
.ak-foot a:hover { color: var(--cyan); }
.ak-foot__in { display: grid; gap: 26px; max-width: 1080px; margin: 0 auto; padding: 38px 16px 18px; }
@media (min-width: 760px) { .ak-foot__in { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ak-foot__brand p { margin: 12px 0 0; line-height: 1.55; }
.ak-logo--foot { display: inline-flex; margin: 0; }
.ak-foot__col h2 { margin: 0 0 10px; color: var(--mid-ink); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
:lang(ar) .ak-foot__col h2, :lang(ja) .ak-foot__col h2, :lang(zh-Hans) .ak-foot__col h2, :lang(zh-Hant) .ak-foot__col h2, :lang(ko) .ak-foot__col h2, :lang(th) .ak-foot__col h2, :lang(hi) .ak-foot__col h2 { text-transform: none; letter-spacing: 0; font-size: 15px; }
.ak-foot__col ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ak-foot__en { color: var(--mid-muted); font-size: 13px; }
.ak-foot__langs { display: flex; flex-wrap: wrap; gap: 4px 14px; max-width: 1080px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--mid-line); font-size: 14px; }
.ak-foot__langs a[aria-current="true"] { color: var(--cyan); }
.ak-foot__bottom { max-width: 1080px; margin: 0 auto; padding: 14px 16px 30px; border-top: 1px solid var(--mid-line); font-size: 13.5px; line-height: 1.55; }
.ak-foot__bottom p { margin: 0 0 6px; }
.ak-foot__tm { max-width: 820px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 380px) { body { font-size: 16px; } .ak-lede { font-size: 17px; } }
