/* ==========================================================================
   义乌AI圈 — page layouts
   ========================================================================== */

/* --------------------------------------------------------------------------
   HOME · hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 58px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 54px;
}

.hero__main { position: relative; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--ink-70);
}

.hero__eyebrow .sq {
  width: 9px; height: 9px;
  background: var(--red);
  flex: 0 0 auto;
  animation: pulseSq 2.6s var(--ease) infinite;
}

@keyframes pulseSq {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.55; }
}

.hero__title {
  font-size: clamp(72px, 10.4vw, 142px);
  line-height: 0.83;
  letter-spacing: -0.055em;
  font-weight: 800;
  margin-left: -0.04em;
}

.hero__title .line { display: block; position: relative; }
.hero__title .line--2 { padding-left: 0.06em; }

.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.hero__title .en {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.42em;
  -webkit-text-stroke: 0;
  color: var(--ink-55);
  vertical-align: super;
  margin-left: 10px;
}

.hero__seal {
  position: absolute;
  right: 6%;
  top: 4%;
  width: 66px; height: 66px;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  transform: rotate(7deg);
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.25;
  background: rgba(242, 236, 221, 0.7);
  mix-blend-mode: multiply;
}

.hero__lead {
  margin-top: 30px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-70);
  max-width: 34em;
}

.hero__lead strong { color: var(--ink); font-weight: 600; }

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line-strong);
  max-width: 520px;
}

.hstat {
  padding: 16px 22px 0 0;
  border-right: 1px solid var(--ink-20);
}
.hstat:last-child { border-right: 0; }
.hstat + .hstat { padding-left: 22px; }

.hstat b {
  display: block;
  font-family: var(--f-mono);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hstat b i { font-style: normal; font-size: 14px; color: var(--red); }
.hstat span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* hero visual — stall pass stack */
.hero__side { position: relative; }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  aspect-ratio: 1 / 1.02;
}

.stall-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: inset 0.65s var(--ease), transform 0.65s var(--ease), box-shadow 0.65s var(--ease), background-color 0.65s var(--ease);
}

.stall-card .mono { color: var(--ink-55); font-size: 12px; }

.stall-card h3 {
  transition: font-size 0.45s var(--ease), margin 0.45s var(--ease);
}

.stall-card--back {
  inset: 2% 3% 20% 13%;
  transform: rotate(-6deg);
  background: var(--paper-3);
  box-shadow: var(--shadow-soft);
  z-index: 1;
  justify-content: flex-start;
}

.stall-card--mid {
  inset: 7% 1% 15% 9%;
  transform: rotate(-2.5deg);
  background: var(--paper-2);
  z-index: 2;
  justify-content: flex-start;
}

.stall-card__label { display: none; }
.stall-card--main .stall-card__label { display: inline; }
.stall-card--main .stall-card__cat { display: none; }

.stall-card--back h3,
.stall-card--mid h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.1;
  margin: 10px 0 0;
}

.stall-card__seal,
.stall-card__specs,
.stall-card__code,
.stall-card .hero__badge {
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.stall-card--back .stall-card__seal,
.stall-card--mid .stall-card__seal,
.stall-card--back .stall-card__specs,
.stall-card--mid .stall-card__specs,
.stall-card--back .stall-card__code,
.stall-card--mid .stall-card__code,
.stall-card--back .hero__badge,
.stall-card--mid .hero__badge {
  opacity: 0;
  visibility: hidden;
}

.stall-card--main {
  inset: 15% 0 0 0;
  z-index: 3;
  transform: rotate(1.1deg);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px 20px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

@media (hover: hover) { .hero__visual:hover .stall-card--main {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-soft);
} }

.stall-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-12);
}

.stall-card__top .mono { font-size: 12px; }

.stall-card__seal {
  position: absolute;
  right: 22px;
  top: 58px;
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--f-serif);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  transform: rotate(9deg);
  opacity: 0.85;
}

.stall-card--main h3 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
}

.stall-card__specs { display: grid; gap: 0; margin: 0; }

