@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

:root {
  --bg: #f4f1ed;
  --bg-card: #ffffff;
  --bg-tint: #eae5e0;
  --bg-dark: #1c1c1c;
  --ink: #1a1a1a;
  --ink-soft: #555555;
  --primary: #e45d3f;
  --primary-text: #ffffff;
  --line: #e5e2de;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 9999px;
  --pad: 2rem;
  --gutter: 1.5rem;
  --gap-section: 8rem;
  --max: 80rem;
  --focus: #e45d3f;
  --game-primary: #1d4ed8;
  --game-bg: #ffffff;
  --game-text: #1a1a1a;
  --game-accent: #1d4ed8;
  --game-border: #e5e2de;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
figure {
  margin: 0;
}
a {
  color: var(--primary);
}

a:hover {
  color: #c94b30;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 0.125rem solid var(--focus);
  outline-offset: 0.1875rem;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 80;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
}

h1,
h2,
h3,
h4 {
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: 1.125rem;
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 0.75rem;
}

.muted {
  color: var(--ink-soft);
}

.app {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: var(--bg);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 4.5rem;
  padding: 0.75rem var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle img {
  width: 1.125rem;
  aspect-ratio: 18 / 12;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.desk-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.desk-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.desk-nav a[aria-current="page"] {
  color: var(--primary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-btn {
  width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.icon-btn img {
  width: 1.25rem;
  aspect-ratio: 1;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 0.35rem;
  right: 0.3rem;
  min-width: 0.5rem;
  min-height: 0.5rem;
  padding: 0;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--primary-text);
  font-size: 0;
}

.cart-count:not([hidden]) {
  min-width: 1rem;
  min-height: 1rem;
  font-size: 0.625rem;
  line-height: 1rem;
  text-align: center;
  font-weight: 700;
}

.cart-count[hidden] {
  display: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgb(28 28 28 / 46%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 50;
}

.menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(82vw, 20rem);
  min-height: 100dvh;
  background: var(--bg);
  z-index: 60;
  transform: translateX(-100%);
  opacity: 0.6;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
  padding: 1.25rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.side-menu.is-open {
  transform: translateX(0);
  opacity: 1;
}

.side-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-menu-brand {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.side-menu-close {
  width: 2.5rem;
  min-height: 2.5rem;
  border: 0;
  background: transparent;
  font-size: 1.375rem;
  cursor: pointer;
  color: var(--ink);
}

.side-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.side-menu-list li + li {
  border-top: 1px solid var(--line);
}

.side-menu-link {
  display: block;
  padding: 0.875rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.side-menu-link[aria-current="page"] {
  color: var(--primary);
}

.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
  padding: 2rem 0 3rem;
  flex: 1;
}

.reviews,
.blog-block {
  content-visibility: auto;
  contain-intrinsic-size: auto 40rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.6;
}

section {
  overflow-x: hidden;
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 1rem var(--pad) 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-kicker {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.hero-lead {
  margin: 0;
  opacity: 0.8;
}

.blob {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-dark);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
}

.blob img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.blob-text {
  grid-area: 1 / 1;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.actions .btn {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 0.125rem solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
}

.btn-primary:hover {
  color: var(--primary-text);
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:hover {
  background: rgb(228 93 63 / 6%);
  color: var(--primary);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 20%);
}

.btn-text {
  background: transparent;
  border: 0;
  color: var(--primary);
  min-height: 2.5rem;
  padding: 0.5rem 0;
}

.why {
  width: calc(100% - 4rem);
  max-width: 48rem;
  margin: 0 auto;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why h2,
.lead-box h2,
.site-footer h2,
.footer-heading {
  color: #fff;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-num {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.why-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
}

.why-item p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.catalog,
.reviews,
.blog-block,
.wrap,
.section {
  width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

article.wrap {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.catalog-title {
  color: var(--primary);
  font-size: 1.75rem;
}

.shop-grid,
.book-row,
.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.book-cover {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--line);
}

.book-cover img,
.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.book-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}

.book-title:hover {
  color: var(--primary);
}

.book-author,
.book-meta {
  font-size: 0.875rem;
  color: rgb(26 26 26 / 70%);
  margin: 0;
}

.book-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.book-price {
  margin: 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
}

.book-card .btn {
  min-height: 2.25rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.tint-box {
  width: calc(100% - 4rem);
  max-width: 48rem;
  margin: 0 auto;
  background: var(--bg-tint);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tint-box h2 {
  font-size: 1.5rem;
  margin: 0;
}

.point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.point-num {
  color: var(--primary);
  font-weight: 700;
}

.point p {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.review-grid,
.article-grid,
.char-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.quote-card,
.story-card,
.review-card {
  background: var(--bg-card);
  border: 1px solid rgb(0 0 0 / 5%);
  border-radius: 1rem;
  padding: 1rem;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stars {
  color: var(--primary);
  letter-spacing: 0.05em;
}

.blog-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  scrollbar-width: none;
}

.blog-rail::-webkit-scrollbar {
  display: none;
}

.blog-card {
  flex: 0 0 min(16.25rem, 80%);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid rgb(0 0 0 / 5%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card .media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-tint);
}

.blog-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-date {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}

.lead-box {
  width: calc(100% - 4rem);
  max-width: 40rem;
  margin: 0 auto;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-box p {
  color: #cccccc;
  font-size: 0.8125rem;
}

.lead-box .form,
.lead-box .btn {
  width: 100%;
}

.footer-heading,
.site-footer h2 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 1.5rem;
  font-weight: 700;
  color: #fff;
}

.site-footer {
  background: #1c1c1c;
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 3rem var(--pad) 6.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: #9ca3af;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-nav,
.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-mail {
  color: var(--primary);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 70;
  width: min(45rem, calc(100% - 3rem));
  transform: translate(-50%, 110%);
  opacity: 0;
  background: var(--bg-dark);
  color: #f3ece0;
  padding: 1rem 1.25rem 1.125rem;
  border-radius: 0.75rem 0.75rem 0 0;
  transition:
    transform 0.32s ease,
    opacity 0.32s ease;
}

.cookie-bar.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-bar.is-hiding {
  transform: translate(-50%, 110%);
  opacity: 0;
}

.cookie-bar p {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: #f3ece0;
}

.cookie-bar a {
  color: #f0c08a;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.cookie-actions .btn {
  flex: 1;
  min-height: 2.75rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgb(28 28 28 / 50%);
}

.modal-panel {
  position: relative;
  width: min(30rem, 92vw);
  background: var(--bg);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transform: translateY(1rem);
  opacity: 0;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0);
  opacity: 1;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.filter-group,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-label {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8125rem;
  cursor: pointer;
}

.chip.is-active,
.chip[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-hero {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: 2rem;
  align-items: start;
}

.product-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--line);
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.tab {
  flex: 1;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  border-bottom: 0.125rem solid transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
}

.tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.tab-panel[hidden] {
  display: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem;
}

.cart-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.5rem;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty button {
  width: 2rem;
  min-height: 2rem;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  border-radius: 0.4rem;
  font: inherit;
}

.cart-sum {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.form {
  display: grid;
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 600;
  font-size: 0.8125rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b7ae9d;
  border-radius: 0.75rem;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.char-card {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  text-align: left;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  cursor: pointer;
  color: inherit;
}

.char-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
}

.char-card.is-selected {
  border-color: var(--primary);
}

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.cell {
  min-height: 3.5rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 0.4rem;
  padding: 0.4rem;
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cell.is-here {
  background: #f8e4de;
  border-color: var(--primary);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.65rem;
}

.stat span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.legal-list,
.content-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-list li,
.content-list li {
  margin-bottom: 0.6rem;
}

.page-hero-media,
.hero-media,
.cover-media,
.media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
}

.page-hero-media {
  width: calc(100% - (var(--pad) * 2));
  max-width: 100%;
  margin-inline: auto;
}

.page-main > .page-hero-media + * {
  margin-top: calc(1.5rem - var(--gap-section));
}

.page-hero-media img,
.hero-media img,
.cover-media img,
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem;
}

.article-card .media {
  aspect-ratio: 16 / 9;
}

.article-card h3 {
  margin: 0;
}

.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--primary);
}

.person {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

.person img {
  width: 3rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 45;
  background: var(--ink);
  color: #f3ece0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  transform: translateY(1.25rem);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.toast.is-on {
  transform: translateY(0);
  opacity: 1;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.section-link {
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  :root {
    --pad: 1.5rem;
    --gap-section: 3rem;
  }

  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  h2 {
    font-size: 1.5rem;
  }

  .app {
    max-width: 30rem;
  }

  .header-inner {
    min-height: 4rem;
    padding: 0 var(--gutter);
    grid-template-columns: 1fr auto 1fr;
  }

  .menu-toggle {
    display: flex;
    justify-self: start;
  }

  .desk-nav {
    display: none;
  }

  .logo {
    font-size: 1.25rem;
    justify-self: center;
  }

  .header-tools {
    justify-self: end;
  }

  .page-main {
    gap: 3rem;
    padding: 1.5rem 0 2rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 1.5rem 0;
  }

  .hero-kicker {
    font-size: 1rem;
  }

  .blob {
    margin-block: 1rem;
  }

  .blob-text {
    font-size: 2.5rem;
  }

  .why {
    width: calc(100% - 3rem);
    border-radius: 2rem;
    padding: 2rem;
  }

  .tint-box,
  .lead-box {
    width: calc(100% - 2rem);
    padding: 1.5rem;
  }

  .catalog-title {
    font-size: 1.375rem;
  }

  .shop-grid,
  .book-row,
  .related,
  .review-grid,
  .article-grid,
  .char-grid,
  .steps,
  .filters,
  .product-hero,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 6.5rem;
    border-radius: 2rem 2rem 0 0;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 0;
    font-size: 0.8125rem;
  }

  .footer-nav li {
    display: flex;
    align-items: center;
  }

  .footer-nav li:not(:last-child)::after {
    content: "·";
    margin: 0 0.75rem;
    color: #9ca3af;
  }

  .cookie-bar {
    left: 0;
    width: 100%;
    transform: translateY(110%);
    border-radius: 0;
  }

  .cookie-bar.is-visible {
    transform: translateY(0);
  }

  .cookie-bar.is-hiding {
    transform: translateY(110%);
  }

  .modal {
    align-items: flex-end;
  }

  .modal-panel {
    width: 100%;
    border-radius: 1rem 1rem 0 0;
  }
}

/* aliases, leftovers, hotfix names. don't "clean" this file @ola 28.08 */
.main-header {
}
.hero-section {
}
.hero-baner {
}
.secton-dark {
}
.pricin-card {
}
.card-fix-2026 {
}
.card-btn {
}
.catalog__grid {
}
.heroCopy {
}

.mj {
  --mj-brown: #8b5a2b;
  --mj-sky: #7ec8e3;
  --mj-pink: #e56b9a;
  --mj-orange: #e67a22;
  --mj-red: #d32f2f;
  --mj-yellow: #e4c441;
  --mj-green: #2e7d32;
  --mj-navy: #1a237e;
  color: var(--game-text);
}

.mj-setup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.mj-diff {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--game-border);
  border-radius: var(--radius-md);
  background: var(--game-bg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.mj-diff legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.mj-diff label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
}

.mj-setup__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mj-play {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mj-turn {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.mj-layout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mj-side {
  display: contents;
}

.mj-panel--you { order: 1; }
.mj-board-col { order: 2; }
.mj-panel--bot { order: 3; }
.mj-controls { order: 4; }

.mj-board-col {
  width: 100%;
}

.mj-board {
  position: relative;
  width: 100%;
  max-width: min(100%, 36rem);
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 0.2rem;
}

.mj-cell {
  position: relative;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--game-border);
  background: var(--game-bg);
  border-radius: 0.28rem;
  padding: 0.18rem 0.16rem 0.28rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.mj-cell.is-active {
  outline: 2px solid var(--game-accent);
  outline-offset: -1px;
  z-index: 1;
}

.mj-cell__bar {
  height: 0.28rem;
  margin: -0.18rem -0.16rem 0.15rem;
  border-radius: 0.28rem 0.28rem 0 0;
}

.mj-cell__name {
  font-size: 10px;
  line-height: 1.15;
  font-weight: 700;
}

.mj-cell__meta {
  font-size: 10px;
  color: var(--ink-soft);
}

.mj-cell--corner {
  background: var(--bg-tint);
  justify-content: center;
  text-align: center;
}

.mj-cell--corner .mj-cell__name {
  font-size: 11px;
}

.mj-cell[data-color="brown"] .mj-cell__bar { background: var(--mj-brown); }
.mj-cell[data-color="sky"] .mj-cell__bar { background: var(--mj-sky); }
.mj-cell[data-color="pink"] .mj-cell__bar { background: var(--mj-pink); }
.mj-cell[data-color="orange"] .mj-cell__bar { background: var(--mj-orange); }
.mj-cell[data-color="red"] .mj-cell__bar { background: var(--mj-red); }
.mj-cell[data-color="yellow"] .mj-cell__bar { background: var(--mj-yellow); }
.mj-cell[data-color="green"] .mj-cell__bar { background: var(--mj-green); }
.mj-cell[data-color="navy"] .mj-cell__bar { background: var(--mj-navy); }

.mj-board__center {
  grid-column: 2 / 5;
  grid-row: 2 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--bg-tint);
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-align: center;
}

.mj-board__center strong {
  font-size: 0.8rem;
}

.mj-board__center span {
  font-size: 10px;
  color: var(--ink-soft);
}

.mj-token {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.3s ease;
  will-change: transform;
  box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
}

.mj-token--you { background: var(--primary); }
.mj-token--bot { background: var(--game-primary); }

.mj-panel {
  background: var(--game-bg);
  border: 1px solid var(--game-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.8rem;
}

.mj-panel.is-turn {
  border-color: var(--game-accent);
}

.mj-panel__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mj-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.mj-cash {
  margin: 0.1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
}

.mj-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.mj-avatar--you { background: var(--primary); }
.mj-avatar--bot { background: var(--game-primary); }

.mj-props-label {
  margin: 0.55rem 0 0.2rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.mj-props {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.75rem;
}

.mj-props li {
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--bg-tint);
}

.mj-props li[data-color]::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  margin-right: 0.3rem;
  background: currentColor;
  vertical-align: middle;
}

.mj-controls {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mj-dice {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  perspective: 480px;
}

.mj-die {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.4rem;
  background: var(--game-bg);
  border: 1px solid var(--game-border);
  box-shadow: inset 0 0 0 2px #fafafa, 0 2px 0 var(--game-border);
  position: relative;
  transform-style: preserve-3d;
}

.mj-die.is-roll {
  animation: mj-spin 0.55s linear;
}

.mj-die::after {
  content: attr(data-value);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
}

@keyframes mj-spin {
  0% { transform: rotateX(0) rotateY(0); }
  100% { transform: rotateX(360deg) rotateY(280deg); }
}

.mj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mj-actions .btn {
  min-height: 2.75rem;
  min-width: 2.75rem;
  flex: 1 1 10rem;
}

.mj-log {
  order: 5;
  margin: 0;
  padding: 0.75rem 0.9rem 0.75rem 1.4rem;
  background: var(--game-bg);
  border: 1px solid var(--game-border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  max-height: 10rem;
  overflow: auto;
}

.mj-log li + li {
  margin-top: 0.3rem;
}

.mj-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.mj-modal[hidden] {
  display: none;
}

.mj-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 45%);
}

.mj-modal__panel {
  position: relative;
  width: min(28rem, 100%);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  background: var(--game-bg);
  color: var(--game-text);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
}

.mj-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 55;
  transform: translateX(-50%);
  background: var(--ink);
  color: #f3ece0;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  max-width: calc(100% - 2rem);
}

.mj-toast[hidden] {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mj-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    order: 3;
  }

  .mj-panel--you,
  .mj-panel--bot {
    order: 0;
  }

  .mj-controls {
    grid-column: 1 / -1;
  }

  .mj-board-col {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .mj-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18.5rem;
    align-items: start;
  }

  .mj-side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    order: 0;
  }

  .mj-board-col,
  .mj-panel--you,
  .mj-panel--bot,
  .mj-controls {
    order: 0;
  }

  .mj-board {
    max-width: 42rem;
  }

  .mj-cell__name,
  .mj-cell__meta {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .mj-cell {
    min-height: 40px;
    padding: 0.12rem 0.1rem 0.18rem;
  }

  .mj-cell__name,
  .mj-cell__meta {
    font-size: 10px;
  }

  .mj-modal {
    padding: 0.75rem;
    align-items: stretch;
  }

  .mj-modal__panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mj-actions .btn {
    min-height: 2.75rem;
  }
}
