:root {
  color-scheme: light;
  --ink: #21170f;
  --muted: #6e604f;
  --paper: #fffaf0;
  --line: rgba(93, 63, 31, 0.14);
  --gold: #f4b633;
  --leaf: #5ca83b;
  --wood: #7a4b27;
  --shadow: 0 26px 90px rgba(73, 45, 20, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(111, 184, 86, 0.16), transparent 26rem),
    linear-gradient(180deg, #fffdf8 0%, #f8f3e8 48%, #e8c48c 100%);
}

[hidden] { display: none !important; }

img {
  display: block;
  max-width: 100%;
}

.is-hidden {
  display: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

main {
  overflow: hidden;
}

.top-controls {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.site-nav,
.site-utilities {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav {
  width: max-content;
  max-width: 100%;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid rgba(93, 63, 31, 0.13);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.86);
  box-shadow: 0 12px 30px rgba(73, 45, 20, 0.1);
  backdrop-filter: blur(18px) saturate(1.12);
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #5d4938;
  font-size: .88rem;
  font-weight: 850;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #21170f;
  background: #fff;
  box-shadow: 0 4px 14px rgba(73, 45, 20, .1);
}

.site-utilities { justify-content: flex-end; }

.language-toggle,
.top-login-button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(93, 63, 31, 0.16);
  border-radius: 999px;
  color: #2f2114;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 225, 0.72)),
    rgba(255, 255, 255, 0.7);
  box-shadow:
    0 12px 30px rgba(73, 45, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(1.12);
}

body > .language-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
}

.top-login-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-toggle:hover,
.top-login-button:hover {
  transform: translateY(-1px);
}

.language-toggle:focus-visible,
.top-login-button:focus-visible {
  outline: 3px solid rgba(92, 168, 59, 0.34);
  outline-offset: 3px;
}

.hero {
  min-height: 86svh;
  padding: clamp(72px, 8vw, 92px) clamp(20px, 7vw, 110px) clamp(34px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.5fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
}

.hero__copy {
  max-width: 720px;
}

.kicker {
  margin: 0 0 14px;
  color: #8a5a1f;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.4rem, 14vw, 10rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: #463522;
  font-size: clamp(1.15rem, 2.2vw, 1.72rem);
  line-height: 1.38;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  max-width: 720px;
}

.actions .download {
  order: 1;
}

.actions .secondary {
  order: 2;
}

.actions a {
  width: auto;
}

.actions .download {
  min-width: 124px;
}

.nav-icon-button {
  width: 56px;
  min-width: 56px;
  padding: 14px;
}

.nav-icon-button .button-icon {
  margin-right: 0;
}

.download,
.secondary,
.text-link {
  min-height: 56px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(93, 63, 31, 0.13);
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    0 12px 30px rgba(73, 45, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.download {
  color: #2a1807;
  background:
    linear-gradient(180deg, rgba(255, 230, 143, 0.96), rgba(241, 174, 55, 0.92)),
    #f4b633;
  border-color: rgba(133, 83, 24, 0.18);
  box-shadow:
    0 16px 34px rgba(130, 77, 8, 0.22),
    inset 0 1px 0 rgba(255, 251, 224, 0.85),
    inset 0 -1px 0 rgba(120, 69, 11, 0.16);
}

.download--ios {
  color: #fff8e9;
  background:
    linear-gradient(180deg, rgba(61, 55, 48, 0.98), rgba(20, 18, 16, 0.96)),
    #1d1a17;
  border-color: rgba(255, 244, 218, 0.18);
  box-shadow:
    0 16px 34px rgba(20, 13, 7, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.download--spotify {
  color: #071c0f;
  background:
    linear-gradient(180deg, rgba(74, 226, 128, 0.98), rgba(29, 185, 84, 0.96)),
    #1db954;
  border-color: rgba(4, 74, 30, 0.24);
  box-shadow:
    0 16px 34px rgba(10, 101, 43, 0.22),
    inset 0 1px 0 rgba(225, 255, 236, 0.62),
    inset 0 -1px 0 rgba(0, 68, 24, 0.24);
}

.button-icon {
  width: 21px;
  height: 21px;
  margin-right: 8px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.button-icon--image {
  object-fit: contain;
}

.android-button-icon {
  color: #120d08;
}

.apple-button-icon {
  color: currentColor;
  font-size: 1.3rem;
  line-height: 1;
}

.spotify-button-icon {
  color: currentColor;
  font-size: 1.24rem;
  line-height: 1;
}

.home-button-icon {
  font-size: 1.18rem;
  line-height: 1;
}

.solution-button-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.secondary {
  color: #302114;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 225, 0.58)),
    rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(18px) saturate(1.15);
}

.game-button {
  min-height: 56px;
  padding: 14px 24px;
  position: relative;
  overflow: hidden;
  color: #2f2114;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 217, 0.66)),
    rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(93, 63, 31, 0.14);
  border-radius: 20px;
  box-shadow:
    0 14px 34px rgba(73, 45, 20, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(103, 63, 25, 0.08);
  text-shadow: none;
  backdrop-filter: blur(20px) saturate(1.18);
}

.game-button.nav-icon-button {
  width: 56px;
  min-width: 56px;
  padding: 14px;
}

.game-button::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 48%;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent);
  pointer-events: none;
}

.game-button::after {
  content: none;
}

.game-button .button-icon,
.game-button span,
.game-button img {
  position: relative;
  z-index: 1;
}

.game-button--dark {
  color: #fff5dc;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 240, 202, 0.1)),
    rgba(255, 255, 255, 0.12);
}

.secondary--bottom.game-button--dark {
  width: min(100%, 260px);
  color: #fff5dc;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 240, 202, 0.1)),
    rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 245, 220, 0.24);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.secondary--bottom.game-button--dark .button-icon {
  color: #fff5dc;
}

.game-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.game-button:active {
  transform: translateY(1px);
  box-shadow:
    0 8px 18px rgba(73, 45, 20, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.download:hover,
.secondary:hover,
.text-link:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 38px rgba(73, 45, 20, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.download:focus-visible,
.secondary:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(92, 168, 59, 0.34);
  outline-offset: 3px;
}

.text-link {
  margin-top: 8px;
  color: #3c2814;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(93, 63, 31, 0.14);
}

.inline-link {
  color: #704513;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-icon-card {
  justify-self: center;
  width: min(100%, 390px);
  margin-bottom: 0;
}

.hero-icon-card img {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 28%;
  box-shadow: 0 28px 76px rgba(74, 45, 15, 0.28);
}

.showcase,
.worlds,
.modes-section,
.detail-section,
.account,
.install,
.server-health {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto clamp(76px, 11vw, 142px);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.92fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.showcase__copy {
  min-width: 0;
}

.showcase__copy h2 {
  max-width: 560px;
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
}

.showcase__copy p,
.section-heading p,
.world-card p,
.mode-card p,
.account p,
.install p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.62;
}

.screen-focus img {
  height: auto;
  width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 28px 60px rgba(73, 45, 20, 0.22));
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading h2 {
  font-size: clamp(2.25rem, 5.8vw, 5rem);
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

.mobile-carousel { position: relative; }
.carousel-arrow { display: none; }

.world-card {
  min-height: 330px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.68);
  box-shadow: 0 18px 58px rgba(73, 45, 20, 0.11);
  backdrop-filter: blur(22px);
}

.world-image-button {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 20px;
  background: transparent;
  cursor: zoom-in;
}

.world-image-button img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(71, 43, 17, 0.16);
}

.image-dialog {
  width: min(92vw, 980px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  overflow: visible;
}

.image-dialog::backdrop {
  background: rgba(28, 18, 9, 0.72);
  backdrop-filter: blur(10px);
}

.image-dialog img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.image-dialog__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #2a1908;
  background: #fffaf0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  font: inherit;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.world-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
}

.world-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.48;
}

.modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.mode-card {
  min-height: 360px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 58px rgba(73, 45, 20, 0.12);
  backdrop-filter: blur(22px);
}

.mode-card img {
  width: 100%;
  margin-bottom: clamp(18px, 3vw, 28px);
  filter: drop-shadow(0 14px 24px rgba(83, 48, 13, 0.17));
}

.mode-card__toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: default;
}

.mode-card__chevron { display: none; }

.mode-card p {
  margin-bottom: 12px;
}

.mode-card p:last-child {
  margin-bottom: 0;
}

.multiplayer-mode-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.multiplayer-mode-item {
  padding: 12px 14px;
  border: 1px solid rgba(93, 63, 31, 0.12);
  border-radius: 16px;
  background: rgba(255, 249, 236, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.multiplayer-mode-item summary,
.multiplayer-mode-item span {
  display: block;
}

.multiplayer-mode-item summary {
  position: relative;
  min-height: 24px;
  padding-right: 26px;
  color: #2b1a0c;
  font-size: 0.96rem;
  font-weight: 950;
  list-style: none;
  cursor: pointer;
}

.multiplayer-mode-item summary::-webkit-details-marker {
  display: none;
}

.multiplayer-mode-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #3a2816;
  background: rgba(244, 182, 51, 0.34);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
}

.multiplayer-mode-item[open] summary {
  margin-bottom: 6px;
}

.multiplayer-mode-item[open] summary::after {
  content: "−";
}

.multiplayer-mode-item span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: -36px auto clamp(58px, 8vw, 104px);
  padding: 0 clamp(10px, 2vw, 18px);
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  text-align: right;
}

.site-footer a,
.footer-link {
  color: #5b3b1f;
  font-weight: 850;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-dialog {
  width: min(650px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: transparent;
  box-shadow: var(--shadow);
}

.privacy-dialog::backdrop { background: rgba(34, 24, 15, .58); backdrop-filter: blur(7px); }

.privacy-dialog__card {
  position: relative;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(93, 63, 31, .16);
  border-radius: 28px;
  background: #fffaf0;
}

.privacy-dialog h2 { margin-bottom: 14px; font-size: clamp(2rem, 6vw, 3.35rem); }
.privacy-dialog__close { position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: #3c2a1b; background: rgba(93,63,31,.08); font-size: 1.7rem; cursor: pointer; }
.privacy-choice { margin-top: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 18px; justify-content: space-between; border: 1px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; }
.privacy-choice--fixed { background: #f7f0e4; cursor: default; }
.privacy-choice strong { display: block; margin-bottom: 4px; font-size: 1.04rem; }
.privacy-choice p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.42; }
.privacy-choice input { width: 24px; height: 24px; flex: 0 0 auto; accent-color: var(--leaf); }
.privacy-status { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--leaf); font-weight: 950; }
.privacy-no-tracking { margin: 16px 0; color: #4b7137; font-weight: 850; }
.privacy-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.privacy-actions button { min-height: 48px; padding: 10px 12px; border: 1px solid rgba(93,63,31,.15); border-radius: 14px; color: #fff; background: #5ca83b; font: inherit; font-size: .9rem; font-weight: 900; cursor: pointer; }
.privacy-actions .secondary { color: #432d19; background: #f5e5c8; }
.privacy-policy-link { display: inline-block; margin-top: 16px; color: #5b3b1f; font-weight: 850; }

.privacy-dialog--compact {
  position: fixed;
  inset: auto 10px 10px;
  width: min(920px, calc(100% - 20px));
  max-width: none;
  max-height: none;
  margin: auto;
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(45, 29, 13, .24);
}

.privacy-dialog--compact::backdrop {
  background: rgba(34, 24, 15, .12);
  backdrop-filter: none;
}

.privacy-dialog--compact .privacy-dialog__card {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 5px 18px;
  padding: 11px 14px;
  border-radius: 16px;
}

.privacy-dialog--compact .kicker,
.privacy-dialog--compact h2,
.privacy-dialog--compact .privacy-dialog__close,
.privacy-dialog--compact .privacy-choice,
.privacy-dialog--compact .privacy-no-tracking { display: none; }
.privacy-dialog--compact [data-privacy-intro] { margin: 0; font-size: .84rem; line-height: 1.3; }
.privacy-dialog--compact .privacy-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 7px; }
.privacy-dialog--compact .privacy-actions button { min-height: 38px; padding: 7px 10px; border-radius: 10px; font-size: .78rem; white-space: nowrap; }
.privacy-dialog--compact .privacy-policy-link { grid-column: 1; margin: 0; font-size: .76rem; }

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 84px) 20px;
}

.legal-page h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 9vw, 6.2rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.legal-page p,
.legal-page li {
  color: #463522;
  font-size: 1.04rem;
  line-height: 1.65;
}

.legal-page a {
  color: #5b3b1f;
  font-weight: 850;
}

@media (max-width: 620px) {
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .privacy-actions { grid-template-columns: 1fr; }
  .privacy-dialog__card { padding-top: 34px; }
  .privacy-dialog--compact { inset: auto 6px 6px; width: calc(100% - 12px); }
  .privacy-dialog--compact .privacy-dialog__card { display: block; padding: 9px 10px; }
  .privacy-dialog--compact [data-privacy-intro] { font-size: .76rem; }
  .privacy-dialog--compact .privacy-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 7px; }
  .privacy-dialog--compact .privacy-actions button { min-width: 0; min-height: 36px; padding: 5px 4px; font-size: .7rem; white-space: normal; }
  .privacy-dialog--compact .privacy-policy-link { display: block; margin-top: 4px; font-size: .7rem; }
}

.multiplayer-note,
.detail-section,
.account,
.install {
  padding: clamp(32px, 6vw, 66px);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.multiplayer-note,
.detail-section {
  background:
    linear-gradient(135deg, rgba(92, 168, 59, 0.18), rgba(244, 182, 51, 0.12)),
    rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
}

.multiplayer-note p {
  max-width: 760px;
  margin-bottom: 0;
}

.multiplayer-hero h1 {
  font-size: clamp(3.15rem, 8.5vw, 7rem);
}

.multiplayer-hero-card {
  width: min(100%, 430px);
}

.multiplayer-hero-card img {
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 22px 42px rgba(83, 48, 13, 0.2));
}

.detail-section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.92fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.detail-section--reverse {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 0.72fr);
}

.detail-copy p,
.detail-section--quiet p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.62;
}

.detail-shot {
  margin: 0;
}

.detail-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(73, 45, 20, 0.18));
}

.detail-shot--framed img {
  border-radius: 30px;
  background: rgba(255, 250, 240, 0.54);
  box-shadow: 0 22px 70px rgba(73, 45, 20, 0.15);
}

.detail-section--quiet {
  background:
    linear-gradient(135deg, rgba(244, 182, 51, 0.16), rgba(92, 168, 59, 0.12)),
    rgba(255, 253, 248, 0.82);
}

.online-flow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 18px);
}

.online-step {
  min-width: 0;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(93, 63, 31, 0.12);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.62);
  box-shadow: 0 14px 36px rgba(73, 45, 20, 0.08);
}

.online-step span {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #2a1908;
  background: linear-gradient(180deg, #ffe078, #f0a61b);
  box-shadow: 0 9px 22px rgba(130, 77, 8, 0.18);
  font-weight: 950;
}

.online-step h3 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.52rem);
}

