:root {
  --red-900: #7f0008;
  --red-800: #9f0009;
  --red-700: #b60009;
  --red-600: #c9131d;
  --gold-600: #c99a33;
  --blue-700: #1f5e92;
  --ink-900: #1d1d1f;
  --ink-700: #3f4248;
  --ink-500: #6f737a;
  --line: #d8dce2;
  --paper: #ffffff;
  --soft: #f4f5f7;
  --warm: #fff8eb;
  --shadow: 0 2px 0 rgba(40, 44, 52, .03);
  --container: 1880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background:
    linear-gradient(180deg, rgba(182, 0, 9, .08) 0, rgba(238, 241, 245, 0) 210px),
    linear-gradient(90deg, rgba(127, 0, 8, .035) 0 1px, transparent 1px) 0 0 / 112px 100%,
    #e9edf2;
  font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--red-700);
  text-decoration: underline;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(31, 94, 146, .42);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 16px), var(--container));
  margin: 0 auto;
}

.searchable,
p,
dd,
span,
strong {
  overflow-wrap: anywhere;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 8px 12px;
  background: var(--paper);
  color: var(--red-700);
  border: 1px solid var(--red-700);
}

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

.topbar {
  background: #f9fafc;
  border-bottom: 1px solid #cfd4db;
  color: #4b4f56;
  font-size: 14px;
}

.site-header {
  display: flex;
  flex-direction: column;
}

.masthead {
  order: 1;
}

.topbar {
  order: 2;
}

.accessibility-toolbar {
  order: 3;
}

.mainnav {
  order: 4;
}

.reader-status {
  order: 5;
}

.topbar__inner,
.masthead__inner,
.mainnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__inner {
  min-height: 50px;
  gap: 16px;
}

.topbar__status,
.portal-tools,
.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__status {
  flex-wrap: wrap;
  min-width: 0;
  color: #333;
}

.status-divider {
  color: #b8bdc4;
}

.status-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-time strong {
  color: var(--red-800);
  font-family: Consolas, "Courier New", monospace;
  font-size: 18px;
  letter-spacing: 0;
}

.status-weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #e4c36d;
  background: #fff8e8;
  color: #703700;
}

.status-weather:hover {
  border-color: var(--red-700);
  color: var(--red-700);
  text-decoration: none;
}

.status-weather strong {
  color: var(--red-800);
  font-weight: 700;
}

.portal-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tool-button,
.topbar-mail,
.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #cfd4db;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.topbar-link--button {
  font: inherit;
}

.tool-button:hover,
.topbar-mail:hover,
.topbar-link:hover,
.topbar-link.is-active,
.topbar-link[aria-expanded="true"],
.topbar-link[aria-pressed="true"],
.tool-button.is-active,
.tool-button[aria-pressed="true"] {
  border-color: var(--red-700);
  background: var(--red-700);
  color: #fff;
  text-decoration: none;
}

.accessibility-toolbar {
  background: #fff;
  border-bottom: 2px solid var(--red-700);
  box-shadow: 0 8px 18px rgba(40, 44, 52, .1);
}

.accessibility-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 0;
}

.accessibility-toolbar__inner > strong {
  color: var(--red-800);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: 20px;
  white-space: nowrap;
}

.accessibility-toolbar__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.reader-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.masthead {
  position: relative;
  z-index: 30;
  overflow: visible;
  background: linear-gradient(180deg, #c40010 0%, var(--red-800) 100%);
  color: #fff;
  border-bottom: 4px solid var(--gold-600);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .24);
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/portal-banner.svg") center / cover no-repeat;
  opacity: .95;
  pointer-events: none;
}

.masthead::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 234, 174, .72), transparent);
  pointer-events: none;
}

.masthead__inner {
  position: relative;
  z-index: 2;
  min-height: 122px;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand:hover {
  color: #fff;
  text-decoration: none;
}

.brand__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand__text strong {
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .22);
}

.brand__text span {
  font-size: 17px;
  color: #ffeec6;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 86px;
  position: relative;
  z-index: 3;
  align-items: center;
  flex: 0 1 460px;
  border: 1px solid #f4d07a;
  background: linear-gradient(180deg, #fffdfa 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(255, 236, 182, .18), 0 10px 22px rgba(78, 0, 8, .18);
}

.site-search::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 2px solid var(--red-700);
  border-radius: 50%;
  transform: translateY(-58%);
}

.site-search::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 27px;
  z-index: 1;
  width: 9px;
  height: 2px;
  background: var(--red-700);
  transform: rotate(45deg);
  transform-origin: left center;
}

.site-search input {
  min-width: 0;
  width: 100%;
  height: 46px;
  border: 0;
  padding: 0 14px 0 44px;
  color: var(--ink-900);
  background: transparent;
  font-weight: 700;
}

.site-search input:focus {
  outline: 0;
}

.site-search:focus-within {
  z-index: 80;
  border-color: #ffe19a;
  box-shadow: 0 0 0 3px rgba(255, 236, 182, .34), 0 12px 26px rgba(78, 0, 8, .28);
}

