/* 用户端风格对齐速推客移动端（无分类） */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #222;
  --muted: #777;
  --border: #d8ecff;
  --accent: #1677ff;
  --accent-2: #00cfff;
  --accent-soft: #eaf4ff;
  --accent-soft-2: #f7fbff;
  --warn: #fa8c16;
  --warn-bg: #fff7e6;
  --pending: #fa8c16;
  --pending-bg: #fff7e6;
  --success: #18a058;
  --success-bg: #e8f8ef;
  --failed: #f5222d;
  --failed-bg: #fff1f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 20px rgba(22, 132, 255, 0.1);
  --max: 480px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body.gs-body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1200px 400px at 50% -80px, #d8ecff 0%, transparent 60%),
    var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.9; }

.gs-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
  padding: 12px 12px 24px;
}

body.has-bottom-nav .gs-shell {
  padding-bottom: 88px;
}

.gs-main { width: 100%; }

.messages {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.messages li {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #71d7a2, #5ed1d7);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.messages .error,
.messages .errorlist {
  background: var(--failed-bg);
  color: var(--failed);
  border: 1px solid #ffccc7;
  box-shadow: none;
}

/* Hero */
.gs-hero {
  text-align: center;
  padding: 18px 12px 8px;
}

.gs-hero .logo-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.28);
}

.gs-hero h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #111;
}

.gs-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(22,119,255,.12), rgba(0,198,255,.16), rgba(22,119,255,.12));
  background-size: 200% 100%;
  border: 1px solid rgba(22,119,255,.22);
  box-shadow: 0 8px 18px rgba(22,119,255,.12);
  animation: tagline-shine 3.2s ease-in-out infinite;
}

.fancy-tagline .tag-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0b5ed7;
  font-weight: 800;
  letter-spacing: .02em;
}

.fancy-tagline .tag-ico {
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(22,119,255,.25));
}

.fancy-tagline .tag-dot {
  font-style: normal;
  color: #7aa7e0;
  font-weight: 700;
}

.hero-tagline span {
  color: #0b5ed7;
  font-weight: 800;
  letter-spacing: .02em;
}

.hero-tagline i {
  font-style: normal;
  color: #7aa7e0;
  font-weight: 700;
}

@keyframes tagline-shine {
  0%, 100% { background-position: 0% 50%; transform: translateY(0); }
  50% { background-position: 100% 50%; transform: translateY(-1px); }
}

