:root {
  /* font size */
  --font-size-h1: 34px;
  --font-size-h2: 24px;
  --font-size-h3: 18px;
  --font-size-h4: 16px;
  --font-size-body: 14px;
  --font-size-caption: 12px;
  --font-size-form: 14px;

  /* line height */
  --line-height-h1: 1.25;
  --line-height-h2: 1.3;
  --line-height-h3: 1.4;
  --line-height-h4: 1.45;
  --line-height-body: 1.6;
  --line-height-caption: 1.4;
  --line-height-form: 1.6;

  /* font weight */
  --font-weight-h1: 700;
  --font-weight-h2: 600;
  --font-weight-h3: 600;
  --font-weight-h4: 500;
  --font-weight-body: 400;
  --font-weight-caption: 400;

  --bg: #f4f1ea;
  --paper: #fffdf9;
  --ink: #1a1a1a;
  --muted: #676767;
  --line: #d9d2c6;
  --border-unified: #9ca3af;
  --accent: #cd3a2e;
  --dark: #111111;
  --cat-home: #e5e7eb;
  --cat-home-bg: rgba(229, 231, 235, 0.14);
  --cat-food: #ff7a59;
  --cat-food-bg: rgba(255, 122, 89, 0.2);
  --cat-fashion: #22c55e;
  --cat-fashion-bg: rgba(34, 197, 94, 0.2);
  --cat-mens: #3b82f6;
  --cat-mens-bg: rgba(59, 130, 246, 0.2);
  --cat-womens: #ec4899;
  --cat-womens-bg: rgba(236, 72, 153, 0.2);
  --cat-travel: #14b8a6;
  --cat-travel-bg: rgba(20, 184, 166, 0.2);
  --cat-event: #a855f7;
  --cat-event-bg: rgba(168, 85, 247, 0.2);
  --cat-sale: #f59e0b;
  --admin-module-gap: 24px;
  --admin-page-title-size: var(--font-size-h1);
  --admin-page-title-line-height: var(--line-height-h1);
  --admin-page-title-bottom-space: calc(var(--admin-module-gap) + 8px);
  --admin-page-subtitle-size: var(--font-size-h2);
  --admin-page-subtitle-line-height: var(--line-height-h2);
  --cat-sale-bg: rgba(245, 158, 11, 0.2);
  --cat-shop: #06b6d4;
  --cat-shop-bg: rgba(6, 182, 212, 0.2);
  --cat-admin: #94a3b8;
  --cat-admin-bg: rgba(148, 163, 184, 0.22);
  --cat-default: #9ca3af;
  --cat-default-bg: rgba(156, 163, 175, 0.2);
  --nav-location-pill-height: 42px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  position: relative;
  color: var(--ink);
  background: #ffffff;
  font: var(--font-weight-body) var(--font-size-body)/var(--line-height-body) "Noto Sans SC", "PingFang SC", sans-serif;
}

.base-ui-root {
  isolation: isolate;
}

body.single-post-lightbox-open {
  overflow: hidden;
}

/* Typography system: body = Regular, titles = Bold */
body,
button,
input,
select,
textarea,
p,
span,
a,
label,
li,
td,
th {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.brand-main,
.brand-sub,
.admin-title-module,
.location-picker-title {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

h5,
h6,
.brand,
.brand-main,
.brand-sub,
.admin-title-module,
.location-picker-title {
  font-weight: 700;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-h1);
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h2);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-h4);
}

p,
li {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.text-h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-h1);
}

.text-h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h2);
}

.text-h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

.text-h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-h4);
}

.text-body {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
}

.text-caption {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-caption);
}

.topbar {
  width: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-bar {
  height: 42px;
  background: #0f0f10;
  color: #f3f3f3;
  font: 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  padding-left: max(22px, calc((100vw - 1240px) / 2 + 22px));
  padding-right: max(22px, calc((100vw - 1240px) / 2 + 22px));
}

.meta-left,
.meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-location-pill {
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3f3f3;
  font: inherit;
  line-height: 22px;
  padding: 0 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.site-location-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.site-location-pill:active {
  opacity: 0.9;
}

.site-location-pill[data-state="loading"] {
  opacity: 0.86;
}

.site-location-pill[data-state="error"] {
  border-color: rgba(255, 143, 143, 0.62);
}

body.location-picker-open {
  overflow: hidden;
}

.location-picker-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.location-picker-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #060607;
  opacity: 0;
  clip-path: circle(0 at var(--origin-x, 50%) var(--origin-y, 0));
  transition: clip-path 0.52s cubic-bezier(0.2, 0.82, 0.23, 1), opacity 0.24s ease;
}

.location-picker-layer.open {
  pointer-events: auto;
}

.location-picker-layer.open::before {
  opacity: 1;
  clip-path: circle(160vmax at var(--origin-x, 50%) var(--origin-y, 0));
}

.location-picker-mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.location-picker-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(780px, calc(100vw - 48px));
  height: min(620px, calc(100vh - 48px));
  overflow-y: auto;
  color: #f7f7f7;
  transform: translate(-50%, calc(-50% + 16px));
  opacity: 0;
  transition: opacity 0.26s ease 0.18s, transform 0.26s ease 0.18s;
}

.location-picker-layer.open .location-picker-panel {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.location-picker-close {
  position: absolute;
  top: -6px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.location-picker-title {
  margin: 0;
  font: 700 56px/1.08 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.01em;
}

.location-picker-search-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: start;
}

.location-picker-search-main {
  min-width: 0;
}

.location-picker-input {
  height: 52px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 500 16px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  padding: 0 18px;
  outline: none;
}

.location-picker-input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.location-picker-input:focus {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.14);
}

.location-picker-search-btn,
.location-picker-action {
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0 22px;
  font: 600 15px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.location-picker-search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.location-picker-suggest {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(12, 12, 14, 0.9);
  overflow: hidden;
}

.location-picker-suggest-list {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 360px;
  overflow-y: auto;
}

.location-suggest-chip {
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #fff;
  padding: 8px 14px;
  text-align: left;
  font: 600 15px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.location-suggest-chip:last-child {
  border-bottom: 0;
}

.location-suggest-chip:hover {
  background: rgba(255, 255, 255, 0.12);
}

.location-picker-hotline {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font: 500 15px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
}

.location-picker-hot-label {
  color: rgba(255, 255, 255, 0.72);
}

.location-hot-chip {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 2px;
  font: 600 16px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.location-hot-chip:hover {
  color: #fff;
  text-decoration: underline;
}

.location-picker-message {
  min-height: 24px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font: 500 13px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
}

.location-picker-message:empty {
  display: none;
}

.location-picker-message[data-state="error"] {
  color: #ffb2b2;
}

.location-picker-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.location-picker-action.ghost {
  background: transparent;
}

.sep {
  opacity: 0.45;
}

.masthead {
  min-height: 440px;
  padding: 90px 20px 78px;
  text-align: center;
  border-bottom: 1px solid #2a2a2a;
  background: #0f0f10;
  color: #f3f3f3;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.masthead.has-cover-bg {
  background-image:
    linear-gradient(180deg, rgba(6, 10, 18, 0.52) 0%, rgba(6, 10, 18, 0.46) 100%),
    var(--shop-masthead-bg);
  background-size: cover;
  background-position: center;
}

.brand-main {
  margin: 0;
  font-size: 58px;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1;
}

#shopPageTitle.brand-main {
  display: block;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0.02em;
  line-height: 0.92;
  color: #f8fafc;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.shop-page-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 0;
  padding: 0 16px;
  border-radius: 999px;
  color: #f8fafc;
  font: 700 16px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

@media (max-width: 860px) {
  .masthead {
    min-height: 330px;
    padding: 60px 16px;
    gap: 30px;
  }

  .shop-page-category {
    font-size: 14px;
    min-height: 28px;
    margin-top: 0;
    padding: 0 12px;
  }
}

.brand-sub {
  margin: 10px 0 0;
  font: 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c7c7c7;
}

.nav-bar {
  min-height: 62px;
  border-bottom: 1px solid #2a2a2a;
  border-top: 1px solid #2a2a2a;
  background: #0f0f10;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: none;
  justify-content: center;
  padding: 0;
}

.home-index-page .nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(15, 15, 16, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(138%);
  -webkit-backdrop-filter: blur(14px) saturate(138%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.subpage-nav-banner {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid #1f2937;
  background:
    linear-gradient(120deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.86) 52%, rgba(12, 74, 110, 0.82)),
    radial-gradient(circle at 12% 22%, rgba(34, 197, 94, 0.26), transparent 40%),
    radial-gradient(circle at 84% 70%, rgba(59, 130, 246, 0.34), transparent 44%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 10px, rgba(255, 255, 255, 0.01) 10px 20px);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px;
}

.home-page {
  --home-radius: 0;
  display: grid;
  gap: 18px;
}

.home-hero-band {
  width: 100%;
  background: #fff;
  padding: 0 0 14px;
}

.home-hero-shell {
  --home-page-max-w: 1240px;
  --home-page-gutter: 22px;
  --home-hero-trending-space: min(390px, 34%);
  --home-hero-content-inline: max(
    var(--home-page-gutter),
    calc((100% - var(--home-page-max-w)) / 2 + var(--home-page-gutter))
  );
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.home-hero-shell .featured-post {
  height: clamp(500px, 72vh, 900px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.home-hero-shell .featured-hero-overlay {
  left: var(--home-hero-content-inline);
  right: var(--home-hero-content-inline);
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  padding-bottom: 0;
}

.home-hero-shell .featured-hero-title {
  max-width: 50%;
  overflow-wrap: anywhere;
}

.home-hero-shell .trending-posts {
  --trending-image-h: 132px;
  --trending-top-bar-h: 24px;
  --trending-content-pad-x: 12px;
  --trending-content-pad-y: 12px;
  --trending-strip-full-h: calc(var(--trending-image-h) + var(--trending-top-bar-h));
  --trending-strip-collapsed-h: var(--trending-top-bar-h);
  position: absolute;
  left: var(--home-hero-content-inline);
  right: var(--home-hero-content-inline);
  bottom: 16px;
  width: auto;
  max-height: none;
  overflow: visible;
  z-index: 6;
  display: grid;
  gap: 0;
}

.home-hero-shell .trending-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.home-hero-shell .trending-item {
  position: relative;
  height: var(--trending-strip-full-h);
  min-height: var(--trending-strip-full-h);
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: #0b1120;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-hero-shell .trending-item.is-active {
  box-shadow: inset 0 0 0 2px rgba(56, 189, 248, 0.86);
}

.home-hero-shell .trending-item-empty {
  min-height: var(--trending-strip-full-h);
  background: rgba(9, 14, 24, 0.9);
}

.home-hero-shell .trending-thumb-link {
  position: absolute;
  top: var(--trending-top-bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
}

.home-hero-shell .trending-top-category-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  box-sizing: border-box;
  height: var(--trending-top-bar-h);
  min-height: var(--trending-top-bar-h);
  max-height: var(--trending-top-bar-h);
  padding: 0 var(--trending-content-pad-x);
  display: block;
  line-height: var(--trending-top-bar-h);
  font-weight: 700;
  font-size: 12px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  color: #ffffff;
  background: var(--category-accent, var(--cat-default));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero-shell .trending-top-category-text {
  position: relative;
  z-index: 2;
  display: block;
}

.home-hero-shell .trending-top-category-bar::before {
  content: "";
  position: absolute;
  top: 0;
  right: -30%;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.68) 0%,
    rgba(2, 6, 23, 0.68) 78%,
    rgba(2, 6, 23, 0.42) 92%,
    rgba(2, 6, 23, 0) 100%
  );
  transform: translateX(0);
  pointer-events: none;
  animation: none;
  will-change: transform;
}

.home-hero-shell .trending-item.is-active .trending-top-category-bar::before {
  animation: trendingCardReveal 3.8s linear forwards;
}

.home-hero-shell .trending-thumb-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.76) 82%, rgba(2, 6, 23, 0.88) 100%);
  pointer-events: none;
}

.home-hero-shell .trending-thumb-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30%;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.68) 0%,
    rgba(2, 6, 23, 0.68) 78%,
    rgba(2, 6, 23, 0.42) 92%,
    rgba(2, 6, 23, 0) 100%
  );
  transform: translateX(0);
  pointer-events: none;
  animation: none;
  will-change: transform;
}

.home-hero-shell .trending-item.is-active .trending-thumb-link::after {
  animation: trendingCardReveal 3.8s linear forwards;
}

@media (hover: hover) and (pointer: fine) {
  .home-hero-shell .trending-posts {
    height: var(--trending-strip-collapsed-h);
    display: block;
    overflow: hidden;
    transition: height 0.26s ease;
  }

  .home-hero-shell .trending-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
  }

  .home-hero-shell .trending-posts:hover,
  .home-hero-shell .trending-posts:focus-within {
    height: var(--trending-strip-full-h);
  }
}

@keyframes trendingCardReveal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(77%);
  }
}

.home-hero-shell .trending-thumb {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  filter: brightness(1);
  animation: none;
}

.home-hero-shell .trending-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #10213b 0%, #0b1530 38%, #1f2937 100%);
}

.home-hero-shell .trending-content {
  position: absolute;
  top: var(--trending-top-bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: auto;
  padding: var(--trending-content-pad-y) var(--trending-content-pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.home-hero-shell .trending-title {
  font-size: 14px;
  line-height: 1.2;
  min-height: calc(2 * 1.2em);
  align-self: stretch;
  max-width: 100%;
}

.home-hero-shell .trending-title .post-link {
  color: #f8fafc;
  -webkit-line-clamp: 2;
}

.home-hero-shell .trending-meta-row,
.home-hero-shell .trending-time {
  color: rgba(226, 232, 240, 0.92);
}

.home-hero-shell .trending-meta-row {
  margin-top: 0;
  justify-content: flex-start;
}

.home-page .card,
.home-page .promo-banner,
.home-page .weekly-hot-carousel,
.home-page .weekly-hot-card,
.home-page .trending-item,
.home-page .featured-post {
  border-radius: var(--home-radius);
}

.home-page .featured-post,
.home-page .promo-banner,
.home-page .weekly-hot-carousel,
.home-page .weekly-hot-card {
  overflow: hidden;
}

.home-page .weekly-hot-carousel,
.home-page .weekly-hot-card {
  border-radius: 18px;
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(205, 58, 46, 0.12), transparent 30%),
    linear-gradient(180deg, #f5f0e8 0%, #ffffff 36%, #f7f3ee 100%);
}

.login-masthead {
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 12px;
}

.login-brand-link {
  color: var(--ink);
  letter-spacing: 0.18em;
  text-decoration: none;
}

.login-shell {
  min-height: calc(100vh - 220px);
  display: grid;
  align-items: center;
}

.login-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  background: #ffffff;
  color: #111827;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.16);
}

.login-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.login-main,
.login-side {
  position: relative;
  z-index: 1;
}

.login-main {
  display: grid;
  align-content: start;
  gap: 14px;
}

.login-back-link {
  width: fit-content;
  color: rgba(17, 24, 39, 0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 24, 39, 0.28);
}

.login-kicker {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.login-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
}

.login-description {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.login-primary-btn {
  width: fit-content;
  min-width: 220px;
  height: 52px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #17c768, #0f8f4d);
  color: #f8fff9;
  font: 700 15px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7, 193, 96, 0.28);
}

.login-primary-btn:hover {
  filter: brightness(1.04);
}

.login-primary-btn:disabled {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.62);
  cursor: not-allowed;
  box-shadow: none;
}

.login-config-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  word-break: break-all;
}

.login-side {
  display: grid;
  gap: 14px;
  align-content: center;
}