.site-search button {
  height: 46px;
  border: 0;
  border-left: 1px solid #e1ba61;
  background: linear-gradient(180deg, #efc55b 0%, #d49a24 100%);
  color: #4b2200;
  font-weight: 700;
}

.site-search button:hover {
  background: #efbd4e;
}

.search-status {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-height: 20px;
  margin: 0;
  color: #fff6d8;
  font-size: 13px;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: hidden;
  border: 1px solid #cfd4db;
  border-top: 4px solid var(--red-700);
  background: #fff;
  box-shadow: 0 16px 28px rgba(31, 35, 42, .2);
}

.search-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--red-800);
  font-weight: 700;
}

.search-results__list {
  display: grid;
  max-height: 310px;
  overflow-y: auto;
}

.search-result {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px dotted #c8cdd4;
  background: #fff;
  color: var(--ink-900);
  text-align: left;
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result:hover,
.search-result:focus {
  background: #fff8e8;
  color: var(--red-700);
  outline: 0;
}

.search-result strong {
  color: inherit;
  font-size: 15px;
}

.search-result span {
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.4;
}

.mainnav {
  background: var(--red-700);
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 3px solid #d8a33a;
  box-shadow: 0 3px 9px rgba(86, 0, 7, .22);
}

.mainnav__inner {
  min-height: 48px;
}

.mainnav__list {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mainnav__list li {
  flex: 1 1 auto;
}

.mainnav__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  font-weight: 700;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.mainnav__list li:last-child a {
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.mainnav__list a:hover,
.mainnav__list a.is-active {
  background: #8e0008;
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .4);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.focus-strip {
  background: var(--paper);
  border-top: 1px solid #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 rgba(216, 163, 58, .85);
}

.focus-strip__inner {
  display: flex;
  align-items: center;
  min-height: 50px;
  gap: 14px;
}

.focus-strip strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  background: var(--red-700);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.focus-strip a {
  color: var(--ink-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink-700);
}

.breadcrumb-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}

.breadcrumb-strip a {
  color: var(--blue-700);
}

.section-anchor {
  scroll-margin-top: 72px;
}

.hero {
  padding: 18px 0 22px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
  gap: 16px;
  align-items: stretch;
}

.hero__inner > * {
  min-width: 0;
}

.hero__copy,
.hero__panel,
.news-column,
.side-panel,
.info-table,
.contact-link,
.overview-item,
.service-card,
.guide-card,
.portal-service-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid #cfd4db;
  box-shadow: var(--shadow);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 236px;
  padding: clamp(20px, 2.4vw, 30px);
  border-top: 5px solid var(--red-700);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--red-700);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(36px, 5.6vw, 56px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero p {
  max-width: 58ch;
  margin: 12px 0 0;
  color: var(--ink-700);
  font-size: 18px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-meta div {
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.hero-meta dt {
  margin: 0 0 4px;
  color: var(--ink-500);
  font-weight: 700;
}

.hero-meta dd {
  margin: 0;
  color: var(--ink-900);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button--primary {
  background: var(--red-700);
  color: #fff;
}

.button--primary:hover {
  color: #fff;
  background: #950008;
}

.button--secondary {
  color: var(--red-700);
  border-color: var(--red-700);
  background: #fff;
}

.button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  min-height: 236px;
}

.hero__visual {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.service-window {
  padding: 18px 22px 20px;
}

.service-window h2 {
  margin: 0 0 14px;
  color: var(--red-700);
  font-size: 22px;
}

.entry-links {
  display: grid;
  gap: 10px;
  padding: 4px 0 0;
}

.entry-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 34px 0 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red-700);
  color: var(--ink-900);
  background: #fff;
  font-weight: 700;
}

.entry-links a::after {
  content: ">";
  position: absolute;
  right: 14px;
  color: var(--red-700);
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.entry-links a:hover,
.entry-links a:focus {
  border-color: var(--red-700);
  color: var(--red-700);
  background: #fff7f7;
}

.service-window dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.service-window dl > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.service-window dt {
  color: var(--ink-500);
  font-weight: 700;
}

.service-window dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-900);
  word-break: break-word;
}

.overview,
.services,
.convenience,
.guide,
.weather,
.news,
.quick-links,
.accessibility,
.public-info,
.contact {
  padding: 18px 0;
}

.subpage {
  padding: 28px 0 34px;
}

.subpage-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}

.subpage-panel .section-title {
  margin-bottom: 18px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red-700);
  box-shadow: inset 0 -1px 0 var(--gold-600);
}

.section-title h1,
.section-title h2,
.column-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title h1::before,
.section-title h2::before,
.column-head h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--red-700);
  box-shadow: 8px 0 0 rgba(216, 163, 58, .62);
}

.section-title h1,
.section-title h2,
.column-head h2 {
  margin: 0;
  color: var(--red-800);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: 26px;
}

.section-title p {
  margin: 0;
  color: var(--ink-500);
  text-align: right;
}

.overview__grid,
.service-grid,
.guide-grid,
.accessibility-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.overview-item,
.service-card,
.guide-card,
.accessibility-card {
  padding: 22px;
  min-height: 162px;
}

.overview-item h3,
.service-card h3,
.guide-card h3,
.accessibility-card h2,
.accessibility-card h3 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-size: 21px;
}