.stall-card__specs > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px dashed var(--ink-20);
}

.stall-card__specs dt {
  color: var(--ink-55);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
}

.stall-card__specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  text-align: right;
}

.stall-card__code {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stall-card__code .mono { font-size: 12px; color: var(--ink-40); }

.barcode {
  height: 26px;
  flex: 0 0 96px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--ink) 0 1px,
    transparent 1px 3px,
    var(--ink) 3px 5px,
    transparent 5px 6px,
    var(--ink) 6px 7px,
    transparent 7px 10px
  );
  opacity: 0.75;
}

.stall-card--main .stamp {
  position: absolute;
  right: -18px;
  top: -20px;
  background: var(--paper);
}

.hero__badge {
  position: absolute;
  right: 30px;
  bottom: -26px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 15px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.hero__badge b {
  font-family: var(--f-mono);
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #f0b9a9;
}
.hero__badge span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(242, 236, 221, 0.6);
  text-transform: uppercase;
}

/* hero bottom index strip */
.hero__strip {
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero__strip-item {
  padding: 13px 20px;
  border-right: 1px solid var(--ink-20);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__strip-item:last-child { border-right: 0; }
.hero__strip-item b { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   HOME · three gates
   -------------------------------------------------------------------------- */
.gates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  background: var(--ink);
  gap: 1px;
}

.gate {
  background: var(--card);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.gate::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

@media (hover: hover) { .gate:hover::before { transform: scaleX(1); } }

.gate__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}

.gate__no {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.gate__en {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.gate h3 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.gate h3 em {
  font-family: var(--f-kai);
  font-style: normal;
  font-weight: 400;
  font-size: 0.6em;
  color: var(--red);
  margin-left: 4px;
}

.gate p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-70);
  max-width: 30ch;
}

.gate__foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink-12);
}

.gate__count {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
}
.gate__count b { color: var(--ink); font-size: 12px; }

.gate__go {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}

@media (hover: hover) { .gate:hover .gate__go {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  transform: rotate(-45deg);
} }

@media (hover: hover) { .gate:hover { background: #fdfaf1; } }

/* --------------------------------------------------------------------------
   HOME · pulse (latest posts)
   -------------------------------------------------------------------------- */
.pulse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pulse-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (hover: hover) { .pulse-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hard); } }

.pulse-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-card__who { display: grid; gap: 1px; min-width: 0; }
.pulse-card__who strong {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pulse-card__who span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-55);
  text-transform: uppercase;
}

.pulse-card__t {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pulse-card__b {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-70);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pulse-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ink-12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-55);
}

.pulse-card__foot .heat { color: var(--red); }

/* --------------------------------------------------------------------------
   HOME · shelf preview
   -------------------------------------------------------------------------- */
.shelf-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line-strong);
  background: var(--ink);
  gap: 1px;
}

.smini {
  background: var(--card);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  transition: background 0.25s;
  position: relative;
}
@media (hover: hover) { .smini:hover { background: #fdfaf1; } }

.smini__body { min-width: 0; }
.smini__cat {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.smini h4 {
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.smini p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-70);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smini__price {
  text-align: right;
  font-family: var(--f-mono);
  white-space: nowrap;
}
.smini__price b { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.smini__price b small { font-size: 12px; }
.smini__price span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   HOME · merchant directory
   -------------------------------------------------------------------------- */
.dir {
  border-top: 1px solid var(--line-strong);
}

.dir-row {
  display: grid;
  grid-template-columns: 120px 1.3fr 1.4fr 120px 100px 40px;
  gap: 20px;
  align-items: center;
  padding: 17px 10px;
  border-bottom: 1px solid var(--ink-12);
  transition: background 0.22s;
  position: relative;
}

@media (hover: hover) { .dir-row:hover { background: var(--card); } }
@media (hover: hover) { .dir-row:hover .dir-row__go { transform: translateX(4px); color: var(--red); } }

.dir-row__stall {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.dir-row__stall span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-40);
  text-transform: uppercase;
}

.dir-row__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dir-row__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dir-row__loc {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-55);
}

.dir-row__go {
  justify-self: end;
  font-family: var(--f-mono);
  transition: transform 0.25s var(--ease), color 0.2s;
}

/* --------------------------------------------------------------------------
   HOME · outposts
   -------------------------------------------------------------------------- */
.outposts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.outpost {
  background: var(--card);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.outpost__sign {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line-strong);
  background-color: var(--paper-2);
  background-image: var(--hatch);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.outpost__sign .cn {
  font-family: var(--f-kai);
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0.82;
  transition: color 0.35s, opacity 0.35s;
  padding-left: 0.14em;
}

@media (hover: hover) { .outpost:hover .outpost__sign .cn { color: var(--red); opacity: 1; } }

.outpost__sign .code {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-55);
  text-transform: uppercase;
}

.outpost__sign .en {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-40);
  text-transform: uppercase;
}

.outpost__sign::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 38px;
  width: 54px;
  height: 1px;
  background: var(--red);
  opacity: 0.6;
}

