:root {
  --bg: #f4ede3;
  --bg-strong: #fffaf3;
  --card: rgba(255, 251, 245, 0.82);
  --card-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(83, 61, 38, 0.12);
  --line-strong: rgba(83, 61, 38, 0.2);
  --text: #201a17;
  --muted: #6f645a;
  --accent: #cf5f34;
  --accent-deep: #9f3d18;
  --accent-soft: #f2d2bf;
  --highlight: #f4c56f;
  --success: #17745f;
  --danger: #b8403e;
  --shadow-lg: 0 24px 70px rgba(80, 46, 17, 0.12);
  --shadow-md: 0 16px 40px rgba(80, 46, 17, 0.1);
  --shadow-sm: 0 10px 24px rgba(80, 46, 17, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244, 197, 111, 0.45), transparent 26rem),
    radial-gradient(circle at top right, rgba(207, 95, 52, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbf5eb 0%, #f1e6d6 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 85%);
  pointer-events: none;
}

.portal-page {
  color: #eef6f4;
  background:
    radial-gradient(circle at 14% 12%, rgba(83, 223, 190, 0.18), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(97, 127, 255, 0.24), transparent 22rem),
    linear-gradient(180deg, #08111c 0%, #0c1827 42%, #11253a 100%);
}

.portal-page::before {
  background-image:
    linear-gradient(rgba(185, 214, 221, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 214, 221, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 92%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.page-shell--compact {
  width: min(760px, calc(100vw - 32px));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.topbar--compact {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 28px;
}

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

.brand-lockup--compact {
  gap: 12px;
  min-width: 0;
}

.brand-lockup__mark {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  padding: 8px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 223, 194, 0.9));
  box-shadow: 0 12px 26px rgba(166, 63, 24, 0.16);
}

.brand-lockup__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-lockup__content {
  min-width: 0;
}

.brand-lockup__line {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.topbar-flag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-lockup__title {
  margin: 4px 0 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.1;
}

.brand-lockup__subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-card,
.panel,
.login-card,
.section-card,
.shop-card,
.dashboard-card,
.review-card,
.editor-card,
.empty-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.hero-card::after,
.panel::after,
.login-card::after,
.section-card::after,
.shop-card::after,
.dashboard-card::after,
.editor-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 197, 111, 0.28), transparent 70%);
  pointer-events: none;
}

.hero-card {
  padding: 30px;
}

.hero-card--compact {
  padding: 22px 24px;
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
}

.hero-grid--compact {
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.hero-copy__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-copy h1,
.section-title,
.panel-title,
.dashboard-title,
.card-title {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
}

.hero-copy p {
  margin: 16px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-copy--compact h1 {
  font-size: clamp(28px, 6vw, 52px);
}

.hero-copy--compact p {
  margin-top: 10px;
  max-width: none;
  font-size: 14px;
  line-height: 1.75;
}

.hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.hero-meta-line strong {
  color: var(--text);
  font-size: 13px;
}

.hero-badges,
.stats-row,
.quick-filters,
.shop-card__contacts,
.action-row,
.topbar-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-actions form,
.action-row form {
  margin: 0;
}

.hero-badge,
.stat-chip,
.tiny-pill,
.category-badge,
.rating-badge,
.contact-pill,
.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.hero-badge strong,
.stat-chip strong {
  font-size: 16px;
}

.hero-badges--compact {
  margin-top: 14px;
  gap: 8px;
}

.hero-badges--compact .hero-badge {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 12px;
}

.search-card {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 237, 223, 0.9));
  border: 1px solid rgba(83, 61, 38, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.search-card h2 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--accent-deep);
}

.search-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.search-card--compact {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 22px;
}

.search-card .search-card__micro {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.search-card .search-card__micro span {
  margin: 0 4px;
}

.portal-hero__panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-form--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.input,
.textarea,
.select,
.search-input {
  width: 100%;
  border: 1px solid rgba(83, 61, 38, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.input:focus,
.textarea:focus,
.select:focus,
.search-input:focus {
  border-color: rgba(207, 95, 52, 0.5);
  box-shadow: 0 0 0 4px rgba(207, 95, 52, 0.12);
}

.textarea {
  min-height: 132px;
  resize: vertical;
}

.search-input {
  min-height: 54px;
}

.search-form--compact .search-input {
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 16px;
}

.search-form--compact .search-button {
  min-width: 84px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 16px;
}

.button,
.button-secondary,
.button-danger,
.search-button,
.contact-button,
.tiny-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button,
.search-button,
.contact-button {
  color: #fff9f2;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 32px rgba(159, 61, 24, 0.22);
}

.button-secondary,
.tiny-button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.button-danger,
.tiny-button--danger {
  color: #fff6f3;
  background: linear-gradient(135deg, #c64f45, #a53030);
  box-shadow: 0 16px 28px rgba(165, 48, 48, 0.2);
}

.button:hover,
.button-secondary:hover,
.button-danger:hover,
.search-button:hover,
.contact-button:hover,
.tiny-button:hover {
  transform: translateY(-1px);
}

.button:active,
.button-secondary:active,
.button-danger:active,
.search-button:active,
.contact-button:active,
.tiny-button:active {
  transform: translateY(0);
}

.overview-grid,
.dashboard-grid {
  display: grid;
  gap: 22px;
}

.overview-grid {
  margin-top: 22px;
}

.dashboard-grid {
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  align-items: start;
}

.admin-workspace {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  grid-template-areas: "main sidebar";
  align-items: start;
}

.admin-main {
  grid-area: main;
}

.admin-sidebar {
  grid-area: sidebar;
}

.admin-sidebar > * + * {
  margin-top: 22px;
}

.admin-sidebar__panel {
  padding: 22px;
}

.admin-sidebar__panel--sticky {
  position: sticky;
  top: 24px;
}

.panel,
.dashboard-card,
.editor-card,
.section-card {
  padding: 24px;
}

.panel-title,
.dashboard-title,
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
}

.panel--compact {
  padding: 18px 20px;
}

.panel-head--compact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.panel-title--compact {
  font-size: clamp(20px, 4vw, 28px);
}

.panel-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.panel-note--inline {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}

.section-meta,
.panel-subtitle,
.muted-text,
.inline-note,
.topbar-link,
.review-meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.filter-panel {
  margin-top: 14px;
}

.filter-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
}

.filter-panel summary::-webkit-details-marker {
  display: none;
}

.filter-panel__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}

.filter-panel__action::after {
  content: "▾";
  transition: transform 180ms ease;
}

.filter-panel[open] .filter-panel__action::after {
  transform: rotate(180deg);
}

.quick-filters {
  margin-top: 18px;
}

.quick-filters--summary {
  margin-top: 0;
  gap: 8px;
}

.quick-filters--scroller {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.quick-filters--scroller::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.category-chip:hover {
  border-color: rgba(207, 95, 52, 0.38);
  transform: translateY(-1px);
}

.category-chip--active {
  color: #fff9f2;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 16px 30px rgba(159, 61, 24, 0.22);
}

.category-chip__count {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(32, 26, 23, 0.08);
  font-size: 12px;
  font-weight: 800;
  line-height: 26px;
  text-align: center;
}

.category-chip--active .category-chip__count {
  color: var(--accent-deep);
  background: rgba(255, 250, 243, 0.88);
}

.category-chip--compact {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  white-space: nowrap;
  font-size: 13px;
}

.category-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.filter-panel--compact {
  margin-top: 10px;
}

.filter-panel--compact summary {
  align-items: center;
}

.category-grid--compact {
  margin-top: 14px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.portal-home-shell {
  position: relative;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.portal-home__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(154, 191, 202, 0.16);
  border-radius: 28px;
  background: rgba(7, 16, 28, 0.64);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(3, 9, 18, 0.26);
}

.portal-home__brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.portal-home__brand-mark {
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  padding: 9px;
  border-radius: 24px;
  border: 1px solid rgba(153, 236, 217, 0.18);
  background: linear-gradient(145deg, rgba(225, 255, 249, 0.12), rgba(37, 87, 117, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(3, 9, 18, 0.28);
}

.portal-home__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
}

.portal-home__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ff0d6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portal-home__brand-title {
  display: block;
  margin-top: 8px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(24px, 3vw, 34px);
  color: #f4fbff;
  line-height: 1.08;
}

.portal-home__flag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(154, 191, 202, 0.14);
  background: rgba(10, 22, 35, 0.72);
  color: #cfdee4;
  font-size: 13px;
  font-weight: 700;
}

.portal-home__main > * + * {
  margin-top: 24px;
}

.portal-home__hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.78fr);
  padding: 36px;
  border: 1px solid rgba(154, 191, 202, 0.16);
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(10, 20, 33, 0.92), rgba(13, 30, 49, 0.78));
  box-shadow: 0 30px 90px rgba(3, 9, 18, 0.34);
}

.portal-home__hero::before {
  content: "";
  position: absolute;
  inset: -18% auto auto 46%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 127, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.portal-home__hero::after {
  content: "";
  position: absolute;
  inset: auto auto -24% -4%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 223, 190, 0.18), transparent 70%);
  pointer-events: none;
}

.portal-home__hero-copy,
.portal-home__spotlight {
  position: relative;
  z-index: 1;
}

.portal-home__hero-copy h1 {
  margin: 16px 0 0;
  max-width: 10ch;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #f4fbff;
}

.portal-home__hero-copy p {
  margin: 18px 0 0;
  max-width: 40ch;
  color: rgba(226, 239, 245, 0.78);
  font-size: 15px;
  line-height: 1.95;
}

.portal-home__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.portal-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #9ef0db, #4fc5ca);
  color: #07131d;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(79, 197, 202, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.portal-home__button:hover {
  transform: translateY(-1px);
}

