:root {
  --rs-primary: #ff7675;
  --rs-secondary: #ff9999;
  --rs-accent: #b83232;
  --rs-accent-hover: #8f2626;
  --rs-bg: #fff9f6;
  --rs-ink: #1a2038;
  --rs-muted: #5a6178;
  --rs-card: #ffffff;
  --rs-border: #ffd0ce;
  --rs-page-w: 1120px;
  --rs-header-h: 72px;
  --rs-radius: 28px;
  --rs-shadow: 0 10px 28px rgba(232, 93, 93, 0.18);
  --rs-font-h: "Rubik", system-ui, sans-serif;
  --rs-font-b: "Mulish", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body.rs-u-body {
  font-family: var(--rs-font-b);
  color: var(--rs-ink);
  background: var(--rs-bg);
  line-height: 1.6;
  padding-top: var(--rs-header-h);
  background-image: radial-gradient(circle at 12px 12px, rgba(255,118,117,.12) 2px, transparent 2.5px);
  background-size: 28px 28px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rs-accent); text-decoration-thickness: 1.5px; }
a:hover { color: var(--rs-accent-hover); }
h1, h2, h3 {
  font-family: var(--rs-font-h);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--rs-ink);
}
h1, h2 {
  -webkit-text-stroke: 0.4px rgba(26,32,56,.08);
  paint-order: stroke fill;
}
.rs-u-wrap {
  max-width: var(--rs-page-w);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
.rs-u-center { text-align: center; }
.rs-u-mb { margin-bottom: 1.25rem; }
[hidden] { display: none !important; }

.rs-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--rs-header-h);
  background: #fff9f6;
  border-bottom: 3px solid var(--rs-primary);
}
.rs-header__row {
  height: var(--rs-header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.rs-nav--desktop {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: flex-start;
}
.rs-nav__link {
  color: var(--rs-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.rs-nav__link:hover, .rs-nav__link.is-active { color: var(--rs-accent); }
.rs-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.rs-logo svg { width: 180px; height: auto; min-height: 36px; }
.rs-header__cta { justify-self: end; }
.rs-burger {
  display: none;
  width: 44px; height: 44px;
  border: 2px solid var(--rs-ink);
  border-radius: 12px;
  background: #fff;
  margin-left: auto;
  justify-self: end;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.rs-burger__bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--rs-ink);
  border-radius: 2px;
}

.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: 14px;
  border: 2px solid transparent;
  font-family: var(--rs-font-h);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.rs-btn--push {
  background: #9b2424;
  color: #ffffff;
  border-color: #5c1010;
  box-shadow: 0 4px 0 #5c1010;
}
.rs-btn--push:hover {
  background: #7a1c1c;
  color: #ffffff;
  transform: translateY(1px);
  box-shadow: 0 3px 0 #3f0c0c;
}
.rs-btn--push:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #3f0c0c;
}
.rs-btn--ghost {
  background: #fff;
  color: var(--rs-ink);
  border-color: var(--rs-ink);
}
.rs-btn--ghost:hover { border-color: #5c1010; color: #5c1010; background: #fff5f4; }

.rs-overlay {
  position: fixed; inset: 0;
  background: rgba(26,32,56,.45);
  z-index: 1100;
}
.rs-sheet {
  position: fixed;
  top: var(--rs-header-h);
  left: 0; right: 0;
  z-index: 1200;
  background: #fff;
  border-bottom: 3px solid var(--rs-primary);
  max-height: calc(100dvh - var(--rs-header-h));
  overflow: auto;
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--rs-shadow);
}
.rs-sheet__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.rs-sheet__label { margin: 0; font-family: var(--rs-font-h); font-weight: 800; }
.rs-sheet__close {
  width: 44px; height: 44px;
  border: 0; background: transparent;
  font-size: 1.8rem; cursor: pointer; color: var(--rs-ink);
}
.rs-sheet__nav {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.rs-sheet__nav a {
  color: var(--rs-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.rs-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 2rem;
  padding: 1.5rem 0 3rem;
  align-items: start;
}
.rs-aside {
  position: sticky;
  top: calc(var(--rs-header-h) + 12px);
}
.rs-aside__card {
  background: var(--rs-card);
  border: 3px solid var(--rs-ink);
  border-radius: var(--rs-radius);
  padding: 1.1rem 1.15rem;
  box-shadow: 6px 6px 0 rgba(255,118,117,.35);
}
.rs-aside__h {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.rs-aside__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.55rem;
}
.rs-aside__list a { font-weight: 700; text-decoration: none; color: var(--rs-ink); }
.rs-aside__list a:hover { color: var(--rs-accent); }
.rs-aside__date {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--rs-muted);
}

.rs-hero {
  margin-bottom: 2rem;
}
.rs-hero__mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  border-radius: var(--rs-radius);
  overflow: hidden;
  border: 3px solid var(--rs-ink);
  min-height: 280px;
}
.rs-hero__mosaic img:first-child {
  grid-row: 1 / span 2;
  width: 100%; height: 100%;
  object-fit: cover; min-height: 280px;
}
.rs-hero__mosaic img {
  width: 100%; height: 100%;
  object-fit: cover; min-height: 135px;
}
.rs-hero__copy { margin-top: 1.25rem; }
.rs-kicker {
  display: inline-block;
  font-family: var(--rs-font-h);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rs-ink);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.rs-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}
.rs-lead { font-size: 1.08rem; color: var(--rs-muted); max-width: 42rem; }
.rs-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }

.rs-section { margin: 2.5rem 0; }
.rs-section__h {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 0 0 0.5rem;
}
.rs-section__p { color: var(--rs-muted); margin: 0 0 1.25rem; max-width: 40rem; }

.rs-card {
  background: var(--rs-card);
  border: 3px solid var(--rs-ink);
  border-radius: var(--rs-radius);
  overflow: hidden;
  transition: transform .2s ease;
}
.rs-card:hover { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .rs-card:hover { transform: none; }
  .rs-tilt, .rs-btn--push { transition: none; }
}
.rs-card__media {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #ffe4e1;
}
.rs-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rs-card__title a { color: inherit; text-decoration: none; }
.rs-card__title a:hover { color: var(--rs-accent); }
.rs-winner__media { display: block; color: inherit; }
.rs-card__body { padding: 1.1rem 1.2rem 1.35rem; }
.rs-card__rank {
  display: inline-block;
  font-family: var(--rs-font-h);
  font-weight: 800;
  font-size: 0.75rem;
  background: var(--rs-primary);
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}
.rs-card__title { margin: 0 0 0.35rem; font-size: 1.25rem; }
.rs-card__line { margin: 0 0 1rem; color: var(--rs-muted); }
.rs-card__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.rs-winner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  border: 3px solid var(--rs-ink);
  border-radius: var(--rs-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(255,118,117,.3);
}
.rs-winner__media { min-height: 240px; }
.rs-winner__media img { width: 100%; height: 100%; object-fit: cover; }
.rs-winner__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.rs-alts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rs-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.rs-key {
  border: 2px solid var(--rs-ink);
  border-radius: 14px;
  padding: 0.85rem;
  background: #fff;
  text-align: center;
}
.rs-key svg { margin: 0 auto 0.4rem; }

.rs-faq { display: grid; gap: 0.65rem; }
.rs-faq__item {
  border: 2px solid var(--rs-ink);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.rs-faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1.1rem;
  font-family: var(--rs-font-h);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--rs-ink);
}
.rs-faq__a {
  padding: 0 1.1rem 1rem;
  color: var(--rs-muted);
  margin: 0;
}
.rs-faq__item.is-open .rs-faq__a { display: block; }
.rs-faq__item:not(.is-open) .rs-faq__a { display: none; }

.rs-collections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.rs-collection {
  border: 3px dashed var(--rs-primary);
  border-radius: var(--rs-radius);
  padding: 1.2rem;
  background: rgba(255,255,255,.85);
}
.rs-collection h3 { margin: 0 0 0.75rem; }
.rs-collection ul { margin: 0; padding-left: 1.1rem; }
.rs-collection li { margin-bottom: 0.4rem; }