.outpost__body { padding: 18px 20px 20px; }
.outpost__body .mono { color: var(--red); display: block; margin-bottom: 6px; }
.outpost__body h4 { font-size: 18px; margin-bottom: 5px; }
.outpost__body p { font-size: 12.5px; color: var(--ink-70); line-height: 1.7; }

/* --------------------------------------------------------------------------
   BOARD (posts page)
   -------------------------------------------------------------------------- */
.board {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 44px;
  align-items: start;
  padding: 42px 0 90px;
}

.rail { position: sticky; top: calc(var(--hdr) + 22px); display: grid; gap: 26px; }

.rail__box {
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
}

.rail__title {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.rail__list { display: grid; gap: 1px; }

.rail__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid transparent;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-70);
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}

@media (hover: hover) { .rail__item:hover { background: var(--card); color: var(--ink); } }
.rail__item.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 500;
}
.rail__item.is-on .rail__n { color: rgba(242, 236, 221, 0.55); }

.rail__n {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-40);
}

.rail__topics { display: flex; flex-wrap: wrap; gap: 6px; }

.topic {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border: 1px solid var(--ink-20);
  color: var(--ink-70);
  background: none;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
@media (hover: hover) { .topic:hover { border-color: var(--ink); color: var(--ink); } }
.topic.is-on { background: var(--red); border-color: var(--red); color: var(--paper); }

.rail__note {
  border: 1px solid var(--ink-12);
  padding: 14px;
  background: var(--card);
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-55);
}
.rail__note strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 12.5px; }

/* composer */
.composer {
  border: 1px solid var(--line-strong);
  background: var(--card);
  padding: 18px;
  margin-bottom: 26px;
  position: relative;
}

.composer__top { display: flex; gap: 12px; align-items: flex-start; }

.composer__field { flex: 1; min-width: 0; }

.composer textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 0;
  background: transparent;
  font-family: var(--f-sans);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  padding: 8px 0;
}
.composer textarea:focus { outline: none; }
.composer textarea::placeholder { color: var(--ink-40); }

.composer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-20);
  margin-top: 6px;
}

.composer__tools { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }

.composer__count {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-40);
  margin-left: 4px;
}
.composer__count.is-warn { color: var(--red); }

.composer__locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* feed */
.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 4px;
}

.feed-head__l { display: flex; align-items: baseline; gap: 10px; }
.feed-head h2 { font-size: 17px; letter-spacing: -0.01em; }
.feed-head .mono { color: var(--ink-55); }

.sortbtn {
  display: flex;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-40);
  background: none;
  border: 0;
  cursor: pointer;
}
.sortbtn .is-on { color: var(--ink); border-bottom: 1px solid var(--line-strong); }

.post {
  padding: 26px 4px 22px;
  border-bottom: 1px solid var(--ink-20);
  position: relative;
}

.post.is-hot::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 34px;
  width: 2px;
  height: 40px;
  background: var(--red);
}

