:root {
  --bg: #f6f0e8;
  --bg-deep: #ece1d5;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #fffaf4;
  --ink: #211b1c;
  --muted: #766a66;
  --brand: #74152a;
  --brand-2: #a33c2d;
  --brand-dark: #321219;
  --gold: #d5a84f;
  --gold-soft: rgba(213, 168, 79, 0.18);
  --line: rgba(70, 45, 39, 0.14);
  --soft: rgba(116, 21, 42, 0.08);
  --shadow: 0 24px 70px rgba(64, 32, 24, 0.13);
  --radius: 26px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(213, 168, 79, 0.24), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(116, 21, 42, 0.16), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
}

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

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

.site-wrap {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(246, 240, 232, 0.88);
  border-bottom: 1px solid rgba(70, 45, 39, 0.11);
}

.topbar-inner {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
}

.brand-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  min-width: 0;
}

.brand-title strong {
  font-size: 20px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-title span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #46302c;
  font-weight: 850;
  font-size: 14px;
}

.nav a:hover,
.nav a.is-active {
  background: var(--soft);
  color: var(--brand);
}

.hero {
  width: min(var(--max), calc(100% - 34px));
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.hero-copy {
  width: 100%;
  max-width: none;
  border: 1px solid rgba(116, 21, 42, 0.14);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(255,250,244,0.98)),
    radial-gradient(circle at 8% 3%, rgba(213,168,79,0.28), transparent 36%),
    radial-gradient(circle at 94% 92%, rgba(116,21,42,0.1), transparent 38%);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(213, 168, 79, 0.18);
  border-radius: 28px;
  pointer-events: none;
  z-index: -1;
}

.hero-copy::after {
  content: "♪";
  position: absolute;
  right: clamp(18px, 4vw, 38px);
  top: clamp(20px, 4vw, 42px);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(116, 21, 42, 0.08);
  color: rgba(116, 21, 42, 0.28);
  font-size: 34px;
  font-weight: 950;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-weight: 950;
  font-size: 13px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(213, 168, 79, 0.18);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.07em;
  color: #251819;
}


.hero-copy h1 {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.16;
  max-width: 760px;
}

.hero-copy p {
  margin: 0;
}

.hero-lead {
  margin-top: 22px !important;
  color: #574642;
  font-size: clamp(16px, 2vw, 18.5px);
  line-height: 1.82;
  letter-spacing: -0.035em;
  max-width: 680px;
}

.hero-message-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hero-message-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px 18px 17px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(70, 45, 39, 0.11);
  box-shadow: 0 12px 28px rgba(64, 32, 24, 0.055);
}

.hero-message-item > span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff6df;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 22px rgba(116, 21, 42, 0.18);
}

.hero-message-item strong {
  color: #2a1a18;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.hero-message-item p {
  margin-top: 0;
  color: #705a55;
  font-size: 13.5px;
  line-height: 1.62;
  letter-spacing: -0.025em;
}

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

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(116, 21, 42, 0.22);
}

.btn-secondary {
  background: rgba(255,255,255,0.76);
  color: #44302d;
  border: 1px solid rgba(70, 45, 39, 0.14);
}

.hero-card {
  border-radius: calc(var(--radius) + 10px);
  padding: 24px;
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(116,21,42,0.95), rgba(44,17,24,0.98)),
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.22), transparent 33%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-card::before {
  width: 230px;
  height: 230px;
  right: -92px;
  top: -92px;
  background: rgba(213, 168, 79, 0.24);
}

.hero-card::after {
  width: 190px;
  height: 190px;
  left: -82px;
  bottom: -80px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-card-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero-card-title {
  padding: 4px 2px 0;
}

.hero-card-title span {
  display: inline-flex;
  color: rgba(255, 230, 171, 0.92);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero-card-title strong {
  display: block;
  max-width: 330px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.06em;
}

.hero-card-title p {
  margin: 12px 0 0;
  max-width: 390px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  font-size: 14px;
  letter-spacing: -0.025em;
}

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

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

.stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat b {
  display: block;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.hero-note {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 244, 210, 0.13);
  border: 1px solid rgba(255, 242, 196, 0.17);
}

.hero-note strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}

.hero-note p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.75;
  font-size: 14px;
  letter-spacing: -0.025em;
}

