/* sudokuonline.it.com — one stylesheet for all three editions.
   Tokens from DESIGN-SYSTEM.md; edition canvases/accents switch on html.ed-en / .ed-da / .ed-es. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-subset.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #142331;
  --muted: #526673;
  --teal: #167D8D;
  --teal-dark: #116a78;
  --sep: #D4DFE2;
  --control-line: #9DAEB6; /* resting border of boxed controls: visible without hover */
  --surface: #FFFFFF;
  --canvas: #F6F8FA;
  --violet: #6656B8;
  --violet-dark: #5546a3;
  --lilac: #E9E5F7;
  --select: #E7F3F4;
  --select-strong: #C9E4E8;
  --key: #E8F0F2;
  --error-bg: #FFF0EC;
  --error: #963A24;
  --accent: var(--teal);
  --accent-dark: var(--teal-dark);
  --accent-soft: var(--select);
  --entry: var(--teal-dark);
  --radius: 10px;
  --radius-lg: 20px;
  --header-h: 75px;
  --gutter: 120px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
.ed-da { --canvas: #FAF8F3; }
.ed-es { --canvas: #F7F6FB; --accent: var(--violet); --accent-dark: var(--violet-dark); --accent-soft: var(--lilac); --entry: #5546a3; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font);
  font-size: 18px; line-height: 1.5; font-feature-settings: "tnum" 0; overflow-x: hidden;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.icon { width: 20px; height: 20px; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header (one component, all editions) ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--sep); position: sticky; top: 0; z-index: 20; }
.site-header__inner {
  height: var(--header-h); display: flex; align-items: center; gap: 24px; padding: 0 72px; max-width: 1440px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; min-height: 44px; border-radius: 6px; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 20px; height: 20px; }
.site-header__inner { position: relative; }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-track {
  list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 4px;
  background: var(--canvas); border: 1px solid var(--sep); border-radius: 14px;
}
.nav-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px;
  border: 1px solid transparent; background: none; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none;
  white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.nav-link .icon { width: 18px; height: 18px; }
.nav-link .icon--chev { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.is-section { color: var(--ink); font-weight: 600; background: rgba(255, 255, 255, .7); }
.nav-link[aria-current="page"] {
  color: var(--accent-dark); background: var(--surface); border-color: var(--control-line); font-weight: 600;
  box-shadow: 0 1px 2px rgba(20, 35, 49, .08);
}
.nav-link[aria-current="page"] .icon { color: var(--accent); }
.nav-more { position: static; }
.nav-more__btn { cursor: pointer; }
.nav-more__btn[aria-expanded="true"] { color: var(--ink); background: var(--surface); border-color: var(--control-line); }
.nav-more__btn[aria-expanded="true"] .icon--chev { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% - 6px); left: 50%; transform: translateX(-50%); z-index: 30; width: min(760px, calc(100vw - 48px));
  background: var(--surface); border: 1px solid var(--sep); border-radius: 18px; padding: 24px 24px 18px;
  box-shadow: 0 18px 40px rgba(20, 35, 49, .14);
}
.nav-panel__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nav-panel__title { font-size: 13px; font-weight: 600; color: var(--accent-dark); margin: 0 0 8px 10px; }
.ed-es .nav-panel__title { color: var(--violet); }
.nav-panel__group ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.nav-panel__group a {
  display: flex; align-items: center; min-height: 38px; padding: 0 10px; border-radius: 8px; font-size: 15px; text-decoration: none; color: var(--ink);
}
.nav-panel__group a:hover { background: var(--accent-soft); }
.nav-panel__group a[aria-current="page"] { font-weight: 600; background: var(--accent-soft); }
.nav-panel__cta {
  margin-top: 18px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: 15px; text-decoration: none;
}
.ed-es .nav-panel__cta { color: var(--violet-dark); }
.nav-panel__cta .icon { width: 18px; height: 18px; }
.nav-panel__cta .icon:last-child { margin-left: auto; transition: transform .15s ease; }
.nav-panel__cta:hover .icon:last-child { transform: translateX(3px); }

.lang-switch { position: relative; flex: none; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--surface);
  border: 1px solid var(--control-line); border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer;
}
.lang-switch__btn:hover { border-color: var(--ink); }
.lang-switch__btn .icon { width: 18px; height: 18px; color: var(--muted); }
.lang-switch__btn .icon--chev { width: 14px; height: 14px; transition: transform .15s; }
.lang-switch__btn[aria-expanded="true"] .icon--chev { transform: rotate(180deg); }
.lang-switch__code {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 20px; padding: 0 5px; border-radius: 5px;
  background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.ed-es .lang-switch__code { color: var(--violet-dark); }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 296px; padding: 14px 10px 10px;
  background: var(--surface); border: 1px solid var(--sep); border-radius: 16px; box-shadow: 0 18px 40px rgba(20, 35, 49, .14);
}
.lang-panel__title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 10px 8px; }
.lang-switch__list, .lang-options { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.lang-opt {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: 10px; text-decoration: none;
  color: var(--ink); border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease;
}
.lang-opt:hover { background: var(--canvas); border-color: var(--sep); }
.lang-opt[aria-current] { background: var(--accent-soft); border-color: var(--accent); }
.lang-opt__code {
  flex: none; width: 36px; height: 36px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--canvas); border: 1px solid var(--control-line); font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--ink);
}
.lang-opt[aria-current] .lang-opt__code { background: var(--accent); border-color: var(--accent); color: #fff; }
.lang-opt__text { display: grid; gap: 1px; min-width: 0; }
.lang-opt__name { font-size: 15px; font-weight: 600; }
.lang-opt__sub { font-size: 13px; color: var(--muted); }
.lang-opt__check { width: 18px; height: 18px; margin-left: auto; color: var(--accent); flex: none; }
.mobile-menu__langs-title { margin: 32px 0 10px; font-size: 14px; font-weight: 600; color: var(--muted); }

.level-menu__list {
  list-style: none; margin: 4px 0 0; padding: 6px; position: absolute; right: 0; top: 100%; min-width: 220px; z-index: 30;
  background: var(--surface); border: 1px solid var(--sep); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(20, 35, 49, .08);
}
.level-menu__list[hidden] { display: none; }
.level-menu__list a, .level-menu__list button {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-size: 15px;
  width: 100%; background: none; border: 0; text-align: left;
}
.level-menu__list a:hover, .level-menu__list button:hover { background: var(--accent-soft); }
.level-menu__list a[aria-current], .level-menu__list button[aria-pressed="true"] { font-weight: 600; }
.level-menu__list a[aria-current]::after, .level-menu__list button[aria-pressed="true"]::after { content: "✓"; margin-left: auto; color: var(--accent); }

.menu-btn { display: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid transparent;
  background: transparent; border-radius: 8px; color: var(--ink);
}
.icon-btn:hover { border-color: var(--ink); background: var(--surface); }
.icon-btn--sm { border-color: var(--control-line); background: var(--surface); }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--sm { width: 40px; height: 40px; }
.icon-btn--sm .icon { width: 18px; height: 18px; }

/* Mobile menu: native modal <dialog> under the header line */
.mobile-menu {
  margin: var(--header-h) 0 0; padding: 20px 24px 32px; width: 100%; max-width: 100%; height: calc(100dvh - var(--header-h));
  max-height: calc(100dvh - var(--header-h)); border: 0; border-top: 1px solid var(--sep);
  background: var(--surface); color: var(--ink); overscroll-behavior: contain; overflow-y: auto;
}
.mobile-menu::backdrop { background: transparent; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 20px; }
.mobile-menu__title { font-size: 32px; line-height: 1.15; font-weight: 700; }
.mobile-menu__list { list-style: none; padding: 0; }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 66px; text-decoration: none;
  font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--sep); padding: 0 4px;
}
.mobile-menu__list a[aria-current="page"] span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.mobile-menu__list .icon { width: 18px; height: 18px; }

