:root {
  --paper: rgba(255, 255, 255, 0.24);
  --paper-strong: rgba(255, 255, 255, 0.4);
  --paper-deep: rgba(255, 255, 255, 0.3);
  --ink: #fffdf8;
  --muted: rgba(255, 253, 248, 0.78);
  --line: rgba(255, 255, 255, 0.32);
  --line-strong: rgba(255, 255, 255, 0.56);
  --red-today: #fffdf8;
  --red-1: #eaf3ff;
  --red-3: #d8e6ff;
  --red-7: #c2d6fb;
  --red-old: #a9c1ee;
  --shadow: rgba(8, 44, 120, 0.26);
  --glass-blur: blur(24px) saturate(170%);
  --ui-font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-font: "Gowun Batang", "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 5%, rgba(203, 220, 255, 0.9), transparent 21%),
    radial-gradient(circle at 91% 82%, rgba(255, 129, 66, 0.9), transparent 25%),
    radial-gradient(circle at 48% 53%, rgba(220, 112, 255, 0.38), transparent 32%),
    radial-gradient(circle at 8% 9%, rgba(0, 82, 174, 0.98), transparent 40%),
    linear-gradient(150deg, #075293 0%, #4f9bf0 39%, #99a9f2 68%, #ffad5f 100%);
  color: var(--ink);
  font-family: var(--ui-font);
  font-weight: 300;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    radial-gradient(circle at 91% 10%, rgba(255, 255, 255, 0.24) 0 12%, transparent 13%),
    radial-gradient(circle at -8% 72%, rgba(255, 255, 255, 0.18) 0 18%, transparent 19%),
    linear-gradient(118deg, transparent 0 16%, rgba(255, 255, 255, 0.1) 16% 22%, transparent 22% 100%);
}

body::after {
  background:
    linear-gradient(180deg, rgba(0, 36, 104, 0.12), transparent 42%, rgba(255, 255, 255, 0.08)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 58%);
}

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

button {
  color: inherit;
}

.shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 34px 80px rgba(8, 44, 120, 0.18);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 28px 28px 22px;
  border-bottom: 0;
  background: transparent;
  text-align: left;
}

.brand-lockup {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 148px;
  padding: 0 0 0 26px;
  align-content: start;
}

.brand-lockup::before {
  position: absolute;
  left: 7px;
  top: 2px;
  width: 1px;
  height: 132px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 0.1),
    rgba(255, 253, 248, 0.62) 14%,
    rgba(255, 253, 248, 0.62) 82%,
    rgba(255, 253, 248, 0.12)
  );
  content: "";
}

.admin-link {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  min-width: 44px;
  min-height: 32px;
}

.kicker {
  order: 2;
  margin: 0;
  color: rgba(255, 253, 248, 0.62);
  font-family: var(--ui-font);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  display: grid;
  gap: 1px;
  margin: 0;
  color: #fffdf8;
  font-family: var(--ui-font);
  font-size: 43px;
  font-weight: 400;
  line-height: 0.98;
  text-shadow: none;
}

h1 span {
  display: block;
}

h1 span:last-child {
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 24px;
  line-height: 1.05;
}

.app {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 150px);
  padding: 28px 24px 148px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 430px);
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 2, 6, 0.94);
}

.nav-item {
  min-height: 64px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.nav-item.active {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(255, 55, 55, 0.82);
}

.fab-write {
  position: fixed;
  right: max(22px, calc((100vw - 430px) / 2 + 24px));
  bottom: 28px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
    rgba(103, 148, 232, 0.18);
  backdrop-filter: blur(20px) saturate(170%);
  color: #fffdf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 34px rgba(8, 44, 120, 0.24);
}

.fab-write span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  overflow: hidden;
  color: transparent;
}

.fab-write span::before,
.fab-write span::after {
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  content: "";
}

.fab-write span::after {
  transform: rotate(90deg);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 8;
  min-width: 118px;
  max-width: min(310px, calc(100vw - 48px));
  transform: translate(-50%, 12px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14)),
    rgba(54, 111, 214, 0.26);
  padding: 12px 18px;
  color: #fffdf8;
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 18px 42px rgba(8, 44, 120, 0.26);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.write-mode .fab-write,
.admin-mode .fab-write {
  display: none;
}

