/* =========================================================
   杩涜搐浜屼腑闈掓槬涔嬪０ 路 鏍″洯鐐规瓕鍙?   Palette: paper / forest / lime / coral / sky
   ========================================================= */

:root {
  --paper: #f4efe3;
  --paper-deep: #eae2d2;
  --paper-light: #fbf8ef;
  --white: #fffdf8;
  --ink: #173f35;
  --ink-deep: #0f2f27;
  --ink-soft: #2d5145;
  --muted: #6e786c;
  --muted-light: #8a9184;
  --lime: #d9e75a;
  --lime-soft: #eaf2a9;
  --coral: #ef7658;
  --coral-deep: #d95e42;
  --sky: #b9d8e5;
  --line: rgba(23, 63, 53, 0.15);
  --line-strong: rgba(23, 63, 53, 0.3);
  --danger: #b74735;
  --shadow-soft: 0 24px 70px -30px rgba(23, 63, 53, 0.35);
  --shadow-card: 12px 12px 0 rgba(23, 63, 53, 0.07);
  --radius-lg: 30px;
  --radius-md: 22px;
  --font-sans: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --content-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(23, 63, 53, 0.16) 0.65px, transparent 0.65px),
    radial-gradient(rgba(255, 255, 255, 0.55) 0.8px, transparent 0.8px);
  background-position: 0 0, 13px 13px;
  background-size: 26px 26px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

body.admin-mode {
  padding-bottom: 80px;
}

[hidden] {
  display: none !important;
}

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

img,
svg {
  display: block;
}

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

button {
  color: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
dl,
dd,
blockquote,
figure {
  margin: 0;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

em {
  font-style: normal;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(23, 63, 53, 0.08);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(239, 118, 88, 0.62);
  outline-offset: 3px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: rgba(244, 239, 227, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 35px -30px rgba(23, 63, 53, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  width: min(var(--content-width), calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 15px;
  background: var(--ink);
  box-shadow: 4px 4px 0 rgba(217, 231, 90, 0.85);
}

.brand-record {
  position: relative;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #2b5346 0 1px, var(--ink) 2px 3px);
}

.brand-record::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
}

.brand-record i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-wave {
  position: absolute;
  top: 7px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--lime);
  border-right: 1.5px solid var(--lime);
  border-radius: 0 9px 0 0;
  opacity: 0.9;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

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

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.admin-link:hover,
.admin-link.is-admin {
  color: var(--ink);
  background: rgba(23, 63, 53, 0.08);
}

.admin-link .icon {
  width: 15px;
  height: 15px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.5);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 4px;
  width: calc(100% - 32px);
  margin: 0 auto 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.mobile-nav a,
.mobile-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.mobile-nav a span,
.mobile-nav button span {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mobile-nav a:hover,
.mobile-nav button:hover {
  background: var(--paper);
}

/* =========================================================
   Buttons & links
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.22s ease;
}

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

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 10px 24px -14px rgba(239, 118, 88, 0.9);
}

.btn-primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 14px 30px -14px rgba(217, 94, 66, 0.9);
}

.btn-dark {
  color: var(--paper);
  background: var(--ink);
}

.btn-dark:hover {
  background: var(--ink-deep);
  box-shadow: 0 12px 24px -16px rgba(15, 47, 39, 0.9);
}

.btn-lime {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 12px 26px -18px rgba(217, 231, 90, 0.9);
}

.btn-lime:hover {
  background: #e4f075;
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  color: var(--paper);
  background: var(--ink);
}

.btn-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-quiet:hover {
  background: rgba(23, 63, 53, 0.06);
}

.btn-sm {
  min-height: 40px;
  padding: 0 17px;
  font-size: 12.5px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 14.5px;
}

.btn-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 2px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  border-color: var(--coral);
  color: var(--coral-deep);
}

.text-link .icon {
  width: 14px;
  height: 14px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-btn:hover {
  border-color: var(--coral);
  color: var(--coral-deep);
}

.link-btn .icon {
  width: 14px;
  height: 14px;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(450px, 0.97fr);
  align-items: center;
  gap: 42px;
  width: min(var(--content-width), calc(100% - 64px));
  min-height: 660px;
  margin: 0 auto;
  padding: 54px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: fade-up 0.75s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.on-dark {
  color: rgba(244, 239, 227, 0.55);
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  animation: ping 2.1s ease-out infinite;
}

.hero-eyebrow {
  color: var(--ink-soft);
  font-size: 10.5px;
}

.hero h1 {
  max-width: 650px;
  margin-top: 25px;
  font-size: clamp(50px, 5.8vw, 79px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.hero-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1.5%;
  right: -2%;
  bottom: 4%;
  height: 0.25em;
  border-radius: 999px 20px 999px 30px;
  background: var(--lime);
  transform: rotate(-1.2deg);
}

.hero-lead {
  max-width: 480px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  min-width: 105px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.hero-stats > div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero-stats dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 3px;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.hero-stats dd span {
  font-variant-numeric: tabular-nums;
}

.hero-stats dd small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

/* ----- Hero artwork ----- */

.hero-art {
  position: relative;
  width: 100%;
  max-width: 570px;
  aspect-ratio: 1 / 1.07;
  margin-left: auto;
  animation: fade-up 0.85s 0.12s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.art-blob {
  position: absolute;
  top: 6%;
  right: 1%;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 63, 53, 0.3);
  border-radius: 47% 53% 58% 42% / 52% 42% 58% 48%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.4), transparent 45%),
    var(--lime);
  box-shadow:
    inset -24px -28px 50px rgba(112, 129, 35, 0.14),
    0 30px 70px -40px rgba(23, 63, 53, 0.5);
  transform: rotate(-4deg);
}

.art-blob::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(23, 63, 53, 0.11);
  border-radius: inherit;
}

.art-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.art-ring-one {
  top: -2%;
  left: 8%;
  width: 86%;
  aspect-ratio: 1;
  border: 1.5px dashed rgba(23, 63, 53, 0.22);
  animation: spin 70s linear infinite;
}

.art-ring-two {
  top: 8%;
  left: 18%;
  width: 67%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 63, 53, 0.12);
}

.art-dots {
  position: absolute;
  top: 4%;
  left: 1%;
  width: 88px;
  height: 88px;
  opacity: 0.55;
  background-image: radial-gradient(var(--ink) 1.3px, transparent 1.3px);
  background-size: 12px 12px;
}

.record-wrap {
  position: absolute;
  z-index: 2;
  top: 15.5%;
  left: 17%;
  width: 68%;
  aspect-ratio: 1;
}

.record {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, #285044 0 1px, var(--ink) 1.5px 4px, #14382e 4.5px 6px);
  box-shadow:
    0 38px 60px -30px rgba(15, 47, 39, 0.8),
    inset 0 0 0 8px rgba(255, 255, 255, 0.03);
  animation: spin 26s linear infinite;
}

.record::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.record-shine {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    transparent 0deg 42deg,
    rgba(255, 255, 255, 0.12) 62deg,
    transparent 90deg 205deg,
    rgba(255, 255, 255, 0.07) 225deg,
    transparent 250deg
  );
}

.record-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 36%;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(23, 63, 53, 0.55);
  border-radius: 50%;
  color: var(--ink);
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.65), transparent 38%),
    var(--lime);
  transform: translate(-50%, -50%);
}

.record-label::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px dashed rgba(23, 63, 53, 0.38);
  border-radius: 50%;
}

.record-label span {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(11px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1;
}

.record-label strong {
  position: relative;
  margin-top: 3px;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.record-label small {
  position: relative;
  margin-top: 4px;
  font-size: clamp(5px, 0.65vw, 8px);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.record-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
}

.record-shadow {
  position: absolute;
  z-index: -1;
  bottom: -7%;
  left: 8%;
  width: 84%;
  height: 12%;
  border-radius: 50%;
  background: rgba(23, 63, 53, 0.17);
  filter: blur(13px);
}

.onair-badge {
  position: absolute;
  z-index: 6;
  top: 2%;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 13px;
  border: 1px solid rgba(217, 231, 90, 0.4);
  border-radius: 999px;
  color: var(--lime);
  background: var(--ink);
  box-shadow: 0 8px 20px -14px rgba(15, 47, 39, 0.8);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.onair-dot {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.onair-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  animation: ping 2s ease-out infinite;
}

.now-card {
  position: absolute;
  z-index: 5;
  bottom: 8.5%;
  left: -1%;
  width: 66%;
  padding: 19px 21px 17px;
  border: 1.5px solid var(--ink);
  border-radius: 21px;
  background: var(--white);
  box-shadow: 8px 9px 0 rgba(23, 63, 53, 0.13);
  transform: rotate(-2.1deg);
}

.now-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.equalizer {
  display: flex;
  height: 13px;
  align-items: flex-end;
  gap: 2px;
}

.equalizer i {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--coral);
  animation: equalize 0.8s ease-in-out infinite alternate;
}

.equalizer i:nth-child(1) { height: 42%; animation-delay: -0.4s; }
.equalizer i:nth-child(2) { height: 82%; animation-delay: -0.1s; }
.equalizer i:nth-child(3) { height: 58%; animation-delay: -0.55s; }
.equalizer i:nth-child(4) { height: 100%; animation-delay: -0.25s; }
.equalizer i:nth-child(5) { height: 66%; animation-delay: -0.7s; }

.now-card > strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.now-card > p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}

.now-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 650;
}

.now-live {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--lime);
  font-size: 6.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.note-card {
  position: absolute;
  z-index: 4;
  top: 6.5%;
  left: 0;
  width: 40%;
  padding: 14px 16px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 14px 14px 14px 3px;
  background: var(--paper-light);
  box-shadow: 4px 5px 0 rgba(23, 63, 53, 0.08);
  transform: rotate(-5deg);
}

.note-quote {
  position: absolute;
  top: 3px;
  right: 10px;
  color: var(--coral);
  font-family: var(--font-serif);
  font-size: 35px;
  line-height: 1;
}

.note-card p {
  font-size: clamp(10px, 1.15vw, 13px);
  font-weight: 750;
  line-height: 1.55;
}

.note-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: clamp(6px, 0.72vw, 8.5px);
}

.song-sticker {
  position: absolute;
  z-index: 6;
  right: 1%;
  bottom: 4%;
  display: flex;
  width: clamp(66px, 8vw, 90px);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1.5px solid var(--ink);
  border-radius: 49% 44% 52% 46%;
  color: var(--paper);
  background: var(--coral);
  box-shadow: 4px 5px 0 rgba(23, 63, 53, 0.16);
  line-height: 1;
  transform: rotate(11deg);
}

.song-sticker::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 25px;
  height: 9px;
  border: 1px solid rgba(23, 63, 53, 0.2);
  background: rgba(255, 253, 248, 0.6);
  transform: translateX(-50%) rotate(-4deg);
}