.login-side-block {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.login-side-block p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.login-side-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.home-page .trending-thumb,
.home-page .trending-thumb-placeholder {
  border-radius: var(--home-radius);
}

.home-page .category-post-cover,
.home-page .category-post-cover-placeholder {
  border-radius: var(--home-radius);
}

.ticker {
  background: #ffffff;
  border: 1px solid #000;
  border-radius: 999px;
  overflow: hidden;
  min-height: 52px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: stretch;
}

.ticker-tag {
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 400 16px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.08em;
}

.ticker-text {
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.ticker-text {
  position: relative;
  overflow: hidden;
}

.latest-ticker {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 50px;
  overflow: hidden;
}

.ticker-item {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.48s ease, opacity 0.48s ease;
}

.ticker-item.enter-from-bottom {
  transform: translateY(140%);
  opacity: 0;
}

.ticker-item.enter-to-center {
  transform: translateY(-50%);
  opacity: 1;
}

.ticker-item.exit-to-top {
  transform: translateY(-235%);
  opacity: 0;
}

.hero-grid {
  --trending-item-h: 108px;
  --trending-gap: 10px;
  --featured-h: calc(var(--trending-item-h) * 5 + var(--trending-gap) * 4);
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
  gap: 12px;
  align-items: start;
}

.promo-banner {
  min-height: 146px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.78) 0%, rgba(17, 17, 17, 0.28) 42%, rgba(17, 17, 17, 0.12) 100%),
    linear-gradient(135deg, #1f2937 0%, #4b5563 45%, #d1d5db 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 18px 22px;
}

.promo-banner-inner {
  max-width: 620px;
}

.promo-kicker {
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.promo-banner h2 {
  margin: 10px 0 0;
  font-size: 36px;
  line-height: 1.1;
}

.promo-banner p {
  margin: 8px 0 0;
  font: 500 14px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
  opacity: 0.92;
}

.weekly-hot-shops {
  --weekly-hot-gap: 12px;
  display: grid;
  gap: 12px;
}

.weekly-hot-head {
  border-top: none;
  padding-top: 0;
}

.weekly-hot-carousel {
  border: none;
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.weekly-hot-track {
  display: flex;
  gap: var(--weekly-hot-gap);
  width: 100%;
  transform: translateX(0);
  transition: transform 0.48s ease;
}

.weekly-hot-carousel.dragging {
  cursor: grabbing;
}

.weekly-hot-carousel.dragging .weekly-hot-cover-link {
  pointer-events: none;
}

.weekly-hot-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.16));
  color: transparent;
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.weekly-hot-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.28);
}

.weekly-hot-nav-prev {
  left: 10px;
  background-image: url("./icons/arrow-left.png");
}

.weekly-hot-nav-next {
  right: 10px;
  background-image: url("./icons/arrow-right.png");
}

.weekly-hot-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--weekly-hot-gap);
}

.weekly-hot-card {
  border: 1px solid #e6dfd3;
  background: #fff;
  position: relative;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  --weekly-hot-info-bg: rgba(241, 243, 245, 0.92);
}

.weekly-hot-cover-link {
  position: absolute;
  inset: 0;
  display: block;
}

.weekly-hot-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.weekly-hot-cover-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #d2d5db;
}

.weekly-hot-main {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 14px 12px;
  display: grid;
  gap: 4px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.24) 100%), var(--weekly-hot-info-bg);
}

.weekly-hot-main h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.weekly-hot-score-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #f8fafc;
}

.weekly-hot-score-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.weekly-hot-score-label {
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.weekly-hot-score-badge {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  font: 800 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.weekly-hot-score-badge.pro {
  background: linear-gradient(135deg, #9efbd3 0%, #57e9f2 50%, #45d4fb 100%);
}

.weekly-hot-score-badge.normal {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.weekly-hot-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.weekly-hot-meta-pill {
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: rgba(248, 250, 252, 0.96);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .weekly-hot-meta-pill {
    background: rgba(15, 23, 42, 0.55);
  }
}

.weekly-hot-card-empty .weekly-hot-main h3 {
  color: #6b7280;
}

.weekly-hot-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.weekly-hot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #cfd4db;
  cursor: pointer;
}

.weekly-hot-dot.active {
  background: #111;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.featured-post {
  padding: 0;
  position: relative;
  width: 100%;
  height: var(--featured-h);
  background: #d7d7d7;
}

.featured-hero {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  color: #fff;
  text-decoration: none;
}

.featured-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.featured-hero-media-empty {
  background: #cfd4db;
}

.featured-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.7) 78%, rgba(0, 0, 0, 0.82) 100%);
}

.featured-hero-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.featured-hero-tag {
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.08em;
}

.featured-hero-title {
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  display: block;
  white-space: normal;
  overflow: visible;
}

.featured-hero-author {
  color: rgba(255, 255, 255, 0.9);
  font: 600 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.trending-posts {
  display: grid;
  gap: var(--trending-gap);
  align-content: start;
  margin: 0;
  padding: 0;
  align-self: start;
}

.trending-list {
  display: grid;
  gap: var(--trending-gap);
}

.trending-head {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.trending-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.trending-item {
  background: #fff;
  border: 0;
  padding: 0;
  height: var(--trending-item-h);
  display: grid;
  grid-template-columns: var(--trending-item-h) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
}

.trending-item-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.trending-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.trending-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d9dde3;
  border: 1px solid #e6dfd3;
}

.trending-thumb-placeholder {
  display: block;
}

.trending-content {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 5px;
  align-content: stretch;
}

.trending-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.trending-category {
  letter-spacing: 0.01em;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  overflow: hidden;
  align-self: start;
}

.trending-title .post-link {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.trending-title .post-link:hover {
  text-decoration: none;
}

.trending-time {
  font: 600 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  white-space: nowrap;
}

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

.main-column {
  display: grid;
  gap: 12px;
}

.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px;
}

.filter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.filter-head h2,
.section-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.section-head {
  border-top: 2px solid var(--dark);
  padding-top: 10px;
}

.weekly-hot-shops .weekly-hot-head {
  border-top: none;
  padding-top: 0;
}

.home-page .weekly-hot-head h2,
.home-page .category-block-head h3 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h1);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-inner {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  margin: 0 auto;
}

.home-nav-inner {
  justify-content: space-between;
}

.home-nav-left {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-site-name {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: var(--nav-location-pill-height);
  color: #f8fafc;
  text-decoration: none;
  font: 700 36px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.home-nav-left .main-nav {
  margin-right: 0;
}

.main-nav {
  flex: 1;
  margin-right: 12px;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
  -webkit-overflow-scrolling: touch;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.shop-editor-nav-right {
  margin-left: auto;
  justify-content: flex-end;
}

.nav-search-input {
  width: 170px;
  height: 41px;
  border: 1px solid var(--line);
  padding: 0 10px;
  font-size: 12px;
  border-radius: 999px;
}

.nav-search-input::placeholder {
  font-size: 12px;
}

.wx-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(7, 193, 96, 0.16);
  color: #f3fff8;
  padding: 0 12px;
  font: 600 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.nav-bar .wx-login-btn {
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.nav-bar .wx-login-btn.wx-login-btn-round {
  width: 41px;
  min-width: 41px;
  height: 41px;
  padding: 0;
  border-radius: 50%;
}

.wx-login-btn:hover {
  background: rgba(7, 193, 96, 0.28);
  border-color: rgba(7, 193, 96, 0.72);
}

.social-link {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all 0.2s ease;
}

.social-link:hover {
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 2px solid #f3f3f3;
  outline-offset: 1px;
}

.meta-bar .social-link {
  width: auto;
  height: auto;
  padding: 0 6px;
  color: #f3f3f3;
  font: 500 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.meta-bar .social-link:hover {
  transform: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meta-social {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
}

.meta-bar .meta-social .social-link {
  width: 24px;
  height: 24px;
  padding: 0;
}

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

.meta-bar .meta-social .social-icon-image {
  width: 14px;
  height: 14px;
}

.social-icon-image {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

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

.chip {
  --category-accent: var(--cat-default);
  --category-bg: var(--cat-default-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  height: 42px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #e5e7eb;
  text-decoration: none;
  cursor: pointer;
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

.nav-bar .chip {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.nav-bar .site-location-pill.nav-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--nav-location-pill-height);
  padding: 0 2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e5e7eb;
  font: 400 16px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-bar .site-location-pill.nav-location-pill::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: url("./icons/arrow-down-white.png") center/contain no-repeat;
  opacity: 0.92;
}

.nav-bar .site-location-pill.nav-location-pill:hover {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.nav-bar .site-location-pill.nav-location-pill:active {
  opacity: 0.9;
}

.nav-bar .site-location-pill.nav-location-pill[data-state="error"] {
  color: rgba(255, 143, 143, 0.95);
}

.main-nav .chip:first-child {
  padding-left: 0;
}

.chip.active {
  color: #ffffff;
}

.chip::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  background: var(--category-accent, #ffffff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav .chip:first-child::after {
  left: 0;
}

.chip:hover {
  color: #ffffff;
}

.chip:hover::after,
.chip.active::after {
  transform: scaleX(1);
}

.chip:focus-visible {
  outline: 2px solid #f3f3f3;
  outline-offset: -2px;
}

[data-category] {
  --category-accent: var(--cat-default);
  --category-bg: var(--cat-default-bg);
}

[data-category="home"] {
  --category-accent: var(--cat-home);
  --category-bg: var(--cat-home-bg);
}

[data-category="food"] {
  --category-accent: var(--cat-food);
  --category-bg: var(--cat-food-bg);
}

[data-category="fashion"] {
  --category-accent: var(--cat-fashion);
  --category-bg: var(--cat-fashion-bg);
}

[data-category="mens"] {
  --category-accent: var(--cat-mens);
  --category-bg: var(--cat-mens-bg);
}

[data-category="womens"] {
  --category-accent: var(--cat-womens);
  --category-bg: var(--cat-womens-bg);
}

[data-category="travel"] {
  --category-accent: var(--cat-travel);
  --category-bg: var(--cat-travel-bg);
}

[data-category="event"] {
  --category-accent: var(--cat-event);
  --category-bg: var(--cat-event-bg);
}

[data-category="sale"] {
  --category-accent: var(--cat-sale);
  --category-bg: var(--cat-sale-bg);
}

[data-category="shop"] {
  --category-accent: var(--cat-shop);
  --category-bg: var(--cat-shop-bg);
}

[data-category="admin"] {
  --category-accent: var(--cat-admin);
  --category-bg: var(--cat-admin-bg);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  border-radius: 999px;
  padding: 0 10px;
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--category-accent);
  background: var(--category-bg);
  white-space: nowrap;
}

.category-badge-title {
  height: 28px;
  padding: 0 12px;
  font-size: 15px;
  text-decoration: none;
}

.toolbar {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.input {
  height: 41px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

.input.wide {
  width: 380px;
}

.btn {
  height: 41px;
  border: 1px solid transparent;
  padding: 0 15px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  font: 600 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

button:not(.chip):not(.weekly-hot-dot) {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.post-list,
.shop-list {
  display: grid;
  gap: 12px;
}

.category-block {
  padding: 12px 0;
  background: #ffffff;
}

.category-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 0;
}

.category-block-head::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--dark);
}

.home-page .category-block-head::after {
  display: none;
}

.category-block-head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.home-page .category-block-head h3 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h1);
}

.category-block-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.category-post {
  border: 0;
  background: transparent;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
}

.category-post-cover-link,
.category-post-cover-placeholder-link {
  display: block;
}

.category-post-cover {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e5e7eb;
  border: 0;
  display: block;
}

.category-post-cover-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #e5e7eb;
  display: block;
}

.category-post-cover-placeholder-link {
  text-decoration: none;
}

.category-post-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 56%, rgba(15, 23, 42, 0.92) 100%);
  display: grid;
  gap: 8px;
  margin-top: 0;
  text-align: left;
  z-index: 1;
}

.category-post-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-caption);
  color: rgba(226, 232, 240, 0.88);
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.category-post h3 {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  text-align: left;
  overflow: hidden;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.category-post h3 .post-link {
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: auto;
  overflow: hidden;
  color: inherit;
}

.category-post h3 .post-link:hover,
.category-post h3 .post-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.category-post-empty {
}

.category-post-empty h3 {
  color: #6b7280;
}

.category-block-more {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.category-block-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  font: 600 16px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.category-block-more-link:hover,
.category-block-more-link:focus-visible {
  color: #111827;
  background: #f7f7f7;
  text-decoration: none;
}

.post-card,
.shop-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 14px;
}

.post-cover,
.shop-cover {
  width: 236px;
  height: 146px;
  object-fit: cover;
  border: 1px solid #e3dfd7;
}

.post-main h3,
.shop-main h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.04;
}

.shop-main {
  display: grid;
  gap: 8px;
  align-content: start;
}

.post-main p {
  margin: 7px 0;
  font-size: 17px;
}

.post-link {
  color: inherit;
  text-decoration: none;
}

.post-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.muted {
  color: var(--muted);
  font: 12px/1.45 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-page {
  display: grid;
  gap: 12px;
}

.shop-page-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.shop-filter-sidebar {
  position: sticky;
  top: calc(var(--top-meta-h) + var(--mast-h) + var(--top-nav-h) + 12px);
}

.shop-filter-panel {
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  background: #fff;
  gap: 12px;
}

.shop-filter-panel-title {
  margin: 0;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
  color: #111827;
}

.shop-filter-native-controls {
  display: none;
}

.shop-filter-group {
  display: grid;
  gap: 10px;
}

.shop-filter-group + .shop-filter-group {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 81, 50, 0.14);
}

.shop-filter-group-title {
  margin: 0;
  color: #111827;
  font: 700 18px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-filter-options {
  display: grid;
  gap: 6px;
}

.shop-filter-options-list {
  grid-template-columns: 1fr;
}

.shop-filter-options-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 8px;
}

.shop-filter-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: #374151;
  cursor: pointer;
  user-select: none;
}

.shop-filter-option-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.shop-filter-option-box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #111;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.shop-filter-option:hover .shop-filter-option-box {
  border-color: #111;
}

.shop-filter-option-input:checked + .shop-filter-option-box {
  background: #57e9f2;
  border-color: #111;
}

.shop-filter-option-input:checked + .shop-filter-option-box::before {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg) translate(-1px, -1px);
}

.shop-filter-option-text {
  min-width: 0;
  color: inherit;
  font: 400 14px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-filter-option.is-active .shop-filter-option-text {
  color: #111827;
  font-weight: 400;
}

.shop-filter-show-more {
  justify-self: start;
  margin-top: 2px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  box-shadow: none !important;
  font: 400 14px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.shop-filter-show-more:hover,
.shop-filter-show-more:focus-visible {
  color: #111827 !important;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-filter-options-grid-3 .shop-filter-option {
  min-height: 30px;
  gap: 8px;
}

.shop-filter-options-grid-3 .shop-filter-option-box {
  width: 18px;
  height: 18px;
}

.shop-filter-options-grid-3 .shop-filter-option-text {
  font-size: 14px;
}

.shop-filter-panel .shop-filter-row-web {
  grid-template-columns: 1fr;
  gap: 10px;
}

.shop-list-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.shop-head {
  padding: 0;
}

.shop-page > .shop-head {
  margin-bottom: calc(var(--admin-page-title-bottom-space) - 12px);
}

.shop-head h1 {
  margin: 0;
  font-size: var(--admin-page-title-size);
  line-height: var(--admin-page-title-line-height);
}

.shop-head p {
  margin: 8px 0 0;
}

.shop-count {
  margin-top: 8px;
  font: 600 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.shop-list-toolbar .shop-count {
  margin-top: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.shop-sort-wrap {
  margin-left: auto;
  min-width: 200px;
}

.shop-sort-select {
  width: 100%;
  min-width: 0;
}

.top-controls-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 10px;
}

.shop-search-wrap-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.shop-search-input-web {
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  background: #f2f3f5;
  padding: 0 16px;
  font: 500 14px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-search-btn {
  height: 42px;
  border-radius: 999px;
  padding: 0 16px;
}

.shop-filter-row-web {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
}

.filter-pill {
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  padding: 0 12px;
}

.filter-reset-btn {
  height: 38px;
  border-radius: 999px;
}

.shop-actions {
  display: flex;
  justify-content: flex-start;
}

.shop-actions-bottom {
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-page-info {
  min-width: 108px;
  font: 600 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #374151;
}

.shop-list {
  margin-top: 2px;
  gap: 10px;
}

.shop-list .shop-card {
  display: block;
  position: relative;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 0;
}

.shop-list .card-2col {
  display: flex;
  align-items: stretch;
  min-height: 176px;
}

.shop-list .cover-box {
  width: 33%;
  min-width: 170px;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 8px;
}

.shop-list .cover-box::before {
  content: "";
  display: block;
  padding-top: 92%;
}

.shop-list .cover-left {
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  display: block;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.shop-list .cover-left-placeholder {
  background: #eceef2;
}

.shop-list .right-col {
  flex: 1;
  min-width: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}

.shop-list .top-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.shop-list .name {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-list .shop-card-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.shop-list .card-type-city {
  margin-top: 2px;
}

.shop-list .multilang {
  margin-top: 3px;
  color: rgba(0, 0, 0, 0.56);
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-list .multilang-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-list .score-line {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.shop-list .score-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.shop-list .score-label {
  font: 700 12px/1.1 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.shop-list .score-badge {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.shop-list .score-badge.pro {
  background: linear-gradient(135deg, #9efbd3 0%, #57e9f2 50%, #45d4fb 100%);
}

.shop-list .score-badge.normal {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.shop-list .meta-text-line {
  margin-top: 6px;
}

.shop-list .meta-text {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shop-list .meta-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: #666;
  font: 500 11px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-list .latest-mini {
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, 132px);
  gap: 6px;
  justify-content: flex-start;
}

.shop-list .right-bottom {
  margin-top: auto;
}

.shop-list .mini-sq {
  position: relative;
  width: 132px;
  padding-top: 132px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
}

.shop-list .mini-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card-actions {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.shop-action-btn {
  height: 30px;
  padding: 0 10px;
  text-decoration: none;
}

.admin-page {
  display: grid;
  gap: var(--admin-module-gap);
  background: #fff;
}

/* Remove redundant outer frame/padding on top-level admin wrappers. */
.admin-page > .card.admin-content,
.admin-page > .card.admin-post-card,
.admin-page > .card.admin-geo-edit-card {
  border: 0;
  background: transparent;
  padding: 0;
}

.admin-page .card,
.admin-page .admin-toolbar-card,
.admin-page .post-create-section {
  background: #fff;
}

.admin-hero {
  padding: 16px;
}

.admin-page > .admin-hero {
  margin-bottom: calc(var(--admin-page-title-bottom-space) - 12px);
}

.admin-geo-title {
  padding: 0;
}

.admin-page h1.admin-title-module,
.admin-hero h1 {
  margin: 0;
  font-size: var(--admin-page-title-size);
  line-height: var(--admin-page-title-line-height);
}

.admin-title-module {
  margin: 0;
}

.admin-post-card > .admin-title-module {
  margin-bottom: calc(var(--admin-page-title-bottom-space) - 12px);
}

.admin-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
}

.admin-sidebar {
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
  position: sticky;
  top: calc(62px + 22px);
}

.admin-sidebar h2 {
  margin: 0;
  font-size: var(--admin-page-subtitle-size);
  line-height: var(--admin-page-subtitle-line-height);
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu-item {
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: #1f1f1f;
  cursor: pointer;
  text-align: left;
  padding: 0 12px;
  width: min(100%, 176px);
  font: 600 14px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.admin-menu-item:hover {
  border-color: #bcb1a0;
  background: #faf8f2;
}

.admin-menu-item.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.admin-menu-item.admin-menu-item-danger {
  border-color: #d8b8b8;
  color: #7f1111;
  background: #fff7f7;
}

.admin-menu-item.admin-menu-item-danger.active {
  border-color: #7f1111;
  background: #7f1111;
  color: #fff;
}

.admin-content {
  padding: 18px;
  display: grid;
  gap: var(--admin-module-gap);
  align-content: start;
  min-height: 520px;
}

.admin-content-head h1 {
  margin: 0;
  font-size: var(--admin-page-title-size);
  line-height: var(--admin-page-title-line-height);
}

.admin-content-head p {
  margin: 8px 0 0;
}

.admin-content:not(.is-welcome) .admin-content-head {
  display: none;
}

.admin-content.is-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.admin-content.is-welcome .admin-content-head {
  display: block;
  max-width: 680px;
}

.admin-content.is-welcome .admin-panel-body {
  display: none;
}

.admin-content.is-embed .admin-content-head {
  display: none;
}

.admin-content.is-embed {
  border: 0;
  background: transparent;
  padding: 0;
  gap: 0;
  min-height: 0;
}

.admin-content.is-embed .admin-panel-body {
  display: block;
  margin: 0;
}

.admin-content.is-group {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.admin-content.is-group .admin-panel-body {
  flex: 1;
  display: grid;
  grid-template-rows: auto auto;
  align-items: stretch;
}

.admin-content.is-group .admin-action-grid {
  align-self: center;
  justify-self: center;
  grid-template-columns: 1fr;
  width: min(420px, 100%);
  margin-top: -300px;
}

.admin-content.is-group .admin-panel-body > .admin-panel-card:first-child {
  margin-bottom: calc(var(--admin-page-title-bottom-space) - 12px);
}

.admin-module-root {
  width: 100%;
}

.admin-module-root .container {
  max-width: none;
  margin: 0;
  padding: 0;
}

.admin-panel-body {
  display: grid;
  gap: var(--admin-module-gap);
}

.admin-panel-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.admin-panel-card h3 {
  margin: 0;
  font-size: var(--admin-page-title-size);
  line-height: var(--admin-page-title-line-height);
}

.admin-panel-card p {
  margin: 0;
}

/* Intro block in admin panel should be plain text, not nested card. */
.admin-layout .admin-panel-body > .admin-panel-card:first-child {
  border: 0;
  background: transparent;
  padding: 0;
}

/* Hide helper copy under admin card titles. */
.admin-layout .admin-panel-card > .muted {
  display: none;
}

/* Remove outer frames in admin dashboard group cards. */
.admin-layout .admin-action-grid > .admin-panel-card {
  border: 0;
  background: transparent;
  padding: 0;
}

.admin-layout .admin-action-grid > .admin-panel-card > h3 {
  display: none;
}

.admin-panel-actions {
  margin-top: 2px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--admin-module-gap);
}

.admin-feature-btn {
  width: 100%;
  justify-content: flex-start;
}

.admin-danger {
  border-color: #d8b8b8;
  color: #7f1111;
  background: #fff7f7;
}

.admin-toolbar-card {
  padding: 12px;
}

/* Remove outer wrapper frame/padding for top filter bars in admin pages. */
.admin-post-card > .card.admin-toolbar-card {
  border: 0;
  background: transparent;
  padding: 0;
}

.admin-toolbar-card-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: 180px 180px minmax(220px, 1fr) auto auto;
  gap: 8px;
}

.admin-toolbar.admin-toolbar-review {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.admin-toolbar.admin-toolbar-review.admin-toolbar-review-ratings {
  grid-template-columns: minmax(0, 1fr) 140px;
}

.admin-toolbar.admin-toolbar-review-posts {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.admin-toolbar.admin-toolbar-review > #keywordInput {
  grid-column: 1 / -1;
  order: -1;
  width: 100%;
  min-width: 0;
}

.admin-toolbar.admin-toolbar-review > select {
  justify-self: start;
  width: min(180px, 100%);
}

.admin-toolbar.admin-toolbar-review > .btn {
  justify-self: end;
}

.admin-geo-toolbar {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.admin-geo-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.admin-geo-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  align-items: end;
}

.admin-geo-search-input,
.admin-geo-toolbar-btn {
  width: 100%;
}

.admin-geo-search-input {
  grid-column: 1 / -1;
  min-width: 0;
}

.admin-geo-filter-row > .input,
.admin-geo-action-row > .input,
.admin-geo-action-row > .btn {
  min-width: 0;
}

.admin-geo-action-row .btn,
.admin-geo-action-row .btn.ghost {
  background: var(--dark);
  color: #fff;
  border-color: transparent;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-review-toolbar-shell {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-review-segmented {
  display: inline-flex;
  width: fit-content;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-review-segmented-btn {
  min-width: 92px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 16px;
  font: 600 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.admin-review-segmented-btn.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.admin-review-segmented-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.admin-review-loadmore-row {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.admin-review-item {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.admin-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-review-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.admin-review-status {
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.admin-review-comment {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
}

.admin-review-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-review-user-meta {
  display: grid;
  gap: 2px;
}

.admin-review-user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.admin-review-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  border: 1px solid #dedede;
  background: #f6f6f6;
  color: #4a4a4a;
}

.admin-review-role.tier-pro {
  border-color: #d5bd85;
  background: #f6edd8;
  color: #6f4f0a;
}

.admin-review-user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f4f4f4;
}

.admin-review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-review-chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #dad2c2;
  background: #f8f4eb;
  font: 600 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #3a3122;
}

.admin-review-block {
  display: grid;
  gap: 8px;
}

.admin-review-label {
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #2f2f2f;
}

.admin-review-score-section {
  display: grid;
  gap: 6px;
}

.admin-review-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
}

.admin-review-score-label {
  font-size: 13px;
  color: #343434;
}

.admin-review-score-value {
  font-size: 13px;
  font-weight: 600;
  color: #1f1f1f;
}

.admin-review-list {
  display: grid;
  gap: 6px;
}

.admin-review-rec-list {
  display: grid;
  gap: 8px;
}

.admin-review-rec-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
  padding: 8px;
}

.admin-review-rec-image-link {
  text-decoration: none;
}

.admin-review-rec-image {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f5f5f5;
  display: block;
}

.admin-review-rec-image-empty {
  background: #f7f7f7;
}

.admin-review-rec-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-review-rec-name-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

.admin-review-rec-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.admin-review-rec-price {
  font-size: 13px;
  color: #755512;
  white-space: nowrap;
}

.admin-review-rec-foreign {
  font-size: 12px;
}

.admin-review-rec-comment {
  font-size: 13px;
  color: #373737;
  line-height: 1.4;
}

.admin-review-list-item {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
}

.admin-review-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.admin-review-image-item {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.admin-review-image-item img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f5f5f5;
}

.admin-review-image-item span {
  font-size: 12px;
  line-height: 1.3;
  color: #575757;
}

.admin-review-meta {
  font-size: 12px;
  line-height: 1.6;
}

.admin-review-title-inline {
  font-size: 14px;
  font-weight: 600;
  color: #2a2a2a;
}

.admin-review-alert {
  padding: 8px 10px;
  border: 1px solid #f2c783;
  background: #fff5df;
  color: #835714;
  font: 600 12px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
}

.admin-review-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-review-table-wrap {
  width: 100%;
  padding: 0;
  padding-bottom: 12px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
  -webkit-overflow-scrolling: touch;
}

.admin-review-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
}

.admin-review-table-posts {
  table-layout: fixed;
  width: 1560px;
  min-width: 1560px;
}

.admin-review-table-reviews {
  table-layout: fixed;
  width: 2180px;
  min-width: 2180px;
}

.admin-review-table-posts th:nth-child(1),
.admin-review-table-posts td:nth-child(1) {
  width: 56px;
}

.admin-review-table-posts th:nth-child(2),
.admin-review-table-posts td:nth-child(2) {
  width: 390px;
}

.admin-review-table-posts th:nth-child(3),
.admin-review-table-posts td:nth-child(3) {
  width: 90px;
}

.admin-review-table-posts th:nth-child(4),
.admin-review-table-posts td:nth-child(4) {
  width: 120px;
}

.admin-review-table-posts th:nth-child(5),
.admin-review-table-posts td:nth-child(5) {
  width: 560px;
}

.admin-review-table-posts th:nth-child(6),
.admin-review-table-posts td:nth-child(6),
.admin-review-table-posts th:nth-child(7),
.admin-review-table-posts td:nth-child(7) {
  width: 150px;
}

.admin-review-table-posts th:nth-child(8),
.admin-review-table-posts td:nth-child(8),
.admin-review-table-posts th:nth-child(9),
.admin-review-table-posts td:nth-child(9),
.admin-review-table-posts th:nth-child(10),
.admin-review-table-posts td:nth-child(10) {
  width: 88px;
}

.admin-review-table-reviews th:nth-child(1),
.admin-review-table-reviews td:nth-child(1) {
  width: 140px;
}

.admin-review-table-reviews th:nth-child(2),
.admin-review-table-reviews td:nth-child(2) {
  width: 90px;
}

.admin-review-table-reviews th:nth-child(3),
.admin-review-table-reviews td:nth-child(3) {
  width: 180px;
}

.admin-review-table-reviews th:nth-child(4),
.admin-review-table-reviews td:nth-child(4) {
  width: 220px;
}

.admin-review-table-reviews th:nth-child(5),
.admin-review-table-reviews td:nth-child(5) {
  width: 180px;
}

.admin-review-table-reviews th:nth-child(6),
.admin-review-table-reviews td:nth-child(6) {
  width: 140px;
}

.admin-review-table-reviews th:nth-child(7),
.admin-review-table-reviews td:nth-child(7) {
  width: 200px;
}

.admin-review-table-reviews th:nth-child(8),
.admin-review-table-reviews td:nth-child(8) {
  width: 320px;
}

.admin-review-table-reviews th:nth-child(9),
.admin-review-table-reviews td:nth-child(9),
.admin-review-table-reviews th:nth-child(10),
.admin-review-table-reviews td:nth-child(10),
.admin-review-table-reviews th:nth-child(11),
.admin-review-table-reviews td:nth-child(11) {
  width: 150px;
}

.admin-review-table-reviews th:nth-child(12),
.admin-review-table-reviews td:nth-child(12) {
  width: 100px;
}

.admin-review-table-reviews th:nth-child(13),
.admin-review-table-reviews td:nth-child(13) {
  width: 160px;
}

.admin-review-table-posts th,
.admin-review-table-reviews th {
  position: relative;
}

.admin-col-resizable {
  user-select: none;
}

.admin-col-resize-handle {
  position: absolute;
  top: 0;
  right: -6px;
  width: 12px;
  height: 100%;
  cursor: col-resize;
  touch-action: none;
  z-index: 4;
}

.admin-col-resize-handle::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: #b8b29f;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.admin-review-table-posts th:hover .admin-col-resize-handle::after,
.admin-col-resize-handle.is-dragging::after {
  opacity: 1;
}

body.admin-col-resize-active {
  cursor: col-resize;
  user-select: none;
}

.admin-review-table th,
.admin-review-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px 8px;
  vertical-align: top;
  white-space: nowrap;
}

.admin-review-table th {
  background: #f7f3eb;
  font-weight: 700;
  color: #3d3d3d;
  white-space: nowrap;
}

.admin-review-table td.admin-review-cell-main {
  min-width: 0;
  max-width: none;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.admin-review-table td.admin-review-cell-content {
  min-width: 0;
  max-width: none;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
  color: #2f2f2f;
}

.admin-review-cell-wrap {
  min-width: 220px;
  max-width: 420px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.5;
  color: #2f2f2f;
}

.admin-review-table-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.admin-review-thumb-list {
  display: inline-grid;
  grid-template-columns: repeat(3, 52px);
  align-items: start;
  gap: 6px;
  white-space: nowrap;
}

.admin-review-thumb-list .admin-review-thumb {
  width: 52px;
  height: 52px;
}

.admin-review-thumb-list .muted {
  grid-column: 1 / -1;
}

.admin-review-score-lines {
  display: grid;
  gap: 2px;
}

.admin-post-list-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.admin-post-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-post-category-nav .chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #363636;
  text-transform: none;
  letter-spacing: 0;
  height: 36px;
  padding: 0 12px;
}

.admin-post-category-nav .chip::after {
  display: none;
}

.admin-post-category-nav .chip:hover {
  color: #111;
  border-color: #bcb1a0;
  background: #faf8f2;
}

.admin-post-category-nav .chip.active,
.admin-post-category-nav .chip.active:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

.admin-post-table-wrap {
  width: 100%;
  padding: 0;
  padding-bottom: 12px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
  -webkit-overflow-scrolling: touch;
}

.admin-post-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
}

.admin-post-table th,
.admin-post-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px 8px;
  vertical-align: top;
  white-space: nowrap;
}

.admin-post-table th {
  position: relative;
  background: #f7f3eb;
  font-weight: 700;
  color: #3d3d3d;
}

.admin-post-table th:hover .admin-col-resize-handle::after,
.admin-col-resize-handle.is-dragging::after {
  opacity: 1;
}

.admin-post-table td.admin-post-cell-wrap {
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.admin-post-title-cell {
  max-width: none;
}

.admin-post-author-cell {
  max-width: none;
  color: #2f2f2f;
}

.admin-post-date-cell,
.admin-post-actions-cell {
  white-space: nowrap;
}

.admin-post-actions-cell {
  vertical-align: middle;
}

.admin-post-cover-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f5f5;
}

.admin-post-cover-empty {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: #707070;
  background: #faf7f1;
  font-size: 12px;
}

.admin-post-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-user-table-wrap {
  padding: 0;
  overflow: hidden;
}

.admin-user-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
  -webkit-overflow-scrolling: touch;
}

.admin-user-search-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.admin-user-search-row > #keywordInput {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.admin-user-search-row > select {
  grid-column: 2;
  justify-self: end;
  width: min(280px, 100%);
}

.admin-user-filter-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.admin-user-filter-row .input {
  width: min(280px, 100%);
}

.admin-user-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
}

.admin-user-table th,
.admin-user-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px 8px;
  vertical-align: top;
  white-space: nowrap;
}

.admin-user-table th {
  background: #f7f3eb;
  font-weight: 700;
  color: #3d3d3d;
}

.admin-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f5f5f5;
}

.admin-user-avatar-empty {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  color: #707070;
  background: #faf7f1;
  font-size: 11px;
}

.admin-user-role-select {
  height: 34px;
  min-width: 112px;
  border: 1px solid var(--line);
  background: #fff;
  color: #1f1f1f;
  font: 600 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  padding: 0 8px;
  cursor: pointer;
}

.admin-user-role-select.is-dirty {
  border-color: #111;
  box-shadow: inset 0 -2px 0 #111;
  background: #fffdf5;
}

.admin-user-role-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.admin-user-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
}

.admin-user-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

.admin-geo-table-wrap {
  width: 100%;
  padding: 0;
  padding-bottom: 12px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
  -webkit-overflow-scrolling: touch;
}

.admin-geo-groups-wrap {
  padding: 0;
}

.admin-geo-groups {
  display: grid;
  gap: 18px;
}

.admin-geo-groups-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.admin-geo-empty,
.admin-geo-loading,
.admin-geo-loadmore-text {
  color: #6b7280;
  font: 500 14px/1.6 "Noto Sans SC", "PingFang SC", sans-serif;
}

.admin-geo-loadmore-text.done {
  opacity: 0.82;
}

.admin-geo-country-block {
  display: grid;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.admin-geo-country-header,
.admin-geo-level-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-geo-country-name {
  font: 700 20px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #1f2937;
}

.admin-geo-country-count,
.admin-geo-level-count {
  color: #6b7280;
  font: 600 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.admin-geo-level-block {
  display: grid;
  gap: 10px;
}

.admin-geo-level-block + .admin-geo-level-block {
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-geo-level-name {
  font: 700 15px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #374151;
}

.admin-geo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.admin-geo-row-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-geo-row-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-geo-row-title {
  font: 700 15px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111827;
}

.admin-geo-row-subtitle {
  color: #6b7280;
  font: 500 13px/1.45 "Noto Sans SC", "PingFang SC", sans-serif;
}

.admin-geo-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f3f4f6;
  color: #374151;
  font: 700 11px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.02em;
}

.admin-geo-badge.cc {
  background: #ede9fe;
  color: #5b21b6;
}

.admin-geo-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: #6b7280;
  font: 500 12px/1.55 "SFMono-Regular", Consolas, monospace;
}

.admin-geo-row-aliases {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-geo-alias {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #fff7ed;
  color: #9a3412;
  font: 600 11px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.admin-geo-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
}

.admin-geo-table th,
.admin-geo-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px 8px;
  vertical-align: top;
  white-space: nowrap;
}

.admin-geo-table th {
  background: #f7f3eb;
  font-weight: 700;
  color: #3d3d3d;
}

.admin-mini-btn {
  height: 30px;
  padding: 0 10px;
  text-decoration: none;
}

.admin-geo-edit-card {
  padding: 16px;
}

.admin-post-card {
  padding: 16px;
  display: grid;
  gap: var(--admin-module-gap);
}

.ai-admin-stack {
  display: grid;
  gap: var(--admin-module-gap);
}

.ai-admin-grid {
  display: grid;
  gap: var(--admin-module-gap);
}

.ai-admin-grid-sync {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px);
  align-items: end;
}

.ai-admin-grid-sync > .ai-admin-field-search {
  grid-column: 1 / -1;
  order: -1;
}

.ai-admin-grid-sync > .ai-admin-field-search .input {
  width: 100%;
  min-width: 0;
}

.ai-admin-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 180px);
  gap: 12px;
}

.ai-admin-inline-chat {
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
}

.ai-admin-field {
  display: grid;
  gap: 6px;
}

.ai-admin-field > label {
  font-size: 13px;
  color: var(--muted);
}

.ai-admin-textarea {
  min-height: 140px;
  width: 100%;
}

.ai-admin-textarea-tall {
  min-height: 260px;
}

.ai-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.ai-admin-actions-tight {
  justify-content: flex-end;
}

.ai-admin-checkbox-card {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #faf8f2;
  border-radius: 12px;
}

.ai-admin-status[data-state="error"] {
  color: #b42318;
}

.ai-admin-result-card {
  display: grid;
  gap: 16px;
}

.ai-admin-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ai-admin-meta-grid-chat {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ai-admin-meta-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #faf8f2;
}

.ai-admin-meta-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ai-admin-meta-value {
  font-weight: 700;
}

.ai-admin-answer {
  display: grid;
  gap: 10px;
}

.ai-admin-grid-chat {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-admin-answer h3,
.ai-admin-kb-editor h3,
.ai-admin-kb-list h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.ai-admin-answer-body {
  white-space: pre-wrap;
  word-break: break-word;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.ai-admin-empty {
  color: var(--muted);
}

.ai-admin-citation {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.ai-admin-citation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ai-admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.ai-admin-link {
  color: var(--accent);
  text-decoration: none;
}

.ai-admin-link:hover {
  text-decoration: underline;
}

.ai-admin-result-pre {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #0f1115;
  color: #e5edf5;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ai-admin-kv-list {
  display: grid;
  gap: 10px;
}

.ai-admin-kv-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-admin-kv-key {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ai-admin-kv-value {
  text-align: right;
  word-break: break-word;
}

.ai-admin-flag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-admin-flag {
  display: inline-grid;
  gap: 4px;
  min-width: 132px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.ai-admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.ai-admin-entity-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.ai-admin-entity-media {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4efe2, #ece3cf);
}

.ai-admin-entity-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-admin-entity-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  color: #6b5c42;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ai-admin-entity-body {
  display: grid;
  gap: 8px;
}

.ai-admin-entity-title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.ai-admin-entity-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ai-admin-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f5efe4;
  color: #3d3426;
  font-size: 12px;
}

.ai-admin-chip-muted {
  background: #f3f4f6;
  color: #4b5563;
}

.ai-admin-caption {
  color: #423826;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-admin-rec-card .ai-admin-result-pre {
  background: #f7f7f8;
  color: #1f2937;
}

.ai-admin-log-list {
  display: grid;
  gap: 10px;
}

.ai-admin-log-item {
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.ai-admin-log-title {
  font-weight: 700;
}

.ai-admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}

.ai-admin-kb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.ai-admin-kb-editor,
.ai-admin-kb-list {
  display: grid;
  gap: 12px;
}

.ai-admin-callout {
  padding: 12px 14px;
  border: 1px solid rgba(205, 58, 46, 0.18);
  background: rgba(205, 58, 46, 0.06);
  color: #6d1b12;
  line-height: 1.6;
}

.ai-admin-callout code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ai-admin-table-wrap {
  width: 100%;
  padding: 0;
  padding-bottom: 12px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
  -webkit-overflow-scrolling: touch;
}

.ai-admin-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
}

.ai-admin-table th,
.ai-admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.ai-admin-table th {
  font-weight: 700;
  color: #3d3d3d;
  background: #f7f3eb;
}

.ai-admin-table tbody tr.is-active {
  background: rgba(205, 58, 46, 0.06);
}

.ai-admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-admin-mini-btn {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.admin-geo-edit-card > .admin-title-module {
  margin-bottom: var(--admin-page-title-bottom-space);
}

.admin-geo-edit-card h1 {
  margin: 0;
  font-size: var(--admin-page-title-size);
  line-height: var(--admin-page-title-line-height);
}

.admin-geo-edit-meta {
  margin-top: 6px;
}

.admin-geo-edit-section + .admin-geo-edit-section {
  margin-top: 18px;
}

.admin-geo-section-title {
  margin: 0 0 10px;
  font-size: var(--admin-page-subtitle-size);
  line-height: var(--admin-page-subtitle-line-height);
  color: #1f2937;
}

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

.admin-field {
  display: grid;
  gap: 6px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
  color: #333;
}

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

.admin-field-help {
  margin-top: 2px;
}

.admin-country-suggest {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.admin-country-suggest-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eceef2;
  background: #fff;
  color: #111;
  text-align: left;
  padding: 10px 12px;
  font: 600 13px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.admin-country-suggest-item:last-child {
  border-bottom: 0;
}

.admin-country-suggest-item:hover {
  background: #f9fafb;
}

@media (max-width: 720px) {
  .admin-geo-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-mini-btn {
    width: 100%;
    justify-content: center;
  }
}

.admin-upload-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #333;
}

.post-shop-search-result {
  border: 1px solid var(--line);
  background: #fff;
  max-height: 220px;
  overflow: auto;
}

.post-shop-result-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #eceef2;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  cursor: pointer;
}

.post-shop-result-item:last-child {
  border-bottom: 0;
}

.post-shop-result-item:hover {
  background: #f9fafb;
}

.post-shop-result-name {
  font: 700 13px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.post-shop-result-sub {
  font: 500 12px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #6b7280;
}

.post-linked-shop-row {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.post-linked-shop-text {
  min-width: 0;
  font: 600 13px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-switch-row-web {
  border: 1px solid var(--line);
  background: #fff;
  min-height: 42px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 500 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.release-form-web {
  border: 1px solid var(--line);
  background: #f9fafb;
  padding: 10px;
}

.release-grid-web {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.release-grid-item-full {
  grid-column: 1 / -1;
}

.release-grid-item-main {
  grid-column: span 4;
}

.release-grid-item-side,
.release-grid-item-third {
  grid-column: span 2;
}

.release-channel-row-web {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.release-chip-list-web {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.release-chip-web {
  border: 1px solid #d1d5db;
  background: #fff;
  padding: 0 8px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.release-chip-remove-web {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.release-offline-shop-list-web {
  display: grid;
  gap: 8px;
}

.release-offline-shop-card-web {
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.release-offline-shop-name-web {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.release-offline-shop-cover-web {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
}

.release-offline-shop-main-web {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 6px;
}

.release-offline-shop-sub-web {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7280;
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.release-offline-shop-remove-web {
  border: 0;
  background: transparent;
  color: #ef4444;
  font: 600 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
  padding: 0;
}

.post-image-preview-list {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.post-image-item,
.post-image-add-card {
  width: 136px;
  height: 136px;
}

.post-image-item {
  cursor: grab;
}

.post-image-item.dragging {
  opacity: 0.55;
}

.post-image-item.drag-over .post-image-thumb {
  border: 2px dashed #111;
}

.post-image-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}

.post-image-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

.post-image-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font: 600 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-image-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.post-image-order {
  position: absolute;
  left: 6px;
  bottom: 6px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.8);
  color: #fff;
  font: 600 11px/20px "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-image-cover-tag {
  position: absolute;
  left: 6px;
  top: 6px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #111;
  font: 700 11px/20px "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-image-add-card {
  border: 1px dashed #9aa0ab;
  background: #f9fafb;
  color: #374151;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.post-image-add-plus {
  font: 500 34px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-crop-modal-content {
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
}

.post-crop-ratio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.crop-ratio-btn.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.post-crop-canvas-wrap {
  width: 100%;
  border: 1px solid var(--line);
  background: #f6f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 52vh;
}

.post-crop-canvas {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  touch-action: none;
  cursor: grab;
}

.post-crop-canvas:active {
  cursor: grabbing;
}

.post-crop-slider-grid {
  display: grid;
  gap: 8px;
}

.post-crop-slider-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #555;
}

.post-crop-slider-item input[type="range"] {
  width: 100%;
}

@media (max-width: 640px) {
  .post-draft-toolbar {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .post-draft-toolbar .input {
    min-width: 0;
    width: 100%;
  }

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

  .release-grid-web > * {
    grid-column: 1 / -1;
  }

  .release-channel-row-web {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-image-item,
  .post-image-add-card {
    width: 112px;
    height: 112px;
  }

  .post-crop-modal-content {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .post-crop-canvas-wrap {
    max-height: 44vh;
  }
}

.admin-actions-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.post-bottom-actions {
  justify-content: flex-end;
  padding-top: 4px;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-sections {
  display: grid;
  gap: 12px;
}

#postEditorRoot[data-mode="create"] {
  gap: 0;
}

#postEditorRoot[data-mode="create"] > .admin-title-module {
  margin-bottom: var(--admin-page-title-bottom-space);
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) {
  --pc-field-h: 38px;
  --pc-radius: 0;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-sections .input:not(textarea) {
  height: var(--pc-field-h);
  min-height: var(--pc-field-h);
  line-height: var(--pc-field-h);
  box-sizing: border-box;
  border-radius: var(--pc-radius);
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-section {
  border: 0;
  background: #fff;
  border-radius: var(--pc-radius);
  padding: 12px;
  display: grid;
  gap: 10px;
}

#postEditorRoot[data-mode="create"] .post-create-section {
  padding: 0;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-section-title {
  font: 700 16px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) #uploadHint:empty {
  display: none;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-meta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  align-items: end;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-meta-grid .input,
#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-meta-grid .release-switch-row-web {
  height: var(--pc-field-h);
  min-height: var(--pc-field-h);
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-inline-row > .input,
#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-textarea {
  width: 100%;
  box-sizing: border-box;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-counter {
  color: #6b7280;
  font: 500 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  white-space: nowrap;
  justify-self: end;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-textarea-wrap {
  position: relative;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-textarea {
  min-height: 280px;
  padding-bottom: 28px;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-counter-float {
  position: absolute;
  right: 10px;
  bottom: 8px;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-switch-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-switch-state {
  min-width: 20px;
  color: #6b7280;
  font: 500 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  text-align: right;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-meta-grid .release-switch-row-web {
  min-height: var(--pc-field-h);
  padding: 0 10px;
  border-radius: var(--pc-radius);
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .release-form-web {
  border: 0;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-choice-btn {
  border: 1px solid #d1d5db;
  background: #f7f8fa;
  color: #374151;
  min-height: var(--pc-field-h);
  border-radius: var(--pc-radius);
  font: 600 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-choice-btn.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-bottom-actions {
  justify-content: flex-end;
}

#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-create-sections .btn,
#postEditorRoot:is([data-mode="create"], [data-mode="edit"]) .post-bottom-actions .btn {
  height: var(--pc-field-h);
  min-height: var(--pc-field-h);
  border-radius: var(--pc-radius);
}

.post-draft-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.post-draft-toolbar .input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.post-draft-toolbar :is(.input, .btn),
.draft-strip-row :is(.input, .btn) {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.post-draft-toolbar .input,
.draft-strip-row .input,
.draft-strip .muted {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
}

#loadDraftBtn {
  white-space: nowrap;
  min-width: 96px;
}

#draftSelect {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}

.shop-editor-page {
  display: grid;
  gap: var(--admin-module-gap);
}

.editor-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: var(--admin-module-gap);
}

.editor-sidebar {
  display: grid;
  gap: var(--admin-module-gap);
  align-content: start;
}

.editor-panel {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-head h2 {
  margin: 0;
  font-size: var(--admin-page-subtitle-size);
  line-height: var(--admin-page-subtitle-line-height);
}

.editor-main {
  padding: 16px;
  display: grid;
  gap: var(--admin-module-gap);
}

.editor-head h1 {
  margin: 0;
  font-size: var(--admin-page-title-size);
  line-height: var(--admin-page-title-line-height);
}

.editor-main > .editor-head {
  margin-bottom: calc(var(--admin-page-title-bottom-space) - 14px);
}

.editor-toolbar {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-form {
  display: grid;
  gap: 12px;
}

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

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

.field span {
  font: 600 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #374151;
}

.field.span-2 {
  grid-column: 1 / -1;
}

.textarea {
  height: auto;
  min-height: 88px;
  padding: 10px;
  resize: vertical;
}

.shop-pick-list {
  display: grid;
  gap: 8px;
}

.pick-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.pick-main h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.pick-actions {
  display: flex;
  gap: 6px;
}

.pick-btn {
  height: 34px;
  padding: 0 10px;
}

.pick-btn.danger {
  border-color: #eab0b0;
  color: #9f1239;
}

.json-panel {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.json-preview {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  max-height: 340px;
  overflow: auto;
  white-space: pre;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.addshop-page {
  max-width: 980px;
}

.addshop-card {
  padding: 0;
  display: grid;
  gap: var(--admin-module-gap);
}

.addshop-head h1 {
  margin: 0;
  font-size: var(--admin-page-title-size);
  line-height: var(--admin-page-title-line-height);
}

.addshop-card > .addshop-head {
  margin-bottom: calc(var(--admin-page-title-bottom-space) - 16px);
}

.addshop-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.addshop-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.draft-strip {
  background: #fff;
  display: grid;
  gap: 8px;
  width: 100%;
  justify-self: stretch;
}

.draft-strip-row {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.addshop-form {
  display: grid;
  gap: var(--admin-module-gap);
}

.form-item {
  position: relative;
  display: grid;
  gap: 8px;
}

.geo-admin-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  margin-top: 6px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.geo-admin-suggest-list {
  display: grid;
  max-height: 260px;
  overflow-y: auto;
}

.geo-admin-suggest-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: transparent;
  color: #111827;
  padding: 10px 12px;
  text-align: left;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.geo-admin-suggest-item:last-child {
  border-bottom: 0;
}

.geo-admin-suggest-item:hover,
.geo-admin-suggest-item.active {
  background: #f8fafc;
}

.geo-admin-suggest-primary {
  font: 600 14px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
}

.geo-admin-suggest-meta,
.geo-admin-suggest-empty {
  color: #6b7280;
  font: 500 12px/1.45 "Noto Sans SC", "PingFang SC", sans-serif;
}

.geo-admin-suggest-empty {
  padding: 10px 12px;
}

.form-label {
  font: 700 var(--admin-page-subtitle-size)/var(--admin-page-subtitle-line-height) "Noto Sans SC", "PingFang SC", sans-serif;
  color: #1f2937;
}

.highlight-group-web {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-width: 0;
}

.highlight-item-web {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
}

.highlight-item-web input {
  margin: 0;
}

.shop-cover-upload-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-cover-upload-card {
  width: 136px;
  aspect-ratio: 1 / 1;
  border: 1px dashed var(--line) !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  background: #f3f4f6 !important;
  color: #374151 !important;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  box-shadow: none !important;
}

.shop-cover-upload-card:hover,
.shop-cover-upload-card:focus-visible {
  background: #f3f4f6 !important;
  color: #374151 !important;
}

.shop-cover-upload-card:disabled {
  cursor: wait;
  opacity: 0.72;
}

.shop-cover-upload-plus {
  font: 500 34px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-cover-upload-label {
  font: 600 13px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.cover-preview-img {
  width: 136px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

.menu-image-list-web {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-image-card-web {
  position: relative;
  width: 136px;
  aspect-ratio: 4 / 5;
}

.menu-image-thumb-btn-web {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #f5f5f5;
  cursor: pointer;
  overflow: hidden;
}

.menu-image-thumb-web,
.menu-image-thumb-empty-web {
  width: 100%;
  height: 100%;
}

.menu-image-thumb-web {
  display: block;
  object-fit: cover;
}

.menu-image-thumb-empty-web {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #888;
  font: 500 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  text-align: center;
}

.menu-image-remove-web {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font: 700 18px/28px "Noto Sans SC", "PingFang SC", sans-serif;
  text-align: center;
  cursor: pointer;
}

.menu-image-add-card-web {
  width: 136px;
  aspect-ratio: 4 / 5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
}

.menu-image-add-plus-web {
  font: 500 34px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

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

.list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.menu-row-list {
  display: grid;
  gap: 10px;
}

.menu-row-web {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 0.7fr) 84px 84px;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  align-items: center;
}

.menu-row-web + .menu-row-web {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.menu-fields-web {
  display: grid;
  gap: 8px;
}

.menu-row-web > .input {
  width: 100%;
  min-width: 0;
}

.menu-row-action-btn {
  width: 84px;
  min-width: 84px;
  padding-left: 0;
  padding-right: 0;
}

.hours-detail {
  display: grid;
  gap: 10px;
}

.hours-day-web {
  border: 1px dashed #d1d5db;
  padding: 10px;
  background: #fff;
  display: grid;
  gap: 8px;
}

.hours-day-title {
  font: 700 14px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #374151;
}

.slot-row-web {
  display: grid;
  grid-template-columns: 180px auto 180px auto;
  align-items: center;
  gap: 8px;
}

.slot-time-web {
  height: 38px;
}

.slot-actions-web {
  display: flex;
  gap: 8px;
}

.inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.poi-layout-web {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  background: #f3f4f6;
  overflow: hidden;
}

.poi-map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  border: 0;
  background: #f3f4f6;
}

.poi-overlay-web {
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: auto;
  z-index: 30;
  pointer-events: auto;
  width: min(360px, 36%);
  max-height: calc(100% - 24px);
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 6px;
  overflow: hidden;
}

.poi-search-row-web {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.poi-search-row-web > .input {
  width: 100%;
  border-radius: 12px;
}

.poi-map-status {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #374151;
  font: 600 13px/1.6 "Noto Sans SC", "PingFang SC", sans-serif;
}

.poi-results {
  display: grid;
  gap: 0;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.poi-result-item {
  width: 100%;
  display: grid;
  gap: 4px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(209, 213, 219, 0.8);
  background: #fff;
  color: #111827;
  padding: 12px 0;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}

.poi-result-item:first-child {
  border-top: 1px solid rgba(209, 213, 219, 0.8);
}

.poi-result-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.poi-result-index {
  flex-shrink: 0;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 600;
  color: #111827;
}

.poi-result-item:hover {
  background: #fafafa;
}

.poi-result-item.active {
  background: #f9fafb;
}

.poi-result-title {
  flex: 1 1 auto;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.poi-result-addr,
.poi-result-ll {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-caption);
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poi-page-row-web {
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.poi-page-row-web.is-visible {
  display: flex;
}

.poi-page-info {
  margin-right: auto;
  text-align: left;
  color: #4b5563;
  font: 600 14px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.poi-page-actions-web {
  display: inline-flex;
  min-height: 41px;
  margin-left: auto;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
}

.poi-page-btn {
  min-width: 0;
  font: 600 14px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  height: auto;
  min-height: 0;
  padding: 0;
  align-items: flex-end;
}

.two-col-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.three-col-web {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.address-geo-web {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.address-pane-web {
  display: grid;
  gap: 12px;
}

.geo-side-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lang-name-row-web {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
}

.submit-button-web {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 6px;
}

.copy-modal-web {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.copy-modal-content {
  position: relative;
  width: min(560px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.copy-modal-title {
  font: 700 var(--admin-page-subtitle-size)/var(--admin-page-subtitle-line-height) "Noto Sans SC", "PingFang SC", sans-serif;
}

.copy-days-list {
  display: grid;
  gap: 8px;
  max-height: 40vh;
  overflow: auto;
}

.copy-day-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copy-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.post-list-page {
  display: grid;
  gap: 12px;
}

.post-list-nav-banner {
  background: #000;
  border-bottom-color: #111827;
}

.user-profile-nav-banner {
  height: 260px;
  border-bottom-color: #111827;
  background:
    radial-gradient(circle at 50% -10%, rgba(96, 165, 250, 0.36), transparent 56%),
    radial-gradient(circle at 16% 72%, rgba(34, 197, 94, 0.2), transparent 44%),
    radial-gradient(circle at 84% 24%, rgba(16, 185, 129, 0.22), transparent 40%),
    linear-gradient(132deg, #020617 0%, #0f172a 46%, #082f49 100%);
}

.shop-nav-banner,
.admin-nav-banner {
  background: #000;
  border-bottom-color: #111827;
}

.post-list-nav-banner-inner {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
}

.post-list-nav-banner-title {
  margin: 0;
  color: #f3f4f6;
  font: 700 34px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.user-profile-nav-banner-inner {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-profile-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.user-profile-avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 36px rgba(2, 6, 23, 0.42);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-profile-avatar,
.user-profile-avatar-fallback {
  width: 100%;
  height: 100%;
}

.user-profile-avatar {
  display: block;
  object-fit: cover;
}

.user-profile-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  font: 700 44px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  text-transform: uppercase;
}

.user-profile-name {
  margin: 0;
  color: #f8fafc;
  font: 700 36px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  text-shadow: 0 8px 20px rgba(2, 6, 23, 0.44);
}

.user-profile-meta {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font: 400 14px/1.45 "Noto Sans SC", "PingFang SC", sans-serif;
}

.user-profile-empty {
  grid-column: 1 / -1;
  min-height: 140px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
}

.post-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.post-list-main {
  display: grid;
  gap: 12px;
}

.post-list-more {
  display: flex;
  justify-content: center;
}

.post-list-more .btn {
  border-radius: 999px;
  border: 0 !important;
  background: transparent !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

.post-list-more .btn:hover,
.post-list-more .btn:focus-visible,
.post-list-more .btn:disabled {
  border: 0 !important;
  background: transparent !important;
  color: #9ca3af !important;
}

.list-toolbar {
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.post-feed-card {
  display: block;
  position: relative;
  background: transparent;
  border: 0;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
}

.post-feed-cover-link {
  display: block;
}

.post-feed-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 0;
  display: block;
}

.post-feed-cover-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #e5e7eb;
  display: block;
}

.post-feed-main {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 56%, rgba(15, 23, 42, 0.92) 100%);
  display: grid;
  align-content: start;
  gap: 8px;
  z-index: 1;
}

.post-feed-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-caption);
  color: rgba(226, 232, 240, 0.88);
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.view-count-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-count-icon {
  width: 12px;
  height: 12px;
  display: block;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.post-feed-main h2 {
  margin: 0;
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h2);
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.post-feed-main h2 .post-link {
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: auto;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.post-list-page .post-feed-main h2 .post-link {
  font-weight: 700;
}

.post-feed-main h2 .post-link::after {
  display: none;
}

.post-feed-main h2 .post-link:hover,
.post-feed-main h2 .post-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-feed-main h2 .post-link:hover::after,
.post-feed-main h2 .post-link:focus-visible::after {
  transform: none;
}

.single-post-nav-bar {
  top: 0;
}

.single-read-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 62px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 21;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.single-read-progress.is-active {
  opacity: 1;
  transform: translateY(0);
}

.single-read-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--category-accent, #22c55e);
  transition: width 0.08s linear;
}

.single-post-nav-bar .single-post-nav-right {
  width: auto;
  order: 0;
  margin-left: auto;
}

.single-post-nav-right {
  gap: 8px;
}

.single-post-page {
  max-width: none;
  padding: 0;
  margin-bottom: 64px;
  display: grid;
  gap: 14px;
}

.single-post-hero {
  position: relative;
  min-height: 58vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0f172a;
  color: #f8fafc;
}

.single-post-hero-media {
  position: absolute;
  inset: -6% 0 0 0;
  width: 100%;
  height: 114%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

.single-post-hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #111827 0%, #1f2937 48%, #111827 100%);
}

.single-post-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, rgba(2, 6, 23, 0.44) 54%, rgba(2, 6, 23, 0.76) 100%);
}

.single-post-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  justify-items: start;
  text-align: left;
  gap: 4px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px 42px;
}

.single-post-hero-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(15, 23, 42, 0.28);
  color: #f8fafc;
  font: 700 16px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.single-post-hero-title {
  margin: 0;
  max-width: min(900px, 100%);
  font-size: 58px;
  line-height: 0.92;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.single-post-hero-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: nowrap;
  color: rgba(241, 245, 249, 0.92);
  font: 500 14px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-hero-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.single-post-hero-author-avatar,
.single-post-hero-author-avatar-fallback {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}

.single-post-hero-author-avatar {
  object-fit: cover;
}

.single-post-hero-author-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font: 700 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-hero-author-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-post-hero-date {
  white-space: nowrap;
}

.single-post-hero-views {
  white-space: nowrap;
  margin-left: auto;
}

.single-post-body-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.single-post-article {
  padding: 0;
  display: grid;
  gap: 16px;
  border: 0;
  background: transparent;
}

.single-post-article .card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.single-post-image-list {
  padding: 8px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.single-post-image-board {
  width: min(100%, 88%);
  max-width: 100%;
  aspect-ratio: var(--single-board-ratio, 1 / 1);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(var(--single-board-cols, 2), minmax(0, 1fr));
  grid-template-rows: repeat(var(--single-board-rows, 2), minmax(0, 1fr));
  gap: var(--single-board-gap, 8px);
  padding: 0;
  overflow: hidden;
  margin: 0 auto;
}

.single-post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.22s ease;
  will-change: transform;
}

.single-post-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 12, 0.64);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1), visibility 260ms linear;
}

.single-post-image-lightbox.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.single-post-image-lightbox.is-closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.single-post-image-lightbox-stage {
  position: relative;
  width: min(94vw, 1280px);
  height: min(84vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.single-post-image-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.single-post-image-lightbox-image {
  position: relative;
  min-width: 0;
  max-width: min(64vw, 820px);
  max-height: min(58vh, 540px);
  width: auto;
  height: auto;
  object-fit: contain;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-user-drag: none;
  user-select: none;
}

.single-post-image-lightbox-track {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  z-index: 4;
}

.single-post-image-lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px clamp(64px, 11vw, 170px) 112px;
  box-sizing: border-box;
  overflow: hidden;
}

.single-post-image-lightbox-side {
  position: absolute;
  top: 50%;
  width: min(13vw, 180px);
  height: min(24vh, 280px);
  object-fit: contain;
  opacity: 0.72;
  filter: saturate(0.84);
  z-index: 7;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1), transform 260ms cubic-bezier(0.16, 1, 0.3, 1), filter 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.single-post-image-lightbox-prev {
  left: 24px;
}

.single-post-image-lightbox-next {
  right: 24px;
}

.single-post-image-lightbox-side.is-hidden {
  display: none;
}

.single-post-image-lightbox-side:hover {
  opacity: 0.8;
  filter: saturate(1);
  transform: translateY(calc(-50% - 2px));
}

.single-post-image-lightbox-controls {
  position: absolute;
  left: 50%;
  bottom: 150px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 6;
}

.single-post-image-lightbox-nav-btn {
  min-width: 98px;
  border: 0;
  background: transparent;
  color: rgba(245, 247, 250, 0.92);
  font: 600 18px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 220ms ease, opacity 220ms ease;
}

.single-post-image-lightbox-nav-btn:hover {
  color: #fff;
}

.single-post-image-lightbox-nav-btn:disabled {
  color: rgba(210, 216, 226, 0.42);
  cursor: not-allowed;
}

.single-post-text {
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.single-post-content {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  color: #2b2f38;
  word-break: break-word;
}

.single-post-section-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.single-post-release {
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 0;
}

.single-post-release-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #111827;
}

.single-post-release-row > span,
.single-post-release-block > span {
  color: #6b7280;
  font: 500 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-release-row > strong {
  font: 600 14px/1.45 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-release-block {
  display: grid;
  gap: 8px;
}

.single-post-release-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.single-post-release-chip {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 3px 10px;
  font: 500 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-release-shop-list {
  display: grid;
  gap: 10px;
}

.single-post-release-shop-item,
.single-post-standalone-shop {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.single-post-standalone-shop {
  padding: 10px;
  border: 0;
  border-radius: 0;
}

.single-post-release-shop-cover,
.single-post-release-shop-fallback {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.single-post-release-shop-cover {
  object-fit: cover;
}

.single-post-release-shop-fallback {
  display: inline-block;
  background: linear-gradient(135deg, #ececec 0%, #dcdcdc 100%);
}

.single-post-release-shop-main {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.single-post-release-shop-name {
  font: 700 14px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-release-shop-sub {
  color: #6b7280;
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-post-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
}

.single-post-action-item {
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  background: #fafafa;
  padding: 10px 8px;
  text-align: center;
  display: grid;
  gap: 2px;
}

.single-post-action-btn {
  cursor: pointer;
}

.single-post-action-btn.is-liked {
  border-color: #ef4444;
  color: #ef4444;
}

.single-post-action-label {
  color: #6b7280;
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-action-number {
  font: 700 17px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-related {
  padding: 14px;
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 0;
}

.single-post-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.single-post-related-item {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.single-post-related-cover,
.single-post-related-cover-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  display: block;
}

.single-post-related-cover {
  object-fit: cover;
}

.single-post-related-cover-fallback {
  background: linear-gradient(135deg, #ececec 0%, #dcdcdc 100%);
}

.single-post-related-title {
  font: 600 13px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-post-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.single-post-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  display: block;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
}

.single-post-share {
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.single-post-share-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.single-post-share-icon-btn {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.single-post-share-icon-btn:hover {
  background: transparent;
}

.single-post-share-icon-btn .social-icon-image {
  width: 36px;
  height: 36px;
  display: block;
}

.single-post-latest {
  padding-top: 88px;
  display: grid;
  gap: 10px;
}

.single-post-latest-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.single-post-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.single-post-latest-item {
  text-decoration: none;
  color: inherit;
  border: 1px solid #111;
  background: #fff;
  padding: 0;
  display: grid;
  gap: 6px;
  align-content: start;
  border-radius: 18px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.single-post-latest-item:hover {
  background: #fff;
}

.single-post-latest-item:active,
.single-post-latest-item:focus-visible {
  background: #fff;
}

.single-post-latest-cover,
.single-post-latest-cover-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border: 0;
}

.single-post-latest-cover {
  object-fit: cover;
}

.single-post-latest-cover-placeholder {
  background: linear-gradient(135deg, #ececec 0%, #dcdcdc 100%);
}

.single-post-latest-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
  padding: 0 10px;
  font: 700 14px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-latest-meta {
  display: block;
  padding: 0 10px 10px;
  color: #6b7280;
  font: 500 11px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-sidebar {
  padding: 18px;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 74px;
  align-content: start;
  border: 1px solid #111 !important;
  border-radius: 28px;
  background: #f4f4f5;
}

.single-post-sidebar-head h2 {
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1.2;
  color: #0f0f10;
}

.single-post-sidebar-head {
  border-bottom: 1px solid #111;
  padding-bottom: 10px;
}

.single-post-top-list {
  display: grid;
  gap: 10px;
}

.single-post-top-feature {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.single-post-top-feature-cover-link {
  display: block;
  text-decoration: none;
}

.single-post-top-feature-cover,
.single-post-top-feature-cover-placeholder {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  border: 1px solid #d4d4d8;
}

.single-post-top-feature-cover {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.single-post-top-feature-cover-placeholder {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #ddd 0%, #ececec 100%);
}

.single-post-top-feature-content {
  text-decoration: none;
  color: #111;
  display: grid;
  gap: 6px;
  align-content: start;
}

.single-post-top-feature-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font: 700 15px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-top-feature-date {
  color: #6b7280;
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.single-post-rank-item {
  border-top: 1px solid #bfbfbf;
}

.single-post-rank-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 12px 0;
  text-decoration: none;
  color: #111;
}

.single-post-rank-main {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.single-post-rank-index {
  font: 700 18px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.single-post-rank-title {
  font: 700 16px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-rank-date {
  color: #6b7280;
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.single-post-rank-item.active .single-post-rank-index,
.single-post-rank-item.active .single-post-rank-title {
  color: #000;
}

.single-post-rank-link:hover .single-post-rank-title {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-post-top-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.single-post-top-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.single-post-top-name {
  font: 700 14px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-post-top-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #6b7280;
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-detail-page {
  max-width: 1240px;
  padding-left: 24px;
  padding-right: 24px;
}

.shop-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.shop-detail {
  padding: 0;
  display: grid;
  gap: 0;
}

.shop-detail.card {
  border: 0;
  background: transparent;
}

.shop-detail-head h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.shop-detail-head,
.shop-detail-score-line,
.shop-detail-eat-meta,
.shop-detail-content,
.shop-detail-meta-grid,
.shop-detail-tags,
.shop-detail-menu,
.shop-detail-gallery {
  padding-left: 24px;
  padding-right: 24px;
}

.shop-detail-score-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-detail-score-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shop-detail-score-label {
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.shop-detail-score-badge {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font: 700 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.shop-detail-score-badge.pro {
  background: linear-gradient(135deg, #9efbd3 0%, #57e9f2 50%, #45d4fb 100%);
}

.shop-detail-score-badge.normal {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.shop-detail-eat-meta {
  font: 700 15px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.shop-detail-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 1px solid var(--line);
}

.shop-detail-content {
  font-size: 18px;
  line-height: 1.75;
  color: #2b2f38;
}

.shop-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shop-detail-meta-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
}

.shop-detail-meta-card h3 {
  margin: 0;
  font: 700 14px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.shop-detail-meta-card p {
  margin: 8px 0 0;
  font: 500 13px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #2b2f38;
}

.shop-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-detail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
  color: #4b5563;
  font: 700 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  padding: 0 10px;
}

.shop-detail-menu {
  padding-top: 24px;
  padding-bottom: 24px;
  display: grid;
  gap: 10px;
}

.shop-detail-menu h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.shop-detail-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shop-detail-menu-item {
  border: 1px solid #ece7dc;
  background: #fff;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
}

.shop-detail-menu-title {
  font: 700 14px/1.25 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111827;
}

.shop-detail-menu-sub {
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.shop-detail-menu-price {
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #0f172a;
}

.shop-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shop-detail-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.shop-hot-sidebar {
  padding: 0;
  display: grid;
  gap: 0;
  position: sticky;
  top: calc(62px + 14px);
  border: 1px solid #111;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.shop-hot-sidebar.card {
  border: 1px solid #111;
  border-radius: 20px;
  background: #fff;
}

.shop-hot-sidebar-head {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #111;
}

.shop-hot-sidebar-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.shop-hot-sidebar-head p {
  margin: 6px 0 0;
}

.shop-hot-list {
  display: grid;
  gap: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: #fff;
}

.shop-hot-item {
  text-decoration: none;
  color: inherit;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  align-items: start;
}

.shop-hot-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.shop-hot-item + .shop-hot-item {
  border-top: 1px solid #111;
}

.shop-hot-item:hover {
  background: #f3f4f6;
}

.shop-hot-item.active {
  background: #eef2f6;
}

.shop-hot-item.active:hover {
  background: #eef2f6;
}

.shop-hot-rank {
  min-width: 46px;
  color: #111;
  font: 700 44px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.shop-hot-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.shop-hot-name {
  font: 700 14px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-hot-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-hot-category {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-hot-side {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-left: 56px;
}

.shop-hot-score {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111827;
}

.shop-hot-score-label {
  color: #111827;
}

.shop-hot-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  color: #111;
}

.shop-hot-score-badge--pro {
  background: linear-gradient(135deg, #57e9f2 0%, #45d4fb 100%);
}

.shop-hot-score-badge--normal {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.site-footer {
  border-top: 1px solid #d4d4d4;
  background: #f7f7f7;
  margin-top: 26px;
}

.footer-main {
  min-height: 110px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.footer-col {
  min-width: 0;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-link {
  text-decoration: none;
  color: #222;
  font: 500 14px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.footer-link:hover {
  text-decoration: none;
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111;
}

.footer-logo-image {
  display: block;
  width: auto;
  height: 128px;
  max-width: min(520px, 72vw);
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social-link {
  width: 24px;
  height: 24px;
}

.footer-social-link .social-icon-image {
  width: 24px;
  height: 24px;
}

.footer-legal-bar {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #f0f0f0;
  font: 500 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.footer-record-link {
  color: #f0f0f0;
  text-decoration: none;
}

.footer-record-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-record-link:focus-visible {
  text-decoration: none;
}

.footer-legal-inner span {
  min-width: 0;
  word-break: break-word;
}

.footer-legal-inner a {
  flex-shrink: 0;
}

.footer-inner {
  color: var(--muted);
  font: 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

[hidden],
.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .home-hero-shell {
    --home-hero-trending-space: min(330px, 36%);
  }

  .home-hero-shell .featured-post {
    height: clamp(420px, 64vh, 760px);
  }

  .home-hero-shell .featured-hero-overlay {
    right: var(--home-hero-content-inline);
    padding-bottom: 0;
  }

  .home-hero-shell .trending-posts {
    bottom: 14px;
  }

  .home-hero-shell .trending-list {
    gap: 0;
  }

  .brand-main {
    font-size: 44px;
  }

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

  .featured-post {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .featured-hero-title {
    max-width: 100%;
    font-size: 36px;
  }

  .promo-banner {
    min-height: 132px;
    padding: 14px 16px;
  }

  .promo-banner h2 {
    font-size: 30px;
  }

  .weekly-hot-shops {
    --weekly-hot-gap: 10px;
  }

  .weekly-hot-main h3 {
    font-size: 17px;
  }

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

  .category-post h3 {
    font-size: 20px;
  }

  .single-head h1 {
    font-size: 38px;
  }

  .single-content {
    font-size: 17px;
  }

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

  .post-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-feed-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .post-feed-main h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    font-weight: var(--font-weight-h2);
  }

  .post-list-layout {
    grid-template-columns: 1fr;
  }

  .shop-page-layout {
    grid-template-columns: 1fr;
  }

  .shop-filter-sidebar {
    position: static;
    top: auto;
  }

  .shop-list-toolbar {
    gap: 10px;
  }

  .shop-sort-wrap {
    min-width: 180px;
  }

  .shop-filter-panel .shop-filter-row-web {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-filter-options-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-detail-layout {
    grid-template-columns: 1fr;
  }

  .shop-hot-sidebar {
    position: static;
  }

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

  .shop-detail-head h1 {
    font-size: 38px;
  }

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

  .editor-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .draft-strip-row {
    grid-template-columns: 1fr;
  }

  .slot-row-web {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .admin-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .admin-action-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .admin-toolbar .input:nth-child(3) {
    grid-column: 1 / -1;
  }

  .admin-geo-filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-geo-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-geo-search-input {
    grid-column: 1 / -1;
  }

  .admin-post-list-search-row {
    grid-template-columns: 1fr;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .menu-row-web {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px 84px 84px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-location-pill-height: 36px;
  }

  .home-hero-band {
    padding-bottom: 10px;
  }

  .home-hero-shell {
    padding: 0 12px;
  }

  .home-hero-shell .featured-post {
    height: auto;
    min-height: 0;
  }

  .home-hero-shell .featured-hero {
    aspect-ratio: 16 / 11;
  }

  .home-hero-shell .featured-hero-overlay {
    left: 14px;
    right: 14px;
    top: 0;
    bottom: 0;
    padding-bottom: 0;
  }

  .home-hero-shell .trending-posts {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 10px;
    padding-right: 0;
    display: grid;
    gap: 0;
  }

  .home-hero-shell .trending-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-hero-shell .trending-head {
    border: 1px solid var(--line);
    background: #fff;
    color: #111827;
    width: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-hero-shell .trending-head h3 {
    color: #111827;
  }

  .home-hero-shell .trending-item {
    border: 0;
    background: #0b1120;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-hero-shell .trending-title .post-link {
    color: #f8fafc;
  }

  .home-hero-shell .trending-meta-row,
  .home-hero-shell .trending-time {
    color: rgba(226, 232, 240, 0.92);
  }

  .topbar {
    padding: 0 12px;
  }

  .meta-left,
  .meta-right {
    flex-wrap: wrap;
  }

  .meta-bar {
    min-height: 42px;
    height: auto;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }

  .location-picker-panel {
    top: 50%;
    width: calc(100vw - 28px);
    height: calc(100vh - 28px);
  }

  .location-picker-title {
    font-size: 38px;
  }

  .location-picker-search-row {
    grid-template-columns: 1fr;
  }

  .location-picker-suggest {
    border-radius: 12px;
  }

  .location-picker-search-btn,
  .location-picker-action {
    height: 46px;
  }

  .nav-bar {
    min-height: 54px;
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .subpage-nav-banner {
    height: 150px;
  }

  .user-profile-nav-banner {
    height: 220px;
  }

  .user-profile-avatar-wrap {
    width: 96px;
    height: 96px;
  }

  .user-profile-avatar-fallback {
    font-size: 34px;
  }

  .user-profile-name {
    font-size: 30px;
  }

  .user-profile-meta {
    font-size: 13px;
  }

  .nav-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 12px;
  }

  .home-nav-left {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .home-site-name {
    font-size: 24px;
  }

  .nav-right {
    order: 1;
    width: 100%;
    justify-content: flex-end;
  }

  .nav-search-input {
    width: 140px;
    height: 41px;
    font-size: 12px;
  }

  .wx-login-btn {
    padding: 0 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
  }

  .nav-bar .wx-login-btn.wx-login-btn-round {
    width: 41px;
    min-width: 41px;
    height: 41px;
  }

  .main-nav {
    width: 100%;
    margin-right: 0;
    order: 2;
    gap: 4px;
  }

  .login-shell {
    min-height: auto;
  }

  .login-card {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
    border-radius: 22px;
  }

  .login-title {
    font-size: 40px;
  }

  .login-description {
    font-size: 15px;
  }

  .login-primary-btn {
    width: 100%;
    min-width: 0;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .menu-row-web {
    grid-template-columns: 1fr 1fr;
  }

  .menu-row-price-web {
    grid-column: 1 / -1;
  }

  .menu-row-action-btn {
    width: 100%;
    min-width: 0;
  }

  .admin-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-geo-filter-row,
  .admin-geo-action-row {
    grid-template-columns: 1fr;
  }

  .admin-geo-search-input {
    grid-column: auto;
  }

  .admin-post-table {
    min-width: 860px;
  }

  .admin-user-search-row {
    grid-template-columns: 1fr;
  }

  .admin-user-search-row > select {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .admin-user-filter-row .input {
    width: 100%;
  }

  .admin-user-table {
    min-width: 980px;
  }

  .admin-user-footer-row {
    flex-wrap: wrap;
  }

  .admin-review-table {
    min-width: 980px;
  }

  .admin-post-pagination {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .chip {
    height: 36px;
    padding: 0 10px;
  }

  .nav-bar .site-location-pill.nav-location-pill {
    height: var(--nav-location-pill-height);
    gap: 10px;
    padding: 0 1px 0 0;
    font-size: 16px;
  }

  .nav-bar .site-location-pill.nav-location-pill::after {
    width: 9px;
    height: 9px;
    flex-basis: 9px;
  }

  .chip::after {
    left: 10px;
    right: 10px;
    bottom: 5px;
  }

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

  .weekly-hot-carousel {
    padding: 0;
  }

  .weekly-hot-nav-btn {
    width: 32px;
    height: 32px;
    background-size: 14px 14px;
  }

  .weekly-hot-nav-prev {
    left: 6px;
  }

  .weekly-hot-nav-next {
    right: 6px;
  }

  .weekly-hot-shops {
    --weekly-hot-gap: 8px;
  }

  .weekly-hot-main {
    padding: 8px;
  }

  .weekly-hot-main h3 {
    font-size: 15px;
  }

  .weekly-hot-score-line,
  .weekly-hot-meta-line {
    font-size: 12px;
  }

  .weekly-hot-meta-pill {
    font-size: 12px;
    padding: 2px 8px;
  }

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

  .post-feed {
    grid-template-columns: 1fr;
  }

  .user-profile-nav-banner {
    height: 190px;
  }

  .user-profile-avatar-wrap {
    width: 84px;
    height: 84px;
  }

  .user-profile-avatar-fallback {
    font-size: 30px;
  }

  .user-profile-name {
    font-size: 24px;
  }

  .post-cover {
    width: 100%;
    height: 190px;
  }

  .input.wide {
    width: 100%;
  }

  .post-main h3 {
    font-size: 28px;
  }

  .shop-search-wrap-web {
    grid-template-columns: 1fr;
  }

  .shop-filter-row-web {
    grid-template-columns: 1fr 1fr;
  }

  .shop-list-toolbar {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .shop-sort-wrap {
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  .shop-filter-panel .shop-filter-row-web {
    grid-template-columns: 1fr;
  }

  .shop-filter-options-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-list .card-2col {
    flex-direction: column;
    min-height: 0;
  }

  .shop-list .cover-box {
    width: 100%;
    min-width: 0;
    padding: 10px;
  }

  .shop-list .cover-box::before {
    padding-top: 62%;
  }

  .shop-list .cover-left {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }

  .shop-list .name {
    font-size: 20px;
  }

  .shop-list .score-badge {
    width: 36px;
    min-width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .featured-hero-title {
    font-size: 31px;
  }

  .promo-banner {
    min-height: 116px;
  }

  .promo-banner h2 {
    font-size: 24px;
  }

  .category-block-grid {
    grid-template-columns: 1fr;
  }

  .category-post h3 {
    font-size: 18px;
  }

  .single-head h1 {
    font-size: 30px;
  }

  .single-gallery {
    grid-template-columns: 1fr;
  }

  .shop-detail-head h1 {
    font-size: 30px;
  }

  .shop-hot-sidebar-head h2 {
    font-size: 20px;
  }

  .single-post-hero-category {
    font-size: 14px;
    min-height: 28px;
    padding: 0 12px;
  }

  .shop-detail-menu-list,
  .shop-detail-gallery {
    grid-template-columns: 1fr;
  }

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

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

  .field.span-2 {
    grid-column: auto;
  }

  .editor-head h1 {
    font-size: var(--admin-page-title-size);
  }

  .addshop-head h1 {
    font-size: var(--admin-page-title-size);
  }

  .two-col-web {
    grid-template-columns: 1fr;
  }

  .three-col-web {
    grid-template-columns: 1fr;
  }

  .address-geo-web {
    grid-template-columns: 1fr;
  }

  .geo-side-web {
    grid-template-columns: 1fr;
  }

  .inline-row {
    grid-template-columns: 1fr;
  }

  .lang-name-row-web {
    grid-template-columns: 1fr;
  }

  .poi-layout-web {
    border: 0;
    background: transparent;
    display: grid;
    gap: 8px;
  }

  .poi-map {
    height: 360px;
    border: 1px solid var(--line);
  }

  .poi-overlay-web {
    position: static;
    width: auto;
    border: 1px solid var(--line);
    background: #fff;
  }

  .poi-search-row-web {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-content: center;
    text-align: center;
  }

  .footer-social-link {
    width: 22px;
    height: 22px;
  }

  .footer-social-link .social-icon-image {
    width: 22px;
    height: 22px;
  }

  .footer-legal-inner {
    min-height: 56px;
    flex-direction: column;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
  }
}

@media (max-width: 1080px) {
  .single-post-hero-title {
    font-size: 44px;
  }

  .single-post-body-layout {
    grid-template-columns: 1fr;
  }

  .single-post-sidebar {
    position: static;
  }

  .single-post-sidebar-head h2 {
    font-size: 24px;
  }

  .single-post-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .single-read-progress {
    height: 3px;
  }

  .single-post-page {
    padding: 0;
    margin-bottom: 44px;
  }

  .single-post-hero {
    min-height: 46vh;
  }

  .single-post-hero-content {
    padding: 18px 12px 24px;
  }

  .single-post-hero-meta {
    margin-top: 12px;
    gap: 8px;
    font-size: 12px;
    flex-wrap: wrap;
  }

  .single-post-hero-views {
    margin-left: 0;
  }

  .single-post-content {
    font-size: 16px;
  }

  .single-post-image-board {
    padding: 0;
  }

  .single-post-image-lightbox {
    padding: 10px;
  }

  .single-post-image-lightbox-stage {
    width: 100%;
    height: min(78vh, 620px);
  }

  .single-post-image-lightbox-slide {
    padding: 8px 0 62px;
  }

  .single-post-image-lightbox-image {
    max-width: 100%;
    max-height: min(68vh, 520px);
  }

  .single-post-image-lightbox-side {
    display: none;
  }

  .single-post-image-lightbox-controls {
    bottom: 150px;
    gap: 18px;
  }

  .single-post-image-lightbox-nav-btn {
    min-width: 74px;
    font-size: 16px;
  }

  .single-post-release-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .single-post-release-shop-item,
  .single-post-standalone-shop {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .single-post-release-shop-cover,
  .single-post-release-shop-fallback {
    width: 76px;
    height: 76px;
  }

  .single-post-actions {
    gap: 8px;
    padding: 10px;
  }

  .single-post-action-number {
    font-size: 15px;
  }

  .single-post-related-grid {
    grid-template-columns: 1fr;
  }

  .single-post-gallery {
    grid-template-columns: 1fr;
  }

  .single-post-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-post-nav-right {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .single-post-nav-right .nav-search-input {
    width: min(180px, 52vw);
  }

  .single-post-body-layout {
    padding: 0 12px;
  }

  .single-post-sidebar {
    border-radius: 18px;
  }

  .single-post-sidebar-head h2 {
    font-size: 20px;
  }

  .single-post-top-feature-text {
    font-size: 15px;
  }

  .single-post-rank-index,
  .single-post-rank-title {
    font-size: 14px;
  }
}

.hero-full,
.detail-page {
  display: grid;
  gap: 0;
}

.detail-article {
  display: grid;
  gap: 0;
}

.shop-hero-v2 {
  display: grid;
  gap: 0;
}

.shop-hero-v2 > * + * {
  border-top: 1px solid #e5dfd4;
  margin-top: 30px;
  padding-top: 30px;
}

.shop-detail > * + * {
  border-top: 1px solid #e5dfd4;
  margin-top: 30px;
  padding-top: 30px;
}

/* Keep divider and spacing consistent between 店铺介绍 and score hero block. */
.shop-detail > .section-block + .hero-full {
  border-top: 1px solid #e5dfd4;
  margin-top: 30px;
  padding-top: 30px;
}

/* Keep the hero block compact against the following section divider. */
.shop-detail > .hero-full + .detail-page {
  margin-top: 30px;
  padding-top: 30px;
}

.detail-article > * + * {
  border-top: 1px solid #e5dfd4;
  margin-top: 30px;
  padding-top: 30px;
}

.hero-cover {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #dadde3 0%, #f2f4f8 100%);
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.68) 100%);
  pointer-events: none;
}

.hero-cover-link {
  position: absolute;
  inset: 0;
  display: block;
}

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

.hero-cover-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #475569;
  font: 700 18px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.hero-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 10px;
  color: #fff;
}

.hero-title {
  margin: 0;
  font: 800 44px/1.05 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: -0.02em;
}

.hero-subnames {
  display: grid;
  gap: 4px;
}

.hero-subname {
  color: rgba(255, 255, 255, 0.86);
  font: 600 15px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta-text {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.hero-score-block {
  border: 0;
  border-radius: 28px;
  background: #fff;
  padding: 0 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 14px;
  align-items: center;
  position: relative;
}

.hero-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.hero-score-line {
  display: grid;
}

.hero-score-line:first-child .hero-score-circle {
  justify-self: start;
}

.hero-score-line:last-child .hero-score-circle {
  justify-self: end;
}

.hero-score-circle {
  width: min(100%, 148px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 50%;
  padding: 18px 14px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: #0f172a;
  justify-self: center;
}

.hero-score-circle--pro {
  background: linear-gradient(135deg, #57e9f2 0%, #45d4fb 100%);
}

.hero-score-circle--normal,
.hero-score-circle--expert {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.hero-score-circle--crisp,
.hero-score-circle--experience {
  background: linear-gradient(135deg, #45d4fb 0%, #45d4fb 28%, #43e97b 45%, #ffcf65 100%);
}

.hero-score-num {
  font: 800 36px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.hero-score-desc {
  font: 700 13px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.hero-review-count {
  color: #6b7280;
  font: 600 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  text-align: right;
  margin-top: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}

.hero-bars {
  --hero-bars-space: 16px;
  display: grid;
  gap: 10px;
  border-left: 1px solid #e5dfd4;
  padding-left: var(--hero-bars-space);
}

.hero-bar-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: var(--hero-bars-space);
  align-items: center;
}

.hero-bar-label {
  color: #374151;
  font: 700 13px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
  text-align: right;
}

.hero-bar {
  position: relative;
  min-height: 28px;
  border-radius: 999px;
  background: #e7edf3;
}

.hero-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 999px;
}

.hero-fill--normal {
  background: linear-gradient(90deg, #45d4fb 0%, #45d4fb 28%, #43e97b 45%, #ffcf65 100%);
}

.hero-mark {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff;
  font: 800 11px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.hero-mark.is-min {
  transform: translate(0, -50%);
}

.hero-mark.is-max {
  transform: translate(-100%, -50%);
}

.section-block {
  border: 0;
  border-radius: 28px;
  background: #fff;
  padding: 0;
  display: grid;
  gap: 14px;
}

.section-block--dark {
  background: #fff;
  border-color: #e5dfd4;
}

.section-block--light {
  background: #fff;
  border-color: #e5dfd4;
}

.section-title {
  margin: 0;
  color: #101828;
  font: 800 28px/1.12 "Noto Sans SC", "PingFang SC", sans-serif;
}

.section-block--dark .section-title {
  color: #101828;
}

.section-body {
  display: grid;
  gap: 14px;
}

.section-body--intro {
  gap: 16px;
}

.shop-features {
  color: #2b2f38;
  font-size: 16px;
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  word-break: break-word;
  white-space: pre-wrap;
}

.shop-features--empty,
.empty-state-inline {
  color: #6b7280;
}

.section-block--dark .shop-features,
.section-block--dark .empty-state-inline {
  color: #2b2f38;
}

.section-block--dark .empty-state-inline {
  color: #6b7280;
}

.section-block--dark .shop-features--empty {
  color: #6b7280;
}

.shop-highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-highlight-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #111827;
  background: transparent;
  color: #2b2f38;
  font-size: 16px;
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
}

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

.vibe-item,
.menu-card-web {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #eceff4;
}

.vibe-item {
  aspect-ratio: 1 / 1;
}

.vibe-item-btn {
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
}

.vibe-img,
.menu-img-web {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vibe-uploader {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  backdrop-filter: none;
}

.vibe-lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vibe-lightbox-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.vibe-lightbox-panel {
  position: relative;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  background: #fff;
  border: 1px solid #e5dfd4;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.vibe-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d7cfc2;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: 600 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
  z-index: 1;
}

.vibe-lightbox-image {
  width: 100%;
  max-height: min(72vh, 680px);
  object-fit: contain;
  border-radius: 12px;
  background: #f3f4f6;
  display: block;
}

.vibe-lightbox-uploader {
  color: #111827;
  font: 700 16px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.rec-track::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.rec-track.is-drag-scrolling {
  cursor: grabbing;
}

.rec-card-h {
  display: grid;
  gap: 0;
  border: 1px solid #e6e0d5;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.rec-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eceff4;
}

.rec-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.rec-card-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: #eceff4;
  color: #6b7280;
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-price-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 14px rgba(0, 0, 0, 0.24);
  color: #fff;
  font: 700 12px/24px "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.item-name-bold {
  color: #111827;
  font: 800 18px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-overlay-main {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 24px 14px 12px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.68) 62%, rgba(2, 6, 23, 0.85) 100%);
  pointer-events: none;
}

.rec-item-name-overlay {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.rec-rating-list-overlay {
  gap: 10px;
}

.rec-rating-list-overlay .rec-rating-row {
  gap: 10px;
}

.item-name-foreign {
  color: #6b7280;
  font: 600 13px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.rec-score-label {
  color: #6b7280;
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-score-value {
  color: #111827;
  font: 800 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-rating-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.rec-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rec-rating-label {
  color: #6b7280;
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  white-space: nowrap;
}

.rec-comment {
  color: #374151;
  font: 500 13px/1.6 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-mention {
  display: inline-flex;
  align-items: center;
  color: #6b7280;
  font: 700 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
  white-space: nowrap;
}

.rec-mention-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.16);
  color: #4b5563;
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.rec-rating-list-overlay .rec-mention-pill {
  background: rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 14px rgba(0, 0, 0, 0.24);
  color: #fff;
}

.review-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-sort-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-sort-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d7cfc2;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-sort-btn-active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.review-list-web {
  display: grid;
  gap: 12px;
}

.review-card {
  display: grid;
  gap: 12px;
  --review-avatar-size: 48px;
  --review-header-gap: 12px;
  --review-content-offset: calc(var(--review-avatar-size) + var(--review-header-gap));
  border-radius: 22px;
  background: #fff;
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.review-avatar,
.review-avatar-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-avatar {
  object-fit: cover;
  display: block;
  background: #eceff4;
}

.review-avatar-fallback {
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font: 800 18px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-user-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.review-user-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.review-nickname {
  color: #111827;
  font: 800 16px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-pro-tag {
  color: #111827;
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-pro-tag.is-normal {
  color: #047857;
}

.review-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  color: #0b132b;
  font: 800 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-score-badge--pro {
  background: linear-gradient(135deg, #57e9f2 0%, #45d4fb 100%);
}

.review-score-badge--normal {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.review-time {
  color: #6b7280;
  font: 600 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-text {
  color: #2b2f38;
  font-size: 16px;
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  word-break: break-word;
  white-space: pre-wrap;
}

.review-rec-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 320px);
  gap: 10px;
  width: calc(100% - var(--review-content-offset));
  margin-left: var(--review-content-offset);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.review-rec-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.review-rec-list.is-drag-scrolling {
  cursor: grabbing;
}

.review-rec-card {
  border: 1px solid #e6e0d5;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: grid;
  align-content: start;
}

.review-rec-image-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: #eceff4;
}

.review-rec-image-wrap--empty {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: #6b7280;
  font: 700 12px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-rec-empty-text {
  position: relative;
  z-index: 1;
}

.review-rec-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.review-rec-price {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 14px rgba(0, 0, 0, 0.24);
  color: #fff;
  font: 700 12px/24px "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-rec-main {
  display: grid;
  gap: 4px;
  padding: 10px 10px 12px;
}

.review-rec-name {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h2);
}

.review-rec-name-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 12px 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.68) 62%, rgba(2, 6, 23, 0.85) 100%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.review-rec-foreign {
  color: #6b7280;
  font: 600 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-rec-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-rec-score-label {
  color: #111827;
  font: 700 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.review-rec-comment {
  color: #2b2f38;
  font-size: 16px;
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  word-break: break-word;
  white-space: pre-wrap;
}

.review-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.review-image-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

.review-image-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

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

.menu-text-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.menu-text-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e5dfd4;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.menu-text-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.menu-text-name {
  color: #111827;
  font: 700 14px/1.25 "Noto Sans SC", "PingFang SC", sans-serif;
}

.menu-text-sub {
  color: #6b7280;
  font: 500 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.menu-text-price {
  color: #111827;
  font: 800 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
  flex-shrink: 0;
}

.info-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.info-line + .info-line {
  padding-top: 12px;
  border-top: 1px solid #ece7dc;
}

.info-split {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.info-panel {
  display: grid;
  gap: 14px;
}

.info-text {
  color: #6b7280;
  font: 600 14px/1.7 "Noto Sans SC", "PingFang SC", sans-serif;
}

.info-value {
  color: #111827;
  font: 600 14px/1.7 "Noto Sans SC", "PingFang SC", sans-serif;
}

.info-value.is-closed {
  color: #b91c1c;
}

.info-status {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.section-block--hours .info-text {
  color: #111827;
  font-weight: var(--font-weight-h3);
}

.section-block--hours .info-value {
  font-weight: 400;
}

.section-block--hours .info-status {
  font-weight: 400;
}

.info-hours {
  display: grid;
  gap: 4px;
}

.info-action-link {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-contact-btn {
  height: 40px;
  padding: 0 16px;
  border: 1px solid #d7cfc2;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: 700 14px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.info-contact-btn:hover {
  background: #f9f7f3;
}

.contact-phone-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.contact-phone-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.contact-phone-panel {
  position: relative;
  width: min(420px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #e5dfd4;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.contact-phone-title {
  color: #111827;
  font: 700 18px/1.35 "Noto Sans SC", "PingFang SC", sans-serif;
}

.contact-phone-list {
  display: grid;
  gap: 8px;
}

.contact-phone-link {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 2px;
  font: 600 16px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
}

.contact-phone-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-phone-close {
  min-width: 84px;
}

.arrive-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  padding: 0;
}

.arrive-left {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 12px;
}

.arrive-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.arrive-label {
  color: #6b7280;
  font: 700 13px/1.6 "Noto Sans SC", "PingFang SC", sans-serif;
}

.arrive-value {
  color: #111827;
  font: 600 14px/1.7 "Noto Sans SC", "PingFang SC", sans-serif;
}

.arrive-card .arrive-label {
  color: #111827;
  font-weight: var(--font-weight-h3);
}

.arrive-card .arrive-value {
  font-weight: 400;
}

.address-line-list {
  display: grid;
  gap: 8px;
}

.addr-line {
  display: grid;
  gap: 2px;
}

.addr-text {
  overflow-wrap: anywhere;
}

.addr-note {
  color: #6b7280;
  font: 500 12px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.arrive-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font: 700 13px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.arrive-nav-btn.is-disabled {
  background: #cbd5e1;
  color: #475569;
}

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

.post-column {
  display: grid;
  gap: 14px;
}

.related-post-card {
  display: grid;
  gap: 10px;
  border: 1px solid #e5dfd4;
  border-radius: 22px;
  background: #fff;
  padding: 10px;
  text-decoration: none;
  color: inherit;
}

.post-img,
.post-img-empty {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  display: block;
}

.post-img {
  object-fit: cover;
}

.post-img-empty {
  display: grid;
  place-items: center;
  background: #eceff4;
  color: #6b7280;
  font: 700 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-title {
  color: #111827;
  font: 700 15px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-avatar,
.post-avatar-fallback {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.post-avatar {
  object-fit: cover;
  display: block;
  background: #eceff4;
}

.post-avatar-fallback {
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font: 800 11px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-nickname,
.post-date {
  color: #6b7280;
  font: 600 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif;
}

.post-date {
  margin-left: auto;
}

@media (max-width: 1080px) {
  .hero-cover {
    min-height: 380px;
  }

  .feel-grid,
  .menu-grid-web,
  .post-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-score-block {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-bottom: 0;
  }

  .hero-bars {
    --hero-bars-space: 12px;
    border-left: 0;
    border-top: 1px solid #e5dfd4;
    padding-left: 0;
    padding-top: 14px;
  }

  .hero-review-count {
    position: static;
    right: auto;
    bottom: auto;
    margin-top: 10px;
  }

  .hero-score-line:first-child .hero-score-circle,
  .hero-score-line:last-child .hero-score-circle {
    justify-self: center;
  }

  .shop-hero-v2 > * + *,
  .shop-detail > * + *,
  .detail-article > * + * {
    margin-top: 30px;
    padding-top: 30px;
  }

  .shop-detail > .hero-full + .detail-page {
    margin-top: 30px;
    padding-top: 30px;
  }

  .shop-detail > .section-block + .hero-full {
    border-top: 1px solid #e5dfd4;
    margin-top: 30px;
    padding-top: 30px;
  }

  .hero-cover {
    min-height: 300px;
    border-radius: 22px;
  }

  .hero-info {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-score-row,
  .feel-grid,
  .menu-grid-web,
  .menu-text-list,
  .post-masonry {
    grid-template-columns: 1fr;
  }

  .info-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .section-block {
    padding: 0;
    border-radius: 22px;
  }

  .review-head-row,
  .arrive-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .review-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-rec-list {
    grid-auto-columns: minmax(190px, 250px);
  }

  .info-line,
  .arrive-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .arrive-nav-btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .ai-admin-grid-chat,
  .ai-admin-grid-sync,
  .ai-admin-meta-grid,
  .ai-admin-kb-layout,
  .ai-admin-inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ai-admin-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-admin-actions .btn {
    width: 100%;
  }
}

/* Keep border tones consistent across all pages. */
body *,
body *::before,
body *::after {
  border-color: var(--border-unified);
}

/* Force admin pages/components to keep gray borders in all states. */
.admin-page,
.admin-page *,
.admin-page *::before,
.admin-page *::after,
[class^="admin-"],
[class^="admin-"]::before,
[class^="admin-"]::after,
[class*=" admin-"],
[class*=" admin-"]::before,
[class*=" admin-"]::after {
  border-color: var(--border-unified) !important;
}

/* Keep admin-side form fields square across management pages. */
.admin-page :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea),
.addshop-page :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea),
.shop-editor-nav-right :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}

/* Keep search inputs pill-shaped across management pages. */
.admin-post-list-search-row .input,
.admin-user-search-row > #keywordInput,
.admin-toolbar.admin-toolbar-review > #keywordInput,
.admin-geo-search-input,
.ai-admin-grid-sync > .ai-admin-field-search .input,
.shop-search-input-web,
.admin-page input[placeholder*="搜索"],
.shop-page input[placeholder*="搜索"],
.addshop-page input[placeholder*="搜索"],
.shop-editor-nav-right input[placeholder*="搜索"] {
  border-radius: 999px !important;
  -webkit-border-radius: 999px !important;
}

/* Keep all pagination rows aligned the same way. */
.pager-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.pager-info {
  order: -1;
  margin-right: auto;
  min-height: 41px;
  display: inline-flex;
  align-items: flex-end;
  text-align: left;
}

.pager-nav-btn {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pager-nav-btn:hover,
.pager-nav-btn:focus-visible {
  background: transparent !important;
}

/* Unify management-page visual theme. */
.admin-page,
.shop-page,
.addshop-page {
  --line: #d1d5db;
  --border-unified: #d1d5db;
  --admin-surface-bg: #f3f4f6;
}

.shop-page,
.shop-page *,
.shop-page *::before,
.shop-page *::after,
.addshop-page,
.addshop-page *,
.addshop-page *::before,
.addshop-page *::after {
  border-color: var(--border-unified) !important;
}

.admin-page :is(.input, textarea, .admin-review-segmented-btn, .admin-post-table th, .admin-review-table th, .admin-user-table th, .admin-geo-table th, .ai-admin-table th, .admin-post-cover-empty, .admin-post-cover-thumb, .ai-admin-checkbox-card, .ai-admin-callout, .ai-admin-result-pre),
.shop-page :is(.input, .shop-search-input-web, .filter-pill),
.addshop-page :is(.input, textarea) {
  background: var(--admin-surface-bg) !important;
}

.shop-page .shop-search-wrap-web > .shop-search-input-web {
  border-radius: 999px !important;
  -webkit-border-radius: 999px !important;
}

/* Enlarge management-page form content and placeholders. */
.admin-page :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea),
.shop-page :is(.input, .shop-search-input-web, .filter-pill, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea),
.addshop-page :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea),
.shop-editor-nav-right :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
  font-size: var(--font-size-form) !important;
  line-height: var(--line-height-form) !important;
}

.admin-page :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea)::placeholder,
.shop-page :is(.input, .shop-search-input-web, .filter-pill, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea)::placeholder,
.addshop-page :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea)::placeholder,
.shop-editor-nav-right :is(.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea)::placeholder {
  font-size: var(--font-size-form) !important;
  line-height: var(--line-height-form) !important;
}

/* Unify management-page dropdowns, button labels, and status copy. */
.admin-page :is(select, button, .btn, .admin-review-segmented-btn, .post-create-choice-btn, .muted, .pager-info, .admin-field-help, .admin-review-status, .ai-admin-status),
.shop-page :is(select, button, .btn, .muted, .pager-info, .shop-page-info, .poi-map-status),
.addshop-page :is(select, button, .btn, .muted, .pager-info, .shop-page-info, .admin-field-help, .poi-map-status) {
  font-size: var(--font-size-body) !important;
  line-height: var(--line-height-body) !important;
}

.shop-page .shop-list .shop-card {
  box-shadow: none;
}

.admin-page :is(button, .btn),
.shop-page :is(button, .btn),
.addshop-page :is(button, .btn) {
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 999px !important;
  -webkit-border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.admin-page :is(button, .btn):hover,
.admin-page :is(button, .btn):focus-visible,
.shop-page :is(button, .btn):hover,
.shop-page :is(button, .btn):focus-visible,
.addshop-page :is(button, .btn):hover,
.addshop-page :is(button, .btn):focus-visible {
  background: #111 !important;
}

/* Keep filter "show more/collapse" as plain text buttons. */
.shop-page .shop-filter-show-more,
.shop-page .shop-filter-show-more:hover,
.shop-page .shop-filter-show-more:focus-visible {
  background: transparent !important;
  color: #111827 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Keep right-side admin containers white instead of gray. */
.admin-page :is(.card, .admin-toolbar-card, .post-create-section, .admin-panel-card),
.shop-page :is(.card, .top-controls-card, .shop-list .shop-card, .shop-list .cover-box),
.addshop-page :is(.draft-strip, .json-preview, .pick-item, .geo-admin-suggest) {
  background: #fff !important;
}

/* Keep the outer right-side content wrappers white as well. */
.admin-page,
.admin-module-root,
.admin-panel-body,
.admin-content,
.admin-content.is-embed,
.admin-content.is-group,
.admin-content.is-welcome,
.admin-page > :is(.admin-content, .admin-post-card, .admin-geo-edit-card),
.shop-editor-nav-right,
.addshop-card {
  background: #fff !important;
}

/* Keep admin dashboard group views fully white on the right panel. */
.admin-layout > .admin-content,
.admin-layout > .admin-content.is-group,
.admin-layout > .admin-content.is-group > .admin-panel-body,
.admin-layout > .admin-content.is-group > .admin-panel-body > .admin-panel-card,
.admin-layout > .admin-content.is-group > .admin-panel-body > .admin-action-grid {
  background: #fff !important;
}

/* Keep AI management panels white. */
.admin-page :is(.ai-admin-stack, .ai-admin-grid, .ai-admin-inline, .ai-admin-kb-editor, .ai-admin-kb-list) {
  background: #fff !important;
}

/* Keep post upload placeholders as 4:5 light-gray cards. */
.admin-page .post-image-item,
.admin-page .post-image-add-card {
  height: auto !important;
  aspect-ratio: 4 / 5;
}

.admin-page .post-image-add-card {
  border: 1px dashed var(--border-unified) !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  background: var(--admin-surface-bg) !important;
  color: #374151 !important;
}

.admin-page .post-image-add-card:hover,
.admin-page .post-image-add-card:focus-visible {
  background: var(--admin-surface-bg) !important;
  color: #374151 !important;
}

/* Sidebar navigation should be plain text on a light-gray panel. */
.admin-sidebar {
  background: #eceff3 !important;
  border-radius: 16px !important;
  -webkit-border-radius: 16px !important;
}

.admin-sidebar h2 {
  display: none;
}

.admin-sidebar .admin-menu {
  gap: 0;
}

.admin-sidebar .admin-menu-item,
.admin-sidebar .admin-menu-item:hover,
.admin-sidebar .admin-menu-item:focus-visible,
.admin-sidebar .admin-menu-item.active,
.admin-sidebar .admin-menu-item.admin-menu-item-danger,
.admin-sidebar .admin-menu-item.admin-menu-item-danger.active {
  width: 100%;
  height: 48px;
  padding: 0;
  border: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  font-weight: 700;
}

.admin-sidebar .admin-menu-item:last-child {
  border-bottom: 0 !important;
}

/* Keep shop menu-image upload cards aligned with post upload style. */
.addshop-page .menu-image-thumb-btn-web {
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  background: #fff !important;
  color: #374151 !important;
  box-shadow: none !important;
}

.addshop-page .menu-image-add-card-web {
  border: 1px dashed var(--border-unified) !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  background: var(--admin-surface-bg) !important;
  color: #374151 !important;
  box-shadow: none !important;
}

.addshop-page .menu-image-add-card-web:hover,
.addshop-page .menu-image-add-card-web:focus-visible {
  background: var(--admin-surface-bg) !important;
  color: #374151 !important;
}

.addshop-page .pager-nav-btn,
.addshop-page .pager-nav-btn:hover,
.addshop-page .pager-nav-btn:focus-visible {
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
}

.addshop-page .shop-cover-upload-card,
.addshop-page .shop-cover-upload-card:hover,
.addshop-page .shop-cover-upload-card:focus-visible {
  border: 1px dashed var(--border-unified) !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  background: var(--admin-surface-bg) !important;
  color: #374151 !important;
  box-shadow: none !important;
}

.addshop-page .shop-cover-upload-card:disabled {
  background: var(--admin-surface-bg) !important;
  color: #374151 !important;
}

.shop-cover-crop-modal-content {
  width: min(720px, calc(100vw - 24px));
}

.shop-cover-crop-note {
  margin-top: -4px;
}

.shop-cover-crop-canvas-wrap {
  max-height: none;
}

/* Typography normalization */
.promo-banner h2,
.shop-head h1,
.shop-detail-head h1,
.admin-page h1.admin-title-module,
.admin-hero h1,
.admin-content-head h1,
.admin-geo-edit-card h1,
.editor-head h1,
.addshop-head h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-h1);
}

.filter-head h2,
.section-head h2,
.category-block-head h3,
.post-main h3,
.shop-main h3,
.panel-head h2,
.admin-geo-section-title,
.copy-modal-title,
.ai-admin-answer h3,
.ai-admin-kb-editor h3,
.ai-admin-kb-list h3,
.single-post-latest-head h3,
.single-post-sidebar-head h2,
.shop-detail-menu h2,
.shop-hot-sidebar-head h2,
.section-title {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h2);
}

.weekly-hot-main h3,
.trending-head h3,
.trending-title,
.category-post h3,
.shop-list .name,
.admin-panel-card h3,
.admin-geo-country-name,
.admin-geo-level-name,
.admin-geo-row-title,
.ai-admin-entity-title,
.pick-main h3,
.form-label,
.shop-detail-meta-card h3,
.shop-detail-menu-title,
.item-name-bold,
.review-nickname,
.menu-text-name,
.post-title,
.single-post-latest-title,
.single-post-section-title,
.single-post-top-feature-text,
.single-post-top-name,
.single-post-rank-index,
.single-post-rank-title,
.single-post-release-shop-name,
.single-post-action-number,
.single-post-related-title,
.shop-hot-name {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

.promo-banner p,
.post-main p,
.admin-geo-empty,
.admin-geo-loading,
.admin-geo-loadmore-text,
.shop-search-input-web,
.rec-comment,
.info-value,
.arrive-value,
.poi-map-status,
.poi-result-ll,
.single-post-hero-meta,
.single-post-release-row > strong,
.single-post-release-shop-sub,
.shop-detail-content,
.shop-detail-meta-card p,
.shop-detail-eat-meta,
.ai-admin-entity-subtitle {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.single-post-content {
  font-size: 16px;
  line-height: var(--line-height-body);
}

.meta-bar,
.promo-kicker,
.featured-hero-tag,
.featured-hero-author,
.trending-time,
.category-post-meta-row,
.muted,
.shop-count,
.shop-page-info,
.shop-list .multilang,
.shop-list .score-label,
.shop-list .score-badge,
.admin-geo-country-count,
.admin-geo-level-count,
.admin-geo-row-subtitle,
.admin-geo-badge,
.admin-geo-alias,
.ai-admin-field > label,
.ai-admin-meta-label,
.ai-admin-pill,
.ai-admin-kv-key,
.hero-meta-text,
.hero-score-desc,
.hero-review-count,
.hero-bar-label,
.rec-score-label,
.rec-score-value,
.rec-rating-label,
.rec-mention,
.review-sort-btn,
.review-time,
.review-pro-tag,
.review-score-badge,
.menu-text-sub,
.menu-text-price,
.info-text,
.arrive-label,
.addr-note,
.arrive-nav-btn,
.post-nickname,
.post-date,
.single-post-latest-meta,
.single-post-top-feature-date,
.single-post-rank-date,
.single-post-top-rank,
.single-post-top-meta,
.single-post-release-row > span,
.single-post-release-chip,
.single-post-action-label,
.shop-detail-score-label,
.shop-detail-score-badge,
.shop-detail-pill,
.shop-hot-meta,
.footer-inner {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
}

.shop-detail .info-text,
.shop-detail .arrive-label {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

.shop-hot-sidebar .shop-hot-name {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 700;
}

.shop-hot-sidebar .shop-hot-meta {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-caption);
}

.shop-hot-sidebar .shop-hot-category {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-caption);
}

/* Home category post typography override */
.home-page .category-post h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

.home-page .featured-hero-title,
.home-page .trending-title .post-link,
.home-page .category-post h3 .post-link {
  font-weight: 700;
}

/* Keep homepage module titles visibly bold after typography normalization. */
.home-page .weekly-hot-head h2,
.home-page .category-block-head h3 {
  font-weight: 800;
}

.home-page .category-block-head h3 .post-link {
  font-weight: inherit;
}

.home-page .category-post .category-post-meta-row {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-caption);
  color: rgba(226, 232, 240, 0.88);
}

.home-page .category-block-more-link {
  font-weight: var(--font-weight-body);
}

.home-index-page .nav-bar .chip {
  font-size: 14px;
  font-weight: 400;
}

.home-index-page .nav-bar .site-location-pill.nav-location-pill {
  font-size: 14px;
  font-weight: 400;
}

.home-index-page .nav-search-input,
.home-index-page .nav-search-input::placeholder,
.home-index-page .nav-bar .wx-login-btn {
  font-size: 14px;
}

.home-index-page .nav-search-input,
.home-index-page .nav-bar .wx-login-btn {
  height: 30px;
}

.home-index-page .nav-bar .wx-login-btn.wx-login-btn-round {
  min-width: auto;
  width: auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
}

.home-index-page .nav-bar .wx-login-btn,
.home-index-page .nav-bar .wx-login-btn:hover,
.home-index-page .nav-bar .wx-login-btn:focus-visible {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.nav-user-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-bar .wx-login-btn.wx-login-btn-round.nav-user-avatar-btn {
  width: 41px;
  min-width: 41px;
  height: 41px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.home-index-page .nav-bar .wx-login-btn.wx-login-btn-round.nav-user-avatar-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
}

.nav-bar .wx-login-btn.wx-login-btn-round.nav-user-hamburger-btn {
  width: 41px;
  min-width: 41px;
  height: 41px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.home-index-page .nav-bar .wx-login-btn.wx-login-btn-round.nav-user-hamburger-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
}

.nav-user-hamburger-icon {
  width: 17px;
  height: 13px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-user-hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #f8fafc;
}

.nav-user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-user-avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font: 700 12px/1 "Noto Sans SC", "PingFang SC", sans-serif;
}

.nav-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 138px;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  z-index: 60;
}

.nav-user-dropdown.is-open {
  display: grid;
  gap: 2px;
}

.nav-user-menu-item {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0f172a;
  text-align: left;
  padding: 0 10px;
  font: 500 14px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  cursor: pointer;
}

.nav-user-menu-item:hover,
.nav-user-menu-item:focus-visible {
  background: rgba(15, 23, 42, 0.08);
  outline: none;
}

.nav-user-menu-item-danger {
  color: #b91c1c;
}

/* Keep detail modules separated after section-block border reset. */
.detail-article > .section-block {
  border-radius: 0;
}

.detail-article > .section-block + .section-block {
  border-top: 1px solid #e5dfd4;
  margin-top: 30px;
  padding-top: 30px;
}

/* Keep divider and spacing consistent between selected detail modules. */
.detail-article > .section-block--vibe + .section-block--rec,
.detail-article > .section-block--rec + .section-block--review,
.detail-article > .section-block--review + .section-block--menu,
.detail-article > .section-block--menu + .section-block--hours {
  border-top: 1px solid #e5dfd4;
  margin-top: 30px;
  padding-top: 30px;
}

@media (max-width: 860px) {
  .detail-article > .section-block + .section-block {
    margin-top: 30px;
    padding-top: 30px;
  }

  .detail-article > .section-block--vibe + .section-block--rec,
  .detail-article > .section-block--rec + .section-block--review,
  .detail-article > .section-block--review + .section-block--menu,
  .detail-article > .section-block--menu + .section-block--hours {
    border-top: 1px solid #e5dfd4;
    margin-top: 30px;
    padding-top: 30px;
  }
}


/* Final override: keep the manage-shop keyword field pill-shaped in admin embed mode. */
.shop-page .top-controls-card .shop-search-wrap-web > #filterKeyword.shop-search-input-web {
  border-radius: 999px !important;
  -webkit-border-radius: 999px !important;
}