.post__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.post__who { display: grid; gap: 2px; }
.post__who strong { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.post__who span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-55);
  text-transform: uppercase;
}

.post__title {
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-bottom: 9px;
  transition: color 0.2s;
}
@media (hover: hover) { .post:hover .post__title { color: var(--red-deep); } }

.post__body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-70);
  max-width: 72ch;
}

.post__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  background: none;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-55);
  cursor: pointer;
  transition: all 0.18s;
}

@media (hover: hover) { .act:hover { background: var(--card); border-color: var(--ink-20); color: var(--ink); } }
.act.is-on { color: var(--red); border-color: var(--red); background: var(--red-soft); }

.act svg { width: 14px; height: 14px; }

.post__comments {
  margin-top: 14px;
  border-left: 1px solid var(--ink-12);
  padding-left: 16px;
  display: none;
  gap: 10px;
}
.post__comments.is-open { display: grid; }

.cmt {
  font-size: 13px;
  line-height: 1.7;
  display: grid;
  gap: 3px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ink-12);
}
.cmt:last-of-type { border-bottom: 0; }
.cmt b { font-size: 12px; font-weight: 600; }
.cmt b span {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-40);
  font-weight: 400;
  margin-left: 6px;
}
.cmt p { color: var(--ink-70); }

.cmt-form { display: flex; gap: 8px; padding-top: 6px; }
.cmt-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--ink-20);
  background: var(--card);
  padding: 8px 11px;
  font-size: 13px;
  font-family: var(--f-sans);
  color: var(--ink);
  border-radius: var(--r-sm);
}
.cmt-form input:focus { outline: none; border-color: var(--ink); }

.load-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 30px;
}

/* --------------------------------------------------------------------------
   PRODUCTS
   -------------------------------------------------------------------------- */
.filterbar {
  border-bottom: 1px solid var(--line-strong);
  padding: 18px 0;
  background: var(--paper);
  position: sticky;
  top: var(--hdr);
  z-index: 40;
}

.filterbar__row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.filterbar__row + .filterbar__row { margin-top: 10px; }

.filterbar__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  width: 46px;
  flex: 0 0 auto;
}

.filterbar__chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }

.searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink-20);
  background: var(--card);
  padding: 0 12px;
  height: 36px;
  min-width: 220px;
  flex: 0 1 280px;
  transition: border-color 0.2s;
}
.searchbox:focus-within { border-color: var(--ink); }
.searchbox input {
  border: 0;
  background: none;
  outline: none;
  font-family: var(--f-sans);
  font-size: 13.5px;
  color: var(--ink);
  width: 100%;
}
.searchbox svg { width: 15px; height: 15px; color: var(--ink-40); flex: 0 0 auto; }

.goods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 40px 0 90px;
}

.good {
  background: var(--card);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (hover: hover) { .good:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); } }

.good__media {
  border-bottom: 1px solid var(--line-strong);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--paper-3) var(--hatch);
}

.good__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 0.7s var(--ease);
}
@media (hover: hover) { .good:hover .good__media img { transform: scale(1.04); } }

.good__no {
  position: absolute;
  left: 0; top: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
}

.good__flag {
  position: absolute;
  right: 10px;
  top: 10px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  text-transform: uppercase;
}

.good__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }

.good__cat {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.good__cat span:last-child { color: var(--ink-40); }

.good h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.good__desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-70);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.good__specs {
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px dashed var(--ink-20);
  border-bottom: 1px dashed var(--ink-20);
  margin-bottom: 14px;
}

.good__spec {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-55);
}
.good__spec b {
  font-family: var(--f-mono);
  font-weight: 500;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.good__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.price { display: grid; gap: 0; }
.price small {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-40);
  text-transform: uppercase;
}
.price b {
  font-family: var(--f-mono);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.price b u { text-decoration: none; font-size: 12px; color: var(--ink-55); font-weight: 400; }

.good__vendor {
  font-size: 12px;
  color: var(--ink-55);
  display: flex;
  align-items: center;
  gap: 6px;
}
.good__vendor::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.goods-empty { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   MERCHANTS
   -------------------------------------------------------------------------- */
.merchant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 38px 0 90px;
}

.merchant {
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 22px;
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 20px;
  align-items: start;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (hover: hover) { .merchant:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-soft); } }

