* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  color: #1f2937;
}

a {
  color: inherit;
}

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

.directory-shell {
  min-height: 100vh;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 8px 28px 92px;
}

.card-logo {
  display: grid;
  place-items: center;
}

.directory-hero {
  text-align: center;
  margin: 0 auto 12px;
  padding-top: 0;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
}

/* 修改说明：首页主 Logo，默认是 public/brand-mark.svg；后台上传新 Logo 后这里会自动显示新图。 */
.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.directory-hero h2 {
  margin: 0;
  color: #111827;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Inter, Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.directory-hero p {
  max-width: 720px;
  margin: 2px auto 0;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.55;
}

/* 修改说明：前台顶部小图标显示在标题介绍下面，对应后台“顶部小图标”菜单。 */
.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px auto 0;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, .72);
  border-radius: 50%;
  background: #fff;
  color: #2563eb;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 41, 55, .07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 41, 55, .10);
}

.social-link svg,
.social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-link span {
  font-size: 18px;
  font-weight: 800;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 10px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-tabs button {
  min-height: 42px;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 41, 55, .05);
}

.category-tabs button.active {
  border-color: rgba(37, 99, 235, .22);
  color: #2563eb;
}

.promo-links {
  display: grid;
  gap: 10px;
  margin: 0 auto 18px;
}

.promo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(37, 99, 235, .25);
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  padding: 0 18px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 41, 55, .05);
}

.is-bouncing-ad {
  animation: promoBounce 1.4s ease-in-out infinite;
}

@keyframes promoBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.01);
  }
}

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

.airport-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(209, 213, 219, .72);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(31, 41, 55, .07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.airport-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .22);
  box-shadow: 0 24px 44px rgba(31, 41, 55, .11);
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-logo {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 50%;
  background: #eef2ff;
  box-shadow: 0 8px 18px rgba(31, 41, 55, .10);
}

.card-logo svg,
.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tag-list {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-list b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 7px;
  background: #f2c324;
  color: #fff;
  padding: 0 9px;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 8px 14px rgba(185, 134, 11, .18);
}

.tag-list b:first-child {
  background: #55c56a;
  box-shadow: 0 8px 14px rgba(22, 163, 74, .18);
}

.airport-card h3 {
  margin: 22px 0 10px;
  color: #20242b;
  font-size: 25px;
  line-height: 1.15;
}

.airport-card p {
  margin: 0;
  color: #7a7f89;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.seo-content-section {
  margin: 28px auto 0;
}

.seo-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.seo-section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
}

.seo-section-heading a,
.article-page-header a {
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
}

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

.article-card {
  display: block;
  border: 1px solid rgba(209, 213, 219, .72);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(31, 41, 55, .06);
}

.article-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 7px;
  background: #eff6ff;
  color: #2563eb;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 800;
}

.article-card h2,
.article-card h3 {
  margin: 12px 0 8px;
  color: #111827;
  font-size: 21px;
}

.article-card p {
  margin: 0;
  color: #6b7280;
  font-weight: 600;
  line-height: 1.65;
}

.article-card small {
  display: block;
  margin-top: 12px;
  color: #8b95a1;
  font-weight: 700;
}

.article-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.article-page-header {
  margin-bottom: 24px;
}

.article-page-header span {
  display: inline-block;
  margin-top: 18px;
  color: #2563eb;
  font-weight: 800;
}

.article-page-header h1 {
  margin: 10px 0 12px;
  color: #111827;
  font-size: 38px;
  line-height: 1.15;
}

.article-page-header p,
.article-body p {
  color: #667085;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-body section {
  border: 1px solid rgba(209, 213, 219, .72);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  padding: 22px;
}

.article-body h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 24px;
}

.notice-bar {
  position: fixed;
  left: 28px;
  right: 28px;
  bottom: 22px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  border-radius: 14px;
  background: #ef5147;
  color: #fff;
  padding: 14px 18px;
  box-shadow: 0 18px 46px rgba(239, 81, 71, .28);
}