.nav-item:focus-visible,
.admin-link:focus-visible,
.report-button:focus-visible,
.ghost-button:focus-visible,
.primary-button:focus-visible,
.danger-button:focus-visible,
.text-button:focus-visible,
.date-row:focus-visible,
.fab-write:focus-visible {
  outline: 2px solid var(--red-1);
  outline-offset: -3px;
}

.screen-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.screen-copy {
  margin: 0 0 34px;
  color: var(--muted);
  font-family: var(--content-font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.65;
}

.date-section {
  margin: 0 0 96px;
}

.date-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 26px;
  padding-bottom: 0;
  text-shadow: none;
}

.date-heading strong {
  font-family: var(--ui-font);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}

.date-heading span {
  white-space: nowrap;
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 500;
}

.article {
  position: relative;
  isolation: isolate;
  margin: 96px 0 78px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 32px 26px 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.22) 0%, rgba(59, 107, 204, 0.22) 50%, rgba(255, 175, 218, 0.16) 100%),
    rgba(20, 70, 164, 0.26);
  backdrop-filter: blur(26px) saturate(178%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -46px 80px rgba(255, 255, 255, 0.06),
    0 24px 60px var(--shadow);
}

.article.label-breaking {
  --label-color: #fff0ef;
  --label-glow: rgba(255, 105, 94, 0.38);
}

.article.label-exclusive {
  --label-color: #ffe48f;
  --label-glow: rgba(255, 210, 91, 0.34);
}

.article.label-field {
  --label-color: #c5f4ff;
  --label-glow: rgba(102, 220, 255, 0.32);
}

.article.label-follow-up {
  --label-color: #eadcff;
  --label-glow: rgba(190, 150, 255, 0.34);
}

.article.label-brief {
  --label-color: #ffd7e7;
  --label-glow: rgba(255, 143, 190, 0.28);
}

.article.label-review {
  --label-color: #ffc27d;
  --label-glow: rgba(255, 146, 65, 0.34);
}

.article::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 30px;
  box-shadow: 0 0 46px var(--label-glow, rgba(145, 196, 255, 0.22));
  pointer-events: none;
  content: "";
}

.article::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 29px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 26%),
    linear-gradient(180deg, rgba(3, 38, 104, 0.18), rgba(3, 38, 104, 0.34)),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 42% 55%, transparent 55% 100%);
  pointer-events: none;
  content: "";
}

.article-meta {
  display: contents;
  margin-bottom: 0;
  padding-right: 0;
  color: rgba(255, 237, 232, 0.72);
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 900;
}

.byline {
  position: absolute;
  top: -34px;
  right: 24px;
  color: rgba(255, 253, 248, 0.84);
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.label {
  position: absolute;
  top: -34px;
  left: 24px;
  color: var(--label-color, #ffb0b0);
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 0 18px var(--label-glow, rgba(255, 176, 176, 0.16));
}

.article h2 {
  margin: 0 0 14px;
  font-family: var(--content-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.34;
  color: #fffdf8;
  text-shadow: 0 2px 16px rgba(4, 32, 93, 0.34);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.article .body {
  margin: 0;
  color: rgba(255, 253, 248, 0.96);
  font-family: var(--content-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.82;
  text-shadow: 0 1px 12px rgba(4, 32, 93, 0.28);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 800;
}

.feed-banner {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3.5 / 1;
  margin: -22px auto 74px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1) 58%, rgba(255, 205, 177, 0.18)),
    rgba(83, 141, 230, 0.24);
  padding: 0;
  color: #fffdf8;
  text-decoration: none;
  backdrop-filter: blur(24px) saturate(172%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 44px rgba(8, 44, 120, 0.16);
}

.feed-banner::before {
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.14) 45% 56%, transparent 57% 100%);
  pointer-events: none;
  content: "";
}

.feed-banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-position: center;
  background-size: cover;
}

.feed-banner > span {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 5px 9px;
  color: rgba(255, 253, 248, 0.86);
  font-family: var(--ui-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px) saturate(160%);
}

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

.reaction-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fffdf8;
  padding: 0 10px;
}

.thumb-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 15px;
}

