/* WorldleGame.net site styles. Design tokens (--gw-*), fonts and the guess-row colours come from theme.css (owned by
   the game, loaded before this file); every token has a fallback here. Mobile first; light theme by default, dark via
   html[data-theme="dark"] or the system. Site-drawn guess rows use .gw-x* classes so the game's own .gw-row styles
   never touch them. */

:root { --hdr: 56px; --wrap: 760px; --gap: 16px; --head-bg: #0f7c8c; --foot-bg: #0b3940; --foot-ink: #cfe6ea; --foot-soft: #8fb9c0; --appbar-h: 0px; }
html[data-theme="dark"] { --head-bg: #0b4a54; --foot-bg: #06262b; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) { --head-bg: #0b4a54; --foot-bg: #06262b; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; min-height: 100vh; font-family: var(--gw-font, system-ui, sans-serif); font-size: 17px; line-height: 1.6; color: var(--gw-ink, #16343a);
  background: var(--gw-bg, #eef7f8) var(--gw-bg-image, none) no-repeat; background-attachment: fixed; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
:is(main, .gw-foot) :is(p, li, td, summary):is(:lang(de), :lang(nl), :lang(pl), :lang(ru), :lang(tr), :lang(id)) { hyphens: auto; }
:lang(ja) body, :lang(zh) body, :lang(ko) body { line-height: 1.75; }
:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
:lang(th) body { line-height: 1.8; }
a { color: var(--gw-link, #0c6f7d); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
:focus-visible { outline: none; box-shadow: var(--gw-focus); border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.gw-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gw-i { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gw-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gw-card); color: var(--gw-ink); font-weight: 800; }
.gw-skip:focus { top: 8px; }

/* ---------------------------------------------------------------- header */
.gw-header { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: var(--head-bg); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 4px 18px rgba(6, 50, 58, .2); }
.gw-header__in { display: flex; align-items: center; gap: 8px; height: var(--hdr); max-width: 1240px; margin: 0 auto; padding: 0 8px 0 14px; }
.gw-logo { display: flex; align-items: center; flex: 0 0 auto; color: #fff; text-decoration: none; border-radius: 8px; }
.gw-logo__svg { display: block; height: 32px; width: auto; }
.gw-nav { display: none; align-items: center; gap: 2px; margin-left: 14px; min-width: 0; }
.gw-nav a, .gw-mnav a { color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; border-radius: 10px; }
.gw-nav a { padding: 7px 11px; font-size: 15.5px; opacity: .92; }
.gw-nav a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.gw-nav a[aria-current="page"] { background: rgba(255, 255, 255, .2); opacity: 1; }
.gw-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gw-iconbtn, .gw-lang__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 40px; min-width: 40px; padding: 0 8px;
  border: 0; border-radius: 12px; background: transparent; color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.gw-iconbtn:hover, .gw-lang__btn:hover, .gw-lang__btn[aria-expanded="true"], .gw-menu-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.gw-sun { display: none; }
html[data-theme="dark"] .gw-sun { display: block; } html[data-theme="dark"] .gw-moon { display: none; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .gw-sun { display: block; } html:not([data-theme="light"]) .gw-moon { display: none; } }
.gw-chev { width: 16px; height: 16px; transition: transform .15s; }
.gw-lang { position: relative; }
.gw-lang__btn[aria-expanded="true"] .gw-chev { transform: rotate(180deg); }
.gw-lang__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; width: 220px; max-height: min(560px, calc(100vh - var(--hdr) - 20px)); overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: var(--gw-card); color: var(--gw-ink); box-shadow: var(--gw-shadow-lg); border: 1px solid var(--gw-line); }
.gw-lang__menu a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--gw-ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; }
.gw-lang__menu a:hover, .gw-lang__menu a:focus-visible { background: var(--gw-chip); box-shadow: none; }
.gw-lang__menu a[aria-current="true"] { background: var(--gw-accent-soft); color: var(--gw-link); }
.gw-menu-btn .gw-i:last-child { display: none; }
.gw-menu-btn[aria-expanded="true"] .gw-i:first-child { display: none; } .gw-menu-btn[aria-expanded="true"] .gw-i:last-child { display: block; }
.gw-mnav { position: absolute; left: 0; right: 0; top: var(--hdr); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px 12px 14px; background: var(--head-bg); box-shadow: 0 12px 24px rgba(6, 50, 58, .25); }
.gw-mnav[hidden] { display: none; }
.gw-mnav a { padding: 10px 12px; background: rgba(255, 255, 255, .08); }
.gw-mnav a[aria-current="page"] { background: rgba(255, 255, 255, .2); }
@media (min-width: 1024px) {
  .gw-nav { display: flex; }
  .gw-menu-btn { display: none; }
  .gw-mnav { display: none !important; }
  .gw-header__in { padding: 0 16px 0 20px; }
}
@media (max-width: 359px) { .gw-logo__svg { height: 28px; } .gw-lang__code { display: none; } }

/* ---------------------------------------------------------------- app promo (SPEC 5.6: same behaviour as the old site)
   bar: Android phones only (html.wg-app-bar-on, set before the first paint), 56 px above the game; card: under the
   game on every device; side card: from 1100 px in the right column. iPhone/iPad (html.wg-ios): nothing. */
.gw-appbar { display: none; align-items: center; gap: 10px; height: 56px; padding: 0 12px 0 6px; background: var(--gw-card, #fff); color: var(--gw-ink); border-bottom: 1px solid var(--gw-line); }
html.wg-app-bar-on { --appbar-h: 56px; }
html.wg-app-bar-on .gw-appbar { display: flex; }
.gw-appx { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--gw-soft); cursor: pointer; }
.gw-appx svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.gw-appx:hover { background: var(--gw-chip); }
.gw-appicon { display: block; flex: 0 0 auto; border-radius: 22%; }
.gw-appbar .gw-appicon { width: 40px; height: 40px; }
.gw-appbar__t { display: flex; flex-direction: column; min-width: 0; margin: 0; line-height: 1.25; }
.gw-appbar__t b { font-weight: 900; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-appbar__t span { font-size: 13px; color: var(--gw-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-appbar__cta { flex: 0 0 auto; margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--gw-hi, #f0633a); color: #fff; font-weight: 900; font-size: 14px; text-decoration: none; }
.gw-appcard { position: relative; display: flex; align-items: center; gap: 16px; width: calc(100% - 32px); max-width: 560px; margin: 16px auto 0; padding: 18px;
  border-radius: var(--gw-radius-lg, 24px); background: var(--gw-card, #fff); color: var(--gw-ink); box-shadow: var(--gw-shadow); border: 2px solid var(--gw-accent-l, #1fb3c4); }
.gw-appcard__new, .gw-appside__new { position: absolute; top: -10px; left: 18px; padding: 2px 10px; border-radius: 999px; background: var(--gw-hi, #f0633a); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .06em; line-height: 1.5; }
.gw-appcard .gw-appicon { width: 72px; height: 72px; align-self: flex-start; }
.gw-appcard__b { min-width: 0; flex: 1 1 auto; }
.gw-appcard__t { margin: 0; font-weight: 900; font-size: 1.12rem; line-height: 1.3; }
.gw-appcard__s { margin: 4px 0 0; color: var(--gw-soft); font-size: 15px; line-height: 1.45; }
.gw-appcard__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; line-height: 1.3; }
.gw-appcard__list li { display: flex; gap: 6px; align-items: flex-start; }
.gw-appcard__list .gw-i { width: 16px; height: 16px; stroke: var(--gw-ok, #2f9a4f); stroke-width: 3; margin-top: 1px; }
.gw-appcard__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; }
.gw-appcard__meta { color: var(--gw-soft); font-size: 13.5px; font-weight: 700; }
.gw-gpbadge { display: inline-block; line-height: 0; border-radius: 8px; }
.gw-gpbadge img { display: block; height: auto; }
.gw-appqr { display: none; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 4px; color: var(--gw-soft); font-size: 12.5px; font-weight: 800; text-decoration: none; text-align: center; }
.gw-appqr img { display: block; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--gw-line); }
@media (min-width: 640px) and (hover: hover) and (pointer: fine) { .gw-appcard .gw-appqr { display: flex; } }
@media (max-width: 479px) { .gw-appcard { flex-wrap: wrap; padding: 18px 16px 16px; } .gw-appcard .gw-appicon { width: 56px; height: 56px; } .gw-appcard__list { grid-template-columns: 1fr; } }
.gw-appside { display: none; }
html.wg-ios .gw-appbar, html.wg-ios .gw-appcard, html.wg-ios .gw-appside { display: none !important; }

/* ---------------------------------------------------------------- game stage */
.gw-play { position: relative; padding-bottom: 6px; background: var(--gw-stage, var(--gw-bg)); color: var(--gw-stage-ink, var(--gw-ink)); }
/* #gw-game is sized by the game's own gw.css from --gw-game-h = first screen minus the header and the app bar (svh
   keeps it above the phone's bars); the site never sets its height */
:root { --gw-header-h: calc(var(--hdr) + var(--appbar-h)); }
.gw-play__box { width: 100%; max-width: 520px; margin: 0 auto; --gw-game-h: calc(100vh - var(--hdr) - var(--appbar-h)); }
@supports (height: 100svh) { .gw-play__box { --gw-game-h: calc(100svh - var(--hdr) - var(--appbar-h)); } }
.gw-boot { flex: 1 1 auto; align-self: stretch; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 8px 12px 12px; }
.gw-boot i { display: block; font-style: normal; }
.gw-boot__bar { display: flex; gap: 10px; justify-content: flex-end; }
.gw-boot__bar i { width: 36px; height: 36px; border-radius: 50%; background: var(--gw-chip, #e6f2f4); }
.gw-boot__bar i:first-child { width: 96px; border-radius: 10px; margin-right: auto; }
.gw-boot__shape { flex: 1 1 140px; min-height: 120px; display: grid; place-items: center; border-radius: 18px; background: var(--gw-chip, #e6f2f4); }
.gw-boot__shape span { padding: 6px 14px; border-radius: 999px; background: var(--gw-card, #fff); color: var(--gw-soft); font-weight: 800; font-size: 14px; }
.gw-boot__input { flex: 0 0 52px; border-radius: 14px; background: var(--gw-input, #fff); border: 2px solid var(--gw-row-line, var(--gw-line)); }
.gw-boot__rows { display: grid; gap: 6px; }
.gw-boot__rows i { height: 38px; border-radius: 10px; background: var(--gw-row, var(--gw-card)); opacity: .7; }
.gw-noscript { position: absolute; inset: auto 12px 16px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--gw-card); color: var(--gw-ink); font-weight: 700; text-align: center; }

.gw-hero { padding: 0; }
.gw-play .gw-hero { max-width: 760px; margin: 0 auto; padding: 22px 16px 4px; text-align: center; }
.gw-play .gw-hero h1 { font-size: clamp(1.55rem, 5.6vw, 2.2rem); font-weight: 900; }
.gw-hero__h2 { margin: 12px 0 0; font-size: 1.06rem; font-weight: 600; line-height: 1.6; letter-spacing: 0; color: var(--gw-soft); }
.gw-play .gw-intro { margin: 8px 0 0; color: var(--gw-soft); font-size: 1rem; line-height: 1.5; }
.gw-points { display: grid; gap: 8px; margin: 14px auto 0; padding: 0; max-width: 560px; list-style: none; text-align: left; font-weight: 700; line-height: 1.4; }
.gw-points li { display: flex; gap: 8px; align-items: flex-start; }
.gw-points .gw-i { width: 20px; height: 20px; margin-top: 1px; stroke: var(--gw-ok, #2f9a4f); stroke-width: 3; }
@media (min-width: 640px) { .gw-points { grid-template-columns: 1fr 1fr; gap: 10px 18px; } }
/* star rating */
.gw-rate { width: calc(100% - 32px); max-width: 360px; margin: 14px auto 0; padding: 14px 16px; border-radius: 16px; text-align: center; background: var(--gw-card, #fff); box-shadow: var(--gw-shadow); }
.gw-rate__t { margin: 0; font-weight: 900; font-size: 1.05rem; }
.gw-rate__s { margin: 4px 0 8px; font-size: 14px; line-height: 1.4; color: var(--gw-soft); }
.gw-rate__stars { position: relative; display: inline-flex; vertical-align: top; }
.gw-rate__b { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.gw-rate__b svg, .gw-rate__fill svg { width: 32px; height: 32px; fill: var(--gw-line, rgba(22, 52, 58, .15)); }
.gw-rate__b:focus-visible { outline: 2px solid var(--gw-accent); outline-offset: -2px; }
.gw-rate__b:disabled { cursor: default; }
.gw-rate__fill { position: absolute; top: 0; left: 0; display: flex; width: calc(var(--show, var(--avg)) * 20%); height: 42px; overflow: hidden; pointer-events: none; }
.gw-rate__fill svg { flex: 0 0 42px; padding: 5px; box-sizing: border-box; width: 42px; height: 42px; fill: #ffb300; }
.gw-rate__sum { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--gw-soft); }
.gw-rate__n { display: block; font-size: 13px; font-weight: 600; }
.gw-rate__n:empty { display: none; }
.gw-rate__msg { min-height: 0; margin: 4px 0 0; font-size: 14px; font-weight: 800; }
.gw-rate__msg:empty { display: none; }
.gw-rate__msg.is-err { color: var(--gw-danger); }
.gw-share { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin: 14px auto 0; padding: 0 0 12px; }
.gw-share__t { margin: 0; font-weight: 800; font-size: 14px; color: var(--gw-soft); }
.gw-share__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.gw-sbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--gw-chip, #e6f2f4); color: var(--gw-ink); transition: background .15s, color .15s, transform .15s; }
.gw-sbtn svg { width: 19px; height: 19px; fill: currentColor; }
.gw-sbtn .gw-i { fill: none; width: 20px; height: 20px; }
.gw-sbtn:hover { transform: translateY(-1px); color: #fff; }
.gw-sbtn--facebook:hover { background: #0866ff; } .gw-sbtn--x:hover { background: #000; } .gw-sbtn--whatsapp:hover { background: #25d366; }
.gw-sbtn--telegram:hover { background: #26a5e4; } .gw-sbtn--reddit:hover { background: #ff4500; } .gw-sbtn--copy:hover { background: var(--gw-accent); }
.gw-copied { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--gw-tooltip); color: var(--gw-tooltip-ink); font-weight: 800; font-size: 15px; box-shadow: var(--gw-shadow); }

/* side columns (rating + ad 104 left, app card + ad 105 right) exist from 1100 px; below they are not boxes at all */
.gw-side { display: contents; }
.gw-side > [id^="ezoic-pub-ad-placeholder-"] { display: none; }
@media (min-width: 1100px) {
  .gw-play { display: grid; grid-template-columns: minmax(0, 1fr) 520px minmax(0, 1fr); column-gap: 40px; align-items: start; padding: 0 28px 6px; }
  /* a tall side ad makes the row taller: the game stays at the top instead of moving down */
  .gw-play__box { grid-column: 2; grid-row: 1; align-self: start; }
  .gw-side { grid-row: 1; display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 330px; min-width: 0; padding-top: 24px; }
  .gw-side--l { grid-column: 1; justify-self: end; align-items: stretch; }
  .gw-side--r { grid-column: 3; justify-self: start; align-items: stretch; }
  .gw-side > [id^="ezoic-pub-ad-placeholder-"] { display: block; width: 100%; margin: 0; }
  .gw-side > [id^="ezoic-pub-ad-placeholder-"]:not(:empty) { margin: 0; }
  .gw-rate { width: 100%; max-width: 330px; margin: 0; }
  .gw-appcard { grid-column: 1 / -1; grid-row: 2; }
  .gw-play .gw-hero { grid-column: 1 / -1; grid-row: 3; justify-self: center; max-width: 820px; padding: 26px 0 20px; }
  .gw-play .gw-hero h1 { font-size: 2.3rem; }
  .gw-play .gw-intro { margin-top: 12px; font-size: 1.05rem; }
  .gw-appside { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 18px 18px; border-radius: 20px; text-align: center;
    background: var(--gw-card, #fff); color: var(--gw-ink); box-shadow: var(--gw-shadow); border: 2px solid var(--gw-accent-l, #1fb3c4); }
  .gw-appside .gw-appx { position: absolute; top: 6px; right: 6px; }
  .gw-appside__new { left: 50%; transform: translateX(-50%); }
  .gw-appside .gw-appicon { width: 56px; height: 56px; }
  .gw-appside__t { margin: 0; font-weight: 900; font-size: 1.05rem; line-height: 1.3; }
  .gw-appside__s { margin: 0; color: var(--gw-soft); font-size: 14px; line-height: 1.4; }
  .gw-appside .gw-appqr { display: flex; }
  html.wg-app-side-off .gw-appside { display: none; }
}

/* ---------------------------------------------------------------- ads (Ezoic placeholders: no reserved height) */
[id^="ezoic-pub-ad-placeholder-"] { display: block; max-width: 100%; margin: 0 auto; overflow: hidden; text-align: center; }
[id^="ezoic-pub-ad-placeholder-"]:not(:empty) { margin: 24px auto; }
html.gw-fs-lock [id^="ezoic-pub-ad-placeholder-"], html.gw-fs [id^="ezoic-pub-ad-placeholder-"],
body:has(.gw-game:fullscreen) [id^="ezoic-pub-ad-placeholder-"], body:has(.gw-game.gw-game--fs) [id^="ezoic-pub-ad-placeholder-"] { display: none !important; }

/* ---------------------------------------------------------------- content */
.gw-main { display: block; }
.gw-content { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gap) 40px; }
.gw-content > .gw-hero { padding: 22px 0 10px; }
.gw-content > .gw-hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 900; }
.gw-content > .gw-hero .gw-intro { margin: 12px 0 0; font-size: 1.12rem; color: var(--gw-soft); }
.gw-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; color: var(--gw-soft); }
.gw-crumbs li + li::before { content: "›"; margin-right: 4px; opacity: .7; }
.gw-crumbs a { color: var(--gw-soft); }
.gw-sec { margin: 34px 0; }
.gw-sec h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 4.6vw, 1.7rem); font-weight: 900; }
.gw-sec h3 { margin: 22px 0 8px; font-size: 1.15rem; font-weight: 800; }
.gw-sec p { margin: 0 0 14px; }
.gw-sec ul, .gw-sec ol { margin: 0 0 16px; padding-left: 1.4em; }
.gw-sec li { margin: 4px 0; }
.gw-sec li > p { margin: 0 0 6px; }
.gw-sec strong { font-weight: 800; }
kbd { display: inline-block; min-width: 1.8em; padding: 1px 7px; border-radius: 7px; border: 1px solid var(--gw-line); border-bottom-width: 3px; background: var(--gw-card);
  font: 800 .85em/1.5 var(--gw-font); text-align: center; color: var(--gw-ink); }
.note { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--gw-radius, 16px); background: var(--gw-accent-soft); border-left: 4px solid var(--gw-accent); }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

ol.gw-steps, ol.gw-howto { counter-reset: s; display: grid; gap: 12px; padding: 0; list-style: none; }
ol.gw-steps > li, ol.gw-howto > li { counter-increment: s; position: relative; margin: 0; padding: 16px 16px 14px 62px; border-radius: var(--gw-radius, 16px); background: var(--gw-card); box-shadow: var(--gw-shadow); }
ol.gw-steps > li::before, ol.gw-howto > li::before { content: counter(s); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--gw-accent, #1391a4); color: #fff; font-weight: 900; font-size: 15px; line-height: 1; }
ol.gw-steps > li:nth-child(3n+2)::before, ol.gw-howto > li:nth-child(3n+2)::before { background: var(--gw-hi, #f0633a); }
ol.gw-steps > li:nth-child(3n)::before, ol.gw-howto > li:nth-child(3n)::before { background: var(--gw-accent-d, #0c5f6b); }
ol.gw-howto > li { padding: 14px 16px 14px 62px; }
ol.gw-steps h3 { margin: 4px 0 6px; }
ol.gw-steps p:last-child { margin: 0; }
ul.gw-cards { display: grid; gap: 12px; padding: 0; list-style: none; }
ul.gw-cards > li { margin: 0; padding: 16px 18px; border-radius: var(--gw-radius, 16px); background: var(--gw-card); box-shadow: var(--gw-shadow); }
ul.gw-cards h3 { margin: 0 0 6px; }
ul.gw-cards p:last-child { margin: 0; }
ul.gw-tips { counter-reset: t; padding: 0; list-style: none; }
ul.gw-tips > li { counter-increment: t; position: relative; margin: 0 0 10px; padding: 12px 14px 12px 52px; border-radius: 14px; background: var(--gw-card); box-shadow: var(--gw-shadow); }
ul.gw-tips > li::before { content: counter(t); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 8px; background: var(--gw-accent-soft); color: var(--gw-link); font-weight: 900; text-align: center; line-height: 28px; font-size: 14px; }
@media (min-width: 640px) {
  ol.gw-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  ol.gw-steps > li { padding: 58px 16px 16px; }
  ol.gw-steps > li::before { left: 16px; top: 14px; }
  ul.gw-cards { grid-template-columns: 1fr 1fr; }
}
.gw-table { margin: 0 0 18px; overflow-x: auto; border-radius: var(--gw-radius, 16px); background: var(--gw-card); box-shadow: var(--gw-shadow); }
.gw-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.gw-table th, .gw-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--gw-line); vertical-align: middle; }
.gw-table thead th { background: var(--gw-chip); font-weight: 800; white-space: nowrap; }
.gw-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .gw-table table { font-size: 14px; }
  .gw-table th, .gw-table td { padding: 8px 9px; hyphens: manual; }
  .gw-table thead th { white-space: normal; }
}
.gw-faqs { display: grid; gap: 10px; margin: 0 0 16px; }
details.gw-faq { border-radius: 14px; background: var(--gw-card); box-shadow: var(--gw-shadow); }
details.gw-faq summary { position: relative; padding: 14px 46px 14px 16px; list-style: none; cursor: pointer; font-weight: 800; line-height: 1.4; border-radius: 14px; }
details.gw-faq summary::-webkit-details-marker { display: none; }
details.gw-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--gw-soft); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .15s; }
details.gw-faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.gw-faq > :not(summary) { margin: 0 16px 14px; }

/* ---------------------------------------------------------------- example guess rows + proximity squares
   Static, built from div.gw-rows / span.gw-sq (format in src/README.md), in the game's look: --gw-sq-g/y/e from theme.css,
   --gw-row/--gw-row-ink/--gw-row-line if the theme defines them (else card colours). Arrow = svg pointing north, rotated by --deg (45° per compass point). */
.gw-xfig { width: min(100%, 480px); margin: 6px auto 22px; }
.gw-xrows { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; line-height: 1.3; }
.gw-xrow > td { padding: 9px 10px; background: var(--gw-row, var(--gw-card)); color: var(--gw-row-ink, var(--gw-ink)); font-weight: 800; vertical-align: middle;
  border-top: 1px solid var(--gw-row-line, var(--gw-line)); border-bottom: 1px solid var(--gw-row-line, var(--gw-line)); }
.gw-xrow > td:first-child { border-left: 1px solid var(--gw-row-line, var(--gw-line)); border-radius: 12px 0 0 12px; }
.gw-xrow > td:last-child { border-right: 1px solid var(--gw-row-line, var(--gw-line)); border-radius: 0 12px 12px 0; }
.gw-xrow__name { width: 100%; overflow-wrap: anywhere; }
.gw-xrow__dist { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.gw-xrow__dir { width: 40px; text-align: center; }
.gw-xrow__arrow { display: inline-flex; transform: rotate(var(--deg, 0deg)); }
.gw-xrow__arrow .gw-i, .gw-xrow__ok { width: 22px; height: 22px; stroke-width: 2.6; vertical-align: middle; }
.gw-xrow__ok { stroke: var(--gw-sq-g, #3fb950); stroke-width: 3; }
.gw-xrow__pct { white-space: nowrap; text-align: right; }
.gw-xrow__pct b { display: inline-block; min-width: 3.1em; margin-left: 6px; font-variant-numeric: tabular-nums; }
.gw-xrow.is-win > td { border-color: var(--gw-sq-g, #3fb950); }
.gw-xfig figcaption { margin: 4px 2px 0; color: var(--gw-soft); font-size: 14.5px; font-weight: 700; line-height: 1.4; text-align: center; }
.gw-xsqs { display: inline-flex; gap: 2px; vertical-align: -.12em; }
.gw-xsqs > i { display: block; width: .82em; height: .82em; border-radius: 2px; background: var(--gw-sq-e, #d5e3e6); }
.gw-xsqs > i.gw-xsq--g { background: var(--gw-sq-g, #3fb950); }
.gw-xsqs > i.gw-xsq--y { background: var(--gw-sq-y, #f2c94c); }
@media (max-width: 420px) {
  .gw-xrows { font-size: 13.5px; }
  .gw-xrow > td { padding: 8px 5px; }
  .gw-xrow > td:first-child { padding-left: 9px; }
  .gw-xrow > td:last-child { padding-right: 8px; }
  .gw-xrow__dir { width: 30px; }
  .gw-xrow__arrow .gw-i, .gw-xrow__ok { width: 19px; height: 19px; }
  .gw-xrow__pct .gw-xsqs { gap: 1px; }
  .gw-xrow__pct .gw-xsqs > i { width: .7em; height: .7em; }
  .gw-xrow__pct b { min-width: 2.6em; margin-left: 4px; }
}
@media (max-width: 340px) { .gw-xrow__pct .gw-xsqs { display: none; } }

/* ---------------------------------------------------------------- related, promo, CTA */
.gw-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--gw-hi, #f0633a); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 6px 18px rgba(240, 99, 58, .3); }
.gw-cta .gw-i { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.gw-cta:hover { filter: brightness(1.06); }
.gw-related { margin: 36px 0 0; padding: 20px; border-radius: var(--gw-radius-lg, 24px); background: var(--gw-card); box-shadow: var(--gw-shadow); }
.gw-related h2 { margin: 0 0 12px; font-size: 1.3rem; font-weight: 900; }
.gw-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.gw-related ul a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--gw-chip); color: var(--gw-ink); font-weight: 800; text-decoration: none; }
.gw-related ul a:hover { background: var(--gw-chip-hover); }
.gw-related ul .gw-i { width: 16px; height: 16px; color: var(--gw-soft); }
.gw-related p { margin: 0; }
.gw-moregames { max-width: 1000px; margin: 0 auto; padding: 8px var(--gap) 44px; }
.gw-moregames h2 { margin: 0 0 16px; font-size: clamp(1.35rem, 4.6vw, 1.7rem); font-weight: 900; text-align: center; }
.gw-moregames__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gw-pcard { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 12px; border-radius: 16px; background: var(--gw-card); color: var(--gw-ink); text-decoration: none; box-shadow: var(--gw-shadow); transition: transform .15s; }
.gw-pcard:hover { transform: translateY(-2px); }
.gw-pcard img { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; }
.gw-pcard__b { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.gw-pcard__t { font-weight: 900; }
.gw-pcard__s { color: var(--gw-soft); font-size: 14px; }
.gw-pcard--new { position: relative; box-shadow: var(--gw-shadow), inset 0 0 0 2px var(--gw-hi, #f0633a); }
.gw-pcard__new { position: absolute; top: -7px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--gw-hi, #f0633a); color: #fff; font-size: 11px; font-weight: 900; line-height: 1.35; letter-spacing: .06em; }

/* ---------------------------------------------------------------- contact + legal (form markup of the old contact page) */
.gw-formcard { margin: 18px 0 0; padding: 22px; border-radius: var(--gw-radius-lg, 24px); background: var(--gw-card); box-shadow: var(--gw-shadow); }
[data-feedback-form] .fb-row { margin-bottom: 16px; }
[data-feedback-form] label { display: block; margin: 0 0 6px; font-weight: 800; font-size: 15px; }
[data-feedback-form] .fb-note { font-weight: 600; color: var(--gw-soft); }
[data-feedback-form] .fb-input { width: 100%; padding: 11px 13px; font: inherit; font-size: 16px; color: var(--gw-ink); background: var(--gw-bg);
  border: 1px solid var(--gw-line); border-radius: 12px; outline: 0; }
[data-feedback-form] .fb-input:focus { border-color: var(--gw-accent); box-shadow: var(--gw-focus); }
[data-feedback-form] textarea.fb-input { min-height: 150px; resize: vertical; }
[data-feedback-form] input[type="file"].fb-input { padding: 9px; background: transparent; }
[data-feedback-form] [data-feedback-captcha] { margin: 4px 0 16px; }
[data-feedback-form] [data-feedback-captcha]:empty { margin: 0; }
[data-feedback-form] altcha-widget { --altcha-max-width: 100%; }
[data-feedback-form] .fb-btn { appearance: none; width: 100%; padding: 13px 18px; border: 0; border-radius: 999px; background: var(--gw-accent-grad, #1391a4); color: #fff;
  font: inherit; font-weight: 900; font-size: 16px; cursor: pointer; box-shadow: 0 6px 18px var(--gw-accent-glow, transparent); }
[data-feedback-form] .fb-btn:disabled { opacity: .6; cursor: default; }
[data-feedback-status] { margin: 14px 0 0; font-size: 15px; text-align: center; }
[data-feedback-status]:empty { display: none; }
[data-feedback-form][data-state=error] [data-feedback-status] { color: var(--gw-danger); }
[data-feedback-form][data-state=sent] [data-feedback-status] { color: var(--gw-ok); }
.gw-legal .gw-sec h2 { font-size: 1.3rem; }
#ezoic-privacy-policy-embed { display: block; }

/* ---------------------------------------------------------------- 404 */
.gw-404 { max-width: 560px; margin: 0 auto; padding: 36px var(--gap) 56px; text-align: center; }
.gw-404 .gw-xfig, .gw-404 .gw-xrows { max-width: 340px; margin: 0 auto; }
.gw-404 h1 { margin: 6px 0 10px; font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 900; }
.gw-404 p { color: var(--gw-soft); }
.gw-404 .gw-404__oops { margin: 10px 0 0; font-size: 1.25rem; font-weight: 900; color: var(--gw-ink); }
.gw-404__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gw-404__more a { display: block; padding: 8px 14px; border-radius: 999px; background: var(--gw-card); box-shadow: var(--gw-shadow); font-weight: 800; text-decoration: none; }

/* ---------------------------------------------------------------- footer */
.gw-foot { margin-top: 20px; padding: 34px var(--gap) 26px; background: var(--foot-bg); color: var(--foot-ink); font-size: 15px; }
.gw-foot a { color: #fff; text-decoration: none; }
.gw-foot a:hover { text-decoration: underline; }
.gw-foot__in { display: grid; gap: 24px; max-width: 1100px; margin: 0 auto; grid-template-columns: 1fr 1fr; }
.gw-foot__brand { grid-column: 1 / -1; }
.gw-foot__brand p { max-width: 380px; margin: 10px 0 0; }
.gw-logo--foot { display: inline-flex; }
.gw-foot h2 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--foot-soft); }
.gw-foot ul { margin: 0; padding: 0; list-style: none; }
.gw-foot li { margin: 6px 0; }
.gw-foot__en { color: var(--foot-soft); font-size: 13px; }
.gw-foot__langs { display: flex; flex-wrap: wrap; gap: 6px 14px; max-width: 1100px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.gw-foot__langs a { font-size: 14px; color: var(--foot-ink); }
.gw-foot__langs a[aria-current="true"] { color: #fff; font-weight: 800; }
.gw-foot__bottom { max-width: 1100px; margin: 18px auto 0; font-size: 13.5px; color: var(--foot-soft); }
.gw-foot__bottom p { margin: 4px 0; }
@media (min-width: 760px) {
  .gw-foot__in { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .gw-foot__brand { grid-column: auto; }
}

/* ---------------------------------------------------------------- print + motion */
@media print {
  .gw-header, .gw-foot, .gw-share, .gw-play, .gw-moregames, .gw-related, .gw-appbar, [id^="ezoic-pub-ad-placeholder-"] { display: none !important; }
  body { background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
