:root {
  color-scheme: light;
  --page-bg: #f3f8fc;
  --surface: #ffffff;
  --text-primary: #0b2457;
  --text-secondary: #7385aa;
  --border: #e1eaf4;
  --primary: #0868f7;
  --primary-hover: #0759d0;
  --notice: #ff4a53;
  --success: #2fc98a;
  --page-padding: clamp(0.75rem, 3.18vw, 1.75rem);
  --section-gap: clamp(0.625rem, 2.35vw, 1.25rem);
  --surface-radius: clamp(0.625rem, 1.88vw, 1rem);
  --header-height: clamp(3.375rem, 9vw, 4.25rem);
  --hero-height: clamp(8.25rem, 34vw, 15rem);
  --cta-height: 2.75rem;
  --metric-diameter: clamp(3.2rem, 15vw, 4.75rem);
  --grid-gap: clamp(0.5rem, 2vw, 1rem);
  --bottom-nav-height: clamp(4.125rem, 17vw, 5rem);
  --content-max: 57.5rem;
  --desktop-content-max: 90rem;
  --shadow: 0 0.3rem 1.25rem rgb(31 94 159 / 0.055);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-width: 20rem;
  overflow-x: clip;
  background: var(--page-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 33%, rgb(165 218 255 / 0.16), transparent 25rem),
    var(--page-bg);
}

html.is-announcement-open,
body.is-announcement-open,
html.is-guide-open,
body.is-guide-open,
html.is-announcement-preview-open,
body.is-announcement-preview-open {
  overflow: hidden;
  overscroll-behavior: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  color: #fff;
  background: var(--primary);
  transform: translateY(-160%);
}

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

.desktop-only {
  display: none;
}

:focus-visible {
  outline: 0.18rem solid rgb(8 104 247 / 0.48);
  outline-offset: 0.15rem;
}

.home-header {
  position: relative;
  z-index: 3;
  min-height: var(--header-height);
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid rgb(211 226 243 / 0.7);
  background: rgb(250 253 255 / 0.94);
}

.home-header__inner {
  width: min(100%, var(--content-max));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-brand,
.home-header__actions,
.section-heading,
.metric,
.bottom-nav__item {
  min-width: 0;
}

.home-brand {
  margin: 0;
  overflow: hidden;
  font-size: clamp(1rem, 4.05vw, 1.5rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.015em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.8vw, 0.75rem);
}

.icon-button,
.login-link {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-button {
  width: clamp(2.25rem, 9vw, 2.75rem);
  height: clamp(2.25rem, 9vw, 2.75rem);
  border-radius: 999px;
  color: var(--primary);
  background: #eaf3ff;
}

.icon-button svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 2;
}

.login-link {
  min-width: clamp(3.6rem, 14vw, 4.8rem);
  padding-inline: clamp(0.8rem, 3vw, 1.25rem);
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: clamp(0.9rem, 3.6vw, 1.05rem);
  transition: background-color 160ms ease, transform 160ms ease;
}

.login-link:active,
.primary-cta:active {
  transform: translateY(1px);
}

.home-hero {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
  background: #d8edff;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 49%;
}

.primary-cta {
  position: absolute;
  left: 50%;
  bottom: clamp(0.7rem, 3vw, 1.25rem);
  width: fit-content;
  max-width: min(16rem, calc(100% - 2 * var(--page-padding)));
  min-height: var(--cta-height);
  padding-inline: clamp(0.8rem, 3vw, 1.05rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.7vw, 0.7rem);
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #0a64ef, #0878ff);
  box-shadow: 0 0.35rem 0.9rem rgb(0 95 226 / 0.18);
  font-size: clamp(1rem, 4.2vw, 1.15rem);
  white-space: nowrap;
  transform: translateX(-50%);
}

.primary-cta svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 1.9;
}

.home-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-max));
  margin: clamp(-0.7rem, -2.7vw, -0.45rem) auto 0;
  padding: 0 var(--page-padding) calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + var(--section-gap));
  display: grid;
  gap: var(--section-gap);
}

.surface {
  overflow: hidden;
  border: 1px solid rgb(225 234 244 / 0.82);
  border-radius: var(--surface-radius);
  background: rgb(255 255 255 / 0.97);
  box-shadow: var(--shadow);
}

.metrics-surface {
  min-height: clamp(7.15rem, 29vw, 10rem);
  padding: clamp(0.55rem, 2.4vw, 0.95rem) clamp(0.5rem, 2.2vw, 1rem) clamp(0.35rem, 1.5vw, 0.65rem);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.25rem, 1.2vw, 0.8rem);
  align-items: start;
}

.metric {
  display: grid;
  justify-items: center;
  gap: clamp(0.28rem, 1.1vw, 0.5rem);
  text-align: center;
}

.metric-ring {
  position: relative;
  width: var(--metric-diameter);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 138deg, currentColor 0 var(--metric-progress, 79.45%), transparent var(--metric-progress, 79.45%) 100%);
  color: #3aa9ed;
}

.metric-ring::before {
  position: absolute;
  inset: clamp(0.35rem, 1.3vw, 0.55rem);
  border-radius: inherit;
  background: var(--surface);
  content: "";
}

.metric-ring::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(120 186 230 / 0.09);
  border-radius: inherit;
  content: "";
}

.metric-ring--soft {
  color: #b8daf7;
}

.metric-ring--green {
  color: var(--success);
}

.metric-value {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 4.3vw, 1.45rem);
  font-weight: 730;
  line-height: 1;
  color: var(--text-primary);
}

.metric-label {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #163468;
  font-size: clamp(0.69rem, 2.95vw, 0.88rem);
  line-height: 1.2;
  white-space: nowrap;
}