.merchant__stall {
  border-right: 1px dashed var(--ink-20);
  padding-right: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.merchant__stall .mono { font-size: 12px; color: var(--ink-40); letter-spacing: 0.12em; }
.merchant__stall b {
  font-family: var(--f-mono);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.merchant__stall span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
  text-transform: uppercase;
}

.merchant__main { min-width: 0; }
.merchant__main h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.merchant__desc {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-70);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.merchant__tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }

.merchant__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-55);
}
.merchant__stats b { color: var(--ink); font-weight: 500; }

.merchant__act { display: grid; gap: 8px; justify-items: end; }

.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 1px 5px;
  text-transform: uppercase;
}

.contact-mask {
  font-family: var(--f-mono);
  font-size: 15px;
  letter-spacing: 0.12em;
  filter: blur(4px);
  user-select: none;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .hero__side { max-width: 560px; }
  .hero__title { font-size: clamp(64px, 15vw, 120px); }
  .gates { grid-template-columns: 1fr; }
  .gate { min-height: auto; padding: 26px 24px; }
  .pulse { grid-template-columns: 1fr; }
  .shelf-mini { grid-template-columns: 1fr; }
  .outposts { grid-template-columns: 1fr 1fr; }
  .board { grid-template-columns: 1fr; gap: 30px; }
  .rail { position: static; gap: 18px; }
  .rail__box:nth-child(3) { display: none; }
  .rail__list { display: flex; flex-wrap: wrap; gap: 6px; }
  .rail__item {
    width: auto;
    border: 1px solid var(--ink-20);
    padding: 6px 10px;
    font-size: 12.5px;
  }
  .rail__item.is-on { border-color: var(--ink); }
  .goods { grid-template-columns: repeat(2, 1fr); }
  .merchant-grid { grid-template-columns: 1fr; }
  .dir-row { grid-template-columns: 100px 1fr auto; row-gap: 6px; }
  .dir-row__tags { grid-column: 2; }
  .dir-row__loc { display: none; }
}

/* --------------------------------------------------------------------------
   extras: band / selects / typographic media / fresh post
   -------------------------------------------------------------------------- */
.band {
  background: var(--ink);
  color: var(--paper);
  padding: 62px 0;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.22;
  pointer-events: none;
}

.band__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}

.band__q {
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.band__q em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: #e0806a;
}

.band__s {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(242, 236, 221, 0.62);
  max-width: 28ch;
}

.composer__select {
  appearance: none;
  -webkit-appearance: none;
  height: 30px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--ink-20);
  border-radius: var(--r-sm);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314120a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 9px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-70);
  cursor: pointer;
}
@media (hover: hover) { .composer__select:hover { border-color: var(--ink-40); color: var(--ink); } }

.sortsel { display: inline-flex; align-items: center; gap: 8px; }
.sortsel .mono { color: var(--ink-40); }
.sortsel select {
  appearance: none;
  -webkit-appearance: none;
  height: 32px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--ink-20);
  border-radius: var(--r-sm);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314120a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 9px;
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--ink-70);
  cursor: pointer;
}
@media (hover: hover) { .sortsel select:hover { border-color: var(--ink-40); color: var(--ink); } }

.searchbox input::-webkit-search-cancel-button { -webkit-appearance: none; }

.good__media--type {
  display: grid;
  place-items: center;
  background-color: var(--paper-2);
  background-image: var(--hatch);
  position: relative;
}

.good__big {
  font-family: var(--f-serif);
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  opacity: 0.12;
  user-select: none;
}

.good__glyph {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-family: var(--f-kai);
  font-size: 22px;
  color: var(--red);
  opacity: 0.72;
}

.post.is-fresh { animation: freshIn 0.7s var(--ease); }

