:root {
  --ink: #071229;
  --ink-soft: #27304a;
  --muted: #6e7282;
  --line: #e8e9f2;
  --paper: #ffffff;
  --wash: #f7fbff;
  --cyan: #6fdaf0;
  --cyan-strong: #22badc;
  --lilac: #cba7ff;
  --lilac-strong: #8656ee;
  --mint: #8ff4d4;
  --pink: #efb8ff;
  --warning: #ffcf56;
  --danger: #f0526e;
  --shadow: 0 18px 50px rgba(7, 18, 41, 0.11);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(116deg, transparent 0 16%, rgba(111, 218, 240, 0.17) 16% 20%, transparent 20% 44%, rgba(203, 167, 255, 0.16) 44% 48%, transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f9fcff 46%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

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

.page {
  min-height: 100vh;
}

.topline {
  height: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--lilac), var(--mint), var(--pink));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 233, 242, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  border: 3px solid var(--paper);
  box-shadow: 0 8px 22px rgba(134, 86, 238, 0.19);
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.wordmark {
  color: var(--ink);
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  font-style: italic;
  line-height: 0.88;
  text-transform: uppercase;
}

.wordmark small {
  color: var(--lilac-strong);
  font-size: 0.5em;
}

.brand-kicker {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0 118px 0 18px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.search input:focus {
  border-color: var(--lilac-strong);
  box-shadow: 0 0 0 4px rgba(203, 167, 255, 0.2);
}

.search button {
  position: absolute;
  top: 5px;
  right: 5px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
}

.header-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.menu-button {
  display: none;
}

.pill-button,
.ghost-button,
.danger-button,
.tiny-button {
  min-height: 40px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.pill-button {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(7, 18, 41, 0.16);
}

.ghost-button:hover,
.pill-button:hover,
.danger-button:hover,
.tiny-button:hover {
  transform: translateY(-1px);
}

.danger-button {
  border-color: var(--danger);
  color: var(--danger);
}

.tiny-button {
  min-height: 32px;
  padding: 0 11px;
  font-size: 0.86rem;
}

.nav-wrap {
  border-top: 1px solid rgba(232, 233, 242, 0.7);
}

.nav-scroll {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 10px 0 13px;
  scrollbar-width: thin;
}

.nav-chip {
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.91rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nav-chip.is-active {
  background: linear-gradient(100deg, var(--cyan), var(--lilac));
}

.breaking-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 950;
}

.breaking-bar strong {
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--ink);
  background: var(--danger);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(7, 18, 41, 0.13);
}

.main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.section-heading {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 16px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

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

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.brush-label {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  background: linear-gradient(100deg, rgba(111, 218, 240, 0.75), rgba(203, 167, 255, 0.78));
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-band {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(111, 218, 240, 0.18), rgba(203, 167, 255, 0.22) 46%, rgba(143, 244, 212, 0.18)),
    var(--paper);
  box-shadow: var(--shadow);
}

.hero-band::before,
.hero-band::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  height: 34px;
  opacity: 0.82;
  transform: rotate(-3deg);
}

.hero-band::before {
  top: 36px;
  background: rgba(203, 167, 255, 0.6);
}

.hero-band::after {
  top: 82px;
  background: rgba(111, 218, 240, 0.63);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
}

.hero-title {
  margin: 12px 0;
  max-width: 820px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(3rem, 9vw, 7.3rem);
  font-style: italic;
  line-height: 0.83;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.55;
}

.mascot-spotlight {
  position: relative;
  align-self: end;
  width: min(100%, 238px);
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050508;
  box-shadow: 0 18px 38px rgba(7, 18, 41, 0.22);
  transform: rotate(2deg);
}

.mascot-spotlight img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.mascot-spotlight figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink);
  background: linear-gradient(100deg, var(--cyan), var(--lilac));
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-bottom: 26px;
}

.hero-lead {
  position: relative;
  min-height: min(650px, 66vh);
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(#050817, #050817) padding-box,
    linear-gradient(135deg, var(--cyan), var(--lilac), var(--mint)) border-box;
  box-shadow: var(--shadow);
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  aspect-ratio: auto;
  z-index: 0;
}

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

.hero-media::after,
.hero-lead::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 23, 0.55), rgba(5, 8, 23, 0.2) 58%, rgba(5, 8, 23, 0.08)),
    linear-gradient(180deg, rgba(5, 8, 23, 0.05), rgba(5, 8, 23, 0.48));
}