.info-button {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid #6f83ad;
  border-radius: 50%;
  color: #6379a5;
  background: transparent;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.metrics-date {
  margin: clamp(0.45rem, 1.8vw, 0.75rem) 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(0.65rem, 2.65vw, 0.78rem);
}

.announcement-surface,
.official-surface,
.guide-surface {
  padding: clamp(0.7rem, 2.8vw, 1.15rem) clamp(0.75rem, 3vw, 1.25rem);
}

.announcement-surface {
  min-height: clamp(5.9rem, 24vw, 8rem);
}

.section-heading {
  min-height: clamp(1.7rem, 6.8vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.section-heading h2 {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 4vw, 1.28rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.heading-icon {
  width: clamp(1.35rem, 5.5vw, 1.8rem);
  height: clamp(1.35rem, 5.5vw, 1.8rem);
  flex: 0 0 auto;
  stroke-width: 1.9;
}

.heading-icon--notice {
  color: var(--notice);
  fill: rgb(255 74 83 / 0.08);
}

.section-more {
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: -0.65rem -0.65rem -0.65rem 0;
  padding: 0 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-size: clamp(0.75rem, 3vw, 0.9rem);
  cursor: pointer;
}

.section-more span {
  font-size: 1.6em;
  line-height: 0.8;
}

.state-stack {
  position: relative;
  min-width: 0;
}

.state-view {
  display: none;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(0.72rem, 2.85vw, 0.9rem);
  text-align: center;
}

[data-home-state="loading"] [data-state-view="loading"],
[data-home-state="empty"] [data-state-view="empty"],
[data-home-state="error"] [data-state-view="error"] {
  display: flex;
}

.announcement-surface .state-view {
  min-height: clamp(2.45rem, 10vw, 3.75rem);
  margin-top: 0.25rem;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border);
}

.announcement-list {
  display: none;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}

[data-home-state="ready"] > .announcement-list {
  display: grid;
}

.announcement-list__item {
  width: 100%;
  min-width: 0;
  min-height: clamp(2.45rem, 9.7vw, 3.25rem);
  padding: 0.2rem 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.55rem, 2.1vw, 0.8rem);
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.announcement-list__item:last-child {
  border-bottom: 0;
}

.announcement-list__item::before {
  width: clamp(0.35rem, 1.45vw, 0.48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--notice);
  box-shadow: 0 0 0 0.2rem rgb(255 74 83 / 0.06);
  content: "";
}

.announcement-list__title {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(0.78rem, 3.2vw, 0.98rem);
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.announcement-list__date {
  color: var(--text-secondary);
  font-size: clamp(0.7rem, 2.9vw, 0.88rem);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.announcement-list__item:active {
  background: #f1f7ff;
  transform: scale(0.995);
}

.carousel-surface {
  position: relative;
  width: 100%;
  aspect-ratio: 5.333 / 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgb(205 225 245 / 0.8);
  border-radius: var(--surface-radius);
  background: #d7ecff;
  box-shadow: var(--shadow);
}

.carousel-track,
.carousel-image {
  width: 100%;
  height: 100%;
}

.carousel-link {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
}

.carousel-link.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-image {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 360ms ease;
}

.carousel-image.is-active {
  opacity: 1;
}

.carousel-image.is-failed {
  display: none;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(0.25rem, 1vw, 0.5rem);
  display: flex;
  gap: clamp(0.2rem, 0.8vw, 0.35rem);
  transform: translateX(-50%);
}

.carousel-dot {
  width: clamp(0.28rem, 1.2vw, 0.4rem);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(80 121 176 / 0.25);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: clamp(0.8rem, 3vw, 1.25rem);
  background: var(--primary);
}

.carousel-error {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: #eef6ff;
}

.carousel-surface:not([data-home-state="ready"]) .carousel-track,
.carousel-surface:not([data-home-state="ready"]) .carousel-dots {
  visibility: hidden;
}

.official-surface {
  min-height: clamp(8.7rem, 35.5vw, 12rem);
}

.official-grid {
  min-height: clamp(5.4rem, 22vw, 8rem);
  margin-top: 0.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.4rem, 1.6vw, 0.7rem);
}

.official-entry {
  min-width: 0;
  min-height: clamp(3rem, 13vw, 4.25rem);
  padding: clamp(0.45rem, 1.8vw, 0.7rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.4rem, 1.5vw, 0.7rem);
  border: 1px solid #e1eaf4;
  border-radius: clamp(0.45rem, 1.7vw, 0.7rem);
  background: #fbfdff;
}

.home-entry__icon {
  width: clamp(1.75rem, 7vw, 2.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: #eaf3ff;
}

.home-entry__icon::before {
  width: 42%;
  height: 48%;
  border: 0.11rem solid currentColor;
  border-radius: 0.13rem;
  content: "";
}

.home-entry__content {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.home-entry__content strong,
.home-entry__content span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-entry__content strong {
  font-size: clamp(0.7rem, 2.9vw, 0.9rem);
}

.home-entry__content span {
  color: var(--text-secondary);
  font-size: clamp(0.58rem, 2.3vw, 0.75rem);
}

.home-entry__arrow {
  color: var(--primary);
  font-size: clamp(1rem, 4vw, 1.35rem);
}

.official-grid > .state-view {
  width: 100%;
  height: 100%;
  min-height: inherit;
  align-items: center;
  justify-content: center;
}

.official-empty {
  gap: 0.45rem;
  flex-direction: column;
  border: 1px dashed #dbe6f2;
  border-radius: clamp(0.5rem, 1.8vw, 0.8rem);
  background: #fbfdff;
}

.official-empty svg {
  width: clamp(1.5rem, 6vw, 2.2rem);
  height: clamp(1.5rem, 6vw, 2.2rem);
  color: #8aa1c2;
}

.guide-surface {
  min-height: clamp(6.35rem, 26vw, 8.75rem);
}

.guide-grid {
  margin-top: 0.4rem;
  display: grid;
  grid-template-columns: repeat(var(--home-navigation-count, 4), minmax(0, 1fr));
  gap: clamp(0.35rem, 1.5vw, 0.8rem);
}

.guide-item {
  min-width: 0;
  min-height: clamp(3.8rem, 15.5vw, 5.4rem);
  padding: clamp(0.45rem, 1.8vw, 0.7rem) 0.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 1vw, 0.45rem);
  border: 1px solid rgb(218 230 243 / 0.42);
  border-radius: clamp(0.45rem, 1.7vw, 0.75rem);
  color: var(--text-primary);
  background: var(--guide-bg);
  font: inherit;
  font-size: clamp(0.6rem, 2.7vw, 0.82rem);
  white-space: nowrap;
  cursor: pointer;
}

.guide-item__icon {
  width: clamp(1.65rem, 6.8vw, 2.35rem);
  height: clamp(1.65rem, 6.8vw, 2.35rem);
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  color: var(--guide-color);
  background: color-mix(in srgb, var(--guide-color) 10%, white);
  font-size: clamp(1.05rem, 4.4vw, 1.45rem);
  font-weight: 800;
}

.guide-item__icon::before {
  content: "";
  width: 48%;
  height: 58%;
  border: 0.13rem solid currentColor;
  border-radius: 0.16rem;
  background: linear-gradient(currentColor, currentColor) 50% 35% / 58% 0.1rem no-repeat,
    linear-gradient(currentColor, currentColor) 50% 64% / 58% 0.1rem no-repeat;
}

.guide-item--blue .guide-item__icon {
  border-radius: 50%;
  color: #fff;
  background: var(--guide-color);
}

.guide-item--blue .guide-item__icon::before {
  width: auto;
  height: auto;
  border: 0;
  background: none;
  content: "?";
}

.guide-item--orange .guide-item__icon::before {
  width: 60%;
  height: 60%;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle, currentColor 0 0.18rem, transparent 0.2rem) 50% 0 / 100% 50% no-repeat,
    radial-gradient(circle, currentColor 0 0.18rem, transparent 0.2rem) 0 100% / 50% 50% no-repeat,
    radial-gradient(circle, currentColor 0 0.18rem, transparent 0.2rem) 100% 100% / 50% 50% no-repeat,
    linear-gradient(currentColor, currentColor) 50% 48% / 0.12rem 42% no-repeat,
    linear-gradient(currentColor, currentColor) 50% 64% / 78% 0.12rem no-repeat;
}

.guide-item--blue { --guide-bg: #f1f8ff; --guide-color: #1471ed; }
.guide-item--green { --guide-bg: #f2fbf7; --guide-color: #24b980; }
.guide-item--orange { --guide-bg: #fff8f1; --guide-color: #f3983c; }
.guide-item--violet { --guide-bg: #f8f5ff; --guide-color: #7049e9; }

.guide-dialog-layer {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: rgb(15 32 57 / 0.58);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation: announcement-backdrop-in 180ms ease-out both;
}

.guide-dialog-layer[hidden] {
  display: none;
}

.guide-sheet {
  width: min(100%, 48rem);
  height: min(78.5dvh, calc(100dvh - 1.5rem - env(safe-area-inset-top, 0px)));
  max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top, 0px));
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: clamp(1.25rem, 5.5vw, 2rem) clamp(1.25rem, 5.5vw, 2rem) 0 0;
  color: var(--text-primary);
  background: #fff;
  box-shadow: 0 -0.8rem 2.5rem rgb(11 36 87 / 0.18);
  animation: announcement-sheet-in 240ms cubic-bezier(0.2, 0.78, 0.25, 1) both;
}

.guide-sheet__handle {
  width: clamp(2.6rem, 11vw, 4rem);
  height: 0.3rem;
  margin: clamp(0.55rem, 2.4vw, 0.8rem) auto 0;
  border-radius: 999px;
  background: #d5dce8;
}

.guide-sheet__header {
  min-width: 0;
  padding: clamp(0.25rem, 1.2vw, 0.5rem) clamp(1rem, 4.3vw, 2rem) clamp(0.45rem, 1.8vw, 0.7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.guide-sheet__heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2.6vw, 0.9rem);
}

.guide-sheet__heading h2 {
  margin: 0;
  font-size: clamp(1rem, 4.1vw, 1.35rem);
  font-weight: 760;
  line-height: 1.25;
}

.guide-sheet__icon {
  width: clamp(2.45rem, 10.5vw, 3.4rem);
  height: clamp(2.45rem, 10.5vw, 3.4rem);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: clamp(0.55rem, 2.4vw, 0.8rem);
  background: linear-gradient(145deg, #168bff, #0967ef);
  box-shadow: 0 0.35rem 0.9rem rgb(8 104 247 / 0.2);
}

.guide-document-icon > span {
  width: 44%;
  height: 55%;
  position: relative;
  display: block;
  border-radius: 0.13rem;
  background: #fff;
  box-shadow: inset 0 -0.7rem 0 rgb(215 236 255 / 0.55);
}

.guide-document-icon > span::before,
.guide-document-icon > span::after {
  position: absolute;
  right: 20%;
  left: 20%;
  height: 0.1rem;
  border-radius: 999px;
  background: #2787f7;
  content: "";
}

.guide-document-icon > span::before { top: 35%; }
.guide-document-icon > span::after { top: 57%; }

.guide-sheet__close {
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.65rem;
  flex: 0 0 auto;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #64769c;
  background: transparent;
  cursor: pointer;
}

.guide-sheet__close svg {
  width: clamp(1.35rem, 5.6vw, 1.75rem);
  height: clamp(1.35rem, 5.6vw, 1.75rem);
  stroke-width: 1.7;
}

.guide-sheet__scroll {
  min-width: 0;
  min-height: 0;
  padding: 0 clamp(1rem, 4.3vw, 2rem) clamp(0.75rem, 3vw, 1.25rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c7d4e5 transparent;
}

.guide-detail__intro {
  padding: clamp(0.2rem, 1vw, 0.45rem) 0 clamp(0.65rem, 2.7vw, 1rem);
  text-align: center;
}

.guide-detail__intro h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.22rem, 5.2vw, 1.85rem);
  font-weight: 780;
  line-height: 1.3;
}

.guide-detail__intro p {
  margin: clamp(0.25rem, 1vw, 0.45rem) 0 0;
  color: #647aa3;
  font-size: clamp(0.75rem, 3.2vw, 1rem);
  line-height: 1.5;
}

.guide-detail__intro p[hidden],
.guide-detail__meta[hidden],
.guide-detail__summary[hidden],
.guide-detail__section[hidden],
.guide-sheet__primary[hidden],
.guide-sheet__secondary[hidden] {
  display: none;
}

.guide-detail__meta {
  min-width: 0;
  margin: 0 0 clamp(0.65rem, 2.8vw, 1rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.3rem, 1.4vw, 0.7rem);
}

.guide-detail__meta-item {
  min-width: 0;
  min-height: clamp(3.3rem, 14vw, 4.5rem);
  padding: clamp(0.42rem, 1.8vw, 0.65rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 0.6rem);
  border-radius: clamp(0.5rem, 2.2vw, 0.75rem);
  background: #f3f8ff;
}

.guide-detail__meta-icon {
  width: clamp(1.65rem, 6.8vw, 2.3rem);
  height: clamp(1.65rem, 6.8vw, 2.3rem);
  position: relative;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e0efff;
}

.guide-detail__meta-icon::before {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background: #2586f5;
  content: "";
}

.guide-detail__meta-icon--time::before {
  inset: 23%;
  border: 0.12rem solid #2586f5;
  background: linear-gradient(#2586f5, #2586f5) 50% 35% / 0.1rem 35% no-repeat,
    linear-gradient(#2586f5, #2586f5) 65% 60% / 32% 0.1rem no-repeat;
}

.guide-detail__meta-icon--category::before {
  inset: 28% 22%;
  border-radius: 0.18rem 50% 50% 0.18rem;
  transform: rotate(-42deg);
}

.guide-detail__meta dt,
.guide-detail__meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.guide-detail__meta dt {
  color: #425b87;
  font-size: clamp(0.65rem, 2.65vw, 0.82rem);
  font-weight: 650;
  line-height: 1.35;
}

.guide-detail__meta dd {
  margin-top: 0.08rem;
  color: #6d80a5;
  font-size: clamp(0.61rem, 2.5vw, 0.78rem);
  line-height: 1.35;
}

.guide-detail__summary {
  min-width: 0;
  margin: 0 0 clamp(0.8rem, 3.2vw, 1.2rem);
  padding: clamp(0.65rem, 2.7vw, 0.9rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.7rem, 2.8vw, 1rem);
  border: 1px solid #dbeaff;
  border-radius: clamp(0.65rem, 2.7vw, 0.95rem);
  background: linear-gradient(105deg, #edf6ff, #f8fbff);
}

.guide-detail__summary > .guide-document-icon {
  width: clamp(2.8rem, 12vw, 4rem);
  height: clamp(2.8rem, 12vw, 4rem);
  display: grid;
  place-items: center;
  border-radius: clamp(0.55rem, 2.2vw, 0.8rem);
  background: #dcecff;
}

.guide-detail__summary h4,
.guide-detail__summary p {
  margin: 0;
  overflow-wrap: anywhere;
}

.guide-detail__summary h4 {
  color: #0868f7;
  font-size: clamp(0.83rem, 3.5vw, 1.05rem);
  line-height: 1.4;
}

.guide-detail__summary p {
  margin-top: 0.2rem;
  color: #64779b;
  font-size: clamp(0.69rem, 2.85vw, 0.88rem);
  line-height: 1.55;
}

.guide-detail__section + .guide-detail__section {
  margin-top: clamp(0.85rem, 3.4vw, 1.25rem);
}

.guide-detail__section > h4 {
  margin: 0 0 clamp(0.55rem, 2.25vw, 0.85rem);
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 2.2vw, 0.8rem);
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  line-height: 1.3;
}

.guide-detail__section > h4 > span {
  width: 0.24rem;
  height: 1.15em;
  border-radius: 999px;
  background: #0a79ff;
}

.guide-detail__steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.4rem, 1.8vw, 0.65rem);
  list-style: none;
}

.guide-detail__steps li {
  min-width: 0;
  padding: clamp(0.5rem, 2.1vw, 0.75rem);
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.5rem, 2.1vw, 0.75rem);
  border: 1px solid #dfe8f4;
  border-radius: clamp(0.5rem, 2.1vw, 0.75rem);
  background: #fff;
}

.guide-step__number {
  width: clamp(1.75rem, 7.3vw, 2.35rem);
  height: clamp(1.75rem, 7.3vw, 2.35rem);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2694ff, #0870f5);
  font-size: clamp(0.82rem, 3.4vw, 1rem);
  font-variant-numeric: tabular-nums;
}

.guide-step__icon {
  width: clamp(2rem, 8.5vw, 2.8rem);
  height: clamp(2rem, 8.5vw, 2.8rem);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf4ff;
}

.guide-step__icon > span { background-color: #2787f7; }
.guide-step__icon > span::before,
.guide-step__icon > span::after { background: #fff; }

.guide-detail__steps h5,
.guide-detail__steps p {
  margin: 0;
  overflow-wrap: anywhere;
}

.guide-detail__steps h5 {
  font-size: clamp(0.79rem, 3.3vw, 1rem);
  line-height: 1.35;
}

.guide-detail__steps p {
  margin-top: 0.12rem;
  color: #6d7fa2;
  font-size: clamp(0.67rem, 2.8vw, 0.86rem);
  line-height: 1.45;
}

.guide-detail__tips {
  min-width: 0;
  padding: clamp(0.65rem, 2.8vw, 0.95rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.65rem, 2.8vw, 1rem);
  border-radius: clamp(0.55rem, 2.3vw, 0.8rem);
  background: linear-gradient(105deg, #fff7ec, #fffbf4);
}

.guide-tip-icon {
  width: clamp(2rem, 8.6vw, 2.8rem);
  height: clamp(2rem, 8.6vw, 2.8rem);
  position: relative;
}

.guide-tip-icon::before {
  position: absolute;
  top: 28%;
  left: 8%;
  width: 58%;
  height: 44%;
  border-radius: 0.22rem 0.12rem 0.12rem 0.22rem;
  background: #ff922c;
  clip-path: polygon(0 22%, 35% 22%, 100% 0, 100% 100%, 35% 78%, 0 78%);
  content: "";
}

.guide-detail__tips ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #6b7b99;
  font-size: clamp(0.69rem, 2.85vw, 0.88rem);
  line-height: 1.55;
}

.guide-detail__tips li::marker { color: #ff8420; }

.guide-sheet__actions {
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 4.3vw, 2rem) max(clamp(0.5rem, 2vw, 0.75rem), env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgb(225 234 244 / 0.72);
  background: #fff;
}

.guide-sheet__primary,
.guide-sheet__secondary {
  width: 100%;
  min-height: 2.75rem;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.guide-sheet__primary {
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #0c79ff, #0868f7);
  box-shadow: 0 0.35rem 0.85rem rgb(8 104 247 / 0.16);
  font-size: clamp(0.96rem, 4vw, 1.12rem);
  font-weight: 650;
}

.guide-sheet__secondary {
  color: #0873f7;
  background: transparent;
  font-size: clamp(0.8rem, 3.3vw, 0.96rem);
}

.guide-sheet__close:active,
.guide-sheet__primary:active,
.guide-sheet__secondary:active,
.guide-item:active {
  opacity: 0.72;
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid #dbe5f0;
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 -0.25rem 1rem rgb(33 72 119 / 0.045);
}

.bottom-nav__inner {
  width: min(100%, var(--content-max));
  height: var(--bottom-nav-height);
  margin-inline: auto;
  padding-inline: max(0.35rem, env(safe-area-inset-left, 0px)) max(0.35rem, env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bottom-nav__item {
  min-height: 2.75rem;
  padding: 0.35rem 0.15rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: 0;
  color: #62769f;
  background: transparent;
  font-size: clamp(0.69rem, 2.85vw, 0.82rem);
  line-height: 1.1;
  cursor: pointer;
}

.bottom-nav__item.is-active {
  color: var(--primary);
}

.bottom-nav__icon {
  width: clamp(1.45rem, 5.9vw, 1.9rem);
  height: clamp(1.45rem, 5.9vw, 1.9rem);
  display: grid;
  place-items: center;
}

.bottom-nav__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.bottom-nav__item.is-active .bottom-nav__icon svg {
  fill: currentColor;
  stroke-width: 1.25;
}

.announcement-dialog-layer {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: rgb(17 42 76 / 0.48);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  animation: announcement-backdrop-in 180ms ease-out both;
}

.announcement-dialog-layer[hidden] {
  display: none;
}

.announcement-sheet {
  width: min(100%, 48rem);
  height: min(78.2dvh, calc(100dvh - 4rem - env(safe-area-inset-top, 0px)));
  min-height: min(26rem, calc(100dvh - 2.5rem));
  max-height: calc(100dvh - 4rem - env(safe-area-inset-top, 0px));
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: clamp(1.35rem, 5.8vw, 2.25rem) clamp(1.35rem, 5.8vw, 2.25rem) 0 0;
  color: var(--text-primary);
  background: #fff;
  box-shadow: 0 -0.8rem 2.5rem rgb(11 36 87 / 0.16);
  animation: announcement-sheet-in 240ms cubic-bezier(0.2, 0.78, 0.25, 1) both;
}

.announcement-sheet__handle {
  width: clamp(2.8rem, 11vw, 4.4rem);
  height: 0.32rem;
  margin: clamp(0.65rem, 2.7vw, 0.9rem) auto 0;
  border-radius: 999px;
  background: #d6dce7;
}

.announcement-sheet__header {
  min-width: 0;
  padding: clamp(0.25rem, 1.2vw, 0.55rem) clamp(1rem, 4.4vw, 2rem) clamp(0.5rem, 2vw, 0.8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-sheet__heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2.8vw, 1rem);
}

.announcement-sheet__heading h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 750;
  line-height: 1.2;
}

.announcement-sheet__icon {
  width: clamp(2.55rem, 10.6vw, 3.5rem);
  height: clamp(2.55rem, 10.6vw, 3.5rem);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #1592ff, #0669f6);
  box-shadow: 0 0.35rem 0.9rem rgb(8 104 247 / 0.18);
}

.announcement-sheet__icon svg {
  width: 52%;
  height: 52%;
  fill: currentColor;
  stroke-width: 0;
}

.announcement-sheet__close {
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.65rem;
  flex: 0 0 auto;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #7382a3;
  background: transparent;
  cursor: pointer;
}

.announcement-sheet__close svg {
  width: clamp(1.4rem, 5.6vw, 1.8rem);
  height: clamp(1.4rem, 5.6vw, 1.8rem);
  stroke-width: 1.55;
}

.announcement-sheet__scroll {
  min-width: 0;
  min-height: 0;
  padding: 0 clamp(1rem, 4.4vw, 2rem) clamp(0.7rem, 2.6vw, 1.1rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c7d4e5 transparent;
}

.announcement-directory {
  min-width: 0;
  min-height: 0;
}

.announcement-directory__scroll {
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0 clamp(1rem, 4.4vw, 2rem) clamp(1rem, 4.4vw, 1.6rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c7d4e5 transparent;
}

.announcement-directory__list {
  display: grid;
  border-top: 1px solid var(--border);
}

.announcement-directory__item {
  min-width: 0;
  padding: clamp(0.8rem, 3.4vw, 1.05rem) 0;
  display: grid;
  gap: 0.28rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.announcement-directory__title {
  overflow: hidden;
  font-size: clamp(0.88rem, 3.6vw, 1.05rem);
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.announcement-directory__meta {
  color: var(--text-secondary);
  font-size: clamp(0.72rem, 3vw, 0.88rem);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.announcement-directory__empty {
  margin: 0;
  padding: clamp(2rem, 12vw, 4rem) 1rem;
  color: var(--text-secondary);
  font-size: clamp(0.82rem, 3.3vw, 0.96rem);
  text-align: center;
}

.announcement-directory__item:active {
  background: #f1f7ff;
}

.announcement-detail__title {
  margin: clamp(0.25rem, 1.3vw, 0.6rem) 0 clamp(0.45rem, 1.8vw, 0.75rem);
  overflow-wrap: anywhere;
  font-size: clamp(1.22rem, 5.1vw, 1.7rem);
  font-weight: 750;
  line-height: 1.34;
  text-wrap: pretty;
}

.announcement-detail__meta {
  min-width: 0;
  margin-bottom: clamp(0.75rem, 3vw, 1.15rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem clamp(0.65rem, 2.8vw, 1.05rem);
  color: #7a8aaa;
  font-size: clamp(0.75rem, 3.15vw, 0.95rem);
  line-height: 1.45;
}

.announcement-detail__meta[hidden] {
  display: none;
}

.announcement-detail__meta-item {
  min-width: 0;
}

.announcement-detail__meta-item + .announcement-detail__meta-item {
  position: relative;
  padding-left: clamp(0.65rem, 2.8vw, 1.05rem);
}

.announcement-detail__meta-item + .announcement-detail__meta-item::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1em;
  background: #8290ad;
  content: "";
  transform: translateY(-50%);
}

.announcement-detail__cover,
.announcement-detail__body-figure {
  min-width: 0;
  margin: 0 0 clamp(0.75rem, 3vw, 1.1rem);
  overflow: hidden;
  border-radius: clamp(0.55rem, 2.2vw, 0.85rem);
  background: #edf6ff;
}

.announcement-detail__cover.is-previewable,
.announcement-detail__body-figure.is-previewable,
.announcement-detail__thumbnail.is-previewable {
  cursor: zoom-in;
}

.announcement-detail__cover.is-previewable:focus-visible,
.announcement-detail__body-figure.is-previewable:focus-visible,
.announcement-detail__thumbnail.is-previewable:focus-visible {
  outline: 0.18rem solid rgb(8 104 247 / 0.48);
  outline-offset: 0.15rem;
}

.announcement-detail__cover {
  aspect-ratio: 3.2 / 1;
}

.announcement-detail__cover[hidden] {
  display: none;
}

.announcement-detail__cover img,
.announcement-detail__body-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.announcement-detail__cover img {
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.announcement-detail__body-figure figcaption {
  padding: 0.45rem 0.65rem;
  color: var(--text-secondary);
  background: #f5f9fd;
  font-size: clamp(0.7rem, 2.8vw, 0.82rem);
  line-height: 1.45;
}

.announcement-detail__summary {
  min-width: 0;
  margin: 0 0 clamp(0.75rem, 3vw, 1.1rem);
  padding: clamp(0.55rem, 2.2vw, 0.78rem) clamp(0.7rem, 2.8vw, 1rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.65rem, 2.7vw, 1rem);
  border: 1px solid #b9dcff;
  border-radius: clamp(0.5rem, 2vw, 0.75rem);
  color: #154391;
  background: linear-gradient(100deg, #edf7ff, #f6fbff);
}

.announcement-detail__summary[hidden] {
  display: none;
}

.announcement-detail__summary svg {
  width: clamp(1.45rem, 6vw, 2rem);
  height: clamp(1.45rem, 6vw, 2rem);
  color: #1477ef;
  fill: rgb(20 119 239 / 0.08);
  stroke-width: 1.8;
}

.announcement-detail__summary p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(0.76rem, 3.15vw, 0.95rem);
  line-height: 1.62;
}

.announcement-detail__content[hidden],
.announcement-detail__related[hidden],
.announcement-detail__source[hidden] {
  display: none;
}

.announcement-detail__content h4 {
  margin: 0 0 clamp(0.55rem, 2.3vw, 0.85rem);
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 2.2vw, 0.8rem);
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  line-height: 1.3;
}

.announcement-detail__content h4 span {
  width: 0.24rem;
  height: 1.25em;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #0a79ff;
}

.announcement-detail__body {
  min-width: 0;
  padding-left: clamp(0.75rem, 3vw, 1.2rem);
  color: #425271;
}

.announcement-detail__body p {
  margin: 0 0 clamp(0.65rem, 2.6vw, 0.95rem);
  overflow-wrap: anywhere;
  font-size: clamp(0.8rem, 3.25vw, 1rem);
  line-height: 1.66;
  text-align: justify;
}

.announcement-detail__body p:last-child {
  margin-bottom: 0;
}

.announcement-detail__related {
  margin-top: clamp(0.8rem, 3.3vw, 1.25rem);
  padding: clamp(0.55rem, 2.2vw, 0.8rem) clamp(0.65rem, 2.6vw, 0.95rem);
  border-radius: clamp(0.55rem, 2.2vw, 0.85rem);
  background: #f4f9fd;
}

.announcement-detail__related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.announcement-detail__related-heading h4 {
  margin: 0;
  font-size: clamp(0.86rem, 3.6vw, 1.02rem);
  line-height: 1.4;
}

.announcement-detail__related-heading svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  color: var(--primary);
  stroke-width: 2.2;
}

.announcement-detail__thumbnails {
  min-width: 0;
  margin-top: clamp(0.45rem, 1.8vw, 0.7rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.8vw, 0.7rem);
}

.announcement-detail__thumbnail {
  min-width: 0;
  aspect-ratio: 2.9 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(0.4rem, 1.7vw, 0.65rem);
  background: #e9f3fb;
  margin: 0;
}

.announcement-detail__thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.announcement-detail__source {
  width: fit-content;
  min-height: 2.75rem;
  margin: clamp(0.55rem, 2.2vw, 0.85rem) 0 0 auto;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  color: var(--primary);
  font-size: clamp(0.78rem, 3.2vw, 0.94rem);
}

.announcement-sheet__actions {
  padding: clamp(0.45rem, 1.8vw, 0.7rem) clamp(1rem, 4.4vw, 2rem) max(clamp(0.45rem, 1.8vw, 0.7rem), env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgb(225 234 244 / 0.72);
  background: #fff;
}

.announcement-sheet__primary,
.announcement-sheet__secondary {
  width: 100%;
  min-height: 2.75rem;
  border: 0;
  cursor: pointer;
}

.announcement-sheet__primary {
  border-radius: clamp(0.55rem, 2.3vw, 0.85rem);
  color: #fff;
  background: linear-gradient(100deg, #0c79ff, #0868f7);
  box-shadow: 0 0.35rem 0.85rem rgb(8 104 247 / 0.15);
  font-size: clamp(0.96rem, 4vw, 1.12rem);
  font-weight: 650;
}

.announcement-sheet__secondary {
  color: #7382a3;
  background: transparent;
  font-size: clamp(0.8rem, 3.3vw, 0.96rem);
}

.announcement-sheet__close:active,
.announcement-sheet__primary:active,
.announcement-sheet__secondary:active {
  opacity: 0.72;
}

.announcement-preview-layer {
  position: fixed;
  z-index: 110;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: rgb(19 27 40 / 0.88);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
  animation: announcement-preview-backdrop-in 180ms ease-out both;
}

.announcement-preview-layer[hidden] {
  display: none;
}

.announcement-preview {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) clamp(0.75rem, 4.7vw, 2rem) max(0.75rem, env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
  gap: clamp(0.45rem, 2.3vw, 0.9rem);
  overflow: hidden;
  outline: none;
}

.announcement-preview__header {
  position: relative;
  min-width: 0;
  min-height: clamp(3.3rem, 13vw, 4.6rem);
  display: grid;
  place-items: center;
}

.announcement-preview__heading {
  min-width: 0;
  text-align: center;
}

.announcement-preview__heading h2 {
  margin: 0;
  font-size: clamp(1.16rem, 5.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.announcement-preview__heading p,
.announcement-preview__footer-counter {
  margin: 0.35rem 0 0;
  color: rgb(255 255 255 / 0.9);
  font-size: clamp(0.86rem, 3.8vw, 1.05rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.announcement-preview__close,
.announcement-preview__control {
  border: 0;
  color: #fff;
  background: rgb(255 255 255 / 0.12);
  cursor: pointer;
}

.announcement-preview__close {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(2.8rem, 12vw, 3.55rem);
  height: clamp(2.8rem, 12vw, 3.55rem);
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateY(-50%);
}

.announcement-preview__close svg {
  width: 56%;
  height: 56%;
  stroke-width: 1.7;
}

.announcement-preview__stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0;
  touch-action: pan-y;
}

.announcement-preview__control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: clamp(2.8rem, 11.5vw, 3.6rem);
  height: clamp(2.8rem, 11.5vw, 3.6rem);
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background-color 160ms ease, transform 160ms ease;
  transform: translateY(-50%);
}

.announcement-preview__control--previous {
  left: 0;
}

.announcement-preview__control--next {
  right: 0;
}

.announcement-preview__control svg {
  width: 58%;
  height: 58%;
  stroke-width: 1.8;
}

.announcement-preview__control[hidden] {
  display: none;
}

.announcement-preview__main {
  width: min(calc(100% - clamp(2.6rem, 13vw, 6.5rem)), 43rem);
  height: min(62dvh, 43rem);
  min-width: 0;
  min-height: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: clamp(0.7rem, 3vw, 1.15rem);
  background: rgb(255 255 255 / 0.08);
  box-shadow: 0 0.65rem 2.4rem rgb(0 0 0 / 0.18);
}

.announcement-preview__main[hidden] {
  display: none;
}

.announcement-preview__main img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: inherit;
}

.announcement-preview__empty {
  width: min(100%, 20rem);
  min-height: 10rem;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.45rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 1rem;
  color: rgb(255 255 255 / 0.92);
  background: rgb(255 255 255 / 0.07);
  text-align: center;
}

.announcement-preview__empty[hidden] {
  display: none;
}

.announcement-preview__empty svg {
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.25rem;
  color: #9ecbff;
}

.announcement-preview__empty strong {
  font-size: 1rem;
}

.announcement-preview__empty span {
  color: rgb(255 255 255 / 0.68);
  font-size: 0.82rem;
  line-height: 1.5;
}

.announcement-preview__information {
  min-width: 0;
  min-height: 3.6rem;
  padding-inline: 2.6rem;
  text-align: center;
}

.announcement-preview__information h3,
.announcement-preview__information p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-preview__information h3 {
  margin: 0;
  font-size: clamp(0.96rem, 4vw, 1.3rem);
  font-weight: 650;
  line-height: 1.45;
}

.announcement-preview__information p {
  margin: 0.2rem 0 0;
  color: rgb(255 255 255 / 0.62);
  font-size: clamp(0.76rem, 3.2vw, 0.94rem);
  line-height: 1.4;
}

.announcement-preview__thumbnails {
  min-width: 0;
  max-width: 100%;
  min-height: clamp(3.8rem, 18vw, 5.2rem);
  padding: 0.12rem 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 2.4vw, 0.8rem);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 0.36) transparent;
}

.announcement-preview__thumbnail {
  width: clamp(3.7rem, 17vw, 5.2rem);
  height: clamp(3.7rem, 17vw, 5.2rem);
  flex: 0 0 auto;
  padding: 0.16rem;
  overflow: hidden;
  border: 0.13rem solid transparent;
  border-radius: clamp(0.55rem, 2.6vw, 0.85rem);
  background: rgb(255 255 255 / 0.12);
  cursor: pointer;
}

.announcement-preview__thumbnail[hidden] {
  display: none;
}

.announcement-preview__thumbnail.is-active {
  border-color: #2e91ff;
  box-shadow: 0 0 0 0.12rem rgb(46 145 255 / 0.28);
}

.announcement-preview__thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: calc(clamp(0.55rem, 2.6vw, 0.85rem) - 0.25rem);
  background: rgb(255 255 255 / 0.08);
}

.announcement-preview__footer-counter {
  margin: 0;
  text-align: center;
}

.announcement-preview__actions {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.65rem, 3vw, 1.25rem);
}

.announcement-preview__primary,
.announcement-preview__secondary {
  min-width: 0;
  min-height: clamp(3rem, 13vw, 3.8rem);
  padding: 0 clamp(0.65rem, 3vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 2vw, 0.7rem);
  border-radius: 999px;
  font-size: clamp(0.95rem, 4.2vw, 1.25rem);
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

.announcement-preview__secondary {
  border: 1px solid rgb(255 255 255 / 0.18);
  color: rgb(255 255 255 / 0.94);
  background: rgb(255 255 255 / 0.12);
}

.announcement-preview__primary {
  border: 0;
  color: #fff;
  background: #0879ff;
  box-shadow: 0 0.4rem 1rem rgb(0 111 255 / 0.24);
}

.announcement-preview__primary svg {
  width: clamp(1.2rem, 5.2vw, 1.7rem);
  height: clamp(1.2rem, 5.2vw, 1.7rem);
  flex: 0 0 auto;
  stroke-width: 1.7;
}

.announcement-preview__close:active,
.announcement-preview__primary:active,
.announcement-preview__secondary:active {
  transform: scale(0.97);
}

.announcement-preview__control:active {
  transform: translateY(-50%) scale(0.97);
}

@media (hover: hover) {
  .announcement-preview__close:hover,
  .announcement-preview__control:hover {
    background: rgb(255 255 255 / 0.22);
  }

  .announcement-preview__secondary:hover {
    background: rgb(255 255 255 / 0.2);
  }

  .announcement-preview__primary:hover {
    background: #1590ff;
  }
}

@media (min-width: 48rem) {
  .announcement-preview {
    width: min(100%, 76rem);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 3.5rem);
  }

  .announcement-preview__main {
    height: min(64dvh, 46rem);
  }

  .announcement-preview__actions {
    width: min(100%, 48rem);
    margin-inline: auto;
  }
}

@keyframes announcement-preview-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes announcement-sheet-in {
  from { transform: translateY(2rem); }
  to { transform: translateY(0); }
}

@media (hover: hover) {
  .login-link:hover,
  .primary-cta:hover {
    background: var(--primary-hover);
  }


  .announcement-list__item:hover {
    background: #f6faff;
  }

  .announcement-directory__item:hover {
    background: #f6faff;
  }

  .announcement-sheet__close:hover,
  .announcement-sheet__secondary:hover,
  .guide-sheet__close:hover,
  .guide-sheet__secondary:hover {
    color: var(--primary);
  }

  .guide-item:hover {
    border-color: color-mix(in srgb, var(--guide-color) 28%, #d9e5f2);
  }

}

@media (min-width: 48rem) {
  .home-header__inner,
  .home-content {
    width: min(calc(100% - 2 * var(--page-padding)), var(--content-max));
  }

  .home-content {
    padding-inline: 0;
  }

  .home-hero__image {
    object-position: center 50%;
  }

  .announcement-surface,
  .official-surface,
  .guide-surface {
    padding-inline: clamp(1rem, 2.4vw, 1.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .carousel-image {
    transition: none;
  }

  .announcement-dialog-layer,
  .announcement-sheet,
  .announcement-preview-layer,
  .announcement-preview,
  .guide-dialog-layer,
  .guide-sheet {
    animation: none;
  }
}

.entry-content { margin-top: var(--section-gap); }
.entry-brand { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }
.entry-surface { padding: clamp(1rem, 4vw, 1.75rem); }
.entry-surface h2 { margin: 0 0 0.75rem; font-size: 1.2rem; }
.entry-surface p { color: var(--text-secondary); line-height: 1.7; }
.entry-surface dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem 1.25rem; }
.entry-surface dl[hidden] { display: none; }
.entry-surface dt { color: var(--text-secondary); }
.entry-surface dd { margin: 0; overflow-wrap: anywhere; }
.entry-link { min-height: 3.25rem; padding: 0.75rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); color: var(--primary); }

@media (min-width: 48rem) {
  :root {
    --content-max: var(--desktop-content-max);
    --page-padding: clamp(1.25rem, 3.2vw, 4.25rem);
    --section-gap: clamp(0.75rem, 1.15vw, 1.15rem);
    --surface-radius: clamp(0.65rem, 0.85vw, 0.95rem);
    --header-height: clamp(4rem, 5vw, 4.75rem);
    --hero-height: clamp(13.5rem, 20vw, 18rem);
    --metric-diameter: clamp(4.25rem, 6vw, 5.75rem);
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: #f2f7fb;
  }

  .mobile-only,
  .bottom-nav {
    display: none;
  }

  .bottom-nav {
    display: none;
  }

  .home-header {
    position: sticky;
    top: 0;
    min-height: var(--header-height);
    background: rgb(255 255 255 / 0.97);
    box-shadow: 0 0.15rem 0.85rem rgb(25 76 135 / 0.05);
  }

  .home-header__inner {
    width: min(calc(100% - 2 * var(--page-padding)), var(--desktop-content-max));
    min-height: var(--header-height);
    padding: 0;
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) auto;
    grid-template-areas: "brand actions" "nav nav";
    gap: 0 1rem;
  }

  .home-brand {
    grid-area: brand;
    align-self: center;
    font-size: clamp(1.25rem, 2.25vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0;
  }

  .home-primary-nav {
    grid-area: nav;
    min-width: 0;
    min-height: 2.7rem;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    border-top: 1px solid #edf2f8;
  }

  .home-primary-nav a {
    min-height: 2.7rem;
    padding-inline: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0a1f4e;
    font-size: clamp(0.78rem, 1.35vw, 0.95rem);
    white-space: nowrap;
  }

  .home-primary-nav a[aria-current="page"] {
    position: relative;
    color: var(--primary);
  }

  .home-primary-nav a[aria-current="page"]::after {
    position: absolute;
    right: 22%;
    bottom: 0;
    left: 22%;
    height: 0.16rem;
    border-radius: 999px;
    background: var(--primary);
    content: "";
  }

  .home-desktop-actions {
    grid-area: actions;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.6rem, 1.2vw, 1.15rem);
    color: #0a1f4e;
    font-size: clamp(0.76rem, 1.15vw, 0.92rem);
    white-space: nowrap;
  }

  .home-search {
    width: clamp(11rem, 18vw, 14.5rem);
    min-height: 2.55rem;
    padding-inline: 0.85rem;
    display: none;
    align-items: center;
    gap: 0.55rem;
    border-radius: 0.75rem;
    background: #eef4fa;
  }

  .home-search svg {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
    color: var(--primary);
  }

  .home-search input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--text-primary);
    background: transparent;
    font: inherit;
  }

  .home-desktop-actions .login-link {
    min-width: clamp(4.25rem, 5vw, 5rem);
    min-height: 2.55rem;
    padding-inline: 1rem;
    font-size: inherit;
  }

  .home-hero {
    height: var(--hero-height);
  }

  .home-hero__image {
    object-position: center 16%;
  }

  .primary-cta,
  .hero-secondary-cta {
    top: auto;
    bottom: clamp(1rem, 2.2vw, 2rem);
    min-height: clamp(2.6rem, 3.5vw, 3.25rem);
    border-radius: 0.75rem;
    font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  }

  .primary-cta {
    left: max(var(--page-padding), calc((100% - var(--desktop-content-max)) / 2));
    min-width: clamp(9rem, 12vw, 11rem);
    transform: none;
  }

  .hero-secondary-cta {
    position: absolute;
    left: calc(max(var(--page-padding), (100% - var(--desktop-content-max)) / 2) + clamp(10rem, 13vw, 12rem));
    min-width: clamp(10rem, 13vw, 12rem);
    padding-inline: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: rgb(255 255 255 / 0.78);
  }

  .home-content {
    width: min(calc(100% - 2 * var(--page-padding)), var(--desktop-content-max));
    margin: clamp(-0.4rem, -0.5vw, -0.2rem) auto 0;
    padding: 0 0 var(--section-gap);
  }

  .quick-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.6rem, 1vw, 0.9rem);
  }

  .quick-entry,
  .official-entry {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.6rem, 1vw, 1rem);
    border: 1px solid #e1eaf4;
    color: var(--text-primary);
    background: #fff;
  }

  .quick-entry {
    min-height: clamp(5rem, 6.2vw, 5.8rem);
    padding: clamp(0.65rem, 1.15vw, 1rem);
    border-radius: var(--surface-radius);
    box-shadow: var(--shadow);
  }

  .home-entry__icon {
    width: clamp(2.5rem, 3.6vw, 3.4rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary);
    background: #eaf3ff;
  }

  .home-entry__icon::before {
    width: 42%;
    height: 48%;
    border: 0.13rem solid currentColor;
    border-radius: 0.16rem;
    background: linear-gradient(currentColor, currentColor) 50% 38% / 58% 0.1rem no-repeat,
      linear-gradient(currentColor, currentColor) 50% 68% / 58% 0.1rem no-repeat;
    content: "";
  }

  .home-entry__icon--building::before {
    border-radius: 0.1rem;
    background: repeating-linear-gradient(90deg, transparent 0 23%, currentColor 24% 32%, transparent 33% 55%);
  }

  .home-entry__icon--notice::before {
    width: 46%;
    height: 34%;
    border-radius: 45% 0 0 45%;
    transform: skewY(-8deg);
  }

  .home-entry__icon--shield::before,
  .home-entry__icon--service::before {
    border-radius: 50% 50% 60% 60%;
    transform: rotate(45deg);
  }

  .home-entry__content {
    min-width: 0;
    display: grid;
    gap: 0.25rem;
  }

  .home-entry__content strong,
  .home-entry__content span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .home-entry__content strong {
    font-size: clamp(0.92rem, 1.4vw, 1.1rem);
  }

  .home-entry__content span {
    color: var(--text-secondary);
    font-size: clamp(0.68rem, 1vw, 0.82rem);
  }

  .home-entry__arrow {
    color: var(--primary);
    font-size: 1.7rem;
  }

  .metrics-surface {
    min-height: clamp(6.2rem, 7.8vw, 7.3rem);
    padding: clamp(0.55rem, 0.8vw, 0.8rem) clamp(1rem, 2vw, 2rem);
  }

  .metrics-grid {
    height: 100%;
    align-items: center;
  }

  .metric {
    min-height: 4.8rem;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap: clamp(0.65rem, 1.5vw, 1.35rem);
    border-right: 1px solid var(--border);
    text-align: left;
  }

  .metric:last-child {
    border-right: 0;
  }

  .metric-label {
    font-size: clamp(0.82rem, 1.1vw, 1rem);
  }

  .metric-value {
    font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  }

  .metrics-date {
    display: none;
  }

  .notice-carousel-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--section-gap);
    align-items: stretch;
  }

  .announcement-surface,
  .carousel-surface {
    min-height: clamp(8.5rem, 11vw, 10.5rem);
    height: 100%;
  }

  .carousel-surface {
    aspect-ratio: auto;
  }

  .announcement-surface,
  .official-surface,
  .guide-surface {
    padding: clamp(0.7rem, 1vw, 1rem) clamp(0.9rem, 1.3vw, 1.25rem);
  }

  .announcement-list__item {
    min-height: clamp(2rem, 2.7vw, 2.55rem);
  }

  .official-surface,
  .guide-surface {
    min-height: auto;
  }

  .official-grid {
    min-height: 0;
    margin-top: 0.35rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.55rem, 0.85vw, 0.8rem);
  }

  .official-entry {
    min-height: clamp(4rem, 5vw, 4.8rem);
    padding: clamp(0.55rem, 0.8vw, 0.75rem);
    border-radius: 0.55rem;
  }

  .official-entry .home-entry__icon {
    width: clamp(2.25rem, 3vw, 2.8rem);
  }

  .guide-grid {
    gap: clamp(0.55rem, 0.85vw, 0.8rem);
  }

  .guide-item {
    min-height: clamp(3.8rem, 5vw, 4.75rem);
    padding: 0.55rem clamp(0.45rem, 0.8vw, 0.75rem);
    flex-direction: row;
    justify-content: flex-start;
    gap: clamp(0.65rem, 1vw, 1rem);
    font-size: clamp(0.8rem, 1vw, 0.95rem);
  }

  .guide-item__icon {
    width: clamp(2.2rem, 3vw, 2.8rem);
    height: clamp(2.2rem, 3vw, 2.8rem);
  }

  .section-heading,
  .section-heading h2 {
    min-height: 1.8rem;
  }

  .section-heading h2 {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
  }

  .section-heading .section-more.desktop-only {
    display: inline-flex;
  }

  .home-footer {
    display: block;
    border-top: 1px solid #e2ebf4;
    background: #fff;
  }

  .home-footer__inner {
    width: min(calc(100% - 2 * var(--page-padding)), var(--desktop-content-max));
    min-height: clamp(4rem, 5.5vw, 5rem);
    margin-inline: auto;
    padding-block: 0.75rem;
    display: grid;
    grid-template-columns: minmax(13rem, 1fr) auto auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    color: #7082a2;
    font-size: clamp(0.68rem, 0.85vw, 0.8rem);
  }

  .home-footer__brand {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 1rem;
  }

  .home-footer__brand strong {
    flex: 0 0 auto;
    color: var(--text-primary);
    font-size: clamp(0.92rem, 1.2vw, 1.1rem);
  }

  .home-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
  }

  .home-footer p {
    margin: 0;
    white-space: nowrap;
  }

  .quick-entry:hover,
  .official-entry:hover,
  .home-primary-nav a:hover,
  .home-footer a:hover {
    color: var(--primary);
  }
}

@media (min-width: 80rem) {
  .home-header__inner {
    grid-template-columns: auto minmax(34rem, 1fr) auto;
    grid-template-areas: "brand nav actions";
    gap: clamp(1rem, 2.2vw, 2.5rem);
  }

  .home-primary-nav {
    min-height: var(--header-height);
    border-top: 0;
  }

  .home-primary-nav a {
    min-height: var(--header-height);
  }

  .home-primary-nav a[aria-current="page"]::after {
    bottom: 0.65rem;
  }

  .home-search {
    display: flex;
  }
}