.rs-cta {
  text-align: center;
  padding: 2.2rem 1.5rem;
  border-radius: var(--rs-radius);
  border: 3px solid var(--rs-ink);
  background: linear-gradient(135deg, #ffe4e1, #fff9f6 55%, #ffd0ce);
  margin: 2.5rem 0 1rem;
}
.rs-cta h2 { margin-top: 0; }

.rs-cookie {
  position: fixed !important;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1400;
  max-width: min(520px, calc(100vw - 24px));
  background: #1a2038;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--rs-shadow);
}
.rs-cookie p { margin: 0; font-size: 0.9rem; }
.rs-cookie a { color: #ffd0ce; }
.rs-cookie__actions { flex-shrink: 0; }
.rs-cookie .rs-btn--push { min-height: 40px; padding: 0.45rem 1rem; }

.rs-footer {
  background: #1a2038;
  color: #f5f5f5;
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}
.rs-footer a { color: #ffd0ce; text-decoration: none; }
.rs-footer a:hover { color: #fff; }
.rs-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}
.rs-footer__brand { font-family: var(--rs-font-h); font-weight: 800; font-size: 1.2rem; margin: 0 0 0.5rem; }
.rs-footer__h { font-family: var(--rs-font-h); font-weight: 700; margin: 0 0 0.65rem; }
.rs-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.rs-footer__note, .rs-footer__check { color: #c9cedd; font-size: 0.92rem; }
.rs-footer__linkbtn {
  background: none; border: 0; padding: 0; color: #ffd0ce;
  font: inherit; cursor: pointer; text-align: left;
}
.rs-footer__legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 0.85rem;
  color: #aeb4c6;
}

.rs-page {
  padding-top: 1.75rem;
  padding-bottom: 3rem;
}
.rs-page h1 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.rs-prose { max-width: 42rem; }
.rs-prose p { margin: 0 0 1rem; }
.rs-prose h2 { margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.rs-back { display: inline-block; margin-bottom: 1rem; font-weight: 700; text-decoration: none; }

.rs-stage {
  border: 3px solid var(--rs-ink);
  border-radius: var(--rs-radius);
  overflow: hidden;
  background: #0f1424;
  max-width: 420px;
  margin: 0 auto 1.25rem;
}
.rs-stage iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(78dvh, 760px);
  border: 0;
  display: block;
  background: #000;
}
.rs-stage__meta { text-align: center; margin-bottom: 1.5rem; }

.rs-form {
  display: grid; gap: 0.85rem; max-width: 36rem;
}
.rs-form label { font-weight: 700; }
.rs-form input, .rs-form textarea {
  width: 100%;
  border: 2px solid var(--rs-ink);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
}
.rs-form textarea { min-height: 140px; resize: vertical; }

.rs-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.rs-record {
  border: 3px solid var(--rs-ink);
  border-radius: var(--rs-radius);
  padding: 1.1rem;
  background: #fff;
  text-align: center;
}
.rs-record strong { display: block; font-size: 1.6rem; font-family: var(--rs-font-h); }

.rs-404 {
  text-align: center;
  padding: 3rem 1rem;
}
.rs-404__art {
  width: 120px; height: 120px; margin: 0 auto 1rem;
  border-radius: 30px;
  border: 3px solid var(--rs-ink);
  background: var(--rs-primary);
  position: relative;
}
.rs-404__art::after {
  content: "";
  position: absolute;
  inset: 28px 18px 40px;
  border: 3px solid #fff;
  border-radius: 40% 40% 20% 20%;
  transform: rotate(-12deg);
}

.rs-tilt {
  animation: rs-tilt .7s ease both;
}
@keyframes rs-tilt {
  from { opacity: 0; transform: rotate(-1.2deg) translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-tilt { animation: none; }
}

@media (max-width: 1100px) {
  .rs-nav--desktop { display: none; }
  .rs-header__cta { display: none; }
  .rs-burger { display: inline-flex; }
  .rs-header__row { grid-template-columns: auto 1fr auto; }
  .rs-logo { justify-content: flex-start; }
  .rs-logo svg { width: 120px; min-height: 28px; }
}
@media (max-width: 900px) {
  .rs-layout { grid-template-columns: 1fr; }
  .rs-aside { position: static; }
  .rs-winner, .rs-alts, .rs-controls, .rs-collections, .rs-records, .rs-footer__grid {
    grid-template-columns: 1fr;
  }
  .rs-hero__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .rs-hero__mosaic img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 200px;
  }
  .rs-cookie {
    border-radius: 22px;
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .rs-u-wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .rs-hero__actions .rs-btn { width: 100%; }
  .rs-card__actions .rs-btn { width: 100%; }
  .rs-page .rs-btn { max-width: 100%; }
}