.online-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.52;
}

.account {
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px);
}

.account p {
  max-width: 680px;
  margin-bottom: 12px;
}

.account p:last-child {
  margin-bottom: 0;
}

.install {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(150px, 260px));
  gap: 24px;
  align-items: center;
  color: #fff9eb;
  background:
    linear-gradient(135deg, rgba(91, 168, 59, 0.22), rgba(244, 182, 51, 0.14)),
    #23170e;
}

.install > div {
  grid-row: 1 / span 2;
}

.install .download--bottom {
  grid-row: 1;
}

.install .secondary--bottom {
  grid-row: 2;
}

.install h2 {
  margin-bottom: 10px;
  color: #fffaf0;
}

.install p {
  max-width: 560px;
  color: #ecd6a6;
}

.download--bottom {
  width: 100%;
}

.secondary--bottom {
  width: 100%;
  color: #fff5dc;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 240, 202, 0.08)),
    rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 245, 220, 0.22);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.server-health {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 248, 232, 0.56)),
    rgba(255, 253, 248, 0.78);
  box-shadow: 0 24px 80px rgba(73, 45, 20, 0.15);
  backdrop-filter: blur(28px);
}

.server-health__heading {
  margin-bottom: clamp(20px, 4vw, 34px);
}

.server-health__heading h2 {
  font-size: clamp(2.05rem, 5.2vw, 4.4rem);
}

