/* Holey website styles. Colours follow the game's UI palette (UiTheme.cs): lavender and violet panels,
   sky blue, gold, candy green and pink, chunky buttons with a solid bottom edge. */

@font-face {
  font-family: "Fredoka";
  src: url("assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #29174d;
  --text: #29174d;
  --muted: #554a73;
  --bg: #f6f2ff;
  --surface: #ffffff;
  --surface-2: #ece5ff;
  --line: #d9cdf5;
  --sky: #1f6fd6;
  --violet: #5b32d6;
  --deep: #2a1466;
  --lavender: #b9a6ff;
  --gold: #ffd133;
  --gold-shade: #d97a00;
  --green: #66e04d;
  --green-shade: #2a8f1f;
  --pink: #ff66a6;
  --pink-shade: #c2306f;
  --teal: #33dbd1;
  --orange: #ff9129;
  --link: #3d1fb3;
  --focus: #ff3d8b;
  --warn-bg: #fff1b8;
  --warn-text: #5c3a00;
  --shadow: 0 6px 0 rgba(41, 23, 77, 0.12), 0 16px 34px rgba(41, 23, 77, 0.10);
  --radius: 24px;
  --font: "Fredoka", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f3eeff;
    --muted: #cdc2ee;
    --bg: #130a2a;
    --surface: #211547;
    --surface-2: #1a1038;
    --line: #3d2c6e;
    --link: #c9baff;
    --warn-bg: #4a3500;
    --warn-text: #ffe28a;
    --shadow: 0 6px 0 rgba(0, 0, 0, 0.35), 0 16px 34px rgba(0, 0, 0, 0.3);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; }
strong, b { font-weight: 600; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }

/* Owner markers (only while a required value is missing) */
.owner-banner {
  background: var(--warn-bg);
  color: var(--warn-text);
  border-bottom: 3px dashed var(--gold-shade);
  padding: 10px 16px;
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
}
.owner-missing {
  display: inline-block;
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 2px dashed var(--gold-shade);
  border-radius: 8px;
  padding: 0 8px;
  font-weight: 600;
  font-size: 0.9em;
}

/* Header */
.site-header {
  background: linear-gradient(120deg, var(--sky), var(--violet));
  color: #fff;
  position: relative;
  z-index: 10;
}
.home .site-header { background: transparent; position: absolute; inset: 0 0 auto 0; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 0 rgba(20, 8, 60, 0.45);
}
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25); }
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  font: inherit;
  font-weight: 600;
  padding: 6px 14px;
  min-height: 44px;
  cursor: pointer;
}
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 14px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.2); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { width: 100%; display: none; padding-bottom: 12px; }
  .site-nav.open { display: block; }
  .home .site-nav.open { background: rgba(42, 20, 102, 0.96); border-radius: 18px; padding: 8px; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px 14px; }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 112px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.10) 0 7px, transparent 8px) 0 0 / 44px 44px,
    radial-gradient(120% 90% at 85% 10%, #7b4dff 0, transparent 55%),
    linear-gradient(165deg, #3a1d8f 0%, var(--violet) 45%, #2a6fe0 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -60px;
  height: 120px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-logo { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25), 0 18px 40px rgba(0, 0, 0, 0.3); margin-bottom: 18px; }
.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 13vw, 6rem);
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 6px 0 #1b0b4a, 0 14px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 .sub {
  display: block;
  font-size: 0.42em;
  color: var(--gold);
  margin-top: 10px;
  text-shadow: 0 4px 0 #1b0b4a;
}
.hero .tagline { font-size: clamp(1.25rem, 4vw, 1.7rem); font-weight: 600; margin: 18px 0 10px; color: #fff; }
.hero p { margin: 0 0 24px; max-width: 34em; color: #f1ecff; }
.hero .fineprint { font-size: 0.95rem; margin: 16px 0 0; color: #e3dbff; }

.hero-art { position: relative; justify-self: center; width: min(400px, 86vw); }
.hero-shot {
  position: relative;
  width: 72%;
  margin: 0 auto;
  border-radius: 34px;
  border: 6px solid #fff;
  box-shadow: 0 10px 0 rgba(20, 8, 60, 0.45), 0 30px 60px rgba(10, 4, 40, 0.45);
  transform: rotate(4deg);
  overflow: hidden;
  background: #3a1d8f;
  aspect-ratio: 1320 / 2868;
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.floaty {
  position: absolute;
  width: 22%;
  filter: drop-shadow(0 8px 10px rgba(10, 4, 40, 0.35));
  animation: bob 5s ease-in-out infinite;
}
.floaty.f1 { top: 4%; left: -2%; }
.floaty.f2 { top: 40%; right: -4%; animation-delay: -1.6s; }
.floaty.f3 { bottom: 6%; left: 2%; animation-delay: -3.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

@media (max-width: 820px) {
  .hero { padding: 96px 0 88px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .store-badges { justify-content: center; }
  .hero-art { width: min(300px, 78vw); }
}

/* Store badges: drawn in HTML/CSS/SVG in the style of the official badges.
   Swap in Apple's and Google's official badge artwork before launch (see README.md). */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  height: 58px;
  padding: 0 18px 0 14px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1.5px solid #a6a6a6;
  text-decoration: none;
  line-height: 1;
  text-align: left;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.store-badge svg { width: 30px; height: 30px; flex: none; }
.store-badge .small { display: block; font-size: 0.72rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 3px; }
.store-badge .small.lower { text-transform: none; font-size: 0.78rem; }
.store-badge .big { display: block; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
a.store-badge[href]:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); }
a.store-badge[href]:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.store-badge.is-soon { cursor: default; opacity: 0.92; }
.store-badge.is-soon .store-text { opacity: 0.72; }
.badge-soon {
  position: absolute;
  top: -11px;
  right: -8px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--gold-shade);
  transform: rotate(4deg);
}
.badge-soon[hidden] { display: none; }
.store-note { font-size: 0.95rem; margin: 12px 0 0; }
.store-note[hidden] { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 18px;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--gold-shade);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--gold-shade); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-shade); }

/* Sections */
main { display: block; }
.section { padding: 64px 0; }
.section h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 10px;
}
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--lavender); } }
.section .lead { color: var(--muted); margin: 0 0 30px; max-width: 42em; font-size: 1.12rem; }
.section.alt { background: var(--surface-2); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Quick facts strip */
.facts { list-style: none; margin: -24px auto 0; padding: 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1120px; position: relative; z-index: 2; }
.facts li {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 500;
  color: var(--muted);
}
.facts strong { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--text); font-weight: 700; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 12px 0 6px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 10px 0 0; padding-left: 1.2em; color: var(--muted); }
.card .icon { width: 64px; height: 64px; }
.card.feature { display: grid; grid-template-columns: 72px 1fr; gap: 6px 16px; align-items: start; }
.card.feature .icon { grid-row: span 2; width: 72px; height: 72px; }
.card.feature h3 { margin: 4px 0 2px; }
@media (max-width: 360px) {
  .card.feature { grid-template-columns: 1fr; }
  .card.feature .icon { grid-row: auto; }
}