.hero-note ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-note li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.68;
  font-size: 14px;
  letter-spacing: -0.025em;
}

.hero-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(213, 168, 79, 0.15);
}

.main {
  width: min(var(--max), calc(100% - 34px));
  margin: 30px auto 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.panel-head {
  padding: 26px 28px 0;
}

.panel-kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.panel-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.panel-desc {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: -0.03em;
  font-size: 15px;
}

.story-form {
  padding: 24px 28px 28px;
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-size: 13px;
  font-weight: 900;
  color: #49302b;
  letter-spacing: -0.02em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(70, 45, 39, 0.16);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 15px;
  outline: 0;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.field textarea {
  resize: vertical;
  min-height: 210px;
  line-height: 1.75;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(116, 21, 42, 0.62);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(116, 21, 42, 0.08);
}

.field-help {
  font-size: 12px;
  color: #927872;
  line-height: 1.55;
}

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

.form-row.three {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  align-items: start;
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(70, 45, 39, 0.14);
  border-radius: 18px;
  padding: 13px 14px;
  background: rgba(255,255,255,0.56);
  cursor: pointer;
}

.check-card input {
  margin-top: 4px;
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
}

.check-card strong {
  display: block;
  color: #49302b;
  font-size: 14px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.check-card span {
  display: block;
  color: #866d67;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: -0.025em;
}


.field-label {
  font-size: 13px;
  font-weight: 900;
  color: #49302b;
  letter-spacing: -0.02em;
}

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

.request-choice {
  position: relative;
  cursor: pointer;
}

.request-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-choice-box {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(70, 45, 39, 0.14);
  border-radius: 20px;
  padding: 17px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,250,244,0.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.request-choice-box strong {
  color: #49302b;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.request-choice-box span {
  color: #866d67;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.request-choice input:checked + .request-choice-box {
  border-color: rgba(116, 21, 42, 0.42);
  background: linear-gradient(135deg, rgba(116, 21, 42, 0.1), rgba(213, 168, 79, 0.15));
  box-shadow: 0 14px 30px rgba(64, 32, 24, 0.1), inset 0 1px 0 rgba(255,255,255,0.82);
}

.request-choice input:focus-visible + .request-choice-box {
  box-shadow: 0 0 0 5px rgba(116, 21, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.82);
}

.request-choice:hover .request-choice-box {
  transform: translateY(-1px);
}

.file-upload-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px dashed rgba(116, 21, 42, 0.28);
  border-radius: 20px;
  padding: 17px 18px;
  background: rgba(255,255,255,0.62);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.file-upload-card:hover {
  border-color: rgba(116, 21, 42, 0.48);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 14px 32px rgba(64, 32, 24, 0.08);
  transform: translateY(-1px);
}

.file-upload-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.file-upload-card strong {
  display: block;
  color: #49302b;
  font-size: 15px;
  letter-spacing: -0.035em;
  margin-bottom: 3px;
}

.file-upload-card span span {
  display: block;
  color: #866d67;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.file-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.photo-chip,
.photo-preview-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(116, 21, 42, 0.08);
  color: #5a403a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.photo-chip em {
  color: #9a817b;
  font-style: normal;
  font-weight: 800;
}

.submit-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.submit-line .btn { min-width: 220px; }

.board {
  width: 100%;
  display: grid;
  gap: 18px;
}

.board-toolbar,
.music-toolbar {
  width: 100%;
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: rgba(255,255,255,0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(64, 32, 24, 0.08);
}

.board-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
}

.music-toolbar {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.search-box,
.music-search {
  min-width: 0;
  position: relative;
}

.search-box input,
.music-search input {
  width: 100%;
  border: 1px solid rgba(70, 45, 39, 0.13);
  border-radius: 999px;
  min-height: 48px;
  padding: 0 16px 0 42px;
  background: rgba(255,255,255,0.82);
  outline: 0;
}

.search-box::before {
  content: "⌕";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-53%);
  color: #8e716a;
  font-size: 24px;
  line-height: 1;
}

.music-search::before {
  content: "♪";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-weight: 900;
}

.select {
  border: 1px solid rgba(70, 45, 39, 0.13);
  border-radius: 999px;
  min-height: 48px;
  padding: 0 13px;
  background: rgba(255,255,255,0.82);
  outline: 0;
  color: #4e332d;
  font-weight: 800;
  letter-spacing: -0.03em;
}


.sort-menu {
  position: relative;
  min-width: 152px;
  z-index: 12;
}

.sort-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  inset: auto 0 0 auto;
}

.sort-menu-toggle {
  position: relative;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(116, 21, 42, 0.16);
  border-radius: 999px;
  padding: 0 46px 0 18px;
  color: #4e332d;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,250,244,0.9));
  box-shadow:
    0 14px 32px rgba(64, 32, 24, 0.09),
    inset 0 1px 0 rgba(255,255,255,0.88);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-align: left;
  cursor: pointer;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sort-menu-toggle:hover,
.sort-menu-toggle:focus-visible,
.sort-menu.is-open .sort-menu-toggle {
  border-color: rgba(116, 21, 42, 0.34);
  box-shadow:
    0 18px 38px rgba(64, 32, 24, 0.13),
    0 0 0 4px rgba(213, 168, 79, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.sort-menu-toggle:active {
  transform: translateY(1px);
}

.sort-menu-current {
  display: block;
  white-space: nowrap;
}

.sort-menu-arrow {
  position: absolute;
  right: 19px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(78, 51, 45, 0.72);
  border-bottom: 2px solid rgba(78, 51, 45, 0.72);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.sort-menu.is-open .sort-menu-arrow {
  border-color: var(--brand);
  transform: translateY(-35%) rotate(225deg);
}

.sort-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(116, 21, 42, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,250,244,0.96));
  box-shadow:
    0 24px 58px rgba(64, 32, 24, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.sort-menu.is-open .sort-menu-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.sort-menu-option {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  padding: 0 12px 0 13px;
  background: transparent;
  color: #5a403a;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-align: left;
  cursor: pointer;
  outline: 0;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sort-menu-option::after {
  content: "";
  width: 7px;
  height: 12px;
  flex: 0 0 auto;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  opacity: 0;
  transform: translateY(-1px) rotate(45deg);
}

.sort-menu-option:hover,
.sort-menu-option:focus-visible {
  background: rgba(116, 21, 42, 0.08);
  color: var(--brand);
}

.sort-menu-option:active {
  transform: scale(0.98);
}

.sort-menu-option.is-selected {
  background: linear-gradient(135deg, rgba(116, 21, 42, 0.12), rgba(213, 168, 79, 0.16));
  color: var(--brand);
}

.sort-menu-option.is-selected::after {
  opacity: 1;
}

.story-list,
.music-list {
  width: 100%;
  display: grid;
  gap: 14px;
}

.story-card,
.music-card {
  width: 100%;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(70, 45, 39, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(64, 32, 24, 0.08);
  padding: 24px;
  animation: pop 0.22s ease both;
}

@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.story-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.story-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.story-name strong {
  font-size: 18px;
  letter-spacing: -0.045em;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(116, 21, 42, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}


.badge.request {
  background: rgba(213, 168, 79, 0.17);
  color: #7a4d05;
}

.story-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.story-photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(70, 45, 39, 0.1);
  background: rgba(36, 24, 22, 0.05);
  box-shadow: 0 12px 24px rgba(64, 32, 24, 0.08);
}

.story-photo-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.story-photo-link:hover img {
  transform: scale(1.04);
}

.badge.lock {
  background: rgba(36, 24, 22, 0.08);
  color: #49302b;
}

.story-date {
  color: #947a74;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  padding-top: 4px;
}

.story-title {
  margin: 0 0 11px;
  font-size: 22px;
  line-height: 1.34;
  letter-spacing: -0.055em;
  color: #2d1d1a;
  word-break: break-word;
}

.story-content {
  color: #49302b;
  line-height: 1.78;
  letter-spacing: -0.03em;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.private-box {
  display: grid;
  gap: 11px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(36, 24, 22, 0.045);
  border: 1px dashed rgba(70, 45, 39, 0.2);
  color: #6d544e;
  line-height: 1.65;
  letter-spacing: -0.025em;
  font-size: 14px;
}

.story-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mini-btn {
  border: 1px solid rgba(70, 45, 39, 0.13);
  background: rgba(255,255,255,0.74);
  color: #583a33;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.mini-btn:hover {
  border-color: rgba(116, 21, 42, 0.32);
  color: var(--brand);
}

.empty {
  padding: 46px 20px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px dashed rgba(70, 45, 39, 0.22);
  background: rgba(255,255,255,0.56);
  color: #7b625d;
}

.empty strong {
  display: block;
  color: #49302b;
  font-size: 21px;
  letter-spacing: -0.045em;
  margin-bottom: 9px;
}

.music-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.track-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.music-info {
  min-width: 0;
}

.music-info strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.045em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-info span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.play-btn,
.download-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
}

.play-btn {
  background: rgba(255,255,255,0.92);
  color: var(--brand);
  border: 1px solid rgba(116, 21, 42, 0.22);
}

.play-btn:hover,
.download-btn:hover {
  transform: translateY(-1px);
}

.page-hero {
  width: min(var(--max), calc(100% - 34px));
  margin: 44px auto 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(30px, 5vw, 56px);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(255,250,244,0.96)),
    radial-gradient(circle at top right, rgba(116,21,42,0.12), transparent 38%);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
}

.page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  line-height: 1.8;
  color: #574642;
  letter-spacing: -0.035em;
  font-size: 17px;
}

.content-panel {
  width: min(var(--max), calc(100% - 34px));
  margin: 28px auto 68px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-panel h2 {
  margin: 34px 0 12px;
  font-size: 25px;
  letter-spacing: -0.055em;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel h3 {
  margin: 24px 0 10px;
  font-size: 19px;
  letter-spacing: -0.045em;
}

.content-panel p,
.content-panel li {
  color: #574642;
  line-height: 1.82;
  letter-spacing: -0.03em;
  font-size: 15.5px;
}

.content-panel ul {
  margin: 0;
  padding-left: 22px;
}

.content-panel .notice-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(116,21,42,0.07);
  border: 1px solid rgba(116,21,42,0.12);
  color: #56333a;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.info-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.68);
}

.info-card strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.045em;
  margin-bottom: 8px;
}

.info-card p {
  margin: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: #241816;
  color: #fff;
  border-radius: 999px;
  padding: 13px 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.24);
  font-size: 14px;
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 18, 16, 0.44);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop.open { display: flex; }

.modal {
  width: min(520px, 100%);
  background: #fffaf2;
  border: 1px solid rgba(70, 45, 39, 0.15);
  border-radius: 26px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.25);
  padding: 24px;
}

.modal h2 {
  margin: 0;
  letter-spacing: -0.055em;
  font-size: 25px;
}

.modal p {
  margin: 9px 0 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  letter-spacing: -0.025em;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.modal-actions .btn { flex: 1; }

.footer {
  margin-top: 70px;
  background:
    linear-gradient(145deg, rgba(33,27,28,0.98), rgba(67,19,30,0.98)),
    radial-gradient(circle at 15% 20%, rgba(213,168,79,0.18), transparent 32%);
  color: rgba(255,255,255,0.82);
}

.footer-inner {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand strong {
  font-size: 24px;
  letter-spacing: -0.055em;
  color: #fff;
}

.footer-brand p {
  margin: 0;
  max-width: 620px;
  line-height: 1.75;
  letter-spacing: -0.03em;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
  justify-items: end;
}

.footer-links a {
  color: rgba(255,255,255,0.86);
  font-weight: 800;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.11);
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
  padding: 18px 0 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; margin-top: 28px; }
  .form-row,
  .form-row.three,
  .contact-grid { grid-template-columns: 1fr; }

  .request-choice-grid { grid-template-columns: 1fr; }
  .file-upload-card { align-items: flex-start; }
  .story-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 68px;
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
  }

  .brand-title span { display: none; }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav a { padding: 8px 10px; font-size: 13px; }

  .hero, .main, .footer-inner, .footer-bottom, .topbar-inner, .page-hero, .content-panel {
    width: min(100% - 24px, var(--max));
  }

  .hero-copy, .hero-card, .panel, .board-toolbar, .story-card, .music-card { border-radius: 22px; }
  .hero-copy { padding: 28px 22px; }
  .hero-copy::before { inset: 12px; border-radius: 18px; }
  .hero-copy::after { width: 44px; height: 44px; font-size: 24px; }
  .hero-message-box { grid-template-columns: 1fr; }
  .hero-message-item { grid-template-columns: 1fr; padding: 14px; }
  .hero-message-item > span { grid-row: auto; width: 34px; height: 34px; border-radius: 12px; }
  .hero-card { padding: 20px; }
  .stat-grid, .stat-grid.three { grid-template-columns: 1fr; }
  .panel-head, .story-form { padding-left: 20px; padding-right: 20px; }
  .board-toolbar, .music-toolbar { grid-template-columns: 1fr; }
  .board-toolbar .btn, .music-toolbar .btn { width: 100%; }
  .select, .sort-menu { width: 100%; }
  .story-top { display: grid; }
  .story-date { padding-top: 0; }
  .music-card { grid-template-columns: 1fr; }
  .track-actions { width: 100%; justify-content: stretch; }
  .play-btn, .download-btn { width: 100%; }
  .submit-line .btn { width: 100%; }
}

.contact-form {
  padding: 24px 28px 28px;
  display: grid;
  gap: 15px;
}

.contact-form .field textarea {
  min-height: 230px;
}

.contact-guide {
  margin: 0;
  width: 100%;
}

.music-page-panel {
  padding-bottom: 28px;
}

.music-page-panel .music-toolbar {
  width: auto;
  margin: 24px 28px 0;
}

.music-page-panel .music-list {
  width: auto;
  margin: 18px 28px 0;
}

.video-form {
  padding: 24px 28px 28px;
  display: grid;
  gap: 15px;
}

.video-grid {
  display: grid;
  gap: 18px;
}

.video-card {
  width: 100%;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(70, 45, 39, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(64, 32, 24, 0.08);
  overflow: hidden;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(33, 27, 28, 0.12);
}

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

.video-info {
  padding: 20px 22px 22px;
}

.video-info h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.055em;
}

.video-info p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .music-page-panel .music-toolbar,
  .music-page-panel .music-list {
    margin-left: 20px;
    margin-right: 20px;
  }

  .video-form {
    padding-left: 20px;
    padding-right: 20px;
  }
}


#submitBtn {
  width: 100%;
}

#storyForm 
.field-label {
  font-size: 13px;
  font-weight: 900;
  color: #49302b;
  letter-spacing: -0.02em;
}

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

.request-choice {
  position: relative;
  cursor: pointer;
}

.request-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-choice-box {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(70, 45, 39, 0.14);
  border-radius: 20px;
  padding: 17px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,250,244,0.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.request-choice-box strong {
  color: #49302b;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.request-choice-box span {
  color: #866d67;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.request-choice input:checked + .request-choice-box {
  border-color: rgba(116, 21, 42, 0.42);
  background: linear-gradient(135deg, rgba(116, 21, 42, 0.1), rgba(213, 168, 79, 0.15));
  box-shadow: 0 14px 30px rgba(64, 32, 24, 0.1), inset 0 1px 0 rgba(255,255,255,0.82);
}

.request-choice input:focus-visible + .request-choice-box {
  box-shadow: 0 0 0 5px rgba(116, 21, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.82);
}

.request-choice:hover .request-choice-box {
  transform: translateY(-1px);
}

.file-upload-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px dashed rgba(116, 21, 42, 0.28);
  border-radius: 20px;
  padding: 17px 18px;
  background: rgba(255,255,255,0.62);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.file-upload-card:hover {
  border-color: rgba(116, 21, 42, 0.48);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 14px 32px rgba(64, 32, 24, 0.08);
  transform: translateY(-1px);
}

.file-upload-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.file-upload-card strong {
  display: block;
  color: #49302b;
  font-size: 15px;
  letter-spacing: -0.035em;
  margin-bottom: 3px;
}

.file-upload-card span span {
  display: block;
  color: #866d67;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.file-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.photo-chip,
.photo-preview-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(116, 21, 42, 0.08);
  color: #5a403a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.photo-chip em {
  color: #9a817b;
  font-style: normal;
  font-weight: 800;
}

.submit-line {
  width: 100%;
}

#storyForm .submit-line .btn {
  width: 100%;
  min-width: 0;
}

/* 제작 선택 / 사진 첨부 디자인 개선 */
#storyForm .request-field {
  position: relative;
  z-index: 5;
}

.form-select-menu {
  position: relative;
  width: 100%;
}

.form-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-select-toggle {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(116, 21, 42, 0.18);
  border-radius: 18px;
  padding: 0 16px 0 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,250,244,0.86));
  color: #49302b;
  font-weight: 900;
  letter-spacing: -0.035em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 28px rgba(64, 32, 24, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.form-select-toggle:hover,
.form-select-toggle:focus-visible,
.form-select-menu.is-open .form-select-toggle {
  border-color: rgba(116, 21, 42, 0.46);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(116, 21, 42, 0.08), 0 16px 36px rgba(64, 32, 24, 0.1);
  outline: 0;
}

.form-select-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-select-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(116, 21, 42, 0.08);
  color: var(--brand);
  transition: transform 0.18s ease, background 0.18s ease;
}

