:root {
  --paper: #f4f8fd;
  --paper-deep: #e6f0f9;
  --surface: #ffffff;
  --surface-soft: #f4f9fe;
  --ink: #14283e;
  --ink-soft: #34506b;
  --muted: #5f788f;
  --faint: #8ba1b6;
  --line: rgba(22, 52, 83, 0.12);
  --line-strong: rgba(22, 52, 83, 0.2);
  --rose: #2463a6;
  --rose-deep: #174a7e;
  --rose-dark: #0c2f52;
  --rose-soft: #e1eefb;
  --rose-wash: rgba(36, 99, 166, 0.08);
  --gold: #6f9bc4;
  --gold-soft: #d7e7f5;
  --danger: #a33f38;
  --shadow-sm: 0 8px 22px rgba(20, 45, 75, 0.06);
  --shadow-md: 0 20px 55px rgba(20, 45, 75, 0.09);
  --shadow-lg: 0 40px 100px rgba(9, 29, 51, 0.2);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    "Iowan Old Style", "Times New Roman", serif;
  --display: "Baskerville", "Iowan Old Style", "Palatino Linotype", "Times New Roman",
    var(--serif);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -4%, rgba(166, 207, 240, 0.5), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(196, 222, 245, 0.34), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, #f1f7fd 58%, #e8f2fb 100%);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

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

svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  color: var(--rose-dark);
  background: #cfe3f5;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--rose-dark);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(10px);
}

.ambient-orb--one {
  top: 16%;
  left: -9rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(166, 207, 240, 0.28), transparent 68%);
}

.ambient-orb--two {
  top: 52%;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(190, 218, 244, 0.22), transparent 68%);
}

.ambient-grain {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    radial-gradient(rgba(22, 52, 83, 0.075) 0.55px, transparent 0.55px),
    radial-gradient(rgba(255, 255, 255, 0.6) 0.55px, transparent 0.55px);
  background-position:
    0 0,
    3px 4px;
  background-size:
    5px 5px,
    7px 7px;
  mix-blend-mode: multiply;
}

.floating-heart {
  position: absolute;
  color: rgba(36, 99, 166, 0.17);
  font-family: var(--serif);
  animation: drift 9s ease-in-out infinite;
}

.floating-heart--one {
  top: 26%;
  left: 8%;
  font-size: 28px;
  animation-delay: -2s;
}

.floating-heart--two {
  top: 14%;
  right: 11%;
  font-size: 18px;
  animation-delay: -5s;
}

