:root {
  --ink: #20302f;
  --muted: #66706a;
  --paper: #fffaf2;
  --paper-strong: #fff3e4;
  --blush: #d97373;
  --blush-dark: #a9474c;
  --sage: #7b927c;
  --blue: #243a5e;
  --line: rgba(32, 48, 47, 0.16);
  --shadow: 0 24px 70px rgba(32, 48, 47, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blush-dark);
  cursor: pointer;
  min-height: 48px;
  padding: 0 24px;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

button:hover {
  transform: translateY(-1px);
  background: #913b40;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.split-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(16, 24, 23, 0.08), rgba(16, 24, 23, 0.78)),
    url("/assets/letters-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-copy {
  width: min(620px, 100%);
  padding: 56px;
  color: #fffdf7;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.32);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blush);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #ffd6cd;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 7vw, 5.75rem);
}

h2 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3.75rem);
}

.hero-copy p:last-child,
.form-shell > p + h2 + .letter-form {
  margin-top: 24px;
}

.hero-copy p:last-child {
  max-width: 590px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.form-panel {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px;
  background:
    linear-gradient(90deg, rgba(123, 146, 124, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(217, 115, 115, 0.10), rgba(255, 250, 242, 0.76));
  background-size: 42px 42px, auto;
}

.form-shell {
  width: min(680px, 100%);
  perspective: 1200px;
}

.letter-form {
  display: grid;
  gap: 18px;
  margin-top: -72px;
  padding: 34px 34px 30px;
  transform: none;
}

.paper-letter {
  position: relative;
  border: 1px solid rgba(113, 92, 68, 0.26);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 56px, rgba(217, 115, 115, 0.26) 57px, transparent 58px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 33px, rgba(36, 58, 94, 0.16) 34px 35px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 247, 231, 0.96));
  box-shadow:
    0 18px 42px rgba(32, 48, 47, 0.16),
    inset 0 0 44px rgba(169, 71, 76, 0.05);
}

.paper-letter::before,
.paper-letter::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.paper-letter::before {
  inset: 10px;
  border: 1px solid rgba(123, 146, 124, 0.12);
}

.paper-letter::after {
  right: 24px;
  bottom: 20px;
  width: 70px;
  height: 54px;
  border: 1px solid rgba(169, 71, 76, 0.28);
  border-radius: 50%;
  opacity: 0.45;
  transform: rotate(-12deg);
}

.compose-envelope {
  position: relative;
  width: min(520px, 90%);
  height: 190px;
  margin: 28px auto 0;
  transform: rotate(1.4deg);
  filter: drop-shadow(0 20px 32px rgba(32, 48, 47, 0.18));
}

.compose-envelope::before {
  position: absolute;
  z-index: 0;
  inset: 42px 0 0;
  content: "";
  border: 1px solid rgba(113, 92, 68, 0.24);
  border-radius: 6px;
  background: linear-gradient(180deg, #f7dfc8, #dfbb94);
}

.envelope-flap,
.envelope-pocket {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(113, 92, 68, 0.22);
  border-radius: 6px;
  background: #f0d5bc;
}

.envelope-flap {
  z-index: 3;
  top: 42px;
  clip-path: polygon(0 0, 50% 76%, 100% 0);
  background: linear-gradient(180deg, #f7dfc8, #ddb990);
  transform-origin: top;
}

.envelope-pocket {
  z-index: 2;
  top: 42px;
  background:
    linear-gradient(32deg, transparent 49.5%, rgba(113, 92, 68, 0.18) 50%, transparent 50.5%),
    linear-gradient(-32deg, transparent 49.5%, rgba(113, 92, 68, 0.18) 50%, transparent 50.5%),
    linear-gradient(180deg, #f4d9bf, #dfbd98);
  clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%);
}

.letter-stamp {
  justify-self: end;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 88px;
  height: 64px;
  border: 1px dashed rgba(169, 71, 76, 0.58);
  color: var(--blush-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.sender-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(36, 58, 94, 0.22);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.44);
  outline: 0;
  padding: 12px 10px;
}

textarea {
  min-height: 210px;
  resize: vertical;
  border: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 32px, rgba(36, 58, 94, 0.18) 33px 34px),
    rgba(255, 253, 248, 0.24);
  line-height: 34px;
}

input:focus,
textarea:focus {
  box-shadow: 0 6px 0 -3px rgba(123, 146, 124, 0.42);
}

.form-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.status[data-tone="success"] {
  color: #326d49;
}

.status[data-tone="error"] {
  color: #a23c3c;
}

.surprise-page {
  background:
    linear-gradient(rgba(255, 250, 242, 0.88), rgba(255, 250, 242, 0.96)),
    url("/assets/letters-hero.png") center / cover fixed;
}

.surprise-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 44px clamp(22px, 5vw, 72px) 26px;
}