.overview-item p,
.service-card p,
.guide-card p,
.accessibility-card p {
  margin: 0;
  color: var(--ink-700);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  border-top: 4px solid var(--red-700);
}

.service-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-600);
  font-weight: 700;
  font-size: 22px;
}

.guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border-top: 4px solid var(--red-700);
}

.guide-card span {
  width: max-content;
  max-width: 100%;
  padding: 2px 9px;
  border: 1px solid #e4c36d;
  background: #fff8e8;
  color: var(--red-800);
  font-size: 13px;
  font-weight: 700;
}

.guide-card a {
  align-self: end;
  margin-top: 4px;
  color: var(--red-700);
  font-weight: 700;
}

.portal-service-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #cfd4db;
  border-top: 4px solid var(--red-700);
  background: #fff;
}

.portal-service-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 142px;
  padding: 18px 16px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-900);
  box-shadow: none;
}

.portal-service-card::after {
  content: ">";
  position: absolute;
  right: 14px;
  top: 14px;
  color: var(--red-700);
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.portal-service-card span {
  width: max-content;
  max-width: 100%;
  padding: 2px 8px;
  background: #fff8e8;
  color: var(--red-800);
  border: 1px solid #e4c36d;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.portal-service-card strong {
  color: var(--red-800);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: 20px;
  line-height: 1.25;
}

.portal-service-card em {
  color: var(--ink-700);
  font-style: normal;
  line-height: 1.5;
}

.portal-service-card:hover,
.portal-service-card:focus {
  border-color: var(--red-700);
  background: #fffafa;
  color: var(--red-700);
  text-decoration: none;
}

.portal-page .portal-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.accessibility-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.accessibility-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-700);
  box-shadow: var(--shadow);
}

.work-card {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--ink-900);
}

.work-card:hover,
.work-card:focus {
  border-color: var(--red-700);
  border-left-color: var(--red-700);
  color: var(--red-700);
  background: #fffafa;
  text-decoration: none;
  transform: translateY(-1px);
}

.work-card__action {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--red-700);
  color: var(--red-700);
  background: #fff;
  font-weight: 700;
}

.work-card__action::after {
  content: ">";
  margin-left: 8px;
  font-family: "Courier New", monospace;
}

.work-detail-titlebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(20px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red-700);
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.work-detail-titlecopy {
  min-width: 0;
}

.work-detail-titlebar h1 {
  margin: 0;
  color: var(--ink-900);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.work-detail-titlebar__en {
  margin: 8px 0 0;
  color: var(--red-800);
  font-family: "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
}

.work-detail-titlecopy > p:last-child {
  max-width: 88ch;
  margin: 14px 0 0;
  color: var(--ink-700);
  font-size: 18px;
}

.work-detail-logo {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
}

.work-detail-logo img {
  width: min(100%, 520px);
  max-height: 190px;
  object-fit: contain;
}

.work-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .42fr);
  gap: 18px;
  align-items: start;
}

.work-detail-layout > *,
.work-detail-main,
.work-detail-sidebar,
.work-block,
.work-side-section,
.steam-placeholder {
  min-width: 0;
}

.work-detail-main,
.work-detail-sidebar {
  display: grid;
  gap: 16px;
}

.work-block,
.work-side-section,
.steam-placeholder {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.work-block {
  padding: 22px 24px;
}

.work-block h2,
.work-side-section h2 {
  margin: 0 0 14px;
  color: var(--red-800);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: 24px;
}

.work-block h2 {
  padding-bottom: 9px;
  border-bottom: 3px solid var(--red-700);
  box-shadow: inset 0 -1px 0 var(--gold-600);
}

.work-block p {
  margin: 0 0 12px;
  color: var(--ink-900);
  line-height: 1.9;
  text-indent: 2em;
}

.work-block p:last-child {
  margin-bottom: 0;
}

.work-feature-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.work-feature-list li {
  position: relative;
  min-height: 48px;
  padding: 12px 0 12px 22px;
  border-bottom: 1px dotted #c8cdd4;
  color: var(--ink-900);
}

.work-feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 7px;
  height: 7px;
  background: var(--red-700);
  box-shadow: 7px 0 0 rgba(201, 154, 51, .72);
}

.work-feature-list li:last-child {
  border-bottom: 0;
}

.work-side-section {
  padding: 18px;
  border-top: 4px solid var(--red-700);
}

.work-meta-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.work-meta-table div,
.steam-status-grid div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 46px;
  border-bottom: 1px solid var(--line);
}

.work-meta-table dt,
.work-meta-table dd,
.steam-status-grid dt,
.steam-status-grid dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
}

.work-meta-table dt,
.steam-status-grid dt {
  background: #f3f5f8;
  color: var(--ink-700);
  border-right: 1px solid var(--line);
  font-weight: 700;
}

.work-meta-table dd,
.steam-status-grid dd {
  color: var(--ink-900);
  word-break: break-word;
}

.steam-placeholder {
  overflow: hidden;
  border-top: 4px solid #1b2838;
}

.steam-placeholder__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #f3f5f8;
  border-bottom: 1px solid var(--line);
}