.hero-overlay {
  position: absolute;
  left: clamp(14px, 3vw, 30px);
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 2;
  max-width: 780px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(111, 218, 240, 0.25), rgba(203, 167, 255, 0.2)),
    rgba(5, 8, 23, 0.57);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px) saturate(1.12);
}

.hero-overlay h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  font-style: italic;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
}

.hero-overlay p {
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 850;
  line-height: 1.52;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.64);
}

.hero-side,
.home-sections {
  display: grid;
  gap: 18px;
}

.compact-news {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--paper);
  box-shadow: 0 10px 22px rgba(7, 18, 41, 0.08);
}

.compact-news img,
.mini-thumb {
  width: 96px;
  height: 78px;
  border-radius: 6px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cyan), var(--lilac));
}

.mini-thumb {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 950;
}

.compact-news small,
.compact-news em {
  display: block;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.compact-news strong {
  display: block;
  margin: 4px 0;
  line-height: 1.1;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--ink);
  background: var(--warning);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.flash-strip,
.category-section,
.related-box,
.static-page {
  margin-bottom: 24px;
}

.section-heading.tight {
  align-items: center;
  margin-bottom: 12px;
}

.section-heading.tight h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
}

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

.flash-card {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}

.flash-card.is-pinned {
  border-color: var(--lilac-strong);
  box-shadow: 0 12px 26px rgba(134, 86, 238, 0.16);
}

.flash-card a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 112px;
}

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

.flash-copy {
  display: grid;
  gap: 4px;
  padding: 11px;
}

.flash-copy strong {
  line-height: 1.1;
}

.flash-copy small {
  color: var(--ink-soft);
  line-height: 1.35;
}

.category-section {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(16px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(7, 18, 41, 0.08);
}

.category-section > h1,
.category-section > h2,
.static-page h1 {
  margin: 10px 0 12px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-style: italic;
  line-height: 0.88;
  text-transform: uppercase;
}

.horizontal-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 380px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.horizontal-scroller > * {
  scroll-snap-align: start;
}

.section-list {
  display: grid;
  gap: 10px;
}

.home-widget-grid,
.mini-card-grid,
.creator-grid,
.inbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.term-pill,
.mini-feature-card,
.birthday-card,
.creator-card {
  display: grid;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--paper);
  box-shadow: 0 10px 22px rgba(7, 18, 41, 0.08);
}

.term-pill strong,
.mini-feature-card strong,
.birthday-card strong,
.creator-card strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.term-pill span,
.mini-feature-card small,
.mini-feature-card em,
.birthday-card span,
.birthday-card small,
.creator-card small {
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.42;
}

.creator-card img,
.birthday-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  background: #050508;
}

.profile-page {
  display: grid;
  gap: 20px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 30px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.profile-hero img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  background: #050508;
}

.profile-hero h1,
.social-landing h1 {
  margin: 10px 0;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  font-style: italic;
  line-height: 0.86;
  text-transform: uppercase;
}

.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-facts span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(111, 218, 240, 0.22);
  font-weight: 850;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 54px 56px minmax(0, 1fr) 48px 84px;
  gap: 12px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper);
}

.ranking-row.podium {
  background: linear-gradient(100deg, rgba(255, 207, 86, 0.28), rgba(203, 167, 255, 0.22));
}

.ranking-row img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

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

.post-card {
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(7, 18, 41, 0.08);
}

.post-card.featured {
  grid-column: 1 / -1;
}

.post-card.has-image {
  position: relative;
  border: 3px solid transparent;
  background:
    linear-gradient(#050817, #050817) padding-box,
    linear-gradient(135deg, var(--cyan), var(--lilac), var(--mint)) border-box;
  box-shadow: 0 18px 42px rgba(7, 18, 41, 0.2);
}

.post-card.has-image a {
  position: relative;
  display: grid;
  min-height: 330px;
  color: var(--paper);
}

.post-card.has-image.featured a {
  min-height: 410px;
}

.post-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  color: var(--ink);
  background:
    linear-gradient(106deg, rgba(111, 218, 240, 0.92), rgba(203, 167, 255, 0.94)),
    #eef9ff;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card.has-image .post-image {
  position: absolute;
  inset: 0;
  min-height: 100%;
  aspect-ratio: auto;
  z-index: 0;
}

