:root {
  --bg: #f3eee6;
  --bg-soft: #ebe4d9;
  --surface: rgba(255, 255, 255, 0.4);
  --line: rgba(23, 20, 17, 0.12);
  --text: #161311;
  --muted: rgba(22, 19, 17, 0.68);
  --accent: #d95e34;
  --accent-soft: rgba(217, 94, 52, 0.12);
  --shadow: 0 24px 80px rgba(31, 24, 18, 0.12);
  --radius: 28px;
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217, 94, 52, 0.16), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(79, 74, 68, 0.12), transparent 28%),
    linear-gradient(180deg, #f6f1e9 0%, #f3eee6 48%, #eee6da 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 19, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 19, 17, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
  z-index: -1;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.page-header,
.notice-hero,
.notice-feed,
.page-footer {
  width: var(--content);
  margin: 0 auto;
}

.page-header {
  margin-top: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 10px;
  z-index: 20;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: rgba(248, 242, 235, 0.54);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 10px 30px rgba(31, 24, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

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

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.brand-copy span,
.page-nav a,
.notice-hero h1,
.feed-heading h2,
.notice-title {
  font-family: "Sora", sans-serif;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy span,
.page-nav a,
.hero-copy,
.section-kicker,
.status-pill,
.notice-meta,
.notice-summary,
.notice-content,
.empty-state p {
  color: var(--muted);
}

.brand-copy span {
  font-size: 0.74rem;
}

.page-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.page-header-end {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.page-nav a {
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.nav-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(22, 19, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 8px 22px rgba(31, 24, 18, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--muted);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  color: var(--text);
}

.nav-icon:hover,
.nav-icon:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(217, 94, 52, 0.26);
  background: rgba(255, 255, 255, 0.44);
  color: var(--text);
}

.page-nav a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.nav-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-main {
  padding-bottom: 42px;
}

.notice-hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  padding: 18px 0 44px;
}

.section-kicker {
  margin: 0 0 18px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notice-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 32rem;
  margin: 24px 0 0;
  font-size: 1.06rem;
  line-height: 1.85;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-strip {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(22, 19, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-strip span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-strip strong {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
}

.notice-feed {
  padding: 0 0 32px;
  border-top: 1px solid rgba(22, 19, 17, 0.08);
}

.feed-heading {
  padding: 42px 0 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.feed-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.feed-actions,
.notice-badges,
.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.status-pill,
.notice-badge,
.notice-level,
.notice-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.button {
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-secondary,
.status-pill,
.notice-badge,
.notice-level {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.28);
  color: var(--muted);
}

.notice-list {
  border-top: 1px solid rgba(22, 19, 17, 0.1);
}

.notice-card {
  padding: 28px 0;
  display: grid;
  gap: 18px;
  border-bottom: 1px solid rgba(22, 19, 17, 0.1);
  transition: padding-left 180ms ease, background-color 180ms ease;
}

.notice-card:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 24%);
}

.notice-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.notice-title {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.notice-level {
  text-transform: uppercase;
  font-size: 0.76rem;
}

.notice-level.level-info {
  color: #5f7f9e;
}

.notice-level.level-success {
  color: #507b55;
}

.notice-level.level-warning {
  color: #9a6b18;
}

.notice-level.level-critical {
  color: #b0484c;
}

.notice-summary,
.notice-content {
  margin: 0;
  max-width: 52rem;
  line-height: 1.85;
}

.notice-link {
  width: fit-content;
  border-color: rgba(22, 19, 17, 0.1);
  background: var(--accent-soft);
  color: var(--accent);
}

.empty-state {
  padding: 34px 0 0;
}

.empty-state p {
  margin: 0;
}

.page-footer {
  padding: 0 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-footer a {
  color: var(--muted);
  transition: color 180ms ease;
}

.page-footer a:hover,
.page-footer a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none;
}

@media (max-width: 980px) {
  .page-header,
  .feed-heading,
  .notice-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-header-end {
    width: 100%;
    justify-content: space-between;
  }

  .notice-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
  }
}

@media (max-width: 720px) {
  :root {
    --content: min(1180px, calc(100vw - 28px));
  }

  .page-header-end {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .page-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    width: 100%;
  }

  .hero-strip {
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal,
  .reveal.is-visible,
  .button,
  .notice-card {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .notice-card:hover {
    padding-left: 0;
    background: transparent;
  }
}
