:root {
  --teal: #00998f;
  --teal-dark: #057169;
  --ink: #14373b;
  --muted: #667785;
  --line: #dcebed;
  --gold: #f3a91b;
  --bg: #f6fbfb;
  --white: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px clamp(16px, 6vw, 120px);
  background: linear-gradient(90deg, #008f86, #00a89a);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0, 95, 89, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 5vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 4px 0 rgba(91, 48, 0, 0.22);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #7d3300;
  background: linear-gradient(145deg, #ffe47c, #f28f14);
  font-size: 15px;
  text-shadow: none;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.94;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 24px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.3fr);
  align-items: center;
  min-height: min(580px, calc(100vh - 64px));
  overflow: hidden;
  background: #eefafa;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
  padding: clamp(36px, 8vw, 92px) clamp(18px, 8vw, 120px);
}

.eyebrow,
.section-title p {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(42px, 10vw, 72px);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 0;
  color: #435a63;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.65;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(180deg, #05aea2, #008b82);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(0, 143, 134, 0.22);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--teal-dark);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center right;
}

.section {
  padding: 46px clamp(16px, 7vw, 120px);
}

.section.compact {
  padding-bottom: 20px;
}

.section-title {
  margin-bottom: 26px;
  text-align: center;
}

.section-title.left {
  text-align: left;
}

.section-title h2,
.section-title h1 {
  font-size: clamp(26px, 6vw, 36px);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.game-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6, 54, 57, 0.07);
}