.post-card.has-image .post-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 23, 0.4) 0%, rgba(5, 8, 23, 0.22) 48%, rgba(5, 8, 23, 0.06) 100%),
    linear-gradient(180deg, rgba(5, 8, 23, 0.02) 0%, rgba(5, 8, 23, 0.34) 100%);
}

.post-card.has-image .post-image img,
.article-shell.has-image .article-media img {
  filter: saturate(1.08) contrast(1.03);
}

.post-body {
  padding: 16px;
}

.post-card.has-image .post-body {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 720px;
  margin: clamp(10px, 1.6vw, 18px);
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  padding: clamp(14px, 2.4vw, 24px);
  background:
    linear-gradient(135deg, rgba(111, 218, 240, 0.24), rgba(203, 167, 255, 0.18)),
    rgba(5, 8, 23, 0.46);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px) saturate(1.12);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.post-card.has-image .post-meta {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 950;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.post-card h2,
.post-card h3 {
  margin: 0 0 9px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 3.6rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

.post-card.has-image h2,
.post-card.has-image h3 {
  color: #ffffff;
  font-weight: 950;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.66);
}

.post-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
}

.post-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.post-card.has-image p {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.62);
}

.post-card.has-image .tag {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.46);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--ink);
  background: rgba(203, 167, 255, 0.36);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state {
  border: 2px dashed rgba(7, 18, 41, 0.35);
  border-radius: var(--radius);
  padding: 34px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 10px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

.empty-state p {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--muted);
  line-height: 1.55;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.side-panel,
.admin-panel,
.article-shell {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(7, 18, 41, 0.08);
}

.side-panel {
  padding: 16px;
}

.side-panel h3 {
  margin: 0 0 12px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: 1.7rem;
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

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

.quick-list a {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.quick-list strong {
  line-height: 1.18;
}

.quick-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.muted {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.article-shell {
  overflow: hidden;
}

.article-shell.has-image {
  border: 3px solid transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, var(--cyan), var(--lilac), var(--mint)) border-box;
  box-shadow: 0 22px 56px rgba(7, 18, 41, 0.2);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  min-height: 360px;
}

.article-shell.has-image .article-hero {
  position: relative;
  display: block;
  min-height: min(660px, 72vh);
  background: #050817;
  overflow: hidden;
}

.article-titlebox {
  padding: clamp(22px, 4vw, 42px);
  align-self: end;
}

.article-shell.has-image .article-titlebox {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(660px, 72vh);
  max-width: 720px;
  flex-direction: column;
  justify-content: end;
  margin: 0;
  padding: clamp(18px, 4.5vw, 50px);
  color: #ffffff;
}

.article-shell.has-image .article-titlebox::before {
  content: "";
  position: absolute;
  inset: auto clamp(12px, 3vw, 30px) clamp(12px, 3vw, 30px);
  height: calc(100% - clamp(24px, 8vw, 84px));
  max-height: 390px;
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(111, 218, 240, 0.26), rgba(203, 167, 255, 0.18)),
    rgba(5, 8, 23, 0.5);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px) saturate(1.12);
}

.article-shell.has-image .article-titlebox > * {
  position: relative;
  z-index: 1;
}

.article-titlebox h1 {
  margin: 12px 0 14px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  font-style: italic;
  line-height: 0.85;
  text-transform: uppercase;
}

.article-shell.has-image .article-titlebox h1 {
  color: #ffffff;
  font-weight: 950;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
}

.article-titlebox p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.55;
}

.article-shell.has-image .article-titlebox p,
.article-shell.has-image .article-titlebox .post-meta {
  color: #ffffff;
  font-weight: 850;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.64);
}

.article-media {
  min-height: 320px;
}

.article-shell.has-image .article-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: 0;
}

