:root {
  --red: #d41011;
  --red-dark: #a30d0e;
  --red-soft: #fff1ef;
  --ink: #141414;
  --muted: #666;
  --subtle: #8a7f7a;
  --paper: #fffaf7;
  --cream: #f2e5de;
  --line: #e9ddd6;
  --surface: #ffffff;
  --shadow: 0 16px 38px rgba(24, 18, 16, 0.1);
  --shadow-soft: 0 20px 50px rgba(46, 32, 27, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffaf7;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(233, 221, 214, 0.75);
  box-shadow: 0 10px 32px rgba(24, 18, 16, 0.06);
  backdrop-filter: blur(12px);
}

.header-bar {
  background: linear-gradient(90deg, #b70708, var(--red));
  color: #fff;
}

.header-bar-inner,
.header-main-inner,
.container,
.footer-container {
  width: min(1400px, calc(100% - 60px));
  margin: 0 auto;
}

.header-bar-inner,
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-bar-inner {
  min-height: 36px;
  font-size: 14px;
}

.header-contact,
.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-badge {
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.header-main {
  background: #fff;
}

.header-main-inner {
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(212, 16, 17, 0.08);
  box-shadow: 0 10px 24px rgba(212, 16, 17, 0.12);
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 11px 17px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #343434;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: var(--red-soft);
}

.nav-link.active::after {
  display: none;
}

.header-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions [hidden] {
  display: none;
}

.btn,
.submit-button,
.reset-button,
.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn {
  min-height: 46px;
  padding: 0 24px;
}

.btn-primary,
.submit-button {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(212, 16, 17, 0.24);
}

.btn-primary:hover,
.submit-button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(212, 16, 17, 0.36);
}

.btn-outline,
.reset-button {
  background: #fff;
  color: var(--red);
  border: 1px solid rgba(212, 16, 17, 0.32);
}

.btn-outline:hover,
.reset-button:hover {
  background: var(--cream);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--red);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 250, 247, 0.98) 0%, rgba(255, 246, 242, 0.94) 48%, rgba(255, 255, 255, 0.98) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(212, 16, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 16, 17, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(212, 16, 17, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 16, 17, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 60px));
  margin: 0 auto;
  padding: 54px 0 42px;
}

.hero-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
}