/* How it plays */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  right: 18px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 0 var(--gold-shade);
}
.steps h3 { margin: 10px 0 4px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); }
.steps .icon { width: 64px; height: 64px; }

/* Growth tiers */
.growth { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.growth ol { margin: 0; padding-left: 1.3em; }
.growth li { margin: 6px 0; }
.sizes { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 26px 10px 18px; background: linear-gradient(180deg, #8ee26f, #5fbf45); border-radius: var(--radius); box-shadow: var(--shadow); border: 2px solid var(--line); flex-wrap: wrap; }
.sizes figure { margin: 0; text-align: center; color: #10320a; font-weight: 600; font-size: 0.9rem; }
.sizes .ring {
  display: block;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, #050212 52%, #1d0f44 70%);
  box-shadow: 0 0 0 5px #fff, 0 0 0 9px var(--pink), 0 6px 0 9px rgba(0, 0, 0, 0.15);
}
@media (max-width: 760px) { .growth { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { position: relative; }
.gallery-track {
  list-style: none;
  margin: 0;
  padding: 8px 16px 22px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gallery-track li { flex: 0 0 auto; width: min(250px, 66vw); scroll-snap-align: center; }
.gallery-track figure { margin: 0; }
.gallery-track img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  border-radius: 26px;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.gallery-track figcaption { text-align: center; font-weight: 600; margin-top: 8px; font-size: 0.98rem; }
.gallery-controls { display: none; justify-content: center; gap: 12px; margin-top: 6px; }
.gallery.has-controls .gallery-controls { display: flex; }
.round-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--gold-shade);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.round-btn svg { width: 24px; height: 24px; }
.round-btn:disabled { opacity: 0.45; cursor: default; }

/* Worlds */
.worlds { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.worlds li {
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}
.w1 { background: #ffb3c7; } .w2 { background: #c9d1dd; } .w3 { background: #a8ec8c; } .w4 { background: #ffc6ef; }
.w5 { background: #ffd98a; } .w6 { background: #ffe9a8; } .w7 { background: #d8f0a0; } .w8 { background: #ffcba4; }
.w9 { background: #cfeaff; } .w10 { background: #a8e6e0; }

/* Mode cards with a colour band */
.mode { overflow: hidden; padding: 0; }
.mode .band { padding: 20px 22px 14px; color: #fff; display: flex; align-items: center; gap: 14px; }
.mode .band h3 { margin: 0; font-size: 1.5rem; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25); }
.mode .band .icon { width: 64px; height: 64px; }
.mode .body { padding: 6px 22px 22px; }
.mode.battle .band { background: linear-gradient(135deg, #ff7a3d, #e0336a); }
.mode.zen .band { background: linear-gradient(135deg, #2fc4b8, #2a8fd6); }
.mode.vip .band { background: linear-gradient(135deg, #8b5cff, #5b32d6); }

/* Fair play */
.fair { background: linear-gradient(160deg, var(--deep), var(--violet)); color: #fff; }
.fair h2, .fair h3 { color: #fff; }
.fair .lead { color: #e6dfff; }
.fair .card { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); box-shadow: none; }
.fair .card p { color: #ece6ff; }
.fair a { color: #fff; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--sky), var(--violet));
  color: #fff;
  border-radius: 32px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; }
.cta p { color: #f1ecff; }
.cta .store-badges { justify-content: center; }

/* Document pages */
.page-head {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.10) 0 6px, transparent 7px) 0 0 / 40px 40px,
    linear-gradient(160deg, #3a1d8f, var(--violet) 55%, var(--sky));
  color: #fff;
  padding: 40px 0 44px;
}
.page-head h1 { margin: 0 0 6px; font-size: clamp(2rem, 6vw, 3rem); text-shadow: 0 4px 0 rgba(20, 8, 60, 0.5); }
.page-head p { margin: 0; color: #f1ecff; }

.doc { padding: 36px 0 64px; }
.doc h2 { font-size: 1.55rem; margin: 40px 0 8px; scroll-margin-top: 16px; }
.doc h3 { font-size: 1.2rem; margin: 24px 0 6px; scroll-margin-top: 16px; }
.doc p, .doc li { max-width: 48em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.toc {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 8px;
}
.toc h2 { margin: 0 0 6px; font-size: 1.1rem; }
.toc ol { margin: 0; columns: 2 260px; }
.note {
  background: var(--surface-2);
  border-left: 6px solid var(--violet);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 16px 0;
}
.store-section {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px 16px;
  margin: 36px 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.store-section > h2 { margin-top: 20px; }
.store-section .tag { display: inline-block; font-size: 0.85rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); margin-right: 6px; }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; border: 2px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--surface); }
caption { text-align: left; padding: 10px 12px; font-weight: 600; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
th { background: var(--surface-2); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
code { font-size: 0.92em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }

/* FAQ */
.faq details {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  margin: 0 0 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 40px 14px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 11px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--gold-shade);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-top: 0; }
.faq details > :last-child { padding-bottom: 14px; margin-bottom: 0; }
.faq h2 { margin-top: 32px; }

.contact-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin: 24px 0;
}
.contact-card h2 { margin-top: 0; }

/* 404 */
.lost { text-align: center; padding: 72px 0; }
.lost .hole {
  width: 200px;
  height: 100px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #050212 55%, #1d0f44 72%);
  box-shadow: 0 0 0 7px #fff, 0 0 0 13px var(--pink), 0 12px 0 13px rgba(0, 0, 0, 0.15);
}
.lost h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); margin: 0 0 8px; }
.lost .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* Footer */
.site-footer {
  background: #1b0d42;
  color: #e9e3ff;
  padding: 36px 0;
  font-size: 0.97rem;
}
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: flex-start; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer ul a { display: inline-block; padding: 6px 0; }
.site-footer p { margin: 0 0 4px; }
.site-footer .owner-missing { color: var(--warn-text); }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.sizes .s1 { width: 34px; height: 34px; }
.sizes .s2 { width: 48px; height: 48px; }
.sizes .s3 { width: 64px; height: 64px; }
.sizes .s4 { width: 82px; height: 82px; }
.sizes .s5 { width: 102px; height: 102px; }
.mt { margin-top: 18px; }
@media (max-width: 480px) {
  .sizes { gap: 6px; flex-wrap: nowrap; padding: 22px 8px 16px; }
  .sizes figure { font-size: 0.78rem; }
  .sizes .s1 { width: 22px; height: 22px; }
  .sizes .s2 { width: 32px; height: 32px; }
  .sizes .s3 { width: 42px; height: 42px; }
  .sizes .s4 { width: 52px; height: 52px; }
  .sizes .s5 { width: 62px; height: 62px; }
}
