:root {
  --ink: #17332f;
  --muted: #68807b;
  --line: rgba(46, 104, 94, .14);
  --paper: #f4faf7;
  --card: rgba(255, 255, 255, .78);
  --accent: #168f82;
  --shadow: 0 24px 70px rgba(41, 93, 80, .13);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 8% 0%, #dff8ef 0, transparent 32%), radial-gradient(circle at 100% 20%, #e8e9ff 0, transparent 32%), var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { width: min(100% - 28px, 760px); margin: 0 auto; padding: 22px 0 48px; }
.page-shell.narrow { max-width: 620px; }
.glass-card, .admin-panel { background: var(--card); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.hero { padding: 38px 28px; border-radius: 34px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; bottom: -110px; border-radius: 50%; background: linear-gradient(135deg, rgba(22,143,130,.32), rgba(83,99,224,.16)); filter: blur(2px); }
.brand-mark, .product-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 19px; color: white; font-weight: 800; font-size: 24px; background: linear-gradient(135deg, #168f82, #5266df); box-shadow: 0 16px 35px rgba(22,143,130,.25); }
.eyebrow { margin: 18px 0 8px; font-size: 11px; letter-spacing: .18em; font-weight: 800; color: var(--accent); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(32px, 8vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
h2 { margin: 0; font-size: 24px; }
.hero-copy { width: min(92%, 520px); font-size: 16px; line-height: 1.8; color: var(--muted); position: relative; z-index: 1; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.trust-row span, .count-badge, .status-pill { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.66); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.section-head, .panel-title, .admin-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.section-head { margin: 34px 6px 16px; }
.section-head .eyebrow, .panel-title .eyebrow, .admin-header .eyebrow { margin: 0 0 5px; }
.product-grid { display: grid; gap: 14px; }
.product-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px; border-radius: 25px; color: inherit; text-decoration: none; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.92); box-shadow: 0 15px 45px rgba(41,93,80,.09); transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 20px 55px rgba(41,93,80,.15); }
.product-card .number { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 17px; color: white; font-weight: 900; background: var(--product-accent); }
.product-card h3 { margin: 0 0 7px; font-size: 19px; }
.product-card p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.product-card .arrow { font-size: 23px; }
.loading-card { padding: 30px; border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); text-align: center; }
.notice { margin-top: 24px; padding: 24px; border-radius: 25px; }
.notice p, .legal p { line-height: 1.8; color: var(--muted); }
footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 32px; color: var(--muted); font-size: 12px; }
.footer-button { appearance: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.muted-link { opacity: .65; }
.top-nav { display: flex; justify-content: space-between; align-items: center; margin: 5px 4px 18px; font-size: 13px; color: var(--muted); }
.top-nav a { text-decoration: none; }
.product-hero { padding: 30px 26px; border-radius: 30px; }
.product-hero h1 { font-size: clamp(28px, 8vw, 42px); }
.product-hero p:last-child { margin-bottom: 0; line-height: 1.7; color: var(--muted); }
.redeem-card { margin-top: 16px; padding: 26px; border-radius: 30px; }
.step-label { font-size: 11px; letter-spacing: .14em; font-weight: 900; color: var(--accent); }
.redeem-card h2 { margin-top: 8px; }
.helper { color: var(--muted); font-size: 13px; line-height: 1.7; }
form label, .form-grid label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); color: var(--ink); outline: none; transition: border .18s, box-shadow .18s; }
input, select { min-height: 54px; padding: 0 15px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(22,143,130,.11); }
.primary-button, .secondary-button { border: 0; border-radius: 17px; min-height: 54px; padding: 0 18px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; font-weight: 800; cursor: pointer; text-decoration: none; }
.primary-button { width: 100%; margin-top: 14px; color: white; background: linear-gradient(135deg, #168f82, #5266df); box-shadow: 0 14px 32px rgba(22,143,130,.22); }
.secondary-button { color: var(--ink); background: rgba(255,255,255,.78); border: 1px solid var(--line); }
.secondary-button.compact { min-height: 40px; padding: 0 14px; font-size: 12px; }
.form-message { min-height: 20px; margin-top: 13px; font-size: 13px; color: #b13e51; }
.form-message.success { color: #087969; }
.active-access { margin-top: 16px; padding: 18px; border-radius: 18px; background: rgba(33,174,145,.09); }
.active-access p { color: var(--muted); font-size: 13px; }
.active-access .secondary-button { width: 100%; }
.hidden { display: none !important; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mini-card { padding: 16px 8px; display: grid; gap: 5px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.55); }
.mini-card span { color: var(--muted); font-size: 11px; }
.fine-print { text-align: center; font-size: 11px; line-height: 1.7; color: var(--muted); }
.admin-body { background: #f2f6f4; }
.admin-shell { width: min(100% - 32px, 1220px); margin: 0 auto; padding: 28px 0 60px; }
.admin-header { margin-bottom: 22px; }
.admin-header h1 { font-size: clamp(28px, 5vw, 46px); }
.admin-header p:last-child { color: var(--muted); }
.admin-panel { padding: 24px; margin-bottom: 18px; border-radius: 24px; }
.login-panel { max-width: 480px; margin: 50px auto; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.summary-card { padding: 20px; border-radius: 22px; color: white; background: linear-gradient(135deg, var(--product-accent), color-mix(in srgb, var(--product-accent), #263a66 35%)); }
.summary-card h3 { margin: 0 0 14px; }
.summary-values { display: flex; gap: 16px; flex-wrap: wrap; }
.summary-values b { display: block; font-size: 26px; }
.summary-values span { font-size: 11px; opacity: .8; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.form-grid .wide { grid-column: 1 / -1; }
.filters { display: flex; gap: 10px; margin: 18px 0; }
.filters select { max-width: 240px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 17px; }
table { width: 100%; border-collapse: collapse; min-width: 920px; background: rgba(255,255,255,.66); }
th, td { padding: 13px; text-align: left; border-bottom: 1px solid var(--line); font-size: 12px; vertical-align: top; }
th { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
td code { font-weight: 800; }
.state { display: inline-block; border-radius: 999px; padding: 5px 8px; font-weight: 800; background: #edf1ef; }
.state.active { color: #087969; background: #dff7ef; }
.state.unused { color: #4a5bb8; background: #e9ecff; }
.state.expired, .state.revoked { color: #a44251; background: #ffe8ec; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.actions button { border: 1px solid var(--line); background: white; border-radius: 9px; padding: 6px 8px; cursor: pointer; font-size: 11px; }
.generated-panel { margin-top: 18px; padding: 18px; border-radius: 18px; background: #edf8f4; }
.generated-panel textarea { min-height: 180px; padding: 14px; resize: vertical; font-family: ui-monospace, Consolas, monospace; }
.legal { max-width: 760px; padding-top: 50px; }
.legal h1 { margin: 24px 0; font-size: clamp(32px, 7vw, 48px); }
.legal h2 { margin-top: 30px; font-size: 20px; }
.legal h3 { margin: 22px 0 8px; font-size: 16px; }
.legal ul, .legal ol { padding-left: 1.4em; color: var(--muted); line-height: 1.8; }
.legal li + li { margin-top: 7px; }
.legal .effective-date { color: var(--muted); font-size: 13px; }
.legal .policy-callout { margin: 20px 0; padding: 18px; border: 1px solid rgba(22,143,130,.16); border-radius: 18px; background: rgba(255,255,255,.72); }
.legal .policy-callout strong { display: block; margin-bottom: 6px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.legal-actions button { width: auto; }
.policy-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.policy-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }

/* 统一入口：东方神秘感与多彩星云 */
.portal-body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 2%, rgba(105, 231, 202, .62), transparent 27%),
    radial-gradient(circle at 92% 7%, rgba(132, 112, 255, .5), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(255, 151, 111, .37), transparent 30%),
    radial-gradient(circle at 5% 88%, rgba(255, 211, 96, .28), transparent 30%),
    linear-gradient(145deg, #effcf6 0%, #f5f0ff 45%, #fff8ef 100%);
}
.portal-body.modal-open { overflow: hidden; }
.ambient-sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient-sky::before {
  content: ""; position: absolute; inset: 0; opacity: .33;
  background-image: radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.5px);
  background-size: 31px 31px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
.ambient-sky span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .48; animation: sky-float 11s ease-in-out infinite alternate; }
.ambient-sky span:nth-child(1) { width: 190px; height: 190px; left: -70px; top: 24%; background: #42d9c2; }
.ambient-sky span:nth-child(2) { width: 230px; height: 230px; right: -100px; top: 40%; background: #8368ed; animation-delay: -3s; }
.ambient-sky span:nth-child(3) { width: 140px; height: 140px; left: 15%; bottom: -55px; background: #ffc653; animation-delay: -6s; }
.ambient-sky span:nth-child(4) { width: 110px; height: 110px; right: 17%; top: -48px; background: #ff8e79; animation-delay: -8s; }
@keyframes sky-float { to { transform: translate3d(18px, -16px, 0) scale(1.08); } }

.portal-body .page-shell { position: relative; z-index: 1; }
.portal-body .hero {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #263447;
  padding: 42px 36px;
  border-color: rgba(255,255,255,.86);
  background:
    radial-gradient(circle at 78% 18%, rgba(255,198,105,.5), transparent 25%),
    radial-gradient(circle at 12% 90%, rgba(89,221,195,.35), transparent 28%),
    radial-gradient(circle at 94% 82%, rgba(201,144,232,.34), transparent 31%),
    linear-gradient(135deg, rgba(255,255,255,.95) 0%, #f6f0ff 48%, #fff4e4 100%);
  box-shadow: 0 30px 90px rgba(86,74,133,.18);
}
.portal-body .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .46;
  background:
    radial-gradient(circle at 16% 14%, #7564a9 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 27%, #d77c75 0 1.2px, transparent 2px),
    radial-gradient(circle at 88% 72%, #d59d37 0 1.3px, transparent 2px),
    radial-gradient(circle at 44% 82%, #2b9f8d 0 1px, transparent 1.8px);
  background-size: 83px 79px, 107px 103px, 127px 121px, 97px 109px;
  pointer-events: none;
}
.portal-body .hero::after { width: 340px; height: 340px; right: -145px; bottom: -160px; background: linear-gradient(135deg, rgba(255,194,101,.45), rgba(194,131,225,.28)); }
.brand-line { display: flex; align-items: center; gap: 22px; position: relative; z-index: 2; }
.brand-line .brand-mark {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.cat-mark img { display: block; width: 92px; max-width: none; height: 92px; object-fit: contain; filter: drop-shadow(0 9px 12px rgba(102,67,90,.16)); }
.brand-line > div:last-child { display: grid; align-content: center; gap: 7px; min-width: 0; padding-top: 2px; }
.brand-line .eyebrow { margin: 0; color: #7655aa; line-height: 1.15; }
.brand-line span { display: block; font-size: 12px; line-height: 1.25; letter-spacing: .24em; color: #77817f; }
.oracle-title {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  margin: 42px 0 8px;
  font-family: "FZKai-Z03", "STKaiti", "KaiTi", "Kaiti SC", serif;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: .98;
  text-shadow: 0 8px 28px rgba(98,76,131,.14);
  transform: rotate(-1deg);
}
.oracle-title span, .oracle-title em { display: block; }
.oracle-title span { font-size: clamp(37px, 9vw, 66px); }
.oracle-title em { margin: 14px 0 0 clamp(12px, 7vw, 70px); color: #b25e55; font-size: clamp(45px, 11vw, 82px); font-style: normal; letter-spacing: .13em; }
.oracle-title::after { content: ""; display: block; width: min(72%, 390px); height: 13px; margin: 13px 0 0 12%; background: linear-gradient(90deg, transparent, #ef766e 15%, #ffd27a 72%, transparent); clip-path: polygon(0 48%, 90% 12%, 100% 47%, 83% 71%, 9% 100%); opacity: .85; }
.oracle-subtitle { position: relative; z-index: 2; margin: 10px 0 25px; letter-spacing: .36em; color: #6b7774; font-family: "STKaiti", "KaiTi", serif; }
.portal-body .trust-row span { color: #3f5551; border-color: rgba(93,103,126,.14); background: rgba(255,255,255,.55); backdrop-filter: blur(10px); box-shadow: 0 8px 22px rgba(93,72,120,.08); }

.journey-heading h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-family: "FZKai-Z03", "STKaiti", "KaiTi", "Kaiti SC", serif;
  font-size: clamp(28px, 6vw, 38px);
  letter-spacing: .04em;
  color: #1e3041;
  text-shadow: 2px 3px 0 rgba(255,255,255,.9);
}
.journey-heading h2 > span { display: block; }
.journey-heading h2 > span:last-child { margin-top: 2px; color: #553d80; }
.journey-heading h2::after { content: ""; position: absolute; left: 0; right: 12%; bottom: 0; height: 5px; border-radius: 50%; background: linear-gradient(90deg, #e8756d, #e8b84f, transparent); transform: skewX(-28deg); }
.portal-body .section-head .eyebrow { color: #7256c5; }
.portal-body .count-badge { background: rgba(255,255,255,.65); box-shadow: 0 10px 30px rgba(76,57,136,.12); }
.portal-body .product-card { overflow: hidden; position: relative; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.58)); }
.portal-body .product-card::before { content: ""; position: absolute; width: 100px; height: 100px; right: -44px; top: -45px; border-radius: 50%; background: var(--product-accent); opacity: .13; }
.portal-body .notice { background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,245,225,.65)); }

.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 16% 10%, rgba(82,218,191,.25), transparent 28%),
    radial-gradient(circle at 88% 15%, rgba(164,124,225,.23), transparent 30%),
    rgba(65, 59, 87, .26);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  opacity: 1;
  transition: opacity .28s ease;
}
.welcome-modal.is-closing { opacity: 0; }
.welcome-panel {
  width: min(100%, 500px);
  padding: 34px 30px 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.65);
  color: #29384a;
  background:
    radial-gradient(circle at 88% 8%, rgba(255,194,104,.44), transparent 28%),
    radial-gradient(circle at 5% 100%, rgba(68,224,193,.28), transparent 32%),
    radial-gradient(circle at 92% 90%, rgba(188,133,225,.26), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.98), #f5efff 58%, #fff3e2);
  box-shadow: 0 40px 110px rgba(54,45,84,.26);
  animation: modal-arrive .5s cubic-bezier(.2,.8,.2,1) both;
}
.welcome-panel::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(circle, #8b71b1 0 1px, transparent 1.6px); background-size: 35px 35px; pointer-events: none; }
@keyframes modal-arrive { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.modal-sigil { width: 92px; height: 82px; margin: 0 auto; display: grid; place-items: center; position: relative; z-index: 1; }
.modal-sigil img { width: 112px; height: 112px; max-width: none; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(107,72,102,.2)); }
.welcome-panel .eyebrow { position: relative; z-index: 1; margin-top: 20px; color: #7255a5; }
.welcome-panel h2 { position: relative; z-index: 1; font: 900 clamp(32px, 8vw, 45px)/1.2 "STKaiti", "KaiTi", serif; letter-spacing: .1em; }
.welcome-panel > p:not(.eyebrow) { position: relative; z-index: 1; margin: 18px auto; max-width: 380px; color: #677774; line-height: 1.9; }
.modal-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; position: relative; z-index: 1; }
.modal-notes span { padding: 7px 10px; border: 1px solid rgba(101,85,136,.13); border-radius: 999px; background: rgba(255,255,255,.58); font-size: 11px; color: #53645f; box-shadow: 0 6px 18px rgba(90,72,123,.07); }
.welcome-button { position: relative; z-index: 1; margin-top: 24px; background: linear-gradient(135deg, #f3b85d, #e97072 52%, #806ae7); box-shadow: 0 18px 40px rgba(233,112,114,.28); }

@media (prefers-reduced-motion: reduce) {
  .ambient-sky span, .welcome-panel { animation: none; }
  .welcome-modal { transition: none; }
}
@media (max-width: 760px) {
  .summary-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .admin-header { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .page-shell { width: min(100% - 20px, 760px); padding-top: 10px; }
  .hero { padding: 30px 22px; border-radius: 28px; }
  .hero-copy { width: 100%; }
  .product-card { grid-template-columns: auto 1fr; }
  .product-card .arrow { display: none; }
  .mini-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .filters { flex-direction: column; }
  .filters select { max-width: none; }
  .admin-panel { padding: 18px; }
  .panel-title { align-items: flex-start; }
  .portal-body .hero { min-height: 480px; padding: 30px 22px; }
  .oracle-title { margin-top: 34px; }
  .oracle-title em { margin-left: 8px; }
  .oracle-subtitle { font-size: 12px; letter-spacing: .25em; }
  .welcome-panel { padding: 28px 20px 22px; border-radius: 28px; }
  .welcome-button { min-height: 58px; }
}

/* Portal catalogue v2: cover-led two-column product selection. */
.portal-body .page-shell { width:min(100% - 24px,820px); }
.portal-body .hero { min-height:440px;border-radius:40px; }
.portal-body .hero::after { box-shadow:0 0 0 38px rgba(255,255,255,.12),0 0 0 78px rgba(117,94,173,.05); }

.catalog-panel {
  position:relative;
  margin-top:26px;
  padding:25px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.78);
  border-radius:38px;
  background:
    radial-gradient(circle at 100% 0,rgba(255,180,133,.19),transparent 25%),
    radial-gradient(circle at 0 100%,rgba(83,210,188,.18),transparent 28%),
    linear-gradient(145deg,rgba(255,255,255,.72),rgba(248,243,255,.56));
  box-shadow:0 28px 80px rgba(74,62,116,.14),inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter:blur(24px) saturate(135%);
  -webkit-backdrop-filter:blur(24px) saturate(135%);
}
.catalog-panel::before {
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-92px;
  top:105px;
  border:1px solid rgba(126,91,179,.14);
  border-radius:50%;
  box-shadow:0 0 0 34px rgba(255,255,255,.12),0 0 0 68px rgba(232,117,109,.05);
  pointer-events:none;
}
.catalog-panel .section-head { position:relative;z-index:1;margin:0 4px 8px; }
.catalog-copy { position:relative;z-index:1;margin:0 4px 22px;color:#71807e;font-size:12px;line-height:1.7; }

.portal-body .product-grid { position:relative;z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px; }
.portal-body .product-card {
  display:flex;
  min-width:0;
  padding:0;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  overflow:hidden;
  border-radius:27px;
  background:rgba(255,255,255,.79);
  border:1px solid rgba(255,255,255,.94);
  box-shadow:0 17px 42px rgba(54,69,91,.12);
  transform:translateZ(0);
}
.portal-body .product-card::before { display:none; }
.portal-body .product-card:hover { transform:translateY(-5px);box-shadow:0 24px 58px rgba(54,69,91,.2); }
.product-cover { position:relative;display:block;width:100%;aspect-ratio:3/4;overflow:hidden;background:linear-gradient(145deg,#dceee9,#eee6f8); }
.product-cover::after { content:"";position:absolute;inset:0;border-bottom:1px solid rgba(255,255,255,.55);box-shadow:inset 0 -45px 55px rgba(20,39,35,.05);pointer-events:none; }
.product-cover img { display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-cover img { transform:scale(1.025); }
.product-card-copy { display:flex;min-height:156px;padding:17px 17px 15px;flex:1;flex-direction:column;align-items:flex-start; }
.portal-body .product-card h3 { margin:0;color:#203d38;font:900 clamp(16px,2.8vw,21px)/1.46 "STKaiti","KaiTi","PingFang SC",sans-serif;letter-spacing:.02em; }
.portal-body .product-card small { display:block;margin:8px 0 0;color:#768681;font-size:10px;line-height:1.5; }
.card-action { width:100%;margin-top:auto;padding-top:14px;display:flex;align-items:center;justify-content:space-between;color:var(--product-accent);font-size:11px;font-weight:800;letter-spacing:.06em; }
.card-action b { display:grid;width:26px;height:26px;place-items:center;border-radius:50%;color:#fff;background:var(--product-accent);font-size:14px;box-shadow:0 7px 16px color-mix(in srgb,var(--product-accent) 28%,transparent); }

.placeholder-card { --product-accent:#a980c7;cursor:default; }
.portal-body .placeholder-card:hover { transform:none;box-shadow:0 17px 42px rgba(54,69,91,.12); }
.placeholder-cover { display:grid;place-items:center;background:radial-gradient(circle at 70% 24%,#ffe3bb,transparent 28%),radial-gradient(circle at 23% 75%,#c9f4e8,transparent 31%),linear-gradient(145deg,#f6efff,#fff7e8); }
.placeholder-cover::before { content:"";position:absolute;inset:13%;border:1px dashed rgba(119,86,148,.22);border-radius:50%; }
.placeholder-cover img { position:relative;z-index:1;width:78%;height:78%;object-fit:contain;filter:drop-shadow(0 18px 20px rgba(99,68,105,.18)); }
.placeholder-card:hover .product-cover img { transform:none; }
.placeholder-card h3 { color:#654f77!important; }
.card-action.muted { color:#9b8aa4; }

.portal-body .notice { margin-top:22px;border-radius:30px;background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(255,245,225,.66));box-shadow:0 18px 50px rgba(85,69,113,.09); }

@media (max-width:520px) {
  .portal-body .page-shell { width:min(100% - 16px,820px); }
  .portal-body .hero { min-height:420px;padding:28px 20px;border-radius:31px; }
  .catalog-panel { margin-top:16px;padding:17px 11px 13px;border-radius:30px; }
  .catalog-panel .section-head { margin:0 7px 7px;align-items:flex-end; }
  .catalog-copy { margin:0 7px 17px;font-size:11px; }
  .portal-body .product-grid { gap:10px; }
  .portal-body .product-card { border-radius:20px; }
  .product-card-copy { min-height:143px;padding:13px 12px 12px; }
  .portal-body .product-card h3 { font-size:15px;line-height:1.48; }
  .portal-body .product-card small { font-size:9px; }
  .card-action { padding-top:10px;font-size:10px; }
  .card-action b { width:23px;height:23px; }
  .journey-heading h2 { font-size:29px; }
  .portal-body .count-badge { padding:7px 10px;font-size:10px; }
}

@media (max-width:350px) {
  .product-card-copy { min-height:148px;padding-left:10px;padding-right:10px; }
  .portal-body .product-card h3 { font-size:14px; }
}