.article-shell.has-image .article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-shell.has-image .article-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 23, 0.45) 0%, rgba(5, 8, 23, 0.24) 42%, rgba(5, 8, 23, 0.06) 100%),
    linear-gradient(180deg, rgba(5, 8, 23, 0.03) 0%, rgba(5, 8, 23, 0.34) 100%);
}

.article-content {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
}

.article-content p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.breadcrumb a {
  color: var(--ink);
}

.audio-box,
.info-box,
.cta-box,
.read-also,
.related-box {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(100deg, rgba(111, 218, 240, 0.16), rgba(203, 167, 255, 0.17)), var(--paper);
}

.audio-box audio {
  width: 100%;
}

.audio-speeds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.45rem 0 0.8rem;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-style: italic;
  line-height: 0.92;
  text-transform: uppercase;
}

.article-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-content h3 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.article-content blockquote {
  margin: 18px 0;
  border-left: 6px solid var(--lilac-strong);
  padding: 12px 16px;
  background: rgba(203, 167, 255, 0.14);
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 850;
  line-height: 1.55;
}

.article-figure {
  margin: 22px 0;
}

.article-figure img,
.gallery-strip img {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  object-fit: cover;
}

.article-figure figcaption,
.gallery-strip figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
}

.embed-frame {
  position: relative;
  overflow: hidden;
  margin: 20px 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: #050817;
}

.embed-frame.compact {
  aspect-ratio: auto;
  min-height: 160px;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 12px;
  overflow-x: auto;
  margin: 22px 0;
}

.reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 10px;
}

.reaction-bar button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 950;
  cursor: pointer;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 20px;
}

.search-page-form input {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 12px 16px;
}

.az-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.social-landing {
  width: min(620px, 100%);
  margin: 0 auto;
  text-align: center;
}

.social-landing img {
  width: min(220px, 70vw);
  margin: 0 auto 14px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  background: #050508;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 14px 0 18px;
}

.checkbox-row {
  display: flex;
  grid-column: auto;
  gap: 9px;
  align-items: center;
}

.checkbox-row input {
  width: auto;
}

.config-list {
  display: grid;
  gap: 10px;
}

.config-row {
  display: grid;
  grid-template-columns: 110px minmax(180px, 1fr) 140px 80px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--wash);
}

.config-row input,
.config-row select {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  background: var(--paper);
}

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

.media-item {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--wash);
}

.media-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
}

.media-item small {
  display: block;
  color: var(--muted);
}

.inbox-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inbox-item {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--wash);
}

.inbox-item h4 {
  margin: 0;
  font-size: 1rem;
}

.inbox-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.compact-actions {
  gap: 7px;
}

.discover-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 38px);
  background:
    linear-gradient(100deg, rgba(111, 218, 240, 0.2), rgba(203, 167, 255, 0.24)),
    var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.discover-hero h1 {
  margin: 12px 0;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-style: italic;
  line-height: 0.84;
  text-transform: uppercase;
}

.discover-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.discover-hero img {
  width: 100%;
  max-height: 310px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  background: #050508;
  transform: rotate(2deg);
}

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

.game-card {
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(7, 18, 41, 0.08);
}

.game-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 18px;
  align-items: center;
}

.game-card h2 {
  margin: 10px 0 8px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

.game-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.game-actions,
.score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.mini-form {
  display: grid;
  gap: 12px;
}

.mini-form .field {
  min-width: 0;
}

.mini-form textarea {
  min-height: 92px;
}

.wheel-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.game-wheel {
  position: relative;
  width: min(310px, 86vw);
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: conic-gradient(
    var(--cyan) 0deg 45deg,
    var(--lilac) 45deg 90deg,
    var(--mint) 90deg 135deg,
    var(--pink) 135deg 180deg,
    var(--warning) 180deg 225deg,
    #ffffff 225deg 270deg,
    var(--cyan) 270deg 315deg,
    var(--lilac) 315deg 360deg
  );
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.62), 0 18px 34px rgba(7, 18, 41, 0.15);
  transition: transform 0.8s cubic-bezier(0.17, 0.84, 0.32, 1.18);
}

.game-wheel span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: right;
  text-transform: uppercase;
  transform: rotate(calc(var(--i) * var(--segment))) translateY(-50%);
  transform-origin: left center;
}