.steam-placeholder__head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #1b2838;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.steam-placeholder__head h2 {
  margin: 0;
  color: var(--red-800);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: 22px;
}

.steam-placeholder > p {
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-700);
}

.steam-status-grid {
  margin: 0 16px 16px;
  border-top: 1px solid var(--line);
}

.steam-placeholder__button {
  width: calc(100% - 32px);
  margin: 0 16px;
}

.steam-placeholder__button:disabled {
  opacity: .76;
  cursor: not-allowed;
  transform: none;
}

.steam-placeholder__note {
  font-size: 14px;
}

.weather-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.weather__inner {
  display: grid;
  grid-template-columns: minmax(230px, .28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.weather__inner .section-title {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red-700);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.weather__inner .section-title p {
  margin-top: 10px;
  text-align: left;
}

.weather-panel__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f5f7fa;
  border-bottom: 1px solid var(--line);
}

.weather-panel__controls label {
  color: var(--ink-700);
  font-weight: 700;
}

.weather-panel__controls input,
.weather-panel__controls select {
  min-height: 34px;
  min-width: 130px;
  border: 1px solid #cfd4db;
  background: #fff;
  color: var(--ink-900);
  padding: 0 10px;
}

.weather-button {
  min-height: 34px;
}

.weather-panel__body {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  padding: 16px 20px;
}

.weather-main {
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.weather-location {
  color: var(--red-700);
  font-weight: 700;
}

.weather-main strong {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  color: var(--ink-900);
}

.weather-main span:last-child {
  color: var(--ink-700);
}

.weather-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.weather-details div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.weather-details dt {
  color: var(--ink-500);
  font-weight: 700;
}

.weather-details dd {
  margin: 0;
  color: var(--ink-900);
}

.reader-hover-target {
  outline: 3px solid rgba(31, 94, 146, .35);
  outline-offset: 3px;
}

.news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 16px;
}

.news__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.news-column {
  min-width: 0;
}

.side-panel {
  min-width: 0;
}

.side-panel-grid {
  display: grid;
  gap: 12px;
}

.news-column--plain {
  border-top: 4px solid var(--red-700);
}

.news-page .news-column {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red-700);
}

.news-page .page-actions {
  margin-top: 18px;
}

.column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 3px solid var(--red-700);
  box-shadow: inset 0 -1px 0 var(--gold-600);
}

.column-head a {
  color: var(--blue-700);
  font-size: 14px;
}

.news-list {
  margin: 0;
  padding: 8px 16px 14px;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dotted #c8cdd4;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list a {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-900);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list time {
  color: var(--ink-500);
  font-size: 14px;
  white-space: nowrap;
}

.home-main-column {
  min-width: 0;
}

@media (min-width: 981px) {
  .home-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(440px, .88fr);
    gap: 12px;
    align-items: start;
    width: min(calc(100% - 8px), var(--container));
    margin: 12px auto 22px;
  }

  .home-main-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
  }

  .home-main-column--primary {
    grid-column: 1;
  }

  .home-main-side {
    grid-column: 2;
  }

  .home-main-column > section {
    padding: 0;
  }

  .home-main-column > section > .container {
    width: 100%;
  }

  .home-main-grid .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .44fr);
    gap: 12px;
  }

  .home-main-grid .hero__copy,
  .home-main-grid .hero__panel {
    min-height: 244px;
  }

  .home-main-grid .hero__visual {
    height: 116px;
  }

  .home-main-grid .service-window {
    padding: 16px 18px 18px;
  }

  .home-main-grid .entry-links {
    gap: 8px;
  }

  .home-main-grid .weather__inner,
  .home-main-grid .weather-panel__body,
  .home-main-grid .news__grid {
    grid-template-columns: 1fr;
  }

  .home-main-grid .weather__inner {
    gap: 0;
  }

  .home-main-grid .weather-panel__controls {
    padding: 10px 12px;
  }

  .home-main-grid .weather-panel__controls input {
    flex: 1 1 150px;
    min-width: 0;
  }

  .home-main-grid .weather-button {
    flex: 1 1 124px;
    padding-inline: 10px;
  }

  .home-main-grid .weather__inner .section-title {
    border-bottom: 0;
    box-shadow: none;
  }

  .home-main-grid .weather-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 14px;
  }

  .home-main-grid .weather-details {
    grid-template-columns: 1fr;
  }

  .home-main-grid .news__grid {
    gap: 12px;
  }

  .home-main-grid .service-grid,
  .home-main-grid .guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .home-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  }

  .home-main-grid .service-grid,
  .home-main-grid .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.notice-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.notice-layout > *,
.official-documents,
.official-document {
  min-width: 0;
}

.notice-toc {
  position: sticky;
  top: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red-700);
  box-shadow: var(--shadow);
  padding: 18px;
}

.notice-toc h1 {
  margin: 0 0 14px;
  color: var(--red-800);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: 24px;
}

.notice-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-toc a {
  display: block;
  padding: 9px 10px;
  border-left: 4px solid var(--red-700);
  background: #fbfcfd;
  color: var(--ink-900);
  font-weight: 700;
}

.notice-toc__source {
  margin: 14px 0 0;
  color: var(--ink-500);
  font-size: 14px;
}