.portal-home__button:active {
  transform: translateY(0);
}

.portal-home__button--ghost {
  background: rgba(7, 18, 29, 0.24);
  color: #eef6f4;
  border: 1px solid rgba(154, 191, 202, 0.18);
  box-shadow: none;
}

.portal-home__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(154, 191, 202, 0.16);
  border-radius: 999px;
  background: rgba(8, 19, 30, 0.46);
  color: #d8e7eb;
  font-size: 13px;
  font-weight: 700;
}

.portal-home__status strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  color: #8ff0d6;
}

.portal-home__spotlight {
  padding: 24px;
  border: 1px solid rgba(154, 191, 202, 0.16);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(232, 245, 255, 0.08), rgba(113, 164, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portal-home__spotlight h2 {
  margin: 12px 0 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  color: #f4fbff;
}

.portal-home__spotlight p {
  margin: 14px 0 0;
  color: rgba(219, 232, 238, 0.78);
  line-height: 1.85;
}

.portal-home__spotlight-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.portal-home__service-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.portal-home__service-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(154, 191, 202, 0.14);
}

.portal-home__service-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.portal-home__service-copy strong {
  display: block;
  color: #f4fbff;
  font-size: 17px;
  line-height: 1.3;
}

.portal-home__service-copy span {
  display: block;
  margin-top: 6px;
  color: rgba(219, 232, 238, 0.74);
  font-size: 13px;
  line-height: 1.7;
}

.portal-home__service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.portal-home__service-badge--live {
  background: rgba(143, 240, 214, 0.16);
  border: 1px solid rgba(143, 240, 214, 0.22);
  color: #9ef0db;
}

.portal-home__service-badge--soon {
  background: rgba(115, 168, 255, 0.12);
  border: 1px solid rgba(115, 168, 255, 0.18);
  color: #bbd2ff;
}

.portal-home__spotlight-list li {
  position: relative;
  padding-left: 18px;
  color: #dce8ee;
  line-height: 1.72;
}

.portal-home__spotlight-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9ef0db, #73a8ff);
  box-shadow: 0 0 0 6px rgba(158, 240, 219, 0.08);
}