.wheel-pointer {
  position: absolute;
  top: 2px;
  z-index: 2;
  width: 0;
  height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 34px solid var(--ink);
}

.game-result {
  position: absolute;
  display: grid;
  place-items: center;
  width: min(190px, 55%);
  min-height: 86px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 950;
  text-align: center;
  box-shadow: 0 12px 22px rgba(7, 18, 41, 0.14);
}

.game-result.is-empty {
  color: var(--muted);
}

.game-output {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 13px;
  background: linear-gradient(100deg, rgba(111, 218, 240, 0.2), rgba(203, 167, 255, 0.24));
  color: var(--ink);
  font-weight: 850;
}

.game-output .ghost-button {
  justify-self: start;
  margin-top: 5px;
  min-height: 34px;
}

.game-output ul {
  margin: 0;
  padding-left: 20px;
}

.game-meter {
  width: 100%;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.game-meter span {
  display: block;
  height: 100%;
  border-right: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--lilac));
}

.game-output.big {
  font-size: 1.35rem;
}

.game-output em {
  color: var(--ink-soft);
  font-style: normal;
}

.score-row span {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(143, 244, 212, 0.25);
  font-weight: 950;
}

.game-status {
  font-weight: 800;
}

.tris-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 9px;
}

.tris-board button {
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(111, 218, 240, 0.28), rgba(203, 167, 255, 0.32));
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  line-height: 1;
  cursor: pointer;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.admin-nav {
  position: sticky;
  top: 142px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.admin-nav button {
  justify-content: start;
  text-align: left;
}

.admin-stack {
  display: grid;
  gap: 18px;
}

.admin-panel {
  padding: 18px;
}

.admin-panel h2,
.admin-panel h3 {
  margin: 0 0 14px;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.field textarea {
  min-height: 156px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--lilac-strong);
  box-shadow: 0 0 0 4px rgba(203, 167, 255, 0.18);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

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

.data-item strong {
  display: block;
  margin-bottom: 3px;
}

.data-item small {
  color: var(--muted);
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: end;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--warning);
}

.status-dot.published::before {
  background: var(--mint);
}

.login-box {
  width: min(520px, 100%);
  margin: 24px auto;
}

.footer {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.footer p {
  max-width: 320px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

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

.footer-columns div {
  display: grid;
  gap: 8px;
}

.footer-columns strong {
  color: var(--cyan);
  text-transform: uppercase;
}

.footer-columns a,
.footer-columns span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

#toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(360px, calc(100% - 36px));
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.42;
}

.cookie-banner form,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: end;
}

.cookie-banner label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 850;
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
  }

  .content-grid,
  .admin-layout,
  .article-hero,
  .discover-hero,
  .game-card-wide,
  .editorial-hero,
  .profile-hero {
    grid-template-columns: 1fr;
  }

  .flash-grid,
  .home-widget-grid,
  .creator-grid,
  .dictionary-strip,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mascot-spotlight {
    width: min(260px, 100%);
    justify-self: end;
  }

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