.game-card img {
  width: 116px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.game-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.game-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.rating {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 800;
}

.rating span {
  color: var(--ink);
  font-size: 13px;
}

.game-card .btn {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
}

.detail-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #05aea2, #008b82);
  font-size: 12px;
  font-weight: 900;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 36px clamp(16px, 7vw, 120px) 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.feature-band article {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: linear-gradient(180deg, #effafa, #ffffff);
}

.feature-band strong {
  color: var(--teal-dark);
}

.feature-band span {
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 7vw, 120px);
  color: #eafefe;
  background: #075b56;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: #b9dddd;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-section {
  padding: clamp(28px, 5vw, 64px) clamp(16px, 7vw, 120px);
  background: #fff;
}

.seo-section + .seo-section {
  padding-top: 10px;
}

.seo-copy {
  max-width: 920px;
}

.seo-copy h2 {
  font-size: clamp(28px, 5vw, 44px);
}

.seo-copy p,
.content-card p,
.seo-grid p,
.seo-faq p {
  color: #435a63;
  line-height: 1.7;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.seo-grid article,
.seo-faq details,
.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfefe;
}

.seo-grid article {
  padding: 18px;
}

.seo-grid h3 {
  margin: 0 0 8px;
}

.seo-faq details {
  max-width: 920px;
  margin: 10px auto;
  padding: 16px 18px;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.content-page {
  padding: clamp(20px, 6vw, 70px) clamp(16px, 7vw, 120px);
}

.content-card {
  max-width: 920px;
  padding: clamp(20px, 4vw, 36px);
}

.content-card h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.content-card .lead {
  font-size: 18px;
}

.content-card section {
  margin-top: 24px;
}

.posts-page,
.post-page {
  padding: clamp(24px, 6vw, 72px) clamp(16px, 7vw, 120px);
}

.posts-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.posts-heading h1,
.post-article h1 {
  font-size: clamp(36px, 6vw, 60px);
}

.posts-heading > p:last-child,
.post-excerpt {
  color: #435a63;
  font-size: 18px;
  line-height: 1.65;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 54, 57, 0.06);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card div {
  padding: 16px;
}

.post-card time,
.post-article time {
  color: var(--muted);
  font-size: 13px;
}

.post-card h2 {
  margin: 7px 0;
  font-size: 20px;
}

.post-card p {
  color: var(--muted);
  line-height: 1.55;
}

.post-card span {
  color: var(--teal-dark);
  font-weight: 900;
}

.post-article {
  max-width: 920px;
  margin: 0 auto;
}

.post-cover {
  width: 100%;
  max-height: 520px;
  margin: 24px 0;
  border-radius: 8px;
  object-fit: cover;
}

.post-content {
  color: #304e53;
  font-size: 17px;
  line-height: 1.75;
}

.post-content h2,
.post-content h3 {
  margin: 30px 0 10px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-content a {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* Compact one-screen homepage */
.home-page {
  min-height: 100svh;
  overflow-x: hidden;
  background: #f7fbfb;
}

.home-page .site-header {
  min-height: 58px;
  padding-block: 7px;
}

.home-page .brand {
  color: #ffd95b;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  text-shadow: 0 2px 0 #a64b00, 0 5px 10px rgba(64, 29, 0, 0.35);
}

.home-page .one-screen {
  height: calc(100svh - 58px);
  display: grid;
  grid-template-rows: 32% minmax(0, 1fr) 72px;
  overflow: hidden;
}

.home-page .hero {
  min-height: 0;
  height: 100%;
  grid-template-columns: 0.92fr 1.08fr;
  background: #effafa;
}

.home-page .hero-copy {
  padding: 20px clamp(18px, 7vw, 110px);
}

.home-page .hero h1 {
  font-size: clamp(36px, 4vw, 58px);
}

.home-page .hero p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 14px;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55;
}

.home-page .hero-actions {
  margin-top: 18px;
}

.home-page .btn {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.home-page .hero-image {
  min-height: 0;
  height: 100%;
  object-position: right center;
}

.games-panel {
  min-height: 0;
  padding: 18px clamp(16px, 7vw, 120px) 8px;
  overflow: hidden;
  background: #fff;
}

.games-panel .section-title {
  margin-bottom: 12px;
}

.games-panel .section-title h2 {
  font-size: clamp(22px, 2.3vw, 30px);
  text-transform: uppercase;
}

.home-page .game-grid {
  height: calc(100% - 48px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(112px, 1fr);
  gap: 14px 18px;
}

.home-page .game-card {
  grid-template-columns: 92px 1fr;
  gap: 12px;
  min-height: 0;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(6, 54, 57, 0.06);
}

.home-page .game-card img {
  width: 92px;
}

.home-page .game-card h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.home-page .game-card p {
  margin-bottom: 6px;
  font-size: 13px;
}

.home-page .rating {
  margin-bottom: 8px;
  font-size: 13px;
}

.home-page .game-card .btn {
  min-height: 34px;
  font-size: 12px;
}

.home-page .feature-band {
  margin: 0 clamp(16px, 7vw, 120px) 12px;
  align-self: center;
}

.home-page .feature-band article {
  padding: 13px 18px;
  grid-template-columns: 1fr;
  gap: 3px;
}

.home-page .feature-band strong {
  font-size: 14px;
}

.home-page .feature-band span {
  font-size: 13px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #eef4f5;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 22px 16px;
  color: #e9fbfb;
  background: #083f43;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
  display: grid;
  gap: 4px;
  padding: 8px 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-brand span {
  color: #ffd35b;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 #96510b;
}

.admin-brand small {
  color: #9ed4d5;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.admin-nav a,
.admin-logout {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: #d7f2f2;
  font-weight: 800;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: #083f43;
  background: #d9f4f3;
}

.admin-logout {
  color: #ffdede;
  background: rgba(255, 255, 255, 0.08);
}

.admin-main {
  min-width: 0;
  padding: 24px clamp(16px, 4vw, 44px) 36px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-topbar p,
.admin-panel-head p {
  margin: 0 0 5px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-topbar h1,
.admin-panel-head h2 {
  margin: 0;
}

.admin-topbar h1 {
  font-size: clamp(28px, 4vw, 40px);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stats article {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid #d6e6e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 54, 57, 0.05);
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-stats strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.admin-panel {
  padding: 20px;
  border: 1px solid #d6e6e8;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(6, 54, 57, 0.06);
}

.admin-form-panel {
  max-width: 920px;
}

.dashboard-actions {
  max-width: 920px;
}

.dashboard-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: #f7fbfb;
  font-weight: 900;
}

.dashboard-links a:hover {
  border-color: #9fcfd1;
  background: #eaf8f8;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.posts-manager {
  margin-top: 18px;
}

.classic-editor {
  border: 1px solid #cbdde0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.editor-tabs,
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px;
  border-bottom: 1px solid #dcebed;
  background: #f4f8f8;
}

.editor-tabs {
  justify-content: flex-end;
}

.editor-tabs button,
.editor-toolbar button {
  min-height: 32px;
  border: 1px solid #c8dadd;
  border-radius: 5px;
  padding: 0 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.editor-tabs button.active,
.editor-toolbar button:hover {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.editor-visual,
.editor-html {
  width: 100%;
  min-height: 420px;
  padding: 18px;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.7 Arial, Helvetica, sans-serif;
}

.editor-html {
  resize: vertical;
  font-family: Consolas, monospace;
  font-size: 14px;
}

.editor-visual h2,
.editor-visual h3 {
  margin: 22px 0 8px;
}

.editor-visual img {
  max-width: 100%;
  height: auto;
}

.game-form {
  display: grid;
  gap: 14px;
}

.game-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}

.game-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbdde0;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.game-form textarea,
.game-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbdde0;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.game-form textarea {
  min-height: 104px;
  resize: vertical;
}

.inline-check {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  min-height: 44px;
  padding-top: 20px;
}

.inline-check input {
  width: auto;
  min-height: auto;
}

.login-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(6, 54, 57, 0.08);
}

.login-panel h1 {
  font-size: 28px;
}

.login-panel label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.login-panel input {
  min-height: 46px;
  border: 1px solid #cbdde0;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 800;
}

.login-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-help {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-page {
  padding: clamp(18px, 5vw, 56px) clamp(16px, 7vw, 120px);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 48px);
  align-items: center;
  padding: clamp(16px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(6, 54, 57, 0.07);
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.detail-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  text-transform: uppercase;
}

.detail-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #435a63;
  font-size: 18px;
  line-height: 1.65;
}

.rating.big {
  margin: 16px 0 22px;
  font-size: 18px;
}

.detail-content {
  max-width: 900px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-content h2 {
  margin-top: 0;
  font-size: 24px;
}

.detail-content li,
.detail-content p {
  color: #435a63;
  line-height: 1.65;
}

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

.checks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfefe;
}

.admin-item img {
  width: 68px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.admin-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.admin-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mini-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-actions button,
.mini-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.mini-actions button:hover,
.mini-actions a:hover {
  border-color: #9fcfd1;
  background: #edfafa;
}

.admin-notice {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: #065f46;
  background: #d1fae5;
  font-weight: 800;
}

.admin-notice:not(:empty) {
  display: block;
}

.admin-notice[data-type="error"] {
  color: #991b1b;
  background: #fee2e2;
}

.play-page {
  height: 100vh;
  overflow: hidden;
  background: #071d20;
}

.play-back {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 8px);
  left: 8px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.32);
  font-size: 34px;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.play-stage {
  position: relative;
  height: 100vh;
}

.game-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--white);
  text-align: center;
  background: radial-gradient(circle at top, #00998f, #061f22 68%);
}

.game-loading span {
  color: #cde8e9;
}

#game-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

@media (max-width: 1180px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
    padding: 8px 14px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 62px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #087a72;
  }

  .main-nav.visible,
  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    background: #eaf8f8;
  }

  .hero-copy {
    width: 100%;
    padding: 34px 18px 18px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-image {
    width: 100%;
    height: 280px;
    min-height: 0;
    object-position: right center;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
  }

  .section {
    padding: 34px 14px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .game-card {
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .game-card img {
    width: 96px;
  }

  .feature-band {
    grid-template-columns: 1fr;
    margin: 18px 14px 34px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .seo-section {
    padding: 28px 14px;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .posts-page,
  .post-page {
    padding: 24px 14px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-article h1 {
    font-size: 34px;
  }

  .seo-copy h2 {
    font-size: 26px;
  }

  .content-page {
    padding: 16px 14px 28px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 14px;
  }

  .admin-brand {
    padding: 4px 2px 12px;
  }

  .admin-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-nav a,
  .admin-logout {
    flex: 0 0 auto;
    min-height: 38px;
    white-space: nowrap;
  }

  .admin-main {
    padding: 14px 12px 24px;
  }

  .admin-topbar {
    align-items: flex-start;
  }

  .admin-topbar .btn {
    display: none;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .admin-stats article {
    min-height: 74px;
    align-items: start;
  }

  .admin-content-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    padding: 14px;
  }

  .dashboard-links {
    grid-template-columns: 1fr;
  }

  .editor-visual,
  .editor-html {
    min-height: 320px;
    padding: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-item {
    grid-template-columns: 64px 1fr;
  }

  .admin-item img {
    width: 64px;
  }

  .mini-actions {
    grid-column: 1 / -1;
  }

  .home-page {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .home-page .site-header {
    min-height: 54px;
  }

  .home-page .main-nav {
    top: 58px;
  }

  .home-page .one-screen {
    display: block;
    height: auto;
    min-height: calc(100svh - 54px);
    overflow: visible;
  }

  .home-page .hero {
    position: relative;
    display: block;
    min-height: 236px;
    height: auto;
    background: #effafa;
  }

  .home-page .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(239, 250, 250, 0.98) 0%, rgba(239, 250, 250, 0.86) 48%, rgba(239, 250, 250, 0.12) 100%);
    pointer-events: none;
  }

  .home-page .hero-copy {
    position: relative;
    z-index: 2;
    width: min(68vw, 260px);
    padding: 36px 0 24px 15px;
  }

  .home-page .hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .home-page .hero p:not(.eyebrow) {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
  }

  .home-page .hero-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .home-page .hero-actions {
    display: none;
  }

  .home-page .hero-actions .btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .home-page .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 74% center;
  }

  .games-panel {
    min-height: 0;
    padding: 12px 12px 10px;
    overflow: visible;
  }

  .games-panel .section-title {
    margin-bottom: 8px;
  }

  .games-panel .section-title h2 {
    font-size: 18px;
  }

  .home-page .game-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .home-page .game-card {
    min-height: 112px;
    grid-template-columns: 86px 1fr;
    align-items: center;
  }

  .home-page .game-card img {
    width: 86px;
  }

  .home-page .feature-band {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 12px 8px;
  }

  .home-page .feature-band article {
    padding: 8px 10px;
  }

  .home-page .feature-band strong {
    font-size: 12px;
  }

  .home-page .feature-band span {
    display: none;
  }

  .detail-page {
    padding: 14px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-hero img {
    max-width: 220px;
    margin: 0 auto;
  }

  .detail-hero p:not(.eyebrow) {
    font-size: 15px;
  }
}