.song-sticker span {
  font-size: clamp(8px, 0.9vw, 10px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.song-sticker strong {
  margin-top: 4px;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 900;
}

.art-caption {
  position: absolute;
  bottom: 1.5%;
  left: 2%;
  color: var(--muted-light);
  font-size: 6.5px;
  font-weight: 750;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

/* =========================================================
   Ticker
   ========================================================= */

.ticker {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  transform: rotate(-0.35deg);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  padding: 11px 0;
  animation: marquee 32s linear infinite;
}

.ticker-track span {
  padding: 0 19px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.ticker-track i {
  color: var(--lime);
  font-size: 9px;
}

/* =========================================================
   Sections & schedule
   ========================================================= */

.section {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-intro-copy {
  max-width: 640px;
}

.section-index {
  display: inline-flex;
  width: 25px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--ink);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.on-dark .section-index {
  border-color: rgba(244, 239, 227, 0.28);
  color: var(--lime);
}

.section h2 {
  margin-top: 13px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.section-intro-copy > p:last-child {
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.marker-underline {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.marker-underline::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: -2%;
  bottom: 2%;
  height: 0.22em;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-0.8deg);
}

.week-card {
  flex: 0 0 auto;
  width: 254px;
  padding: 19px 21px 17px;
  border: 1.5px solid var(--ink);
  border-radius: 19px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--lime);
  transform: rotate(1.2deg);
  transition: transform 0.25s ease;
}

.week-card:hover {
  transform: rotate(0.3deg) translateY(-2px);
}

.week-card-label {
  display: block;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.week-card strong {
  display: block;
  margin-top: 4px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.week-card-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9.5px;
}

.week-card-note i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.schedule-board {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 23px 30px;
  color: var(--paper);
  background: var(--ink);
}

.board-kicker {
  color: rgba(244, 239, 227, 0.5);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.board-head h3 {
  margin-top: 2px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.board-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(244, 239, 227, 0.65);
  font-size: 10px;
}

.board-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.is-filled {
  background: var(--lime);
}

.legend-dot.is-empty {
  border: 1px solid rgba(244, 239, 227, 0.6);
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.day-tab {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 11px;
  border: 1.5px solid transparent;
  border-radius: 15px;
  background: transparent;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.day-tab:hover {
  background: rgba(255, 253, 248, 0.55);
}

.day-tab.is-active {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(23, 63, 53, 0.12);
}

.day-tab-top {
  display: flex;
  align-items: center;
  gap: 7px;
}

.day-tab-top strong {
  font-size: 14px;
  font-weight: 850;
}

.day-tab-top em {
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--lime);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.day-tab-date {
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.day-tab-free {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.day-tab-free i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.day-tab.is-full .day-tab-free i {
  background: var(--ink);
}

.day-panel {
  padding: 28px 30px 26px;
}

.day-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 21px;
  border-bottom: 1px dashed var(--line);
}

.day-title-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
}

.day-number {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.day-title-wrap h3 {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.day-title-wrap p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.availability {
  width: 220px;
  flex: 0 0 auto;
}

.availability-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 9.5px;
}

.availability-label strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.availability-track {
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-deep);
}

.availability-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), #f6a47e);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slot-list {
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.slot-row {
  display: grid;
  grid-template-columns: 102px 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 98px;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-light);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.slot-row.is-filled:hover {
  border-color: var(--line-strong);
}

.slot-row.is-empty {
  border-style: dashed;
  background: rgba(244, 239, 227, 0.42);
  cursor: pointer;
}

.slot-row.is-empty:hover {
  border-color: var(--ink);
  background: rgba(234, 242, 169, 0.2);
  transform: translateX(2px);
}

.slot-time {
  display: flex;
  align-self: stretch;
  justify-content: center;
  flex-direction: column;
  padding-right: 13px;
  border-right: 1px solid var(--line);
}

.slot-time strong {
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.slot-time span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.slot-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.slot-marker::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  transition: background 0.2s ease;
}

.slot-row.is-filled .slot-marker::before {
  background: var(--coral);
}

.slot-body {
  min-width: 0;
}

.slot-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.slot-name {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.status-pill {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.status-pill.is-filled {
  color: var(--ink);
  background: var(--lime-soft);
}

.status-pill.is-empty {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.song-title {
  overflow: hidden;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-artist {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.slot-meta .dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.slot-note {
  overflow: hidden;
  max-width: 540px;
  margin-top: 4px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-title {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.empty-copy {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.slot-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.slot-action-btn {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.slot-action-btn:hover {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.slot-action-btn .icon {
  width: 12px;
  height: 12px;
}

.slot-action-btn.is-request {
  border-color: var(--ink);
  background: transparent;
}

.slot-action-btn.is-request:hover {
  color: var(--ink);
  background: var(--lime);
}

.slot-booked {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ----- Programme periods & song positions ----- */

.board-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 2px;
}

.board-title-line h3 {
  margin-top: 0;
}

.capacity-badge {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(217, 231, 90, 0.35);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(217, 231, 90, 0.08);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.slot-list {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.period-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.48);
}

.period-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(234, 226, 210, 0.55), rgba(255, 253, 248, 0.15));
}

.period-time {
  display: flex;
  min-width: 83px;
  flex: 0 0 auto;
  flex-direction: column;
  padding-right: 15px;
  border-right: 1px solid var(--line);
}

.period-time strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.period-time span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.period-copy {
  min-width: 0;
  flex: 1;
}

.period-copy h3 {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.period-copy p {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9.5px;
}

.period-progress {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.period-progress strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.period-bar {
  display: block;
  width: 78px;
  height: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-deep);
}

.period-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), #f6a47e);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.song-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 12px;
}

.song-slot {
  display: flex;
  min-width: 0;
  min-height: 168px;
  flex-direction: column;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.song-slot.is-filled:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.song-slot.is-empty {
  border-style: dashed;
  background: rgba(244, 239, 227, 0.36);
  cursor: pointer;
}

.song-slot.is-empty:hover {
  border-color: var(--ink);
  background: rgba(234, 242, 169, 0.2);
  transform: translateY(-2px);
}

.song-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.track-no {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.song-slot .status-pill {
  font-size: 7px;
}

.song-slot-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.song-slot-artist {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-slot-meta {
  overflow: hidden;
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-slot-note {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 9.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.song-empty-body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 10px 0;
}

.empty-plus {
  display: grid;
  width: 27px;
  height: 27px;
  margin-bottom: 7px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.song-slot .empty-title {
  font-size: 12.5px;
}

.song-slot .empty-copy {
  font-size: 9px;
}

.song-slot-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 10px;
}

.song-slot .slot-action-btn {
  min-height: 28px;
  padding: 0 10px;
  font-size: 8px;
}

.song-slot.is-empty .slot-action-btn {
  border-color: var(--ink);
  background: transparent;
}

.song-slot.is-empty .slot-action-btn:hover {
  color: var(--ink);
  background: var(--lime);
}

.song-slot .slot-booked {
  font-size: 8px;
}

.schedule-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}

.schedule-footer > p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.schedule-footer > p .icon {
  width: 14px;
  height: 14px;
  color: var(--coral);
}

/* =========================================================
   About / how it works
   ========================================================= */

.how-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(44px, 6vw, 84px);
  padding-top: 40px;
  padding-bottom: 110px;
}

.how-quote {
  position: relative;
  display: flex;
  min-height: 560px;
  overflow: hidden;
  flex-direction: column;
  padding: 44px 42px 40px;
  border-radius: var(--radius-lg);
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 15%, rgba(217, 231, 90, 0.12), transparent 26%),
    var(--ink);
  box-shadow: var(--shadow-soft);
}

.how-quote blockquote {
  position: relative;
  z-index: 2;
  margin-top: 66px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.65;
}

.quote-copy {
  position: relative;
  z-index: 2;
  max-width: 350px;
  margin-top: 26px;
  color: rgba(244, 239, 227, 0.6);
  font-size: 12.5px;
  line-height: 1.9;
}

.quote-meta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 35px;
  margin-top: auto;
  padding-top: 34px;
}

.quote-meta span {
  color: rgba(244, 239, 227, 0.5);
  font-size: 10px;
}

.quote-meta strong {
  display: block;
  color: var(--lime);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.quote-waves {
  position: absolute;
  right: -10px;
  bottom: 55px;
  left: -10px;
  display: flex;
  height: 68px;
  align-items: flex-end;
  gap: 7px;
  opacity: 0.24;
  pointer-events: none;
}

.quote-waves i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--lime);
  animation: wave 2.8s ease-in-out infinite alternate;
}

.quote-waves i:nth-child(3n) { height: 30%; animation-delay: -1.4s; }
.quote-waves i:nth-child(3n + 1) { height: 70%; animation-delay: -0.7s; }
.quote-waves i:nth-child(3n + 2) { height: 48%; animation-delay: -2.1s; }

.quote-stamp {
  position: absolute;
  top: 36px;
  right: 35px;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px dashed var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  transform: rotate(9deg);
}

.how-content {
  padding-top: 28px;
}

.how-content h2 {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.3;
}

.steps {
  display: grid;
  margin-top: 28px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-no {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.step h3 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.station-note {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.5);
}

.station-note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--lime);
}

.station-note-icon .icon {
  width: 16px;
  height: 16px;
}

.station-note strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.station-note p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.75;
}

.how-content .btn {
  margin-top: 23px;
}

/* =========================================================
   Closing CTA
   ========================================================= */

.closing-cta {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto 100px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.closing-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  padding: 58px 62px;
}

.closing-inner > div {
  position: relative;
  z-index: 2;
}

.closing-inner h2 {
  margin-top: 13px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.closing-action {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-left: 20px;
}

.closing-action p {
  max-width: 330px;
  color: rgba(244, 239, 227, 0.62);
  font-size: 12.5px;
  line-height: 1.9;
}

.closing-action .btn {
  margin-top: 22px;
}

.closing-vinyl {
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #244b3f 0 1px, var(--ink-deep) 2px 5px);
  opacity: 0.55;
  animation: spin 44s linear infinite;
}

.closing-vinyl::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%);
}

.closing-vinyl span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 28px;
  border-top: 1px solid var(--line-strong);
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  box-shadow: 3px 3px 0 rgba(217, 231, 90, 0.8);
}

.footer-tagline {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.footer-nav a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 9.5px;
}

.footer-data-note {
  margin-left: auto;
}

.footer-admin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 9.5px;
}

.footer-admin:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.footer-admin .icon {
  width: 12px;
  height: 12px;
}

/* =========================================================
   Dialogs
   ========================================================= */

.modal {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  overflow: auto;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.modal[open] {
  display: grid;
  place-items: center;
}

.modal::backdrop {
  background: rgba(11, 32, 26, 0.63);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fade-in 0.25s ease both;
}

.modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.65);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: var(--paper);
  background: var(--ink);
  transform: rotate(5deg);
}

.modal-close .icon {
  width: 16px;
  height: 16px;
}

.request-sheet {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.45);
  animation: modal-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.request-aside {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 35px 38px 30px;
  color: var(--paper);
  background:
    radial-gradient(circle at 30% 0%, rgba(217, 231, 90, 0.16), transparent 33%),
    var(--ink);
}

.request-aside::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: 6%;
  width: 105%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 227, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(244, 239, 227, 0.025),
    0 0 0 70px rgba(244, 239, 227, 0.02);
  pointer-events: none;
}

.request-aside-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(244, 239, 227, 0.38);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.aside-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}

.aside-brand i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.request-aside h2 {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.55;
}

.request-aside > p {
  position: relative;
  z-index: 2;
  max-width: 300px;
  margin-top: 19px;
  color: rgba(244, 239, 227, 0.55);
  font-size: 10.5px;
  line-height: 1.9;
}

.request-steps {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.request-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid rgba(244, 239, 227, 0.12);
  color: rgba(244, 239, 227, 0.72);
  font-size: 9.5px;
}

.request-steps li:last-child {
  border-bottom: 1px solid rgba(244, 239, 227, 0.12);
}

.request-steps span {
  color: var(--lime);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.aside-record {
  position: relative;
  z-index: 1;
  width: 150px;
  aspect-ratio: 1;
  margin: auto auto 18px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #2a5044 0 1px, var(--ink-deep) 2px 5px);
  box-shadow: 20px 26px 40px -24px rgba(0, 0, 0, 0.8);
  animation: spin 30s linear infinite;
}

.aside-record::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
}

.aside-record span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
}

.aside-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(244, 239, 227, 0.35);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.request-content {
  position: relative;
  max-height: calc(100vh - 48px);
  padding: 35px 45px 38px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
}

.request-content > .modal-close {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
}

.modal-heading {
  padding-right: 50px;
}

.modal-kicker {
  color: var(--coral-deep);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.modal-heading h2,
.success-view > h2,
.small-modal h2,
.requests-head h2 {
  margin-top: 5px;
  font-size: clamp(27px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.22;
}

.modal-heading > p:last-child {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.modal-heading em {
  color: var(--coral);
}

#requestForm {
  display: grid;
  gap: 15px;
  margin-top: 23px;
}

.form-row {
  display: grid;
  gap: 13px;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
}

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

.field-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.field-label em {
  color: var(--coral);
}

.field-label small {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 500;
}

.field-label-row {
  justify-content: space-between;
  gap: 12px;
}

.field-label-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
}

.char-count {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--paper-light);
  font-size: 12.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input,
.field select {
  height: 43px;
  padding: 0 13px;
}

.field textarea {
  min-height: 83px;
  padding: 11px 13px;
  line-height: 1.7;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 18px,
    calc(100% - 11px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a6aa9e;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(217, 231, 90, 0.32);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
  background: #fff8f5;
}

.choice-field {
  display: grid;
  gap: 7px;
}

.choice-field legend {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 750;
}

.choice-field legend em {
  color: var(--coral);
}

.day-choice {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

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

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

.choice-pill > span {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-light);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.choice-pill strong {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.choice-pill small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 500;
}

.choice-pill:hover > span {
  border-color: var(--line-strong);
}

.choice-pill input:checked + span {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
  box-shadow: 3px 3px 0 rgba(217, 231, 90, 0.85);
  transform: translate(-1px, -1px);
}

.choice-pill input:checked + span small {
  color: rgba(244, 239, 227, 0.65);
}

.choice-pill input:focus-visible + span {
  outline: 3px solid rgba(239, 118, 88, 0.55);
  outline-offset: 2px;
}

.slot-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.slot-option {
  position: relative;
  cursor: pointer;
}

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

.slot-option-card {
  display: flex;
  min-height: 53px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-light);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.slot-option-card:hover {
  border-color: var(--line-strong);
}

.slot-option-time {
  display: grid;
  width: 41px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper-deep);
  font-size: 8.5px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.slot-option-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.slot-option-copy strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-option-state {
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 550;
}

.slot-option-state.is-busy {
  color: var(--coral-deep);
}

.slot-option-card::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
}

.slot-option input:checked + .slot-option-card {
  border-color: var(--ink);
  background: rgba(234, 242, 169, 0.35);
  box-shadow: 2px 2px 0 rgba(23, 63, 53, 0.15);
}

.slot-option input:checked + .slot-option-card::after {
  border-color: var(--ink);
  background:
    radial-gradient(circle at center, var(--ink) 0 3px, transparent 3.5px),
    var(--lime);
}

.slot-option input:focus-visible + .slot-option-card {
  outline: 3px solid rgba(239, 118, 88, 0.55);
  outline-offset: 2px;
}

.choice-hint {
  min-height: 15px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.choice-hint.is-busy {
  color: var(--coral-deep);
}

.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.form-agreement .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--coral);
}

.form-error {
  display: none;
  margin: -3px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(183, 71, 53, 0.25);
  border-radius: 8px;
  color: var(--danger);
  background: rgba(183, 71, 53, 0.06);
  font-size: 10px;
  line-height: 1.6;
}

.form-error.is-visible {
  display: block;
}

#requestForm .btn-submit {
  margin-top: 1px;
}

/* Success ticket */

.success-view {
  padding: 34px 0 10px;
  text-align: center;
  animation: fade-up 0.4s ease both;
}

.success-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 5px 5px 0 rgba(23, 63, 53, 0.13);
}

.success-mark .icon {
  width: 27px;
  height: 27px;
  stroke-width: 2.3;
}

.success-view > h2 {
  margin-top: 7px;
  font-size: clamp(31px, 3vw, 40px);
}

.success-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
}

.success-lead strong {
  margin-left: 5px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ticket {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 410px;
  margin: 25px auto 0;
  padding: 8px 20px 14px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 15px;
  background: var(--paper-light);
  text-align: left;
}

.ticket-notch {
  position: absolute;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  transform: translateY(-50%);
}

.ticket-notch-left {
  left: -10px;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ticket-notch-right {
  right: -10px;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.ticket-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.ticket-row > span {
  color: var(--muted);
  font-size: 8.5px;
}

.ticket-row > strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-row > small {
  color: var(--muted);
  font-size: 8px;
}

.ticket-status strong {
  color: var(--coral-deep);
  font-size: 10px;
}

.ticket-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--coral);
  animation: blink 1.8s ease-in-out infinite;
}

.ticket-dash {
  margin: 9px 0 8px;
  border-top: 1px dashed var(--line);
}

.ticket > p {
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.6;
  text-align: center;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 23px;
}

.success-actions .btn {
  min-height: 42px;
  padding: 0 20px;
  font-size: 11.5px;
}

/* Small modal */

.small-modal .modal-card {
  position: relative;
  width: min(458px, 100%);
  max-height: calc(100vh - 48px);
  padding: 35px 38px 31px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.45);
  animation: modal-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.small-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.small-modal .modal-kicker {
  margin-top: 19px;
}

.small-modal h2 {
  padding-right: 30px;
  font-size: 28px;
}

.modal-sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.admin-lock {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--lime);
  box-shadow: 4px 4px 0 rgba(23, 63, 53, 0.1);
}

.admin-lock .icon {
  width: 22px;
  height: 22px;
}

#adminLoginForm {
  display: grid;
  gap: 13px;
  margin-top: 21px;
}

.password-wrap {
  position: relative;
  display: block;
}

.password-wrap input {
  padding-right: 56px;
}

.password-wrap button {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 8.5px;
  transform: translateY(-50%);
}

.password-wrap button:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.admin-hint {
  margin-top: 17px;
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}

.admin-hint code {
  color: var(--ink-soft);
  background: var(--paper-deep);
}

/* Slot editor */

.slot-modal .modal-card {
  width: min(620px, 100%);
}

.slot-modal-head {
  padding-right: 40px;
}

.slot-modal-head .modal-kicker {
  margin-top: 0;
}

.slot-modal-head .modal-sub {
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 650;
}

#slotForm {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.editor-hint {
  min-height: 16px;
  margin-top: -3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.65;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.action-spacer {
  flex: 1;
}

.modal-actions .btn {
  min-height: 41px;
  padding: 0 17px;
  font-size: 11px;
}

.btn-text-danger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border: 0;
  color: var(--danger);
  background: transparent;
  font-size: 9px;
  font-weight: 650;
}

.btn-text-danger .icon {
  width: 13px;
  height: 13px;
}

.btn-text-danger:hover {
  text-decoration: underline;
}

/* Requests inbox */

.requests-dialog {
  padding: 24px;
}

.requests-sheet {
  display: flex;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 27px;
  background: var(--paper);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
  animation: modal-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.requests-head {
  position: relative;
  padding: 28px 32px 25px;
  color: var(--paper);
  background:
    radial-gradient(circle at 95% 0%, rgba(217, 231, 90, 0.14), transparent 30%),
    var(--ink);
}

.requests-head .modal-kicker {
  color: var(--lime);
}

.requests-head h2 {
  margin-top: 3px;
  font-size: 30px;
}

.requests-head .modal-sub {
  max-width: 450px;
  color: rgba(244, 239, 227, 0.55);
}

.requests-head .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border-color: rgba(244, 239, 227, 0.2);
  color: var(--paper);
  background: rgba(244, 239, 227, 0.07);
}

.requests-head .modal-close:hover {
  color: var(--ink);
  background: var(--lime);
}

.request-filters {
  display: flex;
  gap: 6px;
  padding: 14px 22px 0;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 33px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 9.5px;
  font-weight: 700;
}

.filter-btn span {
  display: grid;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper-deep);
  font-size: 7px;
}