@keyframes freshIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.rail__note + .btn { margin-top: 12px; }

@media (max-width: 720px) {
  .hero { padding-top: 34px; }
  .hero__visual { aspect-ratio: 1 / 1.06; max-width: 100%; }
  .stall-card { padding: 16px; }
  .stall-card--main { padding: 18px 18px 16px; }
  .stall-card--main h3 { font-size: 28px; margin: 10px 0 14px; }
  .stall-card__seal { width: 46px; height: 46px; font-size: 12px; right: 16px; top: 50px; }
  .stall-card__specs dd { font-size: 12px; }
  .stall-card__code .barcode { flex-basis: 64px; height: 22px; }
  .hero__badge { right: 14px; bottom: -22px; }
  .hero__title { font-size: clamp(56px, 19vw, 96px); }
  .hero__seal { width: 52px; height: 52px; font-size: 12px; right: 0; }
  .hero__lead { font-size: 15px; margin-top: 22px; }
  .hero__stats { margin-top: 30px; }
  .hstat { padding-right: 14px; }
  .hstat + .hstat { padding-left: 14px; }
  .hstat b { font-size: 20px; }
  .hero__strip { grid-template-columns: 1fr 1fr; }
  .hero__strip-item:nth-child(2) { border-right: 0; }
  .hero__strip-item { border-bottom: 1px solid var(--ink-20); }
  .hero__strip-item:nth-child(3),
  .hero__strip-item:nth-child(4) { border-bottom: 0; }
  .hero__badge { left: auto; right: 14px; bottom: 16px; padding: 9px 11px; }
  .hero__badge b { font-size: 14px; }
  .outposts { grid-template-columns: 1fr; }
  .goods { grid-template-columns: 1fr; padding-top: 28px; }
  .merchant { grid-template-columns: 1fr; gap: 14px; }
  .merchant__stall {
    border-right: 0;
    border-bottom: 1px dashed var(--ink-20);
    padding: 0 0 10px;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
  .merchant__act { justify-items: stretch; }
  .merchant__act .btn { width: 100%; }
  .board { padding-top: 26px; }
  .filterbar { position: static; }
  .filterbar__label { width: 100%; }
  .searchbox { flex: 1 1 100%; }
  .post__title { font-size: 18px; }
  .post.is-hot::before { display: none; }
  .dir-row { grid-template-columns: 1fr auto; }
  .dir-row__stall { grid-column: 1 / -1; }
  .dir-row__tags { grid-column: 1; }
  .dir-row__go { grid-column: 2; grid-row: 1; }
}

/* ---------- legal / help ---------- */
.legal {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: calc(var(--hdr) + 24px);
  display: grid;
  gap: 2px;
}

.legal__toc h4 {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--ink-55);
  margin-bottom: 8px;
}

.legal__toc a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink-20);
  font-size: 13px;
  color: var(--ink-70);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

@media (hover: hover) { .legal__toc a:hover { color: var(--red); padding-left: 3px; } }

.legal__toc a span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-40);
}

.legal__note {
  margin-top: 18px;
  padding-left: 10px;
  border-left: 2px solid var(--red);
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-55);
}

.legal__doc { max-width: 760px; }

.legal__notice {
  border: 1px solid var(--line-strong);
  background: rgba(196, 53, 28, 0.05);
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-70);
  margin-bottom: 38px;
}

.legal__doc section { scroll-margin-top: calc(var(--hdr) + 24px); }
.legal__doc section + section {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--ink-20);
}

.legal__doc h2 {
  font-family: var(--f-serif);
  font-size: 27px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.legal__date {
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-40);
  margin-bottom: 18px;
}

.legal__doc h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 6px;
}

.legal__doc p,
.legal__doc li {
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--ink-70);
}

.legal__doc p + p { margin-top: 8px; }

.legal__doc ul {
  margin: 6px 0 0 18px;
  list-style: disc;
  display: grid;
  gap: 3px;
}

.legal__doc b,
.legal__doc strong { color: var(--ink); }

.legal__foot {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px dashed var(--ink-20);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-40);
}