.form-select-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.form-select-menu.is-open .form-select-arrow {
  transform: rotate(180deg);
  background: rgba(116, 21, 42, 0.13);
}

.form-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(116, 21, 42, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 22px 48px rgba(64, 32, 24, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.form-select-menu.is-open .form-select-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.form-select-option {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  padding: 0 42px 0 13px;
  background: transparent;
  color: #49302b;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.form-select-option::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 12px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: translateY(-60%) rotate(45deg);
}

.form-select-option:hover,
.form-select-option:focus-visible {
  background: rgba(116, 21, 42, 0.08);
  outline: 0;
}

.form-select-option.is-selected {
  background: linear-gradient(135deg, rgba(116, 21, 42, 0.12), rgba(213, 168, 79, 0.18));
  color: var(--brand);
}

.form-select-option.is-selected::after {
  border-color: var(--brand);
}

#storyForm .photo-field {
  position: relative;
}

#storyForm .file-upload-card {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(116, 21, 42, 0.18);
  border-radius: 18px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,250,244,0.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 28px rgba(64, 32, 24, 0.06);
}

#storyForm .file-upload-card:hover {
  border-color: rgba(116, 21, 42, 0.46);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(116, 21, 42, 0.08), 0 16px 36px rgba(64, 32, 24, 0.1);
}