.filter-btn.is-active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.filter-btn.is-active span {
  color: var(--ink);
  background: var(--lime);
}

.requests-list {
  display: grid;
  gap: 10px;
  padding: 14px 22px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.request-card {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 24px -24px rgba(23, 63, 53, 0.5);
}

.request-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.request-card-id {
  color: var(--muted-light);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.request-status {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 800;
}

.request-status.is-pending {
  color: var(--coral-deep);
  background: rgba(239, 118, 88, 0.12);
}

.request-status.is-scheduled {
  color: var(--ink);
  background: var(--lime-soft);
}

.request-status.is-rejected {
  color: var(--muted);
  background: var(--paper-deep);
}

.request-song {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.request-artist {
  color: var(--muted);
  font-size: 10.5px;
}

.request-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9.5px;
}

.request-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.request-card-meta .icon {
  width: 11px;
  height: 11px;
  color: var(--muted-light);
}

.request-message {
  margin-top: 7px;
  padding: 8px 10px;
  border-left: 2px solid var(--lime);
  color: var(--ink-soft);
  background: var(--paper-light);
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1.65;
}

.request-card-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.request-card-actions .btn {
  min-height: 31px;
  padding: 0 12px;
  font-size: 9.5px;
}

.request-card-actions .btn .icon {
  width: 12px;
  height: 12px;
}

.request-card-actions .btn-quiet {
  border-color: transparent;
  color: var(--muted);
}

.request-card-actions .btn-quiet:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.requests-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.requests-empty .icon {
  width: 31px;
  height: 31px;
  margin: 0 auto 9px;
  color: var(--muted-light);
}

.requests-empty strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.requests-empty p {
  margin-top: 3px;
  font-size: 9px;
}

/* Admin dock */

.admin-dock {
  position: fixed;
  z-index: 90;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(217, 231, 90, 0.45);
  border-radius: 17px;
  color: var(--paper);
  background: rgba(15, 47, 39, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 55px -20px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  animation: dock-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.admin-dock-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-dock-dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
}

.admin-dock-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  animation: ping 2.3s ease-out infinite;
}

.admin-dock-status div {
  display: grid;
  line-height: 1.35;
}

.admin-dock-status strong {
  font-size: 10.5px;
  font-weight: 800;
}

.admin-dock-status span {
  color: rgba(244, 239, 227, 0.45);
  font-size: 7.5px;
}

.admin-dock-actions {
  display: flex;
  gap: 3px;
  padding-left: 15px;
  border-left: 1px solid rgba(244, 239, 227, 0.15);
}

.admin-dock-actions button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  color: rgba(244, 239, 227, 0.7);
  background: transparent;
  font-size: 8.5px;
  font-weight: 650;
}

.admin-dock-actions button:hover {
  color: var(--ink);
  background: var(--lime);
}

.admin-dock-actions .icon {
  width: 13px;
  height: 13px;
}

.dock-badge {
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--coral);
  font-size: 6.5px;
  font-weight: 850;
}

.admin-dock-actions button:hover .dock-badge {
  background: var(--paper);
}

/* Toast */