.notice-bar span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-weight: 800;
}

.notice-bar strong {
  flex: 1;
  font-size: 17px;
}

.notice-bar button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.share-preview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #f8fafc;
}

.share-preview img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #e5e7eb;
}

.share-preview div {
  min-width: 0;
  padding: 14px 14px 14px 0;
}

.share-preview strong,
.share-preview p,
.share-preview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-preview strong {
  white-space: nowrap;
  font-size: 17px;
}

.share-preview p {
  display: -webkit-box;
  margin: 8px 0;
  color: #6b7280;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.share-preview span {
  color: #2563eb;
  white-space: nowrap;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px !important;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
}

.checkbox-label .field-note {
  flex: 1 0 100%;
}

.admin-body {
  min-height: 100vh;
  background: #f6f3ef;
  color: #151515;
}

/* 修改说明：后台容器放宽到接近整屏宽度，右侧不再留下大片空白。 */
.admin-layout {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.admin-header,
.admin-actions,
.admin-header-actions,
.section-title-row,
.editor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-header p {
  margin: 0 0 6px;
  color: #6b665e;
  font-weight: 700;
}

.admin-header h1 {
  margin: 0;
  color: #151515;
  font-size: 34px;
  font-weight: 800;
}

.preview-link,
.admin-actions button,
.top-save-button,
.logout-button,
.secondary-button,
.danger-button {
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.preview-link,
.admin-actions button,
.top-save-button,
.secondary-button {
  background: #151515;
  color: #fff;
}

.logout-button {
  background: #6f665d;
  color: #fff;
}

.danger-button {
  background: #f3e2df;
  color: #9c2f23;
}

.admin-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.is-hidden {
  display: none !important;
}

/* 修改说明：登录表单还是居中单列；登录后才使用下面的左右后台布局。 */
.login-form {
  max-width: 720px;
}

/* 修改说明：后台主编辑区改成左侧菜单 + 右侧面板，高度按一屏计算。 */
.admin-edit-shell {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
  min-height: 560px;
  height: calc(100vh - 146px);
}

/* 修改说明：左侧菜单固定在一屏高度内，菜单太多时只在左侧内部滚动。 */
.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  border: 1px solid #ddd6cc;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

/* 修改说明：菜单按钮的 active 状态由 admin.js 控制，active 代表右侧正在显示这个面板。 */
.admin-menu-button {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f7f3ee;
  color: #4b463f;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-menu-button:hover,
.admin-menu-button.active {
  border-color: #151515;
  background: #151515;
  color: #fff;
}

/* 修改说明：右侧只放当前面板，保存按钮已经移到顶部操作区。 */
.admin-content {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.admin-section,
.editor-card {
  border: 1px solid #ddd6cc;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.admin-section h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.admin-panel-intro {
  margin: -6px 0 18px;
  color: #6f665d;
  font-size: 14px;
  line-height: 1.6;
}

/* 修改说明：默认隐藏所有右侧面板，点击左侧菜单后 admin.js 只给目标面板加 active。 */
.admin-panel {
  display: none;
  min-height: 0;
  overflow: auto;
}

.admin-panel.active {
  display: block;
}

.section-title-row h2 {
  margin: 0;
}

.admin-section label,
.editor-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #514d46;
  font-weight: 700;
}

/* 修改说明：字段说明写给新手看，告诉他们改这里会影响前台哪里。 */
.field-note {
  color: #7a7167;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.logo-preview {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  color: #514d46;
  font-weight: 700;
}

.logo-preview img {
  width: min(360px, 100%);
  max-height: 110px;
  object-fit: contain;
  border: 1px solid #ddd6cc;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

/* 修改说明：favicon 预览只显示小方块，方便确认浏览器标签页图标已经上传成新图。 */
.favicon-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 14px;
  color: #514d46;
  font-weight: 700;
}

.favicon-preview img {
  grid-row: 3;
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid #ddd6cc;
  border-radius: 8px;
  background: #fff;
  padding: 9px;
}

.favicon-preview small {
  display: block;
  grid-row: 2;
  max-width: 720px;
  color: #7a7167;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfc8bd;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 94px;
  resize: vertical;
}

input[type="color"] {
  padding: 4px;
}

select {
  background: #fff;
}

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

.editor-stack {
  display: grid;
  gap: 14px;
}

.editor-card strong {
  display: block;
  font-size: 18px;
}

.inline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.article-publish-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  border: 1px solid #ddd6cc;
  border-radius: 8px;
  background: #fbfaf8;
  margin: 12px 0 16px;
  padding: 12px;
}

.article-publish-bar span,
.empty-editor-note {
  color: #6f665d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.article-editor-card {
  background: #fffdfb;
}

.article-manager-shell {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.article-list-panel {
  position: sticky;
  top: 0;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 250px);
  overflow: auto;
  border: 1px solid #ddd6cc;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.article-list-summary {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #ede7dd;
  padding-bottom: 12px;
}

.article-list-summary strong,
.article-list-group h3 {
  color: #151515;
  font-size: 16px;
  font-weight: 900;
}

.article-list-summary span,
.article-list-item small {
  color: #7a7167;
  font-size: 12px;
  font-weight: 700;
}

.article-list-group {
  display: grid;
  gap: 8px;
}

.article-list-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.article-list-group h3 span {
  border-radius: 999px;
  background: #f0ece6;
  color: #6f665d;
  padding: 3px 8px;
  font-size: 12px;
}

/* 修改说明：文章管理默认只显示标题列表，点标题才会在右侧打开详情，避免文章多时后台无限变长。 */
.article-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid #e5ded4;
  border-radius: 8px;
  background: #fbfaf8;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
}

.article-list-item:hover,
.article-list-item.active {
  border-color: #151515;
  background: #151515;
}

.article-list-item span {
  color: #2b2f36;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.article-list-item:hover span,
.article-list-item.active span,
.article-list-item:hover small,
.article-list-item.active small {
  color: #fff;
}

.article-detail-panel {
  min-width: 0;
}

.article-detail-empty {
  display: grid;
  gap: 8px;
  border: 1px dashed #d7d0c6;
  border-radius: 8px;
  background: #fbfaf8;
  padding: 22px;
}

.article-detail-empty strong {
  color: #151515;
  font-size: 18px;
  font-weight: 900;
}

.article-detail-empty p {
  margin: 0;
  color: #6f665d;
  font-weight: 700;
  line-height: 1.65;
}

.article-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-section-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

/* 修改说明：文章正文按“段落块”保存；新增/删除这些块会影响文章页正文结构。 */
.article-section-editor {
  border: 1px solid #e5ded4;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.article-section-editor textarea {
  min-height: 150px;
}

.rich-editor-block {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.rich-editor-label {
  color: #514d46;
  font-weight: 800;
}

.rich-toolbar {
  /* 修改说明：写长文章时工具栏会吸在编辑区顶部，避免来回滚动找加粗、链接、图片按钮。 */
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid #ded7cd;
  border-radius: 8px;
  background: rgba(251, 250, 248, .96);
  padding: 8px;
  box-shadow: 0 10px 18px rgba(31, 41, 55, .08);
  backdrop-filter: blur(8px);
}

.rich-toolbar button {
  min-height: 34px;
  border: 1px solid #d7d0c6;
  border-radius: 7px;
  background: #fff;
  color: #2b2f36;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.rich-toolbar button:hover {
  border-color: #151515;
  background: #151515;
  color: #fff;
}

.rich-editor {
  min-height: 220px;
  border: 1px solid #cfc8bd;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  color: #20242b;
  font: inherit;
  line-height: 1.75;
  outline: none;
  overflow-x: auto;
}

.rich-editor:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.rich-editor p,
.article-rich-content p {
  margin: 0 0 12px;
}

.rich-editor h3,
.rich-editor h4,
.article-rich-content h3,
.article-rich-content h4 {
  margin: 16px 0 8px;
  color: #111827;
  line-height: 1.3;
}

.rich-editor ul,
.rich-editor ol,
.article-rich-content ul,
.article-rich-content ol {
  margin: 0 0 12px 22px;
  padding: 0;
}

.rich-editor blockquote,
.article-rich-content blockquote {
  border-left: 4px solid #2563eb;
  margin: 12px 0;
  background: #eff6ff;
  padding: 10px 14px;
}

.rich-editor table,
.article-rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.rich-editor th,
.rich-editor td,
.article-rich-content th,
.article-rich-content td {
  border: 1px solid #d7dce5;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.rich-editor th,
.article-rich-content th {
  background: #f3f6fb;
  color: #111827;
  font-weight: 900;
}

.rich-editor tr:nth-child(even) td,
.article-rich-content tr:nth-child(even) td {
  background: #fafbfe;
}

.rich-editor img,
.article-rich-content img {
  display: block;
  max-width: 100%;
  border-radius: 8px;
  margin: 14px 0;
}

.article-rich-content {
  overflow-x: auto;
  color: #667085;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}

.article-rich-content a {
  color: #2563eb;
  font-weight: 800;
}

.add-section-button {
  justify-self: flex-start;
  margin-top: 12px;
}

#status,
#loginStatus {
  color: #247d3f;
  font-weight: 800;
}

.top-save-status {
  max-width: 280px;
  text-align: right;
}

.top-save-status:empty {
  display: none;
}

@media (max-width: 1160px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .directory-shell {
    padding: 8px 14px 82px;
  }

  .filter-row {
    justify-content: stretch;
    gap: 12px;
    margin-bottom: 14px;
  }

  .directory-hero {
    margin-bottom: 10px;
    padding-top: 0;
  }

  .hero-brand {
    gap: 10px;
    min-height: 46px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .directory-hero h2 {
    font-size: 23px;
    line-height: 1.08;
  }

  .directory-hero p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.55;
  }

  .category-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .category-tabs button,
  .promo-link {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    text-align: center;
    font-size: 14px;
  }

  .promo-links {
    margin-bottom: 16px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-page-header h1 {
    font-size: 30px;
  }

  .notice-bar {
    left: 14px;
    right: 14px;
    bottom: 12px;
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .notice-bar span {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .notice-bar strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .notice-bar button {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }

  /* 修改说明：窄屏后台改成上下结构，菜单横向滚动，右侧继续只显示一个面板。 */
  .admin-layout {
    width: min(100% - 24px, 760px);
    padding: 18px 0 28px;
  }

  .admin-edit-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .admin-menu-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 112px;
    text-align: center;
  }

  .admin-content {
    overflow: visible;
  }

  .admin-panel {
    max-height: none;
  }

  .article-manager-shell {
    grid-template-columns: 1fr;
  }

  .article-list-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 560px) {
  .color-grid {
    grid-template-columns: 1fr;
  }

  .directory-hero h2 {
    font-size: 20px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

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

  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .airport-card {
    min-height: 176px;
    padding: 18px;
    text-align: left;
  }

  .card-logo {
    width: 48px;
    height: 48px;
  }

  .airport-card h3 {
    margin: 18px 0 8px;
    font-size: 24px;
  }

  .airport-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .admin-header,
  .admin-actions,
  .admin-header-actions,
  .section-title-row,
  .article-publish-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .article-editor-grid {
    grid-template-columns: 1fr;
  }

  .inline-actions {
    justify-content: flex-start;
  }

  .share-preview {
    grid-template-columns: 1fr;
  }

  .share-preview div {
    padding: 0 14px 14px;
  }
}