.thumb-icon::before {
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border-radius: 4px 4px 2px 2px;
  background: currentColor;
  content: "";
}

.thumb-icon::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 13px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.thumb-down {
  transform: rotate(180deg);
  opacity: 0.54;
}

.like-count {
  min-width: 8px;
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 900;
}

.like-button.liked {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 18px rgba(255, 205, 120, 0.22);
}

.comment-toggle[aria-expanded="true"],
.share-button:active,
.emoji-button:active,
.comment-preset:active {
  background: rgba(255, 255, 255, 0.28);
}

.comment-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
}

.comment-panel[hidden] {
  display: none;
}

.emoji-strip,
.comment-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emoji-button,
.comment-preset,
.comment-more {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fffdf8;
  padding: 0 10px;
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
}

.emoji-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
}

.emoji-button span {
  font-size: 11px;
  opacity: 0.78;
}

.comment-presets {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.comment-items {
  display: grid;
  gap: 8px;
}

.comment-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-list li,
.comment-empty {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 11px;
  color: rgba(255, 253, 248, 0.88);
  font-family: var(--content-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.comment-empty {
  color: rgba(255, 253, 248, 0.58);
}

.comment-more {
  justify-self: start;
}

.dislike-button.force-like .thumb-down {
  animation: forcedLike 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes forcedLike {
  0% {
    transform: rotate(180deg) translateY(0);
  }

  45% {
    transform: rotate(180deg) translateY(5px);
    opacity: 0.35;
  }

  100% {
    transform: rotate(0deg) translateY(0);
    opacity: 1;
  }
}

.report-button,
.ghost-button,
.primary-button,
.danger-button,
.text-button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
}

.report-button {
  position: absolute;
  top: -13px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  border-color: var(--line-strong);
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.1)),
    rgba(94, 143, 232, 0.14);
  box-shadow: 0 8px 20px rgba(8, 44, 120, 0.18);
}

.siren-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.76);
  border-bottom-width: 3px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16));
  box-shadow: none;
}

.siren-icon::before,
.siren-icon::after {
  position: absolute;
  top: -4px;
  width: 5px;
  height: 2px;
  border-radius: 999px;
  background: #ffb8b8;
  content: "";
}

.siren-icon::before {
  left: -5px;
  transform: rotate(35deg);
}

.siren-icon::after {
  right: -5px;
  transform: rotate(-35deg);
}

.siren-icon::before,
.siren-icon::after {
  background: rgba(255, 255, 255, 0.74);
}

.primary-button {
  width: 100%;
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14)),
    rgba(80, 135, 235, 0.22);
  color: #fffdf9;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 34px rgba(8, 44, 120, 0.18);
}

.danger-button {
  border-color: var(--line-strong);
  color: #ffc4c4;
}

.form {
  display: grid;
  gap: 18px;
}

.write-progress {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)),
    rgba(34, 88, 184, 0.16);
  padding: 14px;
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 14px 34px rgba(8, 44, 120, 0.16);
}

.write-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 253, 248, 0.84);
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 600;
}

.write-progress-meta strong {
  color: rgba(255, 253, 248, 0.72);
  font-weight: 500;
}

.progress-track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c5f4ff, #ffe48f, #ffad5f);
  box-shadow: 0 0 18px rgba(255, 228, 143, 0.3);
  transition: width 220ms ease;
}

.write-step {
  display: grid;
  gap: 18px;
}

.write-step[hidden] {
  display: none;
}

.step-actions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
}

.step-actions .primary-button,
.step-actions .ghost-button {
  width: 100%;
}

.step-actions .primary-button[hidden],
.step-actions .ghost-button[hidden] {
  display: none;
}

.step-actions:has(.ghost-button[hidden]) {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.principles h3 {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  padding: 13px 12px;
  font-family: var(--ui-font);
  font-size: 16px;
  font-weight: 300;
}

textarea {
  font-family: var(--content-font);
  font-weight: 600;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

textarea {
  min-height: 154px;
  resize: vertical;
  line-height: 1.65;
}

.principles {
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.18);
  padding: 16px;
  backdrop-filter: blur(18px) saturate(142%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 16px 42px rgba(22, 57, 128, 0.16);
}

.principles h3 {
  margin: 0 0 10px;
}

.principles ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--content-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.check-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--content-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.check-row input {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.84);
  border-radius: 6px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 18px rgba(20, 60, 140, 0.14);
}

.check-row input:checked {
  border-color: rgba(255, 255, 255, 0.96);
  background:
    url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.2 8.2 6.4 11.4 12.8 4.6' fill='none' stroke='%232F67D8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 16px 16px no-repeat,
    rgba(255, 255, 255, 0.92);
}

.check-row input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.notice {
  border: 1px solid var(--line-strong);
  border-left: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14)),
    var(--paper-deep);
  padding: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
  backdrop-filter: blur(14px);
}