.toast {
  position: fixed;
  z-index: 300;
  bottom: 28px;
  left: 50%;
  display: flex;
  max-width: min(420px, calc(100vw - 32px));
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(217, 231, 90, 0.35);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast[popover] {
  inset: auto;
  bottom: 28px;
  left: 50%;
  margin: 0;
  border: 1px solid rgba(217, 231, 90, 0.35);
  overflow: visible;
  transform: translateX(-50%);
}

.toast[popover]:not(:popover-open) {
  display: none;
}

.toast[popover]:popover-open {
  opacity: 1;
  transform: translateX(-50%);
}

body.admin-mode .toast,
body.admin-mode .toast[popover] {
  bottom: 94px;
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dock-in {
  from { opacity: 0; transform: translate(-50%, 18px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes ping {
  0% { opacity: 0.8; transform: scale(0.7); }
  70%, 100% { opacity: 0; transform: scale(1.8); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes equalize {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1); }
}

@keyframes wave {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .header-inner,
  .hero-inner,
  .section,
  .closing-cta,
  .site-footer {
    width: min(var(--content-width), calc(100% - 48px));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.95fr);
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(48px, 5.9vw, 68px);
  }

  .hero-stats > div {
    min-width: 92px;
    padding-right: 21px;
    margin-right: 21px;
  }

  .now-card {
    width: 67%;
  }
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 21px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(52px, 8.3vw, 82px);
  }

  .hero-lead {
    max-width: 540px;
  }

  .hero-art {
    max-width: 520px;
    margin: 10px auto 0;
  }

  .section-intro {
    align-items: flex-start;
  }

  .how-section {
    gap: 40px;
  }

  .how-quote {
    padding: 38px 34px 34px;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-inner {
    gap: 16px;
  }

  .how-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .how-quote {
    min-height: 470px;
  }

  .how-quote blockquote {
    margin-top: 46px;
  }

  .how-content {
    padding-top: 0;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 45px 42px;
  }

  .closing-action {
    padding-left: 0;
  }

  .closing-vinyl {
    right: -160px;
    bottom: -190px;
  }

  .request-sheet {
    grid-template-columns: 1fr;
    width: min(650px, 100%);
  }

  .request-aside {
    display: none;
  }

  .request-content {
    max-height: calc(100vh - 48px);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 86px;
  }

  .header-inner,
  .hero-inner,
  .section,
  .closing-cta,
  .site-footer {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 6.5px;
  }

  .admin-link {
    width: 36px;
    min-height: 36px;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 253, 248, 0.55);
  }

  .admin-link span {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding: 38px 0 58px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(36px, 11.4vw, 64px);
    letter-spacing: -0.07em;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 13.5px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    margin-top: 33px;
    padding-top: 18px;
  }

  .hero-stats > div {
    min-width: 0;
    flex: 1;
    padding-right: 15px;
    margin-right: 15px;
  }

  .hero-stats dd {
    font-size: 27px;
  }

  .hero-art {
    max-width: 430px;
    margin-top: 8px;
  }

  .record-label span {
    font-size: 11px;
  }

  .record-label small {
    font-size: 5.5px;
  }

  .now-card {
    bottom: 6%;
    left: 1%;
    width: 69%;
    padding: 14px 15px 12px;
    border-radius: 16px;
  }

  .now-card > strong {
    font-size: 20px;
  }

  .now-card > p {
    font-size: 9.5px;
  }

  .now-bottom {
    margin-top: 8px;
    padding-top: 7px;
    font-size: 7px;
  }

  .note-card {
    width: 39%;
    padding: 10px 11px;
  }

  .note-card p {
    font-size: 9px;
  }

  .note-card small {
    font-size: 6px;
  }

  .song-sticker {
    width: 61px;
  }

  .onair-badge {
    min-height: 27px;
    padding: 0 10px;
    font-size: 6.5px;
  }

  .ticker-track {
    padding: 9px 0;
  }

  .ticker-track span {
    padding: 0 13px;
    font-size: 8px;
  }

  .section {
    padding: 70px 0;
  }

  .section-intro {
    flex-direction: column;
    gap: 23px;
    margin-bottom: 24px;
  }

  .section h2 {
    font-size: 34px;
  }

  .section-intro-copy > p:last-child {
    font-size: 12px;
  }

  .week-card {
    width: 100%;
    transform: none;
  }

  .week-card:hover {
    transform: translateY(-2px);
  }

  .schedule-board {
    border-radius: 22px;
  }

  .board-head {
    padding: 19px 20px;
  }

  .board-head h3 {
    font-size: 18px;
  }

  .board-legend {
    gap: 11px;
    font-size: 8px;
  }

  .day-tabs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 8px;
    scrollbar-width: none;
  }

  .day-tabs::-webkit-scrollbar {
    display: none;
  }

  .day-tab {
    min-width: 104px;
    flex: 1 0 104px;
    scroll-snap-align: start;
    padding: 10px 11px;
  }

  .day-tab-top strong {
    font-size: 12.5px;
  }

  .day-panel {
    padding: 20px 14px 16px;
  }

  .day-overview {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 0 3px 17px;
  }

  .day-number {
    width: 41px;
    height: 41px;
    font-size: 18px;
  }

  .day-title-wrap h3 {
    font-size: 17px;
  }

  .availability {
    width: 100%;
  }

  .slot-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 91px;
    padding: 12px 11px;
    border-radius: 15px;
  }

  .slot-time {
    padding-right: 8px;
  }

  .slot-time strong {
    font-size: 14px;
  }

  .slot-time span {
    font-size: 7px;
  }

  .slot-marker {
    display: none;
  }

  .song-title {
    font-size: 15px;
  }

  .empty-title {
    font-size: 12.5px;
  }

  .empty-copy {
    font-size: 8.5px;
  }

  .slot-note {
    font-size: 9px;
  }

  .slot-action-btn {
    padding: 0 9px;
    font-size: 8px;
  }

  .slot-action-btn .icon {
    display: none;
  }

  .slot-booked {
    font-size: 7px;
  }

  .schedule-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .schedule-footer > p {
    font-size: 9px;
  }

  .how-section {
    padding-top: 10px;
    padding-bottom: 72px;
  }

  .how-quote {
    min-height: 440px;
    padding: 32px 27px 28px;
    border-radius: 22px;
  }

  .how-quote blockquote {
    margin-top: 40px;
    font-size: 27px;
  }

  .quote-copy {
    font-size: 10.5px;
  }

  .quote-stamp {
    top: 28px;
    right: 23px;
    width: 57px;
    height: 57px;
    font-size: 8.5px;
  }

  .how-content h2 {
    font-size: 37px;
  }

  .step h3 {
    font-size: 14px;
  }

  .step p {
    font-size: 10px;
  }

  .closing-cta {
    margin-bottom: 70px;
    border-radius: 23px;
  }

  .closing-inner {
    padding: 38px 27px 42px;
  }

  .closing-inner h2 {
    font-size: 46px;
  }

  .closing-action p {
    font-size: 10.5px;
  }

  .closing-action .btn {
    width: 100%;
  }

  .closing-vinyl {
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -150px;
  }

  .footer-top {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 17px;
  }

  .footer-tagline {
    width: 100%;
    order: 3;
    font-size: 11.5px;
  }

  .footer-nav {
    gap: 15px;
  }

  .footer-nav a {
    font-size: 9px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px 15px;
  }

  .footer-data-note {
    width: 100%;
    margin-left: 0;
    order: 3;
  }

  .modal {
    padding: 12px;
  }

  .request-sheet {
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .request-content {
    max-height: calc(100vh - 24px);
    padding: 29px 20px 26px;
  }

  .request-content > .modal-close {
    top: 15px;
    right: 15px;
  }

  .modal-heading {
    padding-right: 40px;
  }

  .modal-heading h2 {
    font-size: 27px;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .day-choice {
    gap: 5px;
  }

  .choice-pill > span {
    min-height: 44px;
  }

  .choice-pill strong {
    font-size: 10px;
  }

  .slot-choice {
    grid-template-columns: 1fr;
  }

  .small-modal .modal-card {
    padding: 28px 22px 24px;
    border-radius: 22px;
  }

  .small-modal h2 {
    font-size: 25px;
  }

  .slot-modal .modal-card {
    width: 100%;
  }

  .modal-actions {
    flex-wrap: wrap;
  }

  .modal-actions .action-spacer {
    display: none;
  }

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

  .btn-text-danger {
    width: 100%;
    justify-content: center;
    order: 4;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
  }

  .requests-dialog {
    padding: 10px;
  }

  .requests-sheet {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .requests-head {
    padding: 23px 20px 20px;
  }

  .requests-head h2 {
    font-size: 25px;
  }

  .requests-head .modal-close {
    top: 16px;
    right: 16px;
  }

  .request-filters {
    padding: 11px 14px 0;
  }

  .requests-list {
    padding: 11px 14px 18px;
  }

  .request-card {
    padding: 14px;
  }

  .request-song {
    font-size: 16px;
  }

  .admin-dock {
    bottom: 12px;
    width: calc(100% - 20px);
    max-width: 560px;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 9px 9px 13px;
    border-radius: 15px;
  }

  body.admin-mode {
    padding-bottom: 68px;
  }

  body.admin-mode .toast,
  body.admin-mode .toast[popover] {
    bottom: 80px;
  }

  .admin-dock-status span {
    display: none;
  }

  .admin-dock-actions {
    padding-left: 8px;
  }

  .admin-dock-actions button {
    padding: 0 7px;
    font-size: 8px;
  }

  .toast {
    bottom: 18px;
    font-size: 9px;
  }

  .toast[popover] {
    bottom: 18px;
  }

  .success-view {
    padding-top: 16px;
  }

  .success-view > h2 {
    font-size: 30px;
  }

  .ticket {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ticket-row {
    grid-template-columns: 62px 1fr;
  }

  .ticket-row > small {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-stats > div {
    padding-right: 10px;
    margin-right: 10px;
  }

  .hero-stats dd {
    font-size: 24px;
  }

  .hero-stats dt {
    font-size: 9px;
  }

  .hero-art {
    margin-top: 16px;
  }

  .now-card {
    width: 72%;
  }

  .note-card {
    width: 42%;
  }

  .board-legend {
    display: none;
  }

  .slot-row {
    grid-template-columns: 51px minmax(0, 1fr) auto;
    padding: 11px 9px;
  }

  .slot-time strong {
    font-size: 12.5px;
  }

  .slot-meta {
    font-size: 7.5px;
  }

  .slot-note {
    max-width: 180px;
  }

  .footer-nav {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .song-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .capacity-badge {
    min-height: 18px;
    padding: 0 7px;
    font-size: 7px;
  }

  .slot-list {
    gap: 13px;
    padding-top: 14px;
  }

  .period-group {
    border-radius: 16px;
  }

  .period-head {
    gap: 10px;
    padding: 11px 12px;
  }

  .period-time {
    min-width: 61px;
    padding-right: 10px;
  }

  .period-time strong {
    font-size: 16px;
  }

  .period-time span {
    font-size: 7.5px;
  }

  .period-copy h3 {
    font-size: 13.5px;
  }

  .period-copy p {
    font-size: 8.5px;
  }

  .period-progress {
    gap: 6px;
  }

  .period-progress strong {
    font-size: 9.5px;
  }

  .period-bar {
    width: 45px;
  }

  .song-grid {
    gap: 7px;
    padding: 9px;
  }

  .song-slot {
    min-height: 0;
    padding: 10px;
    border-radius: 12px;
  }

  .song-slot-title {
    margin: 7px 0 0;
    font-size: 13px;
  }

  .song-slot-artist {
    font-size: 9px;
  }

  .song-slot-meta {
    margin-top: 5px;
    font-size: 7.5px;
  }

  .song-slot-note {
    display: -webkit-box;
    margin-top: 4px;
    font-size: 8.5px;
    -webkit-line-clamp: 1;
  }

  .song-slot-action {
    padding-top: 7px;
  }

  .song-slot .slot-action-btn {
    min-height: 26px;
    padding: 0 8px;
    font-size: 7.5px;
  }

  .song-slot .slot-action-btn .icon {
    display: none;
  }

  .empty-plus {
    width: 23px;
    height: 23px;
    margin-bottom: 5px;
    font-size: 14px;
  }

  .song-slot .empty-title {
    font-size: 11.5px;
  }

  .song-slot .empty-copy {
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  .period-progress .period-bar {
    display: none;
  }

  .song-slot {
    min-height: 0;
    padding: 9px;
  }

  .song-slot-title {
    font-size: 12px;
  }

  .song-slot .empty-title {
    font-size: 11px;
  }
}

/* =========================================================
   Fees, payment proof & submission section
   ========================================================= */

body {
  padding-bottom: 62px;
}

.modal-heading-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.modal-heading-top h2 {
  margin-top: 0;
}

.price-chip {
  display: inline-flex;
  min-height: 27px;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 3px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
  line-height: 27px;
  letter-spacing: -0.02em;
}

.price-chip small {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0;
}

.payment-block {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-light);
}

.payment-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  color: var(--paper);
  background: var(--ink);
}

.payment-block-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.payment-block-label .icon {
  width: 14px;
  height: 14px;
  color: var(--lime);
}

.payment-block-head > strong {
  color: var(--lime);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.payment-block-head > strong small {
  color: rgba(244, 239, 227, 0.55);
  font-size: 7.5px;
  font-weight: 600;
}

.payment-block-body {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
}

.payment-qr {
  width: 112px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

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

.payment-copy > p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.payment-copy > p strong {
  color: var(--ink);
}

.upload-control {
  position: relative;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  cursor: pointer;
}

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

.upload-trigger {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 8.5px;
  font-weight: 750;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-trigger .icon {
  width: 13px;
  height: 13px;
}

.upload-control:hover .upload-trigger {
  border-color: var(--ink);
  background: var(--lime-soft);
}

.upload-hint {
  color: var(--muted-light);
  font-size: 7.5px;
  line-height: 1.5;
}

.upload-hint.is-error {
  color: var(--danger);
}

.upload-hint.is-ok {
  color: var(--ink);
}

.payment-preview {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 12px 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.payment-preview img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}

.payment-preview-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 1px;
}

.payment-preview-copy strong {
  font-size: 9px;
  font-weight: 750;
}

.payment-preview-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-clear {
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 7.5px;
}

.payment-clear:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.type-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.type-option {
  position: relative;
  cursor: pointer;
}

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

.type-option > span {
  display: flex;
  min-height: 62px;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--paper-light);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.type-option .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--coral);
}

.type-option strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.type-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.type-option input:checked + span {
  border-color: var(--ink);
  background: rgba(234, 242, 169, 0.32);
  box-shadow: 2px 2px 0 rgba(23, 63, 53, 0.11);
}

.fixed-slot {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: rgba(234, 226, 210, 0.28);
}

.fixed-slot-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--ink);
  background: var(--lime);
}

.fixed-slot-icon .icon {
  width: 17px;
  height: 17px;
}

.fixed-slot div {
  display: grid;
  gap: 1px;
}

.fixed-slot span {
  color: var(--muted);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.fixed-slot strong {
  font-size: 11px;
  font-weight: 800;
}

.fixed-slot small {
  color: var(--muted);
  font-size: 8px;
}

.submission-aside-price {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(244, 239, 227, 0.13);
  border-bottom: 1px solid rgba(244, 239, 227, 0.13);
}

.submission-aside-price span {
  color: rgba(244, 239, 227, 0.58);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.submission-aside-price strong {
  color: var(--lime);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.submission-aside-price small {
  color: rgba(244, 239, 227, 0.5);
  font-size: 8px;
  font-weight: 500;
}

/* ----- Submission section ----- */

.submission-section {
  padding-top: 0;
  padding-bottom: 100px;
}

.submission-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper-light);
  box-shadow: var(--shadow-card);
}

.submission-main {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 50px 42px;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 5%, rgba(217, 231, 90, 0.17), transparent 28%),
    var(--ink);
}

.submission-main::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(244, 239, 227, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(244, 239, 227, 0.025),
    0 0 0 70px rgba(244, 239, 227, 0.018);
  pointer-events: none;
}

.submission-main > * {
  position: relative;
  z-index: 2;
}

.submission-main h2 {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(37px, 4.1vw, 55px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.32;
}

.submission-underline {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.submission-underline::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: 0.02em;
  left: -1%;
  height: 0.2em;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-0.7deg);
}

.submission-lead {
  max-width: 480px;
  margin-top: 18px;
  color: rgba(244, 239, 227, 0.6);
  font-size: 12px;
  line-height: 1.9;
}

.submission-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 25px;
}

.price-block {
  display: flex;
  min-width: 145px;
  flex-direction: column;
  padding: 11px 15px;
  border: 1px solid rgba(217, 231, 90, 0.4);
  border-radius: 13px;
  background: rgba(217, 231, 90, 0.08);
}

.price-block > span {
  color: rgba(244, 239, 227, 0.5);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.price-block > strong {
  margin-top: 1px;
  color: var(--lime);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price-block > strong small {
  color: rgba(244, 239, 227, 0.5);
  font-size: 8px;
  font-weight: 500;
}

.submission-slot {
  display: flex;
  min-width: 185px;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(244, 239, 227, 0.16);
  border-radius: 13px;
  background: rgba(244, 239, 227, 0.04);
}

.submission-slot .icon {
  width: 17px;
  height: 17px;
  color: var(--lime);
}

.submission-slot div {
  display: grid;
  gap: 1px;
}

.submission-slot span {
  color: rgba(244, 239, 227, 0.45);
  font-size: 8px;
}

.submission-slot strong {
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
}

.submission-main .btn {
  margin-top: 22px;
}

.submission-pay-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.submission-pay-note img {
  width: 62px;
  flex: 0 0 auto;
  border: 2px solid rgba(244, 239, 227, 0.75);
  border-radius: 7px;
  background: #fff;
}

.submission-pay-note div {
  display: grid;
  gap: 2px;
}

.submission-pay-note strong {
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
}

.submission-pay-note span {
  color: rgba(244, 239, 227, 0.42);
  font-size: 7.5px;
}

.submission-guide {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 39px 36px 32px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.7), transparent 55%),
    var(--paper-light);
}

.submission-guide .board-kicker {
  color: var(--muted);
}

.submission-guide h3 {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.submission-guide-list {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.submission-guide-list li {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.submission-guide-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.submission-guide-list > li > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
}

.submission-guide-list strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.submission-guide-list p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.75;
}

.submission-guide-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 8.5px;
}

.submission-guide-note .icon {
  width: 13px;
  height: 13px;
  color: var(--coral);
}

.submission-guide-bottom {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 28px;
}

.submission-guide-bottom span {
  color: var(--muted-light);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.submission-guide-bottom p {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
}

.submission-guide-bottom small {
  color: var(--muted);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.submission-guide-stamp {
  position: absolute;
  top: 32px;
  right: 30px;
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  color: var(--muted-light);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: center;
  transform: rotate(8deg);
}

/* =========================================================
   Admin console
   ========================================================= */

.admin-panel-dialog {
  padding: 18px;
}

.admin-panel {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  width: min(1160px, 100%);
  height: min(820px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 27px;
  background: var(--white);
  box-shadow: 0 40px 100px -25px rgba(0, 0, 0, 0.5);
  animation: modal-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  color: var(--paper);
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 231, 90, 0.13), transparent 35%),
    var(--ink);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}

.admin-mini-logo {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(217, 231, 90, 0.5);
  border-radius: 11px;
  color: var(--ink);
  background: var(--lime);
}

.admin-mini-logo .icon {
  width: 17px;
  height: 17px;
}

.admin-sidebar-brand div {
  display: grid;
  gap: 1px;
}

.admin-sidebar-brand strong {
  font-size: 13px;
  font-weight: 850;
}

.admin-sidebar-brand small {
  color: rgba(244, 239, 227, 0.4);
  font-size: 6.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.admin-nav {
  display: grid;
  gap: 4px;
  margin-top: 31px;
}

.admin-nav-btn {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(244, 239, 227, 0.64);
  background: transparent;
  font-size: 10.5px;
  font-weight: 700;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.admin-nav-btn .icon {
  width: 15px;
  height: 15px;
}

.admin-nav-btn > span {
  display: grid;
  min-width: 17px;
  height: 17px;
  margin-left: auto;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 7px;
  font-weight: 850;
}

.admin-nav-btn:hover {
  color: var(--paper);
  background: rgba(244, 239, 227, 0.07);
}

.admin-nav-btn.is-active {
  border-color: rgba(217, 231, 90, 0.32);
  color: var(--ink);
  background: var(--lime);
}

.admin-nav-btn.is-active > span {
  color: var(--paper);
  background: var(--ink);
}

.admin-sidebar-foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 239, 227, 0.12);
}

.admin-sidebar-foot button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 5px 0;
  border: 0;
  color: rgba(244, 239, 227, 0.64);
  background: transparent;
  font-size: 9px;
}

.admin-sidebar-foot button:hover {
  color: var(--lime);
}

.admin-sidebar-foot .icon {
  width: 13px;
  height: 13px;
}

.admin-sidebar-foot > span {
  color: rgba(244, 239, 227, 0.28);
  font-size: 7px;
}

.admin-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
}

.admin-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px 21px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.admin-content-head h2 {
  margin-top: 3px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.admin-content-head p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-content-head .modal-close {
  flex: 0 0 auto;
}

.admin-body {
  flex: 1;
  padding: 18px 26px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.admin-tab-panel {
  display: grid;
  gap: 10px;
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.admin-requests-list,
.submission-admin-list {
  display: grid;
  gap: 10px;
  padding: 0;
  overflow: visible;
}

.admin-submission-card {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 24px -24px rgba(23, 63, 53, 0.5);
}

.submission-type-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.submission-admin-content {
  white-space: pre-wrap;
}

.request-proof {
  margin-top: 10px;
}

.proof-thumb {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: var(--paper-light);
  font-size: 8px;
  text-align: left;
}

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

.proof-thumb img {
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}

.proof-missing {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.word-type {
  display: inline-flex;
  min-height: 19px;
  align-items: center;
  padding: 0 7px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--lime-soft);
  font-size: 7.5px;
  font-weight: 800;
}

.word-slot {
  color: var(--muted);
  font-size: 8px;
}

.admin-schedule-intro {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.admin-day-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.admin-day-tab {
  position: relative;
  display: grid;
  min-width: 98px;
  flex: 1 0 98px;
  gap: 2px;
  padding: 9px 11px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
}

.admin-day-tab strong {
  font-size: 11px;
  font-weight: 800;
}

.admin-day-tab span {
  color: var(--muted);
  font-size: 7.5px;
}

.admin-day-tab em {
  position: absolute;
  top: 7px;
  right: 7px;
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--ink);
  background: var(--lime);
  font-size: 6px;
  font-weight: 800;
}

.admin-day-tab.is-active {
  border-color: var(--ink);
  background: var(--lime-soft);
  box-shadow: 2px 2px 0 rgba(23, 63, 53, 0.12);
}

.admin-schedule-list {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.admin-period-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.admin-period-card > header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(234, 226, 210, 0.35);
}

.admin-period-time {
  display: flex;
  min-width: 65px;
  flex-direction: column;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.admin-period-time strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.admin-period-time span {
  color: var(--muted);
  font-size: 7.5px;
}

.admin-period-name {
  display: grid;
  gap: 1px;
}

.admin-period-name strong {
  font-size: 11px;
  font-weight: 800;
}

.admin-period-name span {
  color: var(--muted);
  font-size: 7.5px;
}

.admin-song-list {
  display: grid;
}

.admin-song-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 49px;
  padding: 7px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  transition: background 0.18s ease;
}

.admin-song-row:last-child {
  border-bottom: 0;
}

.admin-song-row:hover {
  background: rgba(234, 242, 169, 0.2);
}

.admin-song-no {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
}

.admin-song-row.is-filled .admin-song-no {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--lime);
}

.admin-song-info {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 1px;
}

.admin-song-info strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-song-info small {
  overflow: hidden;
  color: var(--muted);
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-song-edit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 7.5px;
}

.admin-song-edit .icon {
  width: 11px;
  height: 11px;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-setting-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.admin-setting-card h3 {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.admin-setting-card > p {
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.admin-qr-preview {
  width: 128px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.admin-setting-card .btn,
.admin-setting-card .upload-control {
  margin-top: 2px;
}

.admin-text-btn {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 8px;
}

.admin-text-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.admin-price-line {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.admin-price-line span {
  color: var(--muted);
  font-size: 9px;
}

.admin-price-line strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.admin-price-line small {
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 500;
}

.admin-setting-note {
  font-size: 7.5px !important;
}

/* =========================================================
   Floating payment dock, image preview
   ========================================================= */

.pay-dock {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  max-width: calc(100vw - 24px);
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.pay-dock-panel {
  width: 204px;
  padding: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 22px 55px -24px rgba(23, 63, 53, 0.55);
  animation: fade-up 0.22s ease both;
}

.pay-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 1px 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.pay-dock-head > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pay-dock-head .icon {
  width: 14px;
  height: 14px;
  color: var(--coral);
}

.pay-dock-head button {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--paper);
}

.pay-dock-head button:hover {
  color: var(--paper);
  background: var(--ink);
}

.pay-dock-head button .icon {
  width: 11px;
  height: 11px;
  color: currentColor;
}

.pay-dock-panel > img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.pay-dock-prices {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 3px 0;
  border-top: 1px dashed var(--line);
}

.pay-dock-prices span {
  color: var(--muted);
  font-size: 7.5px;
}

.pay-dock-prices strong {
  color: var(--ink);
  font-size: 10px;
  font-weight: 850;
}

.pay-dock-panel > p {
  margin-top: 5px;
  padding: 0 3px;
  color: var(--muted-light);
  font-size: 7px;
  line-height: 1.6;
}

.pay-dock-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(217, 231, 90, 0.45);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 13px 30px -17px rgba(23, 63, 53, 0.8);
  font-size: 10px;
  font-weight: 800;
}

.pay-dock-toggle small {
  color: var(--lime);
  font-size: 7.5px;
  font-weight: 650;
}

.pay-dock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(217, 231, 90, 0.15);
}

.pay-dock-toggle:hover {
  background: var(--ink-deep);
}

.image-preview-dialog {
  padding: 24px;
}

.image-preview-card {
  position: relative;
  width: min(720px, 92vw);
  max-height: 88vh;
  padding: 12px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 30px 90px -25px rgba(0, 0, 0, 0.6);
}

.image-preview-card .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.image-preview-card img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 24px);
  border-radius: 12px;
  object-fit: contain;
  background: var(--paper);
}

@media (max-width: 1020px) {
  .submission-card {
    grid-template-columns: 1fr;
  }

  .submission-guide {
    padding: 32px 36px 30px;
  }

  .submission-guide-stamp {
    display: none;
  }

  .admin-panel {
    grid-template-columns: 205px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .pay-dock {
    right: 12px;
    bottom: 12px;
  }

  .admin-panel {
    display: flex;
    height: calc(100vh - 24px);
    flex-direction: column;
  }

  .admin-sidebar {
    flex: 0 0 auto;
    padding: 13px 14px 10px;
  }

  .admin-sidebar-brand {
    display: none;
  }

  .admin-nav {
    display: flex;
    gap: 5px;
    margin-top: 0;
    overflow-x: auto;
  }

  .admin-nav-btn {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 9px;
  }

  .admin-sidebar-foot {
    display: none;
  }

  .admin-content {
    flex: 1;
    min-height: 0;
  }

  .admin-content-head {
    padding: 20px 20px 16px;
  }

  .admin-content-head h2 {
    font-size: 24px;
  }

  .admin-body {
    padding: 14px 16px 24px;
  }

  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel-dialog {
    padding: 12px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 58px;
  }

  .submission-section {
    padding-bottom: 70px;
  }

  .submission-main {
    padding: 34px 24px 30px;
  }

  .submission-main h2 {
    margin-top: 16px;
    font-size: 37px;
  }

  .submission-lead {
    font-size: 10.5px;
  }

  .submission-offer {
    gap: 7px;
  }

  .price-block {
    min-width: 120px;
    padding: 9px 12px;
  }

  .price-block > strong {
    font-size: 23px;
  }

  .submission-slot {
    min-width: 165px;
    padding: 9px 11px;
  }

  .submission-guide {
    padding: 26px 22px 24px;
  }

  .submission-guide h3 {
    font-size: 21px;
  }

  .submission-guide-list li {
    padding: 13px 0;
  }

  .submission-pay-note {
    margin-top: 18px;
  }

  .submission-pay-note img {
    width: 70px;
  }

  .modal-heading-top {
    gap: 8px;
  }

  .price-chip {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
    line-height: 24px;
  }

  .payment-block-body {
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
  }

  .payment-qr {
    width: 100px;
  }

  .payment-copy {
    gap: 6px;
  }

  .upload-trigger {
    min-height: 29px;
    padding: 0 9px;
    font-size: 8px;
  }

  .type-choice {
    grid-template-columns: 1fr;
  }

  .pay-dock-panel {
    width: 190px;
  }

  .pay-dock-toggle {
    min-height: 38px;
    padding: 0 11px;
    font-size: 9px;
  }

  .admin-day-tab {
    min-width: 91px;
    flex-basis: 91px;
    padding: 8px 9px;
  }

  .admin-settings-grid {
    gap: 9px;
  }

  .admin-setting-card {
    padding: 15px;
  }

  .admin-qr-preview {
    width: 110px;
  }

  .admin-content-head p:last-child {
    display: none;
  }

  .admin-content-head {
    align-items: center;
  }

  .admin-content-head .modal-close {
    width: 33px;
    height: 33px;
  }

  .admin-body {
    padding: 12px 12px 22px;
  }

  .admin-period-card > header {
    padding: 9px 10px;
  }

  .admin-song-row {
    min-height: 46px;
    padding: 7px 9px;
  }
}

@media (max-width: 420px) {
  .modal-heading-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .payment-block-body {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .payment-qr {
    width: 110px;
  }

  .payment-copy {
    width: 100%;
  }

  .pay-dock-panel {
    width: 175px;
  }

  .pay-dock-panel > img {
    max-height: 210px;
    object-fit: contain;
  }

  .submission-main h2 {
    font-size: 33px;
  }

  .submission-slot {
    min-width: 100%;
  }

  .admin-nav-btn {
    padding: 0 8px;
    font-size: 8px;
  }

  .admin-nav-btn .icon {
    display: none;
  }

  .admin-content-head h2 {
    font-size: 21px;
  }

  .admin-tab-panel .filter-btn {
    font-size: 8.5px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* =========================================================
   Feedback entry, account, auth & my records
   ========================================================= */

.header-inner {
  gap: 22px;
}

.feedback-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.5);
  font-size: 10px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.feedback-link:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--lime-soft);
}

.feedback-link .icon {
  width: 14px;
  height: 14px;
  color: var(--coral-deep);
}

.mobile-nav .mobile-account-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.mobile-nav .mobile-account-meta {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.account-entry {
  display: inline-flex;
  max-width: 150px;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.58);
  font-size: 10.5px;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.account-entry .icon {
  width: 15px;
  height: 15px;
}

.account-entry span {
  overflow: hidden;
  max-width: 100px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-entry:hover {
  border-color: var(--ink);
  background: var(--lime-soft);
}

.account-entry.is-logged-in {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.account-entry.is-logged-in:hover {
  color: var(--ink);
  background: var(--lime);
}

.hero-submit-link {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 8px 13px 8px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.5);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-submit-link:hover {
  border-color: var(--ink);
  background: var(--lime-soft);
  transform: translateY(-1px);
}

.hero-submit-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--ink);
  background: var(--lime);
}

.hero-submit-icon .icon {
  width: 15px;
  height: 15px;
}

.hero-submit-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.hero-submit-copy strong {
  font-size: 11px;
  font-weight: 800;
}

.hero-submit-copy small {
  color: var(--muted);
  font-size: 8px;
}

.hero-submit-arrow {
  width: 13px;
  height: 13px;
  margin-left: 12px;
  color: var(--muted);
}

/* ----- Account & login ----- */

.auth-dialog {
  padding: 24px;
}

.auth-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 29px;
  background: var(--white);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
  animation: modal-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.auth-aside {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 34px 34px 28px;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 0%, rgba(217, 231, 90, 0.16), transparent 36%),
    var(--ink);
}

.auth-aside::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(244, 239, 227, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(244, 239, 227, 0.025),
    0 0 0 60px rgba(244, 239, 227, 0.018);
  pointer-events: none;
}

.auth-aside > * {
  position: relative;
  z-index: 2;
}

.auth-aside-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(244, 239, 227, 0.4);
  font-size: 6.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.auth-aside h2 {
  margin-top: 76px;
  font-family: var(--font-serif);
  font-size: clamp(29px, 3.5vw, 39px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.55;
}

.auth-aside > p {
  max-width: 270px;
  margin-top: 17px;
  color: rgba(244, 239, 227, 0.55);
  font-size: 10px;
  line-height: 1.9;
}

.auth-aside-note {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 7px 9px;
  border: 1px solid rgba(244, 239, 227, 0.15);
  border-radius: 7px;
  color: rgba(244, 239, 227, 0.47);
  font-size: 7.5px;
}

.auth-aside-note .icon {
  width: 12px;
  height: 12px;
  color: var(--lime);
}

.auth-vinyl {
  position: relative;
  width: 142px;
  height: 142px;
  margin: auto auto 15px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #2b5346 0 1px, var(--ink-deep) 2px 5px);
  animation: spin 32s linear infinite;
}

.auth-vinyl::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
}

.auth-vinyl span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
}

.auth-aside-foot {
  display: flex;
  justify-content: space-between;
  color: rgba(244, 239, 227, 0.3);
  font-size: 6.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.auth-content {
  position: relative;
  max-height: calc(100vh - 48px);
  padding: 32px 42px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.auth-content .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.auth-tabs {
  display: flex;
  width: max-content;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.auth-tab {
  min-height: 30px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 750;
}

.auth-tab.is-active {
  color: var(--paper);
  background: var(--ink);
}

.auth-error {
  margin-top: 14px;
}

.auth-form-head {
  margin-top: 27px;
}

.auth-form-head h2 {
  margin-top: 4px;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.auth-form-head > p:last-child {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9.5px;
}

#loginForm,
#registerForm {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

#loginForm[hidden],
#registerForm[hidden] {
  display: none;
}

.auth-note {
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 8px;
  line-height: 1.7;
  text-align: center;
}

/* ----- My records ----- */

.my-dialog .my-sheet {
  display: flex;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 27px;
  background: var(--paper);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
  animation: modal-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.my-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 30px 24px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 0%, rgba(217, 231, 90, 0.14), transparent 31%),
    var(--ink);
}

.my-head h2 {
  margin-top: 3px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.my-head > div > p:last-child {
  margin-top: 5px;
  color: rgba(244, 239, 227, 0.5);
  font-size: 9px;
}

.my-head .modal-kicker {
  color: var(--lime);
}

.my-head-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.my-head .modal-close {
  border-color: rgba(244, 239, 227, 0.2);
  color: var(--paper);
  background: rgba(244, 239, 227, 0.06);
}

.my-head .modal-close:hover {
  color: var(--ink);
  background: var(--lime);
}

.my-logout {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid rgba(244, 239, 227, 0.2);
  border-radius: 999px;
  color: rgba(244, 239, 227, 0.64);
  background: transparent;
  font-size: 7.5px;
}

.my-logout:hover {
  color: var(--ink);
  background: var(--lime);
}

.my-logout .icon {
  width: 12px;
  height: 12px;
}

.my-tabs {
  display: flex;
  gap: 4px;
  padding: 13px 22px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.my-tab {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  font-weight: 750;
}

.my-tab span {
  display: grid;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  background: var(--paper-deep);
  font-size: 7px;
}

.my-tab.is-active {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}

.my-tab.is-active span {
  color: var(--ink);
  background: var(--lime);
}

.my-body {
  display: grid;
  flex: 1;
  gap: 9px;
  padding: 15px 22px 23px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.my-record {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

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

.my-record-id {
  color: var(--muted-light);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.my-record h3 {
  margin-top: 7px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.my-record-artist {
  color: var(--muted);
  font-size: 9.5px;
}

.my-record-type {
  display: inline-flex;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--lime-soft);
  font-size: 7.5px;
  font-weight: 800;
}

.my-record-content {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  padding: 8px 10px;
  border-left: 2px solid var(--lime);
  color: var(--ink-soft);
  background: var(--paper-light);
  font-family: var(--font-serif);
  font-size: 10px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.my-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 8px;
}

.my-record-schedule {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(23, 63, 53, 0.1);
  border-radius: 7px;
  color: var(--ink);
  background: var(--lime-soft);
  font-size: 8.5px;
  font-weight: 700;
}

.my-record-schedule .icon {
  width: 12px;
  height: 12px;
}

.my-empty {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 15px;
  color: var(--muted);
  text-align: center;
}

.my-empty .icon {
  width: 31px;
  height: 31px;
  margin-bottom: 8px;
  color: var(--muted-light);
}

.my-empty strong {
  color: var(--ink);
  font-size: 13px;
}

.my-empty p {
  max-width: 320px;
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.7;
}

.my-empty .btn {
  min-height: 35px;
  margin-top: 15px;
  padding: 0 15px;
  font-size: 9px;
}

@media (max-width: 900px) {
  .auth-dialog {
    padding: 12px;
  }

  .auth-card {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
    max-height: calc(100vh - 24px);
  }

  .auth-aside {
    display: none;
  }

  .auth-content {
    max-height: calc(100vh - 24px);
    padding: 30px 24px 26px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 12px;
  }

  .feedback-link {
    width: 34px;
    height: 34px;
    min-height: 34px;
    justify-content: center;
    margin-left: -2px;
    padding: 0;
    border-color: var(--line);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.52);
  }

  .feedback-link span {
    display: none;
  }

  .account-entry {
    display: none;
  }

  .hero-submit-link {
    width: 100%;
    margin-top: 10px;
  }

  .auth-form-head h2 {
    font-size: 28px;
  }

  .my-dialog {
    padding: 10px;
  }

  .my-sheet {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .my-head {
    flex-direction: column;
    gap: 13px;
    padding: 21px 20px 19px;
  }

  .my-head h2 {
    font-size: 25px;
  }

  .my-head-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .my-tabs {
    padding: 11px 14px 0;
  }

  .my-body {
    padding: 12px 14px 20px;
  }

  .my-record {
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .feedback-link {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .header-inner {
    gap: 9px;
  }

  .hero-submit-arrow {
    margin-left: auto;
  }

  .my-head {
    padding: 18px 16px 16px;
  }

  .my-tabs {
    padding: 9px 10px 0;
  }

  .my-tab {
    flex: 1;
    justify-content: center;
  }

  .my-body {
    padding: 10px 10px 16px;
  }
}


/* =========================================================
   Feedback modal, reject flow & weekly words
   ========================================================= */

.feedback-dialog {
  padding: 24px;
}

.feedback-modal {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
  animation: modal-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.feedback-modal > .modal-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
}

.feedback-modal-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  padding: 38px;
}

.feedback-modal-main h2 {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.35;
}

.feedback-modal-main h2 span {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.feedback-modal-main h2 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1%;
  right: -2%;
  bottom: 3%;
  height: 0.2em;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-1deg);
}

.feedback-modal-lead {
  max-width: 430px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.85;
}

.feedback-modal-reward {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--lime-soft);
  box-shadow: 4px 4px 0 rgba(23, 63, 53, 0.09);
}

.feedback-modal-reward .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--coral-deep);
}

.feedback-modal-reward strong {
  display: block;
  font-size: 10px;
}

.feedback-modal-reward span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.feedback-modal-steps {
  display: grid;
  gap: 0;
  margin-top: 19px;
}

.feedback-modal-steps > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8.5px;
}

.feedback-modal-steps i {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 6.5px;
  font-style: normal;
  font-weight: 800;
}

.feedback-modal-card {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 22px;
  border-radius: 21px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 0%, rgba(217, 231, 90, 0.17), transparent 34%),
    var(--ink);
  text-align: center;
}

.feedback-avatar {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border: 3px solid var(--paper);
  border-radius: 23px;
  background: #fff;
  box-shadow: 5px 6px 0 rgba(217, 231, 90, 0.72);
}

.feedback-qq-label {
  display: block;
  margin-top: 15px;
  color: rgba(244, 239, 227, 0.46);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.feedback-qq-number {
  display: block;
  margin-top: 3px;
  color: var(--lime);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.feedback-modal-card > p {
  margin-top: 5px;
  color: rgba(244, 239, 227, 0.52);
  font-size: 8px;
  line-height: 1.6;
}

.feedback-modal-card .btn {
  width: 100%;
  min-height: 34px;
  margin-top: 9px;
  padding: 0 10px;
  font-size: 8.5px;
}

.feedback-open-qq {
  border-color: rgba(244, 239, 227, 0.3);
  color: var(--paper);
  background: transparent;
}

.feedback-open-qq:hover {
  border-color: var(--paper);
  color: var(--ink);
  background: var(--paper);
}

.feedback-modal-card small {
  margin-top: 11px;
  color: rgba(244, 239, 227, 0.4);
  font-size: 6.8px;
  line-height: 1.7;
}

/* ----- Reject reason ----- */

.reject-dialog {
  padding: 18px;
}

.reject-dialog .modal-card {
  width: min(500px, 100%);
}

.reject-subject {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.reject-dialog form {
  margin-top: 16px;
}

.reject-dialog textarea {
  min-height: 104px;
  resize: vertical;
}

.reject-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 15px;
}

.admin-reject-reason {
  margin: 10px 0;
  padding: 8px 10px;
  border-left: 2px solid var(--coral);
  border-radius: 0 7px 7px 0;
  background: #fff4ef;
}

.admin-reject-reason strong {
  color: var(--coral-deep);
  font-size: 8px;
}

.admin-reject-reason p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.6;
}

.my-record-reject {
  margin-top: 9px;
  padding: 8px 10px;
  border-left: 2px solid var(--coral);
  border-radius: 0 7px 7px 0;
  background: #fff4ef;
}

.my-record-reject strong {
  color: var(--coral-deep);
  font-size: 8px;
}

.my-record-reject p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.65;
}

.my-record-schedule.is-pending-schedule {
  border-color: var(--line);
  color: var(--muted);
  background: var(--paper-light);
}

/* ----- Submission scheduling ----- */

.submission-schedule-pick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-light);
}

.submission-schedule-pick label {
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
}

.submission-schedule-pick select {
  min-height: 30px;
  padding: 0 26px 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 700;
}

.submission-schedule-pick span {
  color: var(--muted);
  font-size: 8px;
}

/* ----- Weekly words on public schedule ----- */

.schedule-words {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.schedule-words-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(23, 63, 53, 0.1);
  background: var(--lime-soft);
}

.schedule-words-head .eyebrow {
  font-size: 6.5px;
  color: var(--muted);
}

.schedule-words-head h3 {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.schedule-words-count {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 7px;
  font-weight: 800;
}

.schedule-word-list {
  display: grid;
  gap: 0;
  padding: 0 18px;
}

.schedule-word {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.schedule-word:first-child {
  border-top: 0;
}

.schedule-word-no {
  color: var(--muted-light);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.schedule-word .word-type {
  flex: 0 0 auto;
}

.schedule-word strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-word small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 7px;
}

.schedule-word > div {
  min-width: 0;
}

/* ----- Weekly words in admin schedule ----- */

.admin-words-card {
  border-color: rgba(23, 63, 53, 0.18);
  background: var(--lime-soft);
}

.admin-word-list {
  padding: 0 14px;
}

.admin-word-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(23, 63, 53, 0.1);
}

.admin-word-row:first-child {
  border-top: 0;
}

.admin-word-row strong {
  display: block;
  color: var(--ink);
  font-size: 9px;
}

.admin-word-row small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 7px;
}

@media (max-width: 900px) {
  .feedback-dialog {
    padding: 12px;
  }

  .feedback-modal-grid {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .feedback-modal-card {
    align-items: flex-start;
    padding: 22px;
    text-align: left;
  }

  .feedback-modal-card .btn {
    width: auto;
    min-width: 140px;
    margin-right: 6px;
  }
}

@media (max-width: 760px) {
  .feedback-modal {
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .feedback-modal-grid {
    gap: 18px;
    padding: 24px 19px;
  }

  .feedback-modal-main h2 {
    font-size: 34px;
  }

  .feedback-modal-main h2 br {
    display: none;
  }

  .feedback-avatar {
    width: 82px;
    height: 82px;
    border-radius: 19px;
  }

  .feedback-qq-number {
    font-size: 23px;
  }

  .schedule-words-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 13px 14px;
  }

  .schedule-word-list {
    padding: 0 14px;
  }

  .schedule-word strong {
    max-width: 230px;
  }

  .reject-dialog {
    padding: 10px;
  }
}

@media (max-width: 420px) {
  .feedback-modal-grid {
    padding: 20px 15px;
  }

  .feedback-modal-main h2 {
    font-size: 29px;
  }

  .feedback-modal-card .btn {
    width: 100%;
    margin-right: 0;
  }

  .schedule-word strong {
    max-width: 180px;
  }
}


/* =========================================================
   Transparent 02 section, feedback cards & admin words manager
   ========================================================= */

/* Feedback modal — QQ card on a transparent/light surface */
.feedback-modal-card {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.feedback-avatar {
  border-color: var(--white);
  box-shadow: 5px 6px 0 rgba(217, 231, 90, 0.72);
}

.feedback-qq-label {
  color: var(--muted);
}

.feedback-qq-number {
  color: var(--ink);
}

.feedback-modal-card > p {
  color: var(--muted);
}

.feedback-open-qq {
  border-color: var(--line-strong);
  color: var(--ink);
}

.feedback-open-qq:hover {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.feedback-modal-card small {
  color: var(--muted-light);
}

/* Empty words block inside 放学留声 */
.schedule-words.is-empty {
  border-style: dashed;
}

.schedule-words-empty {
  padding: 13px 18px 15px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

/* Admin words manager inside the evening period */
.admin-words-manager {
  margin: 12px 14px 14px;
  padding: 11px 12px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: var(--paper-light);
}

.admin-words-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.admin-words-head strong {
  display: block;
  color: var(--ink);
  font-size: 9px;
  font-weight: 850;
}

.admin-words-head div > span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.admin-words-head > span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-words-body {
  padding-top: 2px;
}

.admin-words-manager .admin-word-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.admin-words-manager .admin-word-row:first-child {
  border-top: 0;
}

.admin-words-manager .admin-word-row > div {
  min-width: 0;
  flex: 1;
}

.admin-words-manager .admin-word-row strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-words-manager .admin-word-row small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 7px;
}

.admin-words-manager .admin-word-row.is-unscheduled {
  opacity: 0.72;
}

.admin-word-action {
  flex: 0 0 auto;
  min-height: 25px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  font-size: 7px;
  font-weight: 700;
}

.admin-word-action:hover {
  border-color: var(--ink);
  background: var(--lime);
}

.admin-word-action.is-remove {
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
}

.admin-word-action.is-remove:hover {
  color: var(--coral-deep);
  border-color: var(--coral);
  background: #fff4ef;
}

.admin-words-empty {
  padding: 8px 0 5px;
  color: var(--muted);
  font-size: 7.5px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .admin-words-manager {
    margin: 10px 10px 10px;
  }
}


/* =========================================================
   Brand image, public notice bar & admin notice editor
   ========================================================= */

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Rolling notice bar ----- */

.notice-bar {
  position: relative;
  z-index: 24;
  overflow: hidden;
  border-bottom: 1px solid rgba(23, 63, 53, 0.35);
  background: var(--lime);
  color: var(--ink);
}

.notice-inner {
  display: flex;
  width: min(var(--content-width), calc(100% - 64px));
  height: 42px;
  margin: 0 auto;
  align-items: center;
  gap: 12px;
}

.notice-badge {
  display: inline-flex;
  min-height: 24px;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--lime);
  background: var(--ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.notice-badge .icon {
  width: 11px;
  height: 11px;
}

.notice-viewport {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.notice-track {
  display: flex;
  width: max-content;
  animation: notice-scroll 32s linear infinite;
}

.notice-text {
  display: inline-block;
  padding-right: 72px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
}

.notice-detail {
  display: inline-flex;
  min-height: 27px;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-family: inherit;
  font-size: 8px;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease;
}

.notice-detail .icon {
  width: 11px;
  height: 11px;
}

.notice-detail:hover {
  color: var(--ink);
  background: var(--paper);
}

.notice-bar:hover .notice-track,
.notice-bar:focus-within .notice-track {
  animation-play-state: paused;
}

@keyframes notice-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ----- Notice detail dialog ----- */

.notice-dialog {
  padding: 18px;
}

.notice-sheet {
  position: relative;
  width: min(600px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 34px 34px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background: var(--paper);
  box-shadow: 0 35px 90px -30px rgba(0, 0, 0, 0.45);
  animation: modal-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.notice-sheet > .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.notice-sheet h2 {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.notice-dialog-time {
  margin-top: 5px;
  color: var(--muted-light);
  font-size: 8px;
}

.notice-dialog-content {
  margin-top: 19px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.9;
  white-space: pre-line;
}

.notice-dialog-url {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-light);
}

.notice-dialog-url > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 750;
}

.notice-dialog-url a {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--ink);
  font-size: 8px;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-dialog-url button {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  font-size: 7px;
}

.notice-dialog-url button:hover {
  background: var(--lime);
}

.notice-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.notice-dialog-actions > span {
  color: var(--muted-light);
  font-size: 7px;
}

.notice-dialog-actions .btn {
  min-height: 34px;
  padding: 0 15px;
  font-size: 8px;
}

/* ----- Admin notice editor ----- */

.admin-notice-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.admin-notice-grid .admin-setting-card form {
  display: grid;
  gap: 12px;
  margin-top: 13px;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.6;
}

.admin-checkbox input {
  width: 14px;
  height: 14px;
  accent-color: var(--ink);
}

.admin-notice-preview-card {
  align-self: start;
}

.admin-notice-preview {
  margin-top: 13px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
}

.admin-notice-preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
}

.admin-notice-preview-bar span {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--lime);
  background: var(--ink);
  font-size: 6.5px;
  font-weight: 800;
}

.admin-notice-preview-bar p {
  overflow: hidden;
  font-size: 8px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-notice-preview h4 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.admin-notice-preview > p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
  white-space: pre-line;
}

.admin-notice-preview .admin-notice-preview-url {
  overflow: hidden;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-notice-preview .is-disabled {
  color: var(--muted);
  font-size: 8px;
}

@media (max-width: 900px) {
  .admin-notice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .notice-inner {
    width: calc(100% - 32px);
    height: 40px;
    gap: 8px;
  }

  .notice-badge {
    min-height: 22px;
    padding: 0 7px;
    font-size: 7px;
  }

  .notice-text {
    padding-right: 50px;
    font-size: 9px;
  }

  .notice-detail {
    min-height: 26px;
    padding: 0 8px;
    font-size: 7px;
  }

  .notice-dialog {
    padding: 10px;
  }

  .notice-sheet {
    padding: 28px 20px 22px;
    border-radius: 21px;
  }

  .notice-sheet h2 {
    font-size: 25px;
  }

  .notice-dialog-content {
    font-size: 10px;
  }

  .notice-dialog-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 9px;
  }

  .notice-dialog-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .notice-badge .icon {
    display: none;
  }

  .notice-detail {
    padding: 0 7px;
  }

  .admin-notice-grid .admin-setting-card {
    padding: 18px 15px;
  }
}


/* Rejected record refund note */
.my-record-statuses {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.my-refund-chip {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  padding: 0 6px;
  border: 1px solid rgba(204, 91, 72, 0.28);
  border-radius: 999px;
  color: var(--coral-deep);
  background: #fff4ef;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.my-refund-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(204, 91, 72, 0.22);
  border-radius: 8px;
  background: #fff7f2;
}

.my-refund-note strong {
  display: block;
  color: var(--coral-deep);
  font-size: 8px;
}

.my-refund-note p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.65;
}

.my-refund-note .btn {
  min-height: 29px;
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 7.5px;
}

@media (max-width: 760px) {
  .my-refund-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .my-refund-note .btn {
    width: 100%;
  }
}


/* My page refund banner and per-record refund state */
.my-refund-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(204, 91, 72, 0.22);
  background: #fff7f2;
}

.my-refund-banner strong {
  display: block;
  color: var(--coral-deep);
  font-size: 8.5px;
}

.my-refund-banner p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.6;
}

.my-refund-banner .btn {
  min-height: 29px;
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 7.5px;
}

.my-refund-state {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  padding: 0 6px;
  border: 1px solid rgba(204, 91, 72, 0.28);
  border-radius: 999px;
  color: var(--coral-deep);
  background: #fff4ef;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.my-refund-state.is-refunded {
  border-color: rgba(23, 63, 53, 0.22);
  color: var(--ink);
  background: var(--lime-soft);
}

@media (max-width: 760px) {
  .my-refund-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 9px 14px;
  }

  .my-refund-banner .btn {
    width: 100%;
  }
}


/* =========================================================
   Developer dialog/admin, refund controls, unified schedule bg
   ========================================================= */

.developer-dialog {
  padding: 22px;
}

.developer-sheet {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: 34px 34px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 27px;
  background: var(--paper);
  box-shadow: 0 35px 90px -30px rgba(0, 0, 0, 0.45);
  animation: modal-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.developer-sheet > .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.developer-profile {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.55);
}

.developer-avatar {
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 3px solid var(--white);
  border-radius: 23px;
  background: var(--white);
  box-shadow: 6px 7px 0 rgba(217, 231, 90, 0.82);
}

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

.developer-info h2 {
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.developer-role {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.developer-contact {
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
}

.developer-contact strong {
  margin-left: 5px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.developer-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.developer-actions button,
.developer-actions a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  font-size: 7.5px;
  font-weight: 700;
}

.developer-actions button:hover,
.developer-actions a:hover {
  background: var(--lime);
}

.developer-message {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(217, 231, 90, 0.12);
}

.developer-message .modal-kicker {
  color: var(--coral-deep);
}

.developer-message > p:last-child {
  margin-top: 7px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
}

.developer-note {
  margin-top: 15px;
  color: var(--muted-light);
  font-size: 7px;
  text-align: right;
}

/* Admin developer card */
.admin-developer-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 13px 0;
}

.admin-developer-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid var(--white);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(217, 231, 90, 0.75);
}

.admin-developer-avatar-row .upload-control {
  width: max-content;
}

.admin-developer-avatar-row .admin-text-btn {
  display: block;
  margin-top: 6px;
}

#adminDeveloperForm {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

#adminDeveloperForm .field {
  margin: 0;
}

/* Admin refund controls */
.admin-refund-box {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(204, 91, 72, 0.24);
  border-radius: 9px;
  background: #fff7f2;
}

.admin-refund-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-refund-head strong {
  color: var(--coral-deep);
  font-size: 8.5px;
}

.admin-refund-head span {
  color: var(--muted);
  font-size: 7.5px;
}

.admin-refund-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 8px;
}

.admin-refund-check,
.admin-refund-amount {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 650;
}

.admin-refund-check input {
  width: 13px;
  height: 13px;
  accent-color: var(--coral-deep);
}

.admin-refund-amount input {
  width: 72px;
  min-height: 28px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  font-size: 8px;
}

.admin-refund-controls .btn {
  min-height: 28px;
  padding: 0 9px;
  font-size: 7.5px;
}

/* Keep the words schedule visually continuous with song arrangement */
.admin-words-manager {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.admin-words-head {
  padding: 10px 12px;
  background: rgba(234, 226, 210, 0.35);
}

.admin-words-manager .admin-word-row {
  padding: 8px 12px;
}

.schedule-words {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.schedule-words.is-empty {
  border-style: solid;
}

.schedule-words-head {
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(234, 226, 210, 0.35), rgba(255, 253, 248, 0.08));
}

@media (max-width: 760px) {
  .developer-dialog {
    padding: 10px;
  }

  .developer-sheet {
    padding: 27px 19px 22px;
    border-radius: 21px;
  }

  .developer-profile {
    align-items: flex-start;
    gap: 14px;
  }

  .developer-avatar {
    width: 88px;
    height: 88px;
    border-radius: 19px;
  }

  .developer-info h2 {
    font-size: 25px;
  }

  .admin-refund-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .admin-refund-controls .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .developer-profile {
    flex-direction: column;
  }

  .developer-avatar {
    width: 78px;
    height: 78px;
  }

  .developer-actions {
    flex-wrap: wrap;
  }
}


/* Mobile schedule tabs: Mon–Wed / Thu–Fri, three + two */
@media (max-width: 760px) {
  .day-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: visible;
    gap: 6px;
    padding: 8px;
    scrollbar-width: auto;
  }

  .day-tab {
    min-width: 0;
    flex: none;
    grid-column: span 2;
    scroll-snap-align: none;
    padding: 9px 10px 10px;
  }

  .day-tab:nth-child(4),
  .day-tab:nth-child(5) {
    grid-column: span 3;
  }

  .day-tab-top strong {
    font-size: 12px;
  }

  .day-tab-date {
    font-size: 9px;
  }

  .day-tab-free {
    margin-top: 3px;
    font-size: 8px;
  }
}

/* Keep the top problem-feedback entry icon-only on phone/tablet widths */
@media (max-width: 900px) {
  .feedback-link {
    width: 34px;
    height: 34px;
    min-height: 34px;
    justify-content: center;
    padding: 0;
  }

  .feedback-link span {
    display: none;
  }
}

@media (max-width: 420px) {
  .day-tab {
    padding: 8px 8px 9px;
  }

  .day-tab-top strong {
    font-size: 11px;
  }

  .day-tab-date {
    font-size: 8px;
  }

  .day-tab-free {
    font-size: 7.5px;
  }

  .day-tab-free i {
    width: 3px;
    height: 3px;
  }
}