#storyForm .file-upload-icon {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 22px;
}

#storyForm .file-upload-text {
  flex: 0 0 auto;
  color: #49302b;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

#storyForm .file-upload-state {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #927872;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: right;
}

@media (max-width: 640px) {
  #storyForm .file-upload-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  #storyForm .file-upload-state {
    width: 100%;
    margin-left: 48px;
    text-align: left;
  }
}

/* v25 music seek player */
.music-card.is-active {
  border-color: rgba(116, 21, 42, 0.28);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,250,244,0.96)),
    radial-gradient(circle at top left, rgba(213,168,79,0.16), transparent 36%);
  box-shadow: 0 22px 50px rgba(64, 32, 24, 0.11);
}

.track-player {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 16px 18px 17px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(116, 21, 42, 0.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.track-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.track-player-label {
  color: #5c3c34;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.track-time {
  color: #8d746d;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.track-seek {
  --seek-progress: 0%;
  width: 100%;
  height: 12px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  outline: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(
    to right,
    var(--brand) 0%,
    var(--brand) var(--seek-progress),
    rgba(116, 21, 42, 0.13) var(--seek-progress),
    rgba(116, 21, 42, 0.13) 100%
  );
}

.track-seek:focus-visible {
  box-shadow: 0 0 0 4px rgba(116, 21, 42, 0.14);
}

.track-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 4px solid #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(64, 32, 24, 0.22);
}

.track-seek::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 4px solid #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(64, 32, 24, 0.22);
}

.track-seek::-moz-range-track {
  height: 12px;
  border-radius: 999px;
  background: transparent;
}

@media (max-width: 640px) {
  .track-player {
    padding: 15px;
    border-radius: 18px;
  }

  .track-player-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .track-time {
    font-size: 12px;
  }
}