.portal-home__section {
  padding: 28px;
  border: 1px solid rgba(154, 191, 202, 0.14);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.78), rgba(10, 22, 34, 0.94));
  box-shadow: 0 24px 70px rgba(3, 9, 18, 0.28);
}

.portal-home__section--compact {
  padding-top: 24px;
  padding-bottom: 24px;
}

.portal-home__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.portal-home__section-head h2 {
  margin: 10px 0 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 4.3vw, 46px);
  line-height: 1.05;
  color: #f4fbff;
}

.portal-home__section-head p {
  margin: 0;
  max-width: 28ch;
  color: rgba(216, 230, 236, 0.72);
  font-size: 14px;
  line-height: 1.85;
}

.portal-home__cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-home__card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(154, 191, 202, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 28, 42, 0.86), rgba(10, 21, 32, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.portal-home__card--accent {
  background: linear-gradient(145deg, rgba(143, 240, 214, 0.12), rgba(77, 126, 214, 0.18));
  border-color: rgba(143, 240, 214, 0.18);
}

.portal-home__card-kicker {
  color: #8ff0d6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-home__card h3 {
  margin: 14px 0 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  line-height: 1.18;
  color: #f4fbff;
}

.portal-home__card p {
  margin: 14px 0 0;
  color: rgba(218, 231, 237, 0.76);
  line-height: 1.85;
}

.portal-home__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.portal-home__text-link {
  display: inline-flex;
  margin-top: 18px;
  color: #8ff0d6;
  font-weight: 700;
}

.portal-home__community-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.portal-home__community-chip {
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid rgba(154, 191, 202, 0.14);
  border-radius: 22px;
  background: rgba(9, 19, 30, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portal-home__community-chip strong {
  display: block;
  color: #f4fbff;
  font-size: 16px;
}

.portal-home__community-chip span {
  display: block;
  margin-top: 6px;
  color: rgba(204, 219, 226, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.portal-page .site-footer {
  margin-top: 24px;
}

.portal-page .site-footer__inner {
  border-color: rgba(154, 191, 202, 0.14);
  background: rgba(7, 16, 28, 0.64);
  box-shadow: 0 20px 50px rgba(3, 9, 18, 0.26);
}

.portal-page .site-footer__brand p,
.portal-page .site-footer__copy {
  color: rgba(207, 222, 228, 0.74);
}

.portal-page .site-footer__link {
  color: #8ff0d6;
}

.portal-project-grid,
.community-mini-grid,
.portal-feature-grid {
  display: grid;
  gap: 18px;
}

.portal-project-grid,
.community-mini-grid {
  margin-top: 22px;
}

.portal-project-grid,
.portal-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.community-mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portal-project-card,
.feature-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 235, 220, 0.82));
  box-shadow: var(--shadow-md);
}

.portal-project-card::after,
.feature-panel::after {
  content: "";
  position: absolute;
  inset: auto -5% -20% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 197, 111, 0.22), transparent 72%);
  pointer-events: none;
}