.member-pill {
  margin-top: 6px;
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #9a6700;
  background: linear-gradient(90deg, #fff3cd, #ffe8a3);
  border: 1px solid #f0d48a;
}

.member-pill.muted {
  color: #667;
  background: #f3f5f8;
  border-color: #e2e8f0;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-item {
  position: relative;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.plan-item.is-current {
  border-color: #1677ff;
  box-shadow: 0 10px 24px rgba(22,119,255,.12);
}

.plan-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #00c6ff);
  padding: 3px 8px;
  border-radius: 999px;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 4px;
}

.plan-price {
  color: #e67e22;
  font-weight: 900;
  font-size: 18px;
}

.plan-discount {
  color: #1677ff;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-item p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.fancy-features .gs-feature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22,119,255,.18);
  background:
    radial-gradient(120px 60px at 10% 0%, rgba(0,198,255,.18), transparent 70%),
    linear-gradient(180deg, #ffffff, #f3f9ff);
  box-shadow: 0 8px 18px rgba(22,119,255,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.fancy-features .gs-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(22,119,255,.14);
}

.fancy-features .feat-ico {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1677ff, #00c6ff);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 12px rgba(22,119,255,.25);
}

.contact-fancy {
  background:
    radial-gradient(160px 80px at 100% 0%, rgba(0,198,255,.2), transparent 70%),
    linear-gradient(180deg, #eef6ff, #fff);
  border: 1px solid rgba(22,119,255,.2);
  box-shadow: 0 12px 28px rgba(22,119,255,.1);
}

.contact-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.contact-head h2 {
  margin: 0;
}

.contact-badge {
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00, #ff5e3a);
  box-shadow: 0 6px 14px rgba(255,94,58,.28);
}

.contact-grid {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.contact-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  border: 1px dashed rgba(22,119,255,.35);
}

.chip-label {
  color: #1677ff;
  font-weight: 800;
  font-size: 12px;
}

.contact-empty {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  border: 1px dashed rgba(22,119,255,.3);
}

.contact-empty strong {
  display: block;
  margin-bottom: 4px;
  color: #0b5ed7;
}

.contact-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.inquiry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inquiry-item {
  padding: 12px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #e2edf8;
}

.inquiry-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.inquiry-q, .inquiry-a {
  font-size: 13px;
  margin-top: 4px;
  white-space: pre-wrap;
}

.inquiry-a {
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef8ff;
  border-left: 3px solid #1677ff;
}

.inquiry-a.muted {
  background: #f5f5f5;
  border-left-color: #bbb;
  color: var(--muted);
}

.tag-ok, .tag-wait {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.tag-ok { background: #e8f8ef; color: #1a7f37; }
.tag-wait { background: #fff4e5; color: #9a6700; }

.gs-vip {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #fff7e6, #fff);
  border: 1px solid #f5e3bd;
  color: #8a5a00;
  font-size: 13px;
}

.gs-vip strong {
  color: #fa8c16;
}

/* Cards */
.gs-card {
  background: var(--surface);
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin-bottom: 12px;
}

.gs-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.gs-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gs-balance .label { color: var(--muted); font-size: 13px; }
.gs-balance .value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.gs-balance .unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.gs-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.gs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.gs-feature {
  background: var(--surface);
  border: 1px solid #eef2f7;
  border-radius: var(--radius-sm);
  padding: 12px;
}

.gs-feature strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.gs-feature span {
  color: var(--muted);
  font-size: 12px;
}

/* Forms — input group style like reference */
.gs-form .field {
  margin-bottom: 12px;
}

.optional-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 420px) {
  .optional-pair {
    grid-template-columns: 1fr;
  }
}

.gs-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #333;
  font-size: 13px;
}

.gs-input-group {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.gs-input-group .addon {
  flex: 0 0 auto;
  min-width: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--accent-soft);
  color: #1476ff;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.gs-input-group input,
.gs-input-group textarea,
.gs-form input[type="text"],
.gs-form input[type="password"],
.gs-form textarea {
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 14px 12px;
  font: inherit;
  font-weight: 600;
  color: #111827;
  background: #fff;
  min-height: 52px;
}

.gs-form textarea {
  min-height: 140px;
  resize: vertical;
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 500;
}

.gs-form p {
  margin: 0 0 12px;
}

.gs-form p label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
}

.gs-form p input,
.gs-form p textarea {
  width: 100%;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px;
  font: inherit;
  background: #fff;
  box-shadow: var(--shadow);
}

.errorlist {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  color: var(--failed);
  font-size: 13px;
}

.hint, .meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

.hint.warn {
  color: var(--failed);
  font-weight: 700;
}

/* Buttons */
.btn,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  box-shadow: 0 8px 18px rgba(22, 132, 255, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  filter: brightness(1.03);
  color: #fff;
  text-decoration: none;
}

.btn:active,
button[type="submit"]:active {
  transform: scale(0.98);
}

.code-rule {
  margin: 0 0 8px;
}

.code-error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--failed-bg);
  border: 1px solid #ffa39e;
  color: var(--failed);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.order-submit-btn {
  appearance: none;
  border: 0;
  width: 100%;
  min-height: 56px;
  margin-top: 6px;
  margin-bottom: 88px;
  padding: 16px 18px;
  border-radius: 14px;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #0b5ed7 0%, #1677ff 45%, #36cfc9 100%);
  box-shadow:
    0 12px 24px rgba(22, 119, 255, .35),
    inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

body.page-submit .gs-cs-fab {
  display: none !important;
}

#order-confirm-mask.is-open {
  z-index: 10050 !important;
}

.order-submit-btn:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow:
    0 16px 28px rgba(22, 119, 255, .42),
    inset 0 1px 0 rgba(255,255,255,.4);
}

.order-submit-btn:active:not(:disabled) {
  transform: translateY(1px) scale(.99);
}

.order-submit-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(.25);
}

.btn-ghost {
  background: #fff;
  color: var(--accent);
  border: 1px solid #dbeafe;
  box-shadow: none;
}

.btn-ghost:hover { color: var(--accent); }

.btn-sm {
  width: auto;
  padding: 8px 14px;
  font-size: 13px;
}

.footer-link {
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Orders */
.order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-list li {
  background: var(--surface);
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.order-list a {
  font-weight: 800;
  color: #111;
}

.order-list .when {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table.data th,
table.data td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
  word-break: break-all;
  font-size: 13px;
}

table.data th {
  background: #eef7ff;
  color: #0877f2;
  font-weight: 800;
}

table.data tr:last-child td { border-bottom: 0; }

.status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pending { color: var(--pending); background: var(--pending-bg); }
.status-success { color: var(--success); background: var(--success-bg); }
.status-failed { color: var(--failed); background: var(--failed-bg); }

.page-title {
  margin: 4px 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0 12px;
  text-align: center;
  color: #687684;
  font-size: 12px;
}

.trust-strip span {
  border: 1px solid #e2edf8;
  border-radius: 8px;
  background: #f8fbff;
  padding: 7px 4px;
}

/* Bottom nav */
.gs-bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,0.96);
  border-top: 1px solid #eef2f7;
  backdrop-filter: blur(8px);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  z-index: 50;
}

.gs-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #888;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
}

.gs-bottom-nav a .ico {
  font-size: 16px;
  line-height: 1;
}

.gs-bottom-nav a.active {
  color: var(--accent);
}

.gs-actions .btn,
.gs-actions button.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.shop-mask,
.auth-mask,
.announce-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(8, 24, 48, .52);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  visibility: hidden;
  pointer-events: none;
}