.dot-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 15px; }
.dot-list li + li::before { content: "·"; margin: 0 12px; color: currentColor; opacity: .7; }
.dot-list a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.dot-list a:hover { text-decoration: underline; }
.dot-list a[aria-current] { font-weight: 600; }

/* ---------- Page frame ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0; }
main { display: block; padding: 40px 0 48px; }
main:focus { outline: none; }
.opening { margin-bottom: 32px; }
.opening h1 { font-size: 52px; line-height: 60px; font-weight: 700; letter-spacing: -0.01em; max-width: 900px; text-wrap: balance; }
.lead { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 860px; }
.page--home .opening { margin-top: 2px; }
.breadcrumbs { margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; line-height: 1.4; }
.breadcrumbs li { display: inline-flex; align-items: center; min-height: 24px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; }
.breadcrumbs a, .breadcrumbs [aria-current] { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.da-rule { display: block; width: 48px; height: 3px; background: var(--teal); border-radius: 2px; margin: 4px 0 24px; }

.panel { background: var(--surface); border: 1px solid var(--sep); border-radius: var(--radius-lg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 8px; border: 1px solid var(--control-line); background: var(--surface); font-size: 15px; font-weight: 600; text-decoration: none;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 0; background: none;
  border-radius: 8px; font-size: 14px; color: var(--muted);
}
.link-btn:hover { color: var(--ink); background: var(--accent-soft); }
.link-btn .icon { width: 16px; height: 16px; }

/* Segmented controls (levels, sizes, paper, grids) */
.seg { list-style: none; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg--inline { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__item {
  display: flex; align-items: center; justify-content: center; min-height: 44px; width: 100%; padding: 0 16px; border-radius: 8px;
  border: 1px solid var(--control-line); background: var(--surface); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink);
}
.seg--inline .seg__item { width: auto; min-width: 88px; }
.seg__item--sq { min-width: 44px !important; }
.seg__item:hover { border-color: var(--accent); }
.seg__item[aria-pressed="true"], .seg__item[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg--levels { margin-bottom: 20px; }
.seg--sizes { margin-bottom: 12px; max-width: 360px; }

/* ---------- Game ---------- */
.game { margin-bottom: 56px; }
.game__panel { padding: 28px; display: grid; grid-template-columns: minmax(0, 528px) minmax(0, 1fr); gap: 42px; align-items: start; }
.game__main { min-width: 0; }
.game__side { min-width: 0; padding-top: 30px; display: flex; flex-direction: column; gap: 14px; max-width: 550px; }
.game__title { font-size: 28px; line-height: 1.2; font-weight: 700; }
.game__lead { font-size: 17px; color: var(--muted); margin-bottom: 10px; }
.game__bar { display: flex; align-items: center; gap: 4px; min-height: 40px; margin-bottom: 8px; }
.game__timer { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; margin-right: auto; }
.game__timer[hidden] + .icon-btn { margin-left: auto; }
.game__level { font-size: 15px; font-weight: 600; margin-right: auto; display: none; }
.game__status:empty { display: none; }
.game__status {
  background: var(--accent-soft); border-radius: var(--radius); padding: 14px 18px; font-size: 15px; font-weight: 500;
}
.game__status.is-error { background: var(--error-bg); color: var(--error); }
.game__more { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.toolbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tool {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; padding: 6px;
  background: var(--surface); border: 1px solid var(--control-line); border-radius: 8px; font-size: 14px;
}
.tool:hover { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tool[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); border-width: 2px; font-weight: 600; }
.tool .icon { width: 20px; height: 20px; }
.tool:disabled, .key:disabled, .btn:disabled { opacity: .45; cursor: not-allowed; }
.keypad { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.keypad--n4 { grid-template-columns: repeat(4, 1fr); }
.keypad--n6 { grid-template-columns: repeat(6, 1fr); }
.key {
  min-height: 46px; border: 0; border-radius: 6px; background: var(--key); font-size: 22px; font-weight: 700; touch-action: manipulation;
}
.key:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.key.is-done { opacity: .45; }

.hint-panel { border: 2px solid var(--accent); border-radius: var(--radius); padding: 14px 18px; background: var(--surface); }
.hint-panel__title { font-weight: 700; font-size: 16px; }
.hint-panel__text { font-size: 15px; margin: 6px 0 12px; }
.hint-panel__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Board */
.board-wrap { position: relative; }
.board {
  container-type: inline-size; width: 100%; max-width: 528px; display: flex; flex-direction: column; background: var(--surface);
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.board__row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.cell {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; min-width: 0;
  border-right: 1px solid var(--sep); border-bottom: 1px solid var(--sep); background: var(--surface);
  font-size: calc(100cqi / 9 * .46); line-height: 1; cursor: pointer;
}
.board--n4 .cell { font-size: calc(100cqi / 4 * .42); }
.board--n6 .cell { font-size: calc(100cqi / 6 * .44); }
.board--samurai .cell { font-size: calc(100cqi / 21 * .52); }
.cell.e-t { border-top: 2px solid var(--ink); }
.cell.e-l { border-left: 2px solid var(--ink); }
.cell.b-r { border-right: 2px solid var(--ink); }
.cell.b-b { border-bottom: 2px solid var(--ink); }
.cell--void { background: transparent; border: 0; cursor: default; }
.cell--given { font-weight: 500; }
.cell--entry, .cell--computed { color: var(--entry); font-weight: 500; }
.cell--computed { font-style: italic; }
.cell--diag { background: var(--select); }
.rg-odd { background: #EFF5F6; }
.cell--shared { background: #F3F7F8; }
.cell.is-peer { background: var(--select); }
.cell.is-same { background: var(--select-strong); font-weight: 700; }
.cell.is-selected { background: var(--select-strong); box-shadow: inset 0 0 0 3px var(--accent); }
.cell:focus-visible { outline: 3px solid var(--ink); outline-offset: -4px; border-radius: 2px; z-index: 2; }
.cell.is-conflict .cell__v { color: var(--error); font-weight: 700; text-decoration: underline wavy; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cell.is-conflict { background: var(--error-bg); }
.cell.is-wrong::after { content: ""; position: absolute; inset: 4px; border: 2px dashed var(--error); border-radius: 3px; pointer-events: none; }
.cell.is-hint { background: #FFF6D9; }
.cell.is-hint-target { box-shadow: inset 0 0 0 3px #B7791F; }
.cell__v { position: relative; z-index: 1; }
.cell__notes {
  position: absolute; inset: 2px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  font-size: calc(100cqi / 9 * .27); color: var(--accent-dark); font-weight: 600; text-align: center; align-items: center; line-height: 1;
}
.cell__notes.notes-2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); font-size: calc(100cqi / 4 * .18); }
.cell__notes.notes-3 { font-size: max(9px, calc(100cqi / 9 * .27)); }
.board--n6 .cell__notes { grid-template-rows: repeat(2, 1fr); font-size: calc(100cqi / 6 * .2); }
.board--samurai .cell__notes { font-size: calc(100cqi / 21 * .24); }
.cell--caged::before {
  content: ""; position: absolute; inset: 3px; border: 0 dashed var(--accent); pointer-events: none;
}
.cell--caged.k-t::before { border-top-width: 1.5px; }
.cell--caged.k-b::before { border-bottom-width: 1.5px; }
.cell--caged.k-l::before { border-left-width: 1.5px; }
.cell--caged.k-r::before { border-right-width: 1.5px; }
.cell--caged:not(.k-t)::before { top: -1px; }
.cell--caged:not(.k-b)::before { bottom: -1px; }
.cell--caged:not(.k-l)::before { left: -1px; }
.cell--caged:not(.k-r)::before { right: -1px; }
.cell__sum { position: absolute; top: 4px; left: 5px; font-size: max(9px, calc(100cqi / 9 * .17)); line-height: 1; font-weight: 600; color: var(--ink); z-index: 1; background: var(--surface); padding: 0 1px; }
.board--killer .cell__notes { inset: 12px 3px 3px; }
.board.is-hidden { visibility: hidden; }
.board-wrap.is-loading::after {
  content: attr(data-loading); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .85); font-weight: 600;
}

/* Samurai: the full five-grid board is played directly on wide screens (as in the mockup); the grid selector and
   focused 9×9 view are the small-screen interaction. */
@media (min-width: 900px) { .samurai-nav { display: none; } }
.board--samurai { max-width: 560px; }
.samurai-nav { margin-bottom: 12px; }
.samurai-nav__label { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.seg--grids { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
.seg--grids .seg__item { font-size: 13px; min-height: 44px; padding: 0 6px; }
.samurai-nav__help { font-size: 14px; color: var(--muted); margin-top: 8px; }
.samurai-nav__help:empty { display: none; }
.board--focus { max-width: 528px; }
.board--focus .cell { font-size: calc(100cqi / 9 * .46); }
.board--focus .cell__notes { font-size: max(9px, calc(100cqi / 9 * .27)); }

/* Danish composition: centred board, controls below */
.game--da .game__panel { display: block; padding: 28px; }
.game--da .game__bar, .game--da .board-wrap, .game--da .game__controls, .game--da .samurai-nav { max-width: 470px; margin-left: auto; margin-right: auto; }
.game--da .board { max-width: 470px; }
.game--da .board--samurai { max-width: 560px; }
.game--da .game__controls { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.game--da .game__level { display: inline; }
.game--da .game__timer { margin-right: 0; margin-left: auto; }
.level-menu { position: relative; margin-right: auto; }
.level-menu__btn { display: inline-flex; align-items: center; gap: 36px; min-height: 40px; padding: 0 12px; background: var(--surface); border: 1px solid var(--control-line); border-radius: 8px; font-size: 15px; font-weight: 600; }
.level-menu__btn:hover { border-color: var(--ink); }
.level-menu__btn .icon { width: 16px; height: 16px; }
.level-menu__list { left: 0; right: auto; }
.game--da .keypad .key { min-height: 46px; }

/* Spanish composition: coaching rail left, board right */
.game--es .game__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 528px); gap: 64px; }
.game--es .game__side { padding-top: 18px; }
.coach { margin-bottom: 24px; }
.coach__title { font-size: 26px; line-height: 1.2; font-weight: 700; margin-bottom: 16px; }
.coach__steps { list-style: none; padding: 0; counter-reset: coach; display: grid; gap: 22px; }
.coach__steps li { counter-increment: coach; display: flex; align-items: center; gap: 14px; font-size: 17px; }
.coach__steps li::before {
  content: counter(coach); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lilac); color: var(--violet);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}

/* ---------- Editorial: English rows ---------- */
.ed-rows { margin-top: 8px; }
.ed-row { display: grid; grid-template-columns: 390px minmax(0, 1fr); border-top: 1px solid var(--sep); padding: 34px 0 52px; }
.ed-row h2 { font-size: 28px; line-height: 1.5; font-weight: 700; padding-right: 32px; }
.ed-row__body p { color: var(--muted); font-size: 18px; }
.ed-row__body p + p, .ed-row__body p + .bullets { margin-top: 14px; }
.bullets { padding-left: 0; list-style: none; display: grid; gap: 12px; font-size: 17px; }
.bullets li { position: relative; padding-left: 18px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Danish margin notes */
.da-notes { margin-top: 8px; }
.da-note { display: grid; grid-template-columns: 125px minmax(0, 940px); padding: 26px 0 30px; }
.da-note__num { font-size: 15px; font-weight: 700; color: var(--teal); padding-top: 10px; }
.da-note h2 { font-size: 30px; line-height: 1.4; font-weight: 700; margin-bottom: 16px; }
.da-note p { color: var(--muted); font-size: 18px; }
.da-note p + p, .da-note p + .bullets { margin-top: 14px; }

/* Spanish numbered panels */
.es-steps { margin-top: 8px; }
.es-step { padding: 26px 0 30px; }
.es-step h2 { display: flex; align-items: center; gap: 16px; font-size: 30px; line-height: 1.3; font-weight: 700; margin-bottom: 18px; }
.es-step__num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--lilac); color: var(--violet);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700;
}
.es-step__body { padding-left: 70px; }
.es-step__body p { color: var(--muted); font-size: 18px; }
.es-step__body p + p, .es-step__body p + .bullets { margin-top: 14px; }

/* FAQ + related */
.faq { border-top: 1px solid var(--sep); padding-top: 40px; margin-top: 16px; }
.faq h2, .related h2 { font-size: 32px; line-height: 1.25; font-weight: 700; margin-bottom: 26px; }
.faq h3 { font-size: 20px; line-height: 1.4; font-weight: 600; margin-top: 22px; }
.faq p { color: var(--muted); font-size: 18px; margin-top: 8px; max-width: 960px; }
.related { margin-top: 56px; }
.related__list { list-style: none; padding: 0; display: grid; gap: 11px; }
.related__link {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 18px; background: var(--surface);
  border: 1px solid var(--control-line); border-radius: var(--radius); text-decoration: none; font-size: 15px; font-weight: 600;
}
.related__link:hover { border-color: var(--accent); }
.related__link .icon { width: 18px; height: 18px; }

/* Guide illustration */
.rule-panel { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 46px; align-items: center; padding: 24px; margin-bottom: 56px; max-width: 1170px; }
.figure-board { width: 300px; height: 300px; }
.rule-panel h2 { font-size: 28px; line-height: 1.3; font-weight: 700; margin-bottom: 14px; }
.rule-panel p { color: var(--muted); font-size: 19px; }

/* Notices */
.notice { border-radius: var(--radius); background: var(--select); padding: 18px 20px 26px; margin-top: 20px; }
.notice__title { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.notice__body { font-size: 16px; }
.notice.is-error, .notice--error { background: var(--error-bg); color: var(--error); }
.notice.is-error .notice__title { color: var(--error); }
.notice.is-ok { background: #E6F4EA; }
.ed-es .notice { background: #EBF2F3; }

/* Solver */
.solver__help { font-size: 17px; color: var(--muted); margin: -12px 0 22px; }
.solver__variant { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.solver__variant .icon { width: 18px; height: 18px; color: var(--accent); }
.solver__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.solver .board .cell--given { font-weight: 600; }

/* Solver text import */
.import { margin-top: 24px; display: grid; gap: 8px; max-width: 640px; }
.import__label { font-size: 16px; font-weight: 600; }
.import__help { font-size: 15px; color: var(--muted); }
.import__field { width: 100%; min-height: 88px; padding: 12px; border: 1px solid #8a9ba5; border-radius: 8px; font: 500 16px/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace; background: var(--surface); }
.import__field[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.import__error { font-size: 15px; color: var(--error); font-weight: 500; }
.import__error:empty { display: none; }
.import .btn { justify-self: start; }

/* Print one puzzle from a game page (built on demand by game.js; only visible in print) */
.puzzle-print { display: none; }

/* Daily */
.daily { margin-bottom: 20px; }
.daily__banner { background: var(--select); border-radius: var(--radius); padding: 18px 20px 20px; margin-bottom: 16px; }
.ed-es .daily__banner { background: #EBF2F3; }
.daily__eyebrow { font-size: 13px; font-weight: 600; color: var(--teal-dark); }
.ed-es .daily__eyebrow { color: var(--violet); }
.daily__date { font-size: 22px; font-weight: 700; margin-top: 6px; min-height: 33px; }
.daily__tz { font-size: 14px; color: var(--muted); margin-top: 4px; }
.daily__strip { min-height: 48px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.daily__strip .seg__item { flex-direction: column; gap: 0; line-height: 1.15; min-height: 48px; font-size: 14px; }
.daily__strip .seg__item small { font-weight: 500; font-size: 11px; }
.daily__strip .seg__item.is-done::after { content: "✓"; font-size: 11px; }
.daily__notice { margin-top: 12px; background: #FFF6D9; border-radius: var(--radius); padding: 12px 16px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.daily__notice[hidden] { display: none; }
.archive { display: grid; gap: 16px; max-height: 60vh; overflow: auto; margin: 12px 0; }
.archive h3 { font-size: 16px; margin-bottom: 8px; }
.archive ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.archive p { color: var(--muted); font-size: 16px; }

/* Print builder */
.printer { margin-bottom: 56px; }
.printer__options { padding: 22px 24px 28px; display: grid; gap: 10px; margin-bottom: 14px; }
.printer__label { font-size: 15px; font-weight: 600; margin-top: 6px; }
.printer__options .seg--levels { margin-bottom: 4px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.printer__preview { padding: 24px; }
.sheets { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; min-height: 280px; }
.printer__loading { align-self: center; color: var(--muted); }
.printer__caption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.printer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.printer__help { font-size: 15px; color: var(--muted); margin-top: 10px; }
.sheet {
  background: #fff; border: 1px solid var(--sep); box-shadow: 0 2px 8px rgba(20, 35, 49, .06); width: 300px; padding: 18px;
  display: flex; flex-direction: column; color: #000;
}
.sheet--letter { aspect-ratio: 8.5 / 11; }
.sheet--a4 { aspect-ratio: 210 / 297; }
.sheet__head { display: flex; justify-content: space-between; font-size: 9px; margin-bottom: 8px; }
.sheet__grid { flex: 1; display: grid; gap: 8%; align-content: start; justify-items: center; }
.sheet__grid--1 { grid-template-columns: 1fr; padding-top: 6%; }
.sheet__grid--2 { grid-template-columns: 1fr; gap: 4%; }
.sheet__grid--4 { grid-template-columns: 1fr 1fr; gap: 6%; padding-top: 6%; }
.sheet__item { width: 100%; display: flex; flex-direction: column; align-items: center; }
.sheet__grid--1 .sheet__item { width: 92%; }
.sheet__grid--2 .sheet__item { width: 62%; }
.sheet__label { font-size: 7px; align-self: flex-start; margin-bottom: 2px; }
.pgrid { width: 100%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(9, 1fr); border: 1.5px solid #000; container-type: inline-size; }
.pgrid span { display: flex; align-items: center; justify-content: center; border-right: .5px solid #777; border-bottom: .5px solid #777; font-size: calc(100cqi / 9 * .55); }
.pgrid span:nth-child(3n) { border-right: 1.5px solid #000; }
.pgrid span:nth-child(9n) { border-right: 0; }
.pgrid span:nth-child(n+19):nth-child(-n+27), .pgrid span:nth-child(n+46):nth-child(-n+54) { border-bottom: 1.5px solid #000; }
.pgrid span:nth-child(n+73) { border-bottom: 0; }
.pgrid--answer span { font-size: calc(100cqi / 9 * .5); }

/* Dialogs */
.dialog {
  width: min(380px, calc(100% - 32px)); border: 1px solid var(--sep); border-radius: var(--radius-lg); padding: 28px 24px 24px;
  background: var(--surface); color: var(--ink); box-shadow: 0 16px 40px rgba(20, 35, 49, .18);
}
.dialog--wide { width: min(560px, calc(100% - 32px)); }
.dialog::backdrop { background: rgba(214, 224, 231, .8); }
.dialog__title { font-size: 30px; line-height: 1.2; font-weight: 700; margin-bottom: 18px; }
.dialog__body { font-size: 17px; color: var(--muted); }
.dialog__meta { font-size: 15px; margin-top: 8px; font-weight: 600; }
.dialog__meta:empty { display: none; }
.dialog__actions { display: flex; gap: 10px; margin-top: 26px; }
.dialog__actions .btn { flex: 1; }
.settings { display: grid; gap: 2px; }
.settings__note { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- Footer (one component, every edition; accent follows the edition) ---------- */
.footer {
  --f-bg: #142331; --f-bg2: #0F1B27; --f-text: #DCE6E9; --f-muted: #A9BCC6; --f-line: rgba(220, 230, 233, .14);
  --f-accent: #5CC6D4; --f-accent-ink: #0B2A30;
  background: var(--f-bg); color: var(--f-text); margin-top: 24px; position: relative;
}
.footer--es { --f-accent: #B9AEF2; --f-accent-ink: #231A57; }
.footer::before {
  /* nine-cell rule: a quiet nod to the grid, purely decorative */
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--f-accent) 0 11.1%, transparent 11.1% 11.6%, var(--f-accent) 11.6% 22.2%, transparent 22.2% 22.7%,
    var(--f-accent) 22.7% 33.3%, transparent 33.3% 33.8%, rgba(220, 230, 233, .35) 33.8% 44.4%, transparent 44.4% 44.9%,
    rgba(220, 230, 233, .35) 44.9% 55.5%, transparent 55.5% 56%, rgba(220, 230, 233, .35) 56% 66.6%, transparent 66.6% 67.1%,
    var(--f-accent) 67.1% 77.7%, transparent 77.7% 78.2%, var(--f-accent) 78.2% 88.8%, transparent 88.8% 89.3%, var(--f-accent) 89.3% 100%);
}
.footer a { color: inherit; }
.footer :focus-visible { outline-color: var(--f-accent); }
.footer__inner {
  max-width: 1200px; margin: 0 auto; padding: 64px 0 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px;
}
.footer__brand { color: #fff; font-size: 22px; }
.footer__brand img { width: 24px; height: 24px; }
.footer__pitch { margin-top: 22px; font-size: 30px; line-height: 1.2; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.footer__lead { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--f-muted); max-width: 400px; }
.footer__cta {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 16px; border-radius: 10px;
  background: var(--f-accent); color: var(--f-accent-ink) !important; font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.footer__cta:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.footer__cta:active { transform: translateY(1px); }
.footer__cta .icon { width: 18px; height: 18px; }
.footer__cta .icon:last-child { transition: transform .15s ease; }
.footer__cta:hover .icon:last-child { transform: translateX(3px); }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 6px; }
.footer__title { font-size: 14px; font-weight: 600; color: var(--f-accent); margin-bottom: 14px; letter-spacing: .01em; }
.footer__group ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.footer__group a {
  display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; text-decoration: none; color: var(--f-text);
  border-radius: 6px; text-underline-offset: 5px;
}
.footer__group a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--f-accent); }
.footer__group a[aria-current="page"] { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--f-accent); }
.footer__bar { background: var(--f-bg2); border-top: 1px solid var(--f-line); }
.footer__bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 0 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; font-size: 14px; color: var(--f-muted);
}
.footer__langs { display: flex; align-items: center; gap: 10px; }
.footer__langs > .icon { width: 18px; height: 18px; color: var(--f-muted); }
.footer__langs ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.footer__langs a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--f-line); color: var(--f-text);
}
.footer__langs a:hover { border-color: var(--f-accent); }
.footer__langs a[aria-current] { background: rgba(220, 230, 233, .1); border-color: var(--f-accent); color: #fff; font-weight: 600; }
.footer__langs .icon--sm { width: 14px; height: 14px; color: var(--f-accent); }
.footer__contact a { color: var(--f-text); text-underline-offset: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__note { margin-left: auto; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 15; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0 16px; border-radius: 999px; border: 1px solid var(--sep); background: var(--surface); font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(20, 35, 49, .12);
}
.back-to-top[hidden] { display: none; }
.icon--up { transform: rotate(-90deg); width: 18px; height: 18px; }

/* 404 */
.nf__others { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.nf__alt h2 { font-size: 22px; margin-bottom: 8px; }
.nf__alt p { color: var(--muted); }
.nf__alt a { font-weight: 600; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  :root { --gutter: 48px; }
  .wrap, .footer__inner, .footer__bar-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .site-header__inner { padding: 0 32px; }
}
@media (max-width: 1100px) {
  .nav-link { padding: 0 11px; }
  .nav-link .icon:not(.icon--chev) { display: none; }
  .game__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .game--es .game__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .keypad { gap: 6px; }
  .ed-row { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 899px) {
  :root { --header-h: 66px; --gutter: 20px; }
  body { font-size: 17px; }
  .site-header__inner { padding: 0 20px; }
  .primary-nav, .lang-switch { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 8px; }
  .menu-btn .icon { width: 24px; height: 24px; }
  main { padding-top: 24px; }
  .opening h1 { font-size: 32px; line-height: 37px; }
  .lead { font-size: 17px; margin-top: 14px; }
  .game__panel, .game--es .game__panel { display: flex; flex-direction: column; padding: 0; border: 0; background: transparent; gap: 16px; }
  .game--da .game__panel { padding: 0; border: 0; background: transparent; }
  .game__main { width: 100%; }
  .game--es .game__main { order: -1; }
  .game__side { padding-top: 0; width: 100%; max-width: none; }
  .game__title, .game__lead { display: none; }
  .game--en .game__level, .game--es .game__level { display: inline; }
  .game__bar { background: var(--surface); border: 1px solid var(--control-line); border-radius: var(--radius); padding: 2px 6px 2px 14px; margin-bottom: 12px; }
  .game__timer { margin-right: 0; margin-left: auto; }
  .board { max-width: none; }
  .game--da .game__bar, .game--da .board-wrap, .game--da .game__controls, .game--da .samurai-nav { max-width: none; }
  .game--da .board { max-width: none; }
  .keypad--n9 { grid-template-columns: repeat(3, 1fr); }
  .keypad--n9 .key, .keypad--n6 .key, .keypad--n4 .key { min-height: 48px; }
  .keypad--n6 { grid-template-columns: repeat(3, 1fr); }
  .seg--levels { gap: 8px; }
  .seg--levels .seg__item { padding: 0 6px; border-radius: 10px; font-size: 15px; }
  .coach { margin: 8px 0 4px; order: 9; }
  .ed-row { grid-template-columns: 1fr; padding: 30px 0 28px; border-top: 0; }
  .ed-row h2, .da-note h2, .es-step h2 { font-size: 24px; line-height: 1.3; margin-bottom: 14px; }
  .ed-row__body p, .da-note p, .es-step__body p, .faq p { font-size: 17px; }
  .da-note { grid-template-columns: 1fr; padding: 22px 0; }
  .da-note__num { padding: 0 0 6px; }
  .es-step__body { padding-left: 0; }
  .faq h2, .related h2 { font-size: 26px; }
  .rule-panel { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .figure-board { width: 100%; max-width: 340px; height: auto; margin: 0 auto; }
  .daily__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nf__others { grid-template-columns: 1fr; }
  .board--samurai.board--overview .cell { font-size: calc(100cqi / 21 * .5); }
}
@media (max-width: 1100px) {
  .footer__inner { grid-template-columns: 1fr; gap: 44px; }
  .footer__lead { max-width: 560px; }
}
@media (max-width: 899px) {
  .footer__inner { padding-top: 48px; padding-bottom: 40px; }
  .footer__pitch { font-size: 26px; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer__group a { min-height: 44px; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; padding-bottom: 28px; }
  .footer__langs a { min-height: 44px; }
  .footer__note { margin-left: 0; }
  .footer__cta { width: 100%; justify-content: center; }
  .footer__cta .icon:last-child { margin-left: auto; }
}
@media (max-width: 380px) {
  .toolbar { gap: 6px; }
  .tool { font-size: 13px; }
  .seg--levels .seg__item { font-size: 14px; }
  .opening h1 { font-size: 30px; line-height: 35px; }
}
@media (scripting: none) {
  .primary-nav { display: flex !important; }
  .menu-btn { display: none !important; }
  .nav-more, .lang-switch { display: none !important; }
}
@media (scripting: none) and (max-width: 899px) {
  .site-header__inner { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; }
  .primary-nav { width: 100%; justify-content: flex-start; }
  .nav-track { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print: only the prepared sheets ---------- */
@page letter { size: letter; margin: 0.5in; }
@page a4 { size: A4; margin: 12mm; }
@page landscape { size: landscape; margin: 10mm; }
@media print {
  body { background: #fff; }
  body > *:not(main), .skip-link, .site-header, .footer, .back-to-top, dialog { display: none !important; }
  main { padding: 0; }
  body:not(.is-printing-puzzle) main .wrap > *:not(.printer), .printer > *:not(.printer__preview), .printer__caption { display: none !important; }
  .printer__preview { border: 0; padding: 0; }
  .sheets { display: block; }
  .sheet { width: 100%; height: auto; border: 0; box-shadow: none; padding: 0; aspect-ratio: auto; break-after: page; }
  .sheet--letter { page: letter; height: 9.9in; }
  .sheet--a4 { page: a4; height: 272mm; }
  .sheet__head { font-size: 10pt; }
  .sheet__label { font-size: 9pt; }
  .pgrid { border-width: 2pt; }
  .pgrid span { border-color: #000; }
  /* single puzzle from a game page */
  body.is-printing-puzzle main .wrap > *:not(.puzzle-print) { display: none !important; }
  body.is-printing-puzzle .puzzle-print { display: block !important; }
  .pp-page { break-after: page; color: #000; }
  .pp-page:last-child { break-after: auto; }
  .pp-page--landscape { page: landscape; }
  .pp-head { display: flex; justify-content: space-between; font-size: 11pt; margin-bottom: 6mm; }
  .pp-head strong { font-size: 14pt; }
  .pp-board { width: 160mm; max-width: 100%; margin: 0 auto; }
  .pp-page--landscape .pp-board { width: 175mm; }
  .pp-board .board { max-width: none; }
  .pp-board .cell { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .pp-board .cell--void { background: transparent !important; }
  .pp-board .cell.b-r, .pp-board .cell.b-b, .pp-board .cell.e-t, .pp-board .cell.e-l { border-color: #000; }
  .pp-board .cell--caged::before { border-color: #000; }
  .pp-foot { font-size: 9pt; margin-top: 5mm; text-align: center; }
}