@media (max-width: 820px) {
  .legal { grid-template-columns: 1fr; gap: 30px; }
  .legal__toc {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .legal__toc h4,
  .legal__note { grid-column: 1 / -1; }
  .legal__doc h2 { font-size: 23px; }
}

/* --------------------------------------------------------------------------
   CERTIFY · 商家认证
   -------------------------------------------------------------------------- */
.cert { padding: 40px 0 76px; }

.cert-steps {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  border-bottom: 1px solid var(--ink-20);
}

.cert-steps__i {
  flex: 1 1 0;
  min-width: 132px;
  margin-bottom: -1px;
  padding: 0 0 12px;
  font-size: 12.5px;
  color: var(--ink-40);
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cert-steps__i b {
  margin-right: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.cert-steps__i.is-on { color: var(--ink); border-color: var(--red); }
.cert-steps__i.is-done { color: var(--ink-55); }

.cert__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 30px;
  align-items: start;
}

.cert__panel {
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 28px 30px 30px;
  box-shadow: var(--shadow-soft);
}

.cert__head { margin-bottom: 22px; }

.cert__head .mono {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-40);
}

.cert__head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
}

.cert__head p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-70);
  max-width: 40em;
}

.cert-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.cert-form .field--full { grid-column: 1 / -1; }

.cert-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-12);
}

.cert__hint {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--ink-40);
}

.cert__pay {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cert__qr {
  width: 176px;
  height: 176px;
  padding: 8px;
  border: 1px solid var(--ink-20);
  background: #fff;
}

.cert__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cert__pay-info {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.cert__meta { display: grid; gap: 0; margin: 0; width: 100%; }

.cert__meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px dashed var(--ink-20);
}

.cert__meta > div:first-child { border-top: 0; padding-top: 0; }

.cert__meta dt {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
}

.cert__meta dd { margin: 0; font-size: 12.5px; text-align: right; }
.cert__meta dd b { font-family: var(--f-mono); font-size: 15px; }

.cert__panel--done { position: relative; overflow: hidden; }

.cert__seal {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 82px;
  height: 82px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--f-serif);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-9deg);
  opacity: 0.85;
}

.cert__done-sub {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-70);
  max-width: 34em;
}

.cert__meta--done { margin: 20px 0 24px; }

.cert__done-act { display: flex; gap: 10px; flex-wrap: wrap; }

.cert__aside {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 18px;
}

.cert__price-card {
  background: var(--ink);
  color: var(--paper);
  padding: 26px 26px 24px;
}

.cert__price-card .mono {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(242, 236, 221, 0.55);
}

.cert__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 12px;
}

.cert__price b {
  font-family: var(--f-mono);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f0b9a9;
}

.cert__price span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(242, 236, 221, 0.6);
}

.cert__price-card p {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(242, 236, 221, 0.72);
}

.cert__benefits {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(242, 236, 221, 0.18);
  display: grid;
  gap: 9px;
}

.cert__benefits li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(242, 236, 221, 0.86);
}

.cert__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.cert__note {
  border: 1px solid var(--ink-20);
  padding: 22px 24px;
  background: var(--paper-2);
}

.cert__note h3 { font-size: 15px; margin-bottom: 10px; }

.cert__note ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.cert__note li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-70);
}

.cert__note li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--red);
  font-weight: 700;
}

.cert__link {
  margin-top: 18px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--ink-20);
  background: none;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
  cursor: pointer;
}

@media (hover: hover) { .cert__link:hover { color: var(--red); border-color: var(--red); } }

@media (max-width: 900px) {
  .cert__grid { grid-template-columns: 1fr; }
  .cert__aside { position: static; }
  .cert-form { grid-template-columns: 1fr; }
  .cert__pay { grid-template-columns: 1fr; }
  .cert__qr { margin: 0 auto; }
  .cert__panel { padding: 22px 20px 24px; }
  .cert__seal { width: 66px; height: 66px; font-size: 12px; right: 16px; top: 16px; }
}