.surprise-header h1 {
  max-width: 900px;
  color: var(--blue);
  font-size: clamp(2.4rem, 7vw, 5.4rem);
}

.secondary-button {
  flex: 0 0 auto;
  border: 1px solid rgba(36, 58, 94, 0.22);
  color: var(--blue);
  background: rgba(255, 253, 248, 0.74);
}

.secondary-button:hover {
  color: #fff;
  background: var(--blue);
}

.letters-stage {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.counter-band {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}

.counter-band span {
  color: var(--blush-dark);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
}

.counter-band p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.letters-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.letter-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 236px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  transform: rotate(var(--tilt));
  animation: rise 560ms ease both;
  animation-delay: var(--delay);
}

.envelope-card {
  perspective: 1200px;
}

.envelope-button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 236px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  filter: drop-shadow(0 18px 26px rgba(32, 48, 47, 0.15));
}

.envelope-button:hover {
  background: transparent;
  transform: translateY(-2px);
}

.closed-envelope {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(113, 92, 68, 0.24);
  border-radius: 6px;
  background: #eecfaf;
}

.closed-flap,
.closed-pocket {
  position: absolute;
  inset: 0;
}

.closed-flap {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.28), transparent),
    linear-gradient(135deg, #f7dec5, #d8ac82);
  clip-path: polygon(0 0, 50% 58%, 100% 0);
  transform-origin: top center;
  transition: transform 420ms ease;
}

.closed-pocket {
  z-index: 1;
  background:
    linear-gradient(32deg, transparent 49.5%, rgba(113, 92, 68, 0.2) 50%, transparent 50.5%),
    linear-gradient(-32deg, transparent 49.5%, rgba(113, 92, 68, 0.2) 50%, transparent 50.5%),
    linear-gradient(180deg, #f2d4b6, #ddb58e);
  clip-path: polygon(0 0, 50% 48%, 100% 0, 100% 100%, 0 100%);
}

.wax-seal {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff7ef;
  background: radial-gradient(circle at 35% 30%, #d97373, #9b3339);
  box-shadow: inset 0 -4px 8px rgba(73, 20, 23, 0.25);
  font-size: 1.25rem;
  transform: translate(-50%, -35%);
}

.envelope-label {
  position: relative;
  z-index: 4;
  align-self: end;
  justify-self: center;
  display: grid;
  gap: 5px;
  width: min(78%, 260px);
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(113, 92, 68, 0.18);
  border-radius: 4px;
  background: rgba(255, 250, 242, 0.78);
  text-align: center;
}

.envelope-label strong,
.envelope-label small {
  display: block;
  overflow-wrap: anywhere;
}

.envelope-label strong {
  font-size: 1.22rem;
}

.envelope-label small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
}

.opened-letter {
  position: relative;
  z-index: 1;
  max-height: 0;
  margin: -20px 16px 0;
  padding: 0 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-40px) rotate(0.4deg);
  transition: max-height 520ms ease, opacity 260ms ease, padding 520ms ease, transform 520ms ease;
}

.envelope-card.is-open .closed-flap {
  transform: rotateX(178deg);
}

