:root {
  color-scheme: light;
  --ink: #11151a;
  --muted: #535e6b;
  --tertiary: #707b88;
  --line: #e2e6eb;
  --line-strong: #c4cbd4;
  --surface: #ffffff;
  --surface-soft: #f3f5f7;
  --surface-strong: #eef2f5;
  --accent: #1467df;
  --accent-dark: #0d57c3;
  --accent-soft: #edf4ff;
  --success: #19865b;
  --success-soft: #e9f8f1;
  --blue: #1467df;
  --blue-soft: #edf4ff;
  --amber: #9b5a00;
  --amber-soft: #fff2d8;
  --danger: #e54836;
  --danger-soft: #fcebe9;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface-soft);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 68px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  gap: 28px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  font-size: 21px;
  font-weight: 760;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 68px;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 66px;
  padding: 0 14px;
  color: #4f5863;
  font-size: 14px;
  font-weight: 620;
}

.site-nav a::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: "";
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a.active::after {
  background: var(--accent);
}

.miniapp-button,
.primary-button,
.secondary-button,
.text-button,
.load-more,
.retry-button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  font-weight: 680;
}

.miniapp-button,
.primary-button,
.retry-button {
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
}

.miniapp-button:hover,
.primary-button:hover,
.retry-button:hover {
  background: var(--accent-dark);
}