.official-documents {
  display: grid;
  gap: 24px;
  width: 100%;
}

.official-document {
  scroll-margin-top: 84px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #d0d3d8;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 64px) clamp(22px, 6vw, 78px);
}

.official-document__issuer {
  color: var(--red-700);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.official-document__number {
  margin-top: 16px;
  text-align: center;
}

.official-document__redline {
  height: 3px;
  margin: 14px 0 30px;
  background: var(--red-700);
}

.official-document h2 {
  margin: 0 0 28px;
  color: var(--ink-900);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(24px, 3.6vw, 32px);
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.official-document__main-send {
  margin: 0 0 12px;
  font-weight: 700;
}

.official-document__body p {
  margin: 0 0 12px;
  color: var(--ink-900);
  line-height: 1.9;
  text-indent: 2em;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.official-document__body a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  word-break: break-all;
}

.official-document__sign {
  margin: 28px 0 0;
  text-align: right;
}

.official-document__date {
  margin: 4px 0 28px;
  text-align: right;
}

.official-document__imprint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
  color: var(--ink-700);
  font-size: 14px;
}

.public-info__inner {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow);
}

.public-info .section-title {
  margin-bottom: 18px;
}

.info-table {
  box-shadow: none;
  border-bottom: 0;
}

.info-table div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.info-table strong,
.info-table span {
  display: flex;
  align-items: center;
  padding: 12px 16px;
}

.info-table strong {
  background: #f3f5f8;
  color: var(--ink-700);
  border-right: 1px solid var(--line);
}

.info-table span {
  min-width: 0;
  word-break: break-word;
}

.contact-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.contact-link {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 20px;
  border-top: 4px solid var(--red-700);
}

.contact-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.contact-link span {
  color: var(--ink-500);
  font-weight: 700;
}

.contact-link strong {
  min-width: 0;
  color: var(--blue-700);
  font-size: 15px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.consultation-form {
  margin-bottom: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red-700);
}

.consultation-form__head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.consultation-form__head h2 {
  margin: 0;
  color: var(--red-700);
  font-size: 22px;
}

.consultation-form__head p {
  margin: 0;
  color: var(--ink-600);
}

.consultation-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink-700);
  font-weight: 700;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-900);
  font: inherit;
  font-weight: 500;
}

.form-field textarea {
  resize: vertical;
  line-height: 1.7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(171, 0, 13, .18);
  border-color: var(--red-700);
}

.form-field--fieldset {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
}

.form-field--fieldset legend {
  padding: 0 6px;
  color: var(--ink-700);
}

.form-field--fieldset label,
.form-field--check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
}

.form-field--fieldset input,
.form-field--check input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.form-reply-deadline {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(201, 154, 51, .42);
  border-left: 4px solid var(--gold-600);
  background: #fff8e7;
  color: var(--red-700);
  font-weight: 800;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.form-status {
  margin: 0;
  color: var(--ink-600);
  font-weight: 700;
}

.form-status[data-status="success"] {
  color: #0f6f3f;
}

.form-status[data-status="error"] {
  color: var(--red-700);
}

.form-botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  margin-top: 24px;
  background: #e6e8eb;
  border-top: 4px solid var(--red-700);
  color: #4a4e55;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 22px;
  padding: 26px 0;
  align-items: start;
}

.site-footer strong {
  color: var(--red-800);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-self: start;
  padding-top: 28px;
}