.date-list,
.status-list,
.admin-list {
  display: grid;
  gap: 18px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 26px;
}

.admin-metrics article {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(80, 136, 232, 0.12)),
    rgba(18, 70, 164, 0.22);
  padding: 14px;
  color: #fffdf8;
  backdrop-filter: blur(20px) saturate(168%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 14px 34px rgba(8, 44, 120, 0.14);
}

.admin-metrics .metric-action {
  cursor: pointer;
}

.admin-metrics article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.admin-metrics .metric-action:focus-visible {
  outline: 2px solid var(--red-1);
  outline-offset: -4px;
}

.admin-metrics span,
.admin-panel-heading span,
.admin-row-top span {
  color: rgba(255, 253, 248, 0.74);
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 600;
}

.admin-metrics strong {
  display: block;
  margin-top: 6px;
  color: #fffdf8;
  font-family: var(--ui-font);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.admin-jump {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  margin: -10px 0 28px;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.admin-jump button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(61, 141, 246, 0.22);
  color: rgba(255, 253, 248, 0.9);
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 24px rgba(8, 44, 120, 0.1);
  backdrop-filter: blur(18px) saturate(160%);
}

.admin-jump button:focus-visible {
  outline: 2px solid var(--red-1);
  outline-offset: -3px;
}

.admin-jump button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12)),
    rgba(97, 166, 255, 0.32);
  color: #fffdf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 26px rgba(8, 44, 120, 0.14);
}

.admin-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 34px;
}

.admin-mode .app {
  padding-bottom: 96px;
}

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