.envelope-card.is-open .envelope-button {
  min-height: 176px;
}

.envelope-card.is-open .opened-letter {
  max-height: 2000px;
  padding: 30px 24px 26px;
  opacity: 1;
  transform: translateY(-8px) rotate(0.4deg);
}

.letter-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--sage);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.letter-topline p {
  margin: 0;
}

.letter-topline span {
  color: rgba(169, 71, 76, 0.58);
}

.letter-message {
  margin: 0;
  font-size: 1.15rem;
  line-height: 34px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.letter-card footer {
  margin-top: 22px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.94rem;
}

.empty-state {
  margin: 40px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.moderation-page {
  background:
    linear-gradient(rgba(255, 250, 242, 0.92), rgba(255, 250, 242, 0.98)),
    url("/assets/letters-hero.png") center / cover fixed;
}

.moderation-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px) 28px;
}

.moderation-header h1 {
  color: var(--blue);
  font-size: clamp(2.3rem, 6vw, 4.8rem);
}

.moderation-header p:last-child {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid rgba(36, 58, 94, 0.2);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(255, 253, 248, 0.78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: #fff;
  background: var(--blue);
}

.moderation-stage {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 60px;
}

.moderation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
}

.moderation-toolbar span {
  color: var(--muted);
}

.moderation-toolbar span[data-tone="success"] {
  color: #326d49;
}

.moderation-toolbar span[data-tone="error"] {
  color: #a23c3c;
}

.moderation-list {
  display: grid;
  gap: 18px;
}

.moderation-card {
  border: 1px solid rgba(32, 48, 47, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 34px rgba(32, 48, 47, 0.09);
  animation: rise 420ms ease both;
  animation-delay: var(--delay);
}

.moderation-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.moderation-card-header,
.moderation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.moderation-card-header h2 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  overflow-wrap: anywhere;
}