@media (max-width: 700px) {
  .header-inner,
  .main,
  .footer-inner {
    width: min(100% - 22px, 1180px);
  }

  .header-inner {
    gap: 8px 10px;
    padding: 10px 0 9px;
  }

  .brand {
    gap: 8px;
    overflow: hidden;
  }

  .brand img {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
  }

  .wordmark {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(1.45rem, 7vw, 2.05rem);
    line-height: 0.92;
    white-space: nowrap;
  }

  .brand-kicker {
    display: none;
  }

  .search {
    min-width: 0;
  }

  .search input {
    min-height: 42px;
    padding-right: 94px;
  }

  .search button {
    min-height: 32px;
    padding: 0 14px;
  }

  .header-actions {
    justify-content: end;
    gap: 6px;
    min-width: max-content;
  }

  .icon-button {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    font-size: 0.96rem;
  }

  .header-actions .ghost-button {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .header-actions .menu-button {
    display: inline-flex;
  }

  .nav-wrap {
    overflow: hidden;
  }

  .nav-scroll {
    width: 100%;
    margin: 0;
    gap: 8px;
    padding: 9px 11px 12px;
    scroll-padding-inline: 11px;
  }

  .nav-chip {
    padding: 7px 12px;
    font-size: 0.86rem;
  }

  .post-grid,
  .form-grid,
  .flash-grid,
  .home-widget-grid,
  .mini-card-grid,
  .creator-grid,
  .dictionary-strip,
  .media-grid,
  .inbox-grid,
  .footer-inner,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .editorial-hero {
    gap: 12px;
  }

  .hero-lead {
    min-height: 520px;
  }

  .hero-overlay {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
  }

  .hero-overlay h1 {
    font-size: clamp(2.05rem, 12vw, 3.6rem);
  }

  .post-card.has-image a {
    min-height: clamp(360px, 108vw, 470px);
  }

  .post-card.has-image.featured a {
    min-height: clamp(420px, 126vw, 540px);
  }

  .post-card.has-image .post-body {
    max-width: calc(100% - 20px);
    margin: 10px;
  }

  .post-card.has-image h2,
  .post-card.has-image h3 {
    overflow-wrap: anywhere;
    font-size: clamp(1.9rem, 10vw, 3rem);
    line-height: 0.92;
  }

  .post-card.has-image p {
    font-size: 0.98rem;
  }

  .compact-news {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .compact-news img,
  .mini-thumb {
    width: 82px;
    height: 70px;
  }

  .flash-card a {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .horizontal-scroller {
    grid-auto-columns: minmax(250px, 88vw);
  }

  .search-page-form,
  .config-row,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .discover-hero img {
    max-height: 240px;
  }

  .wheel-wrap {
    min-height: 300px;
  }

  .game-wheel {
    width: min(270px, 82vw);
  }

  .hero-band::before {
    top: 28px;
  }

  .hero-band::after {
    top: 70px;
  }

  .hero-content,
  .game-card,
  .discover-hero,
  .empty-state,
  .admin-panel {
    padding: 18px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .data-item {
    grid-template-columns: 1fr;
  }

  .item-actions {
    justify-content: start;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-banner form,
  .cookie-actions {
    justify-content: start;
  }
}

@media (max-width: 480px) {
  .topline {
    height: 8px;
  }

  .header-inner,
  .main,
  .footer-inner {
    width: min(100% - 18px, 1180px);
  }

  .brand {
    gap: 6px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-width: 2px;
  }

  .wordmark {
    font-size: clamp(1.24rem, 6.2vw, 1.62rem);
  }

  .wordmark small {
    font-size: 0.45em;
  }

  .header-actions {
    gap: 5px;
  }

  .header-actions .icon-button[href="#/cerca/"] {
    display: none;
  }

  .icon-button,
  .menu-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .search input {
    padding-left: 15px;
    padding-right: 84px;
  }

  .search button {
    top: 4px;
    right: 4px;
    min-height: 34px;
    padding: 0 13px;
  }

  .nav-scroll {
    padding-inline: 9px;
  }

  .nav-chip {
    padding: 7px 11px;
    font-size: 0.82rem;
  }

  .main {
    padding-top: 20px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: clamp(1.85rem, 9.5vw, 2.65rem);
  }

  .post-grid {
    gap: 14px;
  }

  .post-body {
    padding: 14px;
  }

  .post-card.has-image .post-body {
    padding: 15px;
  }

  .post-meta {
    gap: 5px;
    font-size: 0.76rem;
  }

  .post-card.has-image h2,
  .post-card.has-image h3 {
    font-size: clamp(1.75rem, 9.6vw, 2.65rem);
  }

  .post-card.has-image.featured h2,
  .post-card.has-image.featured h3 {
    font-size: clamp(2.05rem, 11.4vw, 3rem);
  }

  .post-card.has-image p {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .hero-lead {
    min-height: 460px;
  }

  .hero-overlay h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}

@media (max-width: 390px) {
  .header-inner,
  .main,
  .footer-inner {
    width: min(100% - 16px, 1180px);
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .wordmark {
    font-size: clamp(1.16rem, 6vw, 1.48rem);
  }

  .icon-button,
  .menu-button {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .post-card.has-image .post-body {
    margin: 9px;
    padding: 14px;
  }

  .post-card.has-image h2,
  .post-card.has-image h3 {
    font-size: clamp(1.62rem, 9.2vw, 2.35rem);
  }
}