.server-status-strip {
  min-height: 58px;
  margin-bottom: clamp(16px, 3vw, 24px);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(93, 63, 31, 0.11);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.server-status-strip div {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.server-status-strip strong {
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.server-status-strip span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.server-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d8c9b4;
  box-shadow: 0 0 0 5px rgba(216, 201, 180, 0.2);
}

.server-dot.is-online {
  background: #45b65f;
  box-shadow: 0 0 0 5px rgba(69, 182, 95, 0.18);
}

.server-dot.is-offline {
  background: #d85b4b;
  box-shadow: 0 0 0 5px rgba(216, 91, 75, 0.18);
}

.server-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  margin-bottom: clamp(14px, 3vw, 22px);
}

.server-metric-card,
.server-panel {
  min-width: 0;
  border: 1px solid rgba(93, 63, 31, 0.11);
  background: rgba(255, 250, 240, 0.62);
  box-shadow: 0 14px 36px rgba(73, 45, 20, 0.08);
}

.server-metric-card {
  min-height: 164px;
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: 26px;
}

.server-metric-card span,
.server-stat-list dt,
.server-db-row span {
  color: #836244;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.server-metric-card strong {
  display: block;
  margin: 8px 0 14px;
  color: #21170f;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.server-meter {
  height: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(93, 63, 31, 0.12);
}

.server-meter i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ca83b, #f4b633);
  transition: width 420ms ease;
}

.server-metric-card small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.server-panel {
  padding: clamp(16px, 2.3vw, 22px);
  border-radius: 26px;
}

.server-panel--wide {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(92, 168, 59, 0.12), rgba(244, 182, 51, 0.08)),
    rgba(255, 250, 240, 0.64);
}

.server-panel--limits {
  grid-column: span 2;
}

.server-panel h3 {
  margin-bottom: 16px;
  font-size: clamp(1.18rem, 2.1vw, 1.52rem);
}