.shop-mask.is-open,
.auth-mask.is-open,
.announce-mask.is-open {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.shop-mask[hidden],
.auth-mask[hidden],
.announce-mask[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.shop-dialog {
  width: 92%;
  max-width: 400px;
  max-height: 86%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff, #f4f9ff);
  border-radius: 16px;
  padding: 22px 18px 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,.22);
  border: 1px solid rgba(22,119,255,.18);
}

.shop-dialog h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.shop-search-wrap {
  margin-top: 8px;
}

.shop-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfe0f5;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.shop-search:focus {
  outline: 2px solid rgba(22,119,255,.25);
  border-color: #1677ff;
}

.shop-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 14px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.shop-list-page {
  max-height: none;
}

.shop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  text-decoration: none;
  color: inherit;
}

.shop-item[hidden] {
  display: none !important;
}

.shop-idx {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1677ff, #36cfc9);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.shop-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shop-item strong {
  color: #0b5ed7;
  font-size: 15px;
}

.shop-item-body span,
.shop-item span:not(.shop-idx):not(.shop-go) {
  color: var(--muted);
  font-size: 12px;
}

.shop-go {
  flex: 0 0 auto;
  color: #1677ff !important;
  font-size: 12px !important;
  font-weight: 700;
}

.shop-empty {
  margin: 8px 0 0;
  text-align: center;
}

.shop-item:hover {
  border-color: #1677ff;
  box-shadow: 0 8px 16px rgba(22,119,255,.1);
}

.order-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.order-confirm-tip {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7e6;
  border: 1px solid #ffd591;
  color: #ad6800;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.order-confirm-actions .btn,
.order-confirm-actions button.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  width: 100%;
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 700;
}

.order-confirm-actions .btn-ghost {
  background: #eef4fb;
  color: #35507a;
}

.order-confirm-actions .btn:not(.btn-ghost) {
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff;
}

.auth-mask {
  /* base styles in shared mask block above */
}

.auth-dialog {
  width: 92%;
  max-width: 380px;
  background: linear-gradient(180deg, #fff, #f4f9ff);
  border-radius: 16px;
  padding: 22px 18px 16px;
  border: 1px solid rgba(22,119,255,.18);
}

.auth-dialog h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.auth-form {
  margin-top: 12px;
}

button.linkish {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid #e2edf8;
  border-radius: 10px;
  background: #f8fbff;
}

.product-cover {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #e8f1ff;
}

.product-cover.placeholder {
  display: grid;
  place-items: center;
  color: #7aa7e0;
  font-weight: 800;
  font-size: 14px;
  background: linear-gradient(135deg, #e8f1ff, #f5f9ff);
}

.product-hero {
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2edf8;
  background: #f8fbff;
}

.product-hero img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

a.product-link {
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

a.product-link:active,
a.product-link:hover {
  border-color: #1677ff;
  box-shadow: 0 8px 18px rgba(22,119,255,.12);
  transform: translateY(-1px);
}

.product-main {
  flex: 1;
  min-width: 0;
}

.product-main strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.product-main p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: pre-wrap;
}

.product-side {
  flex: 0 0 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.product-price {
  color: #1677ff;
  font-weight: 800;
  font-size: 15px;
}

.gs-cs-fab {
  position: fixed;
  right: max(12px, calc(50% - var(--max) / 2 + 12px));
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(145deg, #007bff, #00c6ff 55%, #3aa0ff);
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.42);
  text-decoration: none;
  overflow: visible;
}

.fancy-fab .fab-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 198, 255, .55);
  animation: fab-pulse 1.8s ease-out infinite;
  pointer-events: none;
}

.fancy-fab .fab-ico {
  font-size: 16px;
  line-height: 1;
  transform: translateY(1px);
}

.fancy-fab .fab-txt {
  font-size: 11px;
  letter-spacing: .04em;
  margin-top: 1px;
}

@keyframes fab-pulse {
  0% { transform: scale(.92); opacity: .9; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.announce-mask {
  /* base styles in shared mask block above */
}

.announce-dialog {
  width: 92%;
  max-width: 380px;
  background: linear-gradient(180deg, #fff, #f4f9ff);
  border-radius: 16px;
  padding: 22px 18px 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,.22);
  border: 1px solid rgba(22,119,255,.18);
  animation: announce-in .28s ease-out;
}

.announce-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #00c6ff);
}

.announce-dialog h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.announce-body {
  color: #334;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-height: 40vh;
  overflow: auto;
  white-space: pre-wrap;
}

.announce-ok {
  width: 100%;
}

a, button, .btn, .js-need-auth, .shop-item, .product-link,
.gs-bottom-nav a, .linkish, input, textarea, select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(22, 119, 255, 0.25);
  cursor: pointer;
}

body.announce-open {
  overscroll-behavior: none;
}

@keyframes announce-in {
  from { transform: translateY(12px) scale(.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 520px) {
  .gs-shell { padding-top: 20px; }
}