.hero-label,
.section-kicker {
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.hero-main,
.hero-side {
  border: 1px solid rgba(233, 221, 214, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.hero-main {
  padding: 38px;
}

.hero-side {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.hero-main h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.16;
  font-weight: 900;
}

.hero-main p {
  margin: 0 0 22px;
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  max-width: 760px;
  min-height: 60px;
  border: 1px solid rgba(212, 16, 17, 0.34);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(212, 16, 17, 0.12);
}

.search-panel input {
  flex: 1;
  min-width: 0;
  height: 58px;
  border: 0;
  outline: 0;
  padding: 0 18px;
  font-size: 16px;
}

.city-button,
.search-button {
  align-self: stretch;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.city-button {
  width: 92px;
  background: #fff6f4;
  color: var(--red);
  border-right: 1px solid var(--line);
}

.search-button {
  width: 120px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.quick-cats,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.quick-cats {
  margin-top: 16px;
}

.quick-cats a,
.hero-stats span {
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(212, 16, 17, 0.1);
}

.publish-box,
.mini-feed {
  padding: 19px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf7, #fff);
  border: 1px solid rgba(233, 221, 214, 0.85);
}

.publish-box strong,
.mini-feed p {
  display: block;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.publish-box span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.publish-box .btn {
  width: 100%;
}

.mini-feed {
  display: grid;
  gap: 10px;
}

.mini-feed a {
  color: #3d3531;
  font-size: 14px;
  line-height: 1.45;
  padding-left: 11px;
  border-left: 3px solid rgba(212, 16, 17, 0.16);
}

.mini-feed a:hover {
  color: var(--red);
}

.hero-stats {
  margin-top: 18px;
}

.utility-strip {
  position: relative;
  z-index: 3;
  margin-top: -10px;
}

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

.utility-grid a {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 20px 22px;
  border: 1px solid rgba(233, 221, 214, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(24, 18, 16, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.utility-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 16, 17, 0.28);
  box-shadow: 0 20px 42px rgba(212, 16, 17, 0.12);
}

.utility-grid strong {
  color: #222;
  font-size: 17px;
}

.utility-grid span {
  color: var(--muted);
  font-size: 13px;
}

.stats-banner {
  padding: 30px 0 6px;
  background: #fff;
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  text-align: center;
}

.stat-item {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(233, 221, 214, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fffaf7);
  box-shadow: 0 12px 30px rgba(24, 18, 16, 0.06);
}

.stat-item:last-child {
  border-right: 1px solid rgba(233, 221, 214, 0.9);
}

.stat-item strong {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--red);
}

.stat-item span {
  font-size: 14px;
  color: var(--muted);
}

.why-section {
  padding: 88px 0 94px;
  background: #fff;
}

.section-heading.why-heading {
  margin-bottom: 52px;
}

.section-heading.why-heading h2 {
  font-size: clamp(34px, 4vw, 46px);
}

.section-heading.why-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
}

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

.why-card {
  min-height: 312px;
  padding: 40px 34px 36px;
  text-align: center;
  border: 1px solid rgba(233, 221, 214, 0.88);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 16, 17, 0.08), transparent 34%),
    #fff;
  box-shadow: 0 18px 44px rgba(24, 18, 16, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 16, 17, 0.24);
  box-shadow: 0 24px 52px rgba(212, 16, 17, 0.12);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 32px rgba(212, 16, 17, 0.24);
}

.why-icon .icon {
  width: 34px;
  height: 34px;
}

.why-card h3 {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.25;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.main-section {
  padding: 86px 0 104px;
  background:
    linear-gradient(180deg, #fff 0%, #fffaf7 52%, #fff 100%);
}

.register-page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    linear-gradient(135deg, #fffaf7 0%, #f2e5de 56%, #fff 100%);
}

.register-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(212, 16, 17, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 16, 17, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
}

.register-page-container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 60px));
  margin: 0 auto;
}

.register-page-content {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.register-page-content h1 {
  margin: 14px 0 14px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
}

.register-page-content p {
  margin: 0 auto 24px;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  color: #222;
  font-size: 15px;
}

.breadcrumb a,
.breadcrumb span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.breadcrumb a {
  gap: 5px;
}

.breadcrumb .icon-home {
  width: 16px;
  height: 16px;
  transform: translateY(-1px);
}

.breadcrumb .chevron {
  width: 8px;
  height: 8px;
  margin: 0 2px;
}

.register-page-main {
  padding: 86px 0 100px;
  background:
    linear-gradient(180deg, #fff 0%, #fff 46%, var(--paper) 100%);
}

.register-intro {
  margin-bottom: 58px;
}

.register-shell {
  max-width: 1000px;
}

.compact-success {
  padding: 30px 20px;
}

.intro-block {
  margin-bottom: 56px;
  text-align: center;
}

.intro-icon,
.success-icon {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 16, 17, 0.3);
}

.intro-block h2,
.practice-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}

.intro-block > p {
  max-width: 790px;
  margin: 0 auto 46px;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.supply-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.2;
}

.section-heading p:not(.section-kicker),
.supply-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-card,
.merchant-form,
.practice-panel,
.success-message {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.benefit-card {
  padding: 38px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(212, 16, 17, 0.18);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-section,
.published-section,
.my-posts-section,
.process-section,
.supply-section {
  margin: 0 auto 56px;
}

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

.category-card {
  position: relative;
  min-height: 204px;
  overflow: hidden;
  border: 1px solid rgba(233, 221, 214, 0.95);
  border-radius: 20px;
  padding: 26px 24px;
  background: linear-gradient(180deg, #fff, #fffaf7);
  box-shadow: 0 16px 36px rgba(24, 18, 16, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--red), rgba(212, 16, 17, 0.08));
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 16, 17, 0.26);
  box-shadow: 0 22px 42px rgba(212, 16, 17, 0.12);
}

.category-tag {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(212, 16, 17, 0.1);
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) auto auto;
  gap: 12px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto 16px;
  padding: 18px;
  border: 1px solid rgba(233, 221, 214, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fffaf7);
  box-shadow: 0 16px 36px rgba(24, 18, 16, 0.06);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(233, 221, 214, 0.95);
  border-radius: 12px;
  outline: 0;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212, 16, 17, 0.08);
}

.filter-bar button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.filter-bar button[type="submit"] {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.filter-bar button[type="reset"] {
  background: var(--red-soft);
  color: var(--red);
}

.listing-count {
  max-width: 1120px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: 14px;
}

.listing-card {
  border: 1px solid rgba(233, 221, 214, 0.95);
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #fffaf7);
  box-shadow: 0 16px 36px rgba(24, 18, 16, 0.07);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.listing-card:hover,
.listing-card:focus {
  outline: none;
  transform: translateY(-4px);
  border-color: rgba(212, 16, 17, 0.24);
  box-shadow: 0 22px 44px rgba(212, 16, 17, 0.12);
}

.listing-head,
.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.listing-head span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.listing-head em {
  color: #15824a;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.listing-head em.pending,
.listing-head em[data-status="待审核"] {
  color: #b77900;
}

.listing-head em.offline,
.listing-head em[data-status="已下架"] {
  color: #777;
}

.listing-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.listing-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.listing-meta {
  padding-top: 14px;
  border-top: 1px solid rgba(233, 221, 214, 0.9);
  color: var(--subtle);
  font-size: 13px;
}

.listing-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.listing-actions button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-weight: 800;
}

.listing-actions button:hover {
  border-color: var(--red);
  color: var(--red);
}

.my-posts-section {
  padding: 34px;
  border-radius: 22px;
  background: #fffaf7;
  border: 1px solid var(--line);
}

.empty-state {
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 28px;
  border: 1px dashed rgba(212, 16, 17, 0.32);
  border-radius: 16px;
  background: #fffaf7;
  color: var(--muted);
  text-align: center;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.detail-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow-y: auto;
  border-radius: 18px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.detail-panel h2 {
  margin: 18px 0 12px;
  padding-right: 34px;
  font-size: 28px;
  line-height: 1.25;
}

.policy-panel h2 {
  margin-top: 0;
}

.policy-content {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.policy-content h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.policy-content p {
  margin: 0;
}

.login-panel {
  max-width: 500px;
}

.login-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}

.login-desc {
  margin: -4px 0 24px;
  color: var(--muted);
  text-align: center;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #333;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 2px solid #e2dedb;
  border-radius: 12px;
  outline: none;
  background: #fafafa;
}

.login-form input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 16, 17, 0.1);
}

.login-form label.invalid input {
  border-color: var(--red);
}

.login-form small {
  display: none;
  color: var(--red);
  font-size: 13px;
}

.login-form label.invalid small {
  display: block;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 10px;
}

.captcha-code {
  min-height: 50px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--red);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
}

.remember-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--muted) !important;
  font-weight: 700 !important;
}