.server-limit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.server-limit-row {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(93, 63, 31, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
}

.server-limit-row div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.server-limit-row span {
  color: #836244;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.server-limit-row strong {
  color: #21170f;
  font-size: 0.96rem;
  font-weight: 950;
  text-align: right;
}

.server-meter--small {
  height: 8px;
  margin: 10px 0 0;
}

.server-stat-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.server-stat-list div,
.server-db-row {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(93, 63, 31, 0.09);
}

.server-stat-list div:last-child,
.server-db-row:last-child {
  border-bottom: 0;
}

.server-stat-list dd,
.server-db-row strong {
  margin: 0;
  color: #21170f;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  font-weight: 950;
  text-align: right;
}

.solution-demo {
  width: min(1120px, calc(100% - 36px));
  margin: clamp(22px, 4vw, 50px) auto clamp(76px, 11vw, 142px);
}

.highscore-page {
  width: min(920px, calc(100% - 36px));
  margin: clamp(22px, 4vw, 50px) auto clamp(76px, 11vw, 142px);
}

.highscore-card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.highscore-heading {
  margin-bottom: clamp(22px, 4vw, 34px);
}

.highscore-tabs {
  width: min(100%, 430px);
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid rgba(93, 63, 31, 0.13);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 30px rgba(73, 45, 20, 0.08);
}

.highscore-tab {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: #6f563c;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.highscore-tab.is-active {
  color: #261700;
  background: linear-gradient(180deg, #ffe078, #f0a61b);
  box-shadow: 0 9px 22px rgba(130, 77, 8, 0.2);
}

.highscore-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highscore-item {
  display: grid;
  gap: 8px;
}

.highscore-row,
.highscore-empty {
  min-height: 72px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(93, 63, 31, 0.13);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 12px 32px rgba(73, 45, 20, 0.08);
}

.highscore-row {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px 18px 12px 12px;
}

button.highscore-row {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.highscore-row:hover {
  border-color: rgba(122, 75, 39, 0.28);
  background: rgba(255, 247, 226, 0.92);
}

button.highscore-row--multiplayer,
button.highscore-row--multiplayer:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

button.highscore-row--singleplayer {
  font: inherit;
}

.highscore-empty {
  padding: 18px 22px;
  color: var(--muted);
  line-height: 1.5;
}

.highscore-rank {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #2a1908;
  background: linear-gradient(180deg, #ffe078, #f0a61b);
  box-shadow: 0 10px 24px rgba(130, 77, 8, 0.2);
  font-weight: 950;
}

.highscore-name {
  min-width: 0;
  overflow: hidden;
  color: #2c1d10;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highscore-stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2a1908;
  font-size: clamp(1.18rem, 2.4vw, 1.5rem);
  font-weight: 950;
}

.highscore-stars img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(70, 42, 8, 0.28));
}

.highscore-record {
  min-width: 90px;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 6px;
  align-items: center;
  justify-content: end;
  color: #2a1908;
}

.highscore-record img {
  width: 34px;
  height: 34px;
  inline-size: 34px;
  block-size: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px rgba(70, 42, 8, 0.26));
}

.highscore-record strong {
  font-size: clamp(1.22rem, 2.4vw, 1.54rem);
  font-weight: 950;
}

.highscore-record-x {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 900;
  line-height: 1;
}

.highscore-record span,
.highscore-record small {
  color: #7a5a31;
  font-weight: 900;
}

.highscore-record small {
  font-size: 0.9rem;
}

.highscore-history {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 10px 2px 28px;
  list-style: none;
  justify-items: stretch;
}

.highscore-history-row,
.highscore-history-empty {
  min-height: 42px;
  padding: 9px 14px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  justify-content: start;
  align-items: center;
  border: 1px solid rgba(93, 63, 31, 0.1);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.56);
  color: #52381e;
  font-size: 0.92rem;
}

.history-player {
  min-width: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-player--left {
  justify-content: flex-start;
  text-align: left;
}

.history-player--right {
  justify-content: flex-start;
  text-align: left;
}

.history-player img {
  width: 23px;
  height: 23px;
  inline-size: 23px;
  block-size: 23px;
  max-width: 23px;
  max-height: 23px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 3px rgba(70, 42, 8, 0.24));
}

.history-vs {
  color: #2a1908;
  font-weight: 900;
  white-space: nowrap;
}

.highscore-history-empty {
  grid-template-columns: 1fr;
}

.highscore-history-row--hints {
  grid-template-columns: 112px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 8px 12px;
  gap: 12px;
}

.hint-world-icon {
  width: 106px;
  height: 31px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px rgba(70, 42, 8, 0.22));
}

.hint-level {
  min-width: 0;
  color: #2a1908;
  font-weight: 950;
  white-space: nowrap;
}

.hint-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2a1908;
  font-weight: 950;
  white-space: nowrap;
}

.hint-count i {
  color: #f0a61b;
  font-size: 1.28rem;
  filter: drop-shadow(0 2px 1px rgba(70, 42, 8, 0.22));
}

.hint-count strong {
  font-size: 1.08rem;
}

.hero--solution {
  min-height: auto;
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(18px, 4vw, 42px);
}

.hero--solution h1 {
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.96;
}

.solution-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.solution-session {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.solution-logout {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(93, 63, 31, 0.14);
  border-radius: 999px;
  color: #6f563c;
  background: rgba(255, 250, 240, 0.72);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.solution-logout:hover {
  color: #2a1908;
  background: rgba(255, 247, 226, 0.94);
}

.solution-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(33, 22, 12, 0.42);
  backdrop-filter: blur(10px);
}

.solution-login-overlay.is-hidden {
  display: none;
}

.solution-login {
  position: relative;
  width: min(360px, 100%);
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(93, 63, 31, 0.13);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 22px 52px rgba(33, 22, 12, 0.24);
}

.solution-login-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(93, 63, 31, 0.14);
  border-radius: 999px;
  color: #6f563c;
  background: rgba(255, 250, 240, 0.82);
  font: inherit;
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.solution-login-close:hover {
  color: #2a1908;
  background: rgba(255, 247, 226, 0.98);
}

.solution-login h2 {
  margin: 0;
  padding-right: 38px;
  color: #2c1d10;
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  line-height: 1;
  font-weight: 950;
}

.solution-login p {
  margin: 0;
  min-height: 1.2em;
  color: #a23120;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.4;
}

.solution-login label {
  display: grid;
  gap: 7px;
  color: #74502a;
  font-size: 0.82rem;
  font-weight: 850;
}

.solution-login input,
.solution-login select {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(93, 63, 31, 0.22);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.9);
  font: inherit;
  font-weight: 800;
}