.portal-project-card--live {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(250, 232, 210, 0.9)),
    linear-gradient(135deg, rgba(207, 95, 52, 0.08), rgba(159, 61, 24, 0.04));
}

.portal-project-card__top,
.site-footer__inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.portal-project-card__title {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 30px);
}

.portal-project-card__summary {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.portal-project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.shop-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.shop-card {
  display: block;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 95, 52, 0.26);
}

.shop-card__head,
.row-between {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.shop-card__title {
  margin: 0;
  font-size: 23px;
}

.shop-card__summary,
.section-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.preserve-lines {
  white-space: pre-line;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.rating-badge {
  background: rgba(255, 248, 234, 0.9);
  color: #8b5a11;
}

.rating-badge--muted {
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
}

.contact-pill {
  min-height: 0;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.contact-pill small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.empty-card {
  padding: 42px 24px;
  text-align: center;
}

.empty-card h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
}

.empty-card p {
  margin: 12px auto 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.8;
}

.detail-hero {
  padding: 28px;
}

.detail-hero__meta,
.stats-grid,
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-grid {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 238, 224, 0.84));
}

.contact-card strong {
  display: block;
  font-size: 18px;
}

.contact-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.contact-card .contact-button {
  width: 100%;
  margin-top: 14px;
}

.review-card {
  padding: 18px;
  border-radius: var(--radius-md);
}

.review-card p {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field label,
.field__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.status-banner {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
}

.status-banner--success {
  color: var(--success);
  background: rgba(23, 116, 95, 0.12);
}

.status-banner--error {
  color: var(--danger);
  background: rgba(184, 64, 62, 0.12);
}

.stats-grid {
  margin-top: 18px;
}

.stat-card {
  min-width: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-size: 28px;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.admin-shortcuts {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.admin-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.admin-shortcut:hover {
  transform: translateY(-1px);
  border-color: rgba(207, 95, 52, 0.34);
  box-shadow: 0 18px 28px rgba(128, 84, 44, 0.12);
}

.admin-shortcut__copy {
  display: grid;
  gap: 4px;
}

.admin-shortcut__copy strong {
  font-size: 16px;
}

.admin-shortcut__copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.admin-shortcut__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(32, 26, 23, 0.08);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.admin-shortcut--priority {
  color: #fff8ef;
  border-color: transparent;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 22px 36px rgba(159, 61, 24, 0.22);
}

.admin-shortcut--priority .admin-shortcut__copy small {
  color: rgba(255, 244, 233, 0.78);
}

.admin-shortcut--priority .admin-shortcut__badge {
  background: rgba(255, 248, 240, 0.88);
  color: var(--accent-deep);
}

.admin-search-bar {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 238, 224, 0.72));
  box-shadow: var(--shadow-sm);
}

.admin-search-bar__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.admin-search-bar__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

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

.admin-search-bar__clear {
  min-height: 42px;
}

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

.shop-editor {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.shop-editor__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1fr) auto;
  align-items: end;
}