.admin-panel-recent {
  border: 1px solid rgba(217, 255, 243, 0.5);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(217, 255, 243, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(17, 91, 142, 0.22);
  padding: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 18px 46px rgba(8, 44, 120, 0.2);
}

.admin-panel-recent .admin-panel-heading h3 {
  color: #d9fff3;
}

.admin-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-panel-heading h3 {
  margin: 0;
  color: #fffdf8;
  font-family: var(--ui-font);
  font-size: 16px;
  font-weight: 700;
}

.admin-panel-heading p {
  margin: 5px 0 0;
  color: rgba(255, 253, 248, 0.68);
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.admin-panel-completed {
  border: 1px solid rgba(217, 255, 243, 0.32);
  border-radius: 26px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-panel-banners {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.banner-form {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(18, 70, 164, 0.18);
  padding: 14px;
  backdrop-filter: blur(18px) saturate(160%);
}

.banner-form label {
  display: grid;
  gap: 6px;
}

.banner-form span {
  color: rgba(255, 253, 248, 0.78);
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 700;
}

.banner-form input,
.banner-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  color: #fffdf8;
  padding: 0 12px;
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.banner-form input::placeholder {
  color: rgba(255, 253, 248, 0.48);
}

.banner-upload-field {
  position: relative;
}

.banner-file-input {
  position: absolute;
  inset: 22px 0 20px;
  z-index: 2;
  cursor: pointer;
  opacity: 0;
}

.banner-file-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border: 1px dashed rgba(255, 255, 255, 0.46);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  padding: 0 14px;
  color: #fffdf8;
  font-family: var(--ui-font);
}

.banner-file-control b {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1;
}

.banner-file-control small {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 253, 248, 0.72);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banner-upload-field em {
  color: rgba(255, 253, 248, 0.58);
  font-family: var(--ui-font);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.banner-upload-preview {
  display: grid;
  place-items: center;
}

.banner-upload-preview[hidden] {
  display: none;
}

.banner-upload-preview .feed-banner {
  margin: 0;
}

.banner-form select option {
  color: #143a7e;
}

.banner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.banner-submit {
  min-height: 44px;
  margin-top: 2px;
}

.banner-admin-row {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(80, 136, 232, 0.12)),
    rgba(18, 70, 164, 0.24);
  padding: 14px;
  backdrop-filter: blur(20px) saturate(168%);
}

.banner-admin-preview .feed-banner {
  margin: 0;
}

.banner-facts {
  margin: 0;
}

.date-row,
.status-row,
.admin-row {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(80, 136, 232, 0.14)),
    rgba(18, 70, 164, 0.28);
  color: #fffdf8;
  padding: 16px;
  text-align: left;
  backdrop-filter: blur(22px) saturate(168%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 18px 44px rgba(8, 44, 120, 0.18);
}

.admin-row {
  border-radius: 22px;
  padding: 14px;
}

.admin-panel-recent .admin-row {
  border-color: rgba(217, 255, 243, 0.56);
  background:
    linear-gradient(150deg, rgba(217, 255, 243, 0.16), rgba(80, 136, 232, 0.12)),
    rgba(18, 70, 164, 0.3);
}

.admin-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-row-top strong {
  flex: 0 0 auto;
  color: #ffd6a5;
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.resolved-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.resolved-strip span,
.resolved-strip strong {
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
}

.resolved-strip span {
  color: #d9fff3;
}

.resolved-strip strong {
  color: rgba(255, 253, 248, 0.72);
}

.date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
}

.date-row strong {
  font-size: 18px;
}

.date-row span,
.status-row span,
.admin-row span {
  color: rgba(255, 253, 248, 0.78);
  font-size: 12px;
}

.status-row h2,
.admin-row h2 {
  margin: 7px 0 8px;
  color: #fffdf8;
  font-size: 17px;
  line-height: 1.35;
}

.status-row p,
.admin-row p {
  margin: 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: 14px;
  line-height: 1.65;
}

.admin-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.admin-facts div {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.admin-facts dt,
.report-detail h4,
.reported-content h4 {
  margin: 0 0 5px;
  color: rgba(255, 253, 248, 0.68);
  font-family: var(--ui-font);
  font-size: 10px;
  font-weight: 700;
}

.admin-facts dd {
  margin: 0;
  color: #fffdf8;
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 600;
}

.report-detail,
.reported-content {
  margin: 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.reported-content {
  margin-top: 12px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(60, 117, 220, 0.12)),
    rgba(255, 255, 255, 0.1);
}

.reported-content h2 {
  margin: 2px 0 10px;
  color: #fffdf8;
  font-family: var(--content-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.42;
}

.reported-content p {
  color: rgba(255, 253, 248, 0.94);
  font-family: var(--content-font);
  font-size: 15px;
  line-height: 1.75;
}

.report-detail ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-detail li {
  display: grid;
  gap: 3px;
}

.report-detail li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}

.report-detail strong {
  color: #ffd6a5;
  font-family: var(--ui-font);
  font-size: 13px;
  font-weight: 700;
}

.report-detail span {
  color: rgba(255, 253, 248, 0.74);
  font-size: 11px;
}

.report-detail p {
  color: rgba(255, 253, 248, 0.9);
  font-size: 13px;
  line-height: 1.55;
}

.status-pill {
  display: inline-block;
  margin-top: 8px;
  color: #ffb1ac;
  font-size: 13px;
  font-weight: 700;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.admin-actions .ghost-button,
.admin-actions .danger-button {
  min-height: 38px;
  font-size: 14px;
}

.report-sheet {
  position: fixed;
  inset: auto 0 0;
  z-index: 5;
  width: min(100%, 430px);
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
  border-radius: 28px 28px 0 0;
  background: rgba(28, 7, 12, 0.8);
  padding: 18px;
  box-shadow: 0 -16px 36px var(--shadow);
  backdrop-filter: var(--glass-blur);
}

.report-sheet h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 20px;
}

.report-options {
  display: grid;
  gap: 8px;
}

.empty {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  padding: 32px 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  backdrop-filter: blur(16px);
}

@media (max-width: 360px) {
  .app {
    padding-inline: 14px;
  }

  .article h2 {
    font-size: 20px;
  }

  h1 {
    font-size: 34px;
  }
}