.solution-login select:disabled {
  color: #94795a;
  cursor: wait;
}

.solution-login-button {
  width: 100%;
}

.solution-login-status {
  color: #72542c !important;
  font-weight: 850;
}

.solution-login-status:empty {
  display: none;
}

.solution-login-status.is-error {
  color: #a23120 !important;
}

.solution-controls label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #74502a;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.solution-controls select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(93, 63, 31, 0.22);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 10px 28px rgba(73, 45, 20, 0.1);
  font: inherit;
  font-weight: 800;
}

.solution-shell {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(320px, 0.56fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: start;
  padding: clamp(18px, 3.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.solution-board-wrap {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.solution-board {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  overflow: hidden;
  border: 10px solid #7b4b26;
  border-radius: 22px;
  background: #d9ecff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34), 0 18px 44px rgba(55, 45, 80, 0.18);
}

.solution-path {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.solution-path line {
  stroke: #111111;
  stroke-width: 6.8;
  stroke-linecap: round;
  marker-end: url("#solutionArrowHead");
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.22));
}

.solution-path marker path {
  fill: #111111;
  stroke: none;
}

.solution-cell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(68, 91, 120, 0.16);
}

.solution-cell::after {
  content: attr(data-coord);
  position: absolute;
  left: 4px;
  top: 3px;
  color: rgba(30, 54, 82, 0.52);
  font-size: clamp(0.48rem, 1.2vw, 0.68rem);
  font-weight: 800;
}

.solution-cell.is-light {
  background: linear-gradient(180deg, #f4fbff, #cce8ff);
}

.solution-cell.is-dark {
  background: linear-gradient(180deg, #b5d6f4, #7fb0df);
}

.solution-cell.is-selected {
  box-shadow:
    inset 0 0 0 6px #ffd92f,
    inset 0 0 18px rgba(255, 214, 62, 0.78),
    0 0 18px rgba(255, 202, 41, 0.62);
}

.solution-cell.is-target {
  box-shadow:
    inset 0 0 0 6px #ffd92f,
    inset 0 0 18px rgba(255, 214, 62, 0.72),
    0 0 15px rgba(255, 202, 41, 0.48);
}

.solution-cell.is-capture {
  box-shadow:
    inset 0 0 0 6px #e03b24,
    inset 0 0 18px rgba(229, 45, 28, 0.72),
    0 0 18px rgba(206, 33, 20, 0.52);
}

.solution-cell.is-match {
  box-shadow:
    inset 0 0 0 7px #ffd92f,
    inset 0 0 22px rgba(255, 220, 64, 0.86),
    0 0 20px rgba(255, 203, 35, 0.62);
}

.solution-cell.is-selected.is-match {
  box-shadow:
    inset 0 0 0 7px #ffd92f,
    inset 0 0 28px rgba(255, 220, 64, 0.92),
    0 0 24px rgba(255, 203, 35, 0.72);
}

.solution-cell.is-capture.is-match {
  box-shadow:
    inset 0 0 0 7px #e03b24,
    inset 0 0 22px rgba(229, 45, 28, 0.76),
    0 0 20px rgba(206, 33, 20, 0.58);
}

.solution-pet {
  z-index: 3;
  width: 118%;
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  filter: drop-shadow(0 8px 9px rgba(31, 33, 49, 0.24));
  pointer-events: none;
}

.pet-bee {
  background: #ffd44f;
}

.pet-bunny {
  background: #f3e4d6;
}

.pet-chick {
  background: #ffde68;
}

.pet-cow {
  background: #f7f0df;
}

.pet-dog {
  background: #b77848;
}

.pet-elephant {
  background: #b7c4d5;
}

.pet-fox {
  background: #e87937;
}

.pet-koala {
  background: #b7b0a8;
}

.pet-panda {
  background: #e7edf4;
}

.pet-penguin {
  color: #fffaf0;
  background: #283547;
}

.pet-pig {
  background: #f2a6b6;
}

.solution-panel {
  min-width: 0;
  padding-top: 4px;
}

.solution-status {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  color: #74502a;
  font-weight: 850;
}

.star-moves {
  display: grid;
  gap: 8px;
}

.star-move {
  display: flex;
  align-items: center;
  gap: 3px;
}

.star-move img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(70, 42, 8, 0.28));
}

.star-move strong {
  margin-left: 8px;
  color: #2a1a0d;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
}

.solution-panel h3 {
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 3.1vw, 2.45rem);
  line-height: 1.08;
}

.step-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.step-buttons button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #2a1908;
  background: #f4dfb4;
  box-shadow: inset 0 -2px 0 rgba(96, 58, 20, 0.18);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.step-buttons button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.step-buttons button.is-active {
  color: #241400;
  background: linear-gradient(180deg, #ffe078, #f0a61b);
  box-shadow: 0 10px 24px rgba(130, 77, 8, 0.22);
}

@media (max-width: 860px) {
  .hero,
  .showcase,
  .detail-section--split,
  .solution-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero__copy {
    order: 2;
  }

  .hero-icon-card {
    order: 1;
    width: min(100%, 260px);
  }

  .actions {
    gap: 5px;
  }

  .actions a {
    width: auto;
  }

  .actions .download {
    min-width: 0;
    padding-inline: 13px;
  }

  .game-button.nav-icon-button {
    width: 56px;
    min-width: 56px;
    padding: 14px;
  }

  .online-flow__grid,
  .server-metrics,
  .server-grid,
  .server-limit-list {
    grid-template-columns: 1fr;
  }

  .server-panel--limits,
  .server-panel--wide {
    grid-column: span 1;
  }

  .screen-focus img {
    height: auto;
    max-height: none;
  }

  .install {
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .install > div {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .install .download--bottom,
  .install .secondary--bottom {
    grid-row: auto;
  }

  .server-status-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .solution-shell {
    padding: 16px;
  }

  .highscore-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding-right: 14px;
  }

  .highscore-history {
    padding-left: 0;
  }

  .highscore-history-row {
    grid-template-columns: auto auto auto;
    justify-content: start;
    gap: 6px;
  }

  .history-player {
    white-space: nowrap;
  }

  .mobile-carousel {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .world-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(93, 63, 31, .28) transparent;
    -webkit-overflow-scrolling: touch;
    padding: 2px 18px 14px;
  }

  .world-grid::-webkit-scrollbar { height: 4px; }
  .world-grid::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(93, 63, 31, .28); }

  .world-card {
    flex: 0 0 calc(100% - 46px);
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .world-card { min-height: 0; }

  .modes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mode-card {
    min-height: 0;
    padding: 14px 16px;
  }

  .mode-card__toggle {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    padding-right: 42px;
    cursor: pointer;
  }

  .mode-card__toggle img {
    width: min(100%, 270px);
    margin: 0;
  }

  .mode-card__chevron {
    position: absolute;
    right: 4px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #5c4430;
    background: rgba(255,255,255,.72);
    font-size: 1.45rem;
    line-height: 1;
    transition: transform .18s ease;
  }

  .mode-card__body { display: none; padding-top: 12px; }
  .mode-card.is-expanded .mode-card__body { display: block; }
  .mode-card.is-expanded .mode-card__chevron { transform: rotate(180deg); }

  .carousel-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0 0 4px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 999px;
    color: #493322;
    background: rgba(255,253,248,.92);
    box-shadow: 0 10px 28px rgba(73,45,20,.2);
    backdrop-filter: blur(14px);
    font: inherit;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .carousel-arrow--previous { left: 5px; }
  .carousel-arrow--next { right: 5px; }
  .carousel-arrow:disabled { opacity: .28; pointer-events: none; }
}

@media (max-width: 460px) {
  .hero .actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 5px;
  }

  .hero .actions > a {
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
    min-height: 50px;
    padding: 11px 7px;
    border-radius: 16px;
    font-size: .76rem;
    white-space: nowrap;
  }

  .hero .actions .button-icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }

  h1 {
    font-size: 4.3rem;
  }

  .modes,
  .world-card,
  .mode-card,
  .detail-section,
  .online-step,
  .solution-shell,
  .multiplayer-note,
  .account,
  .install,
  .server-health,
  .server-metric-card,
  .server-panel,
  .screen-focus img {
    border-radius: 24px;
  }

  .hero-icon-card img {
    border-radius: 18px;
  }
}

/* Forum */
.forum-page { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 80px; }
.forum-header { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: start; }
.forum-header h1 { margin: 0; }
.forum-back { color: var(--ink, #3d2a1e); font-weight: 800; text-decoration: none; padding-top: 18px; }
.forum-auth { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.forum-auth i { margin-right: 8px; }
.forum-auth button, .forum-toolbar button, .forum-dialog button { min-height: 48px; }
.forum-user { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.72); padding: 10px 14px; border-radius: 18px; }
.forum-user--top {
  min-height: 42px;
  gap: 9px;
  padding: 5px 6px 5px 14px;
  border: 1px solid rgba(93,63,31,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 28px rgba(73,45,20,.1), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(20px) saturate(1.18);
}
.forum-user--top strong { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-button {
  min-height: 32px !important;
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(118,102,88,.09);
  color: #5d4a3a;
  box-shadow: none;
  font-size: .82rem;
  font-weight: 800;
}
.text-button:hover { background: rgba(118,102,88,.15); transform: none; }

@media (max-width: 560px) {
  .top-controls { top: 10px; left: 10px; right: 10px; gap: 8px; }
  .site-header { grid-template-columns: minmax(0, 1fr); }
  .site-utilities { grid-row: 1; justify-content: flex-end; }
  .site-nav { grid-row: 2; width: 100%; }
  .site-nav a { padding: 7px 10px; font-size: .82rem; }
  .language-toggle, .top-login-button { min-height: 40px; padding: 8px 11px; font-size: .84rem; }
  .forum-user--top { min-height: 40px; padding: 8px 10px; gap: 7px; font-size: .82rem; }
  .forum-user--top strong { max-width: 92px; }
}

@media (max-width: 560px) {
  .site-header + main .hero,
  body:has(.site-header) .legal-page,
  body:has(.site-header) .feedback-page { padding-top: 132px; }
}

/* Simple feedback */
.feedback-page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 130px 0 70px;
  overflow: visible;
}

.feedback-home {
  width: min(760px, calc(100% - 32px));
  margin: 110px auto 80px;
  scroll-margin-top: 130px;
}

.feedback-open-button {
  display: block;
  min-height: 52px;
  margin: 0 auto;
  padding: 13px 22px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, #74b658, #4c8e3d);
  box-shadow: 0 12px 28px rgba(62,119,48,.22), inset 0 1px 0 rgba(255,255,255,.35);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.feedback-open-button:hover { transform: translateY(-1px); }

.feedback-dialog {
  width: min(760px, calc(100% - 24px));
  max-height: min(90vh, 780px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 34px 100px rgba(40,28,18,.3);
}
.feedback-dialog::backdrop { background: rgba(39,34,29,.38); backdrop-filter: blur(14px) saturate(.9); }
.feedback-dialog .feedback-composer { position: relative; margin: 0; }
.feedback-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #65584d;
  background: rgba(112,99,87,.1);
  font: inherit;
  font-size: 1.45rem;
  cursor: pointer;
}

.feedback-intro { text-align: center; margin-bottom: 34px; }
.feedback-intro h1 { margin: 0 auto 14px; max-width: 680px; font-size: clamp(2.35rem, 7vw, 4.6rem); line-height: .98; }
.feedback-intro .lead { max-width: 620px; margin-inline: auto; }

.feedback-composer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(93, 63, 31, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 60px rgba(73, 45, 20, .12);
  backdrop-filter: blur(20px);
}

.feedback-avatar,
.feedback-card__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #77b65c, #3d7f46);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.feedback-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feedback-composer form { display: grid; gap: 14px; }
.feedback-composer h2,
.feedback-composer h3 { margin: 5px 0 0; font-size: 1.35rem; }
.feedback-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feedback-composer label { display: grid; gap: 7px; color: #574432; font-size: .88rem; font-weight: 800; }
.feedback-composer input,
.feedback-composer textarea {
  width: 100%;
  border: 1px solid rgba(93, 63, 31, .16);
  border-radius: 15px;
  background: #fbfaf7;
  color: #21170f;
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.feedback-composer textarea { min-height: 124px; resize: vertical; line-height: 1.5; }
.feedback-composer input:focus,
.feedback-composer textarea:focus { border-color: #6aa44f; background: #fff; box-shadow: 0 0 0 4px rgba(106,164,79,.13); }
.feedback-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.feedback-submit-row .form-help { max-width: 440px; }
.feedback-submit-row button {
  flex: 0 0 auto;
  min-width: 108px;
  min-height: 46px;
  padding: 11px 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #74b658, #4c8e3d);
  box-shadow: 0 8px 20px rgba(62, 119, 48, .22), inset 0 1px 0 rgba(255,255,255,.35);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.feedback-submit-row button:hover { transform: translateY(-1px); }
.feedback-submit-row button:disabled { cursor: wait; opacity: .6; transform: none; }
.feedback-status { min-height: 22px; margin: 0; color: #4b7239; font-weight: 800; }
.feedback-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.feedback-feed { margin-top: 42px; }
.feedback-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.feedback-feed-heading h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.7rem); }
.feedback-count { padding: 7px 11px; border-radius: 999px; color: #6e604f; background: rgba(255,255,255,.65); font-size: .84rem; font-weight: 800; }
.feedback-list { display: grid; gap: 12px; }
.feedback-card { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 13px; padding: 18px; border: 1px solid rgba(93,63,31,.1); border-radius: 22px; background: rgba(255,255,255,.78); box-shadow: 0 10px 30px rgba(73,45,20,.07); }
.feedback-card__avatar { width: 44px; height: 44px; font-size: .86rem; }
.feedback-card__content header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.feedback-card__content time { color: #87715f; font-size: .78rem; }
.feedback-card__content p { margin: 7px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.feedback-card__actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.feedback-reply-button, .feedback-replies-more {
  border: 0;
  padding: 5px 0;
  color: #4f7f40;
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
  cursor: pointer;
}
.feedback-reply-button:hover, .feedback-replies-more:hover { color: #315f27; text-decoration: underline; }
.feedback-replies { display: grid; gap: 10px; margin-top: 14px; }
.feedback-user-reply { padding: 12px 14px; border-radius: 16px; background: rgba(248,246,241,.95); }
.feedback-user-reply__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .84rem; }
.feedback-user-reply__heading strong { color: #514337; }
.feedback-user-reply__heading time { color: #8a7767; font-size: .74rem; }
.feedback-user-reply p { margin-top: 5px; color: #40372f; }
.feedback-reply-context { margin: -5px 0 2px; color: #746354; font-size: .9rem; line-height: 1.45; }
.feedback-official-reply { margin-top: 16px; padding: 14px 16px; border-left: 3px solid #6aa44f; border-radius: 5px 16px 16px 5px; background: rgba(235,246,229,.82); }
.feedback-official-reply__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #3f7134; font-size: .84rem; }
.feedback-official-reply__heading time { color: #75836e; font-size: .75rem; }
.feedback-official-reply p { margin-top: 6px; color: #2f352b; }
.feedback-empty { padding: 34px 20px; border-radius: 22px; background: rgba(255,255,255,.62); text-align: center; color: #6e604f; }
.feedback-empty strong, .feedback-empty span { display: block; }
.feedback-more { display: block; margin: 20px auto 0; }

@media (max-width: 620px) {
  .feedback-dialog { max-height: calc(100vh - 24px); overflow-y: auto; border-radius: 24px; }
  .feedback-composer { grid-template-columns: 1fr; padding: 18px; }
  .feedback-avatar { display: none; }
  .feedback-fields { grid-template-columns: 1fr; }
  .feedback-submit-row { align-items: stretch; flex-direction: column; }
  .feedback-submit-row button { width: 100%; }
  .feedback-dialog__close { top: 10px; right: 10px; }
  .feedback-card__content header { align-items: flex-start; flex-direction: column; gap: 2px; }
}
.forum-toolbar { display: grid; grid-template-columns: 220px minmax(220px, 1fr) 190px auto; gap: 12px; margin: 34px 0 12px; }
.forum-toolbar select, .forum-toolbar input, .forum-dialog select, .forum-dialog input, .forum-dialog textarea {
  width: 100%; box-sizing: border-box; border: 2px solid rgba(91,60,39,.18); border-radius: 16px;
  background: rgba(255,255,255,.88); color: #3d2a1e; font: inherit; padding: 13px 15px;
}
.forum-notice { min-height: 24px; color: #674833; font-weight: 700; }
.forum-list { display: grid; gap: 14px; }
.forum-topic { background: rgba(255,255,255,.82); border: 2px solid rgba(91,60,39,.11); border-radius: 24px; padding: 22px; box-shadow: 0 12px 30px rgba(84,54,31,.08); }
.forum-topic h2 { margin: 10px 0 8px; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.forum-topic--interactive { cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.forum-topic--interactive:hover, .forum-topic--interactive:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(84,54,31,.14); outline: 3px solid rgba(236,156,45,.48); }
.forum-topic p { white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-admin-reply { display: grid; gap: 12px; margin: 20px 0 4px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.56); }
.feedback-admin-reply label { display: grid; gap: 8px; color: #5c4635; font-size: .9rem; font-weight: 850; }
.feedback-admin-reply textarea { width: 100%; box-sizing: border-box; min-height: 110px; padding: 13px 14px; border: 1px solid rgba(91,60,39,.16); border-radius: 14px; background: rgba(255,255,255,.9); color: #2e2118; font: inherit; line-height: 1.5; resize: vertical; outline: none; }
.feedback-admin-reply textarea:focus { border-color: #6aa44f; box-shadow: 0 0 0 4px rgba(106,164,79,.13); }
.feedback-admin-reply__published { padding: 12px 14px; border-left: 3px solid #6aa44f; border-radius: 4px 14px 14px 4px; background: rgba(235,246,229,.8); }
.feedback-admin-reply__published strong { color: #3f7134; font-size: .82rem; }
.feedback-admin-reply__published p { margin: 5px 0 0; }
.feedback-admin-panel { display: grid; gap: 12px; margin-top: 14px; padding: 18px; border: 1px solid rgba(91,60,39,.09); border-radius: 18px; }
.feedback-admin-panel--public { border-color: rgba(82,137,64,.2); background: rgba(238,247,233,.68); }
.feedback-admin-panel--private { border-color: rgba(65,112,153,.18); background: rgba(237,244,250,.72); }
.feedback-admin-panel--internal { border-color: rgba(153,118,52,.16); background: rgba(249,245,232,.78); }
.feedback-admin-panel__title { color: #4d3d31; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.feedback-admin-panel label { display: grid; gap: 8px; color: #5c4635; font-size: .9rem; font-weight: 850; }
.feedback-admin-panel textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid rgba(91,60,39,.16); border-radius: 14px; background: rgba(255,255,255,.9); color: #2e2118; font: inherit; line-height: 1.5; resize: vertical; outline: none; }
.feedback-admin-panel textarea:focus { border-color: #6aa44f; box-shadow: 0 0 0 4px rgba(106,164,79,.13); }
.feedback-admin-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.feedback-admin-panel__actions button { min-height: 44px; }
.feedback-admin-panel--private p { margin: 0; color: #536575; }
.feedback-email-link { width: max-content; min-height: 44px; padding: 10px 15px; border-radius: 13px; }
.forum-topic footer, .forum-topic__meta { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; color: #80634e; font-size: .92rem; }
.forum-category { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: #fff; font-weight: 900; }
.forum-category--suggestions { background: #4a8f61; }
.forum-category--improvements { background: #377c9e; }
.forum-category--bugs { background: #bd5a48; }
.forum-category--general { background: #8767a8; }
.forum-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 52px 24px; background: rgba(255,255,255,.55); border-radius: 24px; text-align: center; }
.forum-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.forum-dialog { width: min(640px, calc(100% - 24px)); border: 0; border-radius: 28px; padding: 0; color: #3d2a1e; box-shadow: 0 28px 90px rgba(40,22,12,.35); }
.forum-dialog::backdrop { background: rgba(38,24,17,.58); backdrop-filter: blur(6px); }
.forum-dialog form { position: relative; display: grid; gap: 15px; padding: 30px; background: #f7ecd8; }

.login-dialog {
  width: min(430px, calc(100% - 28px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background: rgba(250,248,244,.94);
  box-shadow: 0 32px 90px rgba(34,24,16,.28), inset 0 1px 0 rgba(255,255,255,.95);
}
.login-dialog::backdrop { background: rgba(39,34,29,.38); backdrop-filter: blur(14px) saturate(.9); }
.login-dialog form { gap: 16px; padding: 32px; background: transparent; }
.login-dialog__icon { width: 68px; height: 68px; margin: 0 auto; overflow: hidden; border-radius: 18px; box-shadow: 0 12px 28px rgba(72,48,26,.18); }
.login-dialog__icon img { width: 100%; height: 100%; object-fit: cover; }
.login-dialog__heading { text-align: center; }
.login-dialog__heading .kicker { margin-bottom: 5px; }
.login-dialog__heading h2 { margin: 0; font-size: 2.1rem; letter-spacing: -.035em; }
.login-dialog label { display: grid; gap: 7px; color: #5d5045; font-size: .84rem; font-weight: 800; }
.login-dialog input {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(80,64,50,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  color: #221a14;
  box-shadow: inset 0 1px 2px rgba(40,28,18,.04);
  font: inherit;
  font-size: 1rem;
  outline: none;
}
.login-dialog input:focus { border-color: #79a968; box-shadow: 0 0 0 4px rgba(106,164,79,.14); }
.login-dialog [type="submit"] {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg,#72b35a,#4f903f);
  box-shadow: 0 10px 24px rgba(67,124,51,.24), inset 0 1px 0 rgba(255,255,255,.35);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.login-dialog__divider { display: flex; align-items: center; gap: 12px; color: #91857a; font-size: .78rem; font-weight: 700; }
.login-dialog__divider::before,
.login-dialog__divider::after { content: ""; flex: 1; height: 1px; background: rgba(83,69,56,.12); }
.login-dialog .google-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(66,55,45,.14);
  border-radius: 14px;
  color: #30271f;
  background: rgba(255,255,255,.92);
  box-shadow: 0 5px 16px rgba(47,35,24,.07), inset 0 1px 0 rgba(255,255,255,.95);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.login-dialog .google-login-button:hover { background: #fff; transform: translateY(-1px); }
.login-dialog .google-login-button:disabled { opacity: .58; cursor: wait; transform: none; }
.google-login-button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.login-dialog .forum-notice { min-height: 0; margin: -4px 0 0; text-align: center; font-size: .88rem; }
.login-dialog .image-dialog__close { top: 15px; right: 15px; width: 34px; height: 34px; background: rgba(112,99,87,.1); color: #65584d; box-shadow: none; }

@media (max-width: 480px) {
  .login-dialog form { padding: 27px 22px 24px; }
  .login-dialog__icon { width: 60px; height: 60px; border-radius: 16px; }
}
.forum-dialog--detail { width: min(780px, calc(100% - 24px)); }
.forum-detail { position: relative; padding: 30px; background: #f7ecd8; max-height: min(86vh, 900px); overflow: auto; }
.forum-detail-topic > p, .forum-comment > p { white-space: pre-wrap; overflow-wrap: anywhere; }
.forum-comments { display: grid; gap: 12px; margin-top: 28px; }
.forum-comment { background: rgba(255,255,255,.72); border-radius: 20px; padding: 18px; }
.forum-content-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.forum-content-actions button { min-height: 40px; padding: 8px 12px; }
.forum-detail form { display: grid; gap: 12px; padding: 20px 0 0; background: transparent; }
.forum-dialog label { display: grid; gap: 7px; font-weight: 850; }
.form-help { margin: 0; color: #745741; font-size: .92rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .forum-header { grid-template-columns: 1fr; }
  .forum-back { padding-top: 0; }
  .forum-auth { justify-content: flex-start; }
  .forum-toolbar { grid-template-columns: 1fr; }
}
