@font-face {
  font-family: "DejaVu Sans";
  src: url("fonts/dejavu-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1d1c1a;
  --bar: #2a2b27;
  --panel: #242422;
  --text: #e6e7e8;
  --muted: #a9adaa;
  --lime: #aeff00;
  --ink: #1d1c1a;
  --paper: #e6e7e8;
  --green: #007542;
  --line: #3c3e36;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}

button, input { font: inherit; color: inherit; }

button { cursor: pointer; touch-action: manipulation; }

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

::selection { background: var(--lime); color: var(--ink); }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 28px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  margin: 0 auto;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  background: var(--bar);
  border-radius: 28px;
  padding: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

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

.word {
  margin: 0;
  font-family: "DejaVu Sans", "Arial Black", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 4vw, 22px);
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.search-form { flex: 1 1 220px; min-width: 0; }

.search {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 16px;
}

.search::placeholder { color: var(--muted); }

.search:focus,
.search:focus-visible {
  outline: none;
  border-color: var(--lime);
}

.ad {
  min-height: 90px;
  margin-top: 14px;
  border: 1px dashed #4a4d44;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #6f746c;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.block { margin-top: 52px; scroll-margin-top: 132px; }

.block h2,
.tune h2,
.related h2 {
  margin: 0 0 10px;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.045em;
  line-height: 1;
}

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

.item {
  position: relative;
  border-radius: 16px;
  color: var(--ink);
  min-width: 0;
}

.item[hidden],
.block[hidden],
.empty[hidden] { display: none; }

.tone-lime { background: var(--lime); }

.tone-paper { background: var(--paper); }

.tone-green { background: var(--green); color: var(--paper); }

.pad {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 52px 10px 14px;
  color: inherit;
  text-decoration: none;
}

.glyph { display: grid; flex: 0 0 auto; }

.glyph svg { width: 22px; height: 22px; display: block; }

.copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.nm {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 1;
}

.meta { font-size: 13px; }

.tone-lime .meta,
.tone-paper .meta { color: #243018; }

.tone-green .meta { color: #d5e6dc; }

.like {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  padding: 0;
}

.like .filled { display: none; }

.like[aria-pressed="true"] .outline { display: none; }

.like[aria-pressed="true"] .filled { display: block; }

.tone-green .like[aria-pressed="true"] { color: var(--lime); }

.empty {
  margin: 18px 4px 0;
  color: var(--muted);
}

.shot { margin: 28px 0 0; }

.shot img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.foot {
  margin: 22px 4px 0;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.back {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.back:hover { color: var(--text); }

.sound-title {
  margin: 14px 0 0;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 68px);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.sound-meta { margin: 8px 0 0; color: var(--muted); }

.play-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 16px;
}

.play-main {
  flex: 1;
  min-width: 0;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--lime);
  color: var(--ink);
  text-align: left;
}

.play-main svg { width: 28px; height: 28px; display: block; flex: 0 0 auto; }

.play-main .pause { display: none; }

.play-main.is-on .play { display: none; }

.play-main.is-on .pause { display: block; }

.play-name {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.play-state {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.page-like {
  position: static;
  transform: none;
  width: 64px;
  height: auto;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
}

.page-like[aria-pressed="true"] { color: var(--lime); border-color: var(--lime); }

.status { margin: 10px 0 0; color: #b7bdb0; font-weight: 500; }

.status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #5c6156;
  vertical-align: 1px;
}

.status.is-play { color: var(--text); }

.status.is-play::before { background: var(--lime); }

.tune {
  margin-top: 22px;
  padding: 16px;
  background: var(--panel);
  border-radius: 20px;
}

.field { margin-top: 14px; }

.field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field output { color: var(--muted); }

input[type="range"] {
  width: 100%;
  accent-color: var(--lime);
  height: 28px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #1d1c1a;
  box-shadow: 0 0 0 1px #6d7268;
  padding: 0;
}

.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--text); }

.noscript { margin-top: 12px; color: var(--muted); }

@media (min-width: 720px) {
  .wrap { width: min(1120px, calc(100% - 48px)); padding-top: 22px; }
  .topbar { flex-wrap: nowrap; border-radius: 32px; padding: 12px 14px; }
  .brand img { width: 48px; height: 48px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ad { min-height: 120px; }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (hover: hover) {
  .pad:hover { filter: brightness(1.04); }
  .like:hover { opacity: 0.72; }
  .like[aria-pressed="true"]:hover { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  padding-bottom: 10px;
}

.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

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

.nav a {
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 500;
  font-size: 14px;
}

.hero {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--lime);
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.03em;
}

.hero-title {
  margin: 8px 0 0;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 8vw, 68px);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero p.lead {
  margin: 12px 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 16px;
}

.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 28px;
  order: -1;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 { margin: 0; }

.rand {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 14px;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.04em;
}

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

.item {
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 4px);
}

.item .glyph,
.item .meta { display: none; }

.item .pad {
  justify-content: center;
  min-height: 52px;
  padding: 10px 28px 10px 12px;
  text-align: center;
}

.item .nm { font-size: 16px; }

.item .like {
  width: 32px;
  height: 32px;
  right: 2px;
}

.item .like svg { width: 15px; height: 15px; }

@media (min-width: 720px) {
  .hero {
    grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
    gap: 28px;
  }
  .hero-photo { order: 0; }
  .item {
    flex: 0 1 168px;
    max-width: 210px;
  }
}

@media (hover: hover) {
  .rand:hover { filter: brightness(1.06); }
  .menu nav a:hover {
    background: var(--lime);
    color: var(--ink);
  }
}

.search {
  min-height: 64px;
  padding: 0 22px;
  font-size: 18px;
  border-width: 2px;
  border-radius: 20px;
}

.search-form { flex: 1 1 100%; }

.tone-lime,
.tone-paper,
.tone-green {
  background: transparent;
  color: var(--text);
}

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

.item {
  flex: none;
  width: auto;
  max-width: none;
  background: transparent;
  color: var(--text);
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-items: center;
  align-items: center;
  column-gap: 2px;
  row-gap: 8px;
}

.item .hit { grid-column: 1 / -1; }

.hit {
  --accent: var(--face, #aeff00);
  --bright: color-mix(in srgb, var(--accent) 62%, #fff);
  --shade: color-mix(in srgb, var(--accent) 58%, #14180a);
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M8 4Q8 2 11 4L25 13Q28 15 25 17L11 26Q8 28 8 25Z' fill='%231d1c1a'/%3E%3C/svg%3E");
  position: relative;
  width: 100%;
  aspect-ratio: 208 / 220;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  cursor: pointer;
}

.hit[style*="#aeff00"] { --bright: #d8ff7c; --shade: #6c9d00; }
.hit[style*="#4bdaf0"] { --bright: #b7f5ff; --shade: #188395; }
.hit[style*="#b18dff"] { --bright: #e0d1ff; --shade: #6f52ad; }
.hit[style*="#ff7769"] { --bright: #ffc1b8; --shade: #a9423e; }
.hit[style*="#ffd354"] { --bright: #fff0b5; --shade: #a17b25; }

body[data-color="#aeff00"] .play-main .hit { --bright: #d8ff7c; --shade: #6c9d00; }
body[data-color="#4bdaf0"] .play-main .hit { --bright: #b7f5ff; --shade: #188395; }
body[data-color="#b18dff"] .play-main .hit { --bright: #e0d1ff; --shade: #6f52ad; }
body[data-color="#ff7769"] .play-main .hit { --bright: #ffc1b8; --shade: #a9423e; }
body[data-color="#ffd354"] .play-main .hit { --bright: #fff0b5; --shade: #a17b25; }

.hit::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1%;
  width: 92%;
  height: 14%;
  transform: translateX(-50%);
  border: 0;
  border-radius: 50%;
  background: #0009;
  filter: blur(7px);
  z-index: 0;
}

.hit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 100%;
  height: 42%;
  border-radius: 18% 18% 28% 28%;
  background:
    radial-gradient(ellipse at 50% 14%, #fff8 0 18%, transparent 19%),
    radial-gradient(circle at 16% 78%, #0d1511 0 2.5px, transparent 3px),
    radial-gradient(circle at 84% 78%, #0d1511 0 2.5px, transparent 3px),
    radial-gradient(circle at 16% 28%, #252b28 0 2.5px, transparent 3px),
    radial-gradient(circle at 84% 28%, #252b28 0 2.5px, transparent 3px),
    linear-gradient(150deg, #dfe4d9 0%, #a5b0a3 28%, #57605a 50%, #272d2a 51%, #1b211e 100%);
  box-shadow: inset 0 4px 0 #ffffff66, inset 0 -5px 0 #101613, 0 5px 0 #141916, 0 8px 12px #0006;
  z-index: 1;
  pointer-events: none;
}

.collar,
.dome { pointer-events: none; }

.collar {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 39%;
  width: 76%;
  height: 30%;
  transform: translateX(-50%);
  border-radius: 50% 50% 16% 16% / 42% 42% 13% 13%;
  background: linear-gradient(100deg, #cdd3c7, #f4f5ed 32%, #a8b1a7 68%, #565f59);
  box-shadow: inset 0 7px 4px #fff7, 0 4px 5px #0004;
}

.dome {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 7%;
  width: 92%;
  height: 59%;
  transform: translateX(-50%);
  border-radius: 52% 52% 47% 47% / 82% 82% 24% 24%;
  background: radial-gradient(ellipse at 31% 18%, var(--bright) 0%, var(--accent) 36%, var(--accent) 62%, var(--shade) 100%);
  box-shadow: inset 0 5px 2px #ffffff8a, inset -12px -10px 14px #0003, 0 7px 0 var(--shade), 0 12px 10px #0006;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.dome::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 20%;
  width: 28%;
  height: 14%;
  border-radius: 50%;
  background: #fff8;
  filter: blur(5px);
  transform: rotate(-15deg);
}

.dome::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #1d1c1a26 var(--ico) center / 48% 48% no-repeat;
}

.hit[aria-pressed="true"],
.play-main.is-on .hit {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Crect x='6' y='4' width='6' height='22' rx='2' fill='%231d1c1a'/%3E%3Crect x='18' y='4' width='6' height='22' rx='2' fill='%231d1c1a'/%3E%3C/svg%3E");
}

.hit[aria-pressed="true"] .dome,
.play-main.is-on .hit .dome,
.hit:active .dome,
.play-main:active .hit .dome {
  transform: translateX(-50%) translateY(16%) scaleY(0.91);
  box-shadow: inset 0 4px 3px #ffffff75, inset -8px -7px 12px #0003, 0 2px 0 var(--shade), 0 4px 6px #0007;
}

.item .nm {
  grid-column: 1 / -1;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.item .nm:hover { color: var(--lime); }

.item .like {
  position: static;
  top: auto;
  right: auto;
  width: 36px;
  height: 36px;
  transform: none;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
}

.item .like[aria-pressed="true"] { color: var(--lime); }

.play-row {
  align-items: center;
  justify-content: center;
}

.sound-stage {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}

.sound-hero .play-row { justify-content: flex-start; margin-top: 0; }

.sound-hero .sound-title {
  margin: 18px 0 0;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
}

.sound-hero .play-state {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sound-stats {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sound-stats li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b7bbb4;
  font-size: 15px;
  font-weight: 400;
}

.sound-stats svg { flex: 0 0 auto; }

.stat-like svg { color: #ff7769; }
.stat-view svg { color: #4bdaf0; }
.stat-play svg { color: var(--lime); }

.sound-hero .sound-cat { text-align: left; margin: 14px 0 0; }

.sound-cat a {
  color: var(--lime);
  font-weight: 500;
  text-decoration: none;
}

.sound-cat a:hover { text-decoration: underline; }

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

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font: 500 16px "Fredoka", "Trebuchet MS", sans-serif;
  cursor: pointer;
}

.action.like { background: #ff7769; }
.action.like[aria-pressed="true"] { background: var(--lime); }
.action.dl { background: #4bdaf0; }
.action.share { background: #b18dff; }
.action.copy { background: #ffd354; }
.action.embed { background: var(--lime); }

.share-block { grid-column: 1 / -1; margin-top: 8px; }

.share-block h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

.share-row { display: flex; gap: 10px; }

.share-row button {
  width: 44px;
  height: 44px;
  border: 1px solid #3a3c36;
  border-radius: 12px;
  background: #242422;
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
}

body[data-page="sound"] .play-main { width: min(220px, 70vw); }

body[data-page="sound"] .status { text-align: left; }

@media (min-width: 860px) {
  .sound-stage {
    grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
    gap: 56px;
  }
}

.share-pop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(29, 28, 26, 0.78);
}

.share-pop[hidden] { display: none; }

.share-card {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  background: #242422;
  border: 1px solid #3a3c36;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.share-card h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
}

.share-name {
  margin: 8px 0 0;
  color: #b7bbb4;
}

.embed-code {
  display: block;
  width: 100%;
  min-height: 128px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #3a3c36;
  background: #141413;
  color: var(--paper);
  font: 400 14px/1.45 "Fredoka", "Trebuchet MS", sans-serif;
  resize: vertical;
}

.embed-copy {
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  font: 500 16px "Fredoka", "Trebuchet MS", sans-serif;
  cursor: pointer;
}

html.is-embed .navbar,
html.is-embed .site-foot,
html.is-embed .ad,
html.is-embed .back,
html.is-embed .sound-actions,
html.is-embed .sound-stats,
html.is-embed .sound-cat,
html.is-embed .status,
html.is-embed .related { display: none; }

html.is-embed body { background: #1d1c1a; }

html.is-embed .wrap {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

html.is-embed .sound-stage {
  margin: 0;
  width: 100%;
}

html.is-embed .sound-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

html.is-embed .sound-hero .play-row { justify-content: center; }

html.is-embed .sound-hero .sound-title {
  text-align: center;
  font-size: 28px;
}

.share-url {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #141413;
  border: 1px solid #3a3c36;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.4;
  word-break: break-all;
}

.share-copy {
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  font: 500 16px "Fredoka", "Trebuchet MS", sans-serif;
  cursor: pointer;
}

.share-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.play-main {
  flex: 0 1 220px;
  width: min(220px, 64vw);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
}

.play-main .hit {
  width: 100%;
  pointer-events: none;
  background: transparent;
}

.play-state {
  color: var(--text);
  font-size: 16px;
}

.site-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.foot-brand { grid-column: 1 / -1; }

.foot-brand .brand { color: inherit; }

.foot-brand p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 36ch;
}

.site-foot h2 {
  margin: 0 0 8px;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.04em;
  color: var(--lime);
}

.site-foot a {
  display: block;
  margin-top: 6px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-foot a:hover { color: var(--lime); }

.legal-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.prose { margin-top: 18px; max-width: 74ch; }

.prose h1 {
  margin: 0;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 7vw, 56px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.prose .updated { margin: 10px 0 0; color: var(--lime); font-weight: 500; }

.prose h2 {
  margin: 28px 0 8px;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.prose p,
.prose li { color: #d5d7d4; }

.prose a { color: var(--lime); }

.prose ul { margin: 8px 0 0; padding-left: 18px; }

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.contact-form label { font-weight: 500; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

@media (min-width: 720px) {
  .search { min-height: 72px; font-size: 20px; }
  .search-form { flex: 1 1 280px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .item { flex: none; max-width: none; }
  .site-foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (hover: hover) {
  .hit:hover .dome { filter: brightness(1.06); }
  .action:hover { filter: brightness(1.06); }
  .share-row button:hover { border-color: var(--lime); color: var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
  .dome { transition: none; }
  .hit[aria-pressed="true"] .dome,
  .play-main.is-on .hit .dome,
  .hit:active .dome,
  .play-main:active .hit .dome { transform: translateX(-50%); }
}

h1, h2, .nm, .hero-title, .sound-title, .play-name,
.block h2, .tune h2, .related h2, .prose h1, .prose h2, .site-foot h2,
.rand, .eyebrow, .play-state, .contact-form button {
  font-weight: 500;
  letter-spacing: 0;
}

.word { letter-spacing: -0.02em; }

.navbar {
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 -2px;
  padding: 10px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.menu { position: relative; }

.menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 4px;
}

.menu summary::-webkit-details-marker { display: none; }

.menu summary::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border-width: 5px 4px 0;
  border-style: solid;
  border-color: currentColor transparent transparent;
  vertical-align: 2px;
}

.menu[open] summary::after {
  border-width: 0 4px 5px;
  border-color: transparent transparent currentColor;
}

.menu summary:focus,
.menu summary:focus-visible { outline: none; }

.menu nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  display: grid;
  background: #242422;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu nav a {
  color: var(--text);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-search { flex: 0 1 240px; min-width: 140px; }

.nav-search .search {
  min-height: 40px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 400;
  border-radius: 999px;
}

.banner {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 0 8px;
  text-align: center;
}

.banner h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.15;
  font-weight: 500;
}

.banner p {
  margin: 14px auto 0;
  max-width: 54ch;
  color: #b7bbb4;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.banner-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 26px auto 0;
  padding: 4px 6px 4px 18px;
  background: #141413;
  border: 1px solid #3a3c36;
  border-radius: 999px;
}

.banner-search .search {
  flex: 1;
  min-height: 46px;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.banner-search .search:focus,
.banner-search .search:focus-visible,
.banner-search button:focus,
.banner-search button:focus-visible {
  outline: none;
  border-color: transparent;
}

.banner-search:focus-within {
  border-color: var(--lime);
}

.banner-search button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c8ccc4;
  display: grid;
  place-items: center;
}

.hit { cursor: pointer; }

.block { scroll-margin-top: 76px; }

.nav-drawer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-toggle {
  display: none;
  list-style: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  place-items: center;
}

.nav-toggle::-webkit-details-marker { display: none; }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-drawer.is-open > .nav-toggle span { background: transparent; }
.nav-drawer.is-open > .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-drawer.is-open > .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 721px) {
  .nav-drawer > .nav-panel { display: flex; }
}

@media (max-width: 720px) {
  .navbar { flex-wrap: nowrap; }
  .navbar .brand { flex: 1 1 auto; min-width: 0; }
  .navbar .brand img { height: 34px; }
  .nav-drawer { display: block; flex: 0 0 auto; position: static; }
  .nav-toggle { display: grid; }
  .nav-drawer:not(.is-open) > .nav-panel { display: none; }
  .nav-drawer.is-open > .nav-panel {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    gap: 2px;
    padding: 6px 0 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    z-index: 30;
    max-height: calc(100dvh - 72px);
    overflow: auto;
  }
  .nav-drawer.is-open .menu summary {
    pointer-events: none;
    color: var(--lime);
    padding: 10px 4px 2px;
  }
  .nav-drawer.is-open .menu summary::after { display: none; }
  .nav-drawer.is-open .menu > nav {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0;
    padding: 0 0 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .nav-drawer.is-open .nav-search {
    flex: none;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }
}

@media (hover: hover) {
  .banner-search button:hover { color: var(--lime); }
}

.login-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 15px;
}

.nav-actions a[href$="upload.html"] {
  background: var(--paper);
}

.item .hit {
  width: min(100%, 128px);
}

.acts {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.act {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #3a3c36;
  background: #141413;
  color: var(--text);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
}

.act svg { width: 16px; height: 16px; display: block; }

.like .outline,
.like .filled { grid-area: 1 / 1; }

.act.is-done { color: var(--lime); border-color: var(--lime); }


.item .act.like,
.page-acts .act.like {
  position: static;
  width: 34px;
  height: 34px;
  transform: none;
  border-radius: 50%;
  background: #141413;
  color: var(--text);
}

.act.like[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.page-acts {
  justify-content: flex-start;
  margin: 16px 0 4px;
}

.auth-layout {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
}

.auth-photo {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.sheet {
  max-width: 520px;
  margin-top: 28px;
}

.auth-layout .sheet {
  margin-top: 0;
  max-width: none;
}

@media (min-width: 900px) {
  .auth-layout {
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
    gap: 48px;
    align-items: center;
  }

  .auth-layout .sheet { order: -1; }
}

.sheet h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 500;
  letter-spacing: 0;
}

.sheet p { color: #b7bbb4; }

.sheet form,
.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sheet label { font-weight: 500; }

.sheet input[type="text"],
.sheet input[type="password"],
.sheet input[type="file"] {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

.sheet button[type="submit"],
.sheet .go {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  font: 500 16px "Fredoka", "Trebuchet MS", sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.swatch-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch-pick label { position: relative; cursor: pointer; }

.swatch-pick input { position: absolute; opacity: 0; }

.swatch-pick span {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.swatch-pick input:checked + span,
.swatch-pick input:focus-visible + span {
  border-color: var(--text);
}

.form-error { color: #ff7769; min-height: 1.2em; }

.text-btn {
  border: 0;
  background: transparent;
  color: var(--lime);
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mine-list { display: grid; gap: 14px; margin-top: 22px; }

@media (max-width: 720px) {
  .nav-search { flex: 1 1 100%; }
}

@media (hover: hover) {
  .login-btn:hover,
  .sheet button[type="submit"]:hover,
  .sheet .go:hover { filter: brightness(1.06); }
  .act:hover { border-color: var(--lime); color: var(--lime); }
  .act.like[aria-pressed="true"]:hover { color: var(--ink); }
}

body[data-page="category"] .banner {
  padding-top: 64px;
  padding-bottom: 0;
}

body[data-page="category"] .section-head {
  margin-bottom: 6px;
}

body[data-page="category"] .banner h1 {
  font-size: clamp(28px, 4vw, 36px);
}

body[data-page="category"] .banner p {
  margin-top: 8px;
  font-size: 15px;
}

body[data-page="category"] .banner-search {
  margin-top: 10px;
}

body[data-page="category"] .block {
  margin-top: 8px;
}

body[data-page="category"] .item {
  row-gap: 4px;
}

body[data-page="category"] .item .nm {
  font-size: 14px;
  line-height: 1.2;
}