.secondary-button,
.load-more {
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.secondary-button:hover,
.load-more:hover {
  border-color: #939da8;
  background: var(--surface-soft);
}

.text-button {
  min-height: 38px;
  padding: 0 8px;
  color: var(--accent-dark);
  background: transparent;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

.notice-rail {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.notice-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  gap: 12px;
}

.notice-label {
  padding-right: 12px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.notice-message {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-message:hover {
  text-decoration: underline;
}

.notice-count {
  color: var(--accent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

main {
  min-height: calc(100vh - 230px);
}

.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-head h1,
.section-head h2,
.empty-state h2,
.error-state h2,
.detail-dialog h2,
.miniapp-dialog h2 {
  margin: 0;
  line-height: 1.22;
}

.page-head h1 {
  font-size: 26px;
}

.page-head p,
.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
}

.home-command-shell {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 50px;
  margin: 0;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  background: #f2f4f6;
  overflow: hidden;
}

.home-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 103, 223, 0.12);
}

.home-search input {
  min-width: 0;
  padding: 0 20px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.home-search button {
  min-width: 84px;
  min-height: 38px;
  margin: 5px;
}

.home-tab-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 50px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.home-tab-strip a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  color: var(--tertiary);
  font-size: 14px;
  font-weight: 620;
}

.home-tab-strip a:hover,
.home-tab-strip a.active {
  color: var(--ink);
  font-weight: 720;
}

.home-tab-strip a.active::after {
  position: absolute;
  right: 26%;
  bottom: 0;
  left: 26%;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
  content: "";
}

.metric-strip {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 10px 0 0;
  padding: 0 16px;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  border: 0;
}

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

.metric span {
  order: 2;
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  order: 1;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.section-block {
  margin-top: 12px;
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  margin: 0;
}

.section-head h2 {
  display: inline;
  font-size: 19px;
}

.section-head p {
  display: inline;
  margin-left: 9px;
  font-size: 13px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(138px, 180px)) auto;
  align-items: stretch;
  gap: 0;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search-control {
  position: relative;
  min-width: 180px;
  padding-right: 10px;
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  background: #fff;
}

.filter-bar input {
  width: 100%;
  padding: 0 13px;
  background: #f4f6f8;
}

.filter-bar select {
  min-width: 0;
  padding: 0 34px 0 12px;
  border-left: 0;
  border-radius: 0;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 103, 223, 0.1);
}

.result-count {
  display: flex;
  align-items: center;
  margin-left: 12px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

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

.product-grid > .empty-state,
.listing-grid > .empty-state {
  grid-column: 1 / -1;
  width: 100%;
}

.product-card,
.listing-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.product-card:hover,
.listing-card:hover {
  border-color: #9ebce6;
  box-shadow: 0 5px 16px rgba(20, 103, 223, 0.08);
}

.card-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.card-image {
  position: relative;
  aspect-ratio: 1;
  padding: 8px;
  background: #eef2f5;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.listing-card .card-image {
  padding: 0;
}

.listing-card .card-image img {
  object-fit: cover;
}

.card-image .image-note {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 5px;
  color: #4f5863;
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
}

.card-body {
  padding: 11px 12px 13px;
}

.card-meta,
.content-meta,
.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--tertiary);
  font-size: 12px;
}

.meta-dot::before {
  margin-right: 6px;
  content: "·";
}

.card-title {
  display: -webkit-box;
  min-height: 42px;
  margin: 6px 0 8px;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-subline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  gap: 10px;
  color: var(--tertiary);
  font-size: 12px;
}

.card-price {
  color: var(--danger);
  font-size: 19px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.card-price small {
  margin-right: 2px;
  font-size: 11px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  color: var(--success);
  background: var(--success-soft);
  font-size: 10px;
  font-weight: 680;
}

.status-pill.blue {
  color: #214f86;
  background: var(--blue-soft);
}

.content-list {
  border-top: 1px solid var(--line);
}

.content-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 126px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.content-row:hover .content-title {
  color: var(--accent);
}

.content-media {
  position: relative;
  display: block;
  width: 112px;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #eef2f5;
}

.content-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.content-type {
  position: absolute;
  bottom: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 5px;
  color: var(--accent-dark);
  background: rgba(237, 244, 255, 0.96);
  font-size: 11px;
  font-weight: 760;
}

.content-type.activity {
  color: #684209;
  background: var(--amber-soft);
}

.content-type.announcement {
  color: var(--success);
  background: rgba(233, 248, 241, 0.96);
}

.content-title {
  display: block;
  margin: 5px 0;
  font-size: 17px;
  font-weight: 760;
}

.content-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.row-arrow {
  color: #8a949f;
  font-size: 22px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.load-more {
  min-width: 150px;
}

.empty-state,
.error-state {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 42px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.empty-symbol {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 22px;
  font-weight: 760;
}

.empty-state p,
.error-state p {
  max-width: 480px;
  margin: 10px 0 22px;
  color: var(--muted);
}

.about-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
}

.prose-section {
  max-width: 760px;
}

.prose-section h2 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.prose-section h2:first-child {
  margin-top: 0;
}

.prose-section p,
.prose-section li {
  color: #454e58;
  line-height: 1.8;
}

.prose-section ul {
  padding-left: 22px;
}

.about-aside,
.legal-aside {
  align-self: start;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 7px 7px 0;
  background: #fff;
}

.about-aside span,
.legal-aside span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.about-aside strong,
.legal-aside strong {
  display: block;
  margin: 4px 0 14px;
}

.loading-state {
  display: grid;
  place-items: center;
  min-height: 62vh;
  color: var(--muted);
}

.loading-state strong {
  margin-top: 14px;
  color: var(--ink);
  font-size: 16px;
}

.loading-state span:last-child {
  margin-top: 4px;
  font-size: 13px;
}

.loading-ring {
  width: 34px;
  height: 34px;
  border: 3px solid #dce2e5;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-main,
.footer-legal {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  gap: 24px;
}

.footer-brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 22px;
  color: #4f5863;
  font-size: 13px;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.detail-dialog,
.miniapp-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(84vh, 860px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(21, 24, 29, 0.24);
}

.detail-dialog::backdrop,
.miniapp-dialog::backdrop {
  background: rgba(21, 24, 29, 0.5);
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.dialog-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 760;
}

.dialog-head h2 {
  font-size: 20px;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 50%;
  color: #4f5863;
  background: var(--surface-strong);
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  background: #e1e5e8;
}

.dialog-body {
  padding: 22px;
  overflow: auto;
}

.detail-image {
  width: min(360px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: contain;
  background: #eef2f5;
}

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

.detail-grid div {
  padding: 13px;
  border-right: 1px solid var(--line);
}

.detail-grid div:nth-child(3n) {
  border-right: 0;
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.detail-grid strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.detail-copy {
  color: #454e58;
  line-height: 1.75;
}

.detail-copy p {
  margin: 0 0 14px;
}

.miniapp-dialog {
  padding: 34px 28px;
  text-align: center;
}

.miniapp-dialog .dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.miniapp-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 4px auto 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 34px;
  font-weight: 780;
}

.miniapp-dialog p {
  color: var(--muted);
}

.miniapp-dialog strong {
  display: block;
  margin-top: 20px;
  color: var(--accent-dark);
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav a {
    min-width: 54px;
    padding: 0 8px;
  }

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

  .about-layout,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: auto auto;
    width: calc(100% - 28px);
    min-height: 60px;
  }

  .brand-copy small,
  .miniapp-button {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 19px;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    display: none;
    min-height: auto;
    padding: 8px 14px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .site-nav.open {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .site-nav a {
    min-width: 0;
    min-height: 44px;
    padding: 0 4px;
  }

  .site-nav a::after {
    right: 16px;
    left: 16px;
  }

  .notice-inner,
  .page-shell,
  .footer-main,
  .footer-legal {
    width: calc(100% - 28px);
  }

  .page-shell {
    padding-top: 12px;
  }

  .page-head {
    align-items: start;
    margin-bottom: 10px;
    padding: 14px;
  }

  .page-head h1 {
    font-size: 23px;
  }

  .page-head p {
    font-size: 13px;
  }

  .home-command-shell {
    padding: 10px;
  }

  .home-search {
    min-height: 48px;
  }

  .home-search input {
    padding: 0 14px;
    font-size: 15px;
  }

  .home-search button {
    min-width: 68px;
    padding: 0 12px;
  }

  .home-tab-strip {
    min-height: 48px;
  }

  .home-tab-strip a {
    font-size: 13px;
  }

  .metric-strip {
    display: flex;
    min-height: 44px;
    padding: 0 12px;
    gap: 12px;
    overflow-x: auto;
  }

  .metric {
    flex: 0 0 auto;
    padding: 0;
  }

  .metric strong {
    font-size: 15px;
  }

  .metric span {
    font-size: 11px;
  }

  .section-block {
    padding: 0 10px 14px;
  }

  .section-head {
    min-height: 62px;
    gap: 10px;
  }

  .section-head h2 {
    font-size: 18px;
  }

  .section-head p {
    display: none;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    background: #fff;
  }

  .search-control {
    grid-column: 1 / -1;
    min-width: 0;
    padding-right: 0;
  }

  .filter-bar select {
    min-width: 0;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .result-count {
    grid-column: 1 / -1;
    min-height: 24px;
    margin: 0;
  }

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

  .card-body {
    padding: 9px 10px 11px;
  }

  .card-title {
    min-height: 39px;
    font-size: 15px;
  }

  .card-subline {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }

  .content-row {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 116px;
    gap: 12px;
  }

  .content-media {
    width: 92px;
    height: 92px;
  }

  .content-type {
    width: auto;
    height: auto;
  }

  .row-arrow {
    display: none;
  }

  .content-title {
    font-size: 15px;
  }

  .content-summary {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }

  .about-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-main {
    align-items: start;
    flex-direction: column;
    padding: 24px 0;
  }

  .footer-links {
    justify-content: start;
    gap: 14px 20px;
  }

  .footer-legal {
    align-items: center;
    flex-direction: column;
    min-height: 0;
    padding: 15px 0;
    gap: 6px;
  }

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

  .detail-grid div,
  .detail-grid div:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .detail-grid div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 380px) {
  .brand-copy strong {
    font-size: 16px;
  }

  .notice-label {
    display: none;
  }

  .notice-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .card-meta {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