.floating-heart--three {
  top: 64%;
  right: 5%;
  font-size: 36px;
  animation-delay: -7s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-14px) rotate(5deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(22, 52, 83, 0.08);
  background: rgba(247, 251, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, 100%);
  height: 72px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #f7fbff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(135deg, #123e68, #2b6cae);
  box-shadow:
    0 7px 18px rgba(12, 47, 82, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.brand__mark span {
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  transform: translateY(-1px);
}

.brand__mark i {
  position: absolute;
  right: -2px;
  bottom: -1px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #b9d3e9;
  border-radius: 50%;
  color: var(--rose);
  background: var(--surface);
  font-size: 9px;
  font-style: normal;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-write {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-write svg {
  width: 14px;
  height: 14px;
}

.nav-write:hover {
  color: var(--rose-deep);
  border-color: rgba(36, 99, 166, 0.35);
  background: var(--rose-wash);
  transform: translateY(-1px);
}

.nav-admin {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-admin svg {
  width: 17px;
  height: 17px;
}

.nav-admin:hover {
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.58);
}

body.is-admin .nav-admin {
  color: var(--rose-deep);
  border-color: rgba(36, 99, 166, 0.16);
  background: var(--rose-wash);
}

.page-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.hero {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 0 54px;
  text-align: center;
}

.hero::before {
  content: "N";
  position: absolute;
  top: 26px;
  right: -10px;
  z-index: -1;
  color: rgba(22, 52, 83, 0.035);
  font-family: var(--display);
  font-size: 310px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 20px;
}

.hero__line {
  display: block;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 155, 196, 0.7));
}

.hero__line:last-child {
  background: linear-gradient(90deg, rgba(111, 155, 196, 0.7), transparent);
}

.hero__diamond {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--rose);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__title {
  margin: 22px auto 24px;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 80px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.hero__title em {
  position: relative;
  color: var(--rose);
  font-style: normal;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  right: 1%;
  bottom: 0.03em;
  left: 2%;
  z-index: -1;
  height: 0.16em;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(36, 99, 166, 0.2), transparent);
  transform: rotate(-0.7deg);
}

.hero__copy {
  margin: 0 auto;
  max-width: 540px;
  color: var(--muted);
  font-size: 14.5px;
  letter-spacing: 0.035em;
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    opacity 0.2s ease;
}

.button svg {
  width: 16px;
  height: 16px;
}

.button--primary {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 48%),
    linear-gradient(135deg, #123e68, #2b6cae);
  box-shadow:
    0 12px 28px rgba(18, 62, 104, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button--primary:hover {
  box-shadow:
    0 15px 34px rgba(18, 62, 104, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.button--primary:active {
  transform: translateY(0);
}

.button--primary:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.button--quiet {
  gap: 8px;
  padding: 0 8px;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.button--quiet span {
  color: var(--rose);
  font-size: 15px;
  transition: transform 0.2s ease;
}

.button--quiet:hover {
  color: var(--rose-deep);
}

.button--quiet:hover span {
  transform: translateY(2px);
}

.button--wide {
  width: 100%;
  min-height: 50px;
}

.button__heart {
  margin-left: 2px;
  color: #bcd8f0;
  font-family: var(--serif);
  font-size: 17px;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
  color: var(--muted);
}

.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero__stat strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.hero__stat span {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero__meta > i {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.hero__meta p {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  max-width: 185px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.7;
  text-align: left;
}

.announcement-area {
  display: grid;
  gap: 10px;
  width: min(760px, 100%);
  margin: 0 auto 18px;
}

.announcement {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(36, 99, 166, 0.17);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(225, 238, 251, 0.8));
  box-shadow: var(--shadow-sm);
}

.announcement::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(36, 99, 166, 0.5), transparent);
}

.announcement__seal span {
  display: block;
}

.announcement__seal {
  display: grid;
  flex: 0 0 43px;
  place-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(36, 99, 166, 0.45);
  border-radius: 50%;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-5deg);
}

.announcement__body {
  flex: 1;
  min-width: 0;
}

.announcement__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.announcement__head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.announcement__head time {
  color: var(--faint);
  font-size: 10px;
}

.announcement__body p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.announcement__delete {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--faint);
  font-size: 10px;
}

.announcement__delete:hover {
  color: var(--danger);
}

.compose-prompt {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto 48px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background: rgba(248, 252, 255, 0.67);
  box-shadow:
    0 16px 45px rgba(22, 52, 83, 0.06),
    inset 0 0 0 1px rgba(22, 52, 83, 0.035);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.compose-prompt__avatar {
  position: relative;
  display: grid;
  flex: 0 0 50px;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--rose-deep);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 45%),
    linear-gradient(135deg, #e1eefb, #c9dff3);
  box-shadow: inset 0 0 0 1px rgba(36, 99, 166, 0.13);
}

.compose-prompt__avatar span {
  font-family: var(--display);
  font-size: 24px;
}

.compose-prompt__avatar i {
  position: absolute;
  right: 0;
  bottom: -1px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #cfe3f5;
  border-radius: 50%;
  color: var(--rose);
  background: var(--surface);
  font-size: 8px;
  font-style: normal;
}

.compose-prompt__copy {
  flex: 1;
  min-width: 0;
}

.compose-prompt__copy p {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.compose-prompt__copy span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compose-prompt__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(36, 99, 166, 0.16);
  border-radius: 999px;
  color: var(--rose-deep);
  background: rgba(225, 238, 251, 0.7);
  font-size: 12px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.compose-prompt__button svg {
  width: 13px;
  height: 13px;
}

.compose-prompt__button:hover {
  background: #d5e7f8;
  transform: translateY(-1px);
}

.feed {
  width: min(760px, 100%);
  margin: 0 auto;
  scroll-margin-top: 90px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-heading h2 sup {
  position: relative;
  top: -0.55em;
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border: 1px solid rgba(36, 99, 166, 0.15);
  border-radius: 999px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.section-heading__right {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 5px;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6f9b8b;
  box-shadow: 0 0 0 3px rgba(142, 161, 123, 0.12);
}

.live-label {
  margin-right: 5px;
  color: var(--faint);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.icon-button svg {
  width: 15px;
  height: 15px;
}

.icon-button:hover {
  color: var(--rose-deep);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.icon-button.is-spinning svg {
  animation: spin 0.8s linear infinite;
}

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

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

.loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed rgba(22, 52, 83, 0.14);
  border-radius: 22px;
  color: var(--faint);
  background: rgba(248, 252, 255, 0.35);
}

.loading-heart {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 30px;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.loading-card p {
  margin: 12px 0 0;
  font-size: 11px;
  letter-spacing: 0.06em;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.post-card {
  position: relative;
  padding: 24px 26px 18px;
  border: 1px solid rgba(22, 52, 83, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 252, 255, 0.93));
  box-shadow:
    0 16px 42px rgba(20, 45, 75, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease);
}

.post-card:hover {
  border-color: rgba(36, 99, 166, 0.18);
  box-shadow:
    0 20px 50px rgba(20, 45, 75, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.post-card.is-new {
  animation: arrive 1.2s var(--ease);
}

@keyframes arrive {
  0% {
    border-color: rgba(36, 99, 166, 0.5);
    box-shadow: 0 0 0 5px rgba(36, 99, 166, 0.1);
  }
  100% {
    border-color: rgba(22, 52, 83, 0.1);
    box-shadow: 0 16px 42px rgba(20, 45, 75, 0.055);
  }
}

.post-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.post-card__author {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.post-avatar {
  position: relative;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--rose-deep);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.85), transparent 45%),
    linear-gradient(145deg, #d5e7f8, #bcd8f0);
  box-shadow: inset 0 0 0 1px rgba(36, 99, 166, 0.1);
}

.post-avatar span {
  font-family: var(--serif);
  font-size: 18px;
}

.post-avatar i {
  position: absolute;
  right: -1px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid #cfe3f5;
  border-radius: 50%;
  color: var(--rose);
  background: var(--surface);
  font-size: 7px;
  font-style: normal;
}

.post-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.post-name {
  max-width: 220px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-badge {
  padding: 1px 6px;
  border: 1px solid rgba(111, 155, 196, 0.28);
  border-radius: 999px;
  color: #4878a5;
  background: rgba(215, 231, 245, 0.34);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.post-time {
  margin: 4px 0 0;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.post-target {
  flex: 0 1 auto;
  max-width: 46%;
  padding: 6px 11px;
  overflow: hidden;
  border: 1px solid rgba(36, 99, 166, 0.1);
  border-radius: 999px;
  color: var(--rose-deep);
  background: rgba(226, 239, 251, 0.72);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-target span {
  margin-right: 2px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 9px;
}

.post-target b {
  font-weight: 500;
}

.post-content {
  margin: 19px 1px 18px;
  color: #1c3a56;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.025em;
  line-height: 1.92;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px dashed rgba(22, 52, 83, 0.11);
}

.post-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.post-action svg {
  width: 15px;
  height: 15px;
}

.post-action:hover {
  color: var(--rose-deep);
}

.comment-toggle {
  color: var(--rose-deep);
}

.comment-toggle .comment-count {
  font-weight: 600;
}

.post-actions__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post-report {
  color: var(--faint);
  font-size: 10px;
}

.post-report:hover {
  color: var(--danger);
}

.post-admin-delete {
  color: #a33f38;
  font-size: 10px;
}

.comments {
  margin-top: 15px;
  padding: 16px;
  border: 1px solid rgba(22, 52, 83, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(240, 247, 253, 0.9), rgba(244, 249, 254, 0.8));
  animation: unfold 0.3s var(--ease);
}

@keyframes unfold {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-list {
  display: grid;
  gap: 13px;
}

.comment {
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(22, 52, 83, 0.08);
}

.comment:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.comment__head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.comment__avatar {
  display: grid;
  flex: 0 0 23px;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(36, 99, 166, 0.11);
  font-family: var(--serif);
  font-size: 10px;
}

.comment__name {
  max-width: 140px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment__time {
  color: var(--faint);
  font-size: 9.5px;
}

.comment__tools {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.comment-report,
.comment-admin-delete {
  color: var(--faint);
  font-size: 9.5px;
}

.comment-report:hover {
  color: var(--danger);
}

.comment-admin-delete {
  color: #a33f38;
}

.comment__content {
  margin: 5px 0 0 30px;
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 0.015em;
  line-height: 1.72;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.comments-empty {
  margin: 2px 0 0;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.comment-form {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px dashed rgba(22, 52, 83, 0.1);
}

.comment-form__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.comment-name,
.comment-input {
  min-width: 0;
  border: 1px solid rgba(22, 52, 83, 0.12);
  border-radius: 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.comment-name:focus,
.comment-input:focus {
  border-color: rgba(36, 99, 166, 0.42);
  box-shadow: 0 0 0 3px rgba(36, 99, 166, 0.07);
}

.comment-name {
  width: 128px;
  padding: 7px 9px;
}

.comment-form__hint {
  color: var(--faint);
  font-size: 9px;
}

.comment-form__compose {
  display: flex;
  align-items: center;
  gap: 7px;
}

.comment-input {
  flex: 1;
  padding: 9px 11px;
}

.comment-submit {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #f7fbff;
  background: linear-gradient(135deg, #143f6b, #2b6cae);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.comment-submit svg {
  width: 15px;
  height: 15px;
}

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

.comment-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.comment-error {
  margin-top: 8px;
  color: var(--danger);
  font-size: 10.5px;
  line-height: 1.6;
}

.empty-state {
  padding: 60px 24px;
  border: 1px dashed rgba(22, 52, 83, 0.16);
  border-radius: 22px;
  background: rgba(248, 252, 255, 0.36);
  text-align: center;
}

.empty-state__heart {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  opacity: 0.75;
}

.empty-state h3 {
  margin: 15px 0 7px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.load-more {
  display: block;
  margin: 22px auto 0;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-decoration-color: rgba(22, 52, 83, 0.2);
  text-underline-offset: 4px;
}

.closing {
  padding: 84px 0 46px;
  text-align: center;
}

.closing__heart {
  display: block;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  opacity: 0.68;
}

.closing p {
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.closing__caption {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.3em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(980px, calc(100% - 64px));
  margin: 0 auto;
  padding: 23px 0 calc(23px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-footer button,
.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(22, 52, 83, 0.18);
  text-underline-offset: 3px;
}

.site-footer button:hover,
.site-footer a:hover {
  color: var(--rose-deep);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 45, 0.46);
  opacity: 0;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: opacity 0.3s ease;
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(88vh, 900px);
  padding: 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal.is-open .modal__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.modal__close svg {
  width: 15px;
  height: 15px;
}

.modal__close:hover {
  color: var(--rose-deep);
  background: var(--rose-soft);
  transform: rotate(6deg);
}

.modal__header {
  padding-right: 30px;
}

.modal__header h2 {
  margin: 8px 0 7px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.modal__header > span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

#composeForm {
  margin-top: 25px;
}

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

.field {
  position: relative;
  display: block;
}

.field + .field {
  margin-top: 13px;
}

.form-grid .field + .field {
  margin-top: 0;
}

.field__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.field__label i {
  color: var(--faint);
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(22, 52, 83, 0.13);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.field input {
  height: 44px;
  padding: 0 13px;
}

.field textarea {
  min-height: 126px;
  padding: 12px 13px 30px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.comment-name::placeholder,
.comment-input::placeholder {
  color: #8ba1b6;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(36, 99, 166, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 99, 166, 0.08);
}

.field--message {
  margin-top: 14px;
}

.field__counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 1px 3px;
  color: var(--faint);
  background: #fff;
  font-size: 9px;
  pointer-events: none;
}

.field__counter b {
  color: var(--rose);
  font-weight: 500;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 13px 0 16px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.015em;
  line-height: 1.65;
}

.form-note span {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 12px;
}

.form-error {
  margin: 0 0 13px;
  padding: 10px 12px;
  border: 1px solid rgba(161, 63, 55, 0.14);
  border-radius: 9px;
  color: #8c3730;
  background: #fdf1ef;
  font-size: 11px;
  line-height: 1.65;
}

#composeForm .button--wide {
  margin-top: 2px;
}

.admin-card {
  width: min(720px, 100%);
}

.admin-login {
  margin-top: 25px;
}

.admin-login .button {
  margin-top: 17px;
}

.admin-login__hint {
  margin: 13px 0 0;
  color: var(--faint);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  text-align: center;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 30px;
}

.admin-header h2 {
  margin: 7px 0 5px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.admin-header__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-header__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6f9b8b;
  box-shadow: 0 0 0 3px rgba(130, 154, 112, 0.12);
}

.admin-logout {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.admin-logout:hover {
  color: var(--danger);
  border-color: rgba(161, 63, 55, 0.25);
}

.admin-tabs {
  display: flex;
  gap: 6px;
  margin: 24px 0 18px;
  padding: 4px;
  border: 1px solid rgba(22, 52, 83, 0.08);
  border-radius: 12px;
  background: rgba(235, 245, 253, 0.62);
}

.admin-tab {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-tab.is-active {
  color: var(--rose-deep);
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(22, 52, 83, 0.07);
}

.admin-tab b {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-size: 8px;
  font-weight: 600;
}

.announcement-form {
  padding: 17px;
  border: 1px solid rgba(22, 52, 83, 0.08);
  border-radius: 15px;
  background: rgba(244, 249, 254, 0.7);
}

.announcement-form .field + .field {
  margin-top: 12px;
}

.announcement-form textarea {
  min-height: 100px;
  padding-bottom: 12px;
}

.announcement-form .button {
  min-height: 40px;
  margin-top: 13px;
  font-size: 11.5px;
}

.admin-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 2px 10px;
}

.admin-subhead--top {
  margin-top: 3px;
}

.admin-subhead h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.admin-subhead span {
  color: var(--faint);
  font-size: 9px;
}

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

.admin-announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(22, 52, 83, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.55);
}

.admin-announcement-item__body {
  flex: 1;
  min-width: 0;
}

.admin-announcement-item__body h4 {
  margin: 0;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}

.admin-announcement-item__body p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-announcement-item time {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 8.5px;
}

.admin-announcement-item button {
  flex: 0 0 auto;
  color: var(--danger);
  font-size: 9.5px;
}

.admin-help {
  margin: 0 2px 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.text-button {
  color: var(--rose-deep);
  font-size: 10px;
  text-decoration: underline;
  text-decoration-color: rgba(36, 99, 166, 0.25);
  text-underline-offset: 3px;
}

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

.admin-report {
  padding: 14px;
  border: 1px solid rgba(22, 52, 83, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-report__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.report-type {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--rose-deep);
  background: var(--rose-soft);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.admin-report__head time {
  margin-left: auto;
  color: var(--faint);
  font-size: 8.5px;
}

.admin-report__reason {
  margin: 0 0 7px;
  color: var(--danger);
  font-size: 10.5px;
  font-weight: 600;
}

.admin-report__quote {
  margin: 0;
  padding: 9px 11px;
  border-left: 2px solid rgba(36, 99, 166, 0.25);
  color: var(--ink-soft);
  background: rgba(244, 249, 254, 0.72);
  font-size: 10.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.admin-report__quote i {
  display: block;
  margin-bottom: 3px;
  color: var(--faint);
  font-size: 8.5px;
  font-style: normal;
}

.admin-report__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.mini-button {
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 9.5px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.mini-button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.mini-button--danger {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #9b3d36, #b05a4c);
}

.mini-button--danger:hover {
  color: #fff;
  opacity: 0.9;
}

.admin-empty {
  padding: 28px 18px;
  border: 1px dashed rgba(22, 52, 83, 0.13);
  border-radius: 12px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 12px;
  text-align: center;
}

.report-card {
  width: min(560px, 100%);
}

.report-quote {
  margin: 20px 0;
  padding: 12px 15px;
  overflow: hidden;
  border-left: 2px solid rgba(36, 99, 166, 0.32);
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  background: rgba(240, 247, 253, 0.8);
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.reason-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}

.reason-fieldset legend {
  width: 100%;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

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

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

.reason-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(22, 52, 83, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.reason-pill input:checked + span {
  color: var(--rose-deep);
  border-color: rgba(36, 99, 166, 0.32);
  background: var(--rose-soft);
}

.reason-pill input:focus-visible + span {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.report-card .field textarea {
  min-height: 84px;
  padding-bottom: 12px;
}

.report-card .button {
  margin-top: 15px;
}

.toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(16, 38, 62, 0.95);
  box-shadow: 0 14px 34px rgba(8, 25, 45, 0.24);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition:
    opacity 0.25s ease,
    transform 0.3s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

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

body.modal-open .toast {
  top: calc(14px + env(safe-area-inset-top));
  bottom: auto;
}

body.modal-open .toast:not(.is-visible) {
  transform: translate(-50%, -14px);
}

.toast__heart {
  color: #a9cbe8;
  font-family: var(--serif);
  font-size: 14px;
}

.toast p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 300;
  padding: 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--rose-dark);
  text-align: center;
}

@media (max-width: 760px) {
  .site-header__inner {
    height: 62px;
    padding: 0 18px;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__mark span {
    font-size: 21px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .brand__text small {
    margin-top: 4px;
    font-size: 7px;
    letter-spacing: 0.2em;
  }

  .site-nav {
    gap: 5px;
  }

  .nav-write {
    height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .nav-admin {
    width: 34px;
    height: 34px;
  }

  .page-shell {
    padding: 0 18px;
  }

  .hero {
    padding: 50px 0 38px;
  }

  .hero::before {
    top: 54px;
    right: -30px;
    font-size: 220px;
  }

  .hero__ornament {
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .hero__title {
    margin: 18px auto 20px;
    font-size: clamp(38px, 10.2vw, 58px);
    letter-spacing: -0.05em;
    line-height: 1.22;
  }

  .hero__copy {
    max-width: 350px;
    font-size: 12.5px;
    line-height: 1.9;
  }

  .desktop-break {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    gap: 7px;
    margin-top: 25px;
  }

  .hero__actions .button--primary {
    min-width: 210px;
  }

  .hero__meta {
    gap: 16px;
    margin-top: 27px;
  }

  .hero__stat strong {
    font-size: 20px;
  }

  .hero__meta p {
    display: none;
  }

  .announcement {
    gap: 13px;
    padding: 15px 16px;
  }

  .announcement__seal {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 9.5px;
  }

  .announcement__head h3 {
    font-size: 13.5px;
  }

  .announcement__body p {
    font-size: 11.5px;
    line-height: 1.7;
  }

  .compose-prompt {
    gap: 12px;
    margin-bottom: 38px;
    padding: 14px 15px;
    border-radius: 18px;
  }

  .compose-prompt__avatar {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .compose-prompt__avatar span {
    font-size: 20px;
  }

  .compose-prompt__copy p {
    margin-bottom: 2px;
    font-size: 14px;
  }

  .compose-prompt__copy span {
    font-size: 9.5px;
  }

  .compose-prompt__button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 10.5px;
  }

  .section-heading {
    margin-bottom: 15px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .live-label {
    display: none;
  }

  .post-card {
    padding: 19px 17px 15px;
    border-radius: 19px;
  }

  .post-card__top {
    gap: 10px;
  }

  .post-avatar {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .post-name {
    max-width: 150px;
    font-size: 12.5px;
  }

  .post-time {
    font-size: 9px;
  }

  .post-target {
    max-width: 45%;
    padding: 5px 8px;
    font-size: 9.5px;
  }

  .post-content {
    margin: 16px 0 15px;
    font-size: 16px;
    line-height: 1.88;
  }

  .post-actions {
    padding-top: 11px;
  }

  .post-action {
    font-size: 10.5px;
  }

  .comments {
    padding: 13px;
  }

  .comment__name {
    max-width: 110px;
    font-size: 11px;
  }

  .comment__content {
    margin-left: 30px;
    font-size: 12px;
  }

  .comment-input,
  .comment-name {
    font-size: 16px;
  }

  .comment-name {
    width: 120px;
    padding: 6px 8px;
  }

  .comment-form__hint {
    display: none;
  }

  .closing {
    padding: 62px 0 36px;
  }

  .closing p {
    font-size: 25px;
  }

  .site-footer {
    flex-direction: column;
    width: calc(100% - 36px);
    padding: 19px 0 calc(19px + env(safe-area-inset-bottom));
    text-align: center;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal__card {
    width: 100%;
    max-height: 92vh;
    max-height: 92svh;
    padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    transform: translateY(100%);
    transition:
      opacity 0.25s ease,
      transform 0.4s var(--ease);
  }

  .modal.is-open .modal__card {
    transform: translateY(0);
  }

  .modal__close {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .modal__header {
    padding-right: 24px;
  }

  .modal__header h2 {
    margin-top: 6px;
    font-size: 26px;
  }

  .modal__header > span {
    font-size: 10.5px;
  }

  #composeForm {
    margin-top: 17px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .form-grid .field + .field {
    margin-top: 0;
  }

  .field input,
  .field textarea {
    font-size: 16px;
  }

  .field input {
    height: 42px;
    padding: 0 11px;
  }

  .field textarea {
    min-height: 108px;
    padding: 10px 11px 27px;
  }

  .field--message {
    margin-top: 11px;
  }

  .field__counter {
    right: 10px;
    bottom: 8px;
  }

  .form-note {
    margin: 10px 0 12px;
    font-size: 9px;
    line-height: 1.55;
  }

  #composeForm .button--wide {
    min-height: 46px;
  }

  .admin-header {
    padding-right: 46px;
  }

  .admin-header h2 {
    font-size: 27px;
  }

  .admin-logout {
    margin-top: 5px;
  }

  .admin-tabs {
    margin-top: 20px;
  }

  .announcement-form {
    padding: 14px;
  }

  .admin-report__head time {
    width: 100%;
    margin-left: 0;
  }

  .reason-pill span {
    min-height: 34px;
    padding: 0 12px;
  }

  .toast {
    bottom: calc(18px + env(safe-area-inset-bottom));
    padding: 10px 15px;
  }

  .toast p {
    font-size: 10.5px;
  }
}

@media (max-width: 420px) {
  .brand__text small {
    display: none;
  }

  .hero__copy {
    max-width: 310px;
    font-size: 12px;
  }

  .compose-prompt__copy span {
    display: none;
  }

  .compose-prompt__copy p {
    font-size: 13px;
  }

  .compose-prompt__button {
    gap: 4px;
    padding: 0 11px;
  }

  .post-card__top {
    flex-wrap: wrap;
  }

  .post-target {
    max-width: 100%;
    margin-left: 49px;
  }

  .post-content {
    font-size: 15.5px;
  }

  .post-actions {
    gap: 8px;
  }

  .post-actions__right {
    gap: 9px;
  }

  .section-heading__right {
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__title em {
    white-space: normal;
  }

  .hero__copy {
    font-size: 11.5px;
  }

  .post-card {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (max-width: 340px) {
  .hero__title {
    font-size: 29px;
  }

  .hero__title em {
    white-space: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