.moderation-date {
  margin: 0 0 7px;
  color: var(--sage);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.moderation-badge {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(169, 71, 76, 0.22);
  border-radius: 999px;
  color: var(--blush-dark);
  background: rgba(217, 115, 115, 0.08);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.moderation-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.moderation-page input,
.moderation-page textarea {
  border: 1px solid rgba(36, 58, 94, 0.18);
  border-radius: 8px;
  background: #fffdf8;
}

.moderation-page textarea {
  min-height: 190px;
  line-height: 1.55;
}

.moderation-actions {
  align-items: center;
}

.danger-button {
  color: #fff;
  background: #8d3535;
}

.danger-button:hover {
  background: #702828;
}

.music-toggle {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 2px solid rgba(255, 250, 242, 0.82);
  border-radius: 50%;
  color: #fff;
  background: var(--blush-dark);
  box-shadow: 0 8px 24px rgba(32, 48, 47, 0.24);
}

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

.music-toggle.is-playing {
  background: var(--blue);
}

.music-toggle span {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1;
  transform: translateX(1px);
}

.music-toggle.is-playing span {
  transform: none;
}

.site-banner {
  width: 100%;
  overflow: hidden;
  border-bottom: 5px solid #e8326d;
  background: #f2d7ad;
}

.site-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.site-banner picture {
  display: block;
}

@media (min-width: 881px) {
  .site-banner {
    max-height: min(62vh, 640px);
  }

  .site-banner picture,
  .site-banner img {
    width: 100%;
    height: 100%;
  }

  .site-banner img {
    object-fit: cover;
    object-position: center;
  }
}

.guest-page,
.surprise-page {
  background:
    linear-gradient(90deg, rgba(123, 65, 145, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #fff3dc, #fffaf2);
  background-size: 38px 38px, auto;
}

.guest-page .form-panel {
  min-height: auto;
  padding: 64px 24px 80px;
  background: transparent;
}

.guest-page .form-shell {
  width: min(780px, 100%);
}

.guest-page .form-shell > h1 {
  max-width: 760px;
  color: var(--blue);
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.form-intro,
.surprise-intro {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
}

.guest-page .compose-envelope {
  margin-top: 38px;
}

.guest-page .letter-form {
  margin-top: -72px;
  background:
    linear-gradient(90deg, transparent 56px, rgba(217, 115, 115, 0.22) 57px, transparent 58px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 231, 0.98));
  box-shadow: 0 16px 36px rgba(32, 48, 47, 0.14);
}

.name-field,
.message-field {
  position: relative;
  z-index: 1;
}

.guided-field {
  padding: 14px 14px 16px;
  border: 2px dashed rgba(169, 71, 76, 0.34);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.56);
}

.field-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: var(--blue);
}

.field-label::after {
  content: "↘";
  margin-left: 9px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(3px);
}

.name-field input {
  height: 35px;
  padding: 0 10px;
  line-height: 34px;
  background: rgba(255, 255, 255, 0.62);
}

.message-field textarea {
  min-height: 306px;
  padding: 0 10px;
  background:
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(36, 58, 94, 0.22) 33px 34px),
    rgba(255, 253, 248, 0.18);
  background-position: 0 0;
  line-height: 34px;
  contain: paint;
  transform: translateZ(0);
  will-change: contents;
}

.surprise-header {
  padding-top: 54px;
}

.surprise-intro {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.55;
}

.moderation-desktop-banner {
  display: none;
}

@media (min-width: 881px) {
  .moderation-desktop-banner {
    display: block;
  }
}

.envelope-card {
  align-content: end;
  min-height: 236px;
}

.envelope-card .opened-letter {
  order: 1;
  z-index: 1;
  max-height: 0;
  margin: 0 16px -32px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(120px) rotate(0.4deg);
  transition:
    max-height 620ms ease,
    opacity 240ms ease,
    padding 620ms ease,
    margin 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.envelope-card .envelope-button {
  order: 2;
  z-index: 2;
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), min-height 620ms ease;
}

.envelope-card.is-open .opened-letter {
  max-height: 5000px;
  margin: 0 16px -18px;
  padding: 30px 24px 32px;
  opacity: 1;
  transform: translateY(0) rotate(0.4deg);
}

.envelope-card.is-open .envelope-button {
  min-height: 190px;
  transform: translateY(34px);
}

.envelope-card.is-open .closed-flap {
  transform: rotateX(178deg);
}

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

@media (max-width: 880px) {
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 58vh;
  }

  .hero-copy {
    padding: 34px 24px;
  }

  .form-panel {
    min-height: auto;
    padding: 34px 20px 42px;
  }

  .guest-page .form-panel {
    padding: 40px 18px 56px;
  }

  .letter-form {
    margin-top: -48px;
    padding: 22px;
    transform: none;
  }

  .guest-page .letter-form {
    margin-top: -48px;
  }

  .compose-envelope {
    height: 145px;
    margin-top: 22px;
  }

  .envelope-pocket {
    top: 36px;
  }

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

  .form-actions,
  .surprise-header,
  .moderation-header,
  .moderation-card-header,
  .moderation-actions,
  .moderation-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions button,
  .secondary-button,
  .text-link,
  .moderation-actions button {
    width: 100%;
  }

  .surprise-header {
    padding-top: 34px;
  }

  .site-banner {
    border-bottom-width: 3px;
  }

  .moderation-desktop-banner {
    display: none;
  }

  .site-banner picture,
  .site-banner img {
    display: block;
    width: 100%;
    height: auto;
  }

  .letters-stage {
    width: min(100% - 32px, 1180px);
  }

  .counter-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .letters-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .letter-card {
    transform: none;
  }

  .envelope-card.is-open .opened-letter {
    margin-right: 8px;
    margin-left: 8px;
  }

  .moderation-stage {
    width: min(100% - 32px, 1120px);
  }

  .moderation-fields {
    grid-template-columns: 1fr;
  }

  .music-toggle {
    right: 14px;
    bottom: 14px;
    width: 46px;
    min-height: 46px;
  }
}