.remember-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.login-error {
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff2f2;
  color: var(--red);
  font-weight: 800;
}

.login-register {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.login-register a {
  color: var(--red);
  font-weight: 900;
}

.detail-description {
  margin: 0 0 20px;
  color: var(--muted);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.detail-list div {
  padding: 14px;
  border-radius: 12px;
  background: #fffaf7;
}

.detail-list dt {
  color: #777;
  font-size: 13px;
}

.detail-list dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.report-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.practice-panel {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: 34px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 48px;
  padding: 34px 38px;
  border-left: 5px solid var(--red);
}

.section-kicker {
  margin: 0 0 10px;
}

.practice-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.practice-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: #fffaf7;
}

.practice-row + .practice-row {
  border-top: 1px solid var(--line);
}

.practice-row strong {
  color: var(--red);
}

.process-section {
  max-width: 1180px;
}

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

.process-step {
  position: relative;
  min-height: 190px;
  padding: 30px 24px 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.supply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  padding: 38px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #1d1d1d, #302827),
    linear-gradient(90deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 18px 42px rgba(24, 18, 16, 0.18);
}

.supply-copy .section-kicker,
.supply-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.supply-copy h2 {
  color: #fff;
}

.supply-list {
  display: grid;
  gap: 12px;
}

.supply-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.supply-list strong {
  color: #fff;
}

.supply-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.contact-hero .register-page-content {
  max-width: 880px;
}

.contact-page-main {
  padding: 84px 0 104px;
  background:
    linear-gradient(180deg, #fff 0%, #fffaf7 58%, #fff 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.contact-panel,
.contact-card {
  border: 1px solid rgba(233, 221, 214, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-panel {
  padding: 42px;
}

.contact-panel h2,
.contact-card h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.contact-panel > p:not(.section-kicker) {
  margin: 0 0 30px;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 16px;
}

.contact-method {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(233, 221, 214, 0.88);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fffaf7);
}

a.contact-method:hover {
  border-color: rgba(212, 16, 17, 0.28);
  box-shadow: 0 16px 34px rgba(212, 16, 17, 0.1);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 24px rgba(212, 16, 17, 0.2);
}

.contact-method strong,
.contact-method em {
  display: block;
}

.contact-method strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
}

.contact-method em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.contact-card {
  display: grid;
  gap: 22px;
  padding: 34px;
}

.contact-topic-list {
  display: grid;
  gap: 14px;
}

.contact-topic-list div {
  padding: 18px;
  border-radius: 16px;
  background: #fffaf7;
}

.contact-topic-list strong,
.contact-topic-list span {
  display: block;
}

.contact-topic-list strong {
  margin-bottom: 7px;
  color: var(--red);
  font-size: 17px;
}

.contact-topic-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-notice {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d1d1d, #302827);
  color: #fff;
}

.contact-notice strong {
  display: block;
  margin-bottom: 8px;
}

.contact-notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.form-shell {
  max-width: 1000px;
  margin: 0 auto;
}

.merchant-form {
  padding: 48px 40px;
}

.form-title {
  margin: 0 0 38px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  text-align: center;
  font-size: 28px;
}

.form-section {
  margin: 0 0 34px;
  padding: 0;
  border: 0;
}

.form-section legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f0f0;
  font-size: 20px;
  font-weight: 900;
}

.form-section legend .icon {
  color: var(--red);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #333;
  font-size: 15px;
  font-weight: 800;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid #e2dedb;
  border-radius: 12px;
  outline: none;
  color: #333;
  background: #fff;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212, 16, 17, 0.1);
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea,
.agreement.invalid .checkbox-mark {
  border-color: var(--red);
}

.form-error,
.agreement-error {
  display: none;
  color: var(--red);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.form-field.invalid .form-error,
.agreement-error.visible {
  display: block;
}

.upload-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-button {
  min-height: 54px;
  padding: 0 24px;
  border: 2px dashed var(--red);
  border-radius: 12px;
  background: var(--cream);
  color: var(--red);
}

.upload-button:hover {
  background: var(--red);
  color: #fff;
}

.upload-text {
  flex: 1;
  min-width: 260px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.upload-text.selected {
  color: var(--red);
  font-weight: 800;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 34px 0 8px;
  padding: 24px;
  border-radius: 12px;
  background: #fafafa;
  color: var(--muted);
  cursor: pointer;
}

.agreement input {
  position: absolute;
  opacity: 0;
}

.checkbox-mark {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 20px;
  border: 2px solid var(--red);
  border-radius: 4px;
}

.agreement input:checked + .checkbox-mark {
  background: var(--red);
}

.agreement input:checked + .checkbox-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agreement a {
  color: var(--red);
  font-weight: 900;
}

.form-actions {
  margin-top: 28px;
}

.submit-button,
.reset-button {
  flex: 1;
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.success-message {
  padding: 58px 40px;
  text-align: center;
}

.success-message h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.success-message p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.site-footer {
  position: relative;
  padding: 58px 0 0;
  background: linear-gradient(135deg, #181818, #2b2b2b);
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container h2,
.footer-container h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
}

.footer-container h2::after,
.footer-container h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.footer-about p,
.footer-about li,
.footer-container a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-about p {
  margin: 0 0 24px;
}

.footer-about ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-about li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-container section:not(.footer-about) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-container a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(212, 16, 17, 0.38);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

.icon {
  display: inline-block;
  position: relative;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.icon::before,
.icon::after,
.chevron::before,
.chevron-up::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-mail::before {
  inset: 18% 7%;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.icon-mail::after {
  left: 14%;
  top: 26%;
  width: 72%;
  height: 42%;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.icon-shield::before {
  inset: 4% 14%;
  border: 2px solid currentColor;
  border-radius: 48% 48% 44% 44%;
  clip-path: polygon(0 0, 100% 0, 92% 62%, 50% 100%, 8% 62%);
}

.icon-login::before {
  left: 42%;
  top: 18%;
  width: 42%;
  height: 64%;
  border: 2px solid currentColor;
  border-left: 0;
}

.icon-login::after,
.icon-send::before {
  left: 8%;
  top: 45%;
  width: 56%;
  height: 2px;
  background: currentColor;
  box-shadow: 11px -6px 0 -4px currentColor, 11px 6px 0 -4px currentColor;
}

.icon-user::before,
.icon-person::before {
  left: 34%;
  top: 12%;
  width: 32%;
  height: 32%;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-user::after,
.icon-person::after {
  left: 17%;
  bottom: 10%;
  width: 66%;
  height: 38%;
  border: 2px solid currentColor;
  border-radius: 50% 50% 18% 18%;
}

.icon-home::before {
  left: 14%;
  top: 38%;
  width: 72%;
  height: 48%;
  border: 2px solid currentColor;
}

.icon-home::after {
  left: 20%;
  top: 13%;
  width: 60%;
  height: 60%;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.chevron::before,
.chevron-up::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.chevron::before {
  transform: rotate(45deg);
}

.chevron-up::before {
  transform: rotate(-45deg);
}

.icon-handshake::before,
.icon-chart::before,
.icon-bullhorn::before,
.icon-headset::before,
.icon-key::before,
.icon-book::before,
.icon-upload::before,
.icon-reset::before,
.icon-check::before,
.icon-location::before,
.icon-phone::before {
  inset: 10%;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-handshake::after {
  left: 20%;
  top: 48%;
  width: 60%;
  height: 2px;
  background: currentColor;
  transform: rotate(-12deg);
}

.icon-chart::after {
  left: 20%;
  bottom: 22%;
  width: 58%;
  height: 42%;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skew(-18deg);
}

.icon-bullhorn::before {
  border-radius: 50% 4px 4px 50%;
}

.icon-bullhorn::after {
  right: 2%;
  top: 25%;
  width: 34%;
  height: 50%;
  border: 2px solid currentColor;
  border-left: 0;
}

.icon-headset::after {
  left: 28%;
  bottom: 12%;
  width: 44%;
  height: 18%;
  border-bottom: 2px solid currentColor;
}

.icon-key::after {
  right: 4%;
  top: 48%;
  width: 48%;
  height: 2px;
  background: currentColor;
}

.icon-book::after {
  left: 48%;
  top: 14%;
  width: 2px;
  height: 72%;
  background: currentColor;
}

.icon-upload::after {
  left: 32%;
  top: 20%;
  width: 36%;
  height: 36%;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon-send::before {
  transform: rotate(-18deg);
}

.icon-reset::after {
  right: 8%;
  top: 22%;
  width: 34%;
  height: 34%;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon-check::after {
  left: 30%;
  top: 48%;
  width: 42%;
  height: 22%;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.icon-location::after {
  left: 38%;
  top: 28%;
  width: 24%;
  height: 24%;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-phone::before {
  transform: rotate(-26deg);
  border-radius: 45% 20% 45% 20%;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.7s ease forwards;
}

.benefit-card:nth-child(2) {
  animation-delay: 0.08s;
}

.benefit-card:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .header-actions,
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }

  .site-header.menu-open .nav {
    top: 134px;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 30px 14px;
  }

  .site-header.menu-open .header-actions {
    top: 390px;
    justify-content: center;
    padding: 18px 30px 24px;
    background: var(--paper);
  }

  .practice-panel {
    grid-template-columns: 1fr;
  }

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

  .category-grid,
  .listing-grid,
  .why-grid,
  .utility-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supply-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .header-bar {
    display: none;
  }

  .header-main-inner {
    min-height: 82px;
  }

  .site-header.menu-open .nav {
    top: 82px;
  }

  .site-header.menu-open .header-actions {
    top: 340px;
  }

  .benefit-grid,
  .form-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .listing-grid,
  .why-grid,
  .utility-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }

  .merchant-form {
    padding: 36px 24px;
  }

  .contact-panel,
  .contact-card {
    padding: 28px 24px;
  }
}

@media (max-width: 620px) {
  .header-bar-inner,
  .header-main-inner,
  .container,
  .footer-container,
  .hero-container {
    width: min(100% - 32px, 1400px);
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .hero-container {
    padding: 28px 0 24px;
  }

  .hero-main {
    padding: 24px 18px;
  }

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

  .search-panel {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    border: 0;
    background: transparent;
    gap: 10px;
  }

  .search-panel input,
  .city-button,
  .search-button {
    width: 100%;
    min-height: 50px;
    border: 2px solid var(--red);
    border-radius: 10px;
  }

  .city-button {
    border-color: var(--line);
  }

  .main-section {
    padding: 62px 0;
  }

  .contact-page-main {
    padding: 62px 0 74px;
  }

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

  .contact-icon {
    width: 54px;
    height: 54px;
  }

  .why-section {
    padding: 64px 0 70px;
  }

  .section-heading.why-heading {
    margin-bottom: 34px;
  }

  .why-card {
    min-height: 0;
    padding: 32px 24px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .intro-icon,
  .success-icon {
    width: 78px;
    height: 78px;
  }

  .benefit-card,
  .practice-panel,
  .supply-section {
    padding: 28px 22px;
    border-radius: 16px;
  }

  .supply-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-actions {
    flex-direction: column;
  }

  .submit-button,
  .reset-button {
    width: 100%;
  }

  .upload-text {
    min-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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