/*
  Один лист сайта.
  Сложен из style.css, physical.css, pass-4.css, feel.css и screen.css.
  Каскад тот же: оставлено только то объявление, которое и так побеждало.
  Карусель и админка живут в своих файлах.
*/

:root {
  --paper: #e7e2d8;
  --paper-2: #efeae1;
  --paper-3: #f4efe6;
  --surface: #f3ead9;
  --surface-muted: #efe4d0;
  --ink: #1b1c1a;
  --ink-2: #3a3d38;
  --muted-2: #868c85;
  --line: #1b1c1a;
  --line-strong: #1b1c1a;
  --line-soft: #cbbfae;
  --rust: #b85c38;
  --rust-dark: #8f4529;
  --moss: #5d6a5c;
  --moss-dark: #4a5649;
  --ochre: #c4893a;
  --bone: #f6f0e4;
  --table: #c4b9a4;
  --table-2: #b3a790;
  --shadow-hard: #1b1c1a;
  --steel: #5e6768;
  --steel-dark: #3f4748;
  --danger: #a24a43;
  --shadow: rgba(28, 26, 22, .08);
  --shadow-strong: rgba(28, 26, 22, .14);
  --radius: 6px;
  --radius-sm: 6px;
  --radius-card: 6px;
  --radius-token: 999px;
  --content: 780px;
  --tap: 48px;
  --pad: 24px;
  --tile: 124px;
  --tile-gap: 14px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --cosmos: #1c1d1b;
  --cosmos-2: #2a2c28;
  --cosmos-line: #3e413c;
  --star: #ece7dc;
  --font-display: "Unbounded", "Manrope", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "Manrope", sans-serif;
  --font-hand: "Neucha", "Manrope", cursive;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  margin: 0;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  font-family: var(--font-body);
  line-height: 1.55;
}

a {
  color: var(--rust-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rust);
}

header,
.site-header {
  position: relative;
}

header::after {
  content: none;
}

header > div,
.header-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left !important;
}

.brand,
header h1,
header .brand {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--star);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .03em;
  text-transform: lowercase;
  text-decoration: none;
}

.header-brand {
  display: grid;
  gap: 8px;
}

.header-hello {
  margin: 0;
}

.header-pass {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 14px;
}

.main-menu {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 calc(var(--pad) * -1) 0 !important;
  padding: 6px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: none;
}

.main-menu::-webkit-scrollbar {
  display: none;
}

.main-menu::before {
  display: none;
}

.main-menu::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--pad);
  background: var(--rust);
  pointer-events: none;
}

.main-menu .btn {
  flex: 0 0 auto;
  border-bottom: 2px solid transparent;
  clip-path: none;
  text-transform: uppercase;
}

.main-menu .btn:hover {
  border-bottom-color: var(--line-strong);
  transform: none;
  box-shadow: none;
}

.main-menu .btn:active {
  transform: none;
  box-shadow: none;
}

.main-menu .btn-primary,
.main-menu .btn.btn-primary {
  border-bottom-color: var(--rust);
}

.main-menu .btn-primary:hover {
  color: var(--ink);
  background: transparent;
  border-bottom-color: var(--rust);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 500;
}

.page-content {
  padding: 8px 0 12px;
}

.page-content > h1,
.page-content h1 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 8px 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  letter-spacing: .01em;
}

h2 {
  margin: 32px 0 18px;
  padding: 0;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: none;
  border-left: 0;
}

h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
}

p {
  color: var(--ink-2);
}

strong {
  color: var(--ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.btn {
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  clip-path: none;
  touch-action: manipulation;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.btn:hover {
  border-color: var(--ink);
}

.btn-primary:hover {
  border-color: var(--rust-dark);
}

.btn-secondary {
  background: var(--surface-muted);
  border-color: var(--line-strong);
}

.btn-danger {
  color: #fffaf2;
  background: var(--danger);
  border-color: #7c3933;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 8px 18px rgba(162, 74, 67, .32);
}

.btn-danger:hover {
  color: #fffaf2;
  background: #ad5a51;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 14px 28px rgba(28, 26, 22, .16);
  }

  .btn-primary:hover {
    box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 16px 32px rgba(143, 69, 41, .4);
  }

  .btn-danger:hover {
    box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 32px rgba(162, 74, 67, .4);
  }
}

.eval-session-nav {
  flex-wrap: wrap;
}

nav .btn {
  min-height: 44px;
  padding: 9px 15px;
  font-size: .84rem;
  white-space: nowrap;
}

.button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button-row.center {
  justify-content: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin-top: 14px;
  color: var(--muted);
  font-size: .9rem;
}

.main-content {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.main-content {
  box-shadow: none;
}

.main-content-inner {
  padding: 20px 0 28px;
}

.event-feed-list {
  display: grid;
  gap: 16px;
}

.event-feed-item {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.event-feed-item:hover {
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 10px 28px var(--shadow);
  transform: translateY(-1px);
}

.event-feed-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.25;
}

.event-feed-type {
  width: max-content;
  margin: 0;
  border-radius: 999px;
  font-weight: 700;
}

.event-feed-description {
  margin: 0;
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.4;
}

.event-feed-empty {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
}

.cassette-grid,
.article-grid,
.tiles-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 28px;
}

.exhibit,
.cassette-card,
.article-card,
.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.exhibit:hover,
.cassette-card:hover,
.article-card:hover,
.tile:hover {
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 14px 32px var(--shadow);
  transform: translateY(-2px);
}

.cassette-cover,
.article-cover {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cosmos);
  border-bottom: 1px solid var(--line);
}

.cassette-cover img,
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}

.cassette-info,
.article-info {
  padding: 16px 16px 18px;
  display: grid;
  gap: 6px;
}

.exhibit-kicker,
.article-category-tag,
.category-tile-kicker {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cassette-title,
.article-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.cassette-artist,
.cassette-rating,
.article-preview,
.article-meta,
.category-tile-desc,
.category-tile-meta {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}

.cassette-grid {
  margin-top: 18px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
}

label {
  display: block;
  margin: 16px 0 6px;
  color: var(--ink-2);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input:not([type]),
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="file"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: var(--tap);
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

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

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--rust);
}

.error {
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid #d3a7a1;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--danger) 14%, var(--surface));
  color: #7c3129;
  font-weight: 650;
}

.cassette-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.no-cover,
.article-cover .no-cover {
  padding: 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.cassette-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 500;
}

.cassette-artist {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: .9rem;
}

.cassette-date,
.cassette-rating {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
}

.cassette-rating {
  color: var(--moss-dark);
  font-weight: 700;
}

.cassette-detail-cover,
.article-detail-cover {
  width: min(100%, 460px);
  margin: 18px auto 22px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cosmos);
  box-shadow: 0 16px 40px var(--shadow);
}

.cassette-detail-cover img,
.article-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cover-thumb {
  width: 88px;
  height: 88px;
  padding: 0;
  margin: 0;
  min-height: 0;
  line-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cosmos);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.cover-thumb.is-current {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cassette-detail-cover,
.cover-thumb,
.article-detail-cover {
  position: relative;
}

.cover-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 140px));
  gap: 12px;
  margin: 8px 0 6px;
}

.cover-slot {
  width: 140px;
  height: 140px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-3);
  overflow: hidden;
}

.cover-slot.is-wide {
  width: 260px;
  height: 98px;
}

.cover-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-slot .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 8px;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.cover-slot-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cover-slot-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 6px 8px;
  font-size: .7rem;
  line-height: 1.2;
  text-align: center;
  color: #f4efe8;
  background: rgba(20, 18, 16, .78);
  pointer-events: none;
}

.cover-slot.is-busy {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}

.cover-slot.is-ready {
  outline: 2px solid #5a7a4a;
  outline-offset: 2px;
}

.cover-slot.is-error {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.cover-slot.is-error .cover-slot-status {
  background: rgba(140, 48, 28, .88);
}

.cassette-form.covers-busy .btn-primary {
  opacity: .55;
  pointer-events: none;
}

.cover-slot-del {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  min-height: 32px;
  padding: 0 10px;
  font-size: .7rem;
}

.cover-hint {
  color: var(--muted);
  font-size: .8rem;
}

.tracklist {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.tracklist li {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.track-title {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tr:hover td {
  background: var(--paper-3);
}

.song-pick {
  position: relative;
}

.song-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 220px;
  overflow: auto;
}

.song-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  min-height: var(--tap);
  border: 0;
  background: #fff;
  font-size: .9rem;
}

.song-suggest-item:hover {
  background: var(--paper-3);
}

.track-block {
  margin: 16px 0;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dynamic-fields {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--paper-3);
}

.dynamic-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dynamic-field-row input {
  flex: 1;
}

.remove-field-btn,
.remove-track-btn,
.add-field-btn {
  min-height: var(--tap);
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.remove-field-btn,
.remove-track-btn {
  padding: 8px 12px;
  border: 1px solid #873f39;
  background: color-mix(in srgb, var(--danger) 14%, var(--surface));
  color: var(--danger);
}

.add-field-btn {
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--moss);
  background: #edf2ea;
  color: var(--moss-dark);
}

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

.admin-list-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.item-meta {
  color: var(--muted);
  font-size: .78rem;
}

.status-yes {
  color: var(--moss-dark);
  font-weight: 700;
}

.status-no {
  color: var(--danger);
  font-weight: 700;
}

.card-area {
  max-width: 720px;
  margin: 12px auto;
  text-align: center;
}

.card-area p {
  margin-top: 18px;
}

.card-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  display: inline-block;
  animation: fadeIn .45s ease;
}

.card-stack .mini-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px var(--shadow-strong);
  transition: transform .25s ease;
}

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

.card-stack .mini-card:nth-child(1) {
  transform: rotate(-3deg) translateY(7px);
}

.card-stack .mini-card:nth-child(2) {
  transform: rotate(-1.5deg) translateY(3px);
}

.card-stack .mini-card:nth-child(3) {
  transform: rotate(0);
}

.card-stack .mini-card:nth-child(4) {
  transform: rotate(1.5deg) translateY(3px);
}

.card-stack .mini-card:nth-child(5) {
  transform: rotate(3deg) translateY(7px);
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px var(--shadow-strong);
  animation: flipIn .55s ease;
}

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

.card-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 7px rgba(0,0,0,.8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flipIn {
  from {
    opacity: 0;
    transform: perspective(900px) rotateY(90deg);
  }

  to {
    opacity: 1;
    transform: perspective(900px) rotateY(0);
  }
}

@keyframes dropOut {
  to {
    transform: translateY(120%) rotate(8deg);
    opacity: 0;
  }
}

.card-image.drop-out {
  animation: dropOut .45s ease forwards;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.category-pills-sub {
  margin-top: -6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.category-pill:hover {
  color: var(--ink);
  background: var(--paper-3);
}

.category-pill.active {
  background: var(--cosmos);
  border-color: var(--cosmos);
  color: #fff;
}

.category-pill-sub {
  min-height: 40px;
  padding: 6px 14px;
  font-size: .8rem;
}

.article-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-category-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--rust-dark);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-title {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.article-preview {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: .88rem;
  line-height: 1.45;
}

.article-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: .76rem;
}

.article-head {
  text-align: center;
  margin: 0 0 28px;
}

.article-head h1 {
  border: 0;
  margin: 8px 0 10px;
  padding: 0;
}

.article-body {
  max-width: 40rem;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-body p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

.article-body h2,
.article-body h3 {
  margin: 28px 0 12px;
  padding: 0;
  background: none;
  border: 0;
  text-transform: none;
  letter-spacing: .02em;
}

.article-body strong {
  color: var(--ink);
}

.article-body a {
  color: var(--rust-dark);
}

.article-body .bb-underline {
  text-decoration: underline;
}

.article-body .bb-strike {
  text-decoration: line-through;
}

.article-body .bb-quote,
.article-body blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--moss);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-muted);
  color: var(--ink-2);
  font-style: italic;
}

.article-body .bb-list,
.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--ink-2);
}

.article-body .bb-list li {
  margin: 5px 0;
}

.rich-editor {
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rich-editor .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
  font-family: var(--font-body);
}

.rich-editor .ql-container.ql-snow {
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}

.rich-editor .ql-editor {
  min-height: 280px;
}

.rich-editor-preview .ql-editor {
  min-height: 110px;
}

.rich-editor .ql-editor.ql-blank::before {
  color: var(--muted-2);
  font-style: normal;
}

.rich-editor .ql-stroke {
  stroke: var(--ink-2);
}

.rich-editor .ql-fill {
  fill: var(--ink-2);
}

.rich-editor .ql-picker {
  color: var(--ink-2);
}

.rich-editor .ql-snow.ql-toolbar button:hover .ql-stroke,
.rich-editor .ql-snow .ql-toolbar button:hover .ql-stroke {
  stroke: var(--rust);
}

.rich-editor .ql-snow.ql-toolbar button.ql-active .ql-stroke,
.rich-editor .ql-snow .ql-toolbar button.ql-active .ql-stroke {
  stroke: var(--rust);
}

.article-preview p {
  margin: 0 0 .4em;
}

.article-preview p:last-child {
  margin: 0;
}

.category-tree {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.category-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.subcategory-list {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--paper-3);
  display: grid;
  gap: 10px;
}

.subcategory-row {
  background: var(--surface-muted);
}

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

.tile {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  text-align: left;
  text-decoration: none;
}

.tile-large {
  min-height: 132px;
  font-size: 1.08rem;
}

.page-lead {
  max-width: 42rem;
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.5;
}

.category-tile {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.category-tile:hover {
  border-color: var(--rust);
}

.category-tile-kicker,
.category-tile-meta {
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--steel);
  font-weight: 600;
}

.category-tile-desc {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.eval-form {
  margin: 18px 0 28px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
}

.eval-form-inline {
  border-top: 0;
  padding-top: 0;
}

.eval-traits {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
}

.eval-trait,
.eval-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.eval-row {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}

.eval-trait-name {
  width: 100%;
  margin: 0 0 2px;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.eval-opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-3);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  box-shadow: 0 4px 10px rgba(28, 26, 22, .06);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.eval-opt span {
  pointer-events: none;
}

.eval-opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.eval-opt:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.eval-opt:has(input:focus-visible) {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.eval-opt-plus:has(input:checked),
.eval-opt-plus.is-on {
  background: #355c46;
  border-color: #2b4b39;
  color: #f6f1e6;
  box-shadow: 0 8px 18px rgba(53, 92, 70, .28);
}

.eval-opt-rest:has(input:checked),
.eval-opt-rest.is-on {
  background: #2a2c28;
  border-color: #1c1d1b;
  color: #f6f1e6;
  box-shadow: 0 8px 18px rgba(28, 26, 22, .22);
}

.eval-opt-minus:has(input:checked),
.eval-opt-minus.is-on {
  background: var(--rust);
  border-color: var(--rust-dark);
  color: #fffaf4;
  box-shadow: 0 8px 18px rgba(143, 69, 41, .3);
}

.eval-board {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.eval-board-row {
  display: grid;
  grid-template-columns: 9rem minmax(72px, 1fr) 2.4rem 2.4rem 2.4rem 3.6rem 4.4rem;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.eval-board-row:last-child {
  border-bottom: 0;
}

.eval-board-name {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.eval-split {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper-3);
}

.eval-split i {
  display: block;
  min-width: 0;
}

.eval-split .is-cons {
  background: #355c46;
}

.eval-split .is-rest {
  background: #c9c0af;
}

.eval-split .is-diss {
  background: var(--rust);
}

.eval-split-empty {
  flex: 1;
}

.eval-board-nums {
  display: contents;
}

.eval-board-nums span {
  font-variant-numeric: tabular-nums;
  font-size: .86rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.eval-board-nums em {
  font-style: normal;
  margin-right: 2px;
  opacity: .7;
}

.eval-board-nums .is-cons {
  color: #355c46;
}

.eval-board-nums .is-rest {
  color: var(--muted);
}

.eval-board-nums .is-diss {
  color: var(--rust-dark);
}

.eval-board-meta {
  display: contents;
}

.eval-board-meta span {
  text-align: right;
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.eval-board-meta small {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eval-board-row.is-na {
  opacity: .7;
}

.eval-board-na {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: .86rem;
}

.eval-title-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.eval-title-edit input[type="text"],
.eval-title-edit input[type="number"] {
  min-height: var(--tap);
  width: auto;
  max-width: 220px;
}

.song-hero {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 16px 20px;
  align-items: stretch;
  margin: 4px 0 26px;
}

.song-hero .cassette-detail-cover,
.song-hero-cover {
  width: 100%;
  margin: 0;
  max-width: none;
}

.song-hero-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 2px 0 0;
  text-align: center;
}

.song-meta-row {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.song-meta-row:last-of-type {
  margin-bottom: 8px;
}

.song-meta-label {
  margin: 0 0 2px;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-content h1.song-meta-title,
.song-meta-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.song-meta-value {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.song-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 34px;
  border: 0;
}

.song-stat {
  padding: 12px 8px 14px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.song-stat-label {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.song-stat-value {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.song-lyrics {
  margin: 4px 0 28px;
  text-align: center;
}

.song-lyrics-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.song-lyrics-body {
  font-family: "Neucha", "Caveat", cursive;
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.song-stanza {
  margin: 0 0 20px;
}

.song-stanza p {
  margin: 0;
  min-height: 1.15em;
}

.song-stanza-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.song-lyrics-empty {
  color: var(--muted);
  font-size: .86rem;
  font-style: normal;
  font-family: var(--font-body);
}

@media (max-width: 599px) {
  .song-hero {
    grid-template-columns: 1fr;
  }

  .song-hero-cover {
    max-width: 360px;
    margin: 0 auto;
  }

  .song-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eval-board-row {
    grid-template-columns: 1fr 1fr 1fr 4.4rem 5rem;
  }

  .eval-board-name,
  .eval-split {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  html {
    font-size: 16px;
  }

  body {
    padding: 0;
  }

  .container {
    border-radius: 0;
  }

  header,
  .site-header {
    padding: 18px 16px 14px;
    padding-top: max(18px, env(safe-area-inset-top));
    border-radius: 0;
  }

  header > div,
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .header-pass {
    justify-content: flex-start;
  }

  .main-menu {
    padding: 6px 16px;
    top: 0;
  }

  .tiles-container {
    grid-template-columns: 1fr;
  }

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

  .event-feed-item {
    min-height: 0;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .btn {
    flex: 1 1 auto;
  }

  .cover-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cover-slot {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .eval-opts {
    grid-template-columns: 1fr;
  }

  footer,
  .site-footer {
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 470px) {
  .cassette-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .dynamic-field-row {
    align-items: stretch;
  }

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

@media (hover: hover) and (pointer: fine) {
  .eval-opt:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(28, 26, 22, .12);
  }

  .eval-opt-plus:has(input:checked):hover,
  .eval-opt-plus.is-on:hover {
    box-shadow: 0 12px 24px rgba(53, 92, 70, .34);
  }

  .eval-opt-minus:has(input:checked):hover,
  .eval-opt-minus.is-on:hover {
    box-shadow: 0 12px 24px rgba(143, 69, 41, .36);
  }

  .add-field-btn:hover,
  .remove-field-btn:hover,
  .remove-track-btn:hover,
  .category-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(28, 26, 22, .12);
  }
}

.person-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(28, 26, 22, .06);
}

.person-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.person-link-row input {
  min-width: 0;
}

.people-grid {
  margin: 0 0 28px;
}

.person-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(28, 26, 22, .06);
  transition: transform .16s ease, box-shadow .16s ease;
}

.person-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(28, 26, 22, .12);
}

.person-card-cover {
  aspect-ratio: 1;
  margin: 0 0 10px;
  overflow: hidden;
  background: var(--paper-3);
}

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

.person-card-cover .no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--muted);
}

.person-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.person-card-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rating-stage {
  margin: 0 0 22px;
  padding: 18px 18px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 26, 22, .06);
}

.rating-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.rating-stage-track {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.rating-stage-meta {
  color: var(--muted);
  font-size: .82rem;
  text-align: right;
}

@media (max-width: 599px) {
  .rating-stage-head {
    flex-direction: column;
  }

  .rating-stage-meta {
    text-align: left;
  }
}

.shelf-head {
  justify-content: space-between;
}

.shelf-head h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.shelf-head a {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}

.shelf-head a:hover {
  color: var(--rust);
}

.cassette-card,
.person-card {
  border: 2px solid #2f312c;
  border-radius: 10px;
  box-shadow: 6px 7px 0 rgba(28, 26, 22, .08);
  background: #fffdf8;
}

.cassette-card:hover,
.person-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 9px 11px 0 rgba(28, 26, 22, .12);
}

.tracklist {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
}

.song-lyrics {
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(28, 26, 22, .07);
}

body.is-char .container {
  overflow: hidden;
}

body.is-char .main-menu {
  margin-bottom: 0 !important;
}

body.is-char .page-content {
  margin: 0 calc(var(--pad) * -1);
  padding: 0 0 8px;
}

body.is-char .page-content .back-link {
  margin: 8px var(--pad) 16px;
}

body.is-char .char-sheet .btn {
  margin: 0 var(--pad) 18px;
}

.char-sheet {
  max-width: none;
  margin: 0;
  padding: 24px 28px 28px;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.char-quote {
  display: grid;
  place-items: center;
  margin: 0 auto 4px;
  text-align: center;
  font-family: "Neucha", "Unbounded", cursive;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  line-height: 1.2;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.char-quote-shape {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.char-quote span,
.char-quote-text {
  grid-area: 1 / 1;
  z-index: 1;
  display: block;
  max-width: 34ch;
  padding: 28px 64px 44px;
}

.char-hero {
  margin: 0;
}

.char-cover-main {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 268px;
  height: 268px;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border: 6px solid #111;
  border-radius: 50%;
  background: #f3eee4;
}

.char-cover-main img,
.char-cover-mini img,
.char-chip-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.char-cover-main .no-cover,
.char-chip-art span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: 2rem;
  color: #111;
}

.char-cover-mini {
  position: absolute;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 3px solid #111;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  z-index: 2;
}

.char-cover-mini.is-empty {
  cursor: default;
}

.char-cover-mini.is-current {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #111;
}

.char-cover-mini:hover:not(.is-empty) {
  transform: scale(1.05);
}

.char-score-wrap {
  display: flex;
  justify-content: center;
  margin: -6px 0 26px;
}

.char-scoreline {
  display: inline-flex;
  align-items: flex-start;
  gap: 14px 18px;
  transform: rotate(-6deg);
}

.char-scoreline > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.char-scoreline strong {
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #111;
  white-space: nowrap;
}

.char-scoreline small {
  margin-top: 4px;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.char-heart-form {
  margin: 0;
  display: flex;
}

.char-heart {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -8px 0 -8px -4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 4.1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.char-heart.is-on,
.char-heart:hover {
  color: var(--rust);
  text-decoration: none;
}

.char-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 8px 36px;
  align-items: start;
  margin: 0 2px 8px;
}

.char-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.char-field {
  margin: 0;
  padding: 8px 0 7px;
  border-bottom: 1px solid #111;
}

.char-field:first-child {
  padding-top: 0;
}

.char-field span,
.char-col-bio > span {
  display: block;
  margin-bottom: 4px;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #111;
}

.char-field strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.char-col-bio {
  padding: 0;
  border: 0;
  background: transparent;
}

.char-bio {
  font-size: .98rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.char-habitat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 10px 2px 18px;
  padding: 10px 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  font-size: .95rem;
}

.char-habitat > span:first-child {
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #111;
}

.char-habitat a {
  display: inline;
  color: #111;
  white-space: nowrap;
}

.char-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 18px 0 28px;
  min-height: 0;
  overflow: visible;
}

.char-line-label {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .92rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.char-line-label::after {
  content: none;
}

.char-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--tile, 124px);
  justify-content: center;
  align-items: start;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 2px;
  scrollbar-width: none;
  min-width: 0;
}

.char-chip {
  flex: 0 0 auto;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
}

.char-chip-art {
  width: 96px;
  height: 96px;
  overflow: hidden;
  background: #f3eee4;
}

.char-chip.is-tape .char-chip-art {
  border: 4px solid #111;
  border-radius: 10px;
}

.char-chip-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Neucha", var(--font-body), cursive;
  font-size: .82rem;
  line-height: 1.2;
  text-align: center;
}

.char-chip.is-tape:hover .char-chip-art,
.char-chip.is-ally:hover .char-chip-art {
  transform: translateY(-2px);
}

.char-empty {
  margin: 0;
  align-self: center;
  text-align: left;
  color: var(--ink);
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.char-deep {
  margin: 8px 2px 4px;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.char-deep summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.char-stat-block {
  padding: 10px 0 16px;
}

.char-stat-block h3 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
}

body.is-char .song-stats,
body.is-song .song-stats,
body.is-char .eval-board,
body.is-song .eval-board {
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

body.is-char .song-stats,
body.is-song .song-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.is-char .song-stats.is-2,
body.is-song .song-stats.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.is-char .song-stats.is-5,
body.is-song .song-stats.is-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.is-char .song-stat,
body.is-song .song-stat {
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  padding: 12px 6px 14px;
}

body.is-char .song-stat-value,
body.is-song .song-stat-value {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 700;
}

body.is-char .song-stat.is-lead,
body.is-song .song-stat.is-lead {
  border-width: 2px;
}

body.is-char .song-stat.is-lead .song-stat-value,
body.is-song .song-stat.is-lead .song-stat-value {
  font-size: 1.28rem;
}

body.is-char .song-stats.is-2 .song-stat-value {
  font-size: 1.05rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.is-char .song-stat-value a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.is-char .song-stat-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.char-power {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 16px 18px 14px;
  border: 2px solid #111;
  background: #fff;
}

.char-power span {
  flex: 1 1 auto;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.char-power strong {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.char-power em {
  font-style: normal;
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}

.char-fold {
  margin: 2px 0;
  border-top: 1px solid #111;
}

.char-fold summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .92rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.char-books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 28px;
  padding: 4px 0 16px;
}

.char-books section h3 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  text-align: left;
}

.char-ledger.is-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.char-ledger.is-stack div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #111;
}

.char-ledger dt {
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.char-ledger dd {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.is-char .eval-board-row {
  border-bottom: 1px solid #111;
}

.char-titles {
  margin: 10px 0 0;
  font-family: "Neucha", var(--font-display), cursive;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 599px) {
  body.is-char .song-stats.is-5,
  body.is-song .song-stats.is-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .char-powers,
  .char-books {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .char-sheet {
    padding: 6px 16px 22px;
  }

  .char-cover-main {
    width: 220px;
    height: 220px;
  }

  .char-cover-mini {
    width: 62px;
    height: 62px;
  }

  .char-line {
    min-height: 0;
  }

  .char-chip {
    width: 92px;
  }

  .char-chip-art {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 599px) {
  .char-dossier {
    grid-template-columns: 1fr;
  }

  .char-quote span {
    padding: 24px 28px 40px;
  }
}

body.is-song .container {
  overflow: hidden;
}

body.is-song .main-menu {
  margin-bottom: 0 !important;
}

body.is-song .page-content {
  margin: 0 calc(var(--pad) * -1);
  padding: 0 0 8px;
}

body.is-song .page-content .back-link {
  margin: 8px var(--pad) 16px;
}

.song-sheet {
  padding: 8px 16px 28px;
  background: #fff;
}

body.is-song .song-hero {
  align-items: start;
  margin: 0 0 10px;
}

body.is-song .song-hero-cover {
  border: 4px solid #111;
  border-radius: 0;
  box-shadow: none;
  background: #f3eee4;
  aspect-ratio: 1;
}

body.is-song .song-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.is-song .song-hero-cover .no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: 4.2rem;
}

body.is-song .song-hero-meta {
  text-align: left;
  padding-top: 0;
}

.song-kicker {
  margin: 0 0 4px;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.is-song .song-meta-title {
  margin: 0 0 14px;
  text-align: left;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

body.is-song .song-meta-row {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #111;
}

body.is-song .song-meta-label {
  color: #111;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .14em;
}

body.is-song .song-meta-value {
  font-weight: 600;
}

body.is-song .song-meta-value a {
  color: #111;
}

.song-cas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 6px;
}

.song-cas-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
}

.song-cas-chip:hover {
  color: #111;
}

.song-cas-chip.is-text {
  display: inline;
  gap: 0;
  border-bottom: 1px solid currentColor;
}

.song-scoreline {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 14px 0 2px;
  padding-top: 12px;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.song-scoreline span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.song-scoreline strong {
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.song-scoreline small {
  font-family: "Neucha", var(--font-display), cursive;
  line-height: 1.2;
}

.eval-ticket {
  width: min(100%, 420px);
  margin: 4px auto 8px;
  padding: 16px 18px 18px;
  text-align: center;
}

.eval-ticket-kicker {
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eval-ticket-score {
  display: block;
  margin: 6px 0 12px;
  font-size: 1.8rem;
  line-height: 1.1;
}

.eval-ticket-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  text-align: left;
}

.eval-ticket-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid #111;
}

.eval-ticket-list dt {
  margin: 0;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eval-ticket-list dd {
  margin: 0;
  font-weight: 600;
}

.eval-ticket.is-slim .eval-ticket-score {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.song-vote-hint {
  margin: 8px 0 12px;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

body.is-song .eval-form {
  margin: 0;
  padding: 4px 0 10px;
  border: 0;
}

body.is-song .eval-trait,
body.is-song .eval-row {
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
}

body.is-song .eval-trait-name,
body.is-song .eval-trait-hint {
  color: #111;
  font-family: "Neucha", var(--font-display), cursive;
  letter-spacing: .1em;
}

body.is-song .eval-trait-hint {
  opacity: .7;
  font-size: .78rem;
  text-transform: none;
  letter-spacing: .02em;
  font-family: var(--font-body);
}

body.is-song .eval-opt {
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-family: "Neucha", var(--font-display), cursive;
  letter-spacing: .08em;
}

body.is-song .eval-opt:hover {
  background: #f4efe6;
  color: #111;
}

body.is-song .eval-live {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
}

body.is-song .eval-live div {
  padding: 10px 8px;
  border: 1px solid #111;
  text-align: center;
}

body.is-song .eval-live span {
  display: block;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.is-song .eval-live strong {
  display: block;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem;
}

body.is-song .eval-submit {
  border-radius: 0;
  border: 2px solid #111;
}

body.is-song .song-lyrics {
  margin: 8px 0 8px;
  border: 0;
  box-shadow: none;
  text-align: center;
}

body.is-song .song-lyrics-title {
  margin: 0 0 12px;
  padding-top: 14px;
  border-top: 1px solid #111;
  text-align: center;
  font-family: "Neucha", var(--font-display), cursive;
  letter-spacing: .14em;
}

body.is-song .song-lyrics-body {
  text-align: center;
}

body.is-song .song-lyrics-empty {
  color: #111;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

body.is-song .song-vote summary {
  justify-content: center;
}

@media (max-width: 599px) {
  .song-sheet {
    padding: 6px 16px 22px;
  }
}

body.is-cas .container {
  overflow: hidden;
}

body.is-cas .main-menu {
  margin-bottom: 0 !important;
}

body.is-cas .page-content {
  margin: 0 calc(var(--pad) * -1);
  padding: 0 0 8px;
}

body.is-cas .page-content .back-link {
  margin: 8px var(--pad) 16px;
}

.cas-sheet {
  padding: 8px 16px 28px;
  background: #fff;
}

.cas-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 16px;
  align-items: start;
  margin: 0 0 10px;
}

.cas-hero-meta {
  min-width: 0;
  text-align: left;
}

body.is-cas .song-meta-title {
  margin: 0 0 14px;
  text-align: left;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

body.is-cas .song-meta-row {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #111;
}

body.is-cas .song-meta-label {
  color: #111;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .14em;
}

body.is-cas .song-meta-value {
  font-weight: 600;
}

body.is-cas .song-meta-value a {
  color: #111;
}

.cas-hero-face {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.cas-hero-cover {
  flex: 0 0 auto;
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid #111;
  background: #f3eee4;
}

.cas-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cas-hero-cover .no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: 4.2rem;
}

.cas-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.cas-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  background: #f3eee4;
  cursor: pointer;
  opacity: .5;
}

.cas-thumb.is-current {
  opacity: 1;
}

.cas-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cas-tracks {
  margin: 8px 0 10px;
}

.cas-tracks h2 {
  margin: 0 0 12px;
  padding-top: 14px;
  border-top: 1px solid #111;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}

.cas-tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cas-tracklist li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) 4.8rem;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid #111;
}

.cas-tracklist li:first-child {
  border-top: 0;
}

.cas-num {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .04em;
}

.cas-name {
  min-width: 0;
  font-weight: 600;
}

.cas-name a {
  color: #111;
}

.cas-name em {
  display: inline-block;
  margin-left: 8px;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .68rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cas-tracklist li.is-best a {
  color: #111;
}

body.is-cas .song-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.is-cas .song-stats.is-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.is-cas .song-stats.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.is-cas .song-stat {
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  padding: 12px 6px 14px;
}

body.is-cas .song-stat-value {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

body.is-cas .song-stat.is-lead {
  border-width: 2px;
}

body.is-cas .eval-form {
  margin: 0;
  padding: 4px 0 10px;
  border: 0;
}

body.is-cas .eval-trait-name {
  color: #111;
  font-family: "Neucha", var(--font-display), cursive;
  letter-spacing: .1em;
}

body.is-cas .eval-opt {
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-family: "Neucha", var(--font-display), cursive;
}

body.is-cas .eval-submit {
  border-radius: 0;
  border: 2px solid #111;
}

body.is-cas .song-vote summary {
  justify-content: center;
}

@media (max-width: 599px) {
  .cas-hero {
    grid-template-columns: 1fr;
  }

  .cas-hero-face {
    order: -1;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .cas-hero-cover {
    width: min(100%, 420px);
  }

  .cas-thumbs {
    flex-direction: column;
  }
}

@media (max-width: 599px) {
  .cas-sheet {
    padding: 6px 16px 22px;
  }

  body.is-cas .song-stats.is-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-podium {
  margin: 8px 0 24px;
}

.home-podium > h2,
.home-shelf .shelf-head h2,
body.is-home .main-content-inner h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-champ {
  min-width: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  text-decoration: none;
}

.home-champ:hover {
  color: #111;
}

.home-champ-kicker {
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-champ-art {
  overflow: hidden;
  background: #f3eee4;
}

.home-champ-art img,
.home-row-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-champ-art span,
.home-row-art span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: "Neucha", var(--font-display), cursive;
  font-size: 1.6rem;
}

.home-champ-body {
  display: grid;
  gap: 2px;
}

.home-champ strong {
  font-size: .98rem;
  line-height: 1.2;
}

.home-champ em {
  color: var(--muted);
  font-style: normal;
  font-size: .82rem;
}

.home-champ b {
  font-variant-numeric: tabular-nums;
}

body.is-home .main-content,
body.is-home .main-content-inner {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

body.is-home .event-feed-item {
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: none;
}

body.is-home .event-feed-item:hover {
  transform: none;
  box-shadow: none;
  border-color: #111;
}

.home-rows {
  display: grid;
  gap: 8px;
}

.home-row {
  align-items: center;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  background: #fff;
}

.home-row:hover {
  color: #111;
}

.home-row-art {
  overflow: hidden;
}

.home-row-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.home-row-body strong {
  line-height: 1.2;
}

.home-row-body em {
  color: var(--muted);
  font-style: normal;
  font-size: .82rem;
}

.home-row-meta {
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--ink);
}

.home-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #111;
  color: var(--muted);
  text-align: center;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: "Neucha", var(--font-display), cursive;
}

body.is-home .cassette-grid.is-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

body.is-home .cassette-card {
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 599px) {
  .home-podium-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  body.is-home .cassette-grid.is-home {
    grid-template-columns: 1fr 1fr;
  }

  body.is-home .event-feed-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

.cassette-card,
.person-card,
.tile,
.exhibit,
.article-card {
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.cassette-card:hover,
.person-card:hover,
.tile:hover,
.exhibit:hover,
.article-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #111;
  color: #111;
}

.cassette-card:hover img,
.article-card:hover img,
.exhibit:hover img {
  transform: none;
}

.person-card-cover,
.cassette-cover {
  border-radius: 0;
}

.auth-form {
  width: min(100%, 420px);
}

body.is-auth h1 {
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
textarea {
  border-color: #111;
}

.site-footer p {
  line-height: 1.55;
}

body {
  background: transparent;
  color: var(--ink);
  padding: 16px 16px 40px;
}

.container {
  width: min(100%, var(--content));
  margin: 28px auto 48px;
  padding: 0 var(--pad) 36px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 4px 6px 0 var(--ink),
        0 18px 36px rgba(28, 26, 22, .12);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container > * {
  position: relative;
  z-index: 1;
}

header,
.site-header {
  margin: 0 calc(var(--pad) * -1);
  padding: 18px var(--pad) 14px;
  padding-top: max(18px, env(safe-area-inset-top));
  color: var(--ink);
  background: #e6dcc8;
  border-bottom: 2px solid var(--rust);
  overflow: visible;
}

.brand,
header .brand {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.brand:hover {
  color: var(--ink);
}

.header-hello {
  color: var(--ink-2);
  font-family: var(--font-hand);
  text-transform: lowercase;
}

.header-pass {
  color: var(--ink-2);
  font-family: var(--font-hand);
  letter-spacing: .08em;
  text-transform: none;
  font-size: .85rem;
}

.header-pass a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-pass a:hover {
  color: var(--rust-dark);
}

.header-pass .is-you {
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 600;
}

.main-menu {
  background: #efe4d0;
  border-bottom: 2px solid var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.main-menu .btn {
  min-height: 40px;
  border: 1.5px solid var(--ink);
  background: linear-gradient(180deg, #f7f1e6, #efe4d0);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 2px 3px 0 var(--ink);
  font-weight: 400;
  letter-spacing: .06em;
}

.main-menu .btn:hover {
  color: var(--ink);
  background: var(--bone);
  border-color: var(--ink);
}

.main-menu .btn-primary,
.main-menu .btn.btn-primary {
  color: var(--ink);
  background: var(--bone);
  border-color: var(--ink);
  border-bottom: 3px solid var(--ochre);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 2px 3px 0 var(--ink);
}

.btn {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #f7f1e6, #efe4d0);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 3px 4px 0 var(--ink);
  font-family: var(--font-display);
}

.btn:hover {
  background: var(--bone);
  color: var(--ink);
  transform: none;
}

.btn:active {
  transform: translate(1px, 2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 1px 2px 0 var(--ink);
}

.btn-primary {
  color: var(--bone);
  background: var(--rust);
  border-color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 3px 4px 0 var(--ink);
}

.btn-primary:hover {
  color: var(--bone);
  background: var(--rust-dark);
}

footer,
.site-footer {
  margin: 28px 0 0 !important;
  padding: 16px 0 4px;
  border-top: 2px solid var(--ink);
  color: var(--ink) !important;
  font-family: var(--font-hand);
  font-size: .95rem !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

h1,
h2,
.shelf-head h2,
body.is-home .main-content-inner h2,
.home-podium > h2 {
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-feed-item,
.home-champ,
.home-row,
.cassette-card,
.person-card,
.article-card,
.tile,
.exhibit {
  background: radial-gradient(1px 1px at 20% 24%, rgba(28,26,22,.08) 50%, transparent 51%),
        linear-gradient(180deg, #f7f1e6, #efe4d0);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset,
        3px 5px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .event-feed-item:hover,
  .home-champ:hover,
  .home-row:hover,
  .cassette-card:hover,
  .person-card:hover,
  .article-card:hover,
  .tile:hover,
  .exhibit:hover {
    color: var(--ink);
    transform: translate(-2px, -3px);
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset,
              5px 8px 0 var(--ink);
  }
}

.event-feed-item:active,
.home-champ:active,
.home-row:active,
.cassette-card:active,
.person-card:active {
  transform: translate(1px, 2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 1px 2px 0 var(--ink);
}

.cassette-grid .cassette-card:nth-child(odd),
.home-podium-grid .home-champ:nth-child(2) {
  --tilt: -0.4deg;
}

.cassette-grid .cassette-card:nth-child(even) {
  --tilt: .45deg;
}

.cassette-grid .cassette-card {
  transform: rotate(var(--tilt, 0deg));
}

@media (hover: hover) and (pointer: fine) {
  .cassette-grid .cassette-card:hover {
    transform: translate(-2px, -3px) rotate(var(--tilt, 0deg));
  }
}

.event-feed-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 92px;
  align-items: stretch;
  overflow: hidden;
}

.home-row-art span,
.home-champ-art span,
.person-card-cover .no-cover,
.cassette-cover .no-cover,
.char-cover-main .no-cover,
.char-chip-art span {
  background: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(28,26,22,.06) 8px),
        repeating-linear-gradient(90deg, transparent, transparent 7px, rgba(28,26,22,.05) 8px),
        var(--bone);
  color: var(--ink);
  font-family: var(--font-hand);
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.7rem;
}

.event-feed-type {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  background: var(--ochre);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  border: 1px solid var(--ink);
}

.event-feed-title {
  font-weight: 600;
}

.token,
.home-champ b,
.song-scoreline strong,
.char-scoreline strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: .15rem .4rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--bone);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  box-shadow: 1px 2px 0 var(--ink);
}

.home-champ.is-first b,
.home-champ:first-child b {
  border-color: var(--ochre);
  box-shadow: 1px 2px 0 var(--ochre);
}

.home-champ-art {
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.home-champ b {
  justify-self: start;
  font-size: .95rem;
}

.home-champ-kicker {
  font-family: var(--font-hand);
  font-size: .72rem;
}

.home-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
}

.home-row-art {
  width: 56px;
  height: 56px;
  border: 2px solid var(--ink);
  background: var(--bone);
}

.deck-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--ink);
  border-radius: var(--radius-card);
  font-family: var(--font-hand);
  text-transform: uppercase;
  background: transparent;
}

.cassette-card {
  overflow: hidden;
}

.cassette-cover {
  border-bottom: 1.5px solid var(--ink);
}

.cassette-info {
  padding: 10px 12px 12px;
}

.person-card {
  padding: 8px;
}

.is-stamp,
.song-lyrics-empty {
  display: inline-block;
  margin: 4px 0;
  padding: 4px 10px;
  border: 1.5px solid var(--rust);
  color: var(--rust-dark);
  font-family: var(--font-hand);
  font-size: .95rem;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  opacity: .88;
  background: transparent;
}

.char-empty,
.home-empty {
  color: var(--muted);
  font-family: var(--font-hand);
  letter-spacing: .08em;
  transform: none;
  border: 0;
  padding: 0;
}

.char-sheet,
.cas-sheet,
.song-sheet {
  background: transparent;
}

.char-quote {
  color: var(--ink);
}

.char-quote-shape path {
  fill: var(--bone);
  stroke: var(--ink);
  stroke-width: 10;
  paint-order: stroke fill;
}

.char-fold summary,
.char-deep > summary,
.song-vote summary {
  font-family: var(--font-hand);
  letter-spacing: .1em;
  text-transform: uppercase;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: #efe4d0;
}

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

.song-scoreline,
.char-scoreline {
  gap: 10px 14px;
}

.cas-hero-cover,
body.is-song .song-hero-cover {
  border: 3px solid var(--ink);
  box-shadow: 4px 6px 0 var(--ink);
}

.cas-thumb {
  border: 2px solid var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
}

.cas-tracklist {
  border: 1.5px solid var(--ink);
  box-shadow: 3px 5px 0 var(--ink);
}

.char-heart,
button.char-heart,
a.char-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--rust);
  background: var(--bone);
  color: var(--rust);
  font-size: 1.2rem;
  transform: none;
  box-shadow: 2px 3px 0 var(--ink);
}

.char-heart.is-on {
  background: var(--ochre);
  color: var(--ink);
}

.eval-ticket {
  background: linear-gradient(180deg, #f7f1e6, #efe4d0);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 5px 0 var(--ink);
}

.auth-form {
  background: linear-gradient(180deg, #f7f1e6, #efe4d0);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 5px 0 var(--ink);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
textarea {
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--bone);
}

a:focus-visible,
.btn:focus-visible,
.home-row:focus-visible,
.event-feed-item:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

@media (max-width: 599px) {
  html,
  body {
    background: var(--surface);
    padding: 0;
  }

  .container {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
    padding: 0 16px calc(28px + env(safe-area-inset-bottom));
  }

  .container::before {
    display: none;
  }

  header,
  .site-header {
    margin: 0 -16px;
    box-shadow: none;
  }

  .main-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: -16px !important;
    margin-right: -16px !important;
  }

  .home-podium-grid {
    grid-template-columns: 1fr;
  }

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

  .cassette-grid .cassette-card {
    transform: none;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .event-feed-item:hover,
  .home-champ:hover,
  .home-row:hover,
  .cassette-card:hover,
  .person-card:hover,
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

body.is-home .event-feed-type,
.event-feed-type {
  background: var(--ochre);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-hand);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  width: max-content;
}

.home-row.is-placeholder,
.person-card.is-placeholder,
.home-champ.is-empty {
  align-items: center;
}

.home-row.is-placeholder .home-row-art,
.person-card.is-placeholder .person-card-cover,
.home-champ.is-empty .home-champ-art,
.char-chip-art:not(:has(img)) {
  width: 160px;
  height: 160px;
  max-width: 160px;
  max-height: 160px;
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.home-row-art span,
.home-champ-art span,
.person-card-cover .no-cover,
.cassette-cover .no-cover,
.char-cover-main .no-cover,
.char-chip-art span,
.char-cover-mini.is-empty span {
  background: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(28,26,22,.12) 9px),
        repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(28,26,22,.1) 9px),
        var(--bone);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
}

.deck-slot {
  min-height: 72px;
  align-self: stretch;
  color: #8a8478;
  font-size: .82rem;
  letter-spacing: .16em;
  border-width: 1.5px;
}

.home-rows {
  align-items: stretch;
}

.people-grid .deck-slot {
  aspect-ratio: 1;
  max-width: 160px;
}

.char-cover-mini.is-empty {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(28,26,22,.12) 8px),
        repeating-linear-gradient(90deg, transparent, transparent 7px, rgba(28,26,22,.1) 8px),
        var(--bone);
  border: 2px solid var(--ink);
}

.char-cover-mini.is-empty span {
  font-family: var(--font-hand);
  font-size: 1.4rem;
}

html {
  background: radial-gradient(ellipse at 50% 0, #cfc4ae 0%, #b7ab93 55%, #a89980 100%);
}

.cassette-info {
  background: transparent;
}

@media (max-width: 599px) {
  body.is-home .event-feed-item,
  .event-feed-item {
    min-height: 0;
  }

  .home-row.is-placeholder .home-row-art,
  .person-card.is-placeholder .person-card-cover,
  .home-champ.is-empty .home-champ-art,
  .char-chip-art:not(:has(img)) {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
  }
}

.main-menu {
  height: 64px;
  min-height: 64px;
  margin-bottom: 0 !important;
  gap: 8px;
  box-sizing: border-box;
  align-items: center;
}

.main-menu .btn {
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-display);
  font-size: .72rem;
  border-radius: 6px;
}

body.is-home .main-content-inner h2,
.home-podium > h2,
.shelf-head h2,
h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
}

.main-content-inner,
.home-podium,
.home-shelf {
  margin-bottom: var(--space-4);
}

.shelf-head {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: 0 0 var(--space-2);
}

.event-feed-list,
.home-podium-grid,
.home-rows,
.cassette-grid,
.people-grid {
  gap: var(--space-3);
}

body.is-home .event-feed-item,
.event-feed-item {
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 148px;
  align-items: stretch;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
}

.home-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}

.home-champ {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: var(--space-1);
  padding: var(--space-1);
  min-height: 0;
  height: 100%;
  align-items: stretch;
  border-radius: 6px;
}

.home-champ-art {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  align-self: start;
}

.home-champ-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-champ-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.home-champ b,
.home-champ b.token {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  align-self: end;
  margin-top: 0;
}

.home-row {
  gap: var(--space-1);
  padding: var(--space-1);
  border-radius: 6px;
}

body.is-cas .song-scoreline,
body.is-song .song-scoreline,
.song-scoreline {
  width: 100%;
}

.song-scoreline > span {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  text-align: center;
}

.char-field strong,
.song-meta-value {
  display: block;
  min-height: 1.4em;
  padding-bottom: var(--space-1);
}

.char-field .is-stamp,
.song-meta-value .is-stamp,
.char-bio .is-stamp {
  display: inline-block;
  transform: rotate(-6deg);
  vertical-align: middle;
}

@media (max-width: 599px) {
  body.is-home .event-feed-item,
  .event-feed-item {
    grid-template-columns: 1fr;
  }

  .home-podium-grid {
    grid-template-columns: 1fr;
  }

  body.is-cas .song-scoreline,
  body.is-song .song-scoreline,
  .song-scoreline {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }

  .song-scoreline > span {
    width: auto;
    flex: 0 0 auto;
  }
}

.song-scoreline,
.char-scoreline.song-scoreline {
  display: grid !important;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  align-items: end;
  gap: 12px 16px;
  width: auto;
  max-width: 100%;
  overflow: visible !important;
  flex-wrap: nowrap;
  transform: none !important;
}

.char-scoreline.song-scoreline {
  grid-template-columns: repeat(3, max-content) auto;
}

.song-scoreline .score-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.song-scoreline .token,
.score-cell .token {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 4.2rem;
  min-height: 2.4rem;
  padding: 0.2em 0.65em !important;
  margin: 0 !important;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--bone);
  font-family: var(--font-display);
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1 !important;
  white-space: nowrap;
  overflow: visible !important;
  transform: none;
  box-shadow: 1px 2px 0 var(--ink);
}

.song-scoreline small {
  display: block;
  max-width: 7.2rem;
  margin-top: 0;
  text-align: center;
  width: auto;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.char-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  overflow: visible;
}

.char-chip.is-song {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  transform: none;
  gap: 8px;
}

.char-chip.is-ally {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  overflow: visible;
  border-radius: 0;
  transform: none;
}

.char-chip.is-ally .char-chip-art {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ink);
  flex: none;
}

.char-chip-name {
  max-width: 124px;
}

.is-stamp {
  position: static !important;
  display: inline-block;
  margin: 4px 0 8px;
  padding: 2px 8px;
  border: 1.5px solid var(--rust);
  color: var(--rust);
  background: transparent;
  font-family: var(--font-hand);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  transform: rotate(-6deg);
  transform-origin: left center;
  white-space: nowrap;
  z-index: auto;
}

.char-field,
.song-meta-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 8px 0 10px;
  overflow: visible;
}

.char-field .is-stamp,
.song-meta-value .is-stamp,
.char-bio .is-stamp {
  position: static;
  margin: 4px 0 8px;
}

.cassette-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 16px;
  align-items: stretch;
}

.cassette-grid .cassette-card {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  max-width: none;
  transform: none;
}

.cassette-grid .deck-slot {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  max-width: none;
}

.people-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 16px;
  align-items: stretch;
}

.people-grid .person-card,
.people-grid .deck-slot {
  height: 100%;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
}

.people-grid .person-card-cover {
  width: 100%;
  aspect-ratio: 1;
}

.home-row-meta {
  white-space: normal;
  text-align: right;
  line-height: 1.2;
}

.auth-links {
  margin: 14px 0 0;
  text-align: center;
}

.auth-msg {
  margin: 0 0 14px;
  text-align: center;
}

@media (max-width: 599px) {
  .song-scoreline,
  .char-scoreline.song-scoreline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    flex-direction: unset;
  }

  .char-scoreline.song-scoreline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .song-scoreline .token,
  .score-cell .token {
    min-width: 0;
    width: 100%;
    font-size: .9rem !important;
  }

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

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

:root {
  --feel-ease: cubic-bezier(.22, .7, .2, 1);
  --feel-press: cubic-bezier(.2, .9, .3, 1);
}

.container {
  animation: sheet-drop .62s var(--feel-ease) both;
}

.page-content {
  animation: sheet-in .5s var(--feel-ease) both;
  animation-delay: .06s;
}

@keyframes sheet-drop {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stamp-hit {
  0% {
    opacity: 0;
    transform: rotate(-18deg) scale(1.35);
  }

  55% {
    opacity: 1;
    transform: rotate(-3deg) scale(.96);
  }

  100% {
    opacity: .92;
    transform: rotate(-6deg) scale(1);
  }
}

@keyframes chute {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }

  50% {
    transform: rotate(8deg) translateY(2px);
  }
}

@keyframes quote-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes quote-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes beat {
  0%,
  100% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.12);
  }

  55% {
    transform: scale(.96);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ink-press {
  from {
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 8px 12px 0 var(--ink);
  }

  to {
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 3px 5px 0 var(--ink);
  }
}

.char-quote {
  animation: quote-in .6s var(--feel-ease) both;
}

.is-stamp,
.song-lyrics-empty.is-stamp,
.char-field .is-stamp,
.song-meta-value .is-stamp {
  animation: stamp-hit .48s var(--feel-press) both;
  transform-origin: left center;
}

.btn,
.main-menu .btn,
.category-pill {
  transition: transform .18s var(--feel-press),
        box-shadow .18s var(--feel-press),
        background .18s ease,
        color .18s ease,
        border-color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .main-menu .btn:hover,
  .category-pill:hover {
    transform: translate(-1px, -2px);
    box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 4px 6px 0 var(--ink);
  }

  .btn-primary:hover,
  .main-menu .btn-primary:hover {
    box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 4px 6px 0 var(--ink);
  }
}

.btn:active,
.main-menu .btn:active,
.category-pill:active {
  transform: translate(1px, 2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 1px 2px 0 var(--ink);
  transition-duration: .08s;
}

.event-feed-item,
.home-champ,
.home-row,
.cassette-card,
.person-card,
.article-card,
.tile,
.exhibit,
.eval-ticket,
.auth-form,
.cas-tracklist,
.char-chip {
  transition: transform .22s var(--feel-ease),
        box-shadow .22s var(--feel-ease),
        color .16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .event-feed-item:hover,
  .home-champ:hover,
  .home-row:hover,
  .cassette-grid .cassette-card:hover,
  .people-grid .person-card:hover,
  .article-card:hover,
  .tile:hover,
  .exhibit:hover {
    transform: translate(-2px, -3px);
    box-shadow: 0 1px 0 rgba(255,255,255,.45) inset,
              6px 9px 0 var(--ink);
  }
}

.home-row-art img,
.home-champ-art img,
.cassette-cover img,
.person-card-cover img,
.article-cover img,
.char-cover-main img,
.cas-hero-cover img,
.song-hero-cover img,
.char-chip-art img {
  transition: transform .45s var(--feel-ease), filter .35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .home-row:hover .home-row-art img,
  .home-champ:hover .home-champ-art img,
  .cassette-card:hover .cassette-cover img,
  .person-card:hover .person-card-cover img,
  .article-card:hover .article-cover img {
    transform: scale(1.05);
    filter: contrast(1.04) saturate(1.04);
  }

  .char-chip.is-tape:hover .char-chip-art img,
  .char-chip.is-ally:hover .char-chip-art img {
    transform: scale(1.06);
  }

  .char-chip.is-song:hover .char-chip-art img {
    transform: scale(1.06);
  }
}

.cover-thumb,
.cas-thumb,
.char-cover-mini {
  transition: transform .2s var(--feel-press), box-shadow .2s ease, border-color .2s ease, opacity .2s ease;
}

.cover-thumb:hover,
.cas-thumb:hover,
.char-cover-mini:hover {
  transform: translate(-1px, -1px);
}

.cover-thumb.is-current,
.cas-thumb.is-current,
.char-cover-mini.is-current {
  box-shadow: 2px 3px 0 var(--ochre);
}

.token,
.score-cell .token,
.home-champ b,
.song-scoreline .token {
  position: relative;
  overflow: clip;
  transition: transform .18s var(--feel-press), box-shadow .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .score-cell:hover .token,
  .home-champ:hover b {
    transform: translate(-1px, -1px);
    box-shadow: 2px 3px 0 var(--ink);
  }
}

.char-heart,
button.char-heart,
a.char-heart {
  transition: transform .18s var(--feel-press), background .18s ease, color .18s ease, box-shadow .18s ease;
}

.char-heart:hover,
button.char-heart:hover,
a.char-heart:hover {
  animation: beat .7s ease infinite;
  background: #f3d9c4;
}

.char-heart.is-on {
  animation: beat 1.1s ease infinite;
}

.char-fold summary,
.char-deep > summary,
.song-vote summary {
  cursor: pointer;
  transition: background .18s ease, letter-spacing .18s ease;
}

.char-fold summary:hover,
.char-deep > summary:hover,
.song-vote summary:hover {
  background: var(--bone);
  letter-spacing: .14em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ochre);
  background: #fffdf8;
}

.header-pass a {
  transition: color .16s ease, text-underline-offset .16s ease;
}

.header-pass a:hover {
  text-underline-offset: 5px;
}

.cas-tracklist li {
  transition: background .18s ease;
}

.cas-tracklist li:hover {
  background: rgba(247, 241, 230, .7);
}

.cas-tracklist li.is-best {
  background: #f7f1e6;
  box-shadow: inset 3px 0 0 var(--ochre);
}

.eval-opt {
  transition: transform .16s var(--feel-press), box-shadow .16s ease, background .16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .eval-opt:hover {
    transform: translate(-1px, -2px);
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 3px 5px 0 var(--ink);
  }
}

.event-feed-list .event-feed-item:nth-child(1),
.home-podium-grid .home-champ:nth-child(1) {
  animation: card-in .48s var(--feel-ease) both;
  animation-delay: .08s;
}

.event-feed-list .event-feed-item:nth-child(2),
.home-podium-grid .home-champ:nth-child(2) {
  animation: card-in .48s var(--feel-ease) both;
  animation-delay: .16s;
}

.event-feed-list .event-feed-item:nth-child(3),
.home-podium-grid .home-champ:nth-child(3) {
  animation: card-in .48s var(--feel-ease) both;
  animation-delay: .24s;
}

.home-shelf .home-row:nth-child(1) {
  animation: card-in .45s var(--feel-ease) both;
  animation-delay: .1s;
}

.home-shelf .home-row:nth-child(2) {
  animation: card-in .45s var(--feel-ease) both;
  animation-delay: .16s;
}

.home-shelf .home-row:nth-child(3) {
  animation: card-in .45s var(--feel-ease) both;
  animation-delay: .22s;
}

.home-shelf .home-row:nth-child(4) {
  animation: card-in .45s var(--feel-ease) both;
  animation-delay: .28s;
}

a:focus-visible,
.btn:focus-visible,
.home-row:focus-visible,
.event-feed-item:focus-visible,
.cassette-card:focus-visible,
.person-card:focus-visible,
.char-heart:focus-visible,
.cover-thumb:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

body.is-home .home-shelf {
  margin: 0 0 26px;
}

body.is-home .shelf-head {
  align-items: baseline;
  gap: 12px;
}

body.is-home .shelf-head h2 {
  font-size: .82rem;
  letter-spacing: .08em;
}

body.is-home .shelf-head a {
  font-family: var(--font-hand);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
}

body.is-home .shelf-head a:hover {
  color: var(--ink);
}

body.is-home .home-champ {
  height: 100%;
  min-height: 92px;
}

body.is-home .home-champ.is-first .home-champ-art {
  border-radius: 50%;
}

body.is-home .home-champ strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-home .home-champ b {
  align-self: center;
}

body.is-home .event-feed-item {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  min-height: 88px !important;
  align-items: stretch;
  overflow: hidden;
}

body.is-home .event-feed-description {
  text-overflow: ellipsis;
}

body.is-home .home-rows.is-artist-circles,
body.is-home .home-rows.is-cassette-tiles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  justify-content: start;
  align-items: start;
  gap: 10px 16px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.is-home .home-rows.is-artist-circles::-webkit-scrollbar,
body.is-home .home-rows.is-cassette-tiles::-webkit-scrollbar {
  display: none;
}

body.is-home .is-artist-circles .home-row,
body.is-home .is-cassette-tiles .home-row {
  width: 168px;
  min-width: 168px;
  max-width: 168px;
}

body.is-home .is-artist-circles .home-row {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.is-home .is-artist-circles .home-row-art {
  height: auto;
  border-radius: 50%;
  border: 2px solid var(--ink);
  overflow: hidden;
  flex: 0 0 auto;
}

body.is-home .is-artist-circles .home-row-art::after {
  display: none;
}

body.is-home .is-artist-circles .home-row-body {
  width: 100%;
  margin-top: 0;
  padding: 0 2px;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

body.is-home .is-artist-circles .home-row-body strong {
  display: block;
  color: var(--ink);
  text-shadow: none;
}

body.is-home .is-artist-circles .home-row-body em {
  display: none;
}

body.is-home .is-artist-circles .home-row-meta {
  min-height: 0;
  font-family: var(--font-hand);
  font-size: .68rem;
  color: var(--ink-2);
  text-align: center;
}

body.is-home .is-artist-circles .home-row.is-placeholder .home-row-art::after {
  display: none;
}

body.is-home .is-artist-circles .home-row.is-placeholder .home-row-body {
  margin-top: 0;
  padding: 0 2px;
}

body.is-home .is-artist-circles .home-row.is-placeholder .home-row-body strong {
  color: var(--ink);
  text-shadow: none;
  white-space: nowrap;
}

body.is-home .is-cassette-tiles .home-row-art {
  border-bottom: 1.5px solid var(--ink) !important;
  flex: 0 0 auto;
}

body.is-home .is-cassette-tiles .home-row-body {
  width: 100%;
}

body.is-home .is-cassette-tiles .home-row-body strong {
  text-overflow: ellipsis;
}

body.is-home .is-cassette-tiles .home-row-meta {
  margin-top: 2px;
  padding: 0 6px;
  font-size: .65rem;
  color: var(--ink-2);
  text-align: left;
}

body.is-home .is-song-list .home-row-art {
  border-width: 1.5px;
}

body.is-home .is-song-list .home-row-body strong {
  font-size: .82rem;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.is-home .is-song-list .home-row-body em {
  font-size: .68rem;
}

body.is-home .is-song-list .home-row-meta {
  font-size: .7rem;
  color: var(--ink-2);
  min-width: 2em;
  text-align: right;
}

body.is-char .container,
body.is-char .page-content {
  overflow: visible;
}

body.is-char .char-quote {
  width: min(100%, 364px);
  max-width: 364px;
  margin: 0 auto 16px;
  font-size: 1.12rem;
}

body.is-char .char-quote span,
body.is-char .char-quote-text {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 20px 24px 32px;
}

body.is-char .char-hero {
  display: grid;
  width: min(100%, 364px);
  grid-template-columns: auto;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 14px;
}

body.is-char .char-hero.has-thumbs {
  grid-template-columns: 280px auto;
}

body.is-char .char-cover-main {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 280px;
  height: 280px;
}

body.is-char .char-thumbs {
  display: grid;
  grid-auto-rows: 72px;
  gap: 8px;
}

body.is-char .char-cover-mini {
  position: static;
  width: 72px;
  height: 72px;
}

body.is-char .char-score-wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

body.is-char .char-scoreline,
body.is-char .char-scoreline.song-scoreline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: start;
  justify-content: center;
  gap: 10px 14px;
  transform: none;
}

body.is-char .char-fans {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

body.is-char .char-heart,
body.is-char button.char-heart,
body.is-char a.char-heart {
  width: 52px;
  height: 52px;
  margin: 0;
  font-size: 1.45rem;
  transform: none !important;
  border-radius: 10px;
}

body.is-char .char-line {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 12px;
  margin: 22px 0 32px;
  text-align: center;
  min-height: 0 !important;
  overflow: visible;
}

body.is-char .char-line-label {
  text-align: center;
  margin: 0;
  letter-spacing: .16em;
}

body.is-char .char-line-label::after {
  content: none;
}

body.is-char .char-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

body.is-char .char-rail-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--bone);
  box-shadow: 1px 2px 0 var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

body.is-char .char-rail-btn[hidden] {
  display: none !important;
}

body.is-char .char-rail-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 3px 0 var(--ink);
}

body.is-char .char-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--tile);
  justify-content: center;
  align-items: start;
  gap: var(--tile-gap);
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  min-height: calc(var(--tile) + 2.6em);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0;
  -webkit-overflow-scrolling: touch;
}

body.is-char .char-row::-webkit-scrollbar {
  display: none;
}

body.is-char .char-chip-name {
  max-width: var(--tile);
}

body.is-char .char-chip,
body.is-char .char-chip.is-song,
body.is-char .char-chip.is-tape,
body.is-char .char-chip.is-ally {
  display: grid;
  grid-template-rows: var(--tile) auto;
  justify-items: center;
  align-content: start;
  width: var(--tile) !important;
  min-width: var(--tile) !important;
  height: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
  gap: 8px;
  scroll-snap-align: start;
}

body.is-char .char-chip-art {
  display: block;
  box-sizing: border-box;
  width: var(--tile) !important;
  height: var(--tile) !important;
  min-width: var(--tile) !important;
  min-height: var(--tile) !important;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  overflow: hidden;
  background: var(--bone);
}

body.is-char .char-chip-art img,
body.is-char .char-chip-art span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tile) !important;
  height: var(--tile) !important;
  object-fit: cover;
}

body.is-char .char-chip.is-tape .char-chip-art {
  border-radius: 10px;
}

body.is-char .char-chip.is-song .char-chip-art {
  border-radius: 0;
}

body.is-char .char-chip.is-ally .char-chip-art {
  border-radius: 50% !important;
  overflow: hidden;
  flex: none !important;
  max-width: var(--tile) !important;
  max-height: var(--tile) !important;
}

body.is-char .char-dossier {
  gap: 10px 28px;
  margin: 0 0 6px;
}

body.is-char .char-field {
  padding: 12px 0;
}

body.is-char .char-col .char-field:last-child {
  border-bottom: 0;
}

body.is-char .char-col-bio {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body.is-char .char-bio {
  flex: 1;
  min-height: 4.5em;
}

body.is-char .char-habitat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 18px 0 22px;
  padding: 16px 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

body.is-char .char-habitat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.is-char .char-link-tile {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--bone);
  box-shadow: 1px 2px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-hand);
  font-size: .9rem;
  letter-spacing: .04em;
}

body.is-char .char-link-tile:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 3px 0 var(--ink);
}

body.is-char .char-empty {
  text-align: center;
}

body.is-char .char-habitat {
  justify-content: center;
}

.people-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  justify-content: center;
}

.person-card-cover {
  border-radius: 50%;
  border: 2px solid var(--ink);
}

@media (max-width: 599px) {
  body.is-char .char-line {
    display: grid !important;
    grid-template-columns: none !important;
    justify-items: center;
    min-height: 0 !important;
  }

  body.is-char .char-hero.has-thumbs {
    grid-template-columns: 220px auto;
  }
}

.cas-hero-cover {
  width: 280px;
}

body.is-home .home-champ {
  grid-template-columns: 76px minmax(0, 1fr) auto;
}

body.is-home .home-champ-art {
  width: 76px;
  height: 76px;
}

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

@media (hover: hover) and (pointer: fine) {
  body.is-home .is-artist-circles .home-row:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (min-width: 600px) and (max-width: 799px) {
  .people-grid,
  .cassette-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 519px) {
  :root {
    --tile: 100px;
    --tile-gap: 10px;
    --pad: 16px;
  }

  body.is-char .char-cover-main {
    width: 220px;
    height: 220px;
  }

  body.is-char .char-hero.has-thumbs {
    grid-template-columns: 220px auto;
    gap: 8px;
  }

  body.is-char .char-hero:not(.has-thumbs) {
    grid-template-columns: auto;
  }

  body.is-char .char-thumbs {
    grid-auto-rows: 56px;
  }

  body.is-char .char-cover-mini {
    width: 56px;
    height: 56px;
  }

  .cas-hero-cover {
    width: min(100%, 100%);
  }

  body.is-home .home-rows.is-artist-circles,
  body.is-home .home-rows.is-cassette-tiles {
    justify-content: flex-start;
  }

  body.is-home .is-artist-circles .home-row,
  body.is-home .is-cassette-tiles .home-row {
    width: var(--tile);
    min-width: var(--tile);
    max-width: var(--tile);
  }

  body.is-home .home-rows.is-artist-circles,
  body.is-home .home-rows.is-cassette-tiles {
    grid-auto-columns: var(--tile);
  }

  body.is-home .is-artist-circles .home-row-body {
    margin-top: 0;
  }

  body.is-home .is-artist-circles .home-row-body strong {
    font-size: .7rem;
    color: var(--ink);
  }

  .people-grid,
  .cassette-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

html {
  scroll-behavior: smooth;
}

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

.song-scoreline,
body.is-cas .song-scoreline,
body.is-song .song-scoreline {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px 14px;
  transform: none;
}

body.is-cas .cas-thumbs {
  display: grid;
  grid-auto-rows: 64px;
  gap: 8px;
}

body.is-cas .cas-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
}

.song-cas-chip,
.song-cas-chip.is-text {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--bone);
  box-shadow: 1px 2px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
}

.header-pass a,
.header-pass .is-you {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--bone);
  box-shadow: 1px 2px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
  font-size: .82rem;
}

.header-pass a:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2px 3px 0 var(--ink);
  text-decoration: none;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.auth-form {
  max-width: 420px;
  margin: 0 auto 24px;
  padding: 18px 20px 22px;
}

.auth-form label {
  display: block;
  margin: 12px 0 4px;
  font-family: "Neucha", var(--font-hand, cursive);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
}

.cas-tracklist li.is-best em {
  margin-left: 6px;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rust);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .char-heart.is-on {
    animation: none !important;
    transform: none !important;
  }
}

:root {
  --muted: #555953;
}

html {
  scroll-padding-top: 76px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1b1c1a;
  outline-offset: 3px;
}

.site-header :focus-visible,
.site-carousel :focus-visible {
  outline-color: #f6f0e4;
}

input::placeholder,
textarea::placeholder {
  color: #5e635c;
  opacity: 1;
}

.brand,
header .brand,
.header-hello,
.song-meta-title,
footer,
.site-footer,
.site-footer p {
  text-transform: none;
  letter-spacing: .02em;
}

textarea.is-writing {
  min-height: 280px;
  line-height: 1.65;
  font-size: 1.05rem;
}

.site-header {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 0;
  height: 96px;
  min-height: 96px;
  overflow: hidden;
  background: #e6dcc8;
  border-bottom: 4px solid var(--rust);
}

.site-header.has-logo {
  gap: 0;
}

.site-header.has-logo::before {
  content: "";
  flex: 0 0 var(--pad);
  width: var(--pad);
  align-self: stretch;
  background: var(--rust);
}

.site-header .header-inner {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--pad);
}

.site-header.has-logo .header-inner {
  padding-left: 14px;
}

.header-logo {
  grid-column: 3;
  grid-row: 1;
  flex: none;
  width: 96px;
  height: 96px;
  display: block;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.header-hello {
  font-size: .98rem;
  letter-spacing: .06em;
  line-height: 1.2;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.is-home .page-content {
  padding-top: 0;
}

body.is-home .site-carousel {
  margin: 0 calc(var(--pad) * -1) 8px;
  width: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

body.is-home .site-carousel-track {
  position: relative;
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  overflow: hidden;
  scrollbar-width: none;
}

body.is-home .site-carousel-slide {
  display: block;
  position: relative;
  flex: 0 0 var(--slide-w, 604px);
  width: var(--slide-w, 604px);
  margin: 0;
  min-width: 0;
  max-width: none;
  height: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  z-index: 1;
}

body.is-home .site-carousel-slide.is-on {
  z-index: 2;
}

body.is-home .site-carousel-slide.is-prev,
body.is-home .site-carousel-slide.is-next {
  cursor: pointer;
}

body.is-home .site-carousel.is-single .site-carousel-slide.is-on {
  width: 100%;
  max-width: 100%;
  flex-basis: 100%;
}

body.is-home .site-carousel-slide .site-carousel-card,
body.is-home .site-carousel-slide.is-on .site-carousel-card,
body.is-home .site-carousel-slide.is-prev .site-carousel-card,
body.is-home .site-carousel-slide.is-next .site-carousel-card {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: 8 / 3.22;
  overflow: hidden;
}

body.is-home .site-carousel-slide.is-on .site-carousel-card {
  aspect-ratio: 8 / 3.45;
}

body.is-home .site-carousel-card img,
body.is-home .site-carousel-slide.is-prev .site-carousel-card img,
body.is-home .site-carousel-slide.is-next .site-carousel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

body.is-home .site-carousel-bar {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: var(--slide-w, 604px);
  margin: 14px auto 6px;
  padding: 0;
  height: auto;
  background: transparent;
  pointer-events: none;
}

body.is-home .site-carousel-bar button {
  position: relative;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  padding: 0;
  border: 1.5px solid rgba(28, 26, 22, .45);
  border-radius: 0;
  background: rgba(28, 26, 22, .22);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  transition: background .4s ease, border-color .4s ease;
}

body.is-home .site-carousel-bar button::before,
body.is-home .site-carousel-bar button:first-child::before,
body.is-home .site-carousel-bar button:last-child::before,
body.is-home .site-carousel-bar button:first-child:last-child::before {
  content: none;
  display: none;
  clip-path: none;
  background: none;
}

body.is-home .site-carousel-bar button[aria-current="true"] {
  background: rgba(184, 92, 56, .88);
  border-color: rgba(184, 92, 56, .88);
}

body.is-home .site-carousel-bar button[aria-current="true"]::before {
  content: none;
  background: none;
}

body.is-home .site-carousel-bar button + button::after {
  content: none;
}

body.is-home .event-feed-list {
  gap: 18px;
}

body.is-home .main-content-inner > h2 {
  margin: 28px 0 18px;
  text-align: center;
  font-weight: 500;
  letter-spacing: .08em;
}

body.is-home .event-feed-item,
body.is-home .event-feed-item:hover {
  display: flex !important;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ink);
  text-decoration: none;
  filter: drop-shadow(2px 2px 0 var(--ink));
  transition: transform .16s ease, filter .16s ease;
}
body.is-home .event-feed-item:hover {
  transform: translate(-2px, -3px);
  filter: drop-shadow(3px 3px 0 var(--ink));
}

body.is-home .event-card {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  height: auto;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 96px;
  grid-template-rows: 96px auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  filter: none;
  transition: none;
}

body.is-home .event-card:hover,
body.is-home .event-feed-item:has(.event-react:hover) .event-card,
body.is-home .event-feed-item:has(.event-react:active) .event-card {
  transform: none;
  box-shadow: none;
  filter: none;
}

body.is-home .event-feed-main {
  display: contents;
}

body.is-home .event-cover {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  align-self: start;
  display: block;
  box-sizing: border-box;
  width: 96px;
  height: 96px;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-right: 3px solid var(--rust);
  border-radius: 8px 0 0 8px;
  background: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(28,26,22,.08) 9px),
        repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(28,26,22,.06) 9px),
        #e6dcc8;
}

body.is-home .event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.is-home .event-date-mark,
body.is-home .event-cover.is-empty .event-date-mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 8px;
  padding: 6px 4px;
  border-radius: 4px;
  background: rgba(239, 232, 218, .78);
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

body.is-home .event-date-mark b {
  display: block;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .02em;
}

body.is-home .event-date-mark b:last-child {
  margin-top: 2px;
  font-size: .64rem;
  letter-spacing: .04em;
}

body.is-home .event-feed-head {
  grid-column: 2;
  grid-row: 1;
  box-sizing: border-box;
  min-height: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: #efe8da;
}

body.is-home .event-card:has(.event-feed-description) .event-cover {
  grid-row: 1;
  width: 96px;
  height: 96px;
  min-height: 96px;
  align-self: start;
}
body.is-home .event-card:has(.event-feed-description) .event-feed-head {
  border-bottom: 0;
  border-radius: 0;
}
body.is-home .event-card:has(.event-feed-description) .event-feed-description {
  grid-column: 2;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-radius: 0 0 8px 8px;
}

body.is-home .event-feed-title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.25;
  text-decoration: none;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.is-home a.event-feed-title:hover {
  color: var(--ink);
}

body.is-home .event-feed-type {
  transform: none !important;
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 400;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

body.is-home .event-reacts {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  grid-column: 3;
  grid-row: 1;
  flex: none;
  width: 96px;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  align-self: flex-start !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #e6dcc8;
  border: 1px solid var(--ink);
  border-left: 3px solid var(--rust, #b85c38);
  border-radius: 0 8px 8px 0;
  background: #efe8da;
  overflow: hidden;
}

body.is-home .event-reacts form,
body.is-home .event-react.is-empty {
  margin: 0;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(28, 26, 22, .16);
  border-bottom: 1px solid rgba(28, 26, 22, .16);
}
body.is-home .event-reacts > :nth-child(2n) {
  border-right: 0;
}
body.is-home .event-reacts > :nth-child(n + 3) {
  border-bottom: 0;
}
body.is-home .event-reacts form {
  display: flex;
}
body.is-home .event-react.is-empty {
  display: block;
  background: transparent;
  cursor: default;
}

body.is-home .event-react {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  min-height: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  line-height: 1;
  cursor: pointer;
  transform-origin: center;
  box-shadow: none;
  transition: background .16s ease;
}

body.is-home .event-react.is-mine {
  background: transparent;
  box-shadow: none;
}
body.is-home .event-react.is-mine b {
  transform: scale(1.12);
}
body.is-home .event-react.is-mine i {
  font-weight: 700;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  body.is-home .event-react:hover {
    transform: none;
    background: #fffdf8;
    box-shadow: none;
  }

  body.is-home .event-react.is-mine:hover {
    background: transparent;
    box-shadow: none;
  }
}

body.is-home .event-react:active,
body.is-home .event-react.is-mine:active {
  transform: none;
  background: #fffdf8;
  box-shadow: none;
}

body.is-home .event-react b {
  font-size: .95rem;
  font-weight: 400;
  text-align: center;
  line-height: 1;
}

body.is-home .event-react i {
  font-style: normal;
  font-size: .62rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1;
  opacity: .7;
}

body.is-home .event-react.is-pop {
  animation: event-react-pop .26s cubic-bezier(.2, 1.45, .36, 1);
}

@keyframes event-react-pop {
  0% {
    transform: scale(.86);
  }

  55% {
    transform: scale(1.32);
  }

  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-home .event-react.is-pop {
    animation: none;
  }

  body.is-home .event-card {
    transition: none;
  }
}

body.is-home .event-feed-description {
  grid-column: 2;
  grid-row: 2;
  display: block;
  margin: 0;
  padding: 10px 16px 14px;
  border: 1px solid var(--ink);
  border-top: 1px solid rgba(28, 26, 22, .12);
  border-radius: 0 0 8px 8px;
  background: #efe8da;
  color: var(--ink);
  font-size: .84rem;
  line-height: 1.4;
  text-align: left;
  white-space: normal !important;
  overflow: visible;
}

body.is-home .event-feed-description p {
  margin: 0;
}

body.is-home .event-feed-player {
  margin: 12px auto 0;
  width: min(100%, 420px);
  aspect-ratio: 16 / 9;
}

body.is-home .event-feed-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

body.is-home .home-podium {
  overflow: visible;
  margin: 32px 0 0;
}

body.is-home .home-shelf {
  margin: 0;
}

body.is-home .shelf-head {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 32px 0 16px;
  text-align: center;
}

body.is-home .shelf-head h2,
body.is-home .home-podium > h2,
body.is-home .main-content-inner > h2 {
  font-size: 1.02rem;
  letter-spacing: .12em;
  text-align: center;
}

body.is-home .shelf-head h2 {
  margin: 0;
}

body.is-home .home-podium > h2 {
  margin: 0 0 16px;
}

body.is-home .shelf-head a {
  position: absolute;
  right: 0;
  top: 0;
}

body.is-home .home-podium-grid {
  align-items: stretch;
  gap: 12px;
}

body.is-home .home-champ,
body.is-home .home-champ.is-empty,
body.is-home .home-champ.is-first {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 0 14px !important;
  overflow: hidden;
  border: 1.5px solid var(--ink) !important;
  border-radius: 6px !important;
  background: #e6dcc8 !important;
  box-shadow: 2px 3px 0 var(--rust) !important;
}

body.is-home .home-champ-art,
body.is-home .home-champ.is-empty .home-champ-art,
body.is-home .home-champ.is-first .home-champ-art {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: 1 !important;
  align-self: stretch !important;
  position: relative;
  border: 0 !important;
  border-bottom: 1.5px solid var(--ink) !important;
  border-radius: 5px 5px 0 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

body.is-home .home-champ-art img,
body.is-home .home-champ-art span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.is-home .home-champ-art span {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  background: repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(28,26,22,.06) 11px),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(28,26,22,.05) 11px),
        #efe6d6;
}

body.is-home .home-champ-body {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 12px 0;
  justify-items: center;
  text-align: center;
}

body.is-home .home-champ-kicker {
  letter-spacing: .14em;
  font-size: .68rem;
}

body.is-home .home-champ strong {
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}

body.is-home .home-champ b,
body.is-home .home-champ b.token,
body.is-home .home-champ.is-first b,
body.is-home .home-champ:first-child b {
  align-self: center;
  margin: 10px 0 0;
  border-color: var(--ink) !important;
  box-shadow: none !important;
  transition: transform .16s ease, box-shadow .16s ease;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  body.is-home .home-champ:hover {
    transform: translate(-2px, -3px);
    box-shadow: 4px 5px 0 var(--rust) !important;
  }

  body.is-home .home-champ:hover b,
  body.is-home .home-champ:hover b.token,
  body.is-home .home-champ:hover.is-first b,
  body.is-home .home-champ:hover:first-child b {
    border-color: var(--ink) !important;
    box-shadow: 2px 3px 0 var(--rust) !important;
  }
}

body.is-home .home-champ:active {
  box-shadow: 4px 5px 0 var(--rust) !important;
}

body.is-home .home-champ:active b,
body.is-home .home-champ:active b.token,
body.is-home .home-champ:active.is-first b,
body.is-home .home-champ:active:first-child b {
  box-shadow: 2px 3px 0 var(--rust) !important;
}

body.is-home .home-rows.is-artist-circles {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-columns: unset !important;
  overflow: visible !important;
  justify-content: stretch;
  gap: 16px;
  padding: 6px 0 0;
}

body.is-home .is-artist-circles .home-row {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  transform: none !important;
}

body.is-home .is-artist-circles .home-row-art {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto;
  border-width: 1.5px !important;
  box-shadow: 2px 3px 0 var(--ink) !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.is-home .is-artist-circles .home-row-art img,
body.is-home .is-artist-circles .home-row-art span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.is-home .is-artist-circles .home-row-body strong {
  font-size: 1.05rem !important;
  line-height: 1.25;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  body.is-home .is-artist-circles .home-row:hover .home-row-art {
    transform: translate(-2px, -4px);
    box-shadow: 4px 7px 0 var(--ink) !important;
  }
}

body.is-home .is-artist-circles .home-row:active .home-row-art {
  transform: translate(-2px, -4px);
  box-shadow: 4px 7px 0 var(--ink) !important;
}

body.is-home .is-artist-circles .home-row-meta {
  display: none;
}

body.is-home .home-rows.is-cassette-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px;
  align-items: stretch;
}

body.is-home .is-cassette-cards .home-row {
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  gap: 0;
  overflow: hidden;
  border: 1.5px solid var(--ink) !important;
  border-radius: 6px !important;
  background: #e6dcc8 !important;
  box-shadow: 2px 3px 0 var(--ink) !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.is-home .is-cassette-cards .home-row-art {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-bottom: 1.5px solid var(--ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #efe6d6;
}

body.is-home .is-cassette-cards .home-row-art img,
body.is-home .is-cassette-cards .home-row-art span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
}

body.is-home .is-cassette-cards .home-row-body {
  text-align: center;
  padding: 10px 8px 12px !important;
}

body.is-home .is-cassette-cards .home-row-body strong {
  font-size: .95rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-home .is-cassette-cards .home-row-body em {
  display: block;
  margin-top: 2px;
  font-size: .78rem;
  font-style: normal;
  text-align: center;
  color: var(--ink-2, #6d675e);
}

body.is-home .is-cassette-cards .home-row-meta {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.is-home .is-cassette-cards .home-row:hover {
    transform: translate(-2px, -3px);
    box-shadow: 4px 6px 0 var(--ink) !important;
  }
}

body.is-home .is-cassette-cards .home-row:active {
  transform: translate(-2px, -3px);
  box-shadow: 4px 6px 0 var(--ink) !important;
}

body.is-home .is-cassette-tiles .home-row {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  gap: 8px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

body.is-home .is-cassette-tiles .home-row-art {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--ink) !important;
  border-radius: 6px !important;
  box-shadow: 2px 3px 0 var(--ink) !important;
  background: #efe6d6;
}

body.is-home .is-cassette-tiles .home-row-art img,
body.is-home .is-cassette-tiles .home-row-art span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: grid;
  place-items: center;
}

body.is-home .is-cassette-tiles .home-row-meta {
  display: none;
}

body.is-home .home-rows.is-cassette-tiles {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  overflow: visible !important;
  gap: 16px;
  align-items: start;
}

body.is-home .is-cassette-tiles .home-row-body {
  text-align: center;
  padding: 0 2px !important;
  background: transparent;
}

body.is-home .is-cassette-tiles .home-row-body strong {
  font-size: .95rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-home .is-cassette-tiles .home-row-body em {
  display: block;
  margin-top: 2px;
  font-size: .78rem;
  font-style: normal;
  text-align: center;
  color: var(--ink-2, #6d675e);
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
  body.is-home .is-cassette-tiles .home-row:hover .home-row-art {
    transform: translate(-2px, -3px);
    box-shadow: 4px 5px 0 var(--ink) !important;
  }
}

body.is-home .home-rows.is-song-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

body.is-home .is-song-list .home-row {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  align-items: stretch;
  gap: 12px;
  padding: 0 12px 0 0 !important;
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  overflow: hidden;
  border: 1.5px solid var(--ink) !important;
  border-radius: 6px !important;
  background: #e6dcc8 !important;
  box-shadow: 2px 3px 0 var(--ink) !important;
}

body.is-home .is-song-list .home-row-art {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px;
  min-height: 0 !important;
  max-width: 76px;
  aspect-ratio: auto;
  align-self: stretch;
  border: 0;
  overflow: hidden;
}

body.is-home .is-song-list .home-row-art img {
  width: 100%;
  height: 100%;
  max-width: 76px;
  max-height: 76px;
  object-fit: cover;
  display: block;
}

body.is-home .is-song-list .home-row-body {
  align-self: center;
  min-width: 0;
  padding: 0;
}

body.is-home .is-song-list .home-row-body strong,
body.is-home .is-song-list .home-row-body em {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.is-home .home-rail {
  position: relative;
  padding: 0 46px;
}

body.is-home .home-rail-btn {
  position: absolute;
  top: 78px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: #f3ead9;
  box-shadow: 2px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

body.is-home .home-rail-btn.is-prev {
  left: 0;
}

body.is-home .home-rail-btn.is-next {
  right: 0;
}

body.is-home .home-rail-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
}

body.is-home .home-rail-btn.is-prev::before {
  transform: rotate(-135deg);
  margin-left: 15px;
}

body.is-home .home-rail-btn.is-next::before {
  transform: rotate(45deg);
  margin-right: 15px;
}

body.is-home .home-rail.at-start .home-rail-btn.is-prev,
body.is-home .home-rail.at-end .home-rail-btn.is-next,
body.is-home .home-rail.is-still .home-rail-btn {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  body.is-home .home-rail-btn:hover {
    transform: translate(-1px, -2px);
    box-shadow: 3px 4px 0 var(--ink);
  }
}

body.is-home .home-rail .home-rows {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

body.is-home .home-rail .home-rows.is-drag {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

body.is-home .home-rail .home-rows::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  body.is-home .home-rail .home-rows {
    scroll-behavior: auto;
    transition: none;
  }
}

body.is-rating .rating-stage-head {
  align-items: flex-start;
}

body.is-rating .rating-stage-head .exhibit-kicker {
  letter-spacing: .04em;
  line-height: 1.35;
}

body.is-rating .rating-stage-meta {
  font-size: 1rem;
  line-height: 1.45;
  text-align: right;
}

body.is-rating .rating-stage,
body.is-impression .rating-stage {
  padding: 22px 22px 14px;
}

body.is-rating .rating-stage-track,
body.is-impression .rating-stage-track,
body.is-rating .song-meta-title,
body.is-impression .song-meta-title {
  font-size: 1.85rem;
  line-height: 1.2;
}

body.is-rating .rating-stage-meta,
body.is-impression .rating-stage-meta {
  font-size: 1rem;
  line-height: 1.4;
}

body.is-rating .eval-note,
body.is-impression .eval-note {
  margin: 0 0 26px;
  padding: 28px 26px 32px;
  background: #fbf6ec;
}

body.is-rating .eval-note .exhibit-kicker,
body.is-impression .eval-note .exhibit-kicker {
  font-size: .95rem;
  margin-bottom: 14px;
}

body.is-rating .eval-note-body,
body.is-impression .eval-note-body {
  font-size: 1.4rem;
  line-height: 1.55;
}

body.is-rating .eval-note-body p,
body.is-impression .eval-note-body p {
  margin: 0 0 .75em;
}

body.is-rating .eval-note-body p:last-child,
body.is-impression .eval-note-body p:last-child {
  margin-bottom: 0;
}

body.is-rating .eval-note-body ul,
body.is-rating .eval-note-body ol,
body.is-impression .eval-note-body ul,
body.is-impression .eval-note-body ol {
  margin: 0 0 .8em;
  padding-left: 1.3em;
}

body.is-rating .eval-trait-name,
body.is-impression .eval-trait-name {
  font-size: 1rem;
  letter-spacing: .04em;
}

body.is-rating .eval-opt,
body.is-impression .eval-opt {
  min-height: 64px;
  font-size: 1rem;
  letter-spacing: .03em;
}

body.is-rating .btn,
body.is-impression .btn {
  min-height: 52px;
  padding: 12px 22px;
  font-size: 1.05rem;
}

.rich-editor-script .ql-toolbar.ql-snow {
  padding: 8px;
}

.rich-editor-script .ql-toolbar button,
.rich-editor-script .ql-toolbar .ql-picker {
  width: 36px;
  height: 36px;
}

body.is-rating ol {
  font-size: 1.2rem;
  line-height: 1.5;
  padding-left: 1.4em;
}

.song-review-input,
.release-song textarea {
  min-height: 96px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.release-add {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.release-add select {
  width: 100%;
  min-height: 48px;
  margin: 0 0 10px;
}

.rich-editor-script .ql-editor {
  min-height: 240px;
  font-size: 1.2rem;
  line-height: 1.55;
}

body.is-card .hat-copy {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1.5px solid var(--ink);
  background: #fff;
}

body.is-card .hat-kicker,
body.is-card .hat-lead {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.is-card .hat-song {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

body.is-card .hat-who {
  margin: 0;
  color: var(--muted);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.35;
}

body.is-card .card-image {
  display: none;
  z-index: 2;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(20, 16, 12, .28);
}

body.is-card .hat-stage.is-drawn .card-image,
body.is-card .hat-stage.is-discarding .card-image {
  display: block;
}

body.is-card .hat-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 0 auto 12px;
}

body.is-card .card-stack,
body.is-card .card-image {
  grid-row: 1;
  grid-column: 1;
  width: min(100%, calc(42vh * 16 / 9));
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
}

body.is-card .card-stack {
  position: relative;
  z-index: 1;
  overflow: visible;
  cursor: pointer;
  animation: hatStack 5.2s ease-in-out infinite;
  transform-origin: 50% 85%;
}

body.is-card .card-stack .mini-card {
  position: absolute;
  inset: 7% 5%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 22px rgba(20, 16, 12, .28);
  transition: transform .35s ease, box-shadow .35s ease;
  animation: hatBreathe 3.4s ease-in-out infinite;
}

body.is-card .card-stack:hover .mini-card:nth-child(1) { --r: -10deg; --y: 14px; }
body.is-card .card-stack:hover .mini-card:nth-child(2) { --r: -5deg; --y: 8px; }
body.is-card .card-stack:hover .mini-card:nth-child(4) { --r: 5deg; --y: 8px; }
body.is-card .card-stack:hover .mini-card.is-top { --r: 9deg; --y: -2px; }

body.is-card .hat-stage.is-dealing .mini-card.is-top {
  animation: hatLift .46s cubic-bezier(.2, .7, .2, 1) forwards;
  z-index: 6;
}

body.is-card .hat-stage.is-drawn .card-stack,
body.is-card .hat-stage.is-discarding .card-stack {
  animation: none;
}

body.is-card .hat-stage.is-drawn .card-stack {
  opacity: 0;
  transform: translateY(18px) scale(.9);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

body.is-card .hat-stage.is-discarding .card-stack {
  opacity: 1;
  transform: none;
  pointer-events: none;
}

body.is-card .hat-stage.is-drawn .card-image {
  animation: hatDeal .68s cubic-bezier(.2, .75, .2, 1) both, hatFloat 3.6s ease-in-out .68s infinite;
}

body.is-card .hat-stage.is-discarding .card-image {
  animation: hatToss .56s cubic-bezier(.4, .02, .85, .4) forwards;
  z-index: 4;
}

@keyframes hatStack {
  0%,
  100% { transform: rotate(-0.7deg); }
  50% { transform: rotate(0.9deg) translateY(-5px); }
}

@keyframes hatBreathe {
  0%,
  100% { transform: rotate(var(--r)) translateY(var(--y)); }
  50% { transform: rotate(calc(var(--r) + 1.2deg)) translateY(calc(var(--y) - 9px)); }
}

@keyframes hatLift {
  0% { transform: rotate(var(--r)) translateY(var(--y)); }
  100% { transform: translateY(-34px) scale(1.07) rotate(-8deg); }
}

@keyframes hatDeal {
  0% {
    opacity: 0;
    transform: perspective(1000px) translateY(28px) rotateY(-78deg) rotate(-6deg) scale(.88);
  }
  55% {
    opacity: 1;
    transform: perspective(1000px) translateY(-10px) rotateY(8deg) rotate(2deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) translateY(0) rotateY(0) rotate(0) scale(1);
  }
}

@keyframes hatFloat {
  0%,
  100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-8px) rotate(0.6deg); }
}

@keyframes hatToss {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
  100% { opacity: 0; transform: translate(58%, -24%) rotate(18deg) scale(.9); }
}

body.is-card .mini-card:nth-child(1) {
  --r: -6deg;
  --y: 10px;
  z-index: 1;
  animation-delay: .1s;
}

body.is-card .mini-card:nth-child(2) {
  --r: -3deg;
  --y: 6px;
  z-index: 2;
  animation-delay: .25s;
}

body.is-card .mini-card:nth-child(3) {
  --r: 0deg;
  --y: 2px;
  z-index: 3;
  animation-delay: .05s;
}

body.is-card .mini-card:nth-child(4) {
  --r: 3deg;
  --y: 6px;
  z-index: 4;
  animation-delay: .35s;
}

body.is-card .mini-card.is-top {
  --r: 5deg;
  --y: 0px;
  z-index: 5;
  animation-delay: 0s;
}

body.is-card .card-text-overlay {
  inset: 11% 9%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #f6f1e8;
  font-size: clamp(1.05rem, 2.5vw, 1.65rem);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: .01em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .88);
}

body.is-card .hat-actions {
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(100%, calc(42vh * 16 / 9));
}

body.is-card .hat-actions .btn {
  width: 100%;
  min-height: 52px;
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

body.is-card .hat-reset {
  grid-row: 3;
  margin: 0;
}

body.is-card .hat-reset .btn {
  min-height: 44px;
  padding: 8px 14px;
  letter-spacing: 0;
  text-transform: none;
  background: transparent;
}

.eval-session-nav {
  margin-top: 16px;
}

.eval-session-nav form {
  margin: 0;
}

.eval-session-nav .btn {
  letter-spacing: 0;
  text-transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.is-card .card-stack,
  body.is-card .card-stack .mini-card,
  body.is-card .hat-stage.is-drawn .card-image,
  body.is-card .hat-stage.is-discarding .card-image {
    animation: none;
  }
}

.eval-note {
  margin: 18px 0;
  padding: 18px 20px 20px;
  border: 1.5px solid var(--ink);
  background: #f6f0e4;
}

.eval-note .exhibit-kicker {
  margin: 0 0 10px;
}

.eval-note-body {
  font-size: 1.05rem;
  line-height: 1.6;
}

.hat-actions .btn.is-locked,
.eval-session-nav .btn.is-locked {
  pointer-events: none;
  opacity: .38;
}

.eval-session-nav,
.hat-reset {
  margin-top: 14px;
}

.eval-session-nav .btn,
.hat-reset .btn {
  min-height: 40px;
  font-size: .82rem;
}

.eval-form .btn-primary,
.hat-actions .btn-primary,
.button-row.center .btn-primary {
  min-height: 52px;
}

.pass-field {
  position: relative;
}

.pass-field input {
  padding-right: 108px;
}

body.is-impression .eval-form .cover-hint {
  margin: 4px 0 12px;
  text-align: center;
}

body.is-impression .eval-opts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.is-impression .eval-opt {
  min-height: 64px;
  padding: 12px 8px;
  font-size: .92rem;
  letter-spacing: .02em;
}

body.is-impression .eval-form .button-row.center {
  margin-top: 14px;
}

body.is-impression .eval-form .button-row.center .btn-primary {
  width: min(100%, 280px);
}

body.is-impression .eval-session-nav,
body.is-rating .eval-session-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

body.is-impression .eval-session-nav form,
body.is-rating .eval-session-nav form {
  display: flex;
  margin: 0;
}

body.is-impression .eval-session-nav .btn,
body.is-rating .eval-session-nav .btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
}

.header-pass .is-you {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 4px 0;
  font-weight: 650;
}

@media (max-width: 599px) {
  .site-header .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .header-pass {
    justify-content: flex-end;
  }
}

.pass-reveal {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--rust);
  font: inherit;
  cursor: pointer;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.65;
}

.ad-stack {
  margin: 18px 0 8px;
}

.ad-slot {
  margin: 0 0 14px;
}

.ad-slot-label {
  display: block;
  margin: 0 0 6px;
  text-align: center;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-slot-banner,
.ad-slot-banner img,
.ad-slot-code img,
.ad-slot-code iframe {
  display: block;
  max-width: 100%;
}

.ad-slot-banner img,
.ad-slot-code img {
  width: 100%;
  height: auto;
}

.ad-slot-code {
  overflow: hidden;
}

.ad-code,
textarea.ad-code {
  width: 100%;
  min-height: 180px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .78rem;
  line-height: 1.45;
}

.feed-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
  transition: height .52s cubic-bezier(.16, .84, .22, 1);
}

body.is-home .chronicle .feed-stage .event-feed-list,
body.is-home .chronicle .feed-stage .event-feed-empty {
  margin-top: 0;
}

.feed-stage .is-sheet {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  margin: 0;
  background: var(--surface);
  transition: transform .52s cubic-bezier(.16, .84, .22, 1);
  will-change: transform;
}

.feed-stage .is-sheet.is-top {
  z-index: 2;
  box-shadow: 0 22px 28px rgba(28, 26, 22, .16);
}

@media (prefers-reduced-motion: reduce) {
  .feed-stage,
  .feed-stage .is-sheet {
    transition: none;
  }
}

body.is-home .chronicle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.is-home .chronicle > h2 {
  margin: 0;
  text-align: center;
}

body.is-home .chronicle > .event-feed-live {
  display: contents;
}

body.is-home .chronicle .feed-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 0;
}

body.is-home .chronicle .event-feed-list,
body.is-home .chronicle .event-feed-empty {
  align-self: stretch;
  width: 100%;
  margin-top: 20px;
}

.feed-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.feed-nav-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 0;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.feed-nav-btn span {
  color: var(--ochre);
  letter-spacing: 0;
  font-size: .9rem;
  line-height: 1;
}

.feed-nav-btn + .feed-nav-count,
.feed-nav-count + .feed-nav-btn {
  border: 0;
}

.feed-nav-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.feed-nav-count::before,
.feed-nav-count::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ochre);
}

.feed-nav-count i {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ochre);
}

.feed-nav-btn.is-off,
.feed-nav-btn.is-off span {
  color: var(--line-soft);
}

a.feed-nav-btn:hover,
a.feed-nav-btn:hover span {
  background: transparent;
  color: var(--rust);
}

.song-stat-note,
.event-feed-type,
.exhibit-kicker,
.home-champ-kicker,
.char-scoreline small,
.song-scoreline small,
body.is-home .event-feed-type,
body.is-home .home-champ-kicker,
body.is-home .shelf-head a,
body.is-home .is-cassette-tiles .home-row-body em,
body.is-home .is-cassette-cards .home-row-body em,
body.is-home .is-song-list .home-row-body em,
body.is-song .song-meta-label,
body.is-cas .song-meta-label,
body.is-char .song-stat-note,
body.is-song .song-stat-note,
body.is-cas .song-stat-note,
.char-field span,
.char-col-bio > span {
  font-size: .8rem;
}

.article-body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.1em 0;
  border-radius: 2px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 22px 0 8px;
}

/* Главная: один шаг между блоками, без двойных полей. */
body.is-home .page-content {
  padding: 0;
}

body.is-home .chronicle,
body.is-home .home-podium,
body.is-home .home-shelf,
body.is-home .ad-stack {
  margin: 32px 0 0;
}

body.is-home .chronicle > h2,
body.is-home .main-content-inner > h2,
body.is-home .home-podium > h2 {
  margin: 0;
}

body.is-home .shelf-head {
  margin: 0 0 16px;
}

body.is-home .home-podium > h2 {
  margin: 0 0 16px;
}

body.is-home .chronicle .feed-nav {
  margin: 22px 0 0;
}

body.is-home .chronicle .event-feed-list,
body.is-home .chronicle .event-feed-empty,
body.is-home .feed-stage {
  margin-top: 16px;
}

body.is-home .event-feed-list,
body.is-home .home-podium-grid,
body.is-home .home-rows.is-artist-circles,
body.is-home .home-rows.is-cassette-cards,
body.is-home .home-rows.is-cassette-tiles,
body.is-home .home-rows.is-song-list {
  gap: 16px !important;
}

body.is-home .home-rows.is-artist-circles {
  padding-top: 0;
}

body.is-home .ad-stack .ad-slot:last-child {
  margin-bottom: 0;
}

body.is-home .site-footer {
  margin-top: 32px !important;
}


.char-quote-text { display:block; position:relative; z-index:1; text-align:center; grid-area:1 / 1; }
.char-quote-text p, .char-bio p, .card-text-overlay p { margin: 0 0 .4em; }
.char-quote-text p:last-child, .char-bio p:last-child, .card-text-overlay p:last-child { margin-bottom: 0; }


body.is-home .event-feed-item {
  animation: chronicle-in .45s cubic-bezier(.22, 1, .3, 1) both;
}
body.is-home .event-feed-item:nth-child(2) { animation-delay: .05s; }
body.is-home .event-feed-item:nth-child(3) { animation-delay: .1s; }
body.is-home .event-feed-item:nth-child(4) { animation-delay: .15s; }
body.is-home .event-feed-item:nth-child(5) { animation-delay: .2s; }
@keyframes chronicle-in {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}
body.is-home .event-feed-title,
body.is-home .event-feed-type,
body.is-home .event-react,
body.is-home .event-cover {
  transition: background .2s ease, color .2s ease, filter .2s ease, transform .2s ease;
}
body.is-home .event-react b {
  transition: transform .2s cubic-bezier(.22, 1, .3, 1);
}
body.is-home .event-react:hover b,
body.is-home .event-react:active b {
  transform: scale(1.12);
}
body.is-home .event-cover img {
  transition: transform .45s cubic-bezier(.22, 1, .3, 1);
}
body.is-home .event-feed-item:hover .event-cover img {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  body.is-home .event-feed-item,
  body.is-home .event-react b,
  body.is-home .event-cover img {
    animation: none;
    transition: none;
  }
}


body.is-home .event-feed-item {
  --react-bg: none;
}
body.is-home .event-reacts {
  background-image: var(--react-bg);
  background-size: cover;
  background-position: center;
}
body.is-home .event-reacts form,
body.is-home .event-react.is-empty {
  background: rgba(239, 232, 218, .4);
}
body.is-home .event-react.is-mine {
  background: transparent;
}


body.is-home .chronicle > h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--rust, #b85c38);
}
body.is-home .event-feed-item.is-newest {
  transform: translateY(-6px);
  filter: drop-shadow(3px 5px 0 var(--ink));
}
body.is-home .event-feed-item.is-newest:hover {
  transform: translate(-2px, -9px);
  filter: drop-shadow(4px 6px 0 var(--ink));
}