.footer-image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 2px 0 rgba(40, 44, 52, .04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.footer-image-button {
  width: min(220px, 100%);
}

.footer-image-button img {
  width: 100%;
  height: auto;
}

.footer-image-button:hover,
.footer-image-button:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(201, 154, 51, .22);
  transform: translateY(-1px);
  text-decoration: none;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: var(--red-700);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.senior-mode {
  font-size: 20px;
  line-height: 1.85;
}

body.senior-mode .topbar {
  font-size: 18px;
}

body.senior-mode .tool-button,
body.senior-mode .topbar-mail,
body.senior-mode .topbar-link,
body.senior-mode .button {
  min-height: 52px;
  padding-inline: 20px;
  font-size: 20px;
}

body.senior-mode .search-result {
  min-height: 72px;
  padding: 14px 16px;
}

body.senior-mode .mainnav__list a {
  min-height: 60px;
  font-size: 20px;
}

body.senior-mode .brand__text span,
body.senior-mode .hero p,
body.senior-mode .section-title p,
body.senior-mode .overview-item p,
body.senior-mode .service-card p,
body.senior-mode .guide-card p,
body.senior-mode .portal-service-card em,
body.senior-mode .weather-panel,
body.senior-mode .accessibility-card p,
body.senior-mode .work-detail-titlecopy > p:last-child,
body.senior-mode .work-block p,
body.senior-mode .work-feature-list li,
body.senior-mode .work-meta-table,
body.senior-mode .steam-placeholder > p,
body.senior-mode .steam-status-grid {
  font-size: 20px;
}

body.senior-mode .news-list li,
body.senior-mode .info-table div,
body.senior-mode .work-meta-table div,
body.senior-mode .steam-status-grid div {
  min-height: 62px;
}

body.senior-mode a {
  text-underline-offset: 4px;
}

body.access-font-large {
  font-size: 18px;
  line-height: 1.75;
}

body.access-font-larger {
  font-size: 20px;
  line-height: 1.85;
}

body.high-contrast {
  color: #fff;
  background: #000;
}

body.high-contrast .topbar,
body.high-contrast .masthead,
body.high-contrast .mainnav,
body.high-contrast .focus-strip,
body.high-contrast .hero__copy,
body.high-contrast .hero__panel,
body.high-contrast .weather-panel,
body.high-contrast .overview-item,
body.high-contrast .service-card,
body.high-contrast .guide-card,
body.high-contrast .portal-service-card,
body.high-contrast .accessibility-card,
body.high-contrast .news-column,
body.high-contrast .side-panel,
body.high-contrast .notice-toc,
body.high-contrast .official-document,
body.high-contrast .public-info__inner,
body.high-contrast .info-table,
body.high-contrast .contact-link,
body.high-contrast .accessibility-toolbar,
body.high-contrast .breadcrumb-strip,
body.high-contrast .subpage-panel,
body.high-contrast .work-detail-titlebar,
body.high-contrast .work-block,
body.high-contrast .work-side-section,
body.high-contrast .work-meta-table,
body.high-contrast .work-meta-table dt,
body.high-contrast .steam-placeholder,
body.high-contrast .steam-placeholder__head,
body.high-contrast .steam-status-grid,
body.high-contrast .steam-status-grid dt,
body.high-contrast .column-head,
body.high-contrast .weather-panel__controls,
body.high-contrast .search-results,
body.high-contrast .search-results__head,
body.high-contrast .search-result,
body.high-contrast .info-table strong,
body.high-contrast .site-footer {
  color: #fff;
  background: #000;
  border-color: #ffd84d;
  box-shadow: none;
}

body.high-contrast .masthead::before {
  opacity: .18;
}

body.high-contrast a,
body.high-contrast .section-title h1,
body.high-contrast .section-title h2,
body.high-contrast .column-head h2,
body.high-contrast .brand__text span,
body.high-contrast .hero p,
body.high-contrast .hero-meta dt,
body.high-contrast .hero-meta dd,
body.high-contrast .section-title p,
body.high-contrast .weather-location,
body.high-contrast .weather-main strong,
body.high-contrast .weather-main span:last-child,
body.high-contrast .weather-details dt,
body.high-contrast .weather-details dd,
body.high-contrast .overview-item p,
body.high-contrast .service-card p,
body.high-contrast .guide-card span,
body.high-contrast .guide-card h3,
body.high-contrast .guide-card p,
body.high-contrast .portal-service-card span,
body.high-contrast .portal-service-card strong,
body.high-contrast .portal-service-card em,
body.high-contrast .accessibility-card p,
body.high-contrast .work-detail-titlebar__en,
body.high-contrast .work-detail-titlecopy > p:last-child,
body.high-contrast .work-block p,
body.high-contrast .work-feature-list li,
body.high-contrast .work-meta-table dt,
body.high-contrast .work-meta-table dd,
body.high-contrast .steam-placeholder__head h2,
body.high-contrast .steam-placeholder > p,
body.high-contrast .steam-status-grid dt,
body.high-contrast .steam-status-grid dd,
body.high-contrast .contact-link span,
body.high-contrast .contact-link strong,
body.high-contrast .notice-toc__source,
body.high-contrast .official-document__body p,
body.high-contrast .official-document__imprint,
body.high-contrast .site-footer strong,
body.high-contrast .site-footer p {
  color: #fff;
}

body.high-contrast .tool-button,
body.high-contrast .topbar-mail,
body.high-contrast .topbar-link,
body.high-contrast .status-weather,
body.high-contrast .weather-panel__controls input,
body.high-contrast .weather-panel__controls select,
body.high-contrast .entry-links a,
body.high-contrast .guide-card a,
body.high-contrast .portal-service-card,
body.high-contrast .notice-toc a,
body.high-contrast .site-search,
body.high-contrast .site-search input,
body.high-contrast .site-search button,
body.high-contrast .search-result,
body.high-contrast .work-card__action,
body.high-contrast .steam-placeholder__head span {
  color: #fff;
  background: #111;
  border-color: #ffd84d;
}

body.high-contrast .tool-button:hover,
body.high-contrast .tool-button[aria-pressed="true"],
body.high-contrast .topbar-link:hover,
body.high-contrast .topbar-link[aria-expanded="true"],
body.high-contrast .topbar-link[aria-pressed="true"],
body.high-contrast .entry-links a:hover,
body.high-contrast .entry-links a:focus,
body.high-contrast .guide-card a:hover,
body.high-contrast .guide-card a:focus {
  color: #000;
  background: #ffd84d;
}

body.high-contrast .entry-links a::after {
  color: #ffd84d;
}

body.high-contrast .entry-links a:hover::after,
body.high-contrast .entry-links a:focus::after {
  color: #000;
}

.is-highlighted {
  animation: highlight 2.2s ease;
}

.section-anchor.is-location-highlighted {
  animation: location-highlight 2s ease both;
  outline: 3px solid transparent;
  outline-offset: -3px;
}

body.is-sixty-seven-wobbling .home-main-grid {
  animation: sixty-seven-page-wobble 3s cubic-bezier(.2, .8, .2, 1) both;
  transform-origin: center top;
  will-change: transform;
}

body.is-sixty-seven-wobbling .site-search {
  animation: sixty-seven-search-pulse 3s ease-in-out both;
}

body.is-sixty-seven-wobbling .home-main-column--primary,
body.is-sixty-seven-wobbling .home-main-side {
  position: relative;
  z-index: 2;
  outline: 4px solid rgba(182, 0, 9, .45);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(201, 154, 51, .28), 0 20px 34px rgba(86, 0, 7, .18);
}

body.is-sixty-seven-wobbling .home-main-column--primary {
  animation: sixty-seven-left-wobble 3s cubic-bezier(.2, .8, .2, 1) both;
  will-change: transform;
}

body.is-sixty-seven-wobbling .home-main-side {
  animation: sixty-seven-right-wobble 3s cubic-bezier(.2, .8, .2, 1) both;
  will-change: transform;
}

.ciallo-barrage {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

.ciallo-barrage__item {
  position: absolute;
  top: var(--ciallo-top, 50vh);
  left: 0;
  display: inline-block;
  min-width: max-content;
  color: var(--ciallo-color, #fff);
  font-family: Arial, sans-serif;
  font-size: var(--ciallo-size, 22px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 2px 0 rgba(122, 0, 16, .55),
    0 0 10px rgba(255, 232, 163, .78),
    0 0 18px rgba(182, 0, 9, .42);
  transform: translateX(-35vw) rotate(var(--ciallo-tilt, 0deg));
  animation: ciallo-barrage-left-to-right var(--ciallo-duration, 4s) linear var(--ciallo-delay, 0s) both;
  opacity: .95;
  will-change: transform, opacity;
}

@keyframes highlight {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  20%,
  70% {
    box-shadow: 0 0 0 4px rgba(201, 154, 51, .45), var(--shadow);
  }
}

@keyframes location-highlight {
  0%,
  100% {
    background: transparent;
    box-shadow: none;
    outline-color: transparent;
  }
  12%,
  36%,
  60%,
  84% {
    background: rgba(255, 248, 232, .72);
    box-shadow: inset 0 0 0 2px rgba(201, 154, 51, .92), 0 0 0 4px rgba(182, 0, 9, .18);
    outline-color: var(--red-700);
  }
  24%,
  48%,
  72% {
    background: rgba(255, 255, 255, .36);
    box-shadow: inset 0 0 0 2px rgba(182, 0, 9, .88), 0 0 0 4px rgba(201, 154, 51, .28);
    outline-color: var(--gold-600);
  }
}

@keyframes ciallo-barrage-left-to-right {
  0% {
    opacity: 0;
    transform: translateX(-35vw) rotate(var(--ciallo-tilt, 0deg));
  }
  6%,
  86% {
    opacity: .95;
  }
  100% {
    opacity: 0;
    transform: translateX(110vw) rotate(var(--ciallo-end-tilt, 0deg));
  }
}

@keyframes sixty-seven-page-wobble {
  0%,
  100% {
    transform: translateX(0) rotate(0) scale(1);
  }
  8% {
    transform: translateX(-18px) rotate(-.75deg) scale(1.006);
  }
  16% {
    transform: translateX(20px) rotate(.82deg) scale(1.008);
  }
  24% {
    transform: translateX(-16px) rotate(-.62deg) scale(1.006);
  }
  32% {
    transform: translateX(15px) rotate(.58deg) scale(1.005);
  }
  42% {
    transform: translateX(-11px) rotate(-.42deg) scale(1.004);
  }
  54% {
    transform: translateX(9px) rotate(.32deg) scale(1.003);
  }
  68% {
    transform: translateX(-6px) rotate(-.2deg) scale(1.002);
  }
  82% {
    transform: translateX(4px) rotate(.12deg) scale(1.001);
  }
}

@keyframes sixty-seven-search-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 236, 182, .18), 0 10px 22px rgba(78, 0, 8, .18);
  }
  12%,
  36%,
  60% {
    box-shadow: 0 0 0 6px rgba(255, 235, 150, .58), 0 0 0 12px rgba(182, 0, 9, .22), 0 18px 34px rgba(78, 0, 8, .3);
  }
  24%,
  48%,
  72% {
    box-shadow: 0 0 0 6px rgba(182, 0, 9, .36), 0 0 0 12px rgba(255, 235, 150, .34), 0 18px 34px rgba(78, 0, 8, .28);
  }
}

@keyframes sixty-seven-left-wobble {
  0%,
  100% {
    transform: translateY(0);
  }
  8%,
  32%,
  56% {
    transform: translateY(-44px) rotate(-1.1deg);
  }
  20%,
  44%,
  68% {
    transform: translateY(42px) rotate(1.1deg);
  }
  82% {
    transform: translateY(-18px) rotate(-.45deg);
  }
}

@keyframes sixty-seven-right-wobble {
  0%,
  100% {
    transform: translateY(0);
  }
  8%,
  32%,
  56% {
    transform: translateY(44px) rotate(1.1deg);
  }
  20%,
  44%,
  68% {
    transform: translateY(-42px) rotate(-1.1deg);
  }
  82% {
    transform: translateY(18px) rotate(.45deg);
  }
}

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

@media (max-width: 980px) {
  .topbar__inner,
  .accessibility-toolbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-tools,
  .accessibility-toolbar__buttons {
    justify-content: flex-start;
  }

  .masthead__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-search {
    flex: 0 0 auto;
    width: min(100%, 520px);
  }

  .hero__inner,
  .weather__inner,
  .weather-panel__body,
  .news__grid,
  .notice-layout,
  .work-detail-layout,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .footer-image-actions {
    justify-content: flex-start;
    padding-top: 0;
  }

  .notice-toc {
    position: static;
  }

  .weather-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 16px;
  }

  .overview__grid,
  .service-grid,
  .guide-grid,
  .portal-service-grid,
  .accessibility-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-page .portal-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .consultation-form {
    padding: 16px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 6px 0;
    gap: 6px;
  }

  .topbar__status {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    width: 100%;
    overflow: visible;
    white-space: normal;
    line-height: 1.35;
  }

  .status-divider {
    display: none;
  }

  .status-time,
  .status-weather {
    width: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 8px;
    height: auto;
    min-width: 0;
    white-space: normal;
  }

  .status-weather {
    display: inline-flex;
    flex: 1 1 100%;
    align-items: start;
    min-height: 28px;
    padding: 2px 8px;
  }

  .status-weather span {
    white-space: nowrap;
  }

  .status-time strong,
  .status-weather strong {
    display: inline;
    flex: 1 1 150px;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
  }

  .portal-tools {
    display: flex;
    gap: 4px 6px;
    overflow: visible;
    justify-content: flex-start;
    max-width: 100%;
    white-space: normal;
  }

  .language-switch {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 4px;
    white-space: normal;
  }

  .tool-button,
  .topbar-link {
    min-height: 30px;
    padding: 0 8px;
  }

  .accessibility-toolbar__inner {
    padding: 12px 0;
  }

  .accessibility-toolbar__inner > strong {
    white-space: normal;
  }

  .topbar-mail {
    display: none;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__text strong {
    font-size: clamp(28px, 10vw, 38px);
  }

  .brand__text span {
    font-size: 14px;
  }

  .masthead__inner {
    gap: 10px;
    min-height: 0;
    padding: 14px 0;
  }

  .site-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(255, 236, 182, .18), 0 8px 16px rgba(78, 0, 8, .16);
  }

  .site-search input,
  .site-search button {
    height: 40px;
  }

  .site-search::after {
    top: 24px;
  }

  .search-status {
    position: static;
    grid-column: 1 / -1;
    padding-top: 4px;
    color: #fff6d8;
  }

  .search-results {
    top: calc(100% + 6px);
  }

  .mainnav__inner {
    justify-content: flex-start;
    min-height: 46px;
  }

  .nav-toggle {
    display: block;
  }

  .mainnav__list {
    display: none;
    position: absolute;
    left: 16px;
    right: auto;
    top: auto;
    z-index: 10;
    width: calc(100% - 32px);
    flex-direction: column;
    margin-top: 46px;
    background: var(--red-700);
    border: 1px solid rgba(255, 255, 255, .26);
    box-shadow: 0 16px 24px rgba(0, 0, 0, .18);
  }

  .mainnav__list.is-open {
    display: flex;
  }

  .mainnav__list a {
    justify-content: flex-start;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .focus-strip__inner {
    display: block;
    align-items: flex-start;
    padding: 10px 0;
  }

  .focus-strip strong {
    margin-bottom: 8px;
  }

  .focus-strip a {
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
    word-break: break-all;
  }

  .hero p,
  .overview-item p,
  .service-card p,
  .guide-card p,
  .accessibility-card p,
  .weather-panel,
  .service-window dd,
  .info-table span,
  .news-list a {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title p {
    text-align: left;
  }

  .overview__grid,
  .service-grid,
  .guide-grid,
  .portal-service-grid,
  .accessibility-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portal-page .portal-service-grid {
    grid-template-columns: 1fr;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .weather-panel__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .weather-panel__controls select,
  .weather-panel__controls input,
  .weather-button {
    width: 100%;
  }

  .weather-details {
    grid-template-columns: 1fr;
  }

  .news-list a {
    white-space: normal;
  }

  .info-table div {
    grid-template-columns: 1fr;
  }

  .work-detail-titlebar,
  .work-block {
    padding: 18px 14px;
  }

  .work-detail-titlebar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-detail-logo {
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .work-detail-logo img {
    width: min(100%, 440px);
    max-height: 150px;
  }

  .work-meta-table div,
  .steam-status-grid div {
    grid-template-columns: 1fr;
  }

  .work-meta-table dt,
  .steam-status-grid dt {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steam-placeholder__head {
    grid-template-columns: 1fr;
  }

  .official-document__imprint {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .official-document {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    justify-self: center;
    padding: 28px 14px;
  }

  .official-document__body p {
    text-indent: 2em;
  }

  .info-table strong {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