.tiny-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
}

.tiny-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.review-queue {
  display: grid;
  gap: 14px;
}

.review-queue-panel__body {
  margin-top: 18px;
  max-height: min(68vh, 760px);
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(207, 95, 52, 0.34) transparent;
}

.review-queue-panel__body::-webkit-scrollbar {
  width: 8px;
}

.review-queue-panel__body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(207, 95, 52, 0.34);
}

.admin-empty-card {
  padding: 32px 20px;
}

.admin-search-empty[hidden] {
  display: none;
}

.queue-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(540px, calc(100vw - 32px));
  padding: 34px;
}

.login-card .brand-lockup__title {
  font-size: clamp(24px, 4vw, 38px);
}

.back-link,
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-weight: 700;
}

.site-footer {
  margin-top: 28px;
}

.site-footer__inner {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.site-footer__brand p {
  margin: 8px 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.site-footer__link {
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}

.site-footer__copy {
  color: var(--muted);
  font-size: 13px;
}

.stack-sm > * + * {
  margin-top: 12px;
}

.stack-md > * + * {
  margin-top: 18px;
}

.stack-lg > * + * {
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .portal-home__hero,
  .portal-home__cards {
    grid-template-columns: 1fr;
  }

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

  .admin-workspace {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "main";
  }

  .admin-sidebar__panel--sticky {
    position: static;
  }

  .review-queue-panel__body {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .portal-home-shell,
  .page-shell--compact {
    width: min(100vw - 20px, 100%);
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .portal-home__topbar,
  .portal-home__hero,
  .portal-home__section,
  .topbar,
  .hero-card,
  .panel,
  .dashboard-card,
  .section-card,
  .login-card,
  .shop-card {
    padding: 18px;
  }

  .search-form,
  .portal-home__topbar,
  .portal-home__actions,
  .portal-home__section-head,
  .shop-card__footer,
  .row-between,
  .shop-editor__header,
  .portal-project-card__top,
  .portal-project-card__footer,
  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .search-button,
  .button,
  .button-secondary,
  .button-danger {
    width: 100%;
  }

  .topbar--compact {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 24px;
  }

  .brand-lockup--compact {
    gap: 10px;
  }

  .brand-lockup--compact .brand-lockup__mark {
    width: 52px;
    height: 52px;
    padding: 6px;
    border-radius: 18px;
  }

  .brand-lockup__line {
    font-size: 17px;
  }

  .topbar-flag {
    display: none;
  }

  .hero-card--compact {
    padding: 18px;
  }

  .hero-copy--compact h1 {
    font-size: clamp(26px, 10vw, 40px);
  }

  .hero-copy--compact p {
    font-size: 14px;
  }

  .hero-meta-line {
    margin-top: 8px;
    font-size: 11px;
  }

  .hero-meta-line strong {
    font-size: 12px;
  }

  .panel--compact {
    padding: 16px 18px;
  }

  .panel-head--compact {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .search-form--compact .search-button {
    width: auto;
    min-width: 76px;
  }

  .quick-filters--summary {
    margin-top: 2px;
  }

  .search-card__micro,
  .panel-note {
    font-size: 10px;
  }

  .search-card--compact {
    padding: 10px 12px;
    gap: 6px;
  }

  .search-form--compact .search-input {
    min-height: 40px;
    padding: 9px 12px;
  }

  .search-form--compact .search-button {
    min-height: 40px;
    padding: 0 14px;
  }

  .panel-note--inline {
    display: inline;
    margin-left: 6px;
    font-size: 10px;
  }

  .admin-search-bar__meta,
  .admin-search-bar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-shortcut {
    min-height: 68px;
    padding: 14px 16px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .portal-home__brand {
    gap: 14px;
  }

  .portal-home__brand-mark {
    width: 68px;
    height: 68px;
    border-radius: 22px;
  }

  .portal-home__hero-copy h1 {
    max-width: none;
  }

  .portal-home__flag {
    align-self: flex-start;
  }

  .portal-home__service-item,
  .portal-home__card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-home__community-chip {
    min-width: 0;
    width: 100%;
  }

  .brand-lockup {
    gap: 14px;
  }

  .brand-lockup__mark {
    width: 64px;
    height: 64px;
    padding: 7px;
    border-radius: 20px;
  }

  .site-footer__meta {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
