/* assets/styles.css */
:root {
  color-scheme: light;
  --bg: #e8ecf0;
  --app-bg: #f5f7fa;
  --panel: #ffffff;
  --panel-2: #f8f9fb;
  --text: #1a2634;
  --muted: #6d7d8d;
  --subtle: #8a9aaa;
  --line: #e8ecf0;
  --navy: #1a2634;
  --gold: #d4a853;
  --gold-weak: #f5ede0;
  --blue: #2a6b9a;
  --blue-weak: #e6edf6;
  --red: #c0392b;
  --red-weak: #fae8e6;
  --green: #2d7d5a;
  --green-weak: #e6f0ea;
  --amber: #b8944b;
  --purple: #7a4a8a;
  --cyan: #1a7a7a;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-strong: 0 4px 14px rgba(212, 168, 83, 0.08);
  --radius: 12px;
}

/* 账号与安全 */
.account-security-main {
  width: min(100% - 28px, 720px);
  margin: 0 auto;
  padding: 14px 0 32px;
}

.account-security-notice,
.account-security-danger-notice,
.account-security-summary,
.account-security-card,
.account-security-list,
.account-security-empty {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.account-security-notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  line-height: 1.65;
}

.account-security-danger-notice {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 16px;
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.account-security-danger-notice strong { font-size: 16px; }
.account-security-danger-notice span { font-size: 13px; line-height: 1.6; }

.account-security-summary {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.account-security-summary strong { color: #0f172a; font-size: 18px; }
.account-security-summary span,
.account-security-summary em { color: #64748b; font-size: 13px; font-style: normal; }

.account-security-section-title {
  padding: 18px 2px 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.account-security-list { overflow: hidden; }
.account-security-row {
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
  text-align: left;
}
.account-security-row:last-child { border-bottom: 0; }
.account-security-row > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}
.account-security-row > span { display: grid; gap: 4px; }
.account-security-row strong { color: #1e293b; font-size: 14px; }
.account-security-row em { color: #94a3b8; font-size: 12px; font-style: normal; }
.account-security-row b { color: #94a3b8; font-size: 22px; font-weight: 400; }
.account-security-row.danger > i { background: #fef2f2; color: #dc2626; }
.account-security-row.danger strong { color: #b91c1c; }

.account-security-card {
  margin-bottom: 14px;
  padding: 16px;
}
.account-security-card h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 16px;
}
.account-security-card-hint {
  margin: -4px 0 12px;
  color: #64748b;
  font-size: 12px;
}
.account-security-field {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.account-security-field > span { color: #475569; font-size: 13px; font-weight: 700; }
.account-security-field input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  outline: 0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  caret-color: #2563eb;
}
.account-security-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.account-security-code-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.account-security-code-row input { border: 0; border-radius: 0; box-shadow: none !important; }
.account-security-code-row button {
  border: 0;
  border-left: 1px solid #e2e8f0;
  background: transparent;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}
.account-security-code-row button:disabled { color: #94a3b8; }
.account-security-primary,
.account-security-danger {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.account-security-danger { border: 1px solid #fecaca; background: #fff1f2; color: #dc2626; }
.account-security-primary:disabled,
.account-security-danger:disabled { opacity: .55; }
.account-security-check {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
  color: #475569;
  font-size: 13px;
}
.account-security-check input { width: 18px; height: 18px; accent-color: #2563eb; }
.account-security-footnote {
  margin: 10px 4px 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.account-security-empty {
  display: grid;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.account-security-empty strong { color: #0f172a; font-size: 18px; }
.account-security-empty span { color: #64748b; font-size: 13px; }
.account-security-empty button {
  height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 13px;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
}
.account-security-text-link {
  display: block;
  margin: 12px auto 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 13px;
}

.account-security-device-list { display: grid; gap: 10px; }
.account-security-device-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(15, 23, 42, .045);
}
.account-security-device-card.current { border-color: #bfdbfe; background: #f8fbff; }
.account-security-device-card > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.account-security-device-card > div { display: grid; min-width: 0; gap: 3px; }
.account-security-device-card strong { overflow: hidden; color: #172033; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.account-security-device-card span,
.account-security-device-card em { overflow: hidden; color: #64748b; font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.account-security-device-card > b { color: #2563eb; font-size: 12px; }
.account-security-device-card > button {
  min-width: 54px;
  height: 32px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
}
.account-security-device-state {
  padding: 26px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}
.account-security-device-state.error { border-color: #fecaca; background: #fff7f7; color: #b91c1c; }
.account-security-confirm-sheet { display: grid; gap: 10px; padding: 4px 0; }
.account-security-confirm-sheet > strong { color: #172033; font-size: 17px; }
.account-security-confirm-sheet > p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.65; }
.account-security-confirm-sheet > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.account-security-confirm-sheet button { height: 44px; border: 0; border-radius: 12px; background: #f1f5f9; color: #475569; font-weight: 800; }
.account-security-confirm-sheet button.danger { background: #dc2626; color: #fff; }

@media (min-width: 900px) {
  .account-security-main { padding-top: 22px; }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--app-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
}

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

input,
textarea,
[contenteditable="true"] {
  caret-color: var(--blue);
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--app-bg);
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

.page {
  min-height: 100vh;
  background: var(--app-bg);
  padding: 14px 16px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  margin: -14px -16px 14px;
  padding: calc(18px + env(safe-area-inset-top)) 18px 14px;
  background: var(--navy);
  color: #fff;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.topbar-title {
  min-width: 0;
  flex: 1;
}

.topbar-title h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.topbar-title p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 400;
}

.icon-btn,
.text-btn,
.pill-btn {
  min-height: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.icon-btn {
  width: 36px;
  font-size: 18px;
}

.text-btn {
  padding: 0 11px;
  font-size: 13px;
  font-weight: 700;
}

.pill-btn {
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.primary-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.primary-btn.full {
  width: 100%;
}

.ghost-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.danger-btn {
  color: var(--red);
}

.hero-panel,
.panel,
.card,
.match-card,
.selection-card,
.preview-card {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
  background: #ffffff;
}

.brand-row,
.row,
.split-row,
.section-title,
.match-head,
.match-meta,
.bet-bar,
.sheet-head,
.preview-head {
  display: flex;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.brand-copy {
  min-width: 0;
  flex: 1;
}

.brand-copy h2 {
  margin: 0;
  font-size: 23px;
}

.brand-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.role-switch,
.tab-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 16px;
  padding: 5px;
  border-radius: var(--radius);
  background: var(--panel-2);
}

.tab-switch.three {
  grid-template-columns: repeat(3, 1fr);
}

.seg-btn {
  height: 36px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.seg-btn.active {
  background: var(--blue);
  color: #fff;
}

.section-title {
  justify-content: space-between;
  margin: 18px 2px 10px;
}

.section-title h3 {
  margin: 0;
  font-size: 16px;
}

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

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

.feature-card {
  min-height: 112px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: left;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--blue-weak);
  color: var(--blue);
  font-weight: 900;
}

.feature-card strong {
  display: block;
  font-size: 16px;
}

.feature-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quick-list {
  display: grid;
  gap: 8px;
}

.quick-item {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  text-align: left;
  box-shadow: var(--shadow);
}

.quick-item strong {
  flex: 1;
  font-size: 15px;
}

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

.notice {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: var(--radius);
  background: var(--blue-weak);
  color: #1d4ed8;
  font-size: 12px;
  line-height: 1.55;
}

.sports-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0 12px;
}

.day-group {
  margin-top: 12px;
}

.day-head {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: #edf2f7;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.day-head span {
  flex: 1;
}

.day-head button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.match-card {
  margin-top: 10px;
  padding: 14px;
}

.match-head {
  gap: 8px;
}

.match-title {
  min-width: 0;
  flex: 1;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-badge,
.mini-badge,
.dan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dan-badge {
  background: #dc2626;
  color: #fff;
}

.match-meta {
  gap: 10px;
  margin-top: 9px;
}

.match-meta span {
  min-width: 0;
  flex: 1;
  color: var(--muted);
  font-size: 12px;
}

.all-play-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--blue-weak);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.play-row {
  display: grid;
  grid-template-columns: 76px repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
  margin-top: 10px;
}

.play-row.two {
  grid-template-columns: 76px repeat(2, minmax(0, 1fr));
}

.play-label {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 4px;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.option-btn {
  min-height: 46px;
  padding: 4px 5px;
  border-radius: 7px;
  background: #f8fafc;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.option-btn.selected {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.option-btn.trend-up:not(.selected) {
  color: var(--red);
}

.option-btn.trend-down:not(.selected) {
  color: var(--green);
}

.detail-card {
  margin-top: 10px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.detail-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

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

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

.option-grid .option-btn {
  min-height: 58px;
}

.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 540px);
  transform: translateX(-50%);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
}

.bet-bar {
  gap: 8px;
}

.bet-chip {
  min-height: 38px;
  padding: 0 9px;
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.bet-count {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.bet-spacer {
  flex: 1;
}

.empty-state {
  margin-top: 16px;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.6;
}

.selection-card {
  margin-top: 10px;
  padding: 14px;
}

.selection-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.selection-match-title {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.selection-match-title span {
  flex: 0 0 auto;
  border-radius: 7px;
  padding: 5px 7px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.selection-match-title strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selection-match-title b {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.selection-remove-btn {
  min-height: 28px;
  border-radius: 7px;
  padding: 0 8px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #fecaca;
}

.selection-play-list {
  display: grid;
  gap: 8px;
}

.selection-line {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.selection-play-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 6px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.selection-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.selection-option-list em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 8px;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.selection-option-list b {
  color: #dc2626;
  font-size: 12px;
  font-weight: 900;
}

.preview-wrap {
  padding: 10px 0 24px;
}

.preview-card {
  padding: 16px;
  background: #fff;
}

.preview-head {
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.preview-name {
  flex: 1;
  min-width: 0;
}

.preview-name strong {
  display: block;
  font-size: 16px;
}

.preview-name span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.preview-config,
.preview-row {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: var(--radius);
}

.preview-config {
  background: var(--blue-weak);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.preview-row {
  background: #f8fafc;
}

.preview-row h4 {
  margin: 8px 0 6px;
  font-size: 14px;
}

.preview-row p {
  margin: 4px 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.form-grid input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

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

.lottery-card {
  min-height: 128px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel);
  text-align: left;
  box-shadow: var(--shadow);
}

.lottery-card strong {
  display: block;
  font-size: 17px;
}

.lottery-card .rule {
  margin: 12px 0 7px;
  font-size: 18px;
  font-weight: 900;
}

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

.draw-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.draw-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.draw-row strong {
  min-width: 64px;
  font-size: 13px;
}

.balls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
}

.ball {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 900;
}

.ball.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.football-list,
.league-list {
  display: grid;
  gap: 10px;
}

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

.football-card,
.league-card {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: left;
}

.football-card h3,
.league-card h3 {
  margin: 0;
  font-size: 15px;
}

.football-card p,
.league-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.league-card small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 10px;
  border-radius: 999px;
  padding: 0 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  background: var(--green);
}

.football-hero-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 16px;
}

.football-hero-card > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 22px;
  font-weight: 900;
}

.football-hero-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.football-hero-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.football-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.football-data-item {
  display: grid;
  gap: 3px;
  min-height: 76px;
  padding: 12px;
}

.football-data-item span,
.football-data-item em {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-data-item strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-filter-card,
.football-league-section,
.football-detail-card {
  margin-top: 12px;
  padding: 16px;
}

.football-league-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 2px;
}

.football-league-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.football-league-tabs button.active {
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}

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

.football-day-group {
  display: grid;
  gap: 9px;
}

.football-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.football-day-head strong {
  color: var(--text);
  font-size: 14px;
}

.football-schedule-card {
  display: grid;
  gap: 11px;
  width: 100%;
}

.football-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.football-card-head span {
  overflow: hidden;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-card-head em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.football-card-head em.live {
  background: #ecfdf5;
  color: #059669;
}

.football-card-head em.finished {
  background: #f1f5f9;
  color: #475569;
}

.football-card-head em.future {
  background: #fff7ed;
  color: #c2410c;
}

.football-team-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  text-align: center;
}

.football-team-line strong {
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-team-line b {
  color: #94a3b8;
  font-size: 12px;
}

.football-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.football-info-strip span {
  overflow: hidden;
  border-radius: 8px;
  padding: 7px 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-home-page {
  background: #f5f7fa;
  padding-bottom: 24px;
}

.football-home-page .topbar-title p {
  display: block;
}

.football-home-brief {
  margin-top: 14px;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.football-home-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.football-home-main {
  display: grid;
  gap: 14px;
  padding: 14px 0 24px;
}

.football-home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 4px;
}

.football-home-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.football-home-section-head b {
  color: #d4a853;
  font-weight: 700;
}

.football-home-section-head button {
  padding: 0;
  background: transparent;
  color: #8a9aaa;
  font-size: 11px;
  font-weight: 600;
}

.football-home-league-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.football-home-league-card {
  display: grid;
  justify-items: start;
  min-height: 116px;
  padding: 16px 14px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  color: #1a2634;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.football-home-league-card:active,
.football-home-match-card:active {
  border-color: #d4a853;
}

.football-home-league-badge {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
}

.football-home-league-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.football-home-league-badge.amber {
  background: #f5ede0;
  color: #b8944b;
}

.football-home-league-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.football-home-league-badge.gray {
  background: #f0f2f4;
  color: #6a7a8a;
}

.football-home-league-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.football-home-league-badge.purple {
  background: #ede6f0;
  color: #7a4a8a;
}

.football-home-league-card strong {
  width: 100%;
  margin-top: 8px;
  overflow: hidden;
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-home-league-card strong em {
  margin-left: 4px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.football-home-league-card small {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 12px;
}

.football-home-league-card small b {
  color: #1a2634;
  font-weight: 800;
}

.football-home-league-card small b:last-child {
  color: #d4a853;
}

.football-home-match-list {
  display: grid;
  gap: 8px;
}

.football-home-match-card {
  display: grid;
  gap: 0;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  color: #1a2634;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.football-home-match-top {
  display: grid;
  grid-template-columns: minmax(62px, auto) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #8a9aaa;
  font-size: 12px;
}

.football-home-match-top span {
  color: #1a2634;
  font-weight: 800;
  white-space: nowrap;
}

.football-home-match-top em {
  overflow: hidden;
  color: #8a9aaa;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-home-match-top small {
  color: #aab4c0;
  font-size: 12px;
  white-space: nowrap;
}

.football-home-match-top b {
  color: #c0392b;
  font-weight: 700;
}

.football-home-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 6px 0 8px;
  text-align: center;
}

.football-home-teams strong {
  overflow: hidden;
  color: #1a2634;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-home-teams span {
  color: #aab4c0;
  font-size: 12px;
  font-weight: 500;
}

.football-home-odds-row,
.football-home-handicap-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.football-home-handicap-row {
  margin-top: 6px;
}

.football-home-odds-row > span,
.football-home-handicap-row > span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #f8f9fb;
  color: #1a2634;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.football-home-handicap-row > span {
  min-height: 38px;
  background: #f5f7fa;
  color: #5a6a7a;
  font-size: 11px;
}

.football-home-handicap-row em {
  display: block;
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.football-home-odds-row .up {
  color: #c0392b;
  font-weight: 900;
}

.football-home-odds-row .down {
  color: #2d7d5a;
  font-weight: 900;
}

.football-home-footer-note {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 380px) {
  .football-home-league-grid {
    gap: 8px;
  }

  .football-home-league-card {
    padding: 12px 10px 10px;
  }

  .football-home-league-card strong {
    font-size: 14px;
  }

  .football-home-match-card {
    padding: 12px 12px;
  }

  .football-home-teams strong {
    font-size: 14px;
  }

  .football-home-odds-row span,
  .football-home-handicap-row span {
    font-size: 11px;
  }
}

/* 数字店铺主页第一阶段：模块配置、随机十注和基础走势遗漏。 */
.store-home-hero-v2 > div > small {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #8a9aaa;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-home-service-card-v2.amber .store-home-service-icon {
  background: #fff4dc;
  color: #b7791f;
}

.store-home-service-card-v2.purple .store-home-service-icon {
  background: #f1eafe;
  color: #7756a3;
}

.store-home-service-card-v2.cyan .store-home-service-icon {
  background: #e5f5f7;
  color: #287985;
}

.decor-order-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 46px;
  align-items: center;
  min-height: 68px;
  gap: 8px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.decor-order-row:last-child {
  border-bottom: 0;
}

.decor-order-row.dragging {
  z-index: 2;
  border: 1px solid #8bb7f4;
  border-radius: 10px;
  background: #f5f9ff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .16);
  transform: scale(1.012);
}

.decor-order-row.keyboard-moved {
  background: #eef5ff;
}

.decor-order-list.is-sorting {
  user-select: none;
}

.decor-order-tip {
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.decor-order-position {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

.decor-order-toggle-label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.decor-order-toggle-label > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.decor-order-toggle-label strong {
  color: #172033;
  font-size: 14px;
}

.decor-order-toggle-label em {
  margin-top: 3px;
  color: #8190a4;
  font-size: 11px;
  font-style: normal;
}

.decor-order-row input.decor-feature-toggle {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  accent-color: #d4a853;
}

.decor-drag-handle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 0;
  border-radius: 9px;
  background: #f1f5f9;
  cursor: grab;
  touch-action: none;
}

.decor-drag-handle:active {
  cursor: grabbing;
}

.decor-drag-handle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.decor-drag-handle i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #8290a3;
}

.decor-order-row.disabled .decor-drag-handle {
  opacity: .72;
}

.store-business-current,
.store-business-mode-actions,
.store-special-hours-block {
  grid-column: 1 / -1;
}

.store-business-current {
  display: flex;
  min-height: 54px;
  padding: 10px 12px;
  align-items: center;
  gap: 10px;
  border: 1px solid #d7e4f7;
  border-radius: 9px;
  background: #f6f9ff;
}

.store-business-current span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 15px;
  background: #e6f4eb;
  color: #287b52;
  font-size: 12px;
  font-weight: 800;
}

.store-business-current.closed span {
  background: #fff0ed;
  color: #b44b3d;
}

.store-business-current strong {
  min-width: 0;
  color: #35455a;
  font-size: 13px;
}

.store-business-temporary-field {
  display: none;
}

.store-business-temporary-field.active {
  display: grid;
}

.store-business-mode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-business-mode-actions button,
.store-special-hours-block button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d7e1ec;
  border-radius: 7px;
  background: #f8fafc;
  color: #445469;
  font-size: 12px;
  font-weight: 800;
}

.store-business-mode-actions button.danger {
  border-color: #f0d0ca;
  background: #fff7f5;
  color: #b74a3b;
}

.store-special-hours-block {
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}

.store-special-hours-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.store-special-hours-row {
  display: grid;
  grid-template-columns: 132px minmax(120px, 1fr) auto 104px 20px 104px auto;
  min-width: 0;
  padding: 9px;
  align-items: center;
  gap: 7px;
  border: 1px solid #e1e8f0;
  border-radius: 9px;
  background: #fbfcfe;
}

.store-special-hours-row > input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 9px;
  border: 1px solid #dce4ed;
  border-radius: 7px;
  background: #fff;
  color: #26364a;
  font: inherit;
  font-size: 12px;
}

.store-special-hours-row > input:disabled {
  opacity: .46;
}

.store-special-hours-closed {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5f6f82;
  font-size: 12px;
  white-space: nowrap;
}

.store-special-hours-closed input {
  width: 17px;
  height: 17px;
  accent-color: #2563eb;
}

.store-special-hours-separator {
  color: #8a98aa;
  text-align: center;
  font-size: 12px;
}

.store-special-hours-remove {
  color: #b84b3d !important;
}

.store-special-hours-empty {
  padding: 20px 12px;
  border: 1px dashed #d8e0e9;
  border-radius: 8px;
  color: #8795a7;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 760px) {
  .store-special-hours-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .store-special-hours-date { grid-column: 1; grid-row: 1; }
  .store-special-hours-label { grid-column: 2; grid-row: 1; }
  .store-special-hours-closed { grid-column: 1; grid-row: 2; }
  .store-special-hours-row > input.store-special-hours-start,
  .store-special-hours-row > input.store-special-hours-end {
    grid-row: 3;
  }

  .store-special-hours-separator {
    display: none;
  }

  .store-special-hours-remove {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

.lottery-analysis-page,
.random-ten-page {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.analysis-switch-card,
.random-ten-brand,
.analysis-table-card,
.random-ten-list {
  margin-top: 12px;
}

.analysis-switch-card {
  padding: 12px;
}

.analysis-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.analysis-summary-card {
  min-width: 0;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.analysis-summary-card > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 24px;
  border-radius: 6px;
  background: #fae8e6;
  color: #c0392b;
  font-size: 12px;
  font-weight: 800;
}

.analysis-summary-card.blue > span {
  background: #e6edf6;
  color: #2a6b9a;
}

.analysis-summary-card > strong {
  display: block;
  margin-top: 8px;
  color: #1a2634;
  font-size: 14px;
}

.analysis-summary-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.analysis-summary-card b {
  color: #5a6a7a;
  font-size: 12px;
  font-weight: 700;
}

.analysis-table-card,
.random-ten-list {
  padding: 14px;
}

.analysis-number-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.analysis-number-cell {
  min-width: 0;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 7px 2px;
  background: #f8fafc;
  text-align: center;
}

.analysis-number-cell strong,
.analysis-number-cell span,
.analysis-number-cell em {
  display: block;
}

.analysis-number-cell strong {
  color: #c0392b;
  font-size: 14px;
}

.analysis-number-cell span,
.analysis-number-cell em {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 9px;
  font-style: normal;
  line-height: 1.25;
  white-space: nowrap;
}

.random-ten-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.random-ten-brand div {
  min-width: 0;
}

.random-ten-brand strong,
.random-ten-brand em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.random-ten-brand strong {
  color: #1a2634;
  font-size: 15px;
}

.random-ten-brand em {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
}

.random-ten-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 42px;
  border-top: 1px solid #f0f2f5;
}

.random-ten-row:first-of-type {
  margin-top: 8px;
}

.random-ten-row > span {
  color: #8a9aaa;
  font-size: 11px;
  font-weight: 700;
}

.random-ten-row .balls {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
}

.random-ten-row .ball {
  display: inline-grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  font-size: 10px;
}

.random-ten-row .ball.placeholder {
  background: #f5f7fa;
  color: #a6b0bb;
  box-shadow: inset 0 0 0 1px #e2e7ec;
}

.random-ten-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a9aaa;
  font-size: 11px;
  font-weight: 800;
}

.random-ten-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7d0d8;
  content: "";
}

.random-ten-status.running {
  color: #c0392b;
}

.random-ten-status.running::before {
  background: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.random-ten-status.paused {
  color: #2d7d5a;
}

.random-ten-status.paused::before {
  background: #2d7d5a;
}

.random-ten-list.rolling .random-ten-row .balls {
  animation: random-ten-roll-pulse 220ms ease-in-out infinite alternate;
}

@keyframes random-ten-roll-pulse {
  from {
    opacity: 0.58;
    transform: translateY(1px);
  }
  to {
    opacity: 1;
    transform: translateY(-1px);
  }
}

.random-ten-workspace,
.random-ten-info,
.random-ten-stage {
  display: contents;
}

.random-ten-actions {
  margin-top: 12px;
}

.random-ten-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.random-ten-control-grid button,
.random-ten-use {
  min-height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.random-ten-control-grid .start {
  background: var(--navy);
  color: #fff;
}

.random-ten-control-grid .pause {
  background: #c0392b;
  color: #fff;
}

.random-ten-control-grid .save {
  background: var(--gold);
  color: var(--navy);
}

.random-ten-control-grid button:disabled,
.random-ten-use:disabled {
  background: #e3e8ed;
  color: #a0abb6;
  cursor: default;
}

.random-ten-use {
  width: 100%;
  margin-top: 10px;
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px #cfd7df;
}

.random-ten-actions p {
  margin: 8px 0 0;
  color: #8a9aaa;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.desktop-shell .random-ten-workspace {
  display: grid;
  grid-template-columns: max-content 280px;
  grid-template-areas:
    "stage info"
    "stage actions";
  align-items: start;
  gap: 14px 16px;
  width: max-content;
  max-width: 100%;
  margin: 18px auto 0;
}

.desktop-shell .random-ten-info {
  grid-area: info;
  display: grid;
  gap: 12px;
}

.desktop-shell .random-ten-stage {
  grid-area: stage;
  display: block;
}

.desktop-shell .random-ten-actions {
  grid-area: actions;
  position: sticky;
  top: 18px;
  margin-top: 0;
  padding: 16px;
  border: 1px solid #dce3e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.desktop-shell .random-ten-brand,
.desktop-shell .analysis-switch-card,
.desktop-shell .random-ten-list {
  width: 100%;
  margin: 0;
}

.desktop-shell .random-ten-row {
  min-height: 48px;
}

.desktop-shell .random-ten-row .ball {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  font-size: 11px;
}

@media (max-width: 380px) {
  .analysis-number-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .random-ten-row .balls {
    gap: 3px;
  }

  .random-ten-row .ball {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
    font-size: 9px;
  }
}

.football-league-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.football-detail-hero {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
}

.football-detail-action-card {
  margin-top: 12px;
  padding: 12px;
}

.football-detail-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-align: center;
}

.football-detail-score strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-detail-score b {
  display: grid;
  min-height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
}

.football-detail-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.football-detail-list div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.football-detail-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.football-detail-list strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-match-detail-page {
  background: #f5f7fa;
}

.football-match-detail-brief {
  margin-top: 14px;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.football-match-detail-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.football-match-detail-main {
  display: grid;
  gap: 14px;
  padding: 14px 0 24px;
}

.football-match-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 0;
}

.football-match-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.football-match-section-head b {
  color: #d4a853;
  font-weight: 800;
}

.football-match-overview {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 18px 18px 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.football-match-overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #8a9aaa;
  font-size: 12px;
}

.football-match-overview-top span {
  min-width: 0;
  overflow: hidden;
  color: #1a2634;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-match-overview-top em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 2px 12px;
  background: #f5ede0;
  color: #b8944b;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.football-match-overview-top em.live {
  background: #fae8e6;
  color: #c0392b;
}

.football-match-overview-top em.finished {
  background: #e6f0ea;
  color: #2d7d5a;
}

.football-match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 10px 0 8px;
  text-align: center;
}

.football-match-teams strong {
  min-width: 0;
  overflow: hidden;
  color: #1a2634;
  font-size: 20px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-match-teams b {
  color: #aab4c0;
  font-size: 14px;
  font-weight: 500;
}

.football-match-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid #f0f2f5;
  margin-top: 4px;
  padding-top: 12px;
}

.football-match-overview-grid div {
  min-width: 0;
  text-align: center;
}

.football-match-overview-grid span {
  display: block;
  color: #8a9aaa;
  font-size: 10px;
  font-weight: 500;
}

.football-match-overview-grid strong {
  display: block;
  min-width: 0;
  margin-top: 2px;
  overflow: hidden;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-match-overview-grid strong.gold {
  color: #d4a853;
}

.football-match-league-btn {
  width: 100%;
  min-height: 36px;
  margin-top: 12px;
  border: 1px solid #d4a853;
  border-radius: 8px;
  background: #fdfaf5;
  color: #b8944b;
  font-size: 13px;
  font-weight: 800;
}

.football-match-module-rows {
  display: grid;
  gap: 8px;
}

.football-match-module-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.football-match-module-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 32px;
  height: 26px;
  border-radius: 6px;
  padding: 0 10px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.football-match-module-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.football-match-module-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.football-match-module-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.football-match-module-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.football-match-module-row div {
  flex: 1;
  min-width: 0;
}

.football-match-module-row div > strong {
  display: block;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.football-match-module-row p {
  margin: 1px 0 0;
  color: #5a6a7a;
  font-size: 12px;
  line-height: 1.55;
}

.football-match-module-row p .highlight {
  color: #1a2634;
  font-weight: 800;
}

.football-match-module-row p .up {
  color: #c0392b;
}

.football-match-module-row p .down {
  color: #2d7d5a;
}

.football-match-module-row i {
  flex: 0 0 auto;
  color: #aab4c0;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
}

.football-match-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .football-match-teams strong {
    font-size: 17px;
  }

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

  .football-match-module-badge {
    min-width: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .football-match-module-row div > strong {
    font-size: 13px;
  }

  .football-match-module-row p {
    font-size: 11px;
  }
}

.football-league-detail-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 16px;
}

.football-league-detail-hero > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
  font-size: 22px;
  font-weight: 900;
}

.football-league-detail-hero h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.football-league-detail-hero p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.football-league-match-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.football-league-detail-page {
  background: #f5f7fa;
}

.football-league-detail-brief {
  margin-top: 14px;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.football-league-detail-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.football-league-detail-main {
  display: grid;
  gap: 14px;
  padding: 14px 0 24px;
}

.football-league-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 0;
}

.football-league-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.football-league-section-head b {
  color: #d4a853;
  font-weight: 800;
}

.football-league-overview {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 18px 18px 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.football-league-overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.football-league-overview-top strong {
  min-width: 0;
  overflow: hidden;
  color: #1a2634;
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-league-overview-top em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 2px 14px;
  background: #e6f0ea;
  color: #2d7d5a;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.football-league-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid #f0f2f5;
  margin-top: 12px;
  padding-top: 12px;
}

.football-league-overview-stats div {
  min-width: 0;
  text-align: center;
}

.football-league-overview-stats span {
  display: block;
  color: #8a9aaa;
  font-size: 10px;
  font-weight: 500;
}

.football-league-overview-stats strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-league-overview-stats strong.gold {
  color: #d4a853;
}

.football-league-table-rows {
  display: grid;
  gap: 6px;
}

.football-league-table-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.football-league-table-row .rank {
  flex: 0 0 28px;
  color: #8a9aaa;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.football-league-table-row .rank.top1 {
  color: #d4a853;
}

.football-league-table-row .rank.top2 {
  color: #aab4c0;
}

.football-league-table-row .rank.top3 {
  color: #b8944b;
}

.football-league-table-row .team-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 28px;
  height: 24px;
  border-radius: 4px;
  padding: 0 9px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 11px;
  font-weight: 900;
}

.football-league-table-row .team-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.football-league-table-row .team-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.football-league-table-row .team-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.football-league-table-row div {
  flex: 1;
  min-width: 0;
}

.football-league-table-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-league-table-row em {
  display: block;
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
}

.football-league-table-row em .num {
  color: #1a2634;
  font-weight: 800;
}

.football-league-table-row small {
  flex: 0 0 auto;
  min-width: 36px;
  color: #8a9aaa;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
}

.football-league-table-row small.positive {
  color: #2d7d5a;
}

.football-league-table-row small.negative {
  color: #c0392b;
}

.football-league-table-row b {
  flex: 0 0 auto;
  min-width: 32px;
  color: #1a2634;
  text-align: right;
  font-size: 16px;
  font-weight: 900;
}

.football-league-table-row b.gold {
  color: #d4a853;
}

.football-league-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .football-league-overview-top strong {
    font-size: 16px;
  }

  .football-league-overview-stats strong {
    font-size: 13px;
  }

  .football-league-table-row {
    gap: 10px;
    padding: 10px 12px;
  }

  .football-league-table-row strong {
    font-size: 13px;
  }

  .football-league-table-row em,
  .football-league-table-row small {
    font-size: 11px;
  }

  .football-league-table-row b {
    min-width: 28px;
    font-size: 14px;
  }
}

.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.34);
}

#sheet-root.message-detail-modal-open {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: auto;
  touch-action: none;
  overscroll-behavior: contain;
}

html.message-detail-open,
html.message-detail-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

#sheet-root.message-detail-modal-open .sheet-mask {
  z-index: 1;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(2px);
}

#sheet-root.message-detail-modal-open .message-detail-dialog {
  z-index: 2;
  touch-action: pan-y;
}

.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 51;
  width: min(100%, 540px);
  max-height: min(78vh, 680px);
  transform: translateX(-50%);
  border-radius: 14px 14px 0 0;
  background: #fff;
  box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.sheet-head {
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.sheet-head strong {
  flex: 1;
  font-size: 16px;
}

.sheet-body {
  max-height: calc(min(78vh, 680px) - 54px);
  overflow-y: auto;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
}

.image-preview-sheet {
  max-height: min(92vh, 860px);
}

.image-preview-body {
  max-height: calc(min(92vh, 860px) - 54px);
  padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
  background: #f8fafc;
}

.image-preview-tip {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: inset 0 0 0 1px #fed7aa;
}

.image-preview-tip strong {
  font-size: 13px;
}

.generated-image-preview {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.sheet-option {
  min-height: 42px;
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.sheet-option.active {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 80;
  transform: translateX(-50%);
  max-width: min(90vw, 420px);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

.hide {
  display: none !important;
}

.app-shell {
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  background: #f8fafc;
  padding-bottom: 0;
}

.page {
  min-height: 100vh;
  padding: 0 14px 24px;
  background: #f8fafc;
}

.page.with-bottom {
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

.page.with-fixed-save {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(88px, auto);
  gap: 0;
  min-height: calc(52px + env(safe-area-inset-top));
  margin: 0 -14px 12px;
  padding: env(safe-area-inset-top) 4px 0;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.topbar.gradient-topbar {
  background: linear-gradient(135deg, #2563eb, #16a34a);
}

.topbar .icon-btn {
  width: 52px;
  height: 52px;
  min-height: 52px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111827;
  font-size: 30px;
  line-height: 1;
}

.gradient-topbar .icon-btn {
  color: #fff;
}

.topbar-title {
  display: grid;
  place-items: center;
  text-align: center;
}

.topbar-title h1 {
  margin: 0;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.gradient-topbar .topbar-title h1 {
  color: #fff;
}

.topbar-title p {
  display: none;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.title-action {
  min-height: 52px;
  padding: 0 10px;
  border-radius: 0;
  background: transparent;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
  white-space: nowrap;
}

.title-action.gray {
  color: #64748b;
}

.title-action.inline {
  min-height: 28px;
  padding: 0 0 0 10px;
}

.home-header {
  margin: 0 -14px 14px;
  padding: calc(18px + env(safe-area-inset-top)) 18px 22px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9 55%, #16a34a);
  color: #fff;
}

.home-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.home-header p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
}

.home-mine {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.android-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

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

.feature-card {
  min-height: 114px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.feature-card .feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.feature-card.red .feature-icon {
  background: #ef4444;
}

.feature-card.blue .feature-icon {
  background: #2563eb;
}

.feature-card.green .feature-icon {
  background: #16a34a;
}

.feature-card.amber .feature-icon {
  background: #d97706;
}

.feature-card.purple .feature-icon {
  background: #7c3aed;
}

.feature-card.cyan .feature-icon {
  background: #0891b2;
}

.feature-card strong {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.feature-card span:not(.feature-icon) {
  display: block;
  margin-top: 5px;
  color: #9ca3af;
  font-size: 10px;
  line-height: 1.45;
}

.quick-panel,
.home-data-card,
.tool-panel {
  margin-top: 16px;
  padding: 14px;
}

.store-post-panel {
  margin-top: 16px;
  padding: 14px;
}

.store-service-panel {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
}

.store-visitor-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px;
}

.store-visitor-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
}

.store-visitor-actions .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 6px;
  font-size: 12px;
  text-align: center;
}

.store-visitor-actions .ghost-btn.active {
  background: #ecfdf5;
  color: #047857;
  box-shadow: inset 0 0 0 1px #bbf7d0;
}

.store-visitor-domain {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-visitor-domain span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.store-visitor-domain strong {
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  word-break: break-all;
}

.store-visitor-panel p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

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

.store-service-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.store-service-card span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.store-service-card strong {
  align-self: end;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.store-service-card em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.store-service-panel p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.store-today-board {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
}

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

.store-board-grid div {
  min-height: 78px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-board-grid span,
.store-board-post span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.store-board-grid strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.store-board-grid em,
.store-board-post em {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.store-board-post {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.store-board-post strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.store-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-today-board p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.store-post-home-list,
.store-post-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.store-post-card {
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 116px;
  padding: 13px;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.store-post-card.compact {
  min-height: 92px;
  box-shadow: inset 0 0 0 1px #eef2f7;
}

.store-post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.store-post-tag {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.post-status {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}

.post-status.pending {
  background: #fffbeb;
  color: #d97706;
}

.post-status.approved {
  background: #ecfdf5;
  color: #059669;
}

.post-status.rejected {
  background: #fef2f2;
  color: #dc2626;
}

.store-post-card strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.store-post-card em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.store-post-card small,
.store-post-readonly {
  color: #94a3b8;
  font-size: 11px;
}

.store-post-card .store-post-reject {
  color: #dc2626;
  line-height: 1.5;
}

.store-post-feed-card {
  align-content: start;
  border: 1px solid #e7edf4;
}

.store-post-feed-card.compact {
  min-height: 0;
}

.store-post-feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.store-post-feed-meta .post-status,
.store-post-feed-meta .store-post-tag {
  justify-self: auto;
}

.store-post-pinned {
  padding: 4px 7px;
  border-radius: 6px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
}

.store-post-feed-card h3 {
  margin: 2px 0 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.45;
}

.store-post-feed-content {
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.store-post-feed-content p {
  margin: 0 0 8px;
}

.store-post-feed-content p:last-child {
  margin-bottom: 0;
}

.store-post-card .store-post-feed-image {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: left top;
}

.store-post-feed-cover {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.store-post-feed-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  aspect-ratio: 32 / 27;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #eef2f6;
  text-align: left;
}

.store-post-feed-preview .store-post-feed-image {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.store-post-feed-preview > span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.76);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.store-post-feed-preview:active {
  opacity: 0.9;
}

.store-post-feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.store-post-feed-footer button {
  min-width: 48px;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.store-post-panel .store-post-feed-card,
.owner-content-list .store-post-feed-card {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-top: 1px solid #e7edf4;
  border-radius: 0;
  box-shadow: none;
}

.store-post-panel .store-post-feed-card:first-child,
.owner-content-list .store-post-feed-card:first-child {
  border-top: 0;
}

.store-post-readonly {
  margin: 12px 0 0;
  line-height: 1.55;
}

.store-post-empty {
  padding: 18px 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

.store-posts-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-post-update-notice {
  position: sticky;
  top: calc(52px + env(safe-area-inset-top));
  z-index: 19;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  margin: -2px 0 12px;
  border: 1px solid #c9defa;
  border-radius: 9px;
  background: #eaf3ff;
  color: #1d4ed8;
  box-shadow: 0 5px 16px rgba(37, 99, 235, 0.12);
  font-size: 14px;
}

.store-post-update-notice span,
.store-post-update-notice strong {
  color: inherit;
  font-weight: 800;
}

.desktop-shell .store-post-update-notice {
  top: 74px;
}

.store-post-page-brief {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #4a5a6a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.store-post-page-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.store-post-segments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
  padding: 6px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-post-segments.category {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-post-segments button {
  display: grid;
  gap: 2px;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px 4px;
  border-radius: 8px;
  background: transparent;
  color: #8a9aaa;
  text-align: center;
}

.store-post-segments button.active {
  background: #1a2634;
  color: #fff;
}

.store-post-segments strong,
.store-post-segments span {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-post-segments strong {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.store-post-segments span {
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.75;
}

.store-post-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.store-post-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.store-post-section-head b {
  color: var(--gold);
  font-weight: 800;
}

.store-post-date-groups {
  display: grid;
  gap: 18px;
}

.store-post-date-group {
  min-width: 0;
}

.store-post-date-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.store-post-date-head strong {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.store-post-date-head span {
  color: #8a9aaa;
  font-size: 12px;
}

.store-post-date-head i {
  flex: 1;
  height: 1px;
  background: #dfe5eb;
}

.store-post-date-head.pinned strong {
  color: #b8944b;
}

.store-post-row-list {
  display: grid;
  gap: 8px;
}

.store-post-row-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  width: 100%;
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: #1a2634;
  text-align: left;
}

.store-post-row-item:active {
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.08);
  transform: translateY(1px);
}

.store-post-row-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  margin-top: 1px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.store-post-row-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.store-post-row-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-post-row-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-post-row-item div {
  min-width: 0;
}

.store-post-row-item strong {
  display: block;
  overflow: hidden;
  color: #1a2634;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-post-row-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 0;
  color: #5a6a7a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-post-row-item em {
  display: block;
  margin-top: 4px;
  color: #c0392b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

.store-post-row-item small {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  color: #aab4c0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.store-post-row-item small span:last-child {
  color: var(--gold);
  font-weight: 600;
}

.store-post-row-status {
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #8a9aaa;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  white-space: nowrap;
}

.store-post-row-status.published {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-post-row-status.new,
.store-post-row-status.pending {
  background: #f5ede0;
  color: #b8944b;
}

.store-post-row-status.rejected {
  background: #fae8e6;
  color: #c0392b;
}

.store-post-page-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-post-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-post-segments.category {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-post-row-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 13px 12px;
  }

  .store-post-row-status {
    grid-column: 2;
    justify-self: start;
  }

  .store-post-row-badge {
    min-width: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .store-post-row-item strong {
    font-size: 13px;
  }

  .store-post-row-item p {
    font-size: 12px;
  }
}

.store-post-filter-card {
  margin-top: 12px;
  padding: 14px;
}

.store-post-category-card {
  margin-top: 12px;
  padding: 14px;
}

.store-post-category-scroll {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.store-post-category-scroll::-webkit-scrollbar {
  display: none;
}

.store-post-category-scroll button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.store-post-category-scroll button.active {
  background: #eff6ff;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.store-post-category-scroll strong,
.store-post-category-scroll span {
  font-size: 12px;
  font-weight: 900;
}

.store-post-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.store-post-filter-grid button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 58px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.store-post-filter-grid button.active {
  background: #eff6ff;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.store-post-filter-grid strong {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.store-post-filter-grid span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.owner-content-card {
  display: grid;
  gap: 12px;
}

.owner-content-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.owner-content-status button {
  display: grid;
  gap: 4px;
  min-height: 56px;
  padding: 8px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.owner-content-status span {
  font-size: 12px;
  font-weight: 800;
}

.owner-content-status strong {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.owner-content-list {
  display: grid;
  gap: 8px;
}

.owner-content-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  align-items: start;
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.owner-content-row > span {
  grid-row: span 3;
}

.owner-content-row strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.owner-content-row em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.owner-content-row small {
  color: #94a3b8;
  font-size: 11px;
}

.owner-content-row.pending {
  box-shadow: inset 0 0 0 1px #fde68a;
}

.owner-content-row.rejected {
  box-shadow: inset 0 0 0 1px #fecaca;
}

.store-content-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-content-brief {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #4a5a6a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.store-content-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.store-content-section-head.entries {
  margin-top: 18px;
}

.store-content-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.store-content-section-head b {
  color: var(--gold);
  font-weight: 800;
}

.store-content-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-content-status-card {
  display: grid;
  justify-items: center;
  min-width: 0;
  min-height: 112px;
  padding: 16px 8px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: #1a2634;
  text-align: center;
}

.store-content-status-card:active,
.store-content-entry-row:active {
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.08);
  transform: translateY(1px);
}

.store-content-status-card span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.3px;
}

.store-content-status-card.green span,
.store-content-entry-row.green > span {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-content-status-card.amber span {
  background: #f5ede0;
  color: #b8944b;
}

.store-content-status-card.red span {
  background: #fae8e6;
  color: #c0392b;
}

.store-content-status-card strong {
  margin-top: 6px;
  color: #1a2634;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.store-content-status-card.amber strong {
  color: var(--gold);
}

.store-content-status-card p {
  margin: 2px 0 0;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.store-content-row-list {
  display: grid;
  gap: 8px;
}

.store-content-entry-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: #1a2634;
  text-align: left;
}

.store-content-entry-row:disabled {
  opacity: 0.62;
}

.store-content-entry-row > span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.store-content-entry-row.gold > span {
  background: #f5ede0;
  color: #b8944b;
}

.store-content-entry-row.blue > span {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-content-entry-row div {
  min-width: 0;
}

.store-content-entry-row strong,
.store-content-entry-row em {
  display: block;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-content-entry-row strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.store-content-entry-row em {
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}

.store-content-entry-row b {
  color: #aab4c0;
  font-size: 16px;
  font-weight: 300;
}

.store-content-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-content-status-grid {
    gap: 6px;
  }

  .store-content-status-card {
    min-height: 102px;
    padding: 12px 6px 10px;
  }

  .store-content-status-card strong {
    font-size: 22px;
  }

  .store-content-status-card p,
  .store-content-entry-row em {
    font-size: 11px;
  }

  .store-content-entry-row {
    gap: 10px;
    padding: 12px;
  }

  .store-content-entry-row > span {
    min-width: 28px;
    padding: 0 8px;
    font-size: 11px;
  }
}

.store-post-intro,
.store-post-detail,
.post-editor-card {
  margin-top: 12px;
  padding: 16px;
}

.store-post-intro h2,
.store-post-detail h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.store-post-intro p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

.store-post-detail-brief {
  margin-top: 14px;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.store-post-detail-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.store-post-detail {
  margin-top: 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 20px 18px 18px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.store-post-detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.store-post-detail-meta span,
.store-post-detail-meta strong {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}

.store-post-detail-meta span {
  background: #eff6ff;
  color: #2563eb;
}

.store-post-detail-meta .store-post-detail-category {
  display: inline-block;
  border-radius: 12px;
  padding: 2px 12px;
  background: #e6f0ea;
  color: #2d7d5a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.store-post-detail-meta .store-post-detail-category.gold {
  background: #f5ede0;
  color: #b8944b;
}

.store-post-detail-meta .store-post-detail-category.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-post-detail-meta .store-post-detail-category.red {
  background: #fae8e6;
  color: #c0392b;
}

.store-post-detail-meta .store-post-detail-category.gray {
  background: #f0f2f4;
  color: #6a7a8a;
}

.store-post-detail-meta strong {
  background: #fef3c7;
  color: #d97706;
}

.store-post-detail-meta em {
  margin-left: auto;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.store-post-detail h2 {
  margin: 10px 0 0;
  color: #1a2634;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.store-post-detail-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-bottom: 1px solid #f0f2f5;
  margin-top: 6px;
  padding-bottom: 14px;
  color: #8a9aaa;
  font-size: 13px;
  line-height: 1.45;
}

.store-post-detail-info .store {
  color: #1a2634;
  font-weight: 500;
}

.store-post-detail-info b {
  color: #d4a853;
  font-weight: 700;
}

.store-post-detail-images {
  display: grid;
  gap: 12px;
  margin: 14px 0 6px;
}

.store-post-detail-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  background: #f0f2f5;
}

.store-post-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border: 1px dashed #d8dee4;
  border-radius: 10px;
  margin: 14px 0 6px;
  background: #f0f2f5;
  color: #8a9aaa;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.store-post-content {
  margin-top: 14px;
}

.store-post-content p {
  margin: 0 0 8px;
  color: #3a4a5a;
  font-size: 15px;
  line-height: 1.8;
}

.store-post-rich-subtitle {
  margin: 18px 0 8px;
  color: #1a2634;
  font-size: 18px;
  line-height: 1.55;
}

.store-post-rich-quote {
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid #9aaaba;
  border-radius: 0 7px 7px 0;
  background: #f4f7fa;
  color: #667788;
  font-size: 14px;
  line-height: 1.75;
}

.store-post-detail-footer-note {
  border-top: 1px solid #f0f2f5;
  margin-top: 14px;
  padding-top: 14px;
  color: #aab4c0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.store-post-disclaimer {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  line-height: 1.65;
}

.store-post-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.store-post-actions button {
  min-height: 40px;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.store-post-actions button.danger {
  color: #dc2626;
  box-shadow: inset 0 0 0 1px #fecaca;
}

@media (max-width: 380px) {
  .store-post-detail {
    padding: 16px 14px 14px;
  }

  .store-post-detail h2 {
    font-size: 17px;
  }

  .store-post-content p {
    font-size: 14px;
  }

  .store-post-image-placeholder {
    height: 120px;
    font-size: 12px;
  }
}

.post-editor-card {
  display: grid;
  gap: 14px;
}

.post-template-card {
  display: grid;
  gap: 12px;
}

.post-template-grid,
.owner-template-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.post-template-grid button,
.owner-template-shortcuts button {
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  align-content: center;
  background: #f8fafc;
  color: inherit;
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--line);
}

.post-template-grid button.active,
.post-template-grid button:active,
.owner-template-shortcuts button:active {
  background: #ecfdf5;
  box-shadow: inset 0 0 0 1px #86efac;
}

.post-template-grid strong,
.owner-template-shortcuts strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.post-template-grid em,
.owner-template-shortcuts em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.owner-template-shortcuts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.owner-template-shortcuts button {
  min-height: 50px;
  padding: 8px 6px;
  text-align: center;
}

.owner-template-shortcuts em {
  display: none;
}

.post-editor-card label {
  display: grid;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.post-editor-card input,
.post-editor-card select,
.post-editor-card textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  background: #f8fafc;
  color: #111827;
  outline: none;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.post-editor-card input,
.post-editor-card select {
  height: 44px;
}

.post-editor-card textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.65;
}

.post-editor-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.post-editor-image {
  display: grid;
  gap: 8px;
  align-content: start;
}

.post-editor-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.post-editor-image button {
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 900;
}

@media (min-width: 760px) {
  .post-editor-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.switch-line {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.switch-line input {
  width: 20px;
  height: 20px;
  padding: 0;
}

.store-post-editor-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.post-editor-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.post-editor-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.post-editor-form-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.post-form-group {
  display: grid;
  gap: 4px;
}

.post-form-group label {
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.post-form-group label span {
  margin-left: 2px;
  color: #c0392b;
}

.post-form-group input,
.post-form-group select,
.post-form-group textarea {
  width: 100%;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #f8f9fb;
  color: #1a2634;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.post-form-group input,
.post-form-group select {
  height: 44px;
  padding: 0 14px;
}

.post-form-group textarea {
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}

.post-form-group input:focus,
.post-form-group select:focus,
.post-form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

.post-form-group input::placeholder,
.post-form-group textarea::placeholder {
  color: #aab4c0;
  font-size: 13px;
}

.post-form-group select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.post-char-count {
  color: #aab4c0;
  text-align: right;
  font-size: 11px;
}

.post-char-count span,
.post-upload-hint span {
  color: var(--gold);
  font-weight: 800;
}

.post-upload-hint {
  color: #aab4c0;
  font-size: 11px;
  line-height: 1.5;
}

.post-pin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 42px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.post-pin-row input {
  width: 20px;
  height: 20px;
}

.post-editor-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.post-editor-btn {
  flex: 1;
  min-height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.post-editor-btn.primary {
  background: #1a2634;
  color: #fff;
}

.post-editor-btn.outline-gold {
  border: 1px solid var(--gold);
  background: #fdfaf5;
  color: #b8944b;
}

.post-audit-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid #e8ecf0;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.post-audit-card > strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
}

.post-audit-list {
  display: grid;
  gap: 6px;
}

.post-audit-list p {
  margin: 0;
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.6;
}

.post-audit-list p::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.post-audit-list span {
  color: #1a2634;
  font-weight: 800;
}

.post-audit-list b {
  color: #c0392b;
  font-weight: 800;
}

@media (max-width: 380px) {
  .post-editor-form-card {
    padding: 14px;
  }

  .post-form-group input,
  .post-form-group select {
    height: 40px;
    font-size: 13px;
  }

  .post-form-group textarea {
    min-height: 88px;
    font-size: 13px;
  }

  .post-editor-actions {
    flex-direction: column;
  }

  .post-editor-btn {
    min-height: 42px;
    font-size: 13px;
  }
}

.store-decor-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
}

.store-decor-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-decor-brief {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #4a5a6a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.store-decor-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.store-decor-section-head.preview {
  margin-top: 18px;
}

.store-decor-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.store-decor-section-head b {
  color: var(--gold);
  font-weight: 800;
}

.store-decor-form-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-decor-field {
  display: grid;
  gap: 4px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.store-decor-field input,
.store-decor-field textarea,
.store-decor-field select,
.decor-order-row input {
  width: 100%;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #f8f9fb;
  color: #1a2634;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.store-decor-field input,
.store-decor-field select,
.decor-order-row input {
  height: 44px;
  padding: 0 14px;
}

.store-decor-field select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.store-decor-field textarea {
  min-height: 80px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

.store-decor-field input:focus,
.store-decor-field textarea:focus,
.store-decor-field select:focus,
.decor-order-row input:focus {
  border-color: var(--gold);
  background: #fff;
}

.store-decor-field input::placeholder,
.store-decor-field textarea::placeholder {
  color: #aab4c0;
  font-size: 13px;
}

.decor-switch {
  min-height: 56px;
  padding: 10px 0;
  border-bottom: 1px solid #e8ecf0;
}

.decor-switch:last-child {
  border-bottom: 0;
}

.decor-switch span,
.decor-order-row span {
  display: grid;
  gap: 3px;
}

.decor-switch strong,
.decor-order-row strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
}

.decor-switch em,
.decor-order-row em {
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
  font-weight: 600;
}

.decor-order-list {
  display: grid;
  gap: 8px;
}

.store-local-lottery-config {
  gap: 12px;
}

.store-local-lottery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-local-lottery-head > strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
}

.store-local-lottery-head > div {
  display: flex;
  gap: 8px;
}

.store-local-lottery-head button {
  min-width: 52px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dbe2e8;
  border-radius: 6px;
  background: #f8f9fb;
  color: #4c5d6d;
  font-size: 12px;
  font-weight: 800;
}

.store-local-lottery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.store-local-lottery-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #e2e7ec;
  border-radius: 6px;
  background: #fff;
  color: #344454;
  font-size: 12px;
  font-weight: 800;
}

.store-local-lottery-grid input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: #b88932;
}

.store-local-lottery-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.decor-order-row {
  grid-template-columns: 30px minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.decor-order-row input {
  padding: 0 8px;
  text-align: center;
  font-weight: 900;
}

.decor-order-row.disabled {
  opacity: .62;
}

.store-decor-form-card > .decor-order-tip,
.store-decor-form-card > .decor-order-list {
  grid-column: 1 / -1;
}

.store-decor-save-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: #1a2634;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.store-decor-save-btn:active {
  background: #2a3a4a;
  transform: translateY(1px);
}

.store-decor-preview-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-decor-preview-label {
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f2f5;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.store-home-preview {
  display: grid;
  gap: 10px;
  padding: 14px 16px 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #f8f9fb;
  box-shadow: none;
}

.store-preview-hero {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8ecf0;
  box-shadow: none;
}

.store-preview-hero strong,
.store-preview-board strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.store-preview-hero em,
.store-preview-board em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.store-preview-service {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.store-preview-service span {
  min-height: 62px;
  padding: 8px 4px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e8ecf0;
  text-align: center;
  box-shadow: none;
}

.store-preview-service i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #dcfce7;
  color: #047857;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.store-preview-service strong {
  color: var(--text);
  font-size: 11px;
  line-height: 1.2;
}

.store-preview-board {
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8ecf0;
  box-shadow: none;
}

.store-preview-board span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.store-preview-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.store-preview-quick span {
  min-height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.store-decor-preview-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.store-decor-preview-actions button,
.store-decor-preview-actions a {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f8f9fb;
  color: #1a2634;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #e8ecf0;
}

.store-decor-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-decor-form-card,
  .store-decor-preview-card {
    padding: 14px;
  }

  .store-decor-field input,
  .store-decor-field select,
  .decor-order-row input {
    height: 40px;
    font-size: 13px;
  }

  .store-decor-field textarea {
    min-height: 68px;
    font-size: 13px;
  }

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

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

  .store-decor-preview-actions {
    grid-template-columns: 1fr;
  }

  .store-decor-save-btn {
    min-height: 44px;
    font-size: 14px;
  }
}

.store-home-preview.compact {
  gap: 8px;
}

.store-home-preview.poster .store-preview-hero {
  min-height: 108px;
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.review-group {
  margin-top: 14px;
}

.review-card {
  margin-top: 10px;
  padding: 14px;
}

.review-card h3 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.review-card p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.review-issues,
.review-pass,
.review-reason {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.review-issues {
  display: grid;
  gap: 5px;
  background: #fef2f2;
  color: #dc2626;
}

.review-pass {
  background: #ecfdf5;
  color: #059669;
}

.review-reason {
  background: #fffbeb;
  color: #92400e;
}

.review-reason-input {
  width: 100%;
  min-height: 74px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  outline: none;
  resize: vertical;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.review-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.review-actions button {
  min-height: 40px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.review-actions button.danger {
  background: #dc2626;
}

.audit-timeline {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
}

.audit-timeline h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.audit-timeline div {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  border-top: 1px solid #f8fafc;
}

.audit-timeline strong {
  color: #2563eb;
  font-size: 13px;
}

.audit-timeline span,
.audit-timeline em,
.audit-timeline p {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.quick-panel h2,
.tool-panel h2,
.template-card h2,
.notice-card h2 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 12px;
}

.home-quick {
  display: grid;
  place-items: center;
  min-height: 72px;
  background: transparent;
  color: #4b5563;
  text-align: center;
}

.home-quick span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.home-quick.blue span {
  background: #eff6ff;
  color: #2563eb;
}

.home-quick.green span {
  background: #ecfdf5;
  color: #16a34a;
}

.home-quick.amber span {
  background: #fffbeb;
  color: #d97706;
}

.home-quick.gray span {
  background: #f3f4f6;
  color: #6b7280;
}

.home-quick strong {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
}

.home-quick em {
  display: none;
}

.section-title {
  margin: 16px 2px 10px;
}

.section-title h3 {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.card-title-row,
.home-draw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title-row strong,
.card-title-row h2 {
  margin: 0;
  font-size: 14px;
}

.card-title-row span {
  color: #9ca3af;
  font-size: 11px;
}

.home-draw-row {
  margin-top: 12px;
}

.home-draw-row div:first-child {
  min-width: 74px;
}

.home-draw-row strong {
  display: block;
  font-size: 14px;
}

.home-draw-row div:first-child span {
  display: block;
  margin-top: 3px;
  color: #9ca3af;
  font-size: 11px;
}

.android-divider {
  height: 1px;
  margin: 12px 0;
  background: #f3f4f6;
}

.event-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.event-stat {
  height: 74px;
  border-radius: 8px;
  padding: 12px;
}

.event-stat.green {
  background: #ecfdf5;
}

.event-stat.amber {
  background: #fffbeb;
}

.event-stat span {
  display: block;
  font-size: 11px;
}

.event-stat.green span {
  color: #059669;
}

.event-stat.amber span {
  color: #d97706;
}

.event-stat strong {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 20px;
}

.home-data-card p {
  margin: 10px 0 0;
  color: #9ca3af;
  font-size: 11px;
}

.tab-switch {
  height: 48px;
  margin-top: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.tab-switch .seg-btn {
  height: 48px;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.tab-switch .seg-btn.active {
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}

.sports-section-title {
  align-items: center;
}

.sports-style-card {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
}

.sports-style-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sports-style-head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sports-style-head strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.sports-style-head em {
  overflow: hidden;
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sports-style-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.sports-style-segment {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border-radius: 8px;
  padding: 4px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.sports-style-segment button {
  min-width: 0;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 4px;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.sports-style-segment button.active {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.18);
}

.sports-style-segment span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-head {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: #edf2f7;
  color: #111827;
  text-align: left;
  box-shadow: none;
}

.day-head span {
  flex: 1;
  font-size: 14px;
  font-weight: 900;
}

.day-head em {
  color: #2563eb;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.match-card,
.selection-card,
.detail-card,
.match-summary-card {
  margin-top: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.match-card {
  padding: 14px;
}

.match-title {
  display: block;
  min-width: 0;
  flex: 1;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-no {
  margin-right: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.match-meta {
  align-items: center;
  margin-top: 9px;
}

.match-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 12px;
}

.match-action-row span {
  flex: 1;
  min-width: 0;
  color: var(--subtle);
  font-size: 12px;
}

.all-play-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.play-row {
  grid-template-columns: 70px repeat(3, minmax(0, 1fr));
}

.play-row.two {
  grid-template-columns: 70px repeat(2, minmax(0, 1fr));
}

.play-label {
  color: #1e293b;
  font-size: 11px;
}

.option-btn {
  min-height: 46px;
  border-radius: 7px;
  background: #f8fafc;
  color: #111827;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  font-size: 12px;
}

.option-btn.selected {
  background: #2563eb;
  color: #fff;
}

.sports-style-compact .match-card {
  padding: 10px;
}

.sports-style-compact .match-title {
  font-size: 13px;
}

.sports-style-compact .match-meta {
  margin-top: 6px;
  font-size: 11px;
}

.sports-style-compact .play-row {
  margin-top: 6px;
}

.sports-style-compact .option-btn {
  min-height: 32px;
  padding: 4px 5px;
  font-size: 12px;
}

.sports-style-odds .option-btn {
  min-height: 48px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.sports-style-odds .option-btn.trend-up:not(.selected),
.sports-style-odds .option-btn.trend-down:not(.selected) {
  box-shadow: inset 0 0 0 1px currentColor;
}

.sports-style-odds .play-label {
  color: #0f172a;
  font-weight: 900;
}

.sports-style-matrix .match-card {
  padding: 0;
  overflow: hidden;
}

.sports-style-matrix .match-head,
.sports-style-matrix .match-meta {
  padding-left: 12px;
  padding-right: 12px;
}

.sports-style-matrix .match-head {
  padding-top: 12px;
}

.sports-style-matrix .match-meta {
  padding-bottom: 10px;
}

.sports-style-matrix .play-row {
  margin-top: 0;
  border-top: 1px solid #e2e8f0;
}

.sports-style-matrix .play-label {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding-left: 8px;
  background: #f8fafc;
}

.sports-style-matrix .option-btn {
  min-height: 42px;
  border-radius: 0;
  box-shadow: inset 1px 0 0 #e2e8f0;
}

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

  .selection-play-name {
    justify-content: flex-start;
  }

  .store-share-line {
    grid-template-columns: 1fr auto;
  }

  .store-share-line span {
    grid-column: 1 / -1;
  }

  .share-app-hero-card {
    grid-template-columns: 1fr;
  }

  .share-app-status {
    text-align: left;
  }

  .share-app-link-line {
    grid-template-columns: 1fr auto;
  }

  .share-app-link-line span {
    grid-column: 1 / -1;
  }

  .share-app-feature-grid {
    grid-template-columns: 1fr;
  }
}

.notice {
  margin-top: 12px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: none;
}

.notice.amber {
  background: #fffbeb;
  color: #92400e;
}

.notice.green {
  background: #ecfdf5;
  color: #047857;
}

.notice.red {
  background: #fef2f2;
  color: #b91c1c;
}

.commercial-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.brand-line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.brand-line strong {
  display: block;
  font-size: 16px;
}

.brand-line em,
.store-discovery-card em,
.muted-text {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.commercial-panel p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

.commercial-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.store-unavailable-card {
  margin-top: 16px;
}

.commercial-panel input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.auth-box {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.auth-box > strong {
  font-size: 14px;
}

.auth-box.demo {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
  align-items: end;
}

.code-row .ghost-btn {
  min-height: 42px;
}

.commercial-actions,
.context-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-rules span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--blue-weak);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.store-workbench-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.owner-workbench-hero,
.owner-workbench-section,
.owner-data-card,
.owner-module-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
}

.owner-workbench-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.owner-store-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.owner-store-status {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #059669;
  font-size: 12px;
  font-weight: 900;
}

.owner-workbench-hero p,
.owner-workbench-section p,
.owner-data-card p,
.owner-module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.owner-primary-grid,
.owner-secondary-grid {
  margin-top: 0;
}

.owner-primary-grid .shop-tool,
.owner-secondary-grid .shop-tool {
  min-height: 112px;
  padding: 13px;
}

.owner-primary-grid .shop-tool span,
.owner-secondary-grid .shop-tool span {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.owner-primary-grid .shop-tool:first-child span {
  background: #059669;
}

.owner-secondary-grid .shop-tool span {
  background: #334155;
}

.owner-help-list {
  margin-top: 12px;
}

.owner-nav-list {
  display: grid;
  gap: 8px;
}

.owner-nav-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 11px;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--line);
}

.owner-nav-row > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.owner-nav-row strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.owner-nav-row em {
  grid-column: 2 / -1;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.owner-nav-row i,
.owner-nav-row b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.owner-nav-row b {
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 18px;
}

.store-workbench-stats div {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.store-workbench-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.store-workbench-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 20px;
}

.owner-share-card {
  display: grid;
  gap: 12px;
}

.owner-launch-card {
  display: grid;
  gap: 12px;
}

.owner-launch-card p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.owner-launch-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.owner-launch-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #059669);
}

.owner-launch-list {
  display: grid;
  gap: 8px;
}

.owner-launch-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 3px 9px;
  align-items: center;
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.owner-launch-row.done {
  background: #f0fdf4;
  box-shadow: inset 0 0 0 1px #bbf7d0;
}

.owner-launch-row.todo {
  background: #f8fafc;
}

.owner-launch-check {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fef3c7;
  color: #d97706;
  font-size: 14px;
  font-weight: 900;
}

.owner-launch-row.done .owner-launch-check {
  background: #dcfce7;
  color: #059669;
}

.owner-launch-row strong {
  min-width: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.owner-launch-row em {
  grid-column: 2 / -1;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.owner-launch-row small {
  justify-self: end;
  min-width: 48px;
  min-height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.owner-launch-row.done small {
  background: #dcfce7;
  color: #059669;
}

.store-share-addresses {
  display: grid;
  gap: 8px;
}

.store-share-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-share-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.store-share-line strong {
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  word-break: break-all;
}

.store-share-line .ghost-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.store-share-copy {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.store-share-copy strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.store-share-copy em {
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}

.store-share-page {
  background: #f5f7fa;
}

.store-share-brief {
  margin: 14px 16px 0;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.store-share-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.store-share-main {
  display: grid;
  gap: 14px;
  padding: 14px 16px 24px;
}

.store-share-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 0;
}

.store-share-section-header.action {
  margin-top: 4px;
}

.store-share-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.store-share-section-header b {
  color: #d4a853;
  font-weight: 800;
}

.store-share-address-list {
  display: grid;
  gap: 8px;
}

.store-share-address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.store-share-address-row > div {
  flex: 1;
  min-width: 0;
}

.store-share-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 32px;
  height: 26px;
  border-radius: 6px;
  padding: 0 10px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.store-share-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.store-share-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-share-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-share-badge.purple {
  background: #ede6f0;
  color: #7a4a8a;
}

.store-share-address-row strong {
  display: block;
  color: #1a2634;
  font-size: 13px;
  font-weight: 800;
}

.store-share-address-row em {
  display: block;
  min-width: 0;
  margin-top: 1px;
  overflow-wrap: anywhere;
  color: #5a6a7a;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.store-share-address-row button {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  border: 1px solid #d4a853;
  border-radius: 6px;
  padding: 0 12px;
  background: #fdfaf5;
  color: #d4a853;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.store-share-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-share-action-card {
  display: grid;
  justify-items: center;
  min-width: 0;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 16px 10px 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.store-share-action-card strong {
  display: block;
  margin-top: 8px;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.store-share-action-card p {
  margin: 2px 0 0;
  color: #8a9aaa;
  font-size: 11px;
  font-weight: 400;
}

.store-share-action-card i {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  margin-top: 8px;
  border: 1px solid #d4a853;
  border-radius: 4px;
  padding: 0 14px;
  background: #fdfaf5;
  color: #d4a853;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.store-share-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-share-address-row {
    gap: 10px;
    padding: 12px;
  }

  .store-share-badge {
    min-width: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .store-share-address-row strong {
    font-size: 12px;
  }

  .store-share-address-row em {
    font-size: 11px;
  }

  .store-share-address-row button {
    min-width: 44px;
    padding: 0 10px;
    font-size: 11px;
  }

  .store-share-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .store-share-action-card {
    padding: 12px 6px 10px;
  }

  .store-share-action-card strong {
    font-size: 13px;
  }
}

.material-hero,
.material-section {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 14px;
}

.material-hero p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

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

.material-action-grid button,
.material-action-grid a,
.material-template-grid button {
  display: grid;
  gap: 5px;
  min-height: 98px;
  padding: 11px 9px;
  border-radius: 8px;
  background: #f8fafc;
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.material-action-grid span,
.material-template-grid span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.material-template-grid span {
  background: #059669;
}

.material-action-grid strong,
.material-template-grid strong {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.material-action-grid em,
.material-template-grid em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

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

.store-materials-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-material-brief {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.store-material-brief .brand-line {
  gap: 10px;
}

.store-material-brief p {
  margin: 0;
  color: #4a5a6a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.store-material-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.store-material-section-head.spaced {
  margin-top: 18px;
}

.store-material-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.store-material-section-head b {
  color: var(--gold);
  font-weight: 800;
}

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

.store-material-grid.promotion .store-material-card:first-child {
  grid-column: 1 / -1;
  min-height: 110px;
}

.store-share-material-grid .store-material-card {
  grid-column: 1 / -1;
  min-height: 110px;
}

.store-promotion-builder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.store-promotion-builder label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.store-promotion-builder label:nth-of-type(2) {
  grid-column: 1 / -1;
}

.store-promotion-topic-field {
  grid-column: 1 / -1;
}

.store-promotion-standard,
.store-promotion-divider {
  grid-column: 1 / -1;
}

.store-promotion-standard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: #f0f7ff;
}

.store-promotion-standard strong,
.store-promotion-divider strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.store-promotion-standard p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.store-promotion-divider {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 3px;
  border-top: 1px solid #e2e8f0;
}

.store-promotion-divider span {
  color: #64748b;
  font-size: 11px;
}

.store-promotion-builder input,
.store-promotion-builder select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  outline: none;
  background: #f8fafc;
  color: #111827;
  caret-color: var(--blue);
  font: inherit;
}

.store-promotion-builder input:focus,
.store-promotion-builder select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42, 107, 154, 0.1);
}

.store-promotion-generate {
  align-self: end;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.store-promotion-generate.secondary {
  flex: 0 0 auto;
  padding: 0 14px;
  background: #fff;
  color: var(--blue);
  border: 1px solid #bfdbfe;
}

.store-promotion-builder > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.6;
}

.store-material-grid.templates .store-material-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 110px;
}

.store-material-card {
  display: block;
  min-width: 0;
  min-height: 128px;
  padding: 16px 14px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: #1a2634;
  text-align: left;
  text-decoration: none;
}

.store-material-card:active {
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.08);
  transform: translateY(1px);
}

.store-material-card span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.3px;
}

.store-material-card.blue span {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-material-card.green span {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-material-card.purple span {
  background: #ede6f0;
  color: #7a4a8a;
}

.store-material-card.red span {
  background: #fae8e6;
  color: #c0392b;
}

.store-material-card.amber span {
  background: #f5ede0;
  color: #b8944b;
}

.store-material-card strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-material-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 34px;
  margin: 2px 0 0;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-material-card i {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 12px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: #fdfaf5;
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.store-material-card.red i {
  border-color: #c0392b;
  background: #fdf8f7;
  color: #c0392b;
}

.store-material-empty {
  padding: 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  color: #8a9aaa;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-material-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-material-grid {
    gap: 8px;
  }

  .store-material-card {
    min-height: 122px;
    padding: 12px 10px 10px;
  }

  .store-material-card strong {
    font-size: 14px;
  }

  .store-material-card p {
    font-size: 11px;
  }

  .store-promotion-builder {
    grid-template-columns: 1fr;
  }

  .store-promotion-builder label:nth-of-type(2),
  .store-promotion-builder > p {
    grid-column: auto;
  }

  .store-promotion-standard {
    align-items: stretch;
    flex-direction: column;
  }

  .store-promotion-divider {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

.profile-review-card {
  border: 1px solid transparent;
}

.profile-review-card.pending {
  border-color: #fde68a;
  background: #fffbeb;
}

.profile-review-card.rejected {
  border-color: #fecaca;
  background: #fff7f7;
}

.profile-review-card.approved {
  border-color: #bbf7d0;
  background: #f7fef9;
}

.profile-review-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.profile-review-body strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.profile-review-body em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.profile-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.profile-review-meta span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.store-profile-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-profile-brief,
.store-profile-warn {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #4a5a6a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.store-profile-warn {
  border-left-color: #d97706;
  background: #fffbeb;
  color: #92400e;
}

.store-profile-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.store-profile-section-head.rule {
  margin-top: 18px;
}

.store-profile-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.store-profile-form-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-profile-field span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  margin-bottom: 4px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.store-profile-field em {
  color: #c0392b;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.store-profile-field input,
.store-profile-field textarea {
  width: 100%;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #f8f9fb;
  color: #1a2634;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.store-profile-field input {
  height: 44px;
  padding: 0 14px;
}

.store-profile-field textarea {
  height: 80px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

.store-profile-field input:focus,
.store-profile-field textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

.store-profile-field input::placeholder,
.store-profile-field textarea::placeholder {
  color: #aab4c0;
  font-size: 13px;
}

.store-profile-field small {
  display: block;
  margin-top: 4px;
  color: #aab4c0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.store-profile-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: #1a2634;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.store-profile-submit:active {
  background: #2a3a4a;
  transform: translateY(1px);
}

.store-profile-rule-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid #e8ecf0;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-profile-rule-card strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
}

.store-profile-rule-card div {
  display: grid;
  gap: 6px;
}

.store-profile-rule-card p {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #5a6a7a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.store-profile-rule-card p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.store-profile-rule-card span {
  color: #1a2634;
  font-weight: 900;
}

.store-profile-rule-card b {
  color: var(--gold);
  font-weight: 900;
}

.store-profile-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-profile-form-card {
    padding: 14px;
  }

  .store-profile-field input {
    height: 40px;
    font-size: 13px;
  }

  .store-profile-field textarea {
    height: 64px;
    font-size: 13px;
  }

  .store-profile-submit {
    min-height: 44px;
    font-size: 14px;
  }

  .store-profile-rule-card p {
    font-size: 12px;
  }
}

.owner-todo-card {
  display: grid;
  gap: 11px;
}

.owner-todo-list {
  display: grid;
  gap: 8px;
}

.owner-todo-row {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--line);
}

.owner-todo-row strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.owner-todo-row em {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.owner-todo-row small {
  justify-self: end;
  min-width: 44px;
  min-height: 26px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: var(--blue-weak);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.owner-todo-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f59e0b;
}

.owner-todo-row.rejected {
  box-shadow: inset 0 0 0 1px #fecaca;
}

.owner-todo-row.rejected .owner-todo-dot {
  background: #ef4444;
}

.application-audit-trail {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.application-audit-trail span {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: inset 0 0 0 1px var(--line);
}

.application-audit-trail em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.store-onboarding-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 16px;
}

.store-onboarding-hero .avatar {
  width: 54px;
  height: 54px;
}

.store-onboarding-hero strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.store-onboarding-hero p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.store-onboarding-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.store-onboarding-meta span {
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-onboarding-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-onboarding-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px 24px;
}

.store-onboarding-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 4px;
}

.store-onboarding-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.store-onboarding-status-note {
  padding: 12px 14px;
  border: 1px solid #f1dca8;
  border-radius: 10px;
  background: #fff8e6;
  color: #9a6412;
  font-size: 13px;
  line-height: 1.6;
}

.store-workbench-shortcut {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-workbench-shortcut strong {
  display: block;
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
}

.store-workbench-shortcut p {
  margin: 4px 0 0;
  color: #8a9aaa;
  font-size: 12px;
  line-height: 1.6;
}

.store-workbench-shortcut.enabled {
  border-color: rgba(212, 168, 83, 0.45);
}

.store-workbench-shortcut .primary-btn[disabled] {
  background: #e8ecf0;
  color: #8a9aaa;
  box-shadow: none;
}

.store-onboarding-footer-note {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

.store-application-progress {
  display: grid;
  gap: 0;
  padding: 16px 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-application-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 10px 4px;
  border-bottom: 1px solid #f0f2f5;
}

.store-application-step:last-child {
  border-bottom: 0;
}

.store-application-step span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #e8ecf0;
  color: #8a9aaa;
  font-size: 13px;
  font-weight: 800;
}

.store-application-step strong,
.store-application-step em {
  display: block;
}

.store-application-step strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.store-application-step em {
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.store-application-step b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #aab4c0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.store-application-step.done span {
  background: #2d7d5a;
  color: #fff;
}

.store-application-step.active span {
  background: #d4a853;
  color: #fff;
}

.store-application-step b.done {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-application-step b.progress {
  background: #f5ede0;
  color: #b8944b;
}

.store-application-step b.rejected {
  background: #fae8e6;
  color: #c0392b;
}

.store-application-step b.waiting {
  background: #f0f2f5;
  color: #aab4c0;
}

.store-application-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-form-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.store-form-head > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 16px;
  font-weight: 900;
}

.store-form-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.store-form-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.store-application-fields {
  display: grid;
  gap: 14px;
}

.store-application-field span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  margin-bottom: 4px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 600;
}

.store-application-field em {
  color: #c0392b;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.store-application-field small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
}

.store-application-field input,
.store-application-field textarea {
  width: 100%;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #f8f9fb;
  color: #1a2634;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.store-application-field input {
  height: 44px;
  padding: 0 14px;
}

.store-application-field textarea {
  height: 80px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

.store-application-field input:focus,
.store-application-field textarea:focus {
  border-color: #d4a853;
  background: #fff;
}

.store-application-field input::placeholder,
.store-application-field textarea::placeholder {
  color: #aab4c0;
  font-size: 13px;
}

.store-application-check {
  border-radius: 8px;
  padding: 12px;
  background: #fff8e6;
  box-shadow: inset 0 0 0 1px #f1dca8;
}

.store-application-check strong {
  color: #92400e;
  font-size: 13px;
  font-weight: 900;
}

.store-application-check p {
  margin: 6px 0 0;
  color: #92400e;
  font-size: 12px;
  line-height: 1.65;
}

.store-application-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #1a2634;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.store-application-rules {
  margin-top: 12px;
  padding: 16px;
}

.store-rule-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.store-rule-grid div {
  border-radius: 8px;
  padding: 11px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-rule-grid strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.store-rule-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.store-metric-list {
  display: grid;
  gap: 8px;
}

.store-metric-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.store-metric-list div:last-child {
  border-bottom: 0;
}

.store-metric-list strong {
  color: var(--text);
  font-size: 14px;
}

.store-metric-list span {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.store-metric-list em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.store-data-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-data-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.store-data-section-head.rule {
  margin-top: 18px;
}

.store-data-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.store-data-section-head b {
  color: var(--gold);
  font-weight: 800;
}

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

.store-data-card {
  display: grid;
  justify-items: center;
  min-width: 0;
  min-height: 150px;
  padding: 18px 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  text-align: center;
}

.store-data-badge {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 22px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.store-data-card.blue .store-data-badge {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-data-card.green .store-data-badge {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-data-card.amber .store-data-badge {
  background: #f5ede0;
  color: #b8944b;
}

.store-data-card.purple .store-data-badge {
  background: #ede6f0;
  color: #7a4a8a;
}

.store-data-card strong {
  margin-top: 6px;
  color: #1a2634;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.store-data-card.green strong,
.store-data-card.amber strong {
  color: var(--gold);
}

.store-data-card em {
  margin-top: 4px;
  color: #8a9aaa;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.store-data-card small {
  display: block;
  overflow: hidden;
  width: 100%;
  margin-top: 5px;
  color: #a0aaba;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-data-card i {
  margin-top: 7px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #8a9aaa;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.store-data-card.blue i,
.store-data-card.green i {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-data-notice-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid #e8ecf0;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.store-data-notice-card strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
}

.store-data-notice-card div {
  display: grid;
  gap: 6px;
}

.store-data-notice-card p {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #5a6a7a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.store-data-notice-card p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.store-data-notice-card span {
  color: #1a2634;
  font-weight: 900;
}

.store-data-notice-card b {
  color: var(--gold);
  font-weight: 900;
}

.store-data-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-data-grid {
    gap: 8px;
  }

  .store-data-card {
    min-height: 136px;
    padding: 14px 8px 12px;
  }

  .store-data-card strong {
    font-size: 26px;
  }

  .store-data-card em,
  .store-data-notice-card p {
    font-size: 12px;
  }

  .store-data-card small,
  .store-data-card i {
    font-size: 10px;
  }
}

.store-module-status-list {
  display: grid;
  gap: 8px;
}

.store-module-status-list div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.store-module-status-list div:last-child {
  border-bottom: 0;
}

.store-module-status-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 26px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.store-module-status-list .enabled span {
  background: #dcfce7;
  color: #15803d;
}

.store-module-status-list .disabled span {
  background: #fef3c7;
  color: #b45309;
}

.store-module-status-list strong {
  color: var(--text);
  font-size: 14px;
}

.store-module-status-list em {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.store-settings-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.store-settings-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.store-settings-section-head.module {
  margin-top: 18px;
}

.store-settings-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.store-settings-section-head b {
  color: var(--gold);
  font-weight: 800;
}

.store-settings-row-list {
  display: grid;
  gap: 8px;
}

.store-settings-row,
.store-settings-status-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: #1a2634;
  text-align: left;
}

.store-settings-row > span,
.store-settings-status-row > span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.store-settings-row.gold > span {
  background: var(--gold-weak);
  color: var(--amber);
}

.store-settings-row.blue > span,
.store-settings-status-row.blue > span {
  background: var(--blue-weak);
  color: var(--blue);
}

.store-settings-row.green > span,
.store-settings-status-row.green > span {
  background: var(--green-weak);
  color: var(--green);
}

.store-settings-row.purple > span {
  background: #ede6f0;
  color: var(--purple);
}

.store-settings-status-row.red > span {
  background: var(--red-weak);
  color: var(--red);
}

.store-settings-status-row.gray > span {
  background: #f0f2f4;
  color: #6a7a8a;
}

.store-settings-row div,
.store-settings-status-row div {
  min-width: 0;
}

.store-settings-row strong,
.store-settings-row em,
.store-settings-status-row strong,
.store-settings-status-row em {
  display: block;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-settings-row strong,
.store-settings-status-row strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.store-settings-row em,
.store-settings-status-row em {
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.store-settings-row b {
  color: #aab4c0;
  font-size: 16px;
  font-weight: 300;
}

.store-settings-status-row b {
  min-width: 42px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #e6f0ea;
  color: #2d7d5a;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.store-settings-status-row.disabled b {
  background: #f0f2f5;
  color: #aab4c0;
}

.store-settings-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .store-settings-row,
  .store-settings-status-row {
    gap: 10px;
    padding: 12px;
  }

  .store-settings-row > span,
  .store-settings-status-row > span {
    min-width: 30px;
    padding: 0 9px;
    font-size: 11px;
  }

  .store-settings-row strong,
  .store-settings-status-row strong {
    font-size: 13px;
  }

  .store-settings-row em,
  .store-settings-status-row em {
    font-size: 11px;
  }

  .store-settings-status-row b {
    min-width: 36px;
    padding: 3px 11px;
    font-size: 11px;
  }
}

.store-discovery-list {
  display: grid;
  gap: 10px;
}

.store-title-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.store-discovery-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--panel-2);
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-discovery-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.store-discovery-main {
  min-width: 0;
}

.store-discovery-card strong {
  display: block;
  font-size: 14px;
}

.store-discovery-card small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-discovery-card i {
  color: #94a3b8;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

.store-privacy-note {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.store-discovery-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.store-discovery-badges b {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 7px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 900;
}

.store-directory-hero,
.store-directory-filter-card,
.store-directory-results {
  margin-bottom: 12px;
}

.store-directory-hero {
  display: grid;
  gap: 12px;
}

.store-directory-hero p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

.store-directory-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 8px;
}

.store-directory-search-row input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  outline: none;
}

.store-directory-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.store-directory-filter-row button {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px 4px;
  border-radius: var(--radius);
  background: #f8fafc;
  color: #334155;
  box-shadow: inset 0 0 0 1px var(--line);
}

.store-directory-filter-row button.active {
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.store-directory-filter-row strong {
  font-size: 12px;
}

.store-directory-filter-row span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.store-directory-reset {
  width: 100%;
  min-height: 36px;
  margin-top: 10px;
  border-radius: var(--radius);
  background: #fff7ed;
  color: #c2410c;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #fed7aa;
}

.directory-list {
  margin-top: 10px;
}

.match-summary-card {
  padding: 14px;
  text-align: center;
}

.match-summary-card p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.match-summary-card h2 {
  margin: 12px 0 0;
  color: #1e293b;
  font-size: 18px;
}

.match-summary-card span,
.match-summary-card strong {
  display: block;
  margin-top: 6px;
  color: #2563eb;
  font-size: 13px;
}

.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 540px);
  height: calc(64px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 0;
  box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
}

.bet-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 44px;
}

.bet-chip {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  font-size: 12px;
  font-weight: 900;
}

.parlay-chip {
  position: relative;
  width: 72px;
  color: #2563eb;
}

.parlay-chip span {
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parlay-chip em {
  position: absolute;
  top: -5px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #dbeafe;
  color: #2563eb;
  font-size: 10px;
  font-style: normal;
}

.fold-chip {
  width: 58px;
}

.selection-bar {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.selection-bottom-bar,
.image-bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  width: min(100%, 540px);
  height: calc(62px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
}

.selection-bottom-bar span {
  flex: 1;
  color: #64748b;
  font-size: 14px;
}

.selection-bottom-bar button,
.image-bottom-bar button,
.fixed-save-btn {
  height: 44px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.selection-bottom-bar button {
  width: 168px;
}

.image-bottom-bar {
  gap: 12px;
  padding-left: 8px;
  padding-right: 8px;
}

.image-bottom-bar button {
  flex: 1;
}

.image-bottom-bar .wechat {
  background: #16a34a;
}

.bet-config-card {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
}

.bet-config-card button {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 5px;
  background: transparent;
  text-align: center;
}

.bet-config-card button + button {
  border-left: 1px solid #e2e8f0;
}

.bet-config-card span {
  color: #64748b;
  font-size: 12px;
}

.bet-config-card strong {
  color: #1e293b;
  font-size: 16px;
}

.bet-config-card em {
  justify-self: center;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #dbeafe;
  color: #2563eb;
  font-size: 11px;
  font-style: normal;
}

.amount-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label amount" "detail amount";
  align-items: center;
  gap: 4px 12px;
  margin-top: 12px;
  padding: 14px;
}

.amount-card span {
  grid-area: label;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.amount-card strong {
  grid-area: amount;
  color: #dc2626;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.amount-card em {
  grid-area: detail;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.empty-box {
  display: grid;
  place-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 32px;
  text-align: center;
}

.empty-box strong {
  color: #64748b;
  font-size: 16px;
}

.empty-box span {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.6;
}

.preview-time {
  margin: 0;
  color: #94a3b8;
  text-align: center;
  font-size: 12px;
}

.preview-disclaimer {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #94a3b8;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
}

.image-return-info {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.image-return-info span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.image-return-info.store span {
  background: #059669;
}

.image-return-info strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-return-info em {
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-tip {
  margin: -10px 0 0;
  color: #64748b;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.lottery-mode-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.lottery-mode-row button {
  height: 42px;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.lottery-mode-row button.active {
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}

.lottery-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.lottery-inline-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 8px 2px 2px;
  border-bottom: 1px solid #e2e8f0;
}

.lottery-inline-section-head strong {
  color: #263545;
  font-size: 14px;
  font-weight: 900;
}

.lottery-inline-section-head span {
  color: #8a99a8;
  font-size: 12px;
  font-weight: 800;
}

.lottery-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.lottery-card.active {
  box-shadow: inset 0 0 0 1px #2563eb;
}

.lottery-poster-row {
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.lottery-poster-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.lottery-poster-row .lottery-main strong {
  color: #1d4ed8;
}

.lottery-dot {
  flex: 0 0 auto;
  margin-top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
}

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

.lottery-main strong,
.lottery-main small {
  display: block;
}

.lottery-main strong {
  color: #111827;
  font-size: 15px;
}

.lottery-main em {
  margin-left: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.lottery-main small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.lottery-draw-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.lottery-draw-balls.compact {
  gap: 4px;
}

.draw-ball {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.draw-ball.red {
  background: #fee2e2;
  color: #dc2626;
}

.draw-ball.blue {
  background: #dbeafe;
  color: #2563eb;
}

.history-draw-hero {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.history-draw-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-draw-title span {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.history-draw-title h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.history-draw-title p,
.history-draw-hero small {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
}

.history-draw-hero .lottery-draw-balls {
  margin-top: 0;
}

.history-query-panel {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(240px, 1.5fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.history-query-panel label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.history-query-panel label > span {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.history-query-panel select,
.history-query-panel input {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
}

.history-query-panel select:focus,
.history-query-panel input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.history-query-tip {
  grid-column: 1 / -1;
  margin: 1px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.65;
}

.history-query-actions {
  display: flex;
  gap: 8px;
}

.history-query-actions button,
.history-query-status button,
.history-pagination button {
  height: 38px;
  padding: 0 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.history-query-actions button.primary,
.history-query-status button {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.history-query-status {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 36px 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.history-query-status strong {
  color: #0f172a;
  font-size: 15px;
}

.history-query-status.error strong {
  color: #dc2626;
}

.history-query-status button {
  margin-top: 5px;
}

.history-result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
}

.history-result-summary strong {
  color: #0f172a;
  font-size: 14px;
}

.history-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.history-pagination span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.history-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.history-draw-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.lottery-history-entry {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  text-align: left;
}

.lottery-history-entry-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #e8eef9;
  color: #255f8d;
  font-size: 15px;
  font-weight: 900;
}

.lottery-history-entry strong,
.lottery-history-entry small {
  display: block;
}

.lottery-history-entry strong {
  font-size: 14px;
}

.lottery-history-entry small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}

.lottery-history-entry em {
  color: #b8944b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.history-draw-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.history-draw-row.current {
  box-shadow: inset 0 0 0 1px #2563eb;
}

.history-draw-meta strong,
.history-draw-meta small {
  display: block;
}

.history-draw-meta strong {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}

.history-draw-meta small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 10px;
}

.history-draw-numbers {
  min-width: 0;
}

.history-draw-numbers .lottery-draw-balls {
  margin-top: 0;
}

.history-draw-sum {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.history-draw-distance {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.history-search-ball.muted {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #64748b;
}

.history-search-ball.matched {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.14);
}

.history-search-ball.blue.matched {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

@media (max-width: 560px) {
  .history-query-panel {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .history-number-query {
    grid-column: 1 / -1;
  }

  .history-query-actions {
    grid-column: 1 / -1;
  }

  .history-query-actions button {
    flex: 1;
  }

  .history-draw-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .history-draw-sum {
    display: none;
  }

  .history-draw-distance {
    grid-column: 2;
    justify-self: start;
  }

  .lottery-history-entry {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .lottery-history-entry-icon {
    width: 38px;
    height: 38px;
  }

  .lottery-history-entry em {
    grid-column: 2;
  }
}

.poster-page {
  background: #f6f8fc;
}

.poster-stage {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0 -14px;
  padding: 30px 14px 0;
  overflow: hidden;
  background: #f6f8fc;
}

.poster-bg-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66vw;
  max-width: 360px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(37, 99, 235, 0.08);
  font-size: 164px;
  font-weight: 900;
  pointer-events: none;
}

.poster-stage.fucai .poster-bg-mark {
  color: rgba(239, 68, 68, 0.08);
}

.poster-head,
.poster-draw-list,
.poster-footer,
.poster-stage .image-return-info {
  position: relative;
  z-index: 1;
}

.poster-head {
  display: grid;
  place-items: center;
  min-height: 108px;
  text-align: center;
}

.poster-head h2 {
  margin: 0;
  color: #2563eb;
  font-size: 22px;
  font-weight: 900;
}

.poster-stage.fucai .poster-head h2 {
  color: #dc2626;
}

.poster-head p {
  margin: 8px 0 0;
  color: #334155;
  font-size: 13px;
}

.poster-draw-list {
  display: grid;
  gap: 10px;
}

.poster-draw-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.poster-draw-meta strong,
.poster-draw-meta small {
  display: block;
}

.poster-draw-meta strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.poster-draw-meta small {
  margin-top: 5px;
  color: #94a3b8;
  font-size: 11px;
}

.poster-draw-balls .lottery-draw-balls {
  margin-top: 0;
}

.poster-draw-balls .draw-ball {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

.poster-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 48px;
  align-items: center;
  gap: 10px;
  min-height: 96px;
}

.poster-footer span {
  color: #64748b;
  font-size: 10px;
}

.poster-footer strong {
  max-width: 160px;
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-footer i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
}

.poster-stage.fucai .poster-footer i {
  background: #ef4444;
}

.poster-stage .image-return-info {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.88);
}

.number-pick-page {
  background: #f8fafc;
}

.number-pick-hub-page {
  background: #f8fafc;
}

.number-pick-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.number-hub-store-context {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}

.number-hub-store-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.number-hub-store-context > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.number-hub-store-context > span strong,
.number-hub-store-context > span em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.number-hub-store-context > span strong {
  color: #0f172a;
  font-size: 15px;
}

.number-hub-store-context > span em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
}

.number-hub-store-context > b {
  padding: 6px 8px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  white-space: nowrap;
}

.number-pick-hub-head strong {
  color: #0f172a;
  font-size: 18px;
}

.number-pick-hub-head span {
  color: #64748b;
  font-size: 12px;
}

.number-pick-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.number-pick-provider {
  margin-top: 16px;
}

.number-pick-provider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}

.number-pick-provider-head strong {
  color: #334155;
  font-size: 14px;
}

.number-pick-provider-head span {
  color: #94a3b8;
  font-size: 11px;
}

.number-pick-hub-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  min-height: 112px;
  padding: 14px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}

.number-pick-hub-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 17px;
  font-weight: 900;
}

.number-pick-hub-item.red .number-pick-hub-icon {
  background: #fef2f2;
  color: #dc2626;
}

.number-pick-hub-item.rose .number-pick-hub-icon {
  background: #fff1f2;
  color: #e11d48;
}

.number-pick-hub-item.gold .number-pick-hub-icon {
  background: #fffbeb;
  color: #b45309;
}

.number-pick-hub-item.green .number-pick-hub-icon {
  background: #ecfdf5;
  color: #059669;
}

.number-pick-hub-item.cyan .number-pick-hub-icon,
.number-pick-hub-item.teal .number-pick-hub-icon {
  background: #ecfeff;
  color: #0e7490;
}

.number-pick-hub-item.orange .number-pick-hub-icon {
  background: #fff7ed;
  color: #ea580c;
}

.number-pick-hub-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.number-pick-hub-copy strong {
  color: #0f172a;
  font-size: 15px;
}

.number-pick-hub-copy small {
  min-height: 30px;
  color: #64748b;
  font-size: 11px;
  line-height: 15px;
}

.number-pick-hub-copy em {
  color: #2563eb;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.number-profile-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
}

.number-profile-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 4px 2px 2px;
}

.number-profile-strip .avatar {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.number-profile-strip .profile-text strong {
  font-size: 15px;
}

.number-ticket-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.number-ticket-heading-actions .title-action {
  min-height: 26px;
  padding: 0 9px;
}

.number-pick-workspace,
.number-pick-builder,
.number-pick-summary {
  display: contents;
}

.number-profile-card .image-return-info {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
}

.number-page-title {
  max-width: 116px;
  overflow: hidden;
  color: #2563eb;
  font-size: 13px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.number-switch-card,
.number-ticket-card,
.number-config-card,
.number-selector-card {
  margin-top: 12px;
  padding: 14px;
}

.number-switch-card {
  display: grid;
  gap: 10px;
}

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

.number-segment button {
  height: 40px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.number-segment button.active {
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}

.number-ticket-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.number-ticket-group + .number-ticket-group {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.number-ticket-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  padding: 0 4px;
}

.number-ticket-group-head strong {
  color: #334155;
  font-size: 12px;
}

.number-ticket-group-head span {
  color: #94a3b8;
  font-size: 11px;
}

.number-ticket-group .number-ticket-row + .number-ticket-row {
  margin-top: 6px;
}

.number-empty {
  display: grid;
  place-items: center;
  min-height: 74px;
  border-radius: 8px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 13px;
}

.number-ticket-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 8px;
  background: #f8fafc;
}

.number-ticket-index {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: #e0f2fe;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.number-ticket-body {
  min-width: 0;
}

.number-ticket-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.number-ticket-meta strong {
  color: #111827;
  font-size: 13px;
}

.number-ticket-meta em {
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
}

.number-ticket-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.number-ticket-positions {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-top: 7px;
}

.number-ticket-positions span {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding: 5px 2px;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.number-ticket-positions small {
  color: #94a3b8;
  font-size: 9px;
}

.number-ticket-positions b {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #dc2626;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.number-ticket-positions.multiple {
  grid-template-columns: 1fr;
}

.number-ticket-positions.multiple span {
  grid-template-columns: 34px minmax(0, 1fr);
  justify-items: start;
  padding: 5px 8px;
}

.number-mini-ball {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.number-mini-ball.red {
  background: #fee2e2;
  color: #dc2626;
}

.number-mini-ball.blue {
  background: #dbeafe;
  color: #2563eb;
}

.number-plus {
  display: grid;
  place-items: center;
  width: 14px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 900;
}

.number-delete {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: #fff;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.number-random-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.number-random-row button {
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.number-config-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.number-stepper {
  display: grid;
  grid-template-columns: auto 34px 42px 34px;
  align-items: center;
  gap: 6px;
}

.number-stepper span,
.number-config-total span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.number-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f8fafc;
  color: #2563eb;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.number-stepper strong {
  text-align: center;
  color: #111827;
  font-size: 17px;
}

.number-append {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.number-append.active {
  background: #ef4444;
  color: #fff;
  box-shadow: none;
}

.number-config-total {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.number-config-total strong {
  color: #dc2626;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.number-area + .number-area {
  margin-top: 16px;
}

.number-area-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.number-area-title strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.number-area-title span {
  min-width: 72px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #fff7ed;
  color: #f97316;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.number-area-title span.ready {
  background: #eff6ff;
  color: #2563eb;
}

.number-play-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
}

.number-play-selector > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.number-play-selector strong {
  color: #1e3a8a;
  font-size: 14px;
}

.number-play-selector small {
  color: #64748b;
  font-size: 11px;
}

.number-play-selector select {
  flex: 0 0 92px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #fff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
}

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

.number-ball {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.number-grid.front .number-ball.selected {
  background: #dc2626;
  color: #fff;
  box-shadow: none;
}

.number-grid.back .number-ball.selected {
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}

.number-position-selector {
  display: grid;
  gap: 14px;
}

.number-position-area + .number-position-area {
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
}

.number-position-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.number-position-head strong {
  color: #111827;
  font-size: 14px;
}

.number-position-head span {
  color: #f97316;
  font-size: 11px;
  font-weight: 800;
}

.number-position-head span.ready {
  color: #2563eb;
}

.number-position-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 5px;
}

.number-position-ball {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #dbe2ea;
}

.number-position-ball.selected {
  background: #dc2626;
  color: #fff;
  box-shadow: none;
}

.number-selector-actions {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.primary-btn:disabled {
  background: #cbd5e1;
  color: #fff;
  cursor: default;
}

.number-toggle-selector {
  width: 100%;
  height: 42px;
  margin-top: 12px;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.number-toggle-selector span {
  margin-left: 4px;
}

.number-bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  align-items: center;
  gap: 12px;
  width: min(100%, 540px);
  height: calc(64px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
}

.desktop-shell .number-pick-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.number-bottom-bar span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.number-bottom-bar strong {
  display: block;
  margin-top: 3px;
  color: #dc2626;
  font-size: 20px;
  font-weight: 900;
}

.number-bottom-bar button {
  height: 44px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.android-trend-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  margin: 0 -14px;
  background: #e60012;
  color: #fff;
}

.android-trend-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: #fff;
  color: #e60012;
  font-size: 15px;
  font-weight: 900;
}

.android-trend-title strong {
  max-width: 72%;
  overflow: hidden;
  font-size: 20px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.android-trend-title em {
  align-self: flex-end;
  margin-bottom: 9px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.android-trend-scroll {
  margin: 0 -14px;
  overflow-x: hidden;
  overflow-y: visible;
  background: #fff;
}

.android-trend-scroll canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #fff;
}

.android-trend-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  margin: 0 -14px;
  padding: 4px 8px;
  background: #fff;
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.android-trend-tip .lottery-draw-balls {
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 0;
  vertical-align: middle;
}

.android-trend-tip .draw-ball {
  width: 18px;
  height: 18px;
  font-size: 9px;
}

.trend-hero-card {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.trend-hero-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.trend-hero-card h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.trend-hero-card p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
}

.trend-chart-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.trend-chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.trend-chart-title strong {
  color: #111827;
  font-size: 15px;
}

.trend-chart-title span {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

.trend-table {
  display: grid;
}

.trend-draw-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid #f8fafc;
}

.trend-draw-row:last-child {
  border-bottom: 0;
}

.trend-draw-row.current .trend-period {
  color: #2563eb;
}

.trend-period {
  flex: 0 0 58px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.trend-draw-row .lottery-draw-balls {
  flex: 1;
  margin-top: 0;
}

.trend-sum {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.notice-card {
  margin-top: 12px;
  padding: 16px;
}

.notice-card p {
  margin: 12px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.data-notice-page {
  background: #f5f7fa;
}

.data-notice-brief {
  margin: 14px 16px 0;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.data-notice-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.data-notice-content {
  display: grid;
  gap: 14px;
  padding: 14px 16px 24px;
}

.data-notice-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 0;
}

.data-notice-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.data-notice-info-card,
.data-notice-detail-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.data-notice-info-card {
  padding: 18px;
}

.data-notice-rule-list {
  display: grid;
  gap: 12px;
}

.data-notice-rule {
  position: relative;
  padding-left: 18px;
  color: #4a5a6a;
  font-size: 14px;
  line-height: 1.7;
}

.data-notice-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d4a853;
}

.data-notice-rule strong {
  color: #1a2634;
  font-weight: 800;
}

.data-notice-rule em {
  color: #d4a853;
  font-style: normal;
  font-weight: 800;
}

.data-notice-detail-card {
  border-left: 4px solid #d4a853;
  padding: 16px 18px;
}

.data-notice-detail-label {
  margin-bottom: 5px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.data-notice-detail-card p {
  margin: 0;
  color: #4a5a6a;
  font-size: 14px;
  line-height: 1.7;
}

.data-notice-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

.risk-notice-page {
  background: #f5f7fa;
}

.risk-notice-brief {
  margin: 14px 16px 0;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.risk-notice-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.risk-notice-content {
  display: grid;
  gap: 14px;
  padding: 14px 16px 24px;
}

.risk-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 0;
}

.risk-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.risk-boundary-card,
.risk-supplement-card,
.risk-forbidden-panel {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.risk-boundary-card {
  border-left: 4px solid #c0392b;
  padding: 20px 18px 18px;
}

.risk-boundary-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.risk-boundary-title span {
  color: #c0392b;
  font-weight: 900;
}

.risk-rule-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.risk-rule {
  position: relative;
  padding-left: 20px;
  color: #4a5a6a;
  font-size: 14px;
  line-height: 1.7;
}

.risk-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c0392b;
}

.risk-rule strong {
  color: #1a2634;
  font-weight: 800;
}

.risk-rule strong.danger {
  color: #c0392b;
}

.risk-supplement-card,
.risk-forbidden-panel {
  padding: 16px 18px;
}

.risk-supplement-label,
.risk-forbidden-title {
  margin-bottom: 6px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.risk-supplement-card p,
.risk-forbidden-panel p {
  margin: 0;
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.75;
}

.risk-forbidden-panel {
  border-left: 4px solid #d4a853;
}

.risk-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

.help-hero-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 16px;
}

.help-hero-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
  font-size: 22px;
  font-weight: 900;
}

.help-hero-card h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.help-hero-card p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.help-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.help-entry-card {
  padding: 14px;
}

.help-entry-card strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.help-entry-card p {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.help-topic-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.help-topic-card {
  padding: 15px;
}

.help-step-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.help-step-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.help-step-row span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.help-step-row p {
  margin: 2px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.help-faq-card {
  margin-top: 12px;
  padding: 16px;
}

.help-faq-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.help-faq-row:first-of-type {
  border-top: 0;
}

.help-faq-row strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.help-faq-row p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.help-page {
  padding-bottom: 24px;
}

.help-page .topbar {
  margin-bottom: 14px;
}

.help-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.help-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 4px;
}

.help-section-header span {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.help-section-header b {
  color: var(--gold);
  font-weight: 600;
}

.help-row-list {
  display: grid;
  gap: 8px;
}

.help-row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s;
}

.help-row-item:active {
  border-color: var(--gold);
}

.help-row-badge {
  flex-shrink: 0;
  display: inline-block;
  min-width: 32px;
  padding: 2px 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.3px;
}

.help-row-item.gold .help-row-badge {
  background: var(--gold-weak);
  color: var(--amber);
}

.help-row-item.blue .help-row-badge {
  background: var(--blue-weak);
  color: var(--blue);
}

.help-row-item.green .help-row-badge {
  background: var(--green-weak);
  color: var(--green);
}

.help-row-item.red .help-row-badge {
  background: var(--red-weak);
  color: var(--red);
}

.help-row-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
}

.help-row-copy strong {
  display: block;
  width: 100%;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.help-row-copy em {
  display: block;
  width: 100%;
  margin-top: 1px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.help-row-arrow {
  flex-shrink: 0;
  color: #aab4c0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.help-detail-content {
  gap: 12px;
}

.help-detail-hero,
.help-detail-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.help-detail-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
}

.help-detail-hero > span {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  padding: 2px 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.help-detail-hero.gold > span {
  background: var(--gold-weak);
  color: var(--amber);
}

.help-detail-hero.blue > span {
  background: var(--blue-weak);
  color: var(--blue);
}

.help-detail-hero.green > span {
  background: var(--green-weak);
  color: var(--green);
}

.help-detail-hero.red > span {
  background: var(--red-weak);
  color: var(--red);
}

.help-detail-hero div {
  min-width: 0;
}

.help-detail-hero strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.help-detail-hero em {
  display: block;
  margin-top: 2px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.help-detail-card {
  padding: 14px;
}

.help-step-list.simple {
  margin-top: 8px;
}

.help-note-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.help-note-list p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.help-footer-note {
  margin-top: 4px;
}

.message-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}

.message-hero-card div {
  display: grid;
  gap: 5px;
}

.message-hero-card strong {
  color: #111827;
  font-size: 17px;
}

.message-hero-card span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.message-hero-card b {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 22px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 18px;
}

.message-center-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.message-center-brief {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #4a5a6a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.message-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 0;
  padding: 6px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.message-tabs button {
  display: grid;
  gap: 2px;
  place-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 7px 4px;
  border-radius: 8px;
  background: transparent;
  color: #8a9aaa;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: none;
}

.message-tabs button.active {
  background: #1a2634;
  color: #fff;
  box-shadow: none;
}

.message-tabs span,
.message-tabs b {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-tabs b {
  font-size: 11px;
  opacity: 0.72;
}

.message-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.message-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.message-section-head b {
  color: var(--gold);
  font-weight: 800;
}

.message-list {
  display: grid;
  gap: 10px;
}

.message-row-list {
  display: grid;
  gap: 8px;
}

.message-row-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: #1a2634;
  text-align: left;
}

.message-row-item:active {
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.08);
  transform: translateY(1px);
}

.message-row-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.message-row-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.message-row-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.message-row-badge.gray {
  background: #f0f2f4;
  color: #6a7a8a;
}

.message-row-item div {
  min-width: 0;
}

.message-row-item strong,
.message-row-item p,
.message-row-item small {
  display: block;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-row-item strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.message-row-item p {
  margin: 1px 0 0;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.message-row-item small {
  margin-top: 3px;
  color: #aab4c0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.message-row-status {
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.message-row-status.unread {
  color: var(--gold);
}

.message-row-status.read {
  color: #aab4c0;
}

.message-empty-state {
  display: grid;
  place-items: center;
  padding: 40px 20px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.message-empty-state div {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #f5ede0;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.message-empty-state strong {
  color: #1a2634;
  font-size: 16px;
  font-weight: 900;
}

.message-empty-state p {
  margin: 4px 0 0;
  color: #8a9aaa;
  font-size: 13px;
  line-height: 1.5;
}

.message-center-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .message-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 4px;
  }

  .message-tabs button {
    padding-inline: 2px;
    font-size: 11px;
    min-height: 38px;
  }

  .message-row-item {
    gap: 10px;
    padding: 12px;
  }

  .message-row-badge {
    min-width: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .message-row-item strong {
    font-size: 13px;
  }

  .message-row-item p {
    font-size: 11px;
  }
}

.message-card {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.message-card.unread {
  box-shadow: inset 3px 0 0 #2563eb, var(--shadow);
}

.message-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.message-kind.broadcast {
  background: #2563eb;
}

.message-kind.personal {
  background: #16a34a;
}

.message-card-head em {
  flex: 1;
  color: #94a3b8;
  font-style: normal;
  font-size: 12px;
}

.message-card-head b {
  color: #64748b;
  font-size: 12px;
}

.message-card.unread .message-card-head b {
  color: #2563eb;
}

.message-card > strong {
  color: #111827;
  font-size: 15px;
}

.message-card p,
.message-card small {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.message-card .ghost-btn {
  justify-self: start;
}

.feedback-hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.feedback-hero-card > span {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 18px;
  font-weight: 900;
}

.feedback-hero-card h2 {
  margin: 0;
  color: #111827;
  font-size: 17px;
}

.feedback-hero-card p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.feedback-form-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.feedback-form-card label {
  display: grid;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.feedback-form-card input,
.feedback-form-card select,
.feedback-form-card textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  background: #f8fafc;
  color: #111827;
  outline: none;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.feedback-form-card input,
.feedback-form-card select {
  height: 44px;
}

.feedback-form-card textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.65;
}

.feedback-form-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
}

.feedback-page {
  background: #f5f7fa;
  padding-bottom: 24px;
}

.feedback-page .topbar-title p {
  display: block;
}

.feedback-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 4px;
}

.feedback-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.feedback-designed-card {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.feedback-designed-card .feedback-form-group {
  display: grid;
  gap: 4px;
}

.feedback-designed-card .feedback-form-group label {
  display: block;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 600;
}

.feedback-designed-card .feedback-form-group label span {
  margin-left: 2px;
  color: #c0392b;
}

.feedback-designed-card input,
.feedback-designed-card select,
.feedback-designed-card textarea {
  width: 100%;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 0 14px;
  background: #f8f9fb;
  color: #1a2634;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}

.feedback-designed-card input:focus,
.feedback-designed-card select:focus,
.feedback-designed-card textarea:focus {
  border-color: #d4a853;
  background: #fff;
}

.feedback-designed-card input,
.feedback-designed-card select {
  height: 44px;
}

.feedback-designed-card select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.feedback-designed-card textarea {
  min-height: 100px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

.feedback-designed-card input::placeholder,
.feedback-designed-card textarea::placeholder {
  color: #aab4c0;
  font-size: 13px;
}

.feedback-char-count {
  color: #aab4c0;
  text-align: right;
  font-size: 11px;
}

.feedback-char-count span {
  color: #8a9aaa;
  font-weight: 800;
}

.feedback-char-count span.warning {
  color: #c0392b;
}

.feedback-actions {
  display: block;
  margin-top: 4px;
}

.feedback-submit-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  background: #1a2634;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.feedback-notice-card {
  padding: 16px 18px;
  border: 1px solid #e8ecf0;
  border-left: 4px solid #d4a853;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.feedback-notice-title {
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.feedback-rule-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.feedback-rule {
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.5;
}

.feedback-rule::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: #d4a853;
  vertical-align: middle;
}

.feedback-rule span {
  color: #1a2634;
  font-weight: 800;
}

.feedback-footer-note {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 380px) {
  .feedback-designed-card {
    padding: 14px;
  }

  .feedback-designed-card input,
  .feedback-designed-card select {
    height: 40px;
    font-size: 13px;
  }

  .feedback-designed-card textarea {
    min-height: 80px;
    font-size: 13px;
  }

  .feedback-submit-btn {
    min-height: 44px;
    font-size: 14px;
  }

  .feedback-rule {
    font-size: 12px;
  }
}

.about-page {
  background: #f5f7fa;
  padding-bottom: 24px;
}

.about-page .topbar-title p {
  display: block;
}

.about-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 4px;
}

.about-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.about-section-header b {
  color: #d4a853;
  font-weight: 700;
}

.about-row-list {
  display: grid;
  gap: 8px;
}

.about-row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  color: #1a2634;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.about-row-item:active {
  border-color: #d4a853;
}

.about-row-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 32px;
  height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
}

.about-row-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.about-row-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.about-row-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.about-row-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.about-row-copy strong {
  overflow: hidden;
  color: #1a2634;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-row-copy em {
  overflow: hidden;
  color: #8a9aaa;
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-row-arrow {
  flex: 0 0 auto;
  color: #aab4c0;
  font-size: 16px;
  font-weight: 300;
}

.about-contact-card {
  padding: 16px 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.about-contact-label {
  margin-bottom: 6px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.about-contact-card p {
  margin: 0;
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.7;
}

.about-contact-card button {
  padding: 0;
  background: transparent;
  color: #d4a853;
  font-weight: 800;
}

.about-contact-card strong {
  color: #1a2634;
  font-weight: 800;
}

.about-copyright {
  padding: 6px 0 2px;
  color: #aab4c0;
  text-align: center;
  font-size: 12px;
}

.about-copyright span {
  color: #d4a853;
}

.about-footer-note {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 380px) {
  .about-row-badge {
    min-width: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .about-row-copy strong {
    font-size: 13px;
  }

  .about-row-copy em,
  .about-contact-card p {
    font-size: 12px;
  }
}

.share-app-hero-card,
.share-app-panel {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
}

.share-app-hero-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.share-app-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.share-app-brand > span {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.share-app-brand h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.share-app-brand p,
.share-app-panel-text {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.share-app-status {
  display: grid;
  gap: 4px;
  min-width: 108px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  text-align: center;
}

.share-app-status strong {
  font-size: 13px;
  font-weight: 900;
}

.share-app-status em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.share-app-link-box,
.share-app-steps {
  display: grid;
  gap: 9px;
}

.share-app-link-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.share-app-link-line span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.share-app-link-line strong {
  min-width: 0;
  color: #111827;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.share-app-link-line .ghost-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.share-app-copy-box {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.share-app-copy-box.store {
  box-shadow: inset 0 0 0 1px #bbf7d0;
}

.share-app-copy-box strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.share-app-copy-box em {
  white-space: pre-wrap;
  color: #475569;
  font-size: 12px;
  font-style: normal;
  line-height: 1.65;
}

.share-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-app-actions .primary-btn,
.share-app-actions .ghost-btn {
  flex: 1 1 104px;
}

.share-app-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.share-app-feature {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 3px 9px;
  align-items: center;
  padding: 11px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.share-app-feature span {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.share-app-feature strong {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.share-app-feature em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.share-app-steps div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 11px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.share-app-steps span {
  grid-row: span 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
}

.share-app-steps strong {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.share-app-steps em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.share-app-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.share-app-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px 24px;
}

.share-app-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 4px;
}

.share-app-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.share-app-section-header b {
  color: #d4a853;
  font-size: 15px;
  font-weight: 700;
}

.share-app-row-list {
  display: grid;
  gap: 8px;
}

.share-app-row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.share-app-row-item > div {
  flex: 1;
  min-width: 0;
}

.share-app-row-badge {
  display: grid;
  flex: 0 0 auto;
  min-width: 32px;
  height: 26px;
  place-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 800;
}

.share-app-row-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.share-app-row-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.share-app-row-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.share-app-row-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.share-app-row-label {
  color: #1a2634;
  font-size: 13px;
  font-weight: 800;
}

.share-app-row-value {
  min-width: 0;
  margin-top: 1px;
  overflow-wrap: anywhere;
  color: #5a6a7a;
  font-size: 12px;
  line-height: 1.45;
}

.share-app-row-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #d4a853;
  border-radius: 6px;
  background: #fdfaf5;
  color: #d4a853;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.share-app-row-action.primary {
  border-color: #1a2634;
  background: #1a2634;
  color: #fff;
}

.share-app-footer-note {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 380px) {
  .share-app-row-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .share-app-row-action {
    margin-left: auto;
    padding: 0 10px;
    font-size: 11px;
  }

  .share-app-row-badge {
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .share-app-row-label {
    font-size: 12px;
  }

  .share-app-row-value {
    font-size: 11px;
  }
}

.play-guide-home-page {
  background: #f5f7fa;
}

.play-guide-brief {
  margin: 14px 16px 0;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.play-guide-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.play-guide-content {
  display: grid;
  gap: 14px;
  padding: 14px 16px 24px;
}

.play-guide-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 0;
}

.play-guide-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.play-guide-section-header b {
  color: #d4a853;
  font-weight: 800;
}

.play-guide-rows {
  display: grid;
  gap: 8px;
}

.play-guide-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  text-align: left;
  font: inherit;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.play-guide-badge {
  flex: 0 0 auto;
  min-width: 32px;
  border-radius: 6px;
  padding: 2px 10px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
}

.play-guide-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.play-guide-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.play-guide-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.play-guide-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.play-guide-badge.purple {
  background: #ede6f0;
  color: #7a4a8a;
}

.play-guide-row div {
  flex: 1;
  min-width: 0;
}

.play-guide-row strong {
  display: block;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.play-guide-row em {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-guide-row i {
  flex: 0 0 auto;
  color: #aab4c0;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
}

.play-guide-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .play-guide-badge {
    min-width: 28px;
    padding: 2px 8px;
    font-size: 11px;
  }

  .play-guide-row strong {
    font-size: 13px;
  }

  .play-guide-row em {
    font-size: 11px;
  }
}

.guide-hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
}

.guide-hero-card > span {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.guide-hero-card h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.guide-hero-card p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.guide-anchor-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.guide-anchor-row button {
  display: grid;
  place-items: center;
  height: 38px;
  min-width: 0;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.guide-category-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.guide-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  grid-template-areas: "icon title arrow" "icon sub arrow" "icon tags arrow";
  align-items: center;
  gap: 3px 12px;
  width: 100%;
  min-height: 92px;
  padding: 14px;
  border: 0;
  text-align: left;
  font: inherit;
}

.guide-category-card span {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.guide-category-card strong {
  grid-area: title;
  min-width: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.guide-category-card em {
  grid-area: sub;
  min-width: 0;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.guide-category-card small {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.guide-category-card b {
  padding: 3px 6px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.guide-category-card i {
  grid-area: arrow;
  justify-self: end;
  color: #94a3b8;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}

.guide-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.guide-summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title tag" "body body";
  align-items: center;
  min-height: 76px;
  padding: 12px;
}

.guide-summary-card strong {
  grid-area: title;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.guide-summary-card span {
  grid-area: tag;
  align-self: start;
  justify-self: start;
  padding: 4px 7px;
  border-radius: 7px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.guide-summary-card p {
  grid-area: body;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.guide-card {
  scroll-margin-top: 66px;
  margin-top: 12px;
  padding: 16px;
}

.guide-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.guide-section-head h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.guide-section-head span {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

.guide-card h3 {
  margin: 16px 0 8px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 900;
}

.guide-note-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.digital-guide-detail-page {
  background: #f5f7fa;
}

.digital-guide-brief {
  margin: 14px 16px 0;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.digital-guide-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.digital-guide-content {
  display: grid;
  gap: 14px;
  padding: 14px 16px 24px;
}

.digital-guide-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 0;
}

.digital-guide-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.digital-guide-rows {
  display: grid;
  gap: 6px;
}

.digital-guide-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.digital-guide-badge {
  flex: 0 0 auto;
  min-width: 32px;
  border-radius: 6px;
  padding: 2px 10px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
}

.digital-guide-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.digital-guide-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.digital-guide-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.digital-guide-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.digital-guide-badge.purple {
  background: #ede6f0;
  color: #7a4a8a;
}

.digital-guide-row div {
  flex: 1;
  min-width: 0;
}

.digital-guide-row div > strong {
  display: block;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.digital-guide-row p {
  margin: 3px 0 0;
  color: #5a6a7a;
  font-size: 12px;
  line-height: 1.55;
}

.digital-guide-row p strong {
  color: #1a2634;
  font-weight: 800;
}

.digital-guide-row p strong.gold {
  color: #d4a853;
}

.digital-guide-row p strong.red {
  color: #c0392b;
}

.digital-guide-row em {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #aab4c0;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
}

.digital-lottery-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.digital-lottery-divider span {
  flex: 1;
  height: 1px;
  background: #e8ecf0;
}

.digital-lottery-divider strong {
  color: #1a2634;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.digital-guide-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

.digital-rule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.digital-rule-entry {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  border: 1px solid #e4e9ed;
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: #1a2634;
  text-align: left;
}

.digital-rule-entry:hover {
  border-color: #c9d2d9;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.digital-rule-entry:focus-visible,
.digital-rule-sources a:focus-visible {
  outline: 2px solid #2f6fa3;
  outline-offset: 2px;
}

.digital-rule-entry-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cfdce8;
  border-radius: 8px;
  background: #edf4fa;
  color: #2f6fa3;
  font-size: 16px;
  font-weight: 800;
}

.digital-rule-entry-mark.welfare {
  border-color: #ecd1cd;
  background: #faefed;
  color: #c64536;
}

.digital-rule-entry-copy {
  min-width: 0;
}

.digital-rule-entry-copy strong,
.digital-rule-entry-copy p,
.digital-rule-entry-copy small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.digital-rule-entry-copy strong {
  font-size: 14px;
}

.digital-rule-entry-copy p {
  margin: 3px 0;
  color: #526272;
  font-size: 12px;
  line-height: 1.45;
}

.digital-rule-entry-copy small {
  color: #8995a1;
  font-size: 11px;
}

.digital-rule-entry > em {
  color: #9aa6b2;
  font-size: 18px;
  font-style: normal;
  text-align: right;
}

.digital-rule-summary,
.digital-rule-section {
  margin: 14px 16px 0;
  border: 1px solid #e4e9ed;
  border-radius: 8px;
  background: #fff;
}

.digital-rule-summary {
  padding: 16px;
}

.digital-rule-summary-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.digital-rule-summary-main h2 {
  margin: 0;
  color: #1a2634;
  font-size: 18px;
}

.digital-rule-summary-main p {
  margin: 4px 0 0;
  color: #697887;
  font-size: 12px;
  line-height: 1.5;
}

.digital-rule-summary dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf0f2;
}

.digital-rule-summary dl > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.digital-rule-summary dt {
  color: #8995a1;
}

.digital-rule-summary dd {
  min-width: 0;
  margin: 0;
  color: #334354;
  overflow-wrap: anywhere;
}

.digital-rule-section {
  padding: 16px;
}

.digital-rule-section > h3 {
  margin: 0 0 12px;
  color: #1a2634;
  font-size: 15px;
}

.digital-rule-lead,
.digital-rule-muted {
  margin: 0;
  color: #526272;
  font-size: 13px;
  line-height: 1.65;
}

.digital-rule-muted {
  color: #8995a1;
}

.digital-rule-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.digital-rule-facts span {
  min-width: 0;
  padding: 10px 12px;
  border-left: 3px solid #d9e2e8;
  background: #f7f9fa;
  color: #526272;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.digital-rule-facts b {
  display: block;
  margin-bottom: 2px;
  color: #1a2634;
}

.digital-rule-methods,
.digital-prize-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.digital-rule-methods article,
.digital-prize-list article,
.digital-rule-note {
  min-width: 0;
  border-top: 1px solid #edf0f2;
  padding: 11px 0 3px;
}

.digital-rule-methods article:first-child,
.digital-prize-list article:first-child,
.digital-rule-note:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.digital-rule-methods strong,
.digital-rule-note strong {
  color: #263748;
  font-size: 13px;
}

.digital-rule-methods p,
.digital-rule-note p {
  margin: 4px 0 0;
  color: #667686;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.digital-rule-methods small {
  display: block;
  margin-top: 5px;
  color: #a06d1d;
  font-size: 11px;
}

.digital-prize-list article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.digital-prize-list article > div strong {
  color: #263748;
  font-size: 13px;
}

.digital-prize-list article > div span {
  flex: 0 0 auto;
  border-radius: 4px;
  padding: 2px 6px;
  background: #edf6f1;
  color: #2f7d57;
  font-size: 10px;
}

.digital-prize-list article > div span.floating {
  background: #f8f0df;
  color: #9a6b16;
}

.digital-prize-list article p {
  margin: 5px 0 3px;
  color: #667686;
  font-size: 12px;
  line-height: 1.55;
}

.digital-prize-list article > b {
  color: #c64536;
  font-size: 12px;
  font-weight: 700;
}

.digital-rule-note + .digital-rule-note {
  margin-top: 7px;
}

.digital-aux-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.digital-aux-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid #e5e9ec;
  border-radius: 6px;
  padding: 8px 4px;
  text-align: center;
}

.digital-aux-grid b {
  color: #334354;
  font-size: 12px;
}

.digital-aux-grid em {
  color: #c64536;
  font-size: 11px;
  font-style: normal;
}

.digital-rule-sources {
  display: grid;
  gap: 6px;
}

.digital-rule-sources a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border-bottom: 1px solid #edf0f2;
  padding: 9px 2px;
  color: #2f6fa3;
  font-size: 12px;
  text-decoration: none;
}

.digital-rule-sources a:last-child {
  border-bottom: 0;
}

.digital-rule-sources a span {
  flex: 0 0 auto;
}

.digital-rule-summary ~ .digital-guide-footer-note {
  margin: 18px 16px 24px;
}

@media (min-width: 720px) {
  .digital-rule-grid,
  .digital-rule-methods,
  .digital-prize-list,
  .digital-rule-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .digital-rule-summary,
  .digital-rule-section,
  .digital-rule-summary ~ .digital-guide-footer-note {
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
  }

  .digital-rule-summary dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .digital-rule-summary dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .digital-aux-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .digital-guide-row {
    gap: 10px;
    padding: 11px 12px;
  }

  .digital-guide-badge {
    min-width: 28px;
    padding: 2px 8px;
    font-size: 11px;
  }

  .digital-guide-row div > strong {
    font-size: 13px;
  }

  .digital-guide-row p {
    font-size: 11px;
  }
}

.guide-rule-block {
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.guide-rule-block h3 {
  margin-top: 0;
}

.guide-rule-block p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.guide-rule-block ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
}

.guide-tip {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  line-height: 1.6;
}

.guide-prize-table {
  display: grid;
  gap: 6px;
}

.guide-prize-table div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 68px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.guide-prize-table strong {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.guide-prize-table span {
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.guide-prize-table em {
  color: #dc2626;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.guide-play-block {
  margin-top: 12px;
}

.guide-play-block h3 {
  margin: 12px 0 9px;
  color: #1e293b;
  font-size: 15px;
}

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

.guide-play-item {
  min-height: 92px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #eef2f7;
}

.guide-play-item strong {
  display: block;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
}

.guide-play-item p {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.guide-bd-card {
  margin: 10px 0 12px;
  padding: 13px;
  border-radius: 8px;
  background: #eff6ff;
}

.guide-bd-card strong {
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 900;
}

.guide-bd-card p {
  margin: 7px 0 0;
  color: #2563eb;
  font-size: 12px;
  line-height: 1.6;
}

.term-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.term-row {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.term-row strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.term-row p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.random-video-page {
  background: #f5f7fa;
}

.random-video-brief {
  margin: 14px 16px 0;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.random-video-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.random-video-content {
  display: grid;
  gap: 14px;
  padding: 14px 16px 24px;
}

.random-video-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 0;
}

.random-video-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.random-video-info-card,
.random-video-notice-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.random-video-info-card {
  padding: 20px 18px 18px;
}

.random-video-feature-list {
  display: grid;
  gap: 12px;
}

.random-video-feature-item {
  position: relative;
  padding-left: 18px;
  color: #4a5a6a;
  font-size: 14px;
  line-height: 1.7;
}

.random-video-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d4a853;
}

.random-video-feature-item strong {
  color: #1a2634;
  font-weight: 800;
}

.random-video-feature-item em {
  color: #d4a853;
  font-style: normal;
  font-weight: 800;
}

.random-video-notice-card {
  border-left: 4px solid #d4a853;
  padding: 16px 18px;
}

.random-video-notice-card > strong {
  display: block;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.random-video-notice-card p {
  margin: 5px 0 0;
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.7;
}

.random-video-notice-card p strong {
  color: #1a2634;
  font-weight: 800;
}

.random-video-notice-card p em {
  color: #d4a853;
  font-style: normal;
  font-weight: 800;
}

.random-video-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.random-video-btn {
  min-width: 0;
  border: 0;
  border-radius: 10px;
  padding: 14px 0;
  background: #1a2634;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.random-video-btn span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 400;
}

.random-video-btn.outline {
  border: 1px solid #e8ecf0;
  background: #fff;
  color: #1a2634;
}

.random-video-btn.outline span {
  color: #8a9aaa;
}

.random-video-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .random-video-info-card {
    padding: 16px 14px 14px;
  }

  .random-video-feature-item {
    padding-left: 14px;
    font-size: 13px;
  }

  .random-video-feature-item::before {
    top: 9px;
    width: 5px;
    height: 5px;
  }

  .random-video-notice-card p {
    font-size: 12px;
  }

  .random-video-btn {
    padding: 12px 0;
    font-size: 14px;
  }
}

.template-card {
  margin-top: 12px;
  padding: 16px;
}

.template-hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
}

.template-hero-card > span {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 18px;
  font-weight: 900;
}

.template-hero-card h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.template-hero-card p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.template-card label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.template-card input {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #f8fafc;
  color: #111827;
  outline: none;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.template-identity-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.template-identity-row .avatar {
  width: 52px;
  height: 52px;
}

.template-identity-row .avatar.image {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}

.template-identity-row .avatar.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-identity-row .avatar.image i {
  display: none;
  font-style: normal;
}

.template-identity-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.template-identity-row strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.template-identity-row em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.template-help-text {
  margin: 10px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.55;
}

.template-review-status {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
  line-height: 1.45;
}

.template-avatar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.template-avatar-actions .ghost-btn {
  flex: 0 0 auto;
}

.template-avatar-actions span {
  min-width: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.switch-row,
.profile-card,
.profile-row {
  display: flex;
  align-items: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.avatar.shop,
.profile-icon.amber {
  background: #f59e0b;
}

.switch-row {
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
}

.switch-row input {
  width: 46px;
  height: 26px;
  accent-color: #2563eb;
}

.template-rule-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.template-rule-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.template-rule-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.template-rule-row strong {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.template-settings-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.template-settings-brief {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #4a5a6a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.template-settings-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.template-settings-section-head.form,
.template-settings-section-head.rule {
  margin-top: 18px;
}

.template-settings-section-head span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.template-settings-profile-card,
.template-settings-form-card,
.template-settings-rule-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.template-settings-profile-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}

.template-settings-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 10px;
  background: #1a2634;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.template-settings-avatar.gold-bg {
  background: var(--gold);
  color: #1a2634;
}

.template-settings-avatar.image {
  background: #e5e7eb;
}

.template-settings-avatar.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-settings-avatar.image i {
  display: none;
  font-style: normal;
}

.template-settings-profile-card div {
  min-width: 0;
}

.template-settings-profile-card strong,
.template-settings-profile-card em {
  display: block;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-settings-profile-card strong {
  color: #1a2634;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.template-settings-profile-card em {
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.template-settings-profile-card b {
  padding: 4px 12px;
  border-radius: 999px;
  background: #e6f0ea;
  color: #2d7d5a;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.template-settings-form-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.template-settings-field {
  display: grid;
  gap: 4px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.template-settings-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 10px 14px;
  background: #f8f9fb;
  color: #1a2634;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.template-settings-field input[type="file"] {
  padding: 9px 12px;
  color: #5a6a7a;
}

.template-settings-field input:focus {
  border-color: var(--gold);
  background: #fff;
}

.template-settings-field input:disabled {
  color: #6b7280;
  background: #f2f4f6;
}

.template-settings-field input::placeholder {
  color: #aab4c0;
  font-size: 13px;
}

.template-settings-field small {
  display: block;
  margin-top: 4px;
  color: #aab4c0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.template-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.template-settings-actions button {
  flex: 1 1 120px;
  min-height: 42px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.template-settings-actions .primary {
  border: 1px solid #1a2634;
  background: #1a2634;
  color: #fff;
}

.template-settings-actions .outline-gold {
  border: 1px solid var(--gold);
  background: #fdfaf5;
  color: #b8944b;
}

.template-settings-rule-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
}

.template-settings-rule-card strong {
  color: #1a2634;
  font-size: 14px;
  font-weight: 900;
}

.template-settings-rule-card div {
  display: grid;
  gap: 6px;
}

.template-settings-rule-card p {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #5a6a7a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.template-settings-rule-card p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.template-settings-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .template-settings-profile-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
  }

  .template-settings-avatar {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .template-settings-profile-card strong {
    font-size: 14px;
  }

  .template-settings-form-card {
    padding: 14px;
  }

  .template-settings-field input {
    min-height: 40px;
    font-size: 13px;
  }

  .template-settings-actions button {
    min-height: 38px;
    font-size: 12px;
  }

  .template-settings-rule-card p {
    font-size: 12px;
  }
}

.preview-shop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  border-left: 1px solid #e5e7eb;
}

.preview-shop span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fffbeb;
  color: #d97706;
  font-weight: 900;
}

.preview-shop strong {
  max-width: 96px;
  overflow: hidden;
  color: #d97706;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixed-save-btn {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 30;
  width: min(calc(100% - 24px), 516px);
  transform: translateX(-50%);
}

.mine-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(56px + env(safe-area-inset-top));
  margin: 0 -14px 12px;
  padding: env(safe-area-inset-top) 10px 0 18px;
  background: #fff;
}

.mine-title h1 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.mine-title button {
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
}

.mine-title-with-back {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 0;
  padding-right: 10px;
}

.mine-title-with-back h1 {
  text-align: center;
}

.mine-title-with-back button {
  min-width: 0;
}

.mine-title-with-back button:first-child {
  justify-self: start;
}

.mine-title-with-back button:last-child {
  justify-self: end;
}

.mine-page {
  padding-bottom: 24px;
}

.mine-page .topbar {
  margin-bottom: 14px;
}

.mine-page .icon-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.mine-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mine-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mine-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.mine-profile-card.logged-in .mine-avatar {
  background: var(--gold);
  color: var(--navy);
}

.mine-avatar.account-avatar-image {
  position: relative;
  overflow: hidden;
  background: #f5f7fa;
}

.mine-avatar.account-avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mine-avatar.account-avatar-image b {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
}

.mine-profile-info {
  flex: 1;
  display: block;
  min-width: 0;
  text-align: left;
}

.mine-profile-info strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-profile-info em {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--subtle);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-profile-info small {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.mine-login-btn,
.mine-logout-btn {
  flex-shrink: 0;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: none;
}

.mine-login-btn {
  min-height: 36px;
  padding: 0 22px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}

.mine-logout-btn {
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid #f5d0cc;
  background: var(--red-weak);
  color: var(--red);
  font-size: 13px;
}

.mine-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 4px;
}

.mine-section-header span {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.mine-section-header b {
  color: var(--gold);
  font-weight: 600;
}

.mine-row-list {
  display: grid;
  gap: 8px;
}

.mine-row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s;
}

.mine-row-item:active {
  border-color: var(--gold);
}

.mine-row-badge {
  flex-shrink: 0;
  display: inline-block;
  min-width: 32px;
  padding: 2px 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.3px;
}

.mine-row-item.gold .mine-row-badge {
  background: var(--gold-weak);
  color: var(--amber);
}

.mine-row-item.blue .mine-row-badge {
  background: var(--blue-weak);
  color: var(--blue);
}

.mine-row-item.green .mine-row-badge {
  background: var(--green-weak);
  color: var(--green);
}

.mine-row-item.red .mine-row-badge {
  background: var(--red-weak);
  color: var(--red);
}

.mine-row-item.purple .mine-row-badge {
  background: #ede6f0;
  color: var(--purple);
}

.mine-row-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
}

.mine-row-copy strong {
  display: block;
  width: 100%;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.mine-row-copy em {
  display: block;
  width: 100%;
  margin-top: 1px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.mine-row-arrow {
  flex-shrink: 0;
  color: #aab4c0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.mine-row-status {
  flex-shrink: 0;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 500;
}

.mine-row-status.new {
  color: var(--gold);
}

.mine-footer-note {
  margin-top: 4px;
}

.profile-card {
  gap: 14px;
  padding: 18px;
}

.profile-text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.profile-text strong {
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card .profile-text strong {
  font-size: 18px;
}

.profile-text em {
  overflow: hidden;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-arrow {
  color: #9ca3af;
  font-size: 24px;
}

.role-switch-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  grid-template-areas: "icon title arrow" "icon sub arrow";
  align-items: center;
  column-gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #eff6ff;
  text-align: left;
}

.role-switch-row span {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
}

.role-switch-row strong {
  grid-area: title;
  color: #1d4ed8;
  font-size: 15px;
}

.role-switch-row em {
  grid-area: sub;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.role-switch-row i {
  grid-area: arrow;
  color: #9ca3af;
  font-size: 22px;
  font-style: normal;
}

.role-switch-row.shop-entry {
  background: #fffbeb;
}

.role-switch-row.shop-entry strong {
  color: #d97706;
}

.role-switch-row.shop-entry span {
  background: #d97706;
}

.role-switch-row.user-entry {
  background: #ecfdf5;
}

.role-switch-row.user-entry strong {
  color: #047857;
}

.role-switch-row.user-entry span {
  background: #059669;
}

.user-account-card,
.user-login-card {
  margin-top: 14px;
}

.user-login-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.user-login-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px 24px;
}

.user-login-section-title {
  padding: 2px 0 4px;
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.user-login-form-card {
  padding: 20px 18px 18px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.user-login-field {
  margin-bottom: 14px;
}

.user-login-field:last-of-type {
  margin-bottom: 18px;
}

.user-login-field label {
  display: block;
  margin-bottom: 4px;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 600;
}

.user-login-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.user-login-input-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  outline: none;
  background: #f8f9fb;
  color: #1a2634;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.user-login-input-row input:focus {
  border-color: #d4a853;
  background: #fff;
}

.user-login-input-row input::placeholder {
  color: #aab4c0;
  font-size: 14px;
}

.user-login-sms-btn {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #f0f2f5;
  color: #5a6a7a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.user-login-sms-btn:active {
  border-color: #d4a853;
  background: #fdfaf5;
}

.user-login-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.user-login-actions button {
  flex: 1;
  min-width: 80px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #fff;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.user-login-actions button.primary {
  border-color: #1a2634;
  background: #1a2634;
  color: #fff;
}

.user-login-actions button.outline-gold {
  border-color: #d4a853;
  background: #fdfaf5;
  color: #b8944b;
}

.user-login-hint {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f2f5;
  color: #8a9aaa;
  text-align: center;
  font-size: 12px;
}

.user-login-hint span {
  color: #d4a853;
  font-weight: 800;
}

.user-login-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  color: #526172;
  font-size: 12px;
  line-height: 1.5;
}

.user-login-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #1a2634;
}

.store-login-consent {
  margin: 14px 2px 0;
}

.user-login-safe-note {
  padding: 0 2px;
  color: #8a9aaa;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.user-login-footer {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

.user-account-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

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

.user-account-grid div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.user-account-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.user-account-grid strong {
  display: block;
  min-width: 0;
  margin-top: 4px;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-account-card p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.user-privacy-page {
  background: #f5f7fa;
}

.user-privacy-brief {
  margin: 14px 16px 0;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.user-privacy-brief strong {
  color: #1a2634;
  font-weight: 800;
}

.user-privacy-main {
  display: grid;
  gap: 14px;
  padding: 14px 16px 24px;
}

.user-privacy-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0 0;
}

.user-privacy-section-header span {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.user-privacy-section-header b {
  color: #d4a853;
  font-weight: 800;
}

.user-privacy-rows {
  display: grid;
  gap: 8px;
}

.user-privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.user-privacy-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 32px;
  height: 26px;
  margin-top: 1px;
  border-radius: 6px;
  padding: 0 10px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.user-privacy-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.user-privacy-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.user-privacy-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.user-privacy-row div {
  flex: 1;
  min-width: 0;
}

.user-privacy-row strong {
  display: block;
  color: #1a2634;
  font-size: 14px;
  font-weight: 800;
}

.user-privacy-row p {
  margin: 2px 0 0;
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.6;
}

.user-privacy-row p strong {
  display: inline;
  color: #1a2634;
  font-size: inherit;
  font-weight: 800;
}

.user-privacy-row p em {
  color: #d4a853;
  font-style: normal;
  font-weight: 800;
}

.user-privacy-row i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #aab4c0;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
}

.user-privacy-supplement {
  border: 1px solid #e8ecf0;
  border-left: 4px solid #d4a853;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.user-privacy-supplement p {
  margin: 0;
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.7;
}

.user-privacy-supplement strong {
  color: #1a2634;
  font-weight: 800;
}

.user-privacy-supplement em {
  color: #d4a853;
  font-style: normal;
  font-weight: 800;
}

.user-privacy-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .user-privacy-row {
    gap: 10px;
    padding: 12px;
  }

  .user-privacy-badge {
    min-width: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .user-privacy-row strong {
    font-size: 13px;
  }

  .user-privacy-row p,
  .user-privacy-supplement p {
    font-size: 12px;
  }
}

.privacy-hero,
.privacy-data-card,
.privacy-rule-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
}

.privacy-hero p,
.privacy-rule-card p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}

.privacy-data-list {
  display: grid;
  gap: 9px;
}

.privacy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "place value"
    "title button"
    "desc button";
  gap: 4px 10px;
  align-items: center;
  padding: 11px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.privacy-row span {
  grid-area: place;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.privacy-row strong {
  grid-area: title;
  min-width: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.privacy-row em {
  grid-area: desc;
  min-width: 0;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.privacy-row b {
  grid-area: value;
  justify-self: end;
  max-width: 120px;
  overflow: hidden;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-row button {
  grid-area: button;
  min-width: 54px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.profile-list {
  margin-top: 14px;
  overflow: hidden;
}

.profile-row {
  width: 100%;
  min-height: 64px;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  text-align: left;
}

.profile-row + .profile-row {
  border-top: 1px solid #f3f4f6;
}

.profile-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.profile-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.version {
  margin-top: 24px;
  color: #9ca3af;
  text-align: center;
  font-size: 12px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.shop-tool {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 128px;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  text-align: left;
  color: inherit;
  text-decoration: none;
}

.shop-tool-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.shop-tool span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
}

.shop-tool strong {
  color: #111827;
  font-size: 15px;
}

.shop-tool em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.role-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: calc(72px + env(safe-area-inset-top)) 6px 24px;
}

.role-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.role-page h1 {
  margin: 20px 0 0;
  color: #2563eb;
  font-size: 28px;
}

.role-page p {
  margin: 8px 0 28px;
  color: #64748b;
  font-size: 15px;
}

.role-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  grid-template-areas: "icon title arrow" "icon sub arrow";
  align-items: center;
  width: 100%;
  gap: 5px 16px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.role-card span {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.role-card span.shop {
  background: #d97706;
}

.role-card strong {
  grid-area: title;
  color: #1e293b;
  font-size: 18px;
}

.role-card em {
  grid-area: sub;
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.role-card i {
  grid-area: arrow;
  color: #9ca3af;
  font-size: 24px;
  font-style: normal;
}

.role-page small {
  margin-top: 28px;
  color: #94a3b8;
  font-size: 13px;
}

.league-card.active {
  box-shadow: inset 0 0 0 1px #2563eb;
}

@media (min-width: 720px) {
  .app-shell {
    min-height: calc(100vh - 28px);
    margin-top: 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  }

  .bottom-bar {
    bottom: 14px;
    border-radius: 0 0 14px 14px;
  }

  .selection-bottom-bar,
  .image-bottom-bar {
    bottom: 14px;
    border-radius: 0 0 14px 14px;
  }

  .fixed-save-btn {
    bottom: 26px;
  }
}

@media (min-width: 900px) {
  .app-shell {
    width: min(100%, 1180px);
  }

  .page {
    padding: 24px;
  }

  .topbar {
    margin: -24px -24px 18px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-feature-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .home-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .store-discovery-list,
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-post-home-list,
  .store-post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* DeepSeek new visual system overrides: dark header, gold accent, compact data cards. */
.app-shell {
  width: min(100%, 430px);
  max-width: 430px;
  background: var(--app-bg);
}

.page {
  padding: 14px 16px 0;
  background: var(--app-bg);
}

.topbar,
.topbar.gradient-topbar,
.gradient-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: -14px -16px 14px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
  background: var(--navy);
  color: #fff;
  border-bottom: 0;
  box-shadow: none;
}

.topbar .icon-btn {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  box-shadow: none;
  font-size: 20px;
}

.topbar .icon-btn[data-action="back"] {
  width: 36px;
  height: 36px;
  min-height: 36px;
  margin-left: -8px;
  border-radius: 10px;
  font-size: 28px;
  line-height: 1;
}

.topbar-title {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.topbar-title h1 {
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
}

.topbar-title h1::first-letter {
  color: var(--gold);
}

.topbar-title p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 400;
}

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

.topbar-right .title-action,
.title-action {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(212, 168, 83, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.34);
}

.android-card,
.commercial-panel,
.store-directory-hero,
.store-directory-filter-card,
.store-directory-results,
.number-switch-card,
.number-ticket-card,
.number-config-card,
.number-selector-card,
.sports-style-card,
.store-post-panel,
.store-post-category-card,
.store-post-filter-card,
.store-decor-card,
.material-section,
.material-hero,
.share-app-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.android-card {
  margin-top: 12px;
  padding: 14px;
}

.section-title {
  margin: 14px 0 8px;
  padding: 0 2px;
}

.section-title h3,
.card-title-row strong,
.card-title-row h2 {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.section-title h3::after,
.card-title-row strong::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--gold);
  vertical-align: middle;
}

.section-title span,
.card-title-row span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 600;
}

.section-title-action {
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.28);
}

.home-header {
  margin: -14px -16px 14px;
  padding: calc(13px + env(safe-area-inset-top)) 16px 13px;
  background: var(--navy);
  color: #fff;
  border-radius: 0;
  box-shadow: none;
}

.home-header-top {
  align-items: center;
  gap: 12px;
}

.home-header h1 {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.home-header h1::first-letter {
  color: var(--gold);
}

.home-header p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.home-mine {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(212, 168, 83, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.32);
}

.footer-note {
  margin: 14px -16px 0;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--app-bg);
  color: #aab4c0;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  text-align: center;
}

.store-hero {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.store-hero .brand-line {
  display: flex;
  align-items: center;
}

.store-hero h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.store-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.store-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.store-card-main,
.owner-store-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-text {
  min-width: 0;
  flex: 1;
}

.profile-text strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
}

.profile-text em {
  display: block;
  margin-top: 1px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
}

.owner-store-status {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-weak);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

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

.compact-actions .ghost-btn {
  min-height: 34px;
  padding: 0 8px;
  font-size: 12px;
}

.feature-grid,
.home-feature-grid,
.home-quick-grid,
.owner-primary-grid,
.owner-secondary-grid,
.material-action-grid,
.store-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.home-feature-title {
  margin: 12px 0 8px;
  padding: 0 2px;
}

.home-feature-title h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.home-feature-title h3::after {
  display: none;
}

.home-feature-title h3 .gold {
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}

.home-tool-title {
  margin: 14px 0 8px;
  padding: 0 2px;
}

.home-tool-title h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.home-tool-title h3::after {
  display: none;
}

.home-tool-title h3 .gold {
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}

.home-feature-grid .feature-card {
  min-width: 0;
  min-height: 136px;
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-feature-grid .feature-card:active {
  border-color: var(--gold);
  box-shadow: var(--shadow-strong);
}

.home-feature-grid .feature-card .feature-icon {
  display: inline-block;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 2px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.home-feature-grid .feature-card strong,
.home-feature-grid .feature-card span {
  overflow-wrap: anywhere;
}

.home-feature-grid .feature-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.home-feature-grid .feature-card p {
  margin: 2px 0 0;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.home-feature-grid .feature-card .stat-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  color: #aab4c0;
  font-size: 11px;
  line-height: 1.45;
}

.home-feature-grid .feature-card .stat-line span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.home-feature-grid .feature-card .stat-line .num {
  color: var(--text);
  font-weight: 600;
}

.home-feature-grid .feature-card .stat-line .num.gold {
  color: var(--gold);
}

.feature-card,
.shop-tool,
.store-service-card,
.material-action-grid button,
.material-action-grid a,
.owner-primary-grid .shop-tool,
.owner-secondary-grid .shop-tool {
  min-height: 98px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  text-align: left;
}

.feature-card:active,
.shop-tool:active,
.store-service-card:active,
.material-action-grid button:active,
.material-action-grid a:active,
.tool-row:active {
  transform: translateY(1px);
}

.feature-card .feature-icon,
.shop-tool span,
.shop-tool-badge,
.store-service-card span,
.material-action-grid span,
.brand-mark,
.avatar {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
}

.feature-card.red .feature-icon {
  background: var(--red-weak);
  color: var(--red);
}

.feature-card.blue .feature-icon {
  background: var(--blue-weak);
  color: var(--blue);
}

.feature-card.green .feature-icon,
.avatar.shop {
  background: var(--green-weak);
  color: var(--green);
}

.feature-card.amber .feature-icon {
  background: var(--gold-weak);
  color: var(--amber);
}

.feature-card.purple .feature-icon {
  background: #ede6f0;
  color: var(--purple);
}

.feature-card.cyan .feature-icon {
  background: #e4f0f0;
  color: var(--cyan);
}

.feature-card strong,
.shop-tool strong,
.store-service-card strong,
.material-action-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.feature-card span:not(.feature-icon),
.shop-tool em,
.store-service-card em,
.material-action-grid em {
  display: block;
  margin-top: 2px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
}

.tool-row,
.role-switch-row,
.store-discovery-card,
.store-share-line,
.store-metric-list div,
.store-module-status-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tool-row + .tool-row,
.role-switch-row + .role-switch-row {
  margin-top: 8px;
}

.tool-row span,
.role-switch-row span,
.store-discovery-card i,
.store-share-line span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.tool-row strong,
.role-switch-row strong,
.store-discovery-card strong,
.store-share-line strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.tool-row em,
.role-switch-row em,
.store-discovery-card small,
.store-share-line em {
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
}

.tool-panel {
  margin-top: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tool-row-list {
  display: grid;
  gap: 8px;
}

.tool-panel .tool-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition: border-color 0.2s;
}

.tool-panel .tool-row:active {
  border-color: var(--gold);
  transform: none;
}

.tool-panel .tool-row + .tool-row {
  margin-top: 0;
}

.tool-panel .tool-row .tool-badge {
  flex-shrink: 0;
  display: inline-block;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 2px 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.tool-panel .tool-row.gold .tool-badge {
  background: var(--gold-weak);
  color: var(--amber);
}

.tool-panel .tool-row.red .tool-badge {
  background: var(--red-weak);
  color: var(--red);
}

.tool-panel .tool-row.green .tool-badge {
  background: var(--green-weak);
  color: var(--green);
}

.tool-panel .tool-row.blue .tool-badge {
  background: var(--blue-weak);
  color: var(--blue);
}

.tool-panel .tool-row.gray .tool-badge {
  background: #f0f2f4;
  color: #6a7a8a;
}

.tool-panel .tool-row .tool-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
  place-items: initial;
  justify-items: start;
}

.tool-panel .tool-row .tool-copy strong {
  display: block;
  width: 100%;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.tool-panel .tool-row .tool-copy em {
  display: block;
  width: 100%;
  margin-top: 1px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.tool-panel .tool-row .tool-arrow,
.tool-panel .tool-row .tool-status {
  flex-shrink: 0;
  display: inline;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #aab4c0;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
}

.tool-panel .tool-row .tool-status {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 500;
}

.tool-panel .tool-row .tool-status.new {
  color: var(--gold);
}

.brand-line {
  gap: 12px;
}

.brand-line .avatar,
.store-card .avatar,
.store-hero .avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.brand-line strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.brand-line em,
.commercial-panel p,
.store-visitor-panel p,
.store-service-panel p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.context-rules span,
.store-discovery-badges b {
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
}

.event-stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
}

.event-stat strong {
  color: var(--text);
}

.sports-style-head > span,
.store-card .status,
.store-hero .status,
.store-application-step.done span,
.store-application-step.active span {
  border-radius: 999px;
  background: var(--green-weak);
  color: var(--green);
}

.sports-style-segment,
.number-segment,
.tab-switch,
.role-switch,
.lottery-mode-row {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.sports-style-segment button,
.number-segment button,
.seg-btn,
.lottery-mode-row button {
  min-height: 34px;
  border-radius: 8px;
  background: transparent;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.sports-style-segment button.active,
.number-segment button.active,
.seg-btn.active,
.lottery-mode-row button.active {
  background: var(--navy);
  color: #fff;
}

.match-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.match-card + .match-card {
  margin-top: 10px;
}

.match-head,
.match-meta {
  padding: 12px 14px 0;
}

.match-title {
  padding: 6px 14px 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.match-title small,
.match-meta,
.match-meta span,
.match-head span,
.match-head em {
  color: var(--subtle);
  font-size: 12px;
}

.match-head strong,
.match-code {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.play-row {
  padding: 0 14px 10px;
}

.play-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.option-btn {
  border-radius: 8px;
  background: var(--panel-2);
  color: #34475a;
  box-shadow: inset 0 0 0 1px var(--line);
}

.option-btn.selected {
  background: rgba(212, 168, 83, 0.13);
  color: #8a641d;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.42);
}

.option-btn.trend-up:not(.selected) {
  color: var(--red);
}

.option-btn.trend-down:not(.selected) {
  color: var(--green);
}

.sports-section-title,
.date-group-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.sports-section-title .title-action.inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 28px;
  padding: 0;
  line-height: 1;
  text-align: center;
}

.day-group.date-group {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.day-head.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel-2);
  color: var(--text);
  box-shadow: none;
}

.day-head.group-header .title {
  font-size: 14px;
  font-weight: 900;
}

.day-head.group-header .title b {
  color: var(--gold);
  font-weight: 800;
}

.day-head.group-header em {
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.day-group.date-group .match-card {
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}

.day-group.date-group .match-card:last-child {
  border-bottom: 0;
}

.bottom-bar,
.number-bottom-bar,
.image-bottom-bar {
  left: 50%;
  width: min(100%, 430px);
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 26px rgba(26, 38, 52, 0.06);
}

.bet-chip,
.selection-bar,
.number-bottom-bar button,
.image-bottom-bar button {
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  box-shadow: none;
}

.bet-chip.parlay-chip,
.bet-chip.fold-chip {
  background: var(--gold-weak);
  color: #7a5a1d;
}

.number-profile-card.compact {
  align-items: center;
  gap: 12px;
}

.number-profile-card .avatar,
.number-ticket-index {
  background: var(--navy);
  color: #fff;
}

.number-mini-ball.red,
.number-grid.front .number-ball.selected {
  background: var(--red);
}

.number-mini-ball.blue,
.number-grid.back .number-ball.selected {
  background: var(--blue);
}

.number-ball {
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.lottery-card,
.history-draw-hero,
.history-draw-list article,
.poster-stage {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.poster-stage {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--navy), #2a6b9a);
}

.poster-stage.fucai {
  background: linear-gradient(160deg, #7f1d1d, var(--red));
}

.ticai-poster-page {
  background: #f5f7fa;
  padding-bottom: 24px;
}

.ticai-poster-page .topbar-title h1::first-letter {
  color: #fff;
}

.ticai-poster-page .topbar-title p {
  display: block;
}

.tc-poster-card {
  margin-top: 14px;
  padding: 24px 20px 20px;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  background: #fff;
  color: #1a2634;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tc-poster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a2634;
}

.tc-poster-title {
  min-width: 0;
  color: #1a2634;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.tc-poster-title span,
.tc-poster-gold {
  color: #d4a853;
}

.tc-poster-tag {
  flex: 0 0 auto;
  padding: 2px 14px;
  border-radius: 4px;
  background: #f5ede0;
  color: #d4a853;
  font-size: 14px;
  font-weight: 800;
}

.tc-poster-sub {
  margin-top: 6px;
  color: #8a9aaa;
  text-align: center;
  font-size: 12px;
}

.tc-poster-rows {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tc-poster-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #f8f9fb;
}

.tc-poster-badge {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  border-radius: 6px;
  background: #e6edf6;
  color: #2a6b9a;
  font-size: 12px;
  font-weight: 900;
}

.tc-poster-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.tc-poster-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.tc-poster-badge.blue {
  background: #e6edf6;
  color: #2a6b9a;
}

.tc-poster-row-main {
  min-width: 0;
}

.tc-poster-row-main strong {
  display: block;
  overflow: hidden;
  color: #1a2634;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-poster-numbers {
  margin-top: 2px;
  color: #1a2634;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.5px;
  word-break: keep-all;
}

.tc-poster-numbers span {
  color: #2a6b9a;
}

.tc-poster-status {
  color: #2d7d5a;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.tc-poster-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e8ecf0;
  color: #8a9aaa;
  font-size: 12px;
}

.tc-poster-footer span {
  min-width: 0;
  overflow: hidden;
  color: #1a2634;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-poster-footer .tc-poster-gold {
  color: #d4a853;
}

.tc-poster-footer em {
  flex: 0 0 auto;
  color: #aab4c0;
  font-size: 11px;
  font-style: normal;
}

.tc-poster-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.tc-poster-actions button {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  color: #1a2634;
  text-align: center;
}

.tc-poster-actions button.primary {
  border-color: #1a2634;
  background: #1a2634;
  color: #fff;
}

.tc-poster-actions strong,
.tc-poster-actions span {
  display: block;
}

.tc-poster-actions strong {
  font-size: 14px;
  font-weight: 800;
}

.tc-poster-actions span {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 10px;
}

.tc-poster-actions button.primary span {
  color: rgba(255, 255, 255, 0.56);
}

.tc-poster-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 380px) {
  .tc-poster-card {
    padding: 18px 14px 16px;
  }

  .tc-poster-title {
    font-size: 17px;
  }

  .tc-poster-row {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
    gap: 8px;
    padding: 11px 10px;
  }

  .tc-poster-numbers {
    font-size: 12px;
  }
}

.fucai-poster-page {
  background: #f5f7fa;
  padding-bottom: 24px;
}

.fucai-poster-page .topbar-title h1::first-letter {
  color: #fff;
}

.fucai-poster-page .topbar-title p {
  display: block;
}

.fc-poster-card {
  margin-top: 14px;
  padding: 24px 20px 20px;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  background: #fff;
  color: #1a2634;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.fc-poster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid #c0392b;
}

.fc-poster-title {
  min-width: 0;
  color: #1a2634;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.fc-poster-title span,
.fc-poster-red {
  color: #c0392b;
}

.fc-poster-tag {
  flex: 0 0 auto;
  padding: 2px 14px;
  border-radius: 4px;
  background: #fae8e6;
  color: #c0392b;
  font-size: 14px;
  font-weight: 800;
}

.fc-poster-sub {
  margin-top: 6px;
  color: #8a9aaa;
  text-align: center;
  font-size: 12px;
}

.fc-poster-rows {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.fc-poster-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #f8f9fb;
}

.fc-poster-badge {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  border-radius: 6px;
  background: #fae8e6;
  color: #c0392b;
  font-size: 12px;
  font-weight: 900;
}

.fc-poster-badge.red {
  background: #fae8e6;
  color: #c0392b;
}

.fc-poster-badge.gold {
  background: #f5ede0;
  color: #b8944b;
}

.fc-poster-badge.green {
  background: #e6f0ea;
  color: #2d7d5a;
}

.fc-poster-badge.purple {
  background: #ede6f0;
  color: #7a4a8a;
}

.fc-poster-row-main {
  min-width: 0;
}

.fc-poster-row-main strong {
  display: block;
  overflow: hidden;
  color: #1a2634;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-poster-numbers {
  margin-top: 2px;
  color: #1a2634;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.5px;
}

.fc-poster-numbers.long {
  font-size: 12px;
  line-height: 1.45;
}

.fc-poster-numbers .gold {
  color: #d4a853;
}

.fc-poster-numbers .red {
  color: #c0392b;
}

.fc-poster-status {
  color: #2d7d5a;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.fc-poster-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e8ecf0;
  color: #8a9aaa;
  font-size: 12px;
}

.fc-poster-footer span {
  min-width: 0;
  overflow: hidden;
  color: #1a2634;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-poster-footer .fc-poster-red {
  color: #c0392b;
}

.fc-poster-footer em {
  flex: 0 0 auto;
  color: #aab4c0;
  font-size: 11px;
  font-style: normal;
}

.fc-poster-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.fc-poster-actions button {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  background: #fff;
  color: #1a2634;
  text-align: center;
}

.fc-poster-actions button.primary {
  border-color: #1a2634;
  background: #1a2634;
  color: #fff;
}

.fc-poster-actions strong,
.fc-poster-actions span {
  display: block;
}

.fc-poster-actions strong {
  font-size: 14px;
  font-weight: 800;
}

.fc-poster-actions span {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 10px;
}

.fc-poster-actions button.primary span {
  color: rgba(255, 255, 255, 0.56);
}

.fc-poster-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf0;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 380px) {
  .fc-poster-card {
    padding: 18px 14px 16px;
  }

  .fc-poster-title {
    font-size: 17px;
  }

  .fc-poster-row {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
    gap: 8px;
    padding: 11px 10px;
  }

  .fc-poster-numbers {
    font-size: 12px;
  }

  .fc-poster-numbers.long {
    font-size: 11px;
  }
}

.image-preview-tip {
  background: #fff7ed;
  color: #9a6412;
  box-shadow: inset 0 0 0 1px #efd5a5;
}

.generated-image-preview {
  border: 1px solid var(--line);
}

.store-post-card,
.store-post-detail,
.store-post-intro {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.store-post-tag {
  border-radius: 6px;
  background: var(--gold-weak);
  color: #7a5a1d;
}

.store-workbench-stats div,
.store-board-grid div,
.store-rule-grid div,
.store-metric-list div,
.store-module-status-list div {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
}

.commercial-actions button,
.commercial-actions a,
.store-visitor-actions .ghost-btn,
.store-board-actions .ghost-btn {
  border-radius: 10px;
}

.commercial-panel input,
.store-application-field input,
.store-application-field textarea,
.store-application-field select,
.feedback-form input,
.feedback-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.toast {
  background: rgba(26, 38, 52, 0.94);
}

.store-onboarding-page .store-application-field input,
.store-onboarding-page .store-application-field textarea {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #f8f9fb;
}

.store-onboarding-page .store-application-field input:focus,
.store-onboarding-page .store-application-field textarea:focus {
  border-color: #d4a853;
  background: #fff;
}

/* Sports option states: odds movement must never look like a user selection. */
.option-btn,
.sports-style-odds .option-btn,
.sports-style-compact .option-btn,
.sports-style-matrix .option-btn {
  background: #f8fafc;
  color: #1f2937;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.option-btn.trend-up:not(.selected),
.sports-style-odds .option-btn.trend-up:not(.selected),
.sports-style-compact .option-btn.trend-up:not(.selected),
.sports-style-matrix .option-btn.trend-up:not(.selected) {
  background: #f8fafc;
  color: var(--red);
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.option-btn.trend-down:not(.selected),
.sports-style-odds .option-btn.trend-down:not(.selected),
.sports-style-compact .option-btn.trend-down:not(.selected),
.sports-style-matrix .option-btn.trend-down:not(.selected) {
  background: #f8fafc;
  color: var(--green);
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.option-btn.selected,
.sports-style-odds .option-btn.selected,
.sports-style-compact .option-btn.selected,
.sports-style-matrix .option-btn.selected {
  background: #2563eb;
  color: #fff;
  box-shadow: inset 0 0 0 1px #1d4ed8, 0 6px 14px rgba(37, 99, 235, 0.22);
}

.games-page {
  padding-bottom: 24px;
}

.games-intro-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.games-intro-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: #f5ede0;
  color: #9b6a16;
  font-weight: 900;
}

.games-intro-card h2 {
  margin: 0;
  color: #1a2634;
  font-size: 18px;
}

.games-intro-card p {
  margin: 4px 0 0;
  color: #6b7a89;
  font-size: 13px;
  line-height: 1.55;
}

.games-list-card,
.gold-ball-panel {
  margin-top: 12px;
}

.game-mini-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  background: #fbfcfd;
}

.game-mini-row > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff7c2, #d4a853 58%, #9b6a16);
  color: #1a2634;
  font-weight: 900;
}

.game-mini-row strong,
.game-mini-row em,
.game-mini-row b {
  display: block;
}

.game-mini-row strong {
  color: #1a2634;
  font-size: 15px;
}

.game-mini-row em {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.game-mini-row b {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  white-space: nowrap;
}

.gold-ball-stage {
  position: relative;
  height: min(88vw, 390px);
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 44%, rgba(215, 168, 83, 0.2), transparent 25%),
    radial-gradient(circle at 50% 50%, #1c1712, #080807 68%),
    #080807;
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.72), 0 16px 28px rgba(26, 38, 52, 0.12);
}

.gold-ball-stage::after {
  position: absolute;
  right: 14%;
  bottom: 12%;
  left: 14%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.56), transparent 70%);
  content: "";
}

.gold-stage-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.gold-ball {
  position: absolute;
  z-index: var(--ball-depth);
  top: var(--y);
  left: var(--x);
  width: var(--ball-size);
  height: var(--ball-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--ball-scale));
  transition:
    top 0.66s cubic-bezier(0.2, 0.8, 0.2, 1),
    left 0.66s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.18s ease;
}

.gold-ball[disabled] {
  cursor: default;
  opacity: 1;
}

.gold-ball:not([disabled]):active {
  transform: translate(-50%, -50%) scale(calc(var(--ball-scale) * 0.94));
}

.gold-ball-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.36s ease;
}

.gold-ball.open .gold-ball-inner {
  transform: rotateY(180deg);
}

.gold-ball-front,
.gold-ball-back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  backface-visibility: hidden;
}

.gold-ball-front {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.96) 0 13%, transparent 14%),
    radial-gradient(circle at 52% 52%, #fdfdfb 0 56%, #d9d6cf 57% 100%);
  box-shadow: inset -10px -12px 14px rgba(0, 0, 0, 0.32), inset 8px 7px 10px rgba(255, 255, 255, 0.85), 0 12px 18px rgba(0, 0, 0, 0.34);
}

.gold-ball-front::before {
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: #1b1b1b;
  box-shadow:
    -0.9em 0.18em 0 -0.15em #1b1b1b,
    0.95em 0.1em 0 -0.16em #1b1b1b,
    -0.12em -0.92em 0 -0.18em #1b1b1b,
    0.06em 0.96em 0 -0.17em #1b1b1b;
  content: "";
}

.gold-ball-back {
  transform: rotateY(180deg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(145deg, #f8fafc, #d9d6cf);
  color: #5e6670;
  font-size: 22px;
  font-weight: 900;
  box-shadow: inset -10px -12px 14px rgba(0, 0, 0, 0.26), 0 12px 18px rgba(0, 0, 0, 0.34);
}

.gold-ball.open.gold-holder .gold-ball-back {
  border-color: #e8c568;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.7), transparent 18%),
    radial-gradient(circle at 50% 50%, #f7d36b, #d4a853 56%, #9b6a16);
  color: #1a2634;
}

.gold-ball.peek-target .gold-ball-inner {
  outline: 4px solid rgba(212, 168, 83, 0.34);
  outline-offset: 6px;
  border-radius: 50%;
}

.gold-ball.selected .gold-ball-inner {
  outline: 3px solid rgba(212, 168, 83, 0.34);
  outline-offset: 5px;
  border-radius: 50%;
}

.gold-center {
  position: absolute;
  z-index: 8;
  top: 52%;
  left: 50%;
  width: min(34vw, 144px);
  height: min(34vw, 144px);
  opacity: 0.2;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
}

.gold-center.show-gold {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gold-center.hide-shell {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}

.gold-glow {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: rgba(245, 203, 95, 0.5);
  filter: blur(18px);
}

.gold-core {
  position: absolute;
  z-index: 3;
  inset: 23%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.78), transparent 16%),
    linear-gradient(135deg, transparent 0 20%, rgba(255, 238, 144, 0.54) 21% 34%, transparent 35% 100%),
    radial-gradient(circle at 50% 52%, #ffd95a, #d9a438 58%, #9d6715);
  box-shadow: inset -8px -10px 18px rgba(116, 69, 8, 0.5), inset 7px 6px 10px rgba(255, 255, 255, 0.5), 0 12px 28px rgba(231, 177, 66, 0.46);
}

.gold-core::before {
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(143, 91, 18, 0.34);
  clip-path: polygon(50% 0, 92% 32%, 76% 85%, 24% 85%, 8% 32%);
  content: "";
}

.gold-shell {
  position: absolute;
  z-index: 4;
  top: 13%;
  width: 45%;
  height: 39%;
  overflow: hidden;
  border-radius: 80% 80% 28% 28%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 55% 55%, #f6f3ed 0 58%, #c9c3ba 59% 100%);
  box-shadow: inset -8px -8px 12px rgba(0, 0, 0, 0.26), inset 4px 4px 8px rgba(255, 255, 255, 0.7), 0 8px 14px rgba(0, 0, 0, 0.32);
}

.gold-shell::after {
  position: absolute;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow: 1.1em 0.2em 0 -0.14em #1a1a1a, 0.36em 1.08em 0 -0.16em #1a1a1a;
  content: "";
}

.gold-shell.left {
  left: 5%;
  transform: rotate(-9deg);
}

.gold-shell.right {
  right: 5%;
  transform: scaleX(-1) rotate(-9deg);
}

.gold-shell.left::after {
  top: 36%;
  left: 45%;
}

.gold-shell.right::after {
  top: 36%;
  left: 45%;
}

.gold-ball-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #536273;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.gold-ball-status.success {
  color: #15803d;
}

.gold-ball-status.miss {
  color: #9a6412;
}

.gold-ball-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

.gold-ball-controls button {
  min-width: 116px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #1a2634;
  border-radius: 10px;
  background: #1a2634;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.gold-ball-controls button.ghost {
  border-color: #dbe3ea;
  background: #fff;
  color: #1a2634;
}

.gold-ball-controls button[disabled] {
  border-color: #e8ecf0;
  background: #f6f8fa;
  color: #8a9aaa;
}

.games-disclaimer,
.games-footer-note {
  color: #9aa6b2;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.games-disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef2f5;
}

.games-footer-note {
  margin: 16px 16px 0;
}

@media (max-width: 360px) {
  .gold-ball {
    width: calc(var(--ball-size) * 0.86);
    height: calc(var(--ball-size) * 0.86);
  }

  .game-mini-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .game-mini-row b {
    grid-column: 2;
    justify-self: start;
  }
}

.store-home-page {
  background: #f5f7fa;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}

.store-home-page .topbar {
  margin-bottom: 0;
}

.store-home-brief-v2 {
  margin-top: 14px;
  border-left: 4px solid #d4a853;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.store-home-brief-v2 strong {
  color: #1a2634;
  font-weight: 800;
}

.store-home-main-v2 {
  display: grid;
  gap: 14px;
  padding: 14px 0 24px;
}

.store-home-hero-v2 {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  color: #1a2634;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.store-home-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #1a2634;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.store-home-avatar.gold-bg {
  background: #d4a853;
  color: #1a2634;
}

.store-home-hero-v2 > div {
  flex: 1;
  min-width: 0;
}

.store-home-hero-v2 strong,
.store-home-hero-v2 em,
.store-home-hero-v2 p {
  display: block;
  min-width: 0;
}

.store-home-hero-v2 strong {
  overflow: hidden;
  color: #1a2634;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-home-hero-v2 em {
  overflow: hidden;
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-home-hero-v2 p {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  color: #5a6a7a;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-home-status {
  flex: 0 0 auto;
  border-radius: 20px;
  padding: 4px 12px;
  background: #e6f0ea;
  color: #2d7d5a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.store-home-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 0 4px;
}

.store-home-section-title strong {
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.store-home-section-title span {
  color: #d4a853;
  font-weight: 700;
}

.store-home-service-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.store-home-service-card-v2 {
  display: block;
  min-height: 128px;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 16px 14px 14px;
  background: #fff;
  color: #1a2634;
  text-align: left;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-home-service-card-v2:active {
  border-color: #d4a853;
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.08);
}

.store-home-service-icon {
  display: inline-block;
  min-width: 0;
  height: auto;
  border-radius: 6px;
  padding: 2px 12px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.store-home-service-card-v2.red .store-home-service-icon {
  background: #fae8e6;
  color: #c0392b;
}

.store-home-service-card-v2.blue .store-home-service-icon {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-home-service-card-v2.green .store-home-service-icon {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-home-service-card-v2.gray .store-home-service-icon {
  background: #f0f2f4;
  color: #6a7a8a;
}

.store-home-service-card-v2 strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-home-service-card-v2 em {
  display: block;
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.store-home-service-card-v2 small {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  color: #aab4c0;
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.store-home-service-card-v2 small b {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-weight: 500;
}

.store-home-board-list-v2 {
  display: grid;
  gap: 8px;
}

.store-home-board-row-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: #1a2634;
  text-align: left;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s;
}

.store-home-board-row-v2:active {
  border-color: #d4a853;
}

.store-home-board-row-v2 span {
  flex: 0 0 auto;
  display: inline-block;
  min-width: 0;
  height: auto;
  border-radius: 6px;
  padding: 2px 12px;
  background: var(--gold-weak);
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.store-home-board-row-v2.blue span {
  background: #e6edf6;
  color: #2a6b9a;
}

.store-home-board-row-v2.green span {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-home-board-row-v2 div {
  flex: 1;
  min-width: 0;
}

.store-home-board-row-v2 strong {
  display: block;
  overflow: hidden;
  color: #1a2634;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-home-board-row-v2 em {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-home-board-row-v2 small {
  flex: 0 0 auto;
  color: #8a9aaa;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.store-home-board-row-v2 small.new {
  color: #d4a853;
}

.store-home-board-row-v2 small.done {
  color: #2d7d5a;
}

.store-home-footer-note {
  border-top: 1px solid #e8ecf0;
  margin-top: 4px;
  padding-top: 14px;
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2px;
  line-height: 1.6;
}

@media (max-width: 360px) {
  .store-home-service-card-v2 {
    min-height: 128px;
    padding: 12px 10px 10px;
  }

  .store-home-board-row-v2 {
    padding: 10px;
  }

  .store-home-hero-v2 {
    flex-wrap: wrap;
    padding: 14px;
  }

  .store-home-avatar {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .store-home-hero-v2 strong {
    font-size: 16px;
  }
}

.owner-workbench-page {
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}

.owner-workbench-store-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.owner-workbench-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.owner-workbench-store-info {
  min-width: 0;
}

.owner-workbench-store-info strong,
.owner-workbench-store-info em {
  display: block;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-workbench-store-info strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.owner-workbench-store-info em {
  margin-top: 1px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
}

.owner-workbench-status {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-weak);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.owner-workbench-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 8px;
  padding: 2px 0 4px;
}

.owner-workbench-section-head strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.owner-workbench-section-head span {
  color: var(--gold);
  font-weight: 800;
}

.owner-workbench-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.owner-workbench-action-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: var(--text);
  text-align: left;
}

.owner-workbench-action-card span {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-width: 34px;
  height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
}

.owner-workbench-action-card.green span,
.owner-workbench-row.green > span {
  background: var(--green-weak);
  color: var(--green);
}

.owner-workbench-action-card.blue span,
.owner-workbench-row.blue > span {
  background: var(--blue-weak);
  color: var(--blue);
}

.owner-workbench-action-card.purple span {
  background: #ede6f0;
  color: var(--purple);
}

.owner-workbench-action-card.amber span,
.owner-workbench-row.gold > span {
  background: var(--gold-weak);
  color: var(--amber);
}

.owner-workbench-row.gray > span {
  background: #f0f2f4;
  color: #6a7a8a;
}

.owner-workbench-action-card strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.owner-workbench-action-card em {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.owner-workbench-action-card i {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.owner-workbench-row-list {
  display: grid;
  gap: 8px;
}

.owner-workbench-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  color: var(--text);
  text-align: left;
}

.owner-workbench-row > span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f0f4f8;
  color: #4a6a8a;
  font-size: 12px;
  font-weight: 900;
}

.owner-workbench-row div {
  min-width: 0;
}

.owner-workbench-row strong,
.owner-workbench-row em {
  display: block;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-workbench-row strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.owner-workbench-row em {
  margin-top: 1px;
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.owner-workbench-row i,
.owner-workbench-row b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.owner-workbench-row i {
  background: #ef4444;
}

.owner-workbench-row b {
  background: transparent;
  color: #aab4c0;
  font-size: 16px;
  font-weight: 300;
}

.owner-workbench-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #aab4c0;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

@media (max-width: 380px) {
  .owner-workbench-store-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
  }

  .owner-workbench-avatar {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .owner-workbench-action-grid {
    gap: 8px;
  }

  .owner-workbench-action-card {
    padding: 12px 10px 10px;
  }

  .owner-workbench-action-card strong {
    font-size: 14px;
  }

  .owner-workbench-row {
    gap: 10px;
    padding: 12px;
  }

  .owner-workbench-row > span {
    min-width: 30px;
    padding: 0 9px;
  }
}

/* 店铺电脑模式和扫码临时登录。 */
.app-shell:has(.store-computer-mode),
body:has(.store-computer-mode) .app-shell {
  width: min(100%, 1180px);
  max-width: 1180px;
}

.store-computer-access {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  background: #fff;
}

.store-computer-access.idle,
.store-computer-access.confirmed {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
}

.store-computer-access-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  border-radius: 6px;
  background: #e6edf6;
  color: #2a6b9a;
  font-size: 13px;
  font-weight: 800;
}

.store-computer-access.confirmed .store-computer-access-icon {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-computer-access strong,
.store-computer-access em {
  display: block;
}

.store-computer-access strong {
  color: #1a2634;
  font-size: 14px;
}

.store-computer-access em {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 11px;
  font-style: normal;
}

.store-computer-access button,
.store-computer-access a {
  min-height: 34px;
  border-radius: 7px;
  padding: 0 12px;
  background: #1a2634;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.store-computer-access.pending {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
}

.store-computer-access-copy {
  text-align: center;
}

.store-access-qr {
  --qr-size: 37;
  --qr-module: 4px;
  display: grid;
  grid-template-columns: repeat(var(--qr-size), var(--qr-module));
  grid-auto-rows: var(--qr-module);
  border: 16px solid #fff;
  background: #fff;
  box-shadow: 0 0 0 1px #e8ecf0;
}

.store-access-qr i {
  width: var(--qr-module);
  height: var(--qr-module);
  background: #fff;
}

.store-access-qr i.on {
  background: #111827;
}

.store-computer-access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.store-computer-access-actions a,
.store-computer-access-actions button {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: #1a2634;
  box-shadow: inset 0 0 0 1px #e8ecf0;
}

.store-visitor-access {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8ecf0;
  border-left: 4px solid #8da2b5;
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
}

.store-posts-page > .store-visitor-access {
  margin-top: 12px;
}

.store-visitor-access.confirmed,
.store-visitor-access.account {
  border-left-color: #318765;
}

.store-visitor-access.pending {
  grid-template-columns: 1fr;
  justify-items: center;
  border-left-color: #d4a853;
  padding: 18px;
}

.store-visitor-access-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-visitor-access-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  border-radius: 6px;
  background: #e6edf6;
  color: #2a6b9a;
  font-size: 13px;
  font-weight: 800;
}

.store-visitor-access.confirmed .store-visitor-access-icon,
.store-visitor-access.account .store-visitor-access-icon {
  background: #e6f0ea;
  color: #2d7d5a;
}

.store-visitor-access strong,
.store-visitor-access em {
  display: block;
}

.store-visitor-access strong {
  color: #1a2634;
  font-size: 14px;
}

.store-visitor-access em {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 11px;
  font-style: normal;
}

.store-visitor-access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.store-visitor-access button {
  min-height: 34px;
  border-radius: 7px;
  padding: 0 12px;
  background: #1a2634;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.store-visitor-access button.ghost {
  border: 1px solid #d8e0e6;
  background: #fff;
  color: #657484;
}

.store-visitor-access button.danger {
  border: 1px solid #edc1bc;
  background: #fff;
  color: #b83224;
}

.store-scan-page,
.store-users-page,
.store-sessions-page {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.store-scan-confirm-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 28px 22px;
  background: #fff;
  text-align: center;
}

.store-scan-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #d4a853;
  color: #1a2634;
  font-size: 20px;
  font-weight: 900;
}

.store-scan-confirm-card strong {
  color: #1a2634;
  font-size: 19px;
}

.store-scan-confirm-card em {
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
}

.store-scan-confirm-card p {
  max-width: 420px;
  margin: 0;
  color: #5a6a7a;
  font-size: 13px;
  line-height: 1.7;
}

.store-scan-confirm-card button {
  width: min(100%, 320px);
  min-height: 44px;
  margin-top: 6px;
  border-radius: 8px;
  background: #1a2634;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* 店铺用户和分组。 */
.store-users-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.store-users-summary div {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 13px 8px;
  background: #fff;
  text-align: center;
}

.store-users-summary strong,
.store-users-summary span {
  display: block;
}

.store-users-summary strong {
  color: #1a2634;
  font-size: 21px;
}

.store-users-summary span {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 11px;
}

.store-users-section-head {
  margin-top: 16px;
  padding: 0 2px 7px;
  color: #1a2634;
  font-size: 15px;
  font-weight: 800;
}

.store-users-section-head b {
  color: #d4a853;
}

.store-group-panel,
.store-user-row {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.store-group-create {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
}

.store-group-create input,
.store-user-row input,
.store-user-row select {
  min-width: 0;
  height: 40px;
  border: 1px solid #e8ecf0;
  border-radius: 7px;
  padding: 0 10px;
  background: #f8fafc;
  color: #1a2634;
}

.store-group-create button,
.store-user-row-actions > button {
  border-radius: 7px;
  background: #1a2634;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.store-group-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.store-group-manage-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto 54px 54px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #eef1f4;
  padding-top: 8px;
}

.store-group-manage-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.store-group-manage-row input {
  min-width: 0;
  height: 36px;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 0 9px;
  background: #f8fafc;
  color: #1a2634;
}

.store-group-manage-row em {
  color: #8a9aaa;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.store-group-manage-row button {
  height: 34px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.store-group-manage-row button.save {
  background: #1a2634;
  color: #fff;
}

.store-group-manage-row button.delete {
  border: 1px solid #efc7c2;
  background: #fff;
  color: #b83224;
}

.store-group-list p {
  margin: 0;
  color: #8a9aaa;
  font-size: 12px;
}

.store-user-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, .6fr) minmax(110px, .5fr) 62px 62px;
  gap: 8px;
  margin-bottom: 10px;
}

.store-user-filters input,
.store-user-filters select,
.store-user-filters button {
  min-width: 0;
  height: 38px;
  border-radius: 7px;
}

.store-user-filters input,
.store-user-filters select {
  border: 1px solid #e8ecf0;
  padding: 0 10px;
  background: #fff;
  color: #1a2634;
}

.store-user-filters button {
  background: #1a2634;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.store-user-filters button.ghost {
  border: 1px solid #d7dde3;
  background: #fff;
  color: #657484;
}

.store-user-batch-bar,
.store-user-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.store-user-batch-bar label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.store-user-batch-bar select { min-width: 130px; flex: 1; }
.store-user-batch-bar button,
.store-user-pager button { min-height: 38px; }
.store-user-pager { justify-content: center; }
.store-user-pager span { color: #475569; font-size: 13px; }
.store-user-select { display: inline-flex; align-items: center; gap: 8px; }
.store-user-select > input { width: 18px; height: 18px; accent-color: var(--brand, #2563eb); }

.store-post-segments {
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: none;
}
.store-post-segments::-webkit-scrollbar { display: none; }
.store-post-segments > button { flex: 0 0 auto; min-width: 82px; }
.store-post-history { margin-top: 16px; padding: 14px; border-radius: 14px; background: #f8fafc; }
.store-post-history h3 { margin: 0 0 10px; font-size: 15px; color: #0f172a; }
.store-post-history article { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 10px 0; border-top: 1px solid #e2e8f0; }
.store-post-history article:first-of-type { border-top: 0; }
.store-post-history article strong { color: #1e3a8a; font-size: 13px; }
.store-post-history article span { color: #64748b; font-size: 12px; }
.store-post-history article p { grid-column: 1 / -1; margin: 0; color: #475569; font-size: 13px; }

.store-user-list {
  display: grid;
  gap: 9px;
}

.store-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, .8fr) minmax(140px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.store-user-row.blocked {
  border-color: #f2c7c2;
  background: #fffafa;
}

.store-user-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.store-user-identity > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: #e6edf6;
  color: #2a6b9a;
  font-weight: 800;
}

.store-user-identity div {
  min-width: 0;
}

.store-user-identity strong,
.store-user-identity em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-user-identity strong {
  color: #1a2634;
  font-size: 14px;
}

.store-user-identity em,
.store-user-row > label {
  color: #8a9aaa;
  font-size: 11px;
  font-style: normal;
}

.store-user-row > label {
  display: grid;
  gap: 4px;
}

.store-user-group-field {
  display: grid;
  gap: 5px;
  color: #8a9aaa;
  font-size: 11px;
}

.store-user-group-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 40px;
  align-content: center;
}

.store-user-group-options label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e3e9ef;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f8fafc;
  color: #536475;
  font-size: 11px;
}

.store-user-row .store-user-group-options input {
  width: 15px;
  height: 15px;
  padding: 0;
  accent-color: #2563eb;
}

.store-user-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.store-user-row-actions > button {
  min-width: 60px;
  height: 38px;
}

.store-user-block {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #c0392b;
  font-size: 11px;
  white-space: nowrap;
}

.store-user-block input {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: #c0392b;
}

.store-post-login-hint-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 29, 39, .48);
  backdrop-filter: blur(3px);
}

.store-post-login-hint {
  width: min(100%, 380px);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 20px;
  padding: 24px 22px 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 29, 39, .24);
  text-align: center;
}

.store-post-login-hint-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #edf4ff;
  color: #2563eb;
  font-size: 21px;
  font-weight: 900;
}

.store-post-login-hint h2 {
  margin: 0;
  color: #1a2634;
  font-size: 20px;
}

.store-post-login-hint p {
  margin: 10px 0 20px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.store-post-login-hint button {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.store-post-login-hint button.primary {
  background: #1a2634;
  color: #fff;
}

.store-post-login-hint button.plain {
  margin-top: 4px;
  background: transparent;
  color: #718092;
}

/* 店铺公共电脑临时会话。 */
.store-session-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.store-session-summary div {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  padding: 13px 8px;
  background: #fff;
  text-align: center;
}

.store-session-summary strong,
.store-session-summary span {
  display: block;
}

.store-session-summary strong {
  color: #1a2634;
  font-size: 21px;
}

.store-session-summary span {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 11px;
}

.store-session-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 16px 0 10px;
}

.store-session-tabs button {
  min-width: 0;
  min-height: 36px;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  background: #fff;
  color: #6c7b8a;
  font-size: 12px;
  font-weight: 700;
}

.store-session-tabs button.active {
  border-color: #1a2634;
  background: #1a2634;
  color: #fff;
}

.store-session-list {
  display: grid;
  gap: 9px;
}

.store-session-row {
  position: relative;
  border: 1px solid #e8ecf0;
  border-left: 4px solid #aab4bd;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.store-session-row.pending {
  border-left-color: #d4a853;
}

.store-session-row.confirmed {
  border-left-color: #318765;
}

.store-session-row.expired,
.store-session-row.closed {
  background: #f8fafc;
}

.store-session-row-head,
.store-session-user {
  display: flex;
  align-items: center;
}

.store-session-row-head {
  justify-content: space-between;
  gap: 10px;
}

.store-session-user {
  min-width: 0;
  gap: 10px;
}

.store-session-user > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: #e6edf6;
  color: #2a6b9a;
  font-weight: 800;
}

.store-session-user div {
  min-width: 0;
}

.store-session-user strong,
.store-session-user em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-session-user strong {
  color: #1a2634;
  font-size: 14px;
}

.store-session-user em {
  margin-top: 2px;
  color: #8a9aaa;
  font-size: 11px;
  font-style: normal;
}

.store-session-row-head > b {
  flex: 0 0 auto;
  border-radius: 5px;
  padding: 4px 7px;
  background: #eef1f4;
  color: #6c7b8a;
  font-size: 11px;
}

.store-session-row.confirmed .store-session-row-head > b {
  background: #e4f2eb;
  color: #237454;
}

.store-session-row.pending .store-session-row-head > b {
  background: #f8edda;
  color: #8c6420;
}

.store-session-row dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid #eef1f4;
}

.store-session-row dl div {
  min-width: 0;
}

.store-session-row dt,
.store-session-row dd {
  margin: 0;
  font-size: 11px;
}

.store-session-row dt {
  color: #9aa6b2;
}

.store-session-row dd {
  margin-top: 2px;
  color: #344454;
  font-weight: 700;
}

.store-session-close-btn {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  border: 1px solid #e8b8b2;
  border-radius: 7px;
  background: #fff;
  color: #b83224;
  font-size: 12px;
  font-weight: 800;
}

/* 动态可见范围。 */
.post-audience-group {
  display: none;
}

.post-audience-group.active {
  display: grid;
}

.post-audience-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.post-audience-head > label {
  min-width: 0;
}

.post-audience-head > label b {
  margin-left: 5px;
  color: #8a9aaa;
  font-size: 11px;
  font-weight: 700;
}

.post-audience-head > div {
  display: flex;
  gap: 6px;
}

.post-audience-head button {
  min-width: 44px;
  height: 28px;
  border: 1px solid #d9e0e6;
  border-radius: 5px;
  background: #fff;
  color: #657484;
  font-size: 11px;
}

.post-audience-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.post-audience-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 7px 9px;
  background: #f8fafc;
  color: #1a2634;
  font-size: 12px;
}

.post-audience-options.users {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-audience-options input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  accent-color: #d4a853;
}

.post-audience-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.post-audience-copy strong,
.post-audience-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-audience-copy strong {
  color: #1a2634;
  font-size: 12px;
}

.post-audience-copy em {
  color: #8a9aaa;
  font-size: 10px;
  font-style: normal;
}

.post-audience-options p {
  margin: 0;
  color: #8a9aaa;
  font-size: 12px;
}

.post-audience-options p button {
  padding: 0;
  background: transparent;
  color: #2a6b9a;
  font-size: inherit;
  font-weight: 800;
}

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

.post-time-grid label {
  display: grid;
  gap: 5px;
  color: #8a9aaa;
  font-size: 12px;
}

.post-time-grid input {
  width: 100%;
  height: 42px;
  border: 1px solid #e8ecf0;
  border-radius: 7px;
  padding: 0 9px;
  background: #f8fafc;
}

.store-post-visibility {
  border-radius: 6px;
  padding: 3px 8px;
  background: #e6edf6;
  color: #2a6b9a;
  font-size: 11px;
  font-weight: 800;
}

@media (min-width: 760px) {
  .store-computer-mode .store-home-service-grid-v2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .store-computer-mode .store-home-service-card-v2 {
    min-height: 142px;
  }
}

@media (max-width: 720px) {
  .store-visitor-access {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .store-visitor-access > .store-visitor-access-actions,
  .store-visitor-access > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .store-visitor-access-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .store-user-filters input {
    grid-column: 1 / -1;
  }

  .store-user-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .store-user-row-actions {
    justify-content: space-between;
  }

  .post-time-grid {
    grid-template-columns: 1fr;
  }

  .post-audience-options,
  .post-audience-options.users {
    grid-template-columns: 1fr;
  }
}

/* Web 端双布局：手机保留触控页面，电脑使用独立导航和宽屏工作区。 */
.desktop-global-header {
  display: none;
}

.home-data-grid {
  display: grid;
  gap: 12px;
}

.home-data-grid .home-data-card {
  margin-top: 0;
}

.app-shell.desktop-shell {
  --desktop-content-gutter: 48px;
  --desktop-content-max: 1280px;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding-bottom: 0;
  background: #f3f6f8;
  box-shadow: none;
}

.desktop-shell .desktop-global-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: block;
  min-height: 64px;
  border-bottom: 1px solid #243241;
  background: #1a2634;
  color: #fff;
}

.desktop-header-inner {
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  width: min(calc(100% - var(--desktop-content-gutter)), var(--desktop-content-max));
  min-height: 64px;
  margin: 0 auto;
}

.desktop-brand {
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}

.desktop-brand > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #d4a853;
  color: #1a2634;
  font-size: 15px;
  font-weight: 900;
}

.desktop-brand strong,
.desktop-brand em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-brand strong {
  align-self: end;
  font-size: 16px;
  line-height: 1.25;
}

.desktop-brand em {
  align-self: start;
  color: #9eacba;
  font-size: 10px;
  font-style: normal;
  line-height: 1.25;
}

.desktop-primary-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  height: 64px;
}

.desktop-nav-link {
  position: relative;
  min-width: 76px;
  padding: 0 14px;
  background: transparent;
  color: #b9c3cd;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav-link:hover,
.desktop-nav-link.active {
  color: #fff;
}

.desktop-nav-link.active::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  background: #d4a853;
  content: "";
}

.desktop-account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.desktop-account-menu {
  position: relative;
  padding: 8px 0;
}

.desktop-account-actions button {
  min-height: 34px;
  border-radius: 6px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-account-entry {
  max-width: 120px;
  overflow: hidden;
  background: #d4a853;
  color: #1a2634;
  text-overflow: ellipsis;
}

.desktop-account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 108px;
}

.desktop-account-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.desktop-account-menu:hover .desktop-account-arrow,
.desktop-account-menu:focus-within .desktop-account-arrow,
.desktop-account-menu.open .desktop-account-arrow {
  transform: rotate(225deg) translate(-1px, -1px);
}

.desktop-account-popover {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  z-index: 120;
  display: none;
  width: 266px;
  border: 1px solid #dce3e9;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: #1a2634;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

.desktop-account-menu:hover .desktop-account-popover,
.desktop-account-menu:focus-within .desktop-account-popover,
.desktop-account-menu.open .desktop-account-popover {
  display: block;
}

.desktop-account-phone-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px !important;
  padding: 0 10px !important;
  background: #f6f8fa;
  color: #1a2634;
  text-align: left;
}

.desktop-account-phone-login:hover {
  background: #edf1f4;
}

.desktop-account-phone-login i {
  color: #8a9aaa;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
}

.desktop-account-divider {
  height: 1px;
  margin: 10px 2px 12px;
  background: #e8ecf0;
}

.desktop-account-scan {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 2px 0 5px;
}

.desktop-account-scan > strong {
  font-size: 13px;
  font-weight: 800;
}

.desktop-account-scan .store-access-qr {
  --qr-module: 5px;
  border-width: 20px;
}

.desktop-account-qr-placeholder {
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  border-radius: 4px !important;
  padding: 12px !important;
  background: #f6f8fa;
  color: #64748b;
  box-shadow: inset 0 0 0 1px #dce3e9;
}

.desktop-account-qr-disabled {
  padding: 20px 12px;
  color: #8a9aaa;
  font-size: 12px;
  text-align: center;
}

.desktop-account-scan-user {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
  padding: 12px 4px 4px;
}

.desktop-account-scan-user > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d4a853;
  color: #1a2634;
  font-size: 17px;
  font-weight: 900;
}

.desktop-account-scan-user small {
  color: #8a9aaa;
}

.desktop-account-scan-user button {
  margin-top: 5px;
  background: #f6f8fa;
  color: #475569;
  box-shadow: inset 0 0 0 1px #dce3e9;
}


.desktop-shell .page {
  width: min(calc(100% - var(--desktop-content-gutter)), var(--desktop-content-max));
  max-width: none;
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 24px 0 64px;
  background: transparent;
}

.desktop-shell .topbar,
.desktop-shell .topbar.gradient-topbar,
.desktop-shell .gradient-topbar {
  position: static;
  min-height: 54px;
  margin: 0 0 20px;
  border-bottom: 1px solid #dce3e9;
  padding: 0 0 16px;
  background: transparent;
  color: #1a2634;
}

.desktop-shell .topbar .icon-btn,
.desktop-shell .topbar .icon-btn[data-action="back"] {
  width: 38px;
  height: 38px;
  min-height: 38px;
  margin-left: 0;
  border-radius: 6px;
  background: #fff;
  color: #1a2634;
  box-shadow: inset 0 0 0 1px #dce3e9;
}

.desktop-shell .topbar-title h1,
.desktop-shell .topbar-title h1::first-letter {
  color: #1a2634;
  font-size: 20px;
  letter-spacing: 0;
}

.desktop-shell .topbar-title p {
  color: #7b8b9a;
  font-size: 12px;
}

.desktop-shell .topbar-right .title-action,
.desktop-shell .topbar .title-action {
  background: #fff;
  color: #6e5520;
  box-shadow: inset 0 0 0 1px #dbc99f;
}

.desktop-shell .home-header {
  display: none;
}

.desktop-shell .home-feature-title {
  margin-top: 0;
}

.desktop-shell .section-title {
  margin-top: 22px;
}

.desktop-shell .home-feature-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.desktop-shell .home-feature-grid .feature-card {
  min-height: 150px;
  border-radius: 8px;
  padding: 16px;
}

.desktop-shell .home-data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.desktop-shell .home-data-card {
  min-height: 178px;
  border-radius: 8px;
  padding: 18px;
}

.desktop-shell .tool-row-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.desktop-shell .tool-panel .tool-row {
  min-height: 66px;
  border-radius: 8px;
}

.desktop-shell .footer-note {
  margin-right: 0;
  margin-left: 0;
  background: transparent;
}

.desktop-shell .store-home-main-v2 {
  display: grid;
  gap: 18px;
}

.desktop-shell .store-home-hero-v2,
.desktop-shell .store-computer-access,
.desktop-shell .store-home-service-card-v2,
.desktop-shell .store-home-board-row-v2 {
  border-radius: 8px;
}

.desktop-shell .store-home-hero-v2 {
  padding: 22px 24px;
}

.desktop-shell .store-home-service-grid-v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.desktop-shell .store-home-service-card-v2 {
  min-height: 142px;
  padding: 16px;
}

.desktop-shell .store-home-board-list-v2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.desktop-shell .sports-style-card {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 24px;
  border-radius: 8px;
  padding: 16px 18px;
}

.desktop-shell .sports-style-surface,
.desktop-shell .sports-section-title {
  width: min(100%, 1040px);
  margin-right: auto;
  margin-left: auto;
}

.desktop-shell .day-group.date-group,
.desktop-shell .match-summary-card,
.desktop-shell .detail-card,
.desktop-shell .selection-card {
  border-radius: 8px;
}

.desktop-shell .bottom-bar,
.desktop-shell .selection-bottom-bar,
.desktop-shell .number-bottom-bar,
.desktop-shell .image-bottom-bar {
  bottom: 18px;
  width: min(calc(100% - 48px), 760px);
  border: 1px solid #dce3e9;
  border-radius: 8px;
}

.desktop-shell .lottery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.desktop-shell .lottery-list > * {
  margin-top: 0;
}

.desktop-shell .lottery-inline-section-head {
  grid-column: 1 / -1;
}

.desktop-shell .football-home-league-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.desktop-shell .football-home-match-list,
.desktop-shell .store-post-row-list,
.desktop-shell .store-post-home-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.desktop-shell .analysis-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.desktop-shell .analysis-number-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.desktop-shell .number-selector-card,
.desktop-shell .number-ticket-list,
.desktop-shell .random-ten-list,
.desktop-shell .football-match-detail-main,
.desktop-shell .football-league-detail-main {
  width: min(100%, 1040px);
  margin-right: auto;
  margin-left: auto;
}

.desktop-shell .random-ten-stage,
.desktop-shell .random-ten-list {
  width: max-content;
  max-width: 100%;
  margin: 0;
}

.desktop-shell .random-ten-row {
  grid-template-columns: 28px max-content;
}

.desktop-shell .random-ten-row .balls {
  width: max-content;
}

.desktop-shell .number-pick-page.with-bottom {
  padding-bottom: 64px;
}

.desktop-shell .number-profile-strip {
  margin-top: 0;
  padding: 2px 2px 16px;
  border-bottom: 1px solid #dce3e9;
}

.desktop-shell .number-pick-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.desktop-shell .number-pick-builder,
.desktop-shell .number-pick-summary {
  display: grid;
  align-content: start;
  gap: 14px;
}

.desktop-shell .number-pick-summary {
  position: sticky;
  top: 18px;
}

.desktop-shell .number-pick-workspace .android-card,
.desktop-shell .number-pick-workspace .number-selector-card,
.desktop-shell .number-pick-workspace .number-ticket-list {
  width: 100%;
  margin: 0;
}

.desktop-shell .number-switch-card {
  padding: 8px;
}

.desktop-shell .number-switch-card .number-segment {
  max-width: 420px;
}

.desktop-shell .number-selector-card {
  padding: 20px;
}

.desktop-shell .number-grid {
  grid-template-columns: repeat(auto-fit, 44px);
  justify-content: start;
  gap: 10px;
}

.desktop-shell .number-ball {
  width: 44px;
  height: 44px;
  aspect-ratio: auto;
  font-size: 13px;
}

.desktop-shell .number-position-selector {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.desktop-shell .number-position-area {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.desktop-shell .number-position-area + .number-position-area {
  padding-top: 10px;
}

.desktop-shell .number-position-head {
  display: grid;
  justify-content: start;
  gap: 4px;
  margin-bottom: 0;
}

.desktop-shell .number-position-grid {
  grid-template-columns: repeat(10, minmax(28px, 1fr));
  gap: 7px;
  max-width: 470px;
}

.desktop-shell .number-ticket-card,
.desktop-shell .number-config-card {
  padding: 16px;
}

.desktop-shell .number-ticket-list {
  max-height: 48vh;
  overflow-y: auto;
  padding-right: 3px;
}

.desktop-shell .number-pick-summary .number-bottom-bar {
  position: static;
  left: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  min-height: 70px;
  transform: none;
  padding: 11px 12px;
  border: 1px solid #dce3e9;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.desktop-shell .owner-workbench-action-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.desktop-shell .owner-workbench-row-list,
.desktop-shell .mine-row-list,
.desktop-shell .help-row-list,
.desktop-shell .store-settings-row-list,
.desktop-shell .store-content-row-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.desktop-shell .owner-workbench-row + .owner-workbench-row,
.desktop-shell .mine-row-item + .mine-row-item,
.desktop-shell .store-settings-row + .store-settings-row {
  margin-top: 0;
}

.desktop-shell .store-material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.desktop-shell .store-material-grid.promotion .store-material-card:first-child {
  grid-column: auto;
  min-height: 128px;
}

.desktop-shell .store-share-material-grid .store-material-card {
  grid-column: 1 / -1;
}

.desktop-shell .store-material-grid.templates .store-material-card:last-child:nth-child(odd) {
  grid-column: auto;
  min-height: 128px;
}

.desktop-shell .store-data-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.desktop-shell .store-content-status-grid,
.desktop-shell .store-users-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.desktop-shell .message-row-list,
.desktop-shell .store-post-filter-grid,
.desktop-shell .post-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

html[data-czt-layout="desktop"] .sheet {
  width: min(100% - 48px, 620px);
  border-radius: 8px 8px 0 0;
}

@media (max-width: 1080px) {
  .app-shell.desktop-shell {
    --desktop-content-gutter: 32px;
    --desktop-content-max: 1040px;
  }

  .desktop-header-inner {
    gap: 14px;
  }

  .desktop-nav-link {
    min-width: 66px;
    padding: 0 9px;
    font-size: 12px;
  }

  .desktop-shell .home-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .desktop-shell .tool-row-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.store-profile-avatar-field {
  display: grid;
  gap: 10px;
}

.store-profile-avatar-field > span {
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.store-profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.store-profile-avatar-preview {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  background: #f4f6f8;
  color: #d9443f;
  font-size: 22px;
}

.store-profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-profile-avatar-upload {
  display: grid;
  gap: 5px;
  min-width: 0;
  cursor: pointer;
}

.store-profile-avatar-upload strong {
  width: fit-content;
  padding: 7px 14px;
  border: 1px solid #d9443f;
  border-radius: 6px;
  color: #d9443f;
  font-size: 13px;
}

.store-profile-avatar-upload small {
  color: #858b94;
  font-size: 12px;
  line-height: 1.5;
}

.store-profile-avatar-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.store-profile-avatar-field > input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #e4e6eb;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}

.store-avatar-image {
  position: relative;
  overflow: hidden;
}

.store-avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-avatar-image b {
  display: none;
}

/* 数字彩基本走势图：传统彩票宽表结构，按彩种动态生成号码区。 */
.ssq-basic-trend-page {
  padding-bottom: 32px;
}

.ssq-trend-panel,
.ssq-trend-help {
  overflow: hidden;
  border: 1px solid #dce3e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.lottery-trend-type-switch {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-bottom: 1px solid #dce3e9;
  background: #f8fafc;
}

.lottery-trend-type-switch button {
  min-width: 0;
  min-height: 38px;
  border-right: 1px solid #e2e8f0;
  background: transparent;
  color: #5e6c7b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.lottery-trend-type-switch button:last-child {
  border-right: 0;
}

.lottery-trend-type-switch button.active {
  background: #c0392b;
  color: #fff;
}

.lottery-trend-local-switch {
  display: grid;
  grid-template-columns: auto minmax(180px, 280px) 1fr;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 14px;
  border-bottom: 1px solid #dce3e9;
  background: #f8fafc;
}

.lottery-trend-local-switch label {
  color: #293746;
  font-size: 13px;
  font-weight: 900;
}

.lottery-trend-local-switch select {
  width: 100%;
  height: 34px;
  padding: 0 34px 0 10px;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  background: #fff;
  color: #243241;
  font-size: 13px;
  font-weight: 800;
}

.lottery-trend-local-switch span {
  color: #7b8b9a;
  font-size: 12px;
}

.ssq-trend-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.ssq-trend-heading h2 {
  margin: 0;
  color: #c0392b;
  font-size: 17px;
  font-weight: 900;
}

.ssq-trend-heading span {
  display: block;
  margin-top: 2px;
  color: #7b8b9a;
  font-size: 11px;
}

.ssq-trend-periods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.ssq-trend-periods button {
  min-height: 30px;
  border: 1px solid #d8e0e7;
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
  color: #536273;
  font-size: 12px;
  font-weight: 700;
}

.ssq-trend-periods button.active {
  border-color: #c0392b;
  background: #c0392b;
  color: #fff;
}

.ssq-trend-options {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 42px;
  padding: 7px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ssq-trend-options button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0;
  background: transparent;
  color: #526273;
  font-size: 12px;
  font-weight: 700;
}

.ssq-trend-options button > span {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #b9c5cf;
  border-radius: 3px;
  background: #fff;
  color: transparent;
  font-size: 11px;
}

.ssq-trend-options button.active > span {
  border-color: #2a6b9a;
  background: #2a6b9a;
  color: #fff;
}

.ssq-trend-loading {
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff8e8;
  color: #8a6722;
  font-size: 12px;
  text-align: center;
}

.ssq-trend-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-color: #b7c3ce #eef2f5;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.ssq-trend-stage {
  position: relative;
  width: 1350px;
  min-width: 1350px;
}

.ssq-trend-table {
  width: 1350px;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  color: #526273;
  font-size: 10px;
  line-height: 1;
}

.ssq-trend-table th,
.ssq-trend-table td {
  height: 28px;
  border-right: 1px solid #e4e9ee;
  border-bottom: 1px solid #e4e9ee;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.ssq-trend-table th:first-child,
.ssq-trend-table td:first-child {
  border-left: 0;
}

.ssq-trend-table .ssq-zone-head th {
  height: 30px;
  background: #efe4c7;
  color: #544a39;
  font-weight: 900;
}

.ssq-trend-table .ssq-zone-head .red-zone-title {
  color: #8c493f;
}

.ssq-trend-table .ssq-zone-head .blue-zone-title {
  background: #dce9f4;
  color: #2a608b;
}

.ssq-trend-table .ssq-zone-head .green-zone-title {
  background: #dfeee6;
  color: #2f7354;
}

.ssq-trend-table .ssq-zone-head .orange-zone-title {
  background: #f5e7d5;
  color: #9b5a1d;
}

.ssq-trend-table .ssq-zone-head .purple-zone-title {
  background: #e9e2f2;
  color: #6d4c8f;
}

.ssq-trend-table .ssq-zone-head .cyan-zone-title {
  background: #dceff1;
  color: #24717a;
}

.ssq-trend-table .ssq-zone-head .gold-zone-title {
  background: #f1e9cc;
  color: #80681f;
}

.ssq-trend-table .ssq-number-head th {
  height: 30px;
  background: #f6eedb;
  color: #6a5d46;
  font-weight: 800;
}

.ssq-trend-table .ssq-number-head th.blue-head {
  background: #edf4f9;
  color: #4c7698;
}

.ssq-trend-table .ssq-number-head th.green-head {
  background: #eef7f2;
  color: #4f8069;
}

.ssq-trend-table .ssq-number-head th.orange-head {
  background: #fbf2e7;
  color: #9a6a39;
}

.ssq-trend-table .ssq-number-head th.purple-head {
  background: #f5f0f8;
  color: #755c8d;
}

.ssq-trend-table .ssq-number-head th.cyan-head {
  background: #eef8f8;
  color: #4d7f83;
}

.ssq-trend-table .ssq-number-head th.gold-head {
  background: #faf6e8;
  color: #806f38;
}

.ssq-trend-table .zone-end {
  border-right: 2px solid #c7d0d8;
}

.ssq-trend-table .ssq-trend-draw-rows tr.odd td {
  background: #fff;
}

.ssq-trend-table .ssq-trend-draw-rows tr.even td {
  background: #f9fbfc;
}

.ssq-trend-table .sticky-issue,
.ssq-trend-table .sticky-week,
.ssq-trend-table .ssq-preselection-label,
.ssq-trend-table .ssq-stat-label {
  position: sticky;
  z-index: 8;
}

.ssq-trend-table .sticky-issue {
  left: 0;
  color: #465566;
  font-weight: 700;
}

.ssq-trend-table .sticky-week {
  left: 72px;
  border-right: 2px solid #c7d0d8;
  color: #5a6978;
  font-weight: 700;
}

.ssq-trend-table thead .sticky-issue,
.ssq-trend-table thead .sticky-week,
.ssq-trend-table .ssq-trend-repeat-head .sticky-issue,
.ssq-trend-table .ssq-trend-repeat-head .sticky-week {
  z-index: 12;
  background: #efe4c7;
}

.ssq-trend-table .ssq-trend-draw-rows tr.odd .sticky-issue,
.ssq-trend-table .ssq-trend-draw-rows tr.odd .sticky-week {
  background: #fff;
}

.ssq-trend-table .ssq-trend-draw-rows tr.even .sticky-issue,
.ssq-trend-table .ssq-trend-draw-rows tr.even .sticky-week {
  background: #f9fbfc;
}

.trend-number-cell {
  position: relative;
}

.trend-number-cell.red {
  color: #dc9a98;
}

.trend-number-cell.blue {
  color: #a6c3dd;
}

.trend-number-cell.green {
  color: #9ac4ae;
}

.trend-number-cell.orange {
  color: #d7b387;
}

.trend-number-cell.purple {
  color: #bca9ce;
}

.trend-number-cell.cyan {
  color: #9bc5c9;
}

.trend-number-cell.gold {
  color: #cabb82;
}

.trend-number-cell .omission {
  position: relative;
  z-index: 5;
  display: grid;
  height: 100%;
  place-items: center;
  color: inherit;
  font-size: 9px;
}

.trend-number-cell.omission-low {
  background: #fff8ee !important;
}

.trend-number-cell.omission-mid {
  background: #fcebdc !important;
}

.trend-number-cell.omission-high {
  background: #f7d8d5 !important;
}

.trend-number-cell.blue.omission-low {
  background: #f3f8fc !important;
}

.trend-number-cell.blue.omission-mid {
  background: #e5f0f8 !important;
}

.trend-number-cell.blue.omission-high {
  background: #d5e8f6 !important;
}

.trend-hit-ball {
  position: relative;
  z-index: 6;
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}

.trend-hit-ball.red {
  background: #c9343c;
}

.trend-hit-ball.blue {
  background: #2d74b8;
}

.trend-hit-ball.green {
  background: #2d7d5a;
}

.trend-hit-ball.orange {
  background: #c47a22;
}

.trend-hit-ball.purple {
  background: #7a4a8a;
}

.trend-hit-ball.cyan {
  background: #168b9a;
}

.trend-hit-ball.gold {
  background: #a68020;
}

.trend-hit-ball.mark-repeat {
  box-shadow: 0 0 0 2px #f2b84b, 0 1px 2px rgba(15, 23, 42, 0.18);
}

.trend-hit-ball.mark-consecutive::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  content: "连";
  display: grid;
  width: 10px;
  height: 10px;
  place-items: center;
  border-radius: 50%;
  background: #2d7d5a;
  color: #fff;
  font-size: 6px;
}

.trend-hit-ball.mark-neighbor::before {
  position: absolute;
  top: -3px;
  left: -3px;
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7a4a8a;
  box-shadow: 0 0 0 1px #fff;
}

.trend-metric {
  color: #435263;
  font-weight: 700;
}

.trend-metric.ratio.balanced {
  background: #dfbd73 !important;
  color: #fff;
}

.trend-metric.ratio.balanced.blue {
  background: #72a49f !important;
}

.ssq-trend-line {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

.ssq-table-divider td {
  height: 8px;
  background: #eef2f5;
}

.ssq-preselection-row td {
  background: #f8fafc;
}

.ssq-preselection-row.active td {
  background: #fff9eb;
}

.ssq-preselection-label {
  left: 0;
  width: 104px;
  border-right: 2px solid #c7d0d8 !important;
  background: #f8fafc !important;
  color: #536273;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.ssq-preselection-row.active .ssq-preselection-label {
  background: #fff0c9 !important;
  color: #8b641d;
}

.ssq-preselection-label span {
  margin-right: 4px;
  color: #c0392b;
}

.ssq-preselection-cell button {
  width: 100%;
  height: 27px;
  padding: 0;
  background: transparent;
  color: #9aa7b4;
  font-size: 9px;
}

.ssq-preselection-cell.red.selected button {
  background: #c9343c;
  color: #fff;
  font-weight: 900;
}

.ssq-preselection-cell.blue.selected button {
  background: #2d74b8;
  color: #fff;
  font-weight: 900;
}

.ssq-preselection-cell.green.selected button {
  background: #2d7d5a;
  color: #fff;
  font-weight: 900;
}

.ssq-preselection-cell.orange.selected button {
  background: #c47a22;
  color: #fff;
  font-weight: 900;
}

.ssq-preselection-cell.purple.selected button {
  background: #7a4a8a;
  color: #fff;
  font-weight: 900;
}

.ssq-preselection-cell.cyan.selected button {
  background: #168b9a;
  color: #fff;
  font-weight: 900;
}

.ssq-preselection-cell.gold.selected button {
  background: #a68020;
  color: #fff;
  font-weight: 900;
}

.ssq-trend-repeat-head .ssq-zone-head th {
  border-top: 8px solid #eef2f5;
}

.ssq-trend-table .ssq-stat-header {
  position: sticky;
  left: 0;
  z-index: 12;
  border-right: 2px solid #c7d0d8;
  background: #efe4c7;
  color: #354454;
  font-size: 11px;
  font-weight: 900;
}

.ssq-trend-stat-rows tr:nth-child(odd) td {
  background: #fff;
}

.ssq-trend-stat-rows tr:nth-child(even) td {
  background: #f3f6f8;
}

.ssq-trend-stat-rows td {
  color: #4f5f70;
  font-weight: 700;
}

.ssq-trend-stat-rows td.blue-stat {
  color: #49789c;
}

.ssq-stat-label {
  left: 0;
  width: 104px;
  border-right: 2px solid #c7d0d8 !important;
  background: inherit;
  color: #354454 !important;
  font-size: 11px;
  font-weight: 900 !important;
}

.ssq-preselection-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ssq-preselection-actions button {
  min-height: 30px;
  border: 1px solid #d7e0e7;
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
  color: #526273;
  font-size: 12px;
  font-weight: 700;
}

.ssq-preselection-actions button:first-child {
  border-color: #b99143;
  color: #795a1d;
}

.ssq-preselection-actions span {
  margin-left: auto;
  color: #7b8b9a;
  font-size: 11px;
}

.ssq-trend-help {
  margin-top: 14px;
}

.ssq-trend-help-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.ssq-trend-help-head h3 {
  margin: 0;
  color: #273545;
  font-size: 16px;
}

.ssq-trend-help-head span {
  color: #8a98a6;
  font-size: 11px;
}

.ssq-trend-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssq-trend-help-grid > div {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid #eef2f5;
  border-bottom: 1px solid #eef2f5;
}

.ssq-trend-help-grid > div:nth-child(2n) {
  border-right: 0;
}

.ssq-trend-help-grid strong {
  color: #c0392b;
  font-size: 13px;
}

.ssq-trend-help-grid p {
  margin: 4px 0 0;
  color: #667687;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .lottery-trend-type-switch {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lottery-trend-type-switch button {
    border-bottom: 1px solid #e2e8f0;
  }

  .lottery-trend-local-switch {
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 9px 12px;
  }

  .lottery-trend-local-switch span {
    display: none;
  }

  .ssq-trend-heading {
    display: grid;
    align-items: start;
    gap: 10px;
    padding: 12px;
  }

  .ssq-trend-heading h2 {
    font-size: 16px;
  }

  .ssq-trend-periods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
  }

  .ssq-trend-periods button {
    min-width: 0;
    padding: 0 3px;
    font-size: 11px;
  }

  .ssq-trend-options {
    justify-content: flex-start;
    gap: 6px 12px;
  }

  .ssq-preselection-actions span {
    width: 100%;
    margin-left: 0;
  }

  .ssq-trend-help-grid {
    grid-template-columns: 1fr;
  }

  .ssq-trend-help-grid > div,
  .ssq-trend-help-grid > div:nth-child(2n) {
    border-right: 0;
  }
}

/* Keep post reading order horizontal: fill each row before starting the next. */
.store-post-home-list,
.store-post-row-list,
.owner-content-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.store-post-home-list.masonry-ready,
.store-post-row-list.masonry-ready,
.owner-content-list.masonry-ready {
  grid-auto-flow: row dense;
  grid-auto-rows: 4px;
}

.store-post-home-list > .store-post-feed-card,
.store-post-row-list > .store-post-feed-card,
.owner-content-list > .store-post-feed-card {
  display: grid;
  width: 100%;
  margin: 0;
  align-self: start;
}

@media (min-width: 700px) {
  .store-post-home-list,
  .store-post-row-list,
  .owner-content-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.desktop-shell .store-post-home-list,
.desktop-shell .owner-content-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.desktop-shell .store-post-row-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .desktop-shell .store-post-row-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* XBC-20260912-004: balanced, window-responsive platform landing page. */
.platform-access-shell { min-height:100dvh; display:flex; flex-direction:column; padding-bottom:24px; }
.platform-access-shell .platform-access-page { width:100%; margin:auto; box-sizing:border-box; }
.platform-access-shell .platform-access-intro { min-width:0; }
.platform-access-shell .platform-access-copy { text-align:center; }
.platform-access-shell .platform-access-mark { margin:0 auto 24px; }
.platform-access-shell .platform-bind-card { margin-top:32px; }
.platform-access-brandbar { display:none; }
.platform-bind-heading { display:none; }
.platform-access-shell .xbc-service-brand img { display:none !important; }
.xbc-service-footer { flex-wrap:wrap; }
.xbc-filing { width:100%; display:flex; flex-wrap:wrap; justify-content:center; gap:8px 20px; font-size:12px; line-height:1.8; color:inherit; text-align:center; }
.xbc-filing a { color:inherit; text-decoration:none; }
.xbc-copyright { display:block; width:100%; min-width:0; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.xbc-copyright a { color:inherit; white-space:nowrap; text-decoration:none; }
.xbc-copyright a:hover, .xbc-copyright a:focus-visible { text-decoration:underline; }
.owner-entry-links { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:20px; margin:16px 0; border:1px solid var(--xbc-line,#dbe5ef); border-radius:16px; background:var(--xbc-surface,#fff); }
.owner-entry-links a { overflow-wrap:anywhere; }
.owner-entry-links small { flex-basis:100%; color:var(--xbc-text-soft,#64748b); }
@media(min-width:600px) and (min-height:600px) {
  [data-design="xbc-v3"] .page.platform-access-shell {
    display:flex !important;
    flex-direction:column;
    width:min(calc(100% - clamp(40px, 6vw, 96px)), 1280px);
    max-width:1280px;
    height:100vh;
    min-height:0;
    padding:58px 0 0;
  }
  [data-design="xbc-v3"] .platform-access-brandbar {
    position:fixed;
    z-index:20;
    top:0;
    left:0;
    display:flex;
    width:100%;
    min-height:58px;
    align-items:center;
    gap:13px;
    flex:0 0 auto;
    padding:8px max(24px, calc((100vw - 1600px) / 2));
    border-bottom:1px solid var(--xbc-line);
    background:var(--xbc-canvas);
  }
  [data-design="xbc-v3"] .platform-access-brand-logo {
    display:grid;
    width:42px;
    height:42px;
    place-items:center;
    padding:5px;
    border:1px solid var(--xbc-line);
    border-radius:12px;
    background:var(--xbc-surface-solid);
    box-shadow:0 8px 24px rgba(15, 67, 93, .09);
  }
  [data-design="xbc-v3"] .platform-access-brand-logo img { display:block; width:100%; height:100%; object-fit:contain; }
  [data-design="xbc-v3"] .platform-access-brand-name { display:grid; gap:2px; }
  [data-design="xbc-v3"] .platform-access-brand-name strong { font-size:17px; letter-spacing:.08em; }
  [data-design="xbc-v3"] .platform-access-brand-name small { color:var(--xbc-muted); font-size:11px; letter-spacing:.12em; }
  [data-design="xbc-v3"] .platform-access-page {
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(390px, 468px);
    gap:clamp(52px, 7vw, 100px);
    align-items:center;
    flex:1 1 auto;
    min-height:420px;
    padding:clamp(42px, 7vh, 78px) clamp(28px, 4.7vw, 60px);
  }
  [data-design="xbc-v3"] .platform-access-page::before {
    content:"";
    position:absolute;
    z-index:-1;
    width:clamp(330px, 39vw, 560px);
    aspect-ratio:1;
    left:clamp(-260px, -16vw, -150px);
    top:50%;
    border-radius:50%;
    background:radial-gradient(circle, color-mix(in srgb, var(--xbc-primary) 12%, transparent), transparent 69%);
    transform:translateY(-50%);
    pointer-events:none;
  }
  [data-design="xbc-v3"] .platform-access-intro,
  [data-design="xbc-v3"] .platform-bind-card { position:relative; z-index:1; }
  [data-design="xbc-v3"] .platform-access-intro { display:block; }
  [data-design="xbc-v3"] .platform-access-mark { display:none !important; }
  [data-design="xbc-v3"] .platform-access-copy { max-width:570px; text-align:left; }
  [data-design="xbc-v3"] .platform-access-copy > span {
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 14px;
    border:1px solid color-mix(in srgb, var(--xbc-primary) 24%, transparent);
    border-radius:999px;
    background:color-mix(in srgb, var(--xbc-primary) 8%, transparent);
    color:var(--xbc-primary);
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
  }
  [data-design="xbc-v3"] .platform-access-copy h1 {
    margin:22px 0 18px;
    font-size:clamp(46px, 4.5vw, 64px);
    line-height:1.12;
    letter-spacing:-.035em;
  }
  [data-design="xbc-v3"] .platform-access-copy p {
    max-width:520px;
    margin:0;
    color:var(--xbc-text-soft);
    font-size:clamp(15px, 1.2vw, 17px);
    line-height:1.85;
  }
  [data-design="xbc-v3"] .platform-bind-card {
    margin:0;
    padding:22px;
    border:1px solid var(--xbc-line) !important;
    border-radius:18px;
    background:var(--xbc-surface-solid) !important;
    box-shadow:0 20px 56px rgba(15, 67, 93, .11) !important;
  }
  [data-design="xbc-v3"] .platform-bind-card > div { display:grid !important; grid-template-columns:minmax(0, 1fr) 104px; gap:6px; padding:5px; border:1px solid var(--xbc-line); border-radius:14px; background:var(--xbc-surface-soft); }
  [data-design="xbc-v3"] .platform-bind-card input { min-width:0; width:100%; height:44px !important; padding:0 12px; border:0 !important; border-radius:10px; background:transparent !important; box-shadow:none !important; }
  [data-design="xbc-v3"] .platform-bind-card button { width:104px !important; min-width:104px !important; max-width:104px; min-height:44px; padding:0 8px; border-radius:10px; font-weight:800; white-space:nowrap; }
  [data-design="xbc-v3"] .platform-bind-card small { display:block; margin:13px 5px 0; line-height:1.7; }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-footer {
    position:fixed;
    z-index:20;
    right:0;
    bottom:0;
    left:0;
    display:flex;
    min-height:0;
    flex:0 0 auto;
    justify-content:center;
    align-items:center;
    gap:8px 16px;
    width:100vw;
    margin:0;
    padding:32px 160px;
    background:color-mix(in srgb, var(--xbc-canvas) 94%, var(--xbc-surface));
  }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-brand { position:absolute; top:50%; left:max(24px, calc((100vw - 1280px) / 2 + 4px)); transform:translateY(-50%); }
  [data-design="xbc-v3"] .platform-access-shell .xbc-filing { width:auto; order:1; gap:4px 14px; }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-links { order:2; min-height:22px; }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-theme { position:absolute; top:50%; right:max(24px, calc((100vw - 1280px) / 2 + 4px)); transform:translateY(-50%); }
}
@media(min-width:1180px) {
  [data-design="xbc-v3"] .platform-access-intro,
  [data-design="xbc-v3"] .platform-bind-card {
    transform:translateY(calc(-16.6667vh - 17.333px));
  }
}
@media(min-width:900px) and (max-width:1179px) {
  [data-design="xbc-v3"] .platform-access-page { grid-template-columns:1fr; justify-items:center; gap:32px; min-height:auto; padding:42px clamp(30px, 7vw, 74px); }
  [data-design="xbc-v3"] .platform-access-copy { max-width:680px; text-align:center; }
  [data-design="xbc-v3"] .platform-access-copy h1 { margin:16px 0 12px; font-size:clamp(38px, 5vw, 50px); }
  [data-design="xbc-v3"] .platform-access-copy p { max-width:650px; line-height:1.65; }
  [data-design="xbc-v3"] .platform-bind-card { width:min(100%, 650px); }
  [data-design="xbc-v3"] .platform-bind-card button { min-width:104px !important; }
}
@media(min-width:900px) and (max-width:1179px) and (max-height:720px) {
  [data-design="xbc-v3"] .platform-access-intro,
  [data-design="xbc-v3"] .platform-bind-card { transform:translateY(-4px); }
}
@media(max-width:899px) {
  .platform-access-shell .platform-access-page { padding:44px 10px 24px; }
  .platform-access-shell .platform-access-copy { text-align:center; }
  .platform-access-shell .platform-access-mark { margin:0 auto 24px; }
  .platform-access-shell .platform-bind-card { margin-top:32px; }
}
@media(max-width:767px) { .platform-access-shell .xbc-service-footer { display:flex; justify-content:center; gap:16px; padding:20px 12px; } .platform-access-shell .platform-bind-card > div { display:flex; flex-wrap:wrap; gap:12px; } .platform-access-shell .platform-bind-card input { min-width:0; flex:1 1 160px; } }

/* XBC-20260920-003: portrait tablets keep the desktop landing structure and one centered frame. */
@media (min-width:600px) and (min-height:600px) and (orientation:portrait) {
  [data-design="xbc-v3"] .page.platform-access-shell {
    display:flex !important;
    width:min(calc(100% - 32px),760px);
    max-width:760px;
    height:100vh;
    min-height:0;
    margin:0 auto;
    padding:58px 0 88px;
  }
  [data-design="xbc-v3"] .platform-access-brandbar {
    position:fixed;
    z-index:20;
    top:0;
    right:0;
    left:0;
    display:flex;
    width:100%;
    min-height:58px;
    align-items:center;
    gap:13px;
    padding:8px max(16px,calc((100vw - 760px) / 2));
    border-bottom:1px solid var(--xbc-line);
    background:var(--xbc-canvas);
  }
  [data-design="xbc-v3"] .platform-access-brand-logo {
    display:grid;
    width:42px;
    height:42px;
    place-items:center;
    padding:5px;
    border:1px solid var(--xbc-line);
    border-radius:12px;
    background:var(--xbc-surface-solid);
    box-shadow:0 8px 24px rgba(15,67,93,.09);
  }
  [data-design="xbc-v3"] .platform-access-brand-logo img { display:block; width:100%; height:100%; object-fit:contain; }
  [data-design="xbc-v3"] .platform-access-brand-name { display:grid; gap:2px; }
  [data-design="xbc-v3"] .platform-access-brand-name strong { font-size:17px; letter-spacing:.08em; }
  [data-design="xbc-v3"] .platform-access-brand-name small { color:var(--xbc-muted); font-size:11px; letter-spacing:.12em; }
  [data-design="xbc-v3"] .platform-access-page {
    display:grid;
    width:100%;
    min-height:0;
    flex:1 1 auto;
    grid-template-columns:minmax(0,1fr);
    align-content:center;
    justify-items:center;
    gap:30px;
    padding:34px 24px;
  }
  [data-design="xbc-v3"] .platform-access-intro,
  [data-design="xbc-v3"] .platform-bind-card { width:min(100%,650px); margin-right:auto; margin-left:auto; }
  [data-design="xbc-v3"] .platform-access-mark { display:none !important; }
  [data-design="xbc-v3"] .platform-access-copy { width:100%; max-width:650px; margin:0 auto; text-align:center; }
  [data-design="xbc-v3"] .platform-access-copy h1 { margin:16px 0 12px; font-size:clamp(38px,6vw,50px); }
  [data-design="xbc-v3"] .platform-access-copy p { max-width:650px; margin:0 auto; line-height:1.65; }
  [data-design="xbc-v3"] .platform-bind-card { transform:none; }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-footer {
    position:fixed;
    z-index:20;
    right:0;
    bottom:0;
    left:0;
    display:flex;
    width:100vw;
    min-height:88px;
    justify-content:center;
    align-items:center;
    gap:8px 16px;
    margin:0;
    padding:18px 24px;
    background:color-mix(in srgb,var(--xbc-canvas) 94%,var(--xbc-surface));
  }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-brand { display:none; }
  [data-design="xbc-v3"] .platform-access-shell .xbc-filing { width:auto; gap:4px 14px; }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-links { min-height:22px; }
  [data-design="xbc-v3"] .platform-access-shell .xbc-service-theme { display:none; }
}

/* 用户球赛自选图：店铺身份、内容层级与底部安全区。 */
.selection-image-page {
  background: #f1f5f9;
}
.selection-image-page .preview-wrap {
  padding: 14px 0 16px;
}
.sports-selection-preview {
  overflow: hidden;
  padding: 18px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}
.sports-selection-brand {
  gap: 12px;
  padding-bottom: 15px;
}
.sports-selection-brand .avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
.sports-selection-brand .preview-name strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sports-selection-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}
.sports-selection-heading strong {
  color: #0f172a;
  font-size: 20px;
}
.sports-selection-heading span {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 11px;
}
.sports-selection-config {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dbeafe;
  background: #dbeafe;
}
.sports-selection-config > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px 8px;
  background: #f8fbff;
  text-align: center;
}
.sports-selection-config span {
  color: #64748b;
  font-size: 10px;
}
.sports-selection-config strong {
  overflow: hidden;
  color: #1d4ed8;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sports-selection-config .sports-selection-total {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 12px;
  padding-left: 12px;
  text-align: left;
}
.sports-selection-config .sports-selection-total b {
  color: #dc2626;
  font-size: 12px;
  white-space: nowrap;
}
.sports-selection-config > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 10px;
  background: #f0fdf4;
  color: #047857;
  font-size: 11px;
}
.selection-image-page .preview-row {
  border: 1px solid #eef2f7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
}
.selection-image-page .preview-disclaimer {
  color: #64748b;
}
.image-return-info .image-return-avatar {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.selection-image-page.with-bottom {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.selection-image-page .image-bottom-bar {
  box-sizing: border-box;
  height: calc(68px + env(safe-area-inset-bottom));
  min-height: calc(68px + env(safe-area-inset-bottom));
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 -10px 26px rgba(15, 23, 42, .09);
}
@media(max-width:380px) {
  .sports-selection-heading { display: grid; }
  .sports-selection-config { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sports-selection-config > p { grid-column: 1 / -1; }
}

/* XBC-20261030-003: content publishing stays above the mobile bottom navigation. */
.store-has-publish-fab{padding-bottom:calc(148px + env(safe-area-inset-bottom,0px))}
.store-content-publish-fab{position:fixed;right:max(18px,env(safe-area-inset-right,0px));bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:35;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:0 20px;border:0;border-radius:26px;background:#2563eb;color:#fff;font-size:15px;font-weight:700;box-shadow:0 5px 16px #1d4ed033;cursor:pointer}
.store-content-publish-fab span{font-size:22px;font-weight:400}
.store-content-publish-fab:focus-visible,.store-post-pin-action:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.store-post-managed-row{min-width:0}
.store-post-managed-row>.store-post-pin-action{display:block;margin:0 12px 12px auto}
.store-post-pin-action{min-height:36px;padding:6px 12px;border:1px solid #cbd5e1;border-radius:6px;background:var(--card,#fff);color:var(--text,#334155);font-size:13px;cursor:pointer}
.store-post-pin-action:disabled{opacity:.6;cursor:wait}
@media(min-width:768px){.store-content-publish-fab{bottom:24px;right:24px}.store-has-publish-fab{padding-bottom:100px}}

/* assets/styles-v2/tokens.css */
[data-ui="v2"] {
  --c-ink: #202522; --c-text: #1d2421; --c-muted: #65706b; --c-canvas: #f4f6f5;
  --c-surface: #fff; --c-soft: #f8f9f8; --c-border: #dee4e1; --c-red: #c64536;
  --c-blue: #2f6fa3; --c-green: #2f7d57; --c-gold: #b68938; --c-warning: #b56a24;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --radius: 8px;
  --shadow-1: 0 1px 2px rgb(20 30 25 / 6%); --content: 1240px; --desktop-frame:1240px; color: var(--c-text);
}

/* assets/styles-v2/base.css */
[data-ui="v2"], [data-ui="v2"] * { box-sizing: border-box; }
[data-ui="v2"] { min-height: 100vh; background: var(--c-canvas); font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
[data-ui="v2"] button, [data-ui="v2"] input, [data-ui="v2"] select, [data-ui="v2"] textarea { font: inherit; }
[data-ui="v2"] input, [data-ui="v2"] textarea, [data-ui="v2"] [contenteditable="true"] { caret-color: var(--c-blue); }
[data-ui="v2"] button:focus-visible, [data-ui="v2"] a:focus-visible, [data-ui="v2"] input:focus-visible, [data-ui="v2"] select:focus-visible, [data-ui="v2"] textarea:focus-visible { outline: 3px solid rgb(47 111 163 / 24%); outline-offset: 2px; }
[data-ui="v2"] button:disabled { cursor: not-allowed; opacity: .52; }
[data-ui="v2"] .ui-icon { width: 20px; height: 20px; flex: 0 0 auto; }
[data-ui="v2"] .page { width: min(100%, var(--content)); min-height: calc(100vh - 65px); margin: 0 auto; padding: 32px 24px 56px; background: transparent; }
@media (min-width: 900px) { [data-ui="v2"] .page { width:min(calc(100% - 48px),var(--desktop-frame)); padding-right:0; padding-left:0; } }
@media (max-width: 700px) { [data-ui="v2"] .page { padding: 18px 16px 92px; min-height: 100vh; } }

/* assets/styles-v2/components.css */
[data-ui="v2"] .v2-icon-button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--c-border); border-radius: 6px; background: var(--c-surface); color: var(--c-text); }
[data-ui="v2"] .v2-kicker { display: block; margin-bottom: 10px; color: var(--c-blue); font-size: 13px; font-weight: 700; }
[data-ui="v2"] .v2-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 16px; }
[data-ui="v2"] .v2-section-heading span { color: var(--c-muted); font-size: 12px; }
[data-ui="v2"] .v2-section-heading h2, [data-ui="v2"] .v2-section-heading h3 { margin: 3px 0 0; color: var(--c-ink); font-size: 22px; }
[data-ui="v2"] .v2-section-heading small { color: var(--c-muted); }
[data-ui="v2"] .android-card, [data-ui="v2"] .tool-panel { border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-1); background: var(--c-surface); }
[data-ui="v2"] .empty-state { display:grid; place-items:center; gap:8px; padding:38px 20px; border:1px dashed var(--c-border); border-radius:var(--radius); color:var(--c-muted); text-align:center; }
[data-ui="v2"] .empty-state .ui-icon { width:28px; height:28px; color:var(--c-blue); }
[data-ui="v2"] .empty-state strong { color:var(--c-text); font-size:15px; }
[data-ui="v2"] .empty-state span { max-width:420px; font-size:13px; line-height:1.6; }

/* assets/styles-v2/shells.css */
[data-ui="v2"] .desktop-global-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--c-border); background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px); box-shadow: none; }
[data-ui="v2"] .desktop-header-inner { width:min(calc(100% - 48px),var(--desktop-frame)); height:64px; margin:auto; }
[data-ui="v2"] .desktop-title-cluster { display:flex; align-items:center; gap:12px; min-width:0; }
[data-ui="v2"] .desktop-title-cluster .desktop-brand { min-width:0; }
[data-ui="v2"] .desktop-brand span { border-radius: 6px; background: var(--c-ink); color: #fff; }
[data-ui="v2"] .desktop-brand strong { color: var(--c-ink); }
[data-ui="v2"] .desktop-brand em { color: var(--c-muted); }
[data-ui="v2"] .desktop-store-business { display:inline-flex; align-items:center; min-height:28px; padding:0 10px; border:1px solid #bbdfc9; border-radius:999px; background:#edf9f1; color:#187344; font-size:11px; font-weight:800; white-space:nowrap; }
[data-ui="v2"] .desktop-store-business.closed { border-color:#e5d7bf; background:#fff8eb; color:#8a5b14; }
[data-ui="v2"] .desktop-nav-link { height: 64px; border-radius: 0; color: var(--c-muted); }
[data-ui="v2"] .desktop-nav-link.active { color: var(--c-ink); box-shadow: inset 0 -2px var(--c-red); }
[data-ui="v2"][data-scene="store"] .desktop-brand span { background: var(--c-gold); }
[data-ui="v2"][data-scene="merchant"] { --c-canvas:#f3f5f4; --content:1320px; --desktop-frame:1280px; }
@media (max-width: 899px) { .app-shell:not(.desktop-shell) [data-ui="v2"] .desktop-global-header { display: none; } }

/* assets/styles-v2/pages/home.css */
/* 首页第一批迁移：使用独立类名，避免旧 styles.css 继续控制版面。 */
[data-ui="v2"] .platform-dashboard-page,
[data-ui="v2"] .store-dashboard-page { --content: 1240px; }

/* 平台域名仅作为门店访问说明，不开放用户工具。 */
[data-ui="v2"] .platform-access-shell { --content:1040px; display:grid; align-items:center; min-height:calc(100vh - 65px); }
[data-ui="v2"] .platform-access-page { width:100%; padding:28px 0; }
[data-ui="v2"] .platform-access-mark { display:grid; place-items:center; width:48px; height:48px; overflow:hidden; border:1px solid #e6ddca; border-radius:10px; background:#f7f2e8; }
[data-ui="v2"] .platform-access-mark img { display:block; width:100%; height:100%; object-fit:cover; }
[data-ui="v2"] .platform-access-copy { max-width:700px; margin-top:30px; }
[data-ui="v2"] .platform-access-copy > span { color:var(--c-blue); font-size:12px; font-weight:700; letter-spacing:.08em; }
[data-ui="v2"] .platform-access-copy h1 { margin:8px 0 12px; color:var(--c-ink); font-size:clamp(32px,4.6vw,58px); line-height:1.12; letter-spacing:-.04em; }
[data-ui="v2"] .platform-access-copy p { margin:0; max-width:650px; color:var(--c-muted); font-size:16px; line-height:1.8; }
[data-ui="v2"] .platform-bind-card { max-width:700px; margin-top:36px; padding:22px; border:1px solid var(--c-border); border-radius:10px; background:#fff; box-shadow:var(--shadow-1); }
[data-ui="v2"] .platform-bind-card label,[data-ui="v2"] .platform-bind-card small { display:block; }
[data-ui="v2"] .platform-bind-card label { margin-bottom:10px; color:var(--c-ink); font-size:14px; font-weight:700; }
[data-ui="v2"] .platform-bind-card > div { display:flex; gap:10px; }
[data-ui="v2"] .platform-bind-card input { min-width:0; flex:1; height:46px; padding:0 13px; border:1px solid var(--c-border); border-radius:7px; outline:none; color:var(--c-ink); background:#fff; font-size:14px; caret-color:var(--c-blue); }
[data-ui="v2"] .platform-bind-card input:focus { border-color:var(--c-blue); box-shadow:0 0 0 3px rgba(37,99,235,.1); }
[data-ui="v2"] .platform-bind-card button { min-width:118px; height:46px; padding:0 18px; border:0; border-radius:7px; background:var(--c-blue); color:#fff; font-size:14px; font-weight:700; }
[data-ui="v2"] .platform-bind-card button:disabled { opacity:.55; }
[data-ui="v2"] .platform-bind-card small { margin-top:10px; color:var(--c-muted); font-size:12px; line-height:1.6; }
[data-ui="v2"] .platform-access-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:44px; border-top:1px solid var(--c-border); border-left:1px solid var(--c-border); }
[data-ui="v2"] .platform-access-guide > div { min-height:154px; padding:20px; border-right:1px solid var(--c-border); border-bottom:1px solid var(--c-border); background:#fff; }
[data-ui="v2"] .platform-access-guide b,[data-ui="v2"] .platform-access-guide strong,[data-ui="v2"] .platform-access-guide span { display:block; }
[data-ui="v2"] .platform-access-guide b { color:var(--c-gold); font-size:12px; }
[data-ui="v2"] .platform-access-guide strong { margin-top:24px; color:var(--c-ink); font-size:16px; }
[data-ui="v2"] .platform-access-guide span { margin-top:7px; color:var(--c-muted); font-size:12px; line-height:1.6; }
[data-ui="v2"] .platform-access-note { display:flex; gap:13px; align-items:flex-start; margin-top:18px; padding:15px 17px; border-left:3px solid var(--c-blue); background:#eef4f8; }
[data-ui="v2"] .platform-access-note .ui-icon { color:var(--c-blue); }
[data-ui="v2"] .platform-access-note strong,[data-ui="v2"] .platform-access-note span { display:block; }
[data-ui="v2"] .platform-access-note span { margin-top:3px; color:var(--c-muted); font-size:12px; line-height:1.6; }
[data-ui="v2"] .platform-access-links { display:flex; flex-wrap:wrap; gap:6px 22px; margin-top:24px; }
[data-ui="v2"] .platform-access-links button { padding:0; border:0; border-radius:0; background:transparent; color:var(--c-muted); font-size:12px; text-decoration:underline; text-underline-offset:3px; }
[data-ui="v2"] .platform-access-links button:hover { color:var(--c-blue); }

/* 平台首页 */
[data-ui="v2"] .platform-dashboard-head { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; padding:18px 0 28px; border-bottom:1px solid var(--c-border); }
[data-ui="v2"] .platform-dashboard-head > div { min-width:0; }
[data-ui="v2"] .platform-dashboard-head > div > span { color:var(--c-blue); font-size:12px; font-weight:700; letter-spacing:.08em; }
[data-ui="v2"] .platform-dashboard-head h1 { margin:7px 0 5px; color:var(--c-ink); font-size:clamp(28px,3vw,40px); line-height:1.2; letter-spacing:-.03em; }
[data-ui="v2"] .platform-dashboard-head p { margin:0; color:var(--c-muted); font-size:14px; line-height:1.6; }
[data-ui="v2"] .platform-account-button { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:0 15px; border:1px solid var(--c-border); border-radius:6px; background:#fff; color:var(--c-text); white-space:nowrap; }
[data-ui="v2"] .platform-account-button:hover { border-color:#9aa9a2; background:var(--c-soft); }
[data-ui="v2"] .platform-workspace { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(280px,.8fr); gap:18px; margin-top:24px; }
[data-ui="v2"] .platform-main-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--c-border); border-left:1px solid var(--c-border); background:#fff; }
[data-ui="v2"] .platform-main-tool { position:relative; display:grid; grid-template-columns:42px minmax(0,1fr) 20px; gap:13px; align-items:start; min-width:0; min-height:154px; padding:22px; border:0; border-right:1px solid var(--c-border); border-bottom:1px solid var(--c-border); border-radius:0; background:#fff; color:var(--c-text); text-align:left; }
[data-ui="v2"] .platform-main-tool::before { content:""; position:absolute; top:-1px; left:-1px; width:3px; height:48px; background:var(--tool-color,var(--c-blue)); }
[data-ui="v2"] .platform-main-tool:hover { z-index:1; background:var(--c-soft); box-shadow:inset 0 0 0 1px #aebbb5; }
[data-ui="v2"] .platform-main-tool.red { --tool-color:var(--c-red); } [data-ui="v2"] .platform-main-tool.blue { --tool-color:var(--c-blue); } [data-ui="v2"] .platform-main-tool.green { --tool-color:var(--c-green); } [data-ui="v2"] .platform-main-tool.amber { --tool-color:var(--c-gold); }
[data-ui="v2"] .platform-tool-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:6px; background:color-mix(in srgb,var(--tool-color) 10%,white); color:var(--tool-color); }
[data-ui="v2"] .platform-tool-copy { min-width:0; }
[data-ui="v2"] .platform-tool-copy strong,[data-ui="v2"] .platform-tool-copy em,[data-ui="v2"] .platform-tool-copy small { display:block; }
[data-ui="v2"] .platform-tool-copy strong { color:var(--c-ink); font-size:18px; }
[data-ui="v2"] .platform-tool-copy em { min-height:42px; margin-top:7px; color:var(--c-muted); font-size:13px; font-style:normal; line-height:1.55; }
[data-ui="v2"] .platform-tool-copy small { margin-top:12px; color:var(--tool-color); font-size:12px; font-weight:700; }
[data-ui="v2"] .platform-tool-arrow { width:18px; color:#9aa59f; }
[data-ui="v2"] .platform-today-panel { align-self:stretch; padding:20px; border:1px solid var(--c-border); border-radius:0; background:#eef3f1; }
[data-ui="v2"] .platform-panel-heading span,[data-ui="v2"] .platform-panel-heading strong { display:block; }
[data-ui="v2"] .platform-panel-heading span { color:var(--c-muted); font-size:11px; }
[data-ui="v2"] .platform-panel-heading strong { margin-top:3px; font-size:18px; }
[data-ui="v2"] .platform-today-row { display:flex; justify-content:space-between; gap:12px; padding:15px 0; border-bottom:1px solid #d7dfdb; font-size:13px; }
[data-ui="v2"] .platform-today-row span { color:var(--c-muted); }
[data-ui="v2"] .platform-today-panel > button { display:flex; align-items:center; justify-content:space-between; width:100%; margin-top:18px; padding:11px 12px; border:0; border-radius:5px; background:var(--c-ink); color:#fff; text-align:left; }
[data-ui="v2"] .platform-resource-section { margin-top:38px; }
[data-ui="v2"] .platform-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:13px; }
[data-ui="v2"] .platform-section-heading span { color:var(--c-muted); font-size:11px; }
[data-ui="v2"] .platform-section-heading h2 { margin:3px 0 0; font-size:21px; }
[data-ui="v2"] .platform-section-heading small { color:var(--c-muted); }
[data-ui="v2"] .platform-resource-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--c-border); border-left:1px solid var(--c-border); }
[data-ui="v2"] .platform-resource-row { display:grid; grid-template-columns:34px minmax(0,1fr) 18px; gap:10px; align-items:center; min-width:0; min-height:88px; padding:14px; border:0; border-right:1px solid var(--c-border); border-bottom:1px solid var(--c-border); border-radius:0; background:#fff; color:var(--c-text); text-align:left; }
[data-ui="v2"] .platform-resource-row:hover { background:var(--c-soft); }
[data-ui="v2"] .platform-resource-row > span { display:grid; place-items:center; width:34px; height:34px; color:var(--c-blue); }
[data-ui="v2"] .platform-resource-row div { min-width:0; }
[data-ui="v2"] .platform-resource-row strong,[data-ui="v2"] .platform-resource-row em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .platform-resource-row strong { font-size:14px; }
[data-ui="v2"] .platform-resource-row em { margin-top:4px; color:var(--c-muted); font-size:11px; font-style:normal; }
[data-ui="v2"] .platform-resource-row > .ui-icon { width:16px; color:#a1aca6; }
[data-ui="v2"] .platform-home-footer,[data-ui="v2"] .store-dashboard-footer { display:flex; justify-content:space-between; gap:16px; margin-top:38px; padding:18px 0 0; border-top:1px solid var(--c-border); color:var(--c-muted); font-size:12px; }
[data-ui="v2"] .platform-home-footer strong { color:var(--c-text); }
[data-ui="v2"] .platform-inline-state { margin-top:18px; padding:14px 16px; border-left:3px solid var(--c-red); background:#fff4f2; }
[data-ui="v2"] .platform-inline-state p { margin:4px 0 0; color:var(--c-muted); }

/* 店铺首页 */
[data-ui="v2"] .store-dashboard { width:100%; }
[data-ui="v2"] .store-dashboard-intro { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr); gap:12px; align-items:stretch; }
[data-ui="v2"] .store-identity-panel { position:relative; display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:16px; align-items:center; min-width:0; min-height:150px; padding:22px; border:1px solid var(--c-border); border-left:4px solid var(--c-gold); border-radius:0; background:#fff; }
[data-ui="v2"] .store-dashboard-avatar { display:grid; place-items:center; width:64px; height:64px; overflow:hidden; border-radius:7px; background:#c8983f; color:#fff; font-size:20px; font-weight:800; }
[data-ui="v2"] .store-dashboard-avatar img { width:100%; height:100%; object-fit:cover; }
[data-ui="v2"] .store-identity-panel > div { min-width:0; }
[data-ui="v2"] .store-dashboard-eyebrow { display:block; margin-bottom:3px; color:#876318; font-size:11px; font-weight:700; letter-spacing:.06em; }
[data-ui="v2"] .store-identity-panel strong,[data-ui="v2"] .store-identity-panel em,[data-ui="v2"] .store-identity-panel p,[data-ui="v2"] .store-identity-panel small { display:block; overflow:hidden; text-overflow:ellipsis; }
[data-ui="v2"] .store-identity-panel strong { color:var(--c-ink); font-size:21px; white-space:nowrap; }
[data-ui="v2"] .store-identity-panel em { margin-top:2px; color:var(--c-muted); font-size:12px; font-style:normal; white-space:nowrap; }
[data-ui="v2"] .store-identity-panel p { margin:8px 0 0; color:var(--c-text); font-size:13px; line-height:1.5; }
[data-ui="v2"] .store-identity-panel small { margin-top:6px; color:var(--c-muted); white-space:nowrap; }
[data-ui="v2"] .store-dashboard-status { align-self:start; padding:5px 9px; border:1px solid #dfd1ae; border-radius:999px; background:#fffaf0; color:#775719; font-size:11px; font-weight:700; }
[data-ui="v2"] .store-dashboard-intro > .store-visitor-access,[data-ui="v2"] .store-dashboard-intro > .store-computer-access { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:7px; min-width:0; min-height:150px; margin:0; padding:20px; border:1px solid var(--c-border); border-left:3px solid var(--c-blue); border-radius:0; background:#f5f8fb; }
[data-ui="v2"] .store-dashboard-intro .store-visitor-access-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:6px; background:#e3edf6; color:var(--c-blue); font-size:13px; font-weight:700; }
[data-ui="v2"] .store-dashboard-intro .store-visitor-access > div:not(.store-visitor-access-actions) { min-width:0; }
[data-ui="v2"] .store-dashboard-intro .store-visitor-access strong,[data-ui="v2"] .store-dashboard-intro .store-visitor-access em { display:block; }
[data-ui="v2"] .store-dashboard-intro .store-visitor-access em { margin-top:3px; color:var(--c-muted); font-size:11px; font-style:normal; line-height:1.5; }
[data-ui="v2"] .store-dashboard-intro .store-visitor-access-actions { width:100%; }
[data-ui="v2"] .store-dashboard-intro .store-visitor-access button { width:100%; min-height:36px; border:0; border-radius:5px; background:var(--c-ink); color:#fff; }
[data-ui="v2"] .store-dashboard-section-head { display:flex; align-items:center; justify-content:space-between; margin:30px 0 12px; }
[data-ui="v2"] .store-dashboard-section-head strong { color:var(--c-ink); font-size:18px; }
[data-ui="v2"] .store-dashboard-section-head span { color:var(--c-muted); font-size:12px; font-weight:400; }
[data-ui="v2"] .store-dashboard-primary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--c-border); border-left:1px solid var(--c-border); }
[data-ui="v2"] .store-dashboard-secondary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--c-border); border-left:1px solid var(--c-border); }
[data-ui="v2"] .store-dashboard-service { --service:#6e7a74; position:relative; display:grid; grid-template-columns:44px minmax(0,1fr); grid-template-areas:"icon title" "icon desc" "stats stats"; gap:3px 12px; align-content:center; min-width:0; min-height:152px; padding:18px; border:0; border-right:1px solid var(--c-border); border-bottom:1px solid var(--c-border); border-radius:0; background:#fff; color:var(--c-text); text-align:left; box-shadow:none; }
[data-ui="v2"] .store-dashboard-secondary-grid .store-dashboard-service { min-height:112px; }
[data-ui="v2"] .store-dashboard-service:hover { z-index:1; background:var(--c-soft); box-shadow:inset 0 0 0 1px #acb9b3; }
[data-ui="v2"] .store-dashboard-service.red { --service:var(--c-red); } [data-ui="v2"] .store-dashboard-service.blue { --service:var(--c-blue); } [data-ui="v2"] .store-dashboard-service.green { --service:var(--c-green); } [data-ui="v2"] .store-dashboard-service.amber { --service:var(--c-gold); } [data-ui="v2"] .store-dashboard-service.purple { --service:#765a9c; } [data-ui="v2"] .store-dashboard-service.cyan { --service:#247c84; }
[data-ui="v2"] .store-dashboard-service-icon { grid-area:icon; display:grid; place-items:center; width:44px; height:44px; border-radius:6px; background:color-mix(in srgb,var(--service) 11%,white); color:var(--service); font-size:12px; font-weight:800; }
[data-ui="v2"] .store-dashboard-service > strong { grid-area:title; align-self:end; overflow:hidden; color:var(--c-ink); font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .store-dashboard-service > em { grid-area:desc; overflow:hidden; color:var(--c-muted); font-size:11px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .store-dashboard-service > small { grid-area:stats; display:flex; gap:12px; margin-top:14px; color:var(--service); font-size:11px; }
[data-ui="v2"] .store-dashboard-service > small b { font-weight:600; }
[data-ui="v2"] .store-dashboard-board { border-top:1px solid var(--c-border); }
[data-ui="v2"] .store-dashboard-board .store-home-board-row-v2 { min-height:68px; margin:0; border:0; border-bottom:1px solid var(--c-border); border-radius:0; box-shadow:none; background:#fff; }
[data-ui="v2"] .store-dashboard-footer strong { color:var(--c-text); }

@media (min-width:900px) {
  [data-ui="v2"] .store-dashboard-page .store-dashboard-section-head:first-child { margin-top:0; }
}

/* 店铺用户页与 Android 首页保持同一套信息结构。 */
[data-ui="v2"] .store-android-page { max-width:430px; padding-top:0; padding-bottom:104px; background:transparent; }
[data-ui="v2"] .store-android-header { display:flex; align-items:center; justify-content:space-between; min-height:56px; margin:0 -24px 10px; padding:calc(8px + env(safe-area-inset-top)) 16px 8px 18px; background:linear-gradient(135deg,#2563eb,#0ea5e9); color:#fff; }
[data-ui="v2"] .store-android-header > strong { overflow:hidden; min-width:0; font-size:22px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .store-android-business { flex:0 0 auto; max-width:52%; margin-left:14px; color:#dbeafe; font-size:12px; line-height:1.45; text-align:right; }
[data-ui="v2"] .store-android-home { padding-bottom:24px; }
[data-ui="v2"] .store-android-core-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .store-android-core-grid[class*="count-"] { grid-template-columns:repeat(6,minmax(0,1fr)); }
[data-ui="v2"] .store-android-core-grid.count-1 > * { grid-column:span 6; align-items:center; text-align:center; }
[data-ui="v2"] .store-android-core-grid.count-2 > * { grid-column:span 3; }
[data-ui="v2"] .store-android-core-grid.count-3 > *,
[data-ui="v2"] .store-android-core-grid.count-6 > * { grid-column:span 2; }
[data-ui="v2"] .store-android-core-grid.count-4 > * { grid-column:span 3; }
[data-ui="v2"] .store-android-core-grid.count-5 > * { grid-column:span 2; }
[data-ui="v2"] .store-android-core-grid.count-5 > *:nth-child(n+4) { grid-column:span 3; }
[data-ui="v2"] .store-android-core-empty { grid-column:1/-1; padding:28px 12px; border-radius:8px; background:#fff; box-shadow:0 1px 3px rgb(15 23 42 / 8%); }
[data-ui="v2"] .store-android-feature { display:flex; flex-direction:column; align-items:flex-start; min-width:0; min-height:124px; padding:10px; border:0; border-radius:8px; background:#fff; color:#111827; text-align:left; box-shadow:0 1px 3px rgb(15 23 42 / 8%); }
[data-ui="v2"] .store-android-feature > i { display:grid; place-items:center; width:38px; height:38px; border-radius:8px; background:#64748b; color:#fff; font-size:12px; font-style:normal; font-weight:800; }
[data-ui="v2"] .store-android-feature.red > i { background:#e53935; } [data-ui="v2"] .store-android-feature.blue > i { background:#2563eb; } [data-ui="v2"] .store-android-feature.green > i { background:#059669; } [data-ui="v2"] .store-android-feature.amber > i { background:#d97706; } [data-ui="v2"] .store-android-feature.purple > i { background:#7c3aed; } [data-ui="v2"] .store-android-feature.cyan > i { background:#0891b2; }
[data-ui="v2"] .store-android-feature strong { overflow:hidden; width:100%; margin-top:10px; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .store-android-feature span { display:-webkit-box; overflow:hidden; margin-top:4px; color:#9ca3af; font-size:10px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
[data-ui="v2"] .store-android-section { margin-top:16px; }
[data-ui="v2"] .store-android-section-title,[data-ui="v2"] .store-android-card-head { display:flex; align-items:center; justify-content:space-between; }
[data-ui="v2"] .store-android-section-title { padding:0 2px; }
[data-ui="v2"] .store-android-section-title strong { color:#111827; font-size:14px; }
[data-ui="v2"] .store-android-section-title span,[data-ui="v2"] .store-android-section-title button,[data-ui="v2"] .store-android-card-head span { color:#9ca3af; font-size:11px; }
[data-ui="v2"] .store-android-section-title button { display:inline-flex; align-items:center; justify-content:flex-end; gap:1px; min-width:48px; padding:2px 0 2px 12px; border:0; background:transparent; color:#2563eb; font-weight:700; text-align:right; }
[data-ui="v2"] .store-android-section-title button::after { content:"›"; font-size:17px; font-weight:700; line-height:1; }
[data-ui="v2"] .store-android-card-head > button { min-height:28px; padding:0 2px 0 12px; border:0; background:transparent; color:#2563eb; font-size:12px; font-weight:700; }
[data-ui="v2"] .store-android-today-card,[data-ui="v2"] .store-android-events,[data-ui="v2"] .store-android-more { margin-top:10px; padding:14px; border:0; border-radius:8px; background:#fff; box-shadow:0 1px 3px rgb(15 23 42 / 8%); }
[data-ui="v2"] .store-android-card-head strong { display:flex; align-items:center; gap:6px; color:#111827; font-size:14px; }
[data-ui="v2"] .store-android-card-head i { width:8px; height:8px; border-radius:50%; background:#e53935; }
[data-ui="v2"] .store-android-card-head i.blue { background:#2a5caa; }
[data-ui="v2"] .store-android-draw-row { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:58px; padding:12px 0; border:0; border-bottom:1px solid #f3f4f6; border-radius:0; background:transparent; color:#111827; text-align:left; }
[data-ui="v2"] .store-android-draw-row:last-child { padding-bottom:0; border-bottom:0; }
[data-ui="v2"] .store-android-draw-row div { min-width:70px; }
[data-ui="v2"] .store-android-draw-row strong,[data-ui="v2"] .store-android-draw-row span { display:block; }
[data-ui="v2"] .store-android-draw-row strong { font-size:14px; }
[data-ui="v2"] .store-android-draw-row span { margin-top:3px; color:#9ca3af; font-size:10px; }
[data-ui="v2"] .store-android-draw-row p { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:4px; margin:0; }
[data-ui="v2"] .store-android-draw-row p b { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#e53935; color:#fff; font-size:10px; }
[data-ui="v2"] .store-android-draw-row p b.blue { background:#2563eb; }
[data-ui="v2"] .store-android-draw-row.dlt p b { background:#2563eb; }
[data-ui="v2"] .store-android-draw-row.dlt p b.blue { background:#ffa726; }
[data-ui="v2"] .store-android-draw-row.kl8 p { display:grid; flex:0 1 256px; grid-template-columns:repeat(10,minmax(18px,22px)); justify-content:end; gap:4px; margin-left:auto; }
[data-ui="v2"] .store-android-draw-row.kl8 p b { width:100%; height:auto; aspect-ratio:1; font-size:9px; }
@media (max-width:360px) {
  [data-ui="v2"] .store-android-draw-row.kl8 { gap:5px; }
  [data-ui="v2"] .store-android-draw-row.kl8 div { min-width:66px; }
  [data-ui="v2"] .store-android-draw-row.kl8 p { flex-basis:208px; grid-template-columns:repeat(10,19px); gap:2px; }
}
[data-ui="v2"] .store-android-empty { padding:18px 0 4px; color:#9ca3af; font-size:12px; text-align:center; }
[data-ui="v2"] .store-android-events { display:block; width:100%; margin-top:12px; color:#111827; text-align:left; }
[data-ui="v2"] .store-android-event-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
[data-ui="v2"] .store-android-event-grid > span { min-height:74px; padding:12px; border-radius:7px; }
[data-ui="v2"] .store-android-event-grid > span.green { background:#ecfdf5; } [data-ui="v2"] .store-android-event-grid > span.amber { background:#fffbeb; }
[data-ui="v2"] .store-android-event-grid em,[data-ui="v2"] .store-android-event-grid b { display:block; font-style:normal; }
[data-ui="v2"] .store-android-event-grid em { color:#059669; font-size:11px; } [data-ui="v2"] .store-android-event-grid .amber em { color:#d97706; }
[data-ui="v2"] .store-android-event-grid b { margin-top:6px; color:#111827; font-size:20px; }
[data-ui="v2"] .store-android-events > small { display:block; margin-top:10px; color:#9ca3af; font-size:11px; }
[data-ui="v2"] .store-android-more { padding:0; overflow:hidden; }
[data-ui="v2"] .store-android-more h2 { height:42px; margin:0; padding:0 14px; color:#111827; font-size:14px; line-height:42px; }
[data-ui="v2"] .store-android-more > div { border-top:1px solid #f3f4f6; }
[data-ui="v2"] .store-android-more button { display:grid; grid-template-columns:34px minmax(0,1fr) 16px; gap:10px; align-items:center; width:100%; min-height:54px; padding:8px 14px; border:0; border-bottom:1px solid #f3f4f6; border-radius:0; background:#fff; color:#111827; text-align:left; }
[data-ui="v2"] .store-android-more button:last-child { border-bottom:0; }
[data-ui="v2"] .store-android-more button i { display:grid; place-items:center; width:32px; height:32px; border-radius:7px; background:#eff6ff; color:#2563eb; font-size:11px; font-style:normal; font-weight:800; }
[data-ui="v2"] .store-android-more button i.red { background:#fef2f2; color:#dc2626; } [data-ui="v2"] .store-android-more button i.green { background:#ecfdf5; color:#059669; } [data-ui="v2"] .store-android-more button i.purple { background:#f5f3ff; color:#7c3aed; }
[data-ui="v2"] .store-android-more button strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .store-android-more button > span { color:#c0c6cf; font-size:22px; text-align:right; }
[data-ui="v2"] .store-android-bottom-nav { position:fixed; z-index:25; right:0; bottom:0; left:50%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:min(100%,430px); min-height:64px; padding-bottom:env(safe-area-inset-bottom); border-top:1px solid #e5e7eb; background:rgb(255 255 255 / 97%); box-shadow:0 -4px 16px rgb(15 23 42 / 6%); transform:translateX(-50%); backdrop-filter:blur(10px); }
[data-ui="v2"] .store-android-bottom-nav button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:64px; padding:6px; border:0; border-radius:0; background:transparent; color:#9ca3af; }
[data-ui="v2"] .store-android-bottom-nav button.active { color:#2563eb; }
[data-ui="v2"] .store-android-bottom-nav .ui-icon { width:23px; height:23px; }
[data-ui="v2"] .store-android-bottom-nav span { font-size:11px; font-weight:700; }

@media (max-width:700px) {
  [data-ui="v2"] .store-android-header { margin-right:-16px; margin-left:-16px; }
}

/* 店主首页沿用业务 DOM，但统一为稳定网格。 */
[data-ui="v2"] .owner-workbench-action-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
[data-ui="v2"] .owner-workbench-row-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .owner-workbench-action-card,[data-ui="v2"] .owner-workbench-row { border:1px solid var(--c-border); border-radius:var(--radius); box-shadow:none; background:#fff; }

@media (max-width:900px) {
  [data-ui="v2"] .platform-workspace { grid-template-columns:1fr; }
  [data-ui="v2"] .platform-today-panel { display:grid; grid-template-columns:1fr repeat(3,auto); gap:0 18px; align-items:center; }
  [data-ui="v2"] .platform-today-row { border:0; }
  [data-ui="v2"] .platform-today-panel > button { grid-column:1/-1; }
  [data-ui="v2"] .store-dashboard-intro { grid-template-columns:1fr; }
  [data-ui="v2"] .store-dashboard-intro > .store-visitor-access,[data-ui="v2"] .store-dashboard-intro > .store-computer-access { min-height:auto; }
  [data-ui="v2"] .store-dashboard-primary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-ui="v2"] .store-dashboard-secondary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:700px) {
  [data-ui="v2"] .platform-access-shell { display:block; min-height:100vh; padding-top:28px; }
  [data-ui="v2"] .platform-access-page { padding:0; }
  [data-ui="v2"] .platform-access-mark { width:42px; height:42px; }
  [data-ui="v2"] .platform-access-copy { margin-top:24px; }
  [data-ui="v2"] .platform-access-copy h1 { font-size:34px; }
  [data-ui="v2"] .platform-access-copy p { font-size:14px; line-height:1.75; }
  [data-ui="v2"] .platform-bind-card { margin-top:26px; padding:16px; }
  [data-ui="v2"] .platform-bind-card > div { display:grid; }
  [data-ui="v2"] .platform-bind-card button { width:100%; }
  [data-ui="v2"] .platform-access-guide { grid-template-columns:1fr; margin-top:30px; }
  [data-ui="v2"] .platform-access-guide > div { min-height:0; padding:16px; }
  [data-ui="v2"] .platform-access-guide strong { margin-top:10px; }
  [data-ui="v2"] .platform-access-links { padding-bottom:24px; }
  [data-ui="v2"] .platform-dashboard-head { align-items:flex-start; padding:6px 0 20px; }
  [data-ui="v2"] .platform-dashboard-head h1 { font-size:28px; }
  [data-ui="v2"] .platform-dashboard-head p { max-width:250px; }
  [data-ui="v2"] .platform-account-button { width:40px; min-width:40px; padding:0; justify-content:center; }
  [data-ui="v2"] .platform-account-button span { display:none; }
  [data-ui="v2"] .platform-workspace { margin-top:16px; }
  [data-ui="v2"] .platform-main-tools { grid-template-columns:1fr; }
  [data-ui="v2"] .platform-main-tool { min-height:112px; padding:16px; }
  [data-ui="v2"] .platform-tool-copy em { min-height:0; }
  [data-ui="v2"] .platform-today-panel { display:block; padding:16px; }
  [data-ui="v2"] .platform-today-row { border-bottom:1px solid #d7dfdb; }
  [data-ui="v2"] .platform-resource-section { margin-top:28px; }
  [data-ui="v2"] .platform-section-heading { align-items:flex-start; }
  [data-ui="v2"] .platform-section-heading small { max-width:130px; text-align:right; }
  [data-ui="v2"] .platform-resource-list { grid-template-columns:1fr; }
  [data-ui="v2"] .platform-home-footer,[data-ui="v2"] .store-dashboard-footer { display:block; line-height:1.8; }
  [data-ui="v2"] .platform-home-footer span,[data-ui="v2"] .store-dashboard-footer span { display:block; }
  [data-ui="v2"] .store-identity-panel { grid-template-columns:52px minmax(0,1fr); min-height:0; padding:16px; }
  [data-ui="v2"] .store-dashboard-avatar { width:52px; height:52px; }
  [data-ui="v2"] .store-dashboard-status { grid-column:1/-1; justify-self:start; }
  [data-ui="v2"] .store-dashboard-primary-grid,[data-ui="v2"] .store-dashboard-secondary-grid { grid-template-columns:1fr; }
  [data-ui="v2"] .store-dashboard-service,[data-ui="v2"] .store-dashboard-secondary-grid .store-dashboard-service { min-height:104px; padding:14px; }
  [data-ui="v2"] .store-dashboard-service > small { margin-top:9px; }
  [data-ui="v2"] .store-dashboard-primary-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:92px; padding:12px 4px; text-align:center; }
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service-icon { width:40px; height:40px; flex:0 0 40px; }
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service > strong { width:100%; align-self:auto; font-size:12px; line-height:1.3; }
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service > em,
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service > small { display:none; }
  [data-ui="v2"] .owner-workbench-action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-ui="v2"] .owner-workbench-row-list { grid-template-columns:1fr; }
  [data-ui="v2"] .store-dashboard-page .store-dashboard-intro { display:none; }
  [data-ui="v2"] .store-dashboard-page > .topbar { margin-bottom:8px; }
}

@media (max-width:340px) {
  [data-ui="v2"] .platform-dashboard-head p { max-width:210px; }
  [data-ui="v2"] .platform-main-tool { grid-template-columns:38px minmax(0,1fr); }
  [data-ui="v2"] .platform-tool-arrow { display:none; }
  [data-ui="v2"] .platform-tool-icon { width:38px; height:38px; }
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service { min-height:84px; padding-inline:2px; }
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service-icon { width:36px; height:36px; flex-basis:36px; }
  [data-ui="v2"] .store-dashboard-primary-grid .store-dashboard-service > strong { font-size:11px; }
}
/* 独立店铺域名首屏：店铺资料返回前只展示店铺骨架，避免平台首页闪现。 */
[data-ui="v2"] .store-entry-loading-page { min-height:100dvh; padding:0 0 76px; background:#f4f6f9; }
[data-ui="v2"] .store-entry-loading-header { min-height:88px; padding:calc(14px + env(safe-area-inset-top)) 18px 14px; display:flex; align-items:center; gap:12px; color:#fff; background:linear-gradient(135deg,#2868d7,#1e55bc); box-sizing:border-box; }
[data-ui="v2"] .store-entry-loading-mark { width:42px; height:42px; display:grid; place-items:center; flex:none; border:1px solid rgba(255,255,255,.55); border-radius:13px; background:rgba(255,255,255,.16); font-size:18px; font-weight:800; }
[data-ui="v2"] .store-entry-loading-header div { min-width:0; display:grid; gap:5px; }
[data-ui="v2"] .store-entry-loading-header strong { font-size:19px; line-height:1.2; }
[data-ui="v2"] .store-entry-loading-header small { color:rgba(255,255,255,.78); font-size:12px; }
[data-ui="v2"] .store-entry-loading-header > i { width:18px; height:18px; margin-left:auto; flex:none; border:2px solid rgba(255,255,255,.35); border-top-color:#fff; border-radius:50%; animation:store-entry-loading-spin .75s linear infinite; }
[data-ui="v2"] .merchant-entry-loading-page .store-entry-loading-mark img { display:block; width:100%; height:100%; object-fit:contain; }
[data-ui="v2"] .merchant-entry-exit { flex:none; margin-left:auto; padding:8px 12px; border:1px solid rgba(255,255,255,.3); border-radius:6px; background:transparent; color:inherit; font-size:12px; }
[data-ui="v2"] .merchant-entry-error { padding:24px; border-radius:12px; background:var(--xbc-surface-solid,#fff); color:var(--xbc-text,#1a2634); }
[data-ui="v2"] .merchant-entry-error p { color:var(--xbc-muted,#64748b); font-size:14px; }
[data-ui="v2"] .merchant-entry-error button { padding:10px 20px; border-radius:6px; background:#2563eb; color:#fff; }
[data-ui="v2"] .store-entry-loading-body { display:grid; gap:14px; padding:16px 12px; }
[data-ui="v2"] .store-entry-loading-tools { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:16px 12px; border-radius:14px; background:#fff; }
[data-ui="v2"] .store-entry-loading-tools span { min-height:62px; border-radius:10px; background:linear-gradient(100deg,#edf1f6 20%,#f8fafc 42%,#edf1f6 64%); background-size:220% 100%; animation:store-entry-loading-shimmer 1.25s ease-in-out infinite; }
[data-ui="v2"] .store-entry-loading-card { min-height:154px; display:grid; align-content:start; gap:15px; padding:17px; border-radius:14px; background:#fff; box-sizing:border-box; }
[data-ui="v2"] .store-entry-loading-card.compact { min-height:108px; }
[data-ui="v2"] .store-entry-loading-card i,[data-ui="v2"] .store-entry-loading-card b { display:block; height:15px; border-radius:8px; background:linear-gradient(100deg,#edf1f6 20%,#f8fafc 42%,#edf1f6 64%); background-size:220% 100%; animation:store-entry-loading-shimmer 1.25s ease-in-out infinite; }
[data-ui="v2"] .store-entry-loading-card i { width:34%; }
[data-ui="v2"] .store-entry-loading-card b { width:100%; }
[data-ui="v2"] .store-entry-loading-card b:last-child { width:72%; }
[data-ui="v2"] .store-entry-loading-nav { position:fixed; z-index:20; right:0; bottom:0; left:0; height:58px; padding-bottom:env(safe-area-inset-bottom); display:grid; grid-template-columns:repeat(3,1fr); align-items:center; background:#fff; border-top:1px solid #e8edf3; }
[data-ui="v2"] .store-entry-loading-nav span { width:34px; height:8px; justify-self:center; border-radius:6px; background:#e7ebf0; }
@keyframes store-entry-loading-spin { to { transform:rotate(360deg); } }
@keyframes store-entry-loading-shimmer { 0% { background-position:110% 0; } 100% { background-position:-110% 0; } }
@media (min-width:900px) {
  [data-ui="v2"] .store-entry-loading-page { max-width:none; padding-bottom:40px; }
  [data-ui="v2"] .store-entry-loading-header { min-height:88px; padding:18px max(24px,calc((100vw - 1180px)/2)); }
  [data-ui="v2"] .store-entry-loading-body { width:min(1180px,calc(100% - 48px)); margin:0 auto; padding:28px 0; }
  [data-ui="v2"] .store-entry-loading-tools { grid-template-columns:repeat(6,minmax(0,1fr)); }
  [data-ui="v2"] .store-entry-loading-nav { display:none; }
}

/* XBC-20261026-001: show the real kickoff date without changing homepage modules. */
.home-sports-time { display:flex; flex-direction:column; align-items:flex-start; line-height:1.5; white-space:nowrap; }
.home-sports-time > small { display:block; font-size:9px; font-weight:400; color:#64748b; white-space:nowrap; }
.mobile-shell [data-design="android-classic"] [data-home-sports-panel="mobile"] .store-mobile-match-row { grid-template-columns:58px 46px minmax(0,1fr) 20px minmax(0,1fr); }
.mobile-shell [data-design="android-classic"] .store-mobile-match-row .home-sports-time > small { font-size:9px; }

.mobile-shell [data-design="android-classic"] .store-android-card-head [data-home-sports-title] { font:inherit; color:inherit; }

/* XBC-20261029-002: one-line notice, integrated with the existing shop header. */
[data-ui="v2"] .home-notice-slot[hidden] { display:none !important; }
[data-ui="v2"] .home-pinned-notice { display:flex; align-items:center; gap:7px; width:100%; min-width:0; height:28px; margin:0; padding:0; border:0; border-radius:0; background:transparent; color:inherit; cursor:pointer; text-align:left; font:inherit; }
[data-ui="v2"] .home-pinned-notice > .ui-icon { flex:0 0 16px; width:16px; height:16px; }
[data-ui="v2"] .home-pinned-notice > em { flex:0 0 auto; padding:1px 5px; border-radius:3px; font-style:normal; font-size:10px; line-height:16px; }
[data-ui="v2"] .home-pinned-notice > span { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; line-height:20px; font-weight:500; }
[data-ui="v2"] .home-pinned-notice > .home-notice-arrow { flex-basis:14px; width:14px; height:14px; transform:rotate(-90deg); }
[data-ui="v2"] .store-android-header { flex-wrap:wrap; column-gap:0; row-gap:1px; }
[data-ui="v2"] .store-android-header > strong { flex:1; }
[data-ui="v2"] .home-notice-mobile { flex:0 0 100%; min-width:0; color:#eff6ff; }
[data-ui="v2"] .home-notice-mobile .home-pinned-notice > em { color:#fff; background:rgba(255,255,255,.12); }
[data-ui="v2"] .home-notice-mobile .home-pinned-notice:focus-visible { outline:2px solid #fff; outline-offset:1px; }

/* XBC-20261030-004: compact pinned announcements, separate detail and list targets. */
[data-ui="v2"] .home-notice-slot{display:flex;align-items:center;gap:8px}
[data-ui="v2"] .home-notice-slot .home-pinned-notice{flex:1;min-width:0}
[data-ui="v2"] .home-notice-counter{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:3px;height:28px;min-width:48px;margin:0;padding:0 2px 0 8px;border:0;border-left:1px solid currentColor;border-radius:0;background:transparent;color:inherit;font-size:11px;line-height:20px;cursor:pointer;white-space:nowrap}
[data-ui="v2"] .home-notice-counter .ui-icon{width:12px;height:12px;transform:rotate(-90deg)}
[data-ui="v2"] .home-notice-counter:focus-visible{outline:2px solid currentColor;outline-offset:1px}
[data-ui="v2"] .home-notice-rotating .home-pinned-notice>span{animation:home-notice-enter .18s ease-out}
@keyframes home-notice-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){[data-ui="v2"] .home-notice-rotating .home-pinned-notice>span{animation:none}}

/* assets/styles-v2/pages/lottery.css */
/* 阶段 2：开奖、走势与全国数字彩选号 */
[data-ui="v2"] .lottery-overview-page,[data-ui="v2"] .history-draw-page,[data-ui="v2"] .number-pick-hub-page,[data-ui="v2"] .number-pick-page,[data-ui="v2"] .random-ten-page { --content: 1180px; }
[data-ui="v2"] .topbar { min-height:56px; margin:0 0 20px; padding:0 0 16px; border-bottom:1px solid var(--c-border); background:transparent; box-shadow:none; }
[data-ui="v2"] .gradient-topbar { color:var(--c-text); }
[data-ui="v2"] .topbar-title h1 { color:var(--c-ink); font-size:26px; }
[data-ui="v2"] .topbar-title p { color:var(--c-muted); }
[data-ui="v2"] .topbar .icon-btn { width:40px; height:40px; border:1px solid var(--c-border); border-radius:6px; background:var(--c-surface); color:var(--c-text); }
[data-ui="v2"] .lottery-mode-row { width:max-content; max-width:100%; margin:0 0 20px; padding:3px; border:1px solid var(--c-border); border-radius:7px; background:var(--c-soft); }
[data-ui="v2"] .lottery-mode-row button { min-height:38px; border:0; border-radius:5px; color:var(--c-muted); }
[data-ui="v2"] .lottery-mode-row button.active { background:var(--c-surface); color:var(--c-ink); box-shadow:var(--shadow-1); }
[data-ui="v2"] .lottery-history-entry { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:14px; width:100%; margin-bottom:24px; padding:18px; border:1px solid #cbd9e3; border-radius:var(--radius); background:#f7fafc; color:var(--c-text); box-shadow:none; text-align:left; }
[data-ui="v2"] .lottery-history-entry-icon { display:grid; width:44px; height:44px; place-items:center; border-radius:6px; background:var(--c-blue); color:#fff; }
[data-ui="v2"] .lottery-history-entry em { align-self:center; color:var(--c-blue); font-style:normal; font-weight:700; }
[data-ui="v2"] .lottery-inline-section-head { margin:26px 0 12px; border:0; }
[data-ui="v2"] .lottery-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .lottery-list .lottery-inline-section-head { grid-column:1/-1; }
[data-ui="v2"] .lottery-card { min-width:0; min-height:132px; padding:16px; border:1px solid var(--c-border); border-radius:var(--radius); background:var(--c-surface); box-shadow:none; }
[data-ui="v2"] .lottery-card:hover { border-color:#abb9b2; }
[data-ui="v2"] .lottery-card.active { border-color:var(--c-blue); box-shadow:inset 3px 0 var(--c-blue); }
[data-ui="v2"] .lottery-main { min-width:0; }
[data-ui="v2"] .lottery-main small { overflow:hidden; color:var(--c-muted); text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .draw-ball { font-variant-numeric:tabular-nums; }
[data-ui="v2"] .history-query-panel { display:grid; grid-template-columns:180px minmax(260px,1fr) auto; align-items:end; gap:12px; padding:18px; border:1px solid var(--c-border); border-radius:var(--radius); background:var(--c-surface); box-shadow:none; }
[data-ui="v2"] .history-query-panel label { min-width:0; }
[data-ui="v2"] .history-query-panel select,[data-ui="v2"] .history-query-panel input { width:100%; min-height:42px; border:1px solid var(--c-border); border-radius:6px; background:#fff; color:var(--c-text); }
[data-ui="v2"] .history-query-actions { display:flex; gap:8px; }
[data-ui="v2"] .history-query-actions button { min-height:42px; border-radius:6px; }
[data-ui="v2"] .history-query-tip { grid-column:1/-1; margin:0; color:var(--c-muted); }
[data-ui="v2"] .history-result-summary { margin-top:18px; border:0; border-bottom:1px solid var(--c-border); border-radius:0; background:transparent; }
[data-ui="v2"] .history-draw-list { border:1px solid var(--c-border); border-radius:var(--radius); background:var(--c-surface); overflow:hidden; }
[data-ui="v2"] .history-draw-row { display:grid; grid-template-columns:150px minmax(0,1fr) 110px; gap:16px; border-bottom:1px solid var(--c-border); }
[data-ui="v2"] .history-draw-row:last-child { border-bottom:0; }
[data-ui="v2"] .history-query-status { border:1px dashed var(--c-border); border-radius:var(--radius); background:var(--c-surface); }
[data-ui="v2"] .number-pick-provider { margin:0 0 24px; padding:0; border:0; background:transparent; }
[data-ui="v2"] .number-pick-provider-head { margin-bottom:10px; padding-bottom:9px; border-bottom:1px solid var(--c-border); }
[data-ui="v2"] .number-pick-hub-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .number-pick-hub-item { min-width:0; min-height:146px; padding:16px; border:1px solid var(--c-border); border-radius:var(--radius); background:var(--c-surface); box-shadow:none; }
[data-ui="v2"] .number-pick-hub-item:hover { border-color:#abb9b2; transform:translateY(-1px); }
[data-ui="v2"] .number-pick-hub-icon { display:grid; width:40px; height:40px; place-items:center; border-radius:6px; background:var(--c-soft)!important; color:var(--c-blue)!important; }
[data-ui="v2"] .number-pick-hub-copy { min-width:0; }
[data-ui="v2"] .number-pick-hub-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .number-header-switch { min-height:40px; padding:0 4px 0 12px; border:0; background:transparent; color:#2563eb; font-size:13px; font-weight:700; white-space:nowrap; }
[data-ui="v2"] .number-profile-strip { display:flex; align-items:center; gap:10px; margin:0 0 10px; padding:12px; border:0; border-radius:8px; background:#fff; box-shadow:0 1px 3px rgb(15 23 42 / 8%); }
[data-ui="v2"] .number-profile-strip .avatar { flex:0 0 44px; width:44px; height:44px; border-radius:0; background:#1e293b; }
[data-ui="v2"] .number-profile-strip .profile-text { min-width:0; }
[data-ui="v2"] .number-profile-strip .profile-text strong { display:block; overflow:hidden; color:#111827; font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .number-pick-workspace { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(340px,.75fr); align-items:start; gap:16px; }
[data-ui="v2"] .number-selector-card,[data-ui="v2"] .number-ticket-card,[data-ui="v2"] .number-config-card { border:0; border-radius:8px; background:#fff; box-shadow:0 1px 3px rgb(15 23 42 / 8%); }
[data-ui="v2"] .number-pick-summary { position:sticky; top:84px; min-width:0; }
[data-ui="v2"] .number-grid { grid-template-columns:repeat(10,minmax(38px,1fr)); gap:8px; }
[data-ui="v2"] .number-ball,[data-ui="v2"] .number-position-ball { min-width:0; aspect-ratio:1; border:1px solid #ef4444; background:#fff; color:#ef4444; box-shadow:none; font-variant-numeric:tabular-nums; }
[data-ui="v2"] .number-ball.selected { border-color:var(--c-red); background:var(--c-red); color:#fff; }
[data-ui="v2"] .number-grid.back .number-ball { border-color:#2563eb; color:#2563eb; }
[data-ui="v2"] .number-grid.back .number-ball.selected { border-color:#2563eb; background:#2563eb; color:#fff; }
[data-ui="v2"] .number-pick-page.lottery-dlt .number-grid.front .number-ball { border-color:#2563eb; color:#2563eb; }
[data-ui="v2"] .number-pick-page.lottery-dlt .number-grid.front .number-ball.selected { background:#2563eb; color:#fff; }
[data-ui="v2"] .number-pick-page.lottery-dlt .number-grid.back .number-ball { border-color:#ffa726; color:#ffa726; }
[data-ui="v2"] .number-pick-page.lottery-dlt .number-grid.back .number-ball.selected { background:#ffa726; color:#fff; }
[data-ui="v2"] .number-pick-page.lottery-qxc .number-position-area:last-child .number-position-ball { border-color:#ffa726; color:#ffa726; }
[data-ui="v2"] .number-pick-page.lottery-qxc .number-position-area:last-child .number-position-ball.selected { background:#ffa726; color:#fff; }
[data-ui="v2"] .number-position-grid { grid-template-columns:repeat(10,minmax(38px,1fr)); }
[data-ui="v2"] .number-ticket-list { max-height:none; overflow:visible; }
[data-ui="v2"] .number-ticket-group + .number-ticket-group { margin-top:10px; padding-top:0; border-top:0; }
[data-ui="v2"] .number-ticket-group-head { margin-bottom:7px; padding:0 2px; }
[data-ui="v2"] .number-ticket-group-head strong { color:#475569; font-size:11px; }
[data-ui="v2"] .number-ticket-single-box,[data-ui="v2"] .number-ticket-row.multiple { overflow:hidden; border:1px solid #e2e8f0; border-radius:8px; background:#f8fafc; }
[data-ui="v2"] .number-ticket-row.single { grid-template-columns:43px minmax(0,1fr) auto; gap:4px; margin:0 9px; padding:8px 0; border-radius:0; background:transparent; }
[data-ui="v2"] .number-ticket-row.single + .number-ticket-row.single { margin-top:0; border-top:1px solid #e2e8f0; }
[data-ui="v2"] .number-ticket-row.multiple { grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:9px 8px 9px 10px; }
[data-ui="v2"] .number-ticket-index { display:flex; align-items:center; justify-content:flex-start; width:auto; height:26px; border-radius:0; background:transparent; color:#475569; font-size:11px; white-space:nowrap; }
[data-ui="v2"] .number-ticket-meta strong { color:#475569; font-size:11px; font-weight:400; }
[data-ui="v2"] .number-ticket-row.single .number-ticket-balls { margin-top:0; }
[data-ui="v2"] .number-ticket-row.multiple .number-ticket-balls,[data-ui="v2"] .number-ticket-row.multiple .number-ticket-positions { margin-top:7px; }
[data-ui="v2"] .number-delete { width:auto; height:28px; padding:0 0 0 8px; border-radius:0; background:transparent; color:#ef4444; font-size:11px; box-shadow:none; }
[data-ui="v2"] .number-mini-ball { width:23px; height:23px; color:#fff; font-size:10px; }
[data-ui="v2"] .number-mini-ball.red { background:#ef4444; color:#fff; }
[data-ui="v2"] .number-mini-ball.blue { background:#2563eb; color:#fff; }
[data-ui="v2"] .number-pick-page.lottery-dlt .number-mini-ball.red { background:#2563eb; }
[data-ui="v2"] .number-pick-page.lottery-dlt .number-mini-ball.blue { background:#ffa726; }
[data-ui="v2"] .number-random-row button { border:1px solid #dbeafe; background:#fff; color:#2563eb; box-shadow:none; }
[data-ui="v2"] .number-config-card { grid-template-columns:minmax(0,1fr) auto auto; }
[data-ui="v2"] .number-bottom-bar { position:static; margin-top:10px; border:1px solid var(--c-border); border-radius:var(--radius); box-shadow:none; }
[data-ui="v2"] .random-ten-workspace { display:grid; grid-template-columns:220px minmax(0,1fr) 220px; align-items:start; gap:14px; }
[data-ui="v2"] .random-ten-list { border:1px solid var(--c-border); border-radius:var(--radius); box-shadow:none; }
[data-ui="v2"] .random-ten-row { min-width:0; border-bottom-color:var(--c-border); }
[data-ui="v2"] .random-ten-row .balls { display:flex; flex-wrap:wrap; gap:6px; }
[data-ui="v2"] .random-ten-actions button { border-radius:6px; box-shadow:none; }
[data-ui="v2"] .ssq-trend-panel { border:1px solid var(--c-border); border-radius:var(--radius); background:var(--c-surface); box-shadow:none; }
[data-ui="v2"] .ssq-trend-scroll { overscroll-behavior-inline:contain; scrollbar-gutter:stable; }
[data-ui="v2"] .ssq-trend-table { font-variant-numeric:tabular-nums; }
[data-ui="v2"] .ssq-trend-periods button,[data-ui="v2"] .ssq-trend-options button,[data-ui="v2"] .lottery-trend-type-switch button { border-radius:6px; }

/* 用户手机版走势随机工具：沿用蓝白风格，与原预选号码共用表格列。 */
[data-design="android-classic"] .lottery-trend-random-tool {
  position: sticky; left: 0; box-sizing: border-box; max-width: 100%;
  margin: 0; padding: 12px; border-top: 1px solid #dbe5f0;
  background: #fff; color: #26364a; font-size: 12px;
  text-align: left; white-space: normal; line-height: 1.5;
}
[data-design="android-classic"] .lottery-trend-random-controls-row > td { height: auto; border-right: 0; background: #fff; }
[data-design="android-classic"] .lottery-trend-random-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
[data-design="android-classic"] .lottery-trend-random-title { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; color: #24364b; font-size: 13px; }
[data-design="android-classic"] .lottery-trend-random-title svg { width: 17px; height: 17px; color: #2563eb; }
[data-design="android-classic"] .lottery-trend-random-controls.with-count .lottery-trend-random-title { grid-column: auto; }
[data-design="android-classic"] .lottery-trend-random-count { display: inline-flex; align-items: center; justify-self: end; gap: 6px; margin: 0; color: #61738b; white-space: nowrap; }
[data-design="android-classic"] .lottery-trend-random-count select { width: 78px; min-height: 36px; height: 36px; padding: 0 8px; border: 1px solid #c9dcfa; border-radius: 5px; background: #fff; color: #2563eb; font: inherit; cursor: pointer; }
[data-design="android-classic"] .lottery-trend-random-modes,
[data-design="android-classic"] .lottery-trend-random-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; min-width: 0; padding: 3px; border: 1px solid #dbe5f0; border-radius: 7px; background: #f3f7fc; }
[data-design="android-classic"] .lottery-trend-random-modes { grid-column: 1 / -1; }
[data-design="android-classic"] .lottery-trend-random-tool button { min-width: 0; min-height: 36px; padding: 0 6px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #61738b; font: inherit; white-space: nowrap; cursor: pointer; }
[data-design="android-classic"] .lottery-trend-random-modes .active,
[data-design="android-classic"] .lottery-trend-random-periods .active { border-color: #c9dcfa; background: #fff; color: #2563eb; font-weight: 700; }
[data-design="android-classic"] .lottery-trend-random-tool .lottery-trend-random-start { min-width: 84px; border-color: #2563eb; background: #2563eb; color: #fff; font-weight: 700; }
[data-design="android-classic"] .lottery-trend-random-hint,
[data-design="android-classic"] .lottery-trend-random-note { margin: 8px 0 0; color: #6b7b91; font-size: 11px; line-height: 1.55; }
[data-design="android-classic"] .lottery-trend-random-preview-row td { background: #f8fafc; }
[data-design="android-classic"] .lottery-trend-random-preview-row .ssq-preselection-label { cursor: default; }
[data-design="android-classic"] .lottery-trend-random-preview-row .ssq-preselection-cell button:disabled { opacity: 1; cursor: default; }
[data-design="android-classic"] .lottery-trend-random-add-cell { padding: 0 4px; }
[data-design="android-classic"] .lottery-trend-random-preview-row > .lottery-trend-random-add-cell,
[data-design="android-classic"] .lottery-trend-random-preview-row > .preselection-empty { border-left: 0; border-right: 0; }
[data-design="android-classic"] .lottery-trend-random-add { display: block; width: 100%; height: 24px; min-height: 0; padding: 0 3px; border: 1px solid #c9dcfa; border-radius: 4px; background: #fff; color: #2563eb; font-size: 11px; font-weight: 700; line-height: 22px; white-space: nowrap; cursor: pointer; }
[data-design="android-classic"] .lottery-trend-random-add:disabled,
[data-design="android-classic"] .lottery-trend-random-tool button:disabled { opacity: .5; cursor: not-allowed; }
[data-design="android-classic"] .lottery-trend-random-add:focus-visible,
[data-design="android-classic"] .lottery-trend-random-tool button:focus-visible { outline: 2px solid #2563eb; outline-offset: 1px; }
[data-design="android-classic"][data-trend-performance="true"] .ssq-trend-scroll { contain: layout paint; }
[data-design="android-classic"][data-trend-performance="true"] .ssq-trend-stage { transform: translateZ(0); }
@media (max-width:900px) {
  [data-ui="v2"] .lottery-list { grid-template-columns:1fr; }
  [data-ui="v2"] .history-query-panel { grid-template-columns:1fr 1fr; }
  [data-ui="v2"] .history-number-query { grid-column:2; }
  [data-ui="v2"] .history-query-actions { grid-column:1/-1; }
  [data-ui="v2"] .number-pick-hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-ui="v2"] .number-pick-workspace { grid-template-columns:1fr; }
  [data-ui="v2"] .number-pick-summary { position:static; }
  [data-ui="v2"] .random-ten-workspace { grid-template-columns:1fr; }
  [data-ui="v2"] .random-ten-info { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
}
@media (max-width:600px) {
  [data-ui="v2"] .topbar { margin-bottom:14px; }
  [data-ui="v2"] .topbar-title h1 { font-size:21px; }
  [data-ui="v2"] .lottery-history-entry { grid-template-columns:40px minmax(0,1fr); padding:14px; }
  [data-ui="v2"] .lottery-history-entry em { display:none; }
  [data-ui="v2"] .lottery-card { min-height:122px; padding:14px 12px; }
  [data-ui="v2"] .lottery-main small { white-space:normal; }
  [data-ui="v2"] .history-query-panel { grid-template-columns:1fr; padding:14px; }
  [data-ui="v2"] .history-number-query,[data-ui="v2"] .history-query-actions { grid-column:1; }
  [data-ui="v2"] .history-query-actions button { flex:1; }
  [data-ui="v2"] .history-draw-row { grid-template-columns:1fr auto; gap:8px; }
  [data-ui="v2"] .history-draw-numbers { grid-column:1/-1; grid-row:2; }
  [data-ui="v2"] .history-draw-distance { grid-column:2; grid-row:1; }
  [data-ui="v2"] .number-pick-hub-grid { grid-template-columns:1fr; }
  [data-ui="v2"] .number-pick-hub-item { min-height:104px; }
  [data-ui="v2"] .number-pick-page { padding:0 12px 92px; background:#f5f7fa; }
  [data-ui="v2"] .number-pick-page > .topbar { position:sticky; top:0; z-index:24; min-height:calc(56px + env(safe-area-inset-top)); margin:0 -12px 12px; padding:env(safe-area-inset-top) 4px 0; border:0; background:#fff; box-shadow:0 1px 0 #eef2f7; }
  [data-ui="v2"] .number-pick-page > .topbar .icon-btn { width:48px; height:48px; min-height:48px; margin:0; padding:0; border:0; background:transparent; color:#111827; font-size:28px; }
  [data-ui="v2"] .number-pick-page > .topbar .topbar-title { position:absolute; top:calc(50% + env(safe-area-inset-top) / 2); left:50%; width:max-content; max-width:calc(100% - 150px); transform:translate(-50%,-50%); text-align:center; }
  [data-ui="v2"] .number-pick-page > .topbar .topbar-title h1,[data-ui="v2"] .number-pick-page > .topbar .topbar-title h1::first-letter { overflow:hidden; color:#1e293b; font-size:17px; text-overflow:ellipsis; white-space:nowrap; }
  [data-ui="v2"] .number-pick-page > .topbar .topbar-right { margin-left:auto; }
  [data-ui="v2"] .number-profile-strip { margin-bottom:0; }
  [data-ui="v2"] .number-pick-workspace { display:flex; flex-direction:column; gap:0; }
  [data-ui="v2"] .number-pick-builder,[data-ui="v2"] .number-pick-summary { display:contents; }
  [data-ui="v2"] .number-selector-card,[data-ui="v2"] .number-ticket-card,[data-ui="v2"] .number-config-card { width:100%; margin-top:10px; padding:12px; }
  [data-ui="v2"] .number-pick-summary { position:static; }
  [data-ui="v2"] .number-grid { grid-template-columns:repeat(7,minmax(34px,1fr)); gap:6px 4px; }
  [data-ui="v2"] .number-position-grid { grid-template-columns:repeat(5,minmax(38px,1fr)); }
  [data-ui="v2"] .number-config-card { gap:8px; }
  [data-ui="v2"] .number-stepper { grid-template-columns:auto 34px 42px 34px; gap:6px; }
  [data-ui="v2"] .number-bottom-bar { position:fixed; width:min(100%,430px); margin:0; border:0; border-radius:0; }
  [data-ui="v2"] .random-ten-info { grid-template-columns:1fr; }
  [data-ui="v2"] .random-ten-row { grid-template-columns:26px minmax(0,1fr); }
}
@media (max-width:360px) {
  [data-ui="v2"] .number-grid { grid-template-columns:repeat(6,minmax(34px,1fr)); }
  [data-ui="v2"] .lottery-draw-balls { gap:4px; }
  [data-ui="v2"] .draw-ball { width:27px; height:27px; font-size:12px; }
}
/* XBC-20261024-016: native screenshots and role-specific App download. */
#app .random-ten-page .random-app-preview {
  margin: 16px 0 24px; padding: 20px;
  color: var(--p-ink, var(--c-ink, #233146));
  background: var(--p-panel, var(--c-surface, #fff));
  border: 1px solid var(--p-line, var(--c-border, #e2e8f0)); border-radius: 10px;
}
#app .random-app-preview-header { display:flex; align-items:center; justify-content:space-between; gap:20px; }
#app .random-app-preview-header > div { min-width:0; }
#app .random-app-preview-label { color:var(--p-link, #2563eb); font-size:11px; font-weight:600; letter-spacing:.08em; }
#app .random-app-preview h2 { margin:7px 0 8px; font-size:20px; line-height:1.5; color:inherit; }
#app .random-app-preview-header p { margin:0; font-size:13px; line-height:1.8; color:var(--p-subtle, #66768b); }
#app .random-app-preview-download { display:flex; flex-direction:column; align-items:center; gap:8px; flex:none; }
#app .random-app-preview-download > span { font-size:11px; color:var(--p-subtle, #66768b); }
#app .random-ten-page .random-app-download { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 18px; border-radius:6px; background:#2563eb; color:#fff; text-decoration:none; font-size:14px; line-height:1.5; font-weight:600; }
#app .random-app-download .ui-icon { width:18px; height:18px; }
#app .random-app-preview-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:20px; }
#app .random-app-preview-gallery figure { min-width:0; margin:0; }
#app .random-app-preview-gallery a { display:block; border-radius:7px; overflow:hidden; background:#f4f4f4; border:1px solid var(--p-line, #e2e8f0); }
#app .random-app-preview-gallery img { display:block; width:100%; height:auto; aspect-ratio:1224 / 2700; object-fit:contain; }
#app .random-app-preview-gallery figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px 8px; margin-top:9px; font-size:13px; line-height:1.6; }
#app .random-app-preview-gallery figcaption span { font-size:11px; color:var(--p-subtle, #66768b); }
#app .random-app-preview-note { margin:16px 0 0; font-size:11px; line-height:1.8; color:var(--p-subtle, #66768b); }
#app .random-ten-page .random-web-experience-title { margin:0 0 14px; font-size:16px; color:var(--p-ink, #233146); }
#app .random-app-preview a:focus-visible { outline:3px solid #e8a842; outline-offset:3px; }
@media(max-width:900px) {
  #app .random-app-preview-header { align-items:flex-start; flex-wrap:wrap; gap:16px; }
  #app .random-app-preview-download { align-items:flex-start; }
  #app .random-app-preview-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:599px) {
  #app .random-ten-page .random-app-preview { margin:14px 0 20px; padding:16px 12px; }
  #app .random-app-preview h2 { font-size:18px; }
  #app .random-app-preview-header p { font-size:12px; }
  #app .random-app-preview-download { width:100%; align-items:stretch; text-align:center; }
  #app .random-app-preview-gallery { gap:14px 10px; margin-top:18px; }
}

/* assets/styles-v2/pages/sports-football.css */
/* 阶段 3：球赛选择与足球资料 */
[data-ui="v2"] .sports-page,[data-ui="v2"] .sports-detail-page,[data-ui="v2"] .selection-page,[data-ui="v2"] .football-home-page { --content:1240px; }
[data-ui="v2"] .store-sports-navigator { display:grid; grid-template-columns:260px minmax(0,1fr); gap:14px; margin-bottom:12px; padding:14px; border:1px solid var(--c-border); border-left:3px solid var(--c-gold); border-radius:var(--radius); background:#fff; }
[data-ui="v2"] .store-sports-identity { display:flex; align-items:center; gap:10px; min-width:0; padding-right:14px; border-right:1px solid var(--c-border); }
[data-ui="v2"] .store-sports-avatar { width:42px; height:42px; flex:0 0 42px; }
[data-ui="v2"] .store-sports-identity div { min-width:0; }
[data-ui="v2"] .store-sports-identity span,[data-ui="v2"] .store-sports-identity strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .store-sports-identity span { color:var(--c-muted); font-size:11px; }
[data-ui="v2"] .store-sports-identity em { margin-left:auto; color:var(--c-muted); font-size:11px; white-space:nowrap; }
[data-ui="v2"] .store-sports-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
[data-ui="v2"] .store-sports-tabs button { min-width:0; padding:10px 12px; border:1px solid var(--c-border); border-radius:6px; background:var(--c-soft); text-align:left; }
[data-ui="v2"] .store-sports-tabs button strong,[data-ui="v2"] .store-sports-tabs button span { display:block; }
[data-ui="v2"] .store-sports-tabs button span { margin-top:3px; color:var(--c-muted); font-size:11px; }
[data-ui="v2"] .store-sports-tabs button.active { border-color:var(--c-green); background:#f2f8f5; box-shadow:inset 0 0 0 1px var(--c-green); }
[data-ui="v2"] .sports-style-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 16px; box-shadow:none; }
[data-ui="v2"] .sports-style-head { min-width:230px; }
[data-ui="v2"] .sports-style-segment { width:auto; min-width:360px; padding:3px; border:1px solid var(--c-border); border-radius:7px; background:var(--c-soft); }
[data-ui="v2"] .sports-style-segment button { border-radius:5px; }
[data-ui="v2"] .sports-style-segment button.active { background:#fff; color:var(--c-ink); box-shadow:var(--shadow-1); }
[data-ui="v2"] .sports-style-surface { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:12px; }
[data-ui="v2"] .sports-expired-toggle { display:flex; min-height:38px; align-items:center; justify-content:flex-end; gap:8px; margin:8px 14px; border:0; background:transparent; color:#64748b; font-size:13px; }
[data-ui="v2"] .sports-expired-toggle i { position:relative; width:34px; height:20px; border-radius:10px; background:#cbd5e1; transition:.18s; }
[data-ui="v2"] .sports-expired-toggle i::after { content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(15,23,42,.25); transition:.18s; }
[data-ui="v2"] .sports-expired-toggle.active { color:#2563eb; }
[data-ui="v2"] .sports-expired-toggle.active i { background:#2563eb; }
[data-ui="v2"] .sports-expired-toggle.active i::after { transform:translateX(14px); }
[data-ui="v2"] .sports-mobile-filter-row { display:flex; min-height:52px; align-items:stretch; gap:6px; margin:8px -6px 10px; padding:5px; border:1px solid #dbe5f1; border-radius:10px; background:#fff; box-shadow:0 2px 8px rgba(37,99,235,.06); }
[data-ui="v2"] .sports-mobile-filter-row .sports-expired-toggle { min-width:0; min-height:40px; flex:1 1 auto; justify-content:center; margin:0; padding:0 9px; border-radius:7px; background:#f6f8fb; color:#475569; font-weight:500; white-space:nowrap; }
[data-ui="v2"] .sports-mobile-filter-row .sports-expired-toggle.active { background:#eff6ff; color:#2563eb; }
[data-ui="v2"] .sports-inline-league { display:flex; min-width:104px; max-width:138px; min-height:40px; align-items:center; justify-content:center; gap:6px; padding:0 10px; border:1px solid #bfdbfe; border-radius:7px; background:#eff6ff; color:#2563eb; font-size:13px; font-weight:600; white-space:nowrap; }
[data-ui="v2"] .sports-inline-league span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .sports-inline-league .sports-filter-chevron { width:18px; height:18px; flex:0 0 18px; padding:4px; border-radius:50%; background:#dbeafe; color:#2563eb; stroke-width:2.2; }
[data-ui="v2"] .option-btn.expired { opacity:1; cursor:not-allowed; border-color:#cbd5e1!important; background:#e2e8f0!important; color:#94a3b8!important; box-shadow:none!important; }
[data-ui="v2"] .match-card.is-expired,[data-ui="v2"] .sports-three-card.is-expired,[data-ui="v2"] .sports-north-card.is-expired,[data-ui="v2"] .match-summary-card.is-expired,[data-ui="v2"] .detail-card.is-expired { border-color:#cbd5e1!important; background:#f1f5f9!important; color:#64748b!important; }
[data-ui="v2"] .is-expired .sports-all-plays,[data-ui="v2"] .is-expired .sports-handicap,[data-ui="v2"] .is-expired .sports-score-outcome-section { border-color:#cbd5e1!important; background:#e2e8f0!important; color:#64748b!important; }
[data-ui="v2"] .sports-expired-badge { display:inline-flex; min-height:20px; align-items:center; padding:0 7px; border:1px solid #cbd5e1; border-radius:10px; background:#e2e8f0; color:#64748b!important; font-size:11px; font-weight:700; line-height:18px; white-space:nowrap; }
[data-ui="v2"] .day-group { min-width:0; overflow:hidden; border:1px solid var(--c-border); border-radius:var(--radius); background:var(--c-surface); }
[data-ui="v2"] .day-head { border-bottom:1px solid var(--c-border); background:var(--c-soft); }
[data-ui="v2"] .day-head em { display:flex; align-items:center; gap:4px; font-style:normal; }
[data-ui="v2"] .day-head .sports-day-chevron { width:15px; height:15px; flex:0 0 15px; color:#94a3b8; stroke-width:2.2; transition:transform .18s ease; }
[data-ui="v2"] .day-head .sports-day-chevron.is-up { transform:rotate(180deg); }
[data-ui="v2"] .match-card { min-width:0; margin:0; padding:14px; border:0; border-bottom:1px solid var(--c-border); border-radius:0; background:#fff; box-shadow:none; }
[data-ui="v2"] .match-card:last-child { border-bottom:0; }
[data-ui="v2"] .match-title { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .league-badge { max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .play-row { grid-template-columns:70px repeat(3,minmax(0,1fr)); }
[data-ui="v2"] .play-row.two { grid-template-columns:70px repeat(2,minmax(0,1fr)); }
[data-ui="v2"] .option-btn { min-width:0; border-color:var(--c-border); border-radius:5px; background:var(--c-soft); font-variant-numeric:tabular-nums; }
[data-ui="v2"] .option-btn.selected { border-color:var(--c-red); background:#fff5f3; color:var(--c-red); box-shadow:inset 0 0 0 1px var(--c-red); }
[data-ui="v2"] .option-btn.trend-up:not(.selected) { color:var(--c-red); }
[data-ui="v2"] .option-btn.trend-down:not(.selected) { color:var(--c-green); }
[data-ui="v2"] .match-summary-card { border:1px solid var(--c-border); border-left:3px solid var(--c-blue); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .detail-card { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .option-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
[data-ui="v2"] .option-grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
[data-ui="v2"] .bet-config-card { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; padding:0; overflow:hidden; }
[data-ui="v2"] .bet-config-card button { border:0; border-right:1px solid var(--c-border); border-radius:0; background:#fff; }
[data-ui="v2"] .amount-card { display:grid; grid-template-columns:1fr auto; align-items:center; }
[data-ui="v2"] .selection-card { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .selection-option-list em { border:1px solid var(--c-border); border-radius:4px; background:var(--c-soft); }
[data-ui="v2"] .selection-option-list b { color:var(--c-muted); font-variant-numeric:tabular-nums; }
[data-ui="v2"] .preview-wrap { max-width:760px; margin:auto; }
[data-ui="v2"] .preview-card { border:1px solid var(--c-border); border-radius:var(--radius); box-shadow:none; }
[data-ui="v2"] .football-home-main { padding:0; border:0; background:transparent; }
[data-ui="v2"] .football-home-league-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .football-home-league-card { min-width:0; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .football-home-match-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .football-home-match-card { min-width:0; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .football-home-teams strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .football-home-odds-row,[data-ui="v2"] .football-home-handicap-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
[data-ui="v2"] .football-home-odds-row>span,[data-ui="v2"] .football-home-handicap-row>span { min-width:0; font-variant-numeric:tabular-nums; }
[data-ui="v2"] .football-match-overview,[data-ui="v2"] .football-league-overview,[data-ui="v2"] .football-match-module-row,[data-ui="v2"] .football-league-table-rows,[data-ui="v2"] .football-schedule-card { border-color:var(--c-border); border-radius:var(--radius); box-shadow:none; }
[data-ui="v2"] .football-match-overview-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1020px) {
  [data-ui="v2"] .sports-style-surface { grid-template-columns:1fr; }
  [data-ui="v2"] .football-home-league-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-ui="v2"] .football-home-match-list { grid-template-columns:1fr; }
}
@media (max-width:700px) {
  [data-ui="v2"] .store-sports-navigator { display:block; padding:12px; }
  [data-ui="v2"] .store-sports-identity { padding:0 0 10px; border-right:0; border-bottom:1px solid var(--c-border); }
  [data-ui="v2"] .store-sports-tabs { margin-top:10px; }
  [data-ui="v2"] .store-sports-tabs button { padding:9px 7px; text-align:center; }
  [data-ui="v2"] .store-sports-tabs button span { display:none; }
  [data-ui="v2"] .sports-style-card { display:block; }
  [data-ui="v2"] .sports-style-segment { width:100%; min-width:0; margin-top:10px; }
  [data-ui="v2"] .play-row { grid-template-columns:54px repeat(3,minmax(0,1fr)); }
  [data-ui="v2"] .play-row.two { grid-template-columns:54px repeat(2,minmax(0,1fr)); }
  [data-ui="v2"] .option-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-ui="v2"] .selection-match-title { min-width:0; }
  [data-ui="v2"] .selection-match-title strong { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  [data-ui="v2"] .football-home-league-grid { grid-template-columns:1fr; }
  [data-ui="v2"] .football-match-overview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
[data-ui="v2"] .store-android-sports-page { background:#f8fafc; }
[data-ui="v2"] .store-android-sports-page .sports-section-title { margin:12px 14px 0; padding:0; }
[data-ui="v2"] .store-android-sports-page .sports-section-title h3 { color:#1e293b; font-size:17px; }
[data-ui="v2"] .store-android-sports-page .sports-section-title .title-action { min-width:64px; min-height:36px; padding:0 12px; border:1px solid #e2e8f0; border-radius:6px; background:#fff; color:#2563eb; font-size:13px; font-weight:700; }
[data-ui="v2"] .store-android-sports-page .sports-style-surface { display:block; margin:0 14px 16px; }
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-football,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-basketball,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-north_single { margin-right:-6px; margin-left:-6px; }
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-football .sports-three-card,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-basketball .sports-three-card,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-north_single .sports-north-card { margin-top:0; margin-bottom:0; border-radius:0; }
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-football .day-head + .sports-three-card,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-basketball .day-head + .sports-three-card,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-north_single .day-head + .sports-north-card { margin-top:10px; }
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-football .sports-three-card:last-child,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-basketball .sports-three-card:last-child,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-north_single .sports-north-card:last-child { margin-bottom:10px; }
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-football .sports-three-card + .sports-three-card,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-basketball .sports-three-card + .sports-three-card,
[data-ui="v2"] .store-android-sports-page .sports-style-surface.sports-tab-north_single .sports-north-card + .sports-north-card { border-top:0; }
[data-ui="v2"] .store-android-sports-page .day-group { margin-top:12px; border:0; border-radius:8px; box-shadow:0 1px 3px rgb(15 23 42 / 8%); }
[data-ui="v2"] .store-android-sports-page .day-head { background:#f1f5f9; }
[data-ui="v2"] .store-android-sports-page .match-card { padding:12px; }
[data-ui="v2"] .store-android-sports-page .match-action-row { padding-bottom:0; }
@media (max-width:360px) {
  [data-ui="v2"] .play-row { grid-template-columns:46px repeat(3,minmax(0,1fr)); }
  [data-ui="v2"] .option-btn { padding-inline:3px; font-size:11px; }
  [data-ui="v2"] .football-home-odds-row>span,[data-ui="v2"] .football-home-handicap-row>span { padding-inline:3px; font-size:11px; }
}

/* XBC-20261021-008: missing markets occupy the same grid, single flags are per play. */
[data-ui="v2"] .sports-option-placeholder {display:flex;align-items:center;justify-content:center;gap:5px;background:#f1f5f9!important;color:#94a3b8!important;cursor:not-allowed;box-shadow:none!important;}
[data-ui="v2"] .sports-option-placeholder b {font-weight:500;}
[data-ui="v2"] .option-btn.is-single,
#sheet-root .sports-all-plays-sheet .option-btn.is-single {outline:1px solid #dc2626;outline-offset:-1px;}
[data-ui="v2"] .sports-single-tag,
#sheet-root .sports-all-plays-sheet .sports-single-tag {display:inline-flex;align-items:center;justify-content:center;font-size:9px;line-height:12px;padding:0 2px;color:#916114;background:#fff5db;border:1px solid #dc2626;border-radius:2px;white-space:nowrap;}
[data-ui="v2"] .sports-handicap.has-single {display:flex;flex-direction:column;justify-content:center;gap:1px;}
[data-ui="v2"] .sports-popup-market h3 .sports-single-tag,
#sheet-root .sports-all-plays-sheet .sports-popup-market h3 .sports-single-tag {margin-left:7px;vertical-align:middle;}

/* XBC-20261022-001: traditional positional choices; no accumulator odds. */
.traditional-workspace{min-width:0;color:#1e293b}.traditional-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid #dce5f2;background:#fff}.traditional-tabs button{min-width:0;min-height:48px;padding:10px 5px;border:0;border-bottom:3px solid transparent;background:transparent;font-size:14px;font-weight:700;color:#64748b;white-space:normal}.traditional-tabs button.active{color:#2563eb;border-bottom-color:#2563eb;background:#eff6ff}.traditional-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0}.traditional-period{display:flex;align-items:center;gap:8px;flex:1;min-width:200px}.traditional-period select{flex:1;width:100%;min-width:0;min-height:40px;padding:8px;border:1px solid #dce5f2;border-radius:6px;background:#fff;color:inherit}.traditional-toolbar a{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:#2563eb;white-space:nowrap}.traditional-toolbar a svg{width:14px;height:14px}.traditional-modes{display:flex;gap:8px;margin-bottom:12px}.traditional-modes button{padding:9px 18px;border:1px solid #dbe5f4;border-radius:6px;color:#64748b;background:#fff}.traditional-modes button.active{border-color:#2563eb;background:#eff6ff;color:#2563eb}.traditional-notice{padding:12px;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-size:13px}.traditional-notice p{margin:0 0 6px}.traditional-notice small{font-size:11px;line-height:1.6}.traditional-rule-hint{padding:12px 2px;color:#64748b;font-size:12px;line-height:1.7}.traditional-rule-hint span{display:block;font-size:11px}.traditional-matches{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff}.traditional-match{padding:12px 14px;border-bottom:1px solid #e2e8f0}.traditional-match:last-child{border-bottom:0}.traditional-match>header{display:flex;align-items:center;gap:10px;color:#64748b;font-size:11px;flex-wrap:wrap}.traditional-position{min-width:24px;font-size:13px;font-weight:700;color:#2563eb}.traditional-match time{margin-left:auto;white-space:nowrap}.traditional-match-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:16px;align-items:center;padding-top:10px}.traditional-teams{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);gap:8px;align-items:center;font-size:14px;text-align:center}.traditional-teams strong{overflow-wrap:anywhere}.traditional-teams>span{font-size:11px;color:#94a3b8}.traditional-picks{min-width:0;display:grid;gap:6px}.traditional-position-row{display:flex;gap:6px;align-items:center}.traditional-position-row>label{font-size:11px;color:#64748b;flex:0 0 49px;text-align:center}.traditional-position-row>div{display:flex;flex:1;min-width:0;gap:5px}.traditional-position-row button{flex:1;min-width:0;border:1px solid #dbe5f4;border-radius:4px;background:#fff;min-height:39px;color:#334155;display:flex;justify-content:center;align-items:center;gap:6px;font-size:13px;padding:4px}.traditional-position-row button b{font-size:15px}.traditional-position-row button span{font-size:11px}.traditional-position-row button.selected{background:#2563eb;border-color:#2563eb;color:#fff}.traditional-position-row button:disabled{color:#94a3b8;background:#f1f5f9}.traditional-result{margin:8px 0 0;font-size:11px;color:#64748b}.traditional-plan-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e8f0}.traditional-fold{display:flex;align-items:center;gap:10px;font-size:13px}.traditional-fold button{width:28px;height:30px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px}.traditional-total{display:grid;gap:3px;flex:1;text-align:right;font-size:12px;color:#64748b}.traditional-total strong{font-size:16px;color:#dc2626}.traditional-empty{text-align:center;padding:50px 15px;color:#94a3b8}.traditional-plan-bar .primary-btn{width:auto;min-width:140px;padding:12px 16px}
@media(max-width:1000px){.traditional-match-body{grid-template-columns:minmax(0,1fr)}.traditional-match-body{gap:10px}.traditional-teams{font-size:14px}.traditional-picks{gap:6px}}
@media(max-width:600px){.traditional-page .traditional-workspace{padding:0 6px}.traditional-tabs button{font-size:12px}.traditional-toolbar{gap:10px}.traditional-period{min-width:240px;flex-basis:100%}.traditional-match{padding:11px 9px}.traditional-match time{font-size:10px}.traditional-plan-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.traditional-plan-bar>.ghost-btn{justify-self:start}.traditional-fold{justify-self:end}.traditional-total{text-align:left}.traditional-plan-bar .primary-btn{min-width:140px}.traditional-total strong{font-size:15px}}

.owner-workbench-action-grid>[data-route="traditional-football"]{grid-column:1/-1}

/* XBC-20261031-016: shared traditional layout, approved four-play design. */
.tr-redesign{--tr-panel:var(--p-panel,#fff);--tr-text:var(--p-ink,#20314b);--tr-sub:var(--p-subtle,#7a899f);--tr-line:var(--p-line,#dfe7f1);--tr-soft:var(--p-soft,#f3f7fd);--tr-blue:var(--p-blue,#285eaf);color:var(--tr-text)}
.tr-redesign .traditional-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.tr-redesign .tr-toolbar{margin:0;padding:10px 12px;min-height:60px;gap:10px;flex-wrap:nowrap;border-bottom:1px solid var(--tr-line);background:var(--tr-panel)}
.tr-redesign .tr-period-stack{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.tr-redesign .tr-period-stack select{min-width:0;max-width:215px;background:var(--tr-panel);color:var(--tr-text);border:1px solid var(--tr-line);padding:8px;border-radius:4px;font-size:13px;font-weight:650}
.tr-redesign .tr-deadline{font-size:11px;color:var(--tr-sub);white-space:nowrap}
.tr-redesign .tr-refresh{display:flex;align-items:center;justify-content:center;gap:4px;padding:6px;color:var(--tr-sub);font-size:12px}
.tr-redesign .tr-refresh svg{width:16px;height:16px}
.tr-redesign .tr-warning{padding:10px 12px;margin:0;background:var(--tr-soft);color:var(--tr-blue);font-size:12px;line-height:1.6}
.tr-redesign .tr-source{font-size:10px;color:var(--tr-sub);line-height:1.8;margin:12px 0 0}
.tr-redesign .tr-mobile-scroll>.tr-source{padding:10px 12px;margin:0}
.traditional-mobile.tr-redesign{position:fixed;inset:0;z-index:15;display:flex;flex-direction:column;padding:0!important;background:#fff;height:100vh;height:100dvh;overflow:hidden}
.traditional-mobile.tr-redesign>.topbar{position:relative!important;top:auto!important;flex:none;margin:0;border-radius:0;min-height:52px}
.traditional-mobile.tr-redesign>.traditional-tabs{flex:none;height:44px}
.traditional-mobile.tr-redesign .traditional-tabs button{font-size:12px;min-height:44px;padding:0 3px;white-space:nowrap}
.traditional-mobile.tr-redesign>.tr-toolbar{flex:none;height:62px}
.traditional-mobile.tr-redesign .tr-period-stack{align-items:flex-start;flex-direction:column;gap:4px}
.traditional-mobile.tr-redesign .tr-period-stack select{padding:0;border:0;background:none;font-size:13px}
.traditional-mobile.tr-redesign .tr-deadline{font-size:10px}
.traditional-mobile.tr-redesign .tr-refresh{width:34px;height:34px;background:#f3f7fd;border:1px solid #dfe7f1;border-radius:4px}
.traditional-mobile.tr-redesign .tr-refresh>span,.traditional-mobile.tr-redesign .tr-rules{display:none}
.traditional-mobile.tr-redesign .tr-mobile-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.traditional-mobile.tr-redesign .traditional-matches{border:0;border-radius:0}
.traditional-mobile.tr-redesign .traditional-match{padding:10px 12px 12px;border-bottom:1px solid var(--tr-line);scroll-margin-top:4px}
.traditional-mobile.tr-redesign .traditional-match>header{display:grid;grid-template-columns:16px 27px max-content minmax(0,1fr);gap:4px;align-items:center;height:25px;margin-bottom:7px;flex-wrap:nowrap}
.traditional-mobile.tr-redesign .traditional-position{min-width:0;font-size:10px;white-space:nowrap}
.traditional-mobile.tr-redesign .tr-league{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.traditional-mobile.tr-redesign .traditional-match time{margin:0;font-size:9px;letter-spacing:-.2px;white-space:nowrap}
.traditional-mobile.tr-redesign .traditional-teams{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:2px;font-size:12px}
.traditional-mobile.tr-redesign .traditional-teams strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.2px;line-height:20px}
.traditional-mobile.tr-redesign .traditional-teams>span{font-size:9px}
.traditional-mobile.tr-redesign .traditional-picks{display:grid;gap:6px}
.traditional-mobile.tr-redesign .traditional-position-row{gap:6px}
.traditional-mobile.tr-redesign .traditional-position-row>label{flex:0 0 30px;font-size:10px}
.traditional-mobile.tr-redesign .traditional-match.single .traditional-position-row>label{display:none}
.traditional-mobile.tr-redesign .traditional-position-row>div{gap:4px}
.traditional-mobile.tr-redesign .traditional-position-row button{height:39px;min-height:39px;padding:4px;gap:4px;border-radius:3px;font-size:13px}
.traditional-mobile.tr-redesign .traditional-position-row button b{font-size:15px}
.traditional-mobile.tr-redesign .traditional-position-row button span{font-size:11px}
.traditional-mobile.tr-redesign .tr-mobile-footer{position:relative;bottom:auto;display:flex;flex:none;flex-wrap:nowrap;gap:10px;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--tr-line);background:var(--tr-panel);z-index:2;min-height:72px}
.traditional-mobile.tr-redesign .traditional-total{text-align:left;gap:3px;min-width:0}
.traditional-mobile.tr-redesign .traditional-total>span{font-size:10px;color:var(--tr-sub);white-space:nowrap}
.traditional-mobile.tr-redesign .traditional-total>span button{font-size:10px;color:var(--tr-sub);padding:0 0 0 3px}
.traditional-mobile.tr-redesign .traditional-total>div{display:flex;align-items:center;gap:8px}
.traditional-mobile.tr-redesign .traditional-total strong{font-size:20px;color:var(--tr-blue)}
.traditional-mobile.tr-redesign .tr-fold-trigger{font-size:11px;color:var(--tr-blue);padding:3px 6px;border:1px solid var(--tr-line);border-radius:3px}
.traditional-mobile.tr-redesign .tr-fold-trigger svg{width:10px;height:10px}
.traditional-mobile.tr-redesign .tr-mobile-actions{display:flex;gap:6px;align-items:center;flex:none}
.traditional-mobile.tr-redesign .tr-mobile-actions button{min-width:0;width:auto;height:42px;padding:0 12px;border-radius:4px;font-size:12px;white-space:nowrap}
.traditional-mobile.tr-redesign .tr-mobile-actions .primary-btn{background:var(--tr-blue);color:#fff}
.tr-fold-sheet{display:flex;justify-content:center;align-items:center;gap:22px;padding:26px;font-size:20px}
.tr-fold-sheet button{border:1px solid #dfe7f1;padding:8px 18px;border-radius:4px;color:#285eaf}
[data-selection-watermark] .tr-redesign :is(.traditional-picks,.td-cell-picks){background-image:none!important}
[data-selection-watermark] .tr-redesign .tr-plan-panel{background-image:var(--selection-watermark)!important;background-repeat:repeat-y;background-size:100% 110px}
.tr-highlight{animation:traditional-highlight .9s ease-out}@keyframes traditional-highlight{0%,65%{box-shadow:inset 0 0 0 2px #8fb7f3}100%{box-shadow:none}}
@media(max-width:360px){.traditional-mobile.tr-redesign .traditional-match>header{grid-template-columns:14px 24px max-content minmax(0,1fr);gap:3px}.traditional-mobile.tr-redesign .traditional-match time{font-size:8px;letter-spacing:-.3px}.traditional-mobile.tr-redesign .traditional-teams{font-size:10.5px}.traditional-mobile.tr-redesign .tr-league{font-size:8px}.traditional-mobile.tr-redesign .traditional-match{padding-left:9px;padding-right:9px}.traditional-mobile.tr-redesign .tr-mobile-actions button{font-size:11px;padding:0 8px}}
/* Full-screen traditional selection owns its bottom area, including on the merchant shell. */
.merchant-mobile-with-nav.traditional-page .traditional-mobile.tr-redesign .tr-mobile-footer{bottom:auto}
.traditional-mobile.tr-redesign>.topbar.gradient-topbar{background:linear-gradient(180deg,var(--growth-primary,#2563eb),var(--growth-secondary,#1d4ed8));border:0;padding:0 12px;display:flex;align-items:center;gap:8px;color:#fff}
.traditional-mobile.tr-redesign>.topbar .topbar-title{flex:1;text-align:center;padding-right:30px}
.traditional-mobile.tr-redesign>.topbar .topbar-title h1{font-size:17px;color:#fff;margin:0}
.traditional-mobile.tr-redesign>.topbar .topbar-title h1:first-letter{color:inherit}
.traditional-mobile.tr-redesign>.topbar .icon-btn{border:0;background:none;color:#fff;width:30px;height:44px;padding:0;font-size:26px}
.traditional-mobile.tr-redesign>.topbar .topbar-right{position:absolute;right:10px;color:#fff}
.traditional-mobile.tr-redesign>.topbar .topbar-title h1{letter-spacing:0}

.traditional-mobile.tr-redesign>.topbar .topbar-right a{display:inline-flex;align-items:center;height:44px;color:#fff;font-size:12px;padding:0 2px}

/* assets/styles-v2/pages/sports-calculator.css */
.sports-calculator-page{max-width:1440px;margin:0 auto;padding-bottom:32px}.sports-calc-tabs,.sports-calc-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.sports-calc-tabs button,.sports-calc-actions button,.sports-calc-config button,.sports-split-row footer button{border:1px solid #dbe3ee;border-radius:8px;padding:10px 14px;background:#fff;color:#334155;cursor:pointer}.sports-calc-tabs .active,.sports-calc-actions .primary{background:#2563eb;border-color:#2563eb;color:#fff}.sports-calc-note{font-size:13px;line-height:1.7;color:#64748b;margin:12px 0}.sports-calc-config,.sports-calc-result{display:flex;gap:16px;flex-wrap:wrap;padding:18px;margin:14px 0}.sports-calc-config button{flex:1;text-align:left}.sports-calc-config small,.sports-calc-result small{display:block;font-size:12px;color:#64748b;margin-bottom:8px}.sports-calc-result>div{flex:1;min-width:130px}.sports-calc-result strong{font-size:22px;color:#2563eb}.sports-calc-result p{width:100%;font-size:12px;line-height:1.65;color:#64748b;margin:0}.sports-calc-budget,.sports-plan-row,.sports-split-row{padding:18px;margin:14px 0}.sports-calc-budget h3,.sports-plan-row h3{margin:0 0 12px}.sports-calc-budget p,.sports-plan-row p{font-size:13px;color:#64748b;line-height:1.7}.sports-calc-label{display:flex;flex-direction:column;gap:8px;font-size:13px;margin:14px 0}.sports-calc-label input{width:100%;max-width:480px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:12px;font:inherit;font-size:16px;background:#fff;color:#1e293b;caret-color:#2563eb}.sports-split-row header,.sports-split-row footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.sports-split-row p{border-bottom:1px solid #e2e8f0;padding-bottom:10px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.sports-split-row p b{color:#2563eb;font-weight:500}.sports-split-row footer>div{display:flex;align-items:center;gap:12px}.sports-split-row footer span{font-size:13px;color:#64748b}.sports-split-row footer button{font-size:20px;padding:5px 14px}.sports-calculator-page .android-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:none}.sports-calc-label+.primary-btn{margin-top:12px}.sports-calculator-page .selection-card{overflow:hidden}.sports-calculator-page button:disabled{opacity:.45;cursor:default}
@media(max-width:767px){.sports-calculator-page{padding:0 14px 24px}.sports-calculator-page>.topbar{margin:0 -14px}.sports-calc-config{gap:8px;padding:10px}.sports-calc-config button{padding:10px 8px;min-width:0}.sports-calc-result{padding:14px;gap:12px}.sports-calc-result>div:last-of-type{flex-basis:100%}.sports-calc-actions button{flex:1;white-space:nowrap}.sports-calc-budget,.sports-split-row{padding:14px}.sports-calc-tabs{flex-wrap:nowrap}.sports-calc-tabs button{flex:1;padding:10px 4px;font-size:14px}}
@media(min-width:768px){.sports-calculator-page .sports-calc-result strong{font-size:28px}.sports-calculator-page .sports-calc-actions{justify-content:flex-start}.sports-calculator-page .sports-split-row{max-width:100%}.sports-calculator-page{width:100%;box-sizing:border-box}html[data-theme="dark"] .sports-calculator-page .android-card{background:var(--xbc-surface,#182131);border-color:#344055;color:#e2e8f0}}

/* assets/styles-v2/pages/account-info.css */
/* 阶段 4：普通用户账户、沟通与说明页面 */
[data-ui="v2"] .mine-page,[data-ui="v2"] .user-login-page,[data-ui="v2"] .message-center-page,[data-ui="v2"] .feedback-page,[data-ui="v2"] .template-settings-page,[data-ui="v2"] .help-page,[data-ui="v2"] .about-page,[data-ui="v2"] .user-privacy-page,[data-ui="v2"] .risk-notice-page,[data-ui="v2"] .share-app-page { --content:960px; }
[data-ui="v2"] .mine-content,[data-ui="v2"] .user-login-main,[data-ui="v2"] .user-privacy-main,[data-ui="v2"] .risk-notice-content,[data-ui="v2"] .help-content,[data-ui="v2"] .share-app-main { max-width:none; padding:0; }
[data-ui="v2"] .mine-profile-card { min-height:132px; padding:22px; border:1px solid var(--c-border); border-left:3px solid var(--c-blue); border-radius:var(--radius); background:var(--c-surface); box-shadow:none; }
[data-ui="v2"] .mine-profile-card.logged-in { border-left-color:var(--c-green); }
[data-ui="v2"] .mine-avatar { border-radius:6px; background:var(--c-ink); color:#fff; }
[data-ui="v2"] .mine-login-btn,[data-ui="v2"] .mine-logout-btn { min-height:38px; border-radius:6px; }
[data-ui="v2"] .store-post-load-status { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
[data-ui="v2"] .store-post-retry { flex:none; width:auto; min-height:34px; padding:6px 12px; border:1px solid var(--c-border); border-radius:6px; background:var(--c-surface); color:var(--c-blue); white-space:nowrap; }
[data-ui="v2"] .mine-row-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .mine-row-item { min-width:0; min-height:86px; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .mine-row-item:hover { border-color:#abb9b2; }
[data-ui="v2"] .mine-row-badge { border-radius:6px; background:var(--c-soft)!important; color:var(--c-blue)!important; }
[data-ui="v2"] .mine-row-copy { min-width:0; }
[data-ui="v2"] .mine-row-copy em { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .user-login-main { max-width:620px; margin:auto; }
[data-ui="v2"] .user-login-intro { display:none; }
[data-ui="v2"] .user-login-form-card { padding:24px; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .user-login-field { border-bottom:0; }
[data-ui="v2"] .user-login-input-row input { min-width:0; min-height:44px; border:1px solid var(--c-border); border-radius:6px; background:#fff; }
[data-ui="v2"] .user-login-sms-btn { border:1px solid var(--c-border); border-radius:6px; background:var(--c-soft); color:var(--c-blue); }
/* XBC-20260919-032: keep the user-login code controls identical to the verified merchant-login row. */
[data-ui="v2"] .user-login-page .user-login-code-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(104px,30vw,118px);
  gap:9px;
  align-items:stretch;
}
[data-ui="v2"] .user-login-page .user-login-code-row > input#user-login-code,
[data-ui="v2"] .user-login-page .user-login-code-row > .user-login-sms-btn {
  width:100%;
  height:48px;
  min-height:48px;
  box-sizing:border-box;
  margin:0;
  border-width:1px;
  border-style:solid;
}
[data-ui="v2"] .user-login-page .user-login-code-row > input#user-login-code {
  border-color:var(--c-border);
}
[data-ui="v2"] .user-login-page .user-login-code-row > .user-login-sms-btn {
  padding:0 12px;
  border-color:var(--c-border);
  line-height:46px;
}
[data-ui="v2"] .user-login-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
[data-ui="v2"] .user-login-actions.single-action { grid-template-columns:minmax(0,1fr); }
[data-ui="v2"] .user-login-actions button { min-height:44px; border-radius:6px; box-shadow:none; }
[data-ui="v2"] .user-login-safe-note { border:1px solid #cbd9e3; border-radius:var(--radius); background:#f7fafc; color:var(--c-muted); }
[data-ui="v2"] .template-settings-profile-card,[data-ui="v2"] .template-settings-form-card,[data-ui="v2"] .template-settings-rule-card { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .template-settings-form-card { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
[data-ui="v2"] .template-settings-field input { width:100%; min-height:42px; border:1px solid var(--c-border); border-radius:6px; }
[data-ui="v2"] .template-settings-actions { grid-column:1/-1; display:flex; gap:10px; }
[data-ui="v2"] .template-settings-actions button { min-height:42px; border-radius:6px; }
[data-ui="v2"] .message-center-brief,[data-ui="v2"] .risk-notice-brief,[data-ui="v2"] .user-privacy-brief,[data-ui="v2"] .template-settings-brief,[data-ui="v2"] .football-home-brief { border:1px solid #cbd9e3; border-radius:var(--radius); background:#f7fafc; color:var(--c-muted); }
[data-ui="v2"] .message-tabs { width:max-content; max-width:100%; padding:3px; border:1px solid var(--c-border); border-radius:7px; background:var(--c-soft); }
[data-ui="v2"] .message-tabs button { border-radius:5px; }
[data-ui="v2"] .message-tabs button.active { background:#fff; color:var(--c-ink); box-shadow:var(--shadow-1); }
[data-ui="v2"] .message-card { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .message-card.unread { border-left:3px solid var(--c-blue); }
[data-ui="v2"] .feedback-designed-card { padding:22px; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .feedback-designed-card input,[data-ui="v2"] .feedback-designed-card select,[data-ui="v2"] .feedback-designed-card textarea { width:100%; border:1px solid var(--c-border); border-radius:6px; background:#fff; }
[data-ui="v2"] .feedback-submit-btn { border-radius:6px; background:var(--c-ink); box-shadow:none; }
[data-ui="v2"] .feedback-notice-card { border:1px solid var(--c-border); border-radius:var(--radius); background:var(--c-soft); }
[data-ui="v2"] .help-row-list,[data-ui="v2"] .about-row-list,[data-ui="v2"] .share-app-row-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .help-row-item,[data-ui="v2"] .about-row-item,[data-ui="v2"] .share-app-row-item { min-width:0; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .help-row-badge,[data-ui="v2"] .about-row-badge,[data-ui="v2"] .share-app-row-badge,[data-ui="v2"] .user-privacy-badge { border-radius:6px; background:var(--c-soft)!important; color:var(--c-blue)!important; }
[data-ui="v2"] .help-row-copy,[data-ui="v2"] .about-row-copy,[data-ui="v2"] .share-app-row-item>div { min-width:0; }
[data-ui="v2"] .share-app-row-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .help-detail-hero,[data-ui="v2"] .help-detail-card,[data-ui="v2"] .about-contact-card { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .user-privacy-rows { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .user-privacy-row { min-width:0; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .user-privacy-supplement,[data-ui="v2"] .risk-boundary-card,[data-ui="v2"] .risk-supplement-card,[data-ui="v2"] .risk-forbidden-panel { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .risk-boundary-card { border-left:3px solid var(--c-warning); }
[data-ui="v2"] .risk-forbidden-panel { border-left:3px solid var(--c-red); }
[data-ui="v2"] .privacy-data-list { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; overflow:hidden; }
[data-ui="v2"] .privacy-row { display:grid; grid-template-columns:110px 150px minmax(0,1fr) auto auto; align-items:center; gap:12px; border-bottom:1px solid var(--c-border); }
[data-ui="v2"] .privacy-row:last-child { border-bottom:0; }
@media (max-width:700px) {
  [data-ui="v2"][data-design="android-classic"] .help-footer-note { margin-inline:0; }
  [data-ui="v2"] .mine-row-list,[data-ui="v2"] .help-row-list,[data-ui="v2"] .about-row-list,[data-ui="v2"] .share-app-row-list,[data-ui="v2"] .user-privacy-rows { grid-template-columns:1fr; }
  [data-ui="v2"] .mine-profile-card { min-height:112px; padding:16px; }
  [data-ui="v2"] .mine-row-item { min-height:76px; }
  [data-ui="v2"] .user-login-form-card,[data-ui="v2"] .feedback-designed-card { padding:16px; }
  [data-ui="v2"] .user-login-actions,[data-ui="v2"] .template-settings-form-card { grid-template-columns:1fr; }
  [data-ui="v2"] .template-settings-actions { grid-column:1; flex-direction:column; }
  [data-ui="v2"] .privacy-row { grid-template-columns:1fr auto; gap:6px 10px; }
  [data-ui="v2"] .privacy-row em { grid-column:1/-1; }
}
@media (max-width:360px) {
  [data-ui="v2"] .mine-profile-card { grid-template-columns:44px minmax(0,1fr); }
  [data-ui="v2"][data-design="android-classic"] .mine-profile-card { display:grid; }
  [data-ui="v2"][data-design="android-classic"] .mine-profile-card .mine-avatar { width:44px; height:44px; }
  [data-ui="v2"] .mine-login-btn,[data-ui="v2"] .mine-logout-btn { grid-column:1/-1; width:100%; }
  [data-ui="v2"] .user-login-input-row { display:grid; grid-template-columns:minmax(0,1fr) auto; }
  [data-ui="v2"] .user-login-sms-btn { padding-inline:8px; }
}

.web-consent-review { padding:16px; }
.web-consent-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }
.web-consent-actions button { padding:10px 16px; border:1px solid var(--c-border,#cbd9e3); border-radius:6px; color:var(--c-text,#1f2937); background:var(--c-surface,#fff); }
.web-consent-actions button.primary { background:var(--c-blue,#2563eb); color:#fff; border-color:transparent; }

/* Optional desktop WeChat login; hidden until the server enables the capability. */
.wechat-login-entry{display:block;width:100%;min-height:44px;margin-top:12px;border:1px solid #c7ded2;border-radius:8px;background:#f4fbf6;color:#087d43;font:inherit;font-weight:600;cursor:pointer}
.wechat-phone-sheet{display:grid;gap:16px;padding:8px 2px 18px;max-width:420px;margin:auto;color:var(--c-ink,#24354d)}
.wechat-phone-sheet p{font-size:14px;line-height:1.6;margin:0;color:var(--c-muted,#64748b)}
.wechat-phone-sheet label{display:grid;gap:8px;font-size:14px}.wechat-phone-sheet label>div{display:flex;gap:8px}.wechat-phone-sheet input:not([type=checkbox]){width:100%;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #ccd5e2;border-radius:8px;background:var(--c-surface,#fff);color:inherit;font:inherit}.wechat-phone-sheet label>div input{flex:1;width:0}.wechat-phone-sheet button{min-height:42px;padding:8px 14px;white-space:nowrap}.wechat-phone-sheet .wechat-bind-check{display:flex;align-items:flex-start;font-size:13px;line-height:1.6}.wechat-bind-check input{margin-top:4px}.wechat-login-binding{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:58px;padding:12px 16px;background:var(--c-surface,#fff);color:inherit;border:1px solid #dce4ee;border-radius:10px;cursor:pointer}.wechat-login-binding span{font-size:13px;color:var(--c-muted,#64748b)}

/* assets/styles-v2/pages/community.css */
/* 独立公共论坛：不继承店铺品牌，不读取店铺模块开关。 */
[data-ui="v2"] .community-page { --content:780px; padding-bottom:96px; background:#f3f5f7; }
[data-ui="v2"] .community-shell { width:100%; max-width:780px; margin:0 auto; }
[data-ui="v2"] .community-header { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding:22px 0 20px; }
[data-ui="v2"] .community-header span { color:var(--c-blue); font-size:12px; font-weight:800; letter-spacing:.06em; }
[data-ui="v2"] .community-header h1 { margin:4px 0 3px; color:var(--c-ink); font-size:34px; letter-spacing:-.03em; }
[data-ui="v2"] .community-header p { margin:0; color:var(--c-muted); font-size:13px; }
[data-ui="v2"] .community-header-actions { display:flex; align-items:center; gap:8px; }
[data-ui="v2"] .community-header-actions button { min-height:42px; padding:0 18px; border:0; border-radius:7px; background:var(--c-blue); color:#fff; font-weight:800; }
[data-ui="v2"] .community-header-actions button.secondary { border:1px solid #d6e0e9; background:#fff; color:var(--c-blue); }
[data-ui="v2"] .community-policy-strip { display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid #dbe5ee; border-left:3px solid var(--c-blue); background:#f8fbfd; color:#677582; font-size:11px; line-height:1.5; }
[data-ui="v2"] .community-policy-strip .ui-icon { flex:0 0 auto; width:20px; color:var(--c-blue); }
[data-ui="v2"] .community-search-bar { display:flex; gap:7px; margin-top:12px; padding:8px; border:1px solid #dce4eb; border-radius:7px; background:#fff; }
[data-ui="v2"] .community-search-bar input { flex:1; min-width:0; min-height:38px; padding:0 11px; border:0; outline:0; background:#f5f7f9; caret-color:var(--c-blue); color:#253240; }
[data-ui="v2"] .community-search-bar button { min-width:62px; border:0; border-radius:5px; background:var(--c-blue); color:#fff; font-size:11px; font-weight:800; }
[data-ui="v2"] .community-search-bar button.muted { min-width:48px; background:#edf1f4; color:#687684; }
[data-ui="v2"] .community-tabs { display:flex; align-items:center; gap:4px; margin-top:18px; border-bottom:1px solid var(--c-border); }
[data-ui="v2"] .community-tabs button { min-width:72px; min-height:42px; padding:0 12px; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:var(--c-muted); font-weight:700; }
[data-ui="v2"] .community-tabs button.active { border-bottom-color:var(--c-blue); color:var(--c-blue); }
[data-ui="v2"] .community-tabs .community-refresh { min-width:auto; margin-left:auto; color:var(--c-blue); font-size:12px; }
[data-ui="v2"] .community-categories { display:flex; gap:7px; overflow-x:auto; padding:9px 0 2px; scrollbar-width:none; }
[data-ui="v2"] .community-categories::-webkit-scrollbar { display:none; }
[data-ui="v2"] .community-categories button { flex:0 0 auto; min-height:30px; padding:0 12px; border:1px solid #dce3e9; border-radius:999px; background:#fff; color:#687684; font-size:10px; font-weight:700; }
[data-ui="v2"] .community-categories button.active { border-color:#8eb0cf; background:#edf5fb; color:var(--c-blue); }
[data-ui="v2"] .community-feed { display:grid; gap:8px; margin-top:8px; }
[data-ui="v2"] .community-card { padding:15px 17px 12px; border:1px solid var(--c-border); border-radius:7px; background:#fff; box-shadow:0 1px 3px rgb(15 23 42 / 3%); cursor:pointer; }
[data-ui="v2"] .community-card:hover { border-color:#b8c6d1; box-shadow:0 6px 18px rgb(15 23 42 / 6%); }
[data-ui="v2"] .community-author-row { display:flex; align-items:center; gap:10px; }
[data-ui="v2"] .community-avatar { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; overflow:hidden; border-radius:50%; background:#eaf1f7; color:var(--c-blue); font-size:14px; font-weight:900; }
[data-ui="v2"] .community-avatar b { grid-area:1/1; font-size:14px; }
[data-ui="v2"] .community-avatar img { z-index:1; grid-area:1/1; width:100%; height:100%; object-fit:cover; }
[data-ui="v2"] .community-author-row>div { display:flex; flex-wrap:wrap; align-items:center; gap:3px 7px; min-width:0; }
[data-ui="v2"] .community-author-row strong { color:var(--c-ink); font-size:13px; }
[data-ui="v2"] .community-author-row em { padding:2px 5px; border-radius:3px; background:#eef5ff; color:var(--c-blue); font-size:10px; font-style:normal; font-weight:700; }
[data-ui="v2"] .community-author-row small { flex-basis:100%; color:#9aa5b1; font-size:10px; }
[data-ui="v2"] .community-author-follow { flex:0 0 auto; min-height:30px; margin-left:auto; padding:0 11px; border:1px solid #aac3da; border-radius:5px; background:#f1f7fc; color:var(--c-blue); font-size:10px; font-weight:800; }
[data-ui="v2"] .community-author-follow.active { border-color:#d9e0e6; background:#fff; color:#75818c; }
[data-ui="v2"] .community-featured { margin-left:auto; padding:3px 7px; border:1px solid #ead8a6; border-radius:999px; background:#fffaf0; color:#8b691e; font-size:10px; }
[data-ui="v2"] .community-not-interested { flex:0 0 auto; min-height:28px; margin-left:auto; padding:0 7px; border:0; background:transparent; color:#98a2ad; font-size:10px; }
[data-ui="v2"] .community-featured+.community-not-interested { margin-left:0; }
[data-ui="v2"] .community-not-interested:hover { color:#526171; }
[data-ui="v2"] .community-card h2 { margin:11px 0 5px; color:#172033; font-size:16px; line-height:1.45; }
[data-ui="v2"] .community-card>p { display:-webkit-box; overflow:hidden; margin:0; color:#53616e; font-size:13px; line-height:1.65; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
[data-ui="v2"] .community-match-line { display:flex; align-items:center; gap:8px; margin-top:14px; padding:8px 10px; border-left:3px solid #2e6da4; background:#f3f7fb; }
[data-ui="v2"] .community-match-line span { color:#2e6da4; font-size:11px; font-weight:800; }
[data-ui="v2"] .community-match-line strong { overflow:hidden; color:#344150; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .community-prediction-chip { display:inline-flex; align-items:center; gap:8px; margin-top:12px; padding:7px 10px; border-radius:5px; background:#f6f7f8; }
[data-ui="v2"] .community-prediction-chip span { color:#7a8692; font-size:11px; }
[data-ui="v2"] .community-prediction-chip strong { color:#26384a; font-size:12px; }
[data-ui="v2"] .community-prediction-card { margin-top:10px; padding:10px 11px; border:1px solid #e1e7ec; border-radius:5px; background:#f7f9fb; }
[data-ui="v2"] .community-prediction-card>div { display:flex; align-items:center; gap:8px; min-width:0; }
[data-ui="v2"] .community-prediction-card>div span { flex:0 0 auto; padding:2px 5px; border-radius:3px; background:#e8f1fa; color:#246697; font-size:10px; font-weight:800; }
[data-ui="v2"] .community-prediction-card>div strong { overflow:hidden; color:#344150; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .community-prediction-card>p { display:flex; align-items:center; gap:8px; margin:8px 0 0; padding-top:8px; border-top:1px solid #e7ebef; }
[data-ui="v2"] .community-prediction-card>p span { color:#7a8692; font-size:11px; }
[data-ui="v2"] .community-prediction-card>p b { color:#1f5d88; font-size:12px; }
[data-ui="v2"] .community-image-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; width:min(100%,500px); margin-top:10px; }
[data-ui="v2"] .community-image-grid.one { grid-template-columns:minmax(0,300px); }
[data-ui="v2"] .community-image-grid.two { grid-template-columns:repeat(2,minmax(0,220px)); }
[data-ui="v2"] .community-image-grid figure { position:relative; aspect-ratio:1; overflow:hidden; margin:0; border-radius:4px; background:#edf0f2; }
[data-ui="v2"] .community-image-grid.one figure { aspect-ratio:4/3; }
[data-ui="v2"] .community-image-grid img { display:block; width:100%; height:100%; object-fit:cover; }
[data-ui="v2"] .community-image-grid figure i { position:absolute; inset:0; display:grid; place-items:center; background:rgb(15 23 42 / 48%); color:#fff; font-size:24px; font-style:normal; font-weight:800; }
[data-ui="v2"] .community-image-grid.detail { grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; max-width:660px; margin-top:18px; }
[data-ui="v2"] .community-image-grid.detail.one { grid-template-columns:minmax(0,520px); }
[data-ui="v2"] .community-image-grid.detail.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
[data-ui="v2"] .community-image-grid.detail.one figure { aspect-ratio:auto; min-height:240px; max-height:620px; }
[data-ui="v2"] .community-image-grid.detail.one img { object-fit:contain; background:#f4f5f6; }
[data-ui="v2"] .community-inline-content { display:grid; gap:9px; margin-top:7px; }
[data-ui="v2"] .community-inline-content p { margin:0; color:#53616e; font-size:13px; line-height:1.72; }
[data-ui="v2"] .community-inline-content.feed p { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
[data-ui="v2"] .community-inline-image { width:min(100%,520px); margin:0; overflow:hidden; border-radius:5px; background:transparent; }
[data-ui="v2"] .community-inline-image img { display:block; width:100%; max-height:560px; object-fit:contain; }
[data-ui="v2"] .community-inline-content.feed .community-inline-image img { max-height:420px; object-fit:cover; }
[data-ui="v2"] .community-inline-content.detail { gap:15px; margin-top:20px; }
[data-ui="v2"] .community-inline-content.detail p { color:#344150; font-size:15px; line-height:2; }
[data-ui="v2"] .community-inline-content.detail .community-inline-image { width:100%; max-width:660px; }
[data-ui="v2"] .community-inline-content.detail .community-inline-image img { max-height:none; object-fit:contain; }
[data-ui="v2"] .community-inline-more { color:var(--c-blue); font-weight:700; }
[data-ui="v2"] .community-card>footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:11px; padding-top:9px; border-top:1px solid #eef1f4; color:#87929e; font-size:11px; }
[data-ui="v2"] .community-card>footer>span { color:#287055; font-weight:800; }
[data-ui="v2"] .community-card>footer div { display:flex; gap:12px; }
[data-ui="v2"] .community-loading,[data-ui="v2"] .community-empty,[data-ui="v2"] .community-error { display:grid; place-items:center; gap:8px; min-height:180px; padding:24px; border:1px solid var(--c-border); background:#fff; color:var(--c-muted); text-align:center; }
[data-ui="v2"] .community-loading i { width:24px; height:24px; border:2px solid #d9e1e8; border-top-color:var(--c-blue); border-radius:50%; animation:community-spin .8s linear infinite; }
@keyframes community-spin { to { transform:rotate(360deg); } }
[data-ui="v2"] .community-error strong { color:var(--c-ink); }
[data-ui="v2"] .community-error span { font-size:12px; }
[data-ui="v2"] .community-error button { min-height:34px; padding:0 12px; border:1px solid var(--c-border); border-radius:5px; background:#fff; color:var(--c-blue); }
[data-ui="v2"] .community-disclaimer { margin-top:20px; padding:16px 0; border-top:1px solid var(--c-border); color:#929ca6; font-size:11px; text-align:center; }
[data-ui="v2"] .community-detail { padding:24px; border:1px solid var(--c-border); border-radius:9px; background:#fff; }
[data-ui="v2"] .community-detail>h1 { margin:20px 0 16px; color:var(--c-ink); font-size:28px; line-height:1.4; }
[data-ui="v2"] .community-match-detail { padding:14px; border-left:3px solid var(--c-blue); background:#f4f7fa; }
[data-ui="v2"] .community-match-detail>span,[data-ui="v2"] .community-match-detail>strong,[data-ui="v2"] .community-match-detail>small { display:block; }
[data-ui="v2"] .community-match-detail>span { color:var(--c-blue); font-size:11px; font-weight:800; }
[data-ui="v2"] .community-match-detail>strong { margin-top:4px; color:var(--c-ink); font-size:15px; }
[data-ui="v2"] .community-match-detail>small { margin-top:3px; color:var(--c-muted); }
[data-ui="v2"] .community-match-detail>div { display:flex; gap:8px; margin-top:12px; }
[data-ui="v2"] .community-match-detail em,[data-ui="v2"] .community-match-detail b { padding:5px 8px; border-radius:4px; font-size:12px; font-style:normal; }
[data-ui="v2"] .community-match-detail em { background:#e8eef4; color:#607080; } [data-ui="v2"] .community-match-detail b { background:#e8f2ec; color:#286748; }
[data-ui="v2"] .community-article-body { margin-top:20px; color:#344150; font-size:15px; line-height:2; }
[data-ui="v2"] .community-locked { display:grid; gap:4px; margin-top:20px; padding:20px; border:1px dashed #c8d2da; background:#fafbfc; text-align:center; }
[data-ui="v2"] .community-locked span { color:var(--c-muted); font-size:12px; }
[data-ui="v2"] .community-detail-actions { display:flex; align-items:center; gap:8px; margin-top:24px; padding-top:16px; border-top:1px solid var(--c-border); }
[data-ui="v2"] .community-detail-actions button { min-height:36px; padding:0 13px; border:1px solid var(--c-border); border-radius:5px; background:#fff; color:#647281; }
[data-ui="v2"] .community-detail-actions button.active { border-color:#9ab5cf; background:#edf5fc; color:var(--c-blue); }
[data-ui="v2"] .community-detail-actions button.danger-text { color:#a45656; }
[data-ui="v2"] .community-detail-actions>span { margin-left:auto; color:#97a1ab; font-size:11px; }
[data-ui="v2"] .community-detail-notice { margin-top:16px; padding:11px 13px; background:#f7f8f9; color:#7a8590; font-size:11px; }
[data-ui="v2"] .community-editor { display:grid; grid-template-columns:1fr 1fr; gap:15px; padding:22px; border:1px solid var(--c-border); border-radius:9px; background:#fff; }
[data-ui="v2"] .community-editor-note,[data-ui="v2"] .community-editor-access,[data-ui="v2"] .community-prediction-fields,[data-ui="v2"] .community-wide,[data-ui="v2"] .community-submit { grid-column:1/-1; }
[data-ui="v2"] .community-editor-note,[data-ui="v2"] .community-editor-access { display:grid; gap:4px; padding:13px 15px; border-left:3px solid #bb8a2d; background:#fffaf0; }
[data-ui="v2"] .community-editor-note span,[data-ui="v2"] .community-editor-access span { color:#74694f; font-size:12px; line-height:1.6; }
[data-ui="v2"] .community-editor label { display:grid; gap:7px; color:#3c4855; font-size:12px; font-weight:700; }
[data-ui="v2"] .community-editor input,[data-ui="v2"] .community-editor select,[data-ui="v2"] .community-editor textarea { width:100%; min-height:42px; padding:9px 11px; border:1px solid #d6dde3; border-radius:5px; background:#fff; color:#1f2b37; font:inherit; font-weight:400; }
[data-ui="v2"] .community-editor textarea { resize:vertical; line-height:1.7; }
[data-ui="v2"] .community-editor label>small { color:#98a1aa; font-weight:400; text-align:right; }
[data-ui="v2"] .community-prediction-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0; padding:16px; border:1px solid #dce3e8; }
[data-ui="v2"] .community-prediction-fields legend { padding:0 7px; color:#596675; font-size:12px; font-weight:800; }
[data-ui="v2"] .community-submit { min-height:46px; border:0; border-radius:6px; background:var(--c-blue); color:#fff; font-weight:800; }
[data-ui="v2"] .community-submit:disabled { opacity:.55; }
[data-ui="v2"] .community-media-picker { display:grid; gap:11px; padding:14px; border:1px solid #dce3e8; border-radius:6px; background:#fafbfd; }
[data-ui="v2"] .community-media-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
[data-ui="v2"] .community-media-heading>div { display:grid; gap:3px; }
[data-ui="v2"] .community-media-heading strong { color:#354251; font-size:12px; }
[data-ui="v2"] .community-media-heading span { color:#8b96a1; font-size:11px; }
[data-ui="v2"] .community-media-heading>b { color:var(--c-blue); font-size:12px; }
[data-ui="v2"] .community-media-previews { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; }
[data-ui="v2"] .community-media-previews figure { position:relative; aspect-ratio:1; overflow:visible; margin:0; border-radius:5px; background:#edf0f2; }
[data-ui="v2"] .community-media-previews img { width:100%; height:100%; border-radius:5px; object-fit:cover; }
[data-ui="v2"] .community-media-previews button { position:absolute; top:-6px; right:-6px; display:grid; place-items:center; width:22px; height:22px; padding:0; border:2px solid #fff; border-radius:50%; background:#344150; color:#fff; font-size:16px; line-height:1; }
[data-ui="v2"] .community-media-add { justify-self:start; min-height:36px; padding:0 13px; border:1px solid #bfcbd5; border-radius:5px; background:#fff; color:var(--c-blue); font-weight:700; }
[data-ui="v2"] .community-media-add:disabled { opacity:.55; }
[data-ui="v2"] .community-block-editor { display:grid; gap:0; overflow:hidden; padding:0; border:1px solid #d8dee5; border-radius:6px; background:#fff; }
[data-ui="v2"] .community-rich-toolbar { display:flex; align-items:center; min-height:48px; padding:0 12px; border-bottom:1px solid #e2e6ea; background:#f7f8fa; }
[data-ui="v2"] .community-rich-toolbar>strong { margin-right:auto; color:#354251; font-size:12px; }
[data-ui="v2"] .community-rich-toolbar>div { display:flex; gap:7px; }
[data-ui="v2"] .community-rich-toolbar button { display:flex; align-items:center; gap:5px; min-height:32px; padding:0 10px; border:1px solid #cfd7df; border-radius:4px; background:#fff; color:#455565; font-size:11px; font-weight:700; }
[data-ui="v2"] .community-rich-toolbar button:hover { border-color:#9bb8d2; color:var(--c-blue); }
[data-ui="v2"] .community-rich-toolbar button:disabled { opacity:.48; }
[data-ui="v2"] .community-rich-toolbar button i { color:var(--c-blue); font-size:14px; font-style:normal; }
[data-ui="v2"] .community-rich-toolbar>b { min-width:34px; margin-left:10px; color:var(--c-blue); font-size:11px; text-align:right; }
[data-ui="v2"] .community-editor-blocks { display:grid; min-height:330px; padding:17px 18px 28px; background:#fff; }
[data-ui="v2"] textarea.community-editor-text-block { display:block; grid-column:1/-1; box-sizing:border-box; width:100%; min-height:92px; padding:5px 1px; border:0; outline:0; background:transparent; color:#27323d; font-family:inherit; font-size:14px; line-height:1.85; resize:none; field-sizing:content; }
[data-ui="v2"] textarea.community-editor-text-block::placeholder { color:#a1aab3; }
[data-ui="v2"] .community-editor-image-block { position:relative; grid-column:1/-1; width:100%; margin:9px 0 4px; padding:0; border:0; background:transparent; }
[data-ui="v2"] .community-editor-image-block img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; background:transparent; }
[data-ui="v2"] .community-editor-image-block img { -webkit-touch-callout:none; user-select:none; }
.community-image-action-popup { position:fixed; z-index:120; width:132px; padding:0; border:1px solid #dde3e8; border-radius:8px; background:#fff; box-shadow:0 10px 28px rgb(20 30 40 / 20%); overflow:hidden; }
.community-image-action-popup button { width:100%; min-height:48px; padding:0 14px; border:0; background:#fff; color:#b33a3a; font-size:14px; font-weight:700; text-align:center; }
.community-image-action-popup button:active { background:#fff3f3; }
[data-ui="v2"] .community-block-editor>small { color:#87929e; font-size:10px; line-height:1.6; }
[data-ui="v2"] .community-block-editor>small { padding:9px 13px 11px; border-top:1px solid #edf0f2; background:#fafbfc; }
[data-ui="v2"] .community-login-required { display:grid; place-items:center; gap:8px; min-height:280px; padding:30px; border:1px solid var(--c-border); background:#fff; text-align:center; }
[data-ui="v2"] .community-login-required span { color:var(--c-muted); font-size:13px; }
[data-ui="v2"] .community-login-required button { min-height:40px; margin-top:8px; padding:0 18px; border:0; border-radius:6px; background:var(--c-blue); color:#fff; }

/* 沉浸式文章编辑器 */
[data-ui="v2"] .page.community-compose-page,[data-ui="v2"] .page.community-confirm-page { width:min(100%,860px); height:100dvh; min-height:100dvh; padding:0; overflow:hidden; background:#fff; }
[data-ui="v2"] .community-compose-shell,[data-ui="v2"] .community-confirm-shell { position:relative; height:100%; background:#fff; }
[data-ui="v2"] .community-compose-header { position:relative; z-index:20; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; height:58px; padding:0 14px; border-bottom:1px solid #e8ebee; background:#fff; }
[data-ui="v2"] .community-compose-header>strong { color:#17202a; font-size:16px; text-align:center; }
[data-ui="v2"] .community-compose-header>strong small { display:block; margin-top:2px; color:#87929e; font-size:9px; font-weight:500; line-height:1; }
[data-ui="v2"] .community-compose-header>div { display:flex; justify-content:flex-end; gap:8px; }
[data-ui="v2"] .community-compose-header button { min-height:34px; padding:0 11px; border:0; border-radius:5px; background:transparent; color:#536170; font-size:12px; font-weight:700; }
[data-ui="v2"] .community-compose-header button.primary { background:var(--c-blue); color:#fff; }
[data-ui="v2"] .community-compose-header .community-compose-back { justify-self:start; width:38px; padding:0; color:#202b35; font-size:34px; font-weight:300; line-height:1; }
[data-ui="v2"] .community-compose-scroll { height:calc(100dvh - 116px - var(--community-keyboard-offset,0px)); overflow-y:auto; overscroll-behavior-y:contain; padding:0 26px 110px; background:#fff; transition:height .16s ease; }
[data-ui="v2"] .community-compose-title { max-height:190px; overflow:hidden; padding:30px 0 18px; border-bottom:1px solid #edf0f2; opacity:1; transition:max-height .2s ease,padding .2s ease,opacity .16s ease; }
[data-ui="v2"] .community-compose-title.collapsed { max-height:0; padding-top:0; padding-bottom:0; opacity:0; }
[data-ui="v2"] .community-compose-title textarea { display:block; width:100%; min-height:96px; padding:0; border:0; outline:0; color:#111820; caret-color:var(--c-blue); font-size:30px; font-weight:800; line-height:1.32; resize:none; }
[data-ui="v2"] .community-compose-title textarea::placeholder { color:#bbc1c7; }
[data-ui="v2"] .community-compose-page .community-block-editor { overflow:visible; border:0; border-radius:0; }
[data-ui="v2"] .community-compose-page .community-editor-blocks { min-height:calc(100dvh - 250px); padding:19px 0 80px; }
[data-ui="v2"] .community-compose-page textarea.community-editor-text-block { min-height:150px; padding:5px 0 12px; color:#26313b; font-size:16px; line-height:1.9; }
[data-ui="v2"] .community-compose-page textarea.community-editor-text-block.style-subtitle { min-height:86px; font-size:20px; font-weight:800; line-height:1.55; }
[data-ui="v2"] .community-compose-page textarea.community-editor-text-block.style-quote { min-height:100px; padding-left:14px; border-left:3px solid #b8c5d1; color:#64717e; font-size:15px; }
[data-ui="v2"] .community-compose-page .community-editor-image-block { width:100%; margin:12px 0 4px; }
[data-ui="v2"] .community-compose-page textarea.community-editor-text-block.after-image { min-height:92px; padding-top:6px; }
[data-ui="v2"] .community-editor-link-block { display:flex; align-items:center; gap:12px; margin:10px 0 16px; padding:13px 14px; border-left:3px solid var(--c-blue); background:#f4f7fa; }
[data-ui="v2"] .community-editor-link-block>div { display:grid; min-width:0; gap:4px; flex:1; }
[data-ui="v2"] .community-editor-link-block strong { color:#273645; font-size:13px; }
[data-ui="v2"] .community-editor-link-block a { overflow:hidden; color:#47769b; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .community-editor-link-block button { min-height:29px; border:0; background:transparent; color:#a34c4c; font-size:11px; }
[data-ui="v2"] .community-compose-tools { position:fixed; z-index:25; left:50%; bottom:var(--community-keyboard-offset,0px); display:grid; grid-template-columns:repeat(6,1fr); width:min(100%,860px); height:58px; transform:translateX(-50%); border-top:1px solid #dfe4e8; background:#fff; box-shadow:0 -4px 18px rgb(30 43 55 / 6%); transition:bottom .16s ease; }
[data-ui="v2"] .community-compose-tools button { display:grid; place-items:center; align-content:center; gap:2px; min-width:0; padding:3px 1px; border:0; background:transparent; color:#596775; font-size:9px; }
[data-ui="v2"] .community-compose-tools button i { color:#263746; font-size:18px; font-style:normal; line-height:1; }
[data-ui="v2"] .community-compose-tools button:disabled { opacity:.25; }
[data-ui="v2"] .community-compose-popover { position:fixed; z-index:35; left:50%; bottom:calc(64px + var(--community-keyboard-offset,0px)); display:grid; width:min(calc(100% - 28px),520px); padding:14px; transform:translateX(-50%); border:1px solid #dfe4e8; border-radius:9px; background:#fff; box-shadow:0 12px 35px rgb(21 31 41 / 18%); }
[data-ui="v2"] .community-compose-popover>strong { color:#44505c; font-size:12px; }
[data-ui="v2"] .community-compose-popover>div { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px; }
[data-ui="v2"] .community-compose-popover button { min-height:38px; border:1px solid #d9e0e6; border-radius:5px; background:#f8fafb; color:#33495c; font-size:12px; }
[data-ui="v2"] .community-editor-overlay { position:fixed; z-index:80; inset:0; display:grid; place-items:center; padding:22px; background:rgb(20 28 36 / 42%); backdrop-filter:blur(2px); }
[data-ui="v2"] .community-editor-dialog { display:grid; gap:12px; width:min(100%,430px); padding:21px; border-radius:10px; background:#fff; box-shadow:0 18px 60px rgb(10 20 30 / 22%); }
[data-ui="v2"] .community-editor-dialog h2 { margin:0; color:#1d2731; font-size:18px; }
[data-ui="v2"] .community-editor-dialog p { margin:0; color:#74808c; font-size:12px; line-height:1.7; }
[data-ui="v2"] .community-editor-dialog label { display:grid; gap:6px; color:#566472; font-size:11px; font-weight:700; }
[data-ui="v2"] .community-editor-dialog input { width:100%; min-height:42px; padding:0 11px; border:1px solid #d7dfe6; border-radius:5px; }
[data-ui="v2"] .community-editor-dialog>div { display:flex; justify-content:flex-end; gap:8px; }
[data-ui="v2"] .community-editor-dialog>div.triple { display:grid; grid-template-columns:1fr 1fr 1.2fr; }
[data-ui="v2"] .community-editor-dialog button { min-height:39px; padding:0 12px; border:1px solid #d8dfe5; border-radius:5px; background:#fff; color:#52606e; font-size:11px; font-weight:700; }
[data-ui="v2"] .community-editor-dialog button.primary { border-color:var(--c-blue); background:var(--c-blue); color:#fff; }
[data-ui="v2"] .community-editor-dialog button.primary.danger { border-color:#a94d4d; background:#a94d4d; }
[data-ui="v2"] .community-confirm-scroll { height:calc(100dvh - 58px); overflow-y:auto; padding:22px 24px 48px; background:#f4f6f8; }
[data-ui="v2"] .community-confirm-preview,[data-ui="v2"] .community-confirm-settings,[data-ui="v2"] .community-confirm-notice { width:min(100%,720px); margin:0 auto 14px; padding:20px; border:1px solid #e0e5e9; border-radius:8px; background:#fff; }
[data-ui="v2"] .community-confirm-preview>span { color:#8a95a0; font-size:11px; }
[data-ui="v2"] .community-confirm-preview h1 { margin:9px 0 20px; color:#18212a; font-size:27px; line-height:1.35; }
[data-ui="v2"] .community-draft-preview { display:grid; gap:13px; }
[data-ui="v2"] .community-draft-preview p { margin:0; color:#34404c; font-size:15px; line-height:1.85; white-space:pre-wrap; }
[data-ui="v2"] .community-draft-preview p.style-subtitle { font-size:19px; font-weight:800; }
[data-ui="v2"] .community-draft-preview p.style-quote { padding-left:12px; border-left:3px solid #bec9d3; color:#66727e; }
[data-ui="v2"] .community-draft-preview img { display:block; max-width:100%; max-height:480px; object-fit:contain; }
[data-ui="v2"] .community-draft-preview>a,[data-ui="v2"] .community-inline-link { display:grid; gap:3px; padding:11px 13px; border-left:3px solid var(--c-blue); background:#f3f7fa; text-decoration:none; }
[data-ui="v2"] .community-draft-preview>a strong,[data-ui="v2"] .community-inline-link strong { color:#314b60; font-size:12px; }
[data-ui="v2"] .community-draft-preview>a span,[data-ui="v2"] .community-inline-link span { overflow:hidden; color:#6c879b; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .community-confirm-settings { display:grid; gap:13px; }
[data-ui="v2"] .community-confirm-settings label { display:grid; gap:6px; color:#53616f; font-size:11px; font-weight:700; }
[data-ui="v2"] .community-confirm-settings input,[data-ui="v2"] .community-confirm-settings select { min-height:42px; padding:0 11px; border:1px solid #d7dfe5; border-radius:5px; background:#fff; }
[data-ui="v2"] .community-confirm-prediction { display:none; grid-template-columns:1fr 1fr; gap:12px; }
[data-ui="v2"] .community-confirm-prediction.active { display:grid; }
[data-ui="v2"] .community-confirm-notice { display:grid; gap:5px; background:#fffaf0; color:#725d32; font-size:11px; line-height:1.65; }
[data-ui="v2"] .community-confirm-submit { display:block; width:min(100%,720px); min-height:48px; margin:18px auto 0; border:0; border-radius:6px; background:var(--c-blue); color:#fff; font-weight:800; }
[data-ui="v2"] .community-inline-text.style-subtitle { font-size:1.16em; font-weight:800; }
[data-ui="v2"] .community-inline-text.style-quote { padding-left:11px; border-left:3px solid #bdc9d4; color:#687480; }
[data-ui="v2"] .community-inline-link { margin:8px 0; }
[data-ui="v2"] .community-mine-shell { width:100%; max-width:780px; margin:0 auto; }
[data-ui="v2"] .community-mine-tabs { display:grid; grid-template-columns:repeat(5,1fr); margin-bottom:10px; border-bottom:1px solid #dfe5ea; background:#fff; }
[data-ui="v2"] .community-mine-tabs button { min-height:43px; border:0; border-bottom:2px solid transparent; background:transparent; color:#6d7883; font-size:12px; font-weight:800; }
[data-ui="v2"] .community-mine-tabs button.active { border-bottom-color:var(--c-blue); color:var(--c-blue); }
[data-ui="v2"] .community-mine-note { margin-bottom:10px; padding:11px 13px; border-left:3px solid var(--c-blue); background:#f1f6fa; color:#657483; font-size:11px; line-height:1.6; }
[data-ui="v2"] .community-mine-list { display:grid; gap:9px; }
[data-ui="v2"] .community-draft-box { display:grid; gap:7px; margin-bottom:12px; padding:13px; border:1px solid #dce5ec; border-radius:7px; background:#f8fbfd; }
[data-ui="v2"] .community-draft-box>header { display:flex; justify-content:space-between; color:#33465a; font-size:12px; }
[data-ui="v2"] .community-draft-box>header span { color:#8b98a4; font-size:10px; }
[data-ui="v2"] .community-draft-box>article { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border:1px solid #e1e7ec; border-radius:6px; background:#fff; }
[data-ui="v2"] .community-draft-box>article>div { display:grid; gap:4px; min-width:0; }
[data-ui="v2"] .community-draft-box>article strong { overflow:hidden; color:#263544; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .community-draft-box>article small { color:#97a2ad; font-size:9px; }
[data-ui="v2"] .community-draft-box nav { display:flex; flex:0 0 auto; gap:6px; }
[data-ui="v2"] .community-draft-box button { min-height:30px; padding:0 9px; border:1px solid #d5e1eb; border-radius:5px; background:#f1f6fa; color:#315f91; font-size:10px; font-weight:800; }
[data-ui="v2"] .community-draft-box button.danger { border-color:#f0d2d2; background:#fff4f4; color:#b14444; }
[data-ui="v2"] .community-mine-card { padding:15px 16px 13px; border:1px solid #e0e6eb; border-radius:7px; background:#fff; }
[data-ui="v2"] .community-mine-card>header,[data-ui="v2"] .community-mine-card>footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
[data-ui="v2"] .community-mine-card>header span { padding:3px 8px; border-radius:999px; background:#f1f3f5; color:#66727d; font-size:10px; font-weight:800; }
[data-ui="v2"] .community-mine-card.status-approved>header span { background:#edf7f1; color:#287055; }
[data-ui="v2"] .community-mine-card.status-pending>header span { background:#fff8e7; color:#8a6a20; }
[data-ui="v2"] .community-mine-card.status-rejected>header span,[data-ui="v2"] .community-mine-card.status-hidden>header span { background:#fff1f1; color:#a24646; }
[data-ui="v2"] .community-mine-card time { color:#99a3ad; font-size:10px; }
[data-ui="v2"] .community-mine-card h2 { margin:11px 0 5px; color:#17212b; font-size:16px; }
[data-ui="v2"] .community-mine-card>p { display:-webkit-box; overflow:hidden; margin:0; color:#687684; font-size:12px; line-height:1.6; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
[data-ui="v2"] .community-mine-card>footer { margin-top:11px; padding-top:10px; border-top:1px solid #edf0f2; }
[data-ui="v2"] .community-mine-card>footer small { color:#9aa4ae; font-size:10px; }
[data-ui="v2"] .community-mine-card>footer div { display:flex; gap:7px; }
[data-ui="v2"] .community-mine-card>footer button { min-width:62px; min-height:32px; border:1px solid #d5e1eb; border-radius:5px; background:#f1f6fa; color:#315f91; font-size:11px; font-weight:800; }
[data-ui="v2"] .community-mine-card>footer button.danger { border-color:#f0d2d2; background:#fff4f4; color:#b14444; }
[data-ui="v2"] .community-mine-card.purchase { cursor:pointer; }
[data-ui="v2"] .community-mine-card.purchase.unavailable { opacity:.72; cursor:default; }
[data-ui="v2"] .community-mine-card button:disabled { opacity:.55; }
[data-ui="v2"] .community-author-list { display:grid; gap:8px; }
[data-ui="v2"] .community-governance { display:grid; gap:10px; }
[data-ui="v2"] .community-governance>header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px; border:1px solid #dce4ea; border-radius:8px; background:linear-gradient(135deg,#f9fbfc,#eef4f8); }
[data-ui="v2"] .community-governance>header.status-muted { border-color:#ead7ad; background:linear-gradient(135deg,#fffdf6,#fff5dc); }
[data-ui="v2"] .community-governance>header.status-banned { border-color:#e4c7c7; background:linear-gradient(135deg,#fffafa,#fae9e9); }
[data-ui="v2"] .community-governance>header>div { display:grid; gap:5px; }
[data-ui="v2"] .community-governance>header small { color:#80909e; font-size:10px; }
[data-ui="v2"] .community-governance>header strong { color:#21303e; font-size:20px; }
[data-ui="v2"] .community-governance>header span { color:#71808d; font-size:11px; }
[data-ui="v2"] .community-governance>header>b { display:grid; place-items:center; min-width:66px; color:#2a5caa; font-size:25px; }
[data-ui="v2"] .community-governance>header>b small { font-size:9px; font-weight:600; }
[data-ui="v2"] .community-governance-rule,[data-ui="v2"] .community-governance-reason { display:grid; gap:5px; padding:13px 15px; border-left:3px solid #8daeca; background:#f3f7fa; }
[data-ui="v2"] .community-governance-reason { border-left-color:#ba6262; background:#fff4f4; }
[data-ui="v2"] .community-governance-rule strong,[data-ui="v2"] .community-governance-reason strong { color:#32475a; font-size:12px; }
[data-ui="v2"] .community-governance-rule span,[data-ui="v2"] .community-governance-reason span { color:#6f7d89; font-size:11px; line-height:1.65; }
[data-ui="v2"] .community-governance-cases { display:grid; gap:8px; }
[data-ui="v2"] .community-governance-cases>h2 { margin:7px 2px 0; color:#283846; font-size:15px; }
[data-ui="v2"] .community-governance-case { padding:15px; border:1px solid #e0e6eb; border-radius:7px; background:#fff; }
[data-ui="v2"] .community-governance-case>header,[data-ui="v2"] .community-governance-case>footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
[data-ui="v2"] .community-governance-case>header strong { color:#61707e; font-size:11px; }
[data-ui="v2"] .community-governance-case time { color:#9ba5ae; font-size:9px; }
[data-ui="v2"] .community-governance-case h3 { margin:10px 0 5px; color:#273746; font-size:15px; }
[data-ui="v2"] .community-governance-case p { margin:0; color:#6f7b86; font-size:12px; line-height:1.6; }
[data-ui="v2"] .community-governance-case>footer { margin-top:11px; padding-top:10px; border-top:1px solid #edf0f2; color:#8a96a1; font-size:10px; }
[data-ui="v2"] .community-governance-case footer em { color:#976d24; font-style:normal; font-weight:800; }
[data-ui="v2"] .community-governance-case footer button { min-height:31px; padding:0 11px; border:1px solid #c9d9e6; border-radius:5px; background:#edf5fb; color:#2a5caa; font-size:10px; font-weight:800; }
[data-ui="v2"] .community-governance-case aside { margin-top:9px; padding:9px 10px; background:#f6f8fa; color:#74818d; font-size:10px; line-height:1.6; }
[data-ui="v2"] .community-appeal-dialog textarea { box-sizing:border-box; width:100%; min-height:96px; padding:10px 11px; resize:vertical; border:1px solid #d7dfe6; border-radius:5px; color:#283642; font:inherit; line-height:1.6; }
[data-ui="v2"] .community-appeal-dialog textarea+textarea { min-height:70px; }
[data-ui="v2"] .community-author-list>article { display:flex; align-items:center; gap:11px; padding:14px 15px; border:1px solid #dfe5ea; border-radius:7px; background:#fff; }
[data-ui="v2"] .community-author-list>article>div { display:grid; flex:1; min-width:0; gap:4px; }
[data-ui="v2"] .community-author-list strong { color:#283645; font-size:13px; }
[data-ui="v2"] .community-author-list small { overflow:hidden; color:#8b97a2; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .community-author-list>article>button { min-height:32px; padding:0 10px; border:1px solid #d6e0e8; border-radius:5px; background:#f5f8fa; color:#4d6d88; font-size:10px; font-weight:800; }

@media (max-width:700px) {
  [data-ui="v2"] .page.community-compose-page,[data-ui="v2"] .page.community-confirm-page { width:100%; max-width:none; padding:0; }
  [data-ui="v2"] .community-compose-header { height:54px; padding-right:10px; padding-left:8px; }
  [data-ui="v2"] .community-compose-header>strong { font-size:15px; }
  [data-ui="v2"] .community-compose-scroll { height:calc(100dvh - 112px - var(--community-keyboard-offset,0px)); padding:0 17px 95px; }
  [data-ui="v2"] .community-compose-title { padding:24px 0 14px; }
  [data-ui="v2"] .community-compose-title textarea { min-height:88px; font-size:27px; }
  [data-ui="v2"] .community-compose-page .community-editor-blocks { min-height:calc(100dvh - 220px); padding-top:14px; }
  [data-ui="v2"] .community-compose-page textarea.community-editor-text-block { font-size:15px; }
  [data-ui="v2"] .community-compose-tools { height:58px; }
  [data-ui="v2"] .community-confirm-scroll { height:calc(100dvh - 54px); padding:14px 12px 38px; }
  [data-ui="v2"] .community-confirm-preview,[data-ui="v2"] .community-confirm-settings,[data-ui="v2"] .community-confirm-notice { padding:16px; border-right:0; border-left:0; border-radius:6px; }
  [data-ui="v2"] .community-confirm-prediction { grid-template-columns:1fr; }
  [data-ui="v2"] .community-page { box-sizing:border-box; width:100%; max-width:430px; overflow-x:hidden; padding-top:0; padding-bottom:92px; }
  [data-ui="v2"] .community-header { align-items:center; margin:0 -16px; padding:calc(10px + env(safe-area-inset-top)) 16px 10px; background:#fff; }
  [data-ui="v2"] .community-header h1 { margin:0; font-size:21px; }
  [data-ui="v2"] .community-header>div>span,[data-ui="v2"] .community-header p { display:none; }
  [data-ui="v2"] .community-header-actions { gap:6px; }
  [data-ui="v2"] .community-header-actions button { min-height:34px; padding:0 12px; }
  [data-ui="v2"] .community-mine-shell { width:auto; margin:0 -16px; }
  [data-ui="v2"] .community-mine-tabs { position:sticky; z-index:4; top:0; margin-bottom:7px; }
  [data-ui="v2"] .community-mine-note { margin:8px 0; border-right:0; border-left-width:3px; }
  [data-ui="v2"] .community-mine-list { gap:7px; }
  [data-ui="v2"] .community-draft-box { border-right:0; border-left:0; border-radius:0; }
  [data-ui="v2"] .community-mine-card { border-right:0; border-left:0; border-radius:0; }
  [data-ui="v2"] .community-policy-strip { margin:7px 0 0; padding:8px 10px; }
  [data-ui="v2"] .community-search-bar { margin:7px 0 0; padding:6px; }
  [data-ui="v2"] .community-tabs { position:sticky; z-index:5; top:0; margin-top:7px; background:#f3f5f7; }
  [data-ui="v2"] .community-feed { margin-right:-16px; margin-left:-16px; gap:7px; }
  [data-ui="v2"] .community-author-list { gap:7px; }
  [data-ui="v2"] .community-author-list>article { border-right:0; border-left:0; border-radius:0; }
  [data-ui="v2"] .community-governance>header,[data-ui="v2"] .community-governance-case { border-right:0; border-left:0; border-radius:0; }
  [data-ui="v2"] .community-card { padding:14px 16px 11px; border-right:0; border-left:0; border-radius:0; }
  [data-ui="v2"] .community-card>footer div { gap:8px; font-size:10px; }
  [data-ui="v2"] .community-card h2 { font-size:16px; }
  [data-ui="v2"] .community-detail { margin:0; padding:17px 15px; border-right:0; border-left:0; border-radius:0; }
  [data-ui="v2"] .community-detail>h1 { font-size:22px; }
  [data-ui="v2"] .community-article-body { font-size:14px; }
  [data-ui="v2"] .community-editor { grid-template-columns:1fr; padding:16px; border-right:0; border-left:0; border-radius:0; }
  [data-ui="v2"] .community-editor-note,[data-ui="v2"] .community-editor-access,[data-ui="v2"] .community-prediction-fields,[data-ui="v2"] .community-wide,[data-ui="v2"] .community-submit { grid-column:1; }
  [data-ui="v2"] .community-prediction-fields { grid-template-columns:1fr; }
  [data-ui="v2"] .community-media-previews { grid-template-columns:repeat(3,minmax(0,1fr)); }
  [data-ui="v2"] .community-image-grid { width:100%; }
  [data-ui="v2"] .community-image-grid.detail { gap:3px; }
  [data-ui="v2"] .community-inline-content.feed .community-inline-image { width:100%; }
  [data-ui="v2"] .community-inline-content.detail p { font-size:14px; }
  [data-ui="v2"] .community-rich-toolbar { position:sticky; z-index:2; top:0; padding:0 9px; }
  [data-ui="v2"] .community-rich-toolbar button { padding:0 9px; }
  [data-ui="v2"] .community-editor-blocks { min-height:300px; padding:14px 13px 24px; }
}

/* assets/styles-v2/pages/merchant.css */
/* 阶段 5：店主工作台与二级运营页面 */
[data-ui="v2"][data-scene="merchant"] .page { --content:1280px; }
[data-ui="v2"] .store-profile-brief,[data-ui="v2"] .store-decor-brief,[data-ui="v2"] .store-profile-warn { border:1px solid #dfd3ba; border-radius:var(--radius); background:#fbf9f4; color:var(--c-muted); }
[data-ui="v2"] .store-profile-form-card,[data-ui="v2"] .store-profile-rule-card,[data-ui="v2"] .store-decor-form-card,[data-ui="v2"] .store-decor-preview-card,[data-ui="v2"] .store-onboarding-main { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .store-profile-form-card,[data-ui="v2"] .store-decor-form-card { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
[data-ui="v2"] .store-profile-field,[data-ui="v2"] .store-decor-field { min-width:0; }
[data-ui="v2"] .store-profile-field input,[data-ui="v2"] .store-profile-field textarea,[data-ui="v2"] .store-decor-field input,[data-ui="v2"] .store-decor-field textarea,[data-ui="v2"] .store-decor-field select { width:100%; border:1px solid var(--c-border); border-radius:6px; background:#fff; }
[data-ui="v2"] .store-profile-submit,[data-ui="v2"] .store-decor-save-btn { grid-column:1/-1; min-height:44px; border-radius:6px; background:var(--c-ink); box-shadow:none; }
[data-ui="v2"] .store-post-editor-card,[data-ui="v2"] .store-post-editor-page .android-card { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .store-post-editor-page input,[data-ui="v2"] .store-post-editor-page textarea,[data-ui="v2"] .store-post-editor-page select { border:1px solid var(--c-border); border-radius:6px; }
[data-ui="v2"] .store-post-list,[data-ui="v2"] .store-content-row-list,[data-ui="v2"] .store-material-grid,[data-ui="v2"] .store-settings-row-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .store-post-card,[data-ui="v2"] .store-content-row,[data-ui="v2"] .store-material-card,[data-ui="v2"] .store-settings-row,[data-ui="v2"] .store-settings-status-row { min-width:0; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .store-post-feed-meta { min-width:0; flex-wrap:nowrap; }
[data-ui="v2"] .store-post-feed-meta > span { flex:0 0 auto; }
[data-ui="v2"] .store-post-feed-time { min-width:0; margin-left:auto; overflow:hidden; color:var(--c-muted); font-size:11px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .store-post-feed-footer.action-only { justify-content:flex-end; }
[data-ui="v2"] .store-posts-page > .topbar { background:#fff; border-bottom:1px solid var(--c-border); }
[data-ui="v2"] .store-posts-page > .topbar .topbar-title h1,[data-ui="v2"] .store-posts-page > .topbar .icon-btn { color:var(--c-ink); }
[data-ui="v2"] .store-posts-page .store-post-segments button { display:flex; align-items:center; justify-content:center; gap:4px; }
[data-ui="v2"] .store-posts-page .store-post-segments button strong,[data-ui="v2"] .store-posts-page .store-post-segments button span { flex:0 0 auto; }
[data-ui="v2"] .store-post-date-toggle { flex:0 0 auto; min-height:28px; padding:3px 7px; border:1px solid var(--c-border); border-radius:5px; background:#fff; color:var(--c-muted); font-size:11px; }
[data-ui="v2"] .store-post-date-toggle b { margin-left:2px; color:var(--c-blue); }
[data-ui="v2"] .store-post-feed-preview { display:block; height:auto; min-height:260px; max-height:520px; aspect-ratio:auto; background:#eef2f2; }
[data-ui="v2"] .store-post-feed-preview::after { content:""; position:absolute; z-index:1; right:0; bottom:0; left:0; height:150px; background:linear-gradient(to bottom,transparent 0%,rgb(238 242 242 / 82%) 54%,#eef2f2 82%); pointer-events:none; }
[data-ui="v2"] .store-post-feed-preview .store-post-feed-image:first-of-type { display:block; width:100%; max-height:390px; aspect-ratio:auto; object-fit:contain; object-position:center top; }
[data-ui="v2"] .store-post-feed-preview .store-post-feed-image:nth-of-type(2) { display:block; width:100%; height:118px; margin-top:8px; aspect-ratio:auto; object-fit:cover; object-position:center top; }
[data-ui="v2"] .store-post-feed-preview > span { z-index:2; right:50%; bottom:22px; display:flex; align-items:center; gap:7px; min-height:34px; padding:7px 12px; transform:translateX(50%); border-radius:5px; background:var(--c-ink); white-space:nowrap; }
[data-ui="v2"] .store-post-feed-preview > span b { color:#fff; font-size:12px; }
[data-ui="v2"] .store-post-feed-preview > span em { color:rgb(255 255 255 / 68%); font-size:10px; font-style:normal; }
[data-ui="v2"] .store-data-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
[data-ui="v2"] .store-data-card { min-width:0; border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .store-data-badge,[data-ui="v2"] .store-settings-row>span,[data-ui="v2"] .store-settings-status-row>span { border-radius:6px; background:var(--c-soft)!important; color:var(--c-gold)!important; }
[data-ui="v2"] .store-users-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; overflow:hidden; }
[data-ui="v2"] .store-users-summary div { border-right:1px solid var(--c-border); }
[data-ui="v2"] .owner-store-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:18px 0 0; border:1px solid var(--c-border); border-radius:10px; background:#fff; overflow:hidden; }
[data-ui="v2"] .owner-store-tools button,[data-ui="v2"] .owner-store-tools a { display:grid; grid-template-columns:32px minmax(0,1fr); gap:9px; align-items:center; min-width:0; min-height:58px; padding:10px 12px; border:0; background:transparent; color:var(--c-ink); text-align:left; text-decoration:none; }
[data-ui="v2"] .owner-store-tools a { border-left:1px solid var(--c-border); }
[data-ui="v2"] .owner-store-tool-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:8px; background:var(--c-soft); color:var(--c-blue); }
[data-ui="v2"] .owner-store-tool-icon .ui-icon { width:16px; height:16px; }
[data-ui="v2"] .owner-store-tool-copy { min-width:0; }
[data-ui="v2"] .owner-store-tool-copy strong,[data-ui="v2"] .owner-store-tool-copy em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
[data-ui="v2"] .owner-store-tool-copy strong { font-size:13px; line-height:1.35; }
[data-ui="v2"] .owner-store-tool-copy em { margin-top:2px; color:var(--c-muted); font-size:10px; font-style:normal; line-height:1.3; }
[data-ui="v2"] .owner-store-tools button:active,[data-ui="v2"] .owner-store-tools a:active { background:var(--c-soft); }
[data-ui="v2"] .store-material-category-grid .store-material-card { min-height:154px; }
[data-ui="v2"] .official-rule-link { position:relative; display:block; color:inherit; text-decoration:none; }
[data-ui="v2"] .official-rule-link em { display:block; margin-top:10px; color:var(--c-blue); font-size:12px; font-style:normal; font-weight:700; }
[data-ui="v2"] .merchant-mobile-with-nav { padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
[data-ui="v2"] .merchant-mobile-bottom-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
[data-ui="v2"] .store-user-row,[data-ui="v2"] .store-group-row,[data-ui="v2"] .store-session-row { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .store-user-row input,[data-ui="v2"] .store-user-row select,[data-ui="v2"] .store-group-row input { border:1px solid var(--c-border); border-radius:6px; }
[data-ui="v2"] .store-application-progress,[data-ui="v2"] .store-workbench-shortcut { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
[data-ui="v2"] .store-application-step { border-bottom:1px solid var(--c-border); }
[data-ui="v2"] .store-onboarding-page .store-onboarding-main { padding:20px; }
[data-ui="v2"] .store-scan-page { --content:760px; }
[data-ui="v2"] .store-scan-card { border:1px solid var(--c-border); border-radius:var(--radius); background:#fff; box-shadow:none; }
@media (max-width:900px) {
  [data-ui="v2"] .store-data-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  [data-ui="v2"] .store-posts-page > .topbar { position:sticky; display:flex; align-items:center; justify-content:center; min-height:calc(52px + env(safe-area-inset-top)); padding-right:64px; padding-left:64px; }
  [data-ui="v2"] .store-posts-page > .topbar > .icon-btn { position:absolute; top:calc(50% + env(safe-area-inset-top) / 2); left:4px; transform:translateY(-50%); }
  [data-ui="v2"] .store-posts-page > .topbar > .topbar-title { position:absolute; top:calc(50% + env(safe-area-inset-top) / 2); left:50%; width:max-content; max-width:calc(100% - 128px); transform:translate(-50%,-50%); }
  [data-ui="v2"] .store-posts-page > .topbar > .topbar-right { position:absolute; top:calc(50% + env(safe-area-inset-top) / 2); right:4px; display:flex; align-items:center; height:52px; transform:translateY(-50%); }
  [data-ui="v2"] .store-posts-page > .topbar > .topbar-right .title-action { display:flex; align-items:center; height:52px; }
  [data-ui="v2"] .store-profile-form-card,[data-ui="v2"] .store-decor-form-card,[data-ui="v2"] .store-post-list,[data-ui="v2"] .store-content-row-list,[data-ui="v2"] .store-material-grid,[data-ui="v2"] .store-settings-row-list { grid-template-columns:1fr; }
  [data-ui="v2"] .store-profile-submit,[data-ui="v2"] .store-decor-save-btn { grid-column:1; }
  [data-ui="v2"] .store-data-grid { grid-template-columns:1fr 1fr; }
  [data-ui="v2"] .store-users-summary { grid-template-columns:1fr; }
  [data-ui="v2"] .store-users-summary div { border-right:0; border-bottom:1px solid var(--c-border); }
  [data-ui="v2"] .store-onboarding-page .store-onboarding-main { padding:14px; }
}
@media (max-width:360px) {
  [data-ui="v2"] .owner-store-tools button,[data-ui="v2"] .owner-store-tools a { grid-template-columns:28px minmax(0,1fr); gap:7px; padding:9px 8px; }
  [data-ui="v2"] .owner-store-tool-icon { width:28px; height:28px; }
  [data-ui="v2"] .owner-store-tool-copy strong { font-size:12px; }
}
@media (max-width:360px) { [data-ui="v2"] .store-data-grid { grid-template-columns:1fr; } }

/* XBC-20261011-011: independent store welcome cover settings. */
.welcome-cover-settings { max-width:1060px; margin:0 auto; padding:24px; border:1px solid var(--xbc-line,var(--c-border,#dce4ef)); border-radius:16px; background:var(--xbc-surface-solid,var(--c-surface,#fff)); color:var(--xbc-text,var(--c-text,#22324a)); }
.welcome-cover-heading h2 { margin:0 0 8px; font-size:22px; }
.welcome-cover-heading p,.welcome-cover-upload p { margin:0; color:var(--xbc-muted,var(--c-muted,#65768c)); font-size:13px; line-height:1.6; }
.welcome-cover-preview { position:relative; aspect-ratio:3/1; margin:20px 0; border-radius:12px; overflow:hidden; background:var(--xbc-surface-soft,var(--c-soft,#f2f5f8)); }
.welcome-cover-preview img { width:100%; height:100%; display:block; object-fit:cover; }
.welcome-cover-preview > span { position:absolute; left:12px; bottom:12px; padding:5px 10px; border-radius:6px; background:rgba(20,28,30,.7); color:#fff; font-size:12px; }
.welcome-cover-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.welcome-cover-options button.welcome-cover-option { position:relative; display:block; min-width:0; height:auto; padding:0; text-align:left; color:inherit; background:transparent; border:2px solid var(--xbc-line,var(--c-border,#dce4ef)); border-radius:12px; overflow:hidden; }
.welcome-cover-options button.welcome-cover-option.selected { border-color:#bf913d; box-shadow:0 0 0 2px rgba(191,145,61,.13); }
.welcome-cover-option > img { display:block; width:100%; aspect-ratio:3/1; object-fit:cover; }
.welcome-cover-option > div { padding:12px 14px; }
.welcome-cover-option strong { display:block; font-size:15px; }
.welcome-cover-option small { display:block; margin-top:4px; color:var(--xbc-muted,var(--c-muted,#65768c)); font-size:12px; }
.welcome-cover-option > b { position:absolute; top:9px; right:9px; border-radius:5px; padding:3px 8px; font-size:11px; color:#fff; background:#92702d; }
.welcome-cover-upload { margin-top:24px; padding:18px 0; display:flex; align-items:center; gap:12px; flex-wrap:wrap; border-top:1px solid var(--xbc-line,var(--c-border,#dce4ef)); border-bottom:1px solid var(--xbc-line,var(--c-border,#dce4ef)); }
.welcome-cover-upload > div { flex:1; min-width:200px; }
.welcome-cover-upload input { position:absolute; width:1px; height:1px; opacity:0; }
.welcome-cover-upload label { cursor:pointer; margin:0; flex:0 0 auto; }
.welcome-cover-status,.welcome-cover-error { padding:12px 14px; margin:16px 0 0; border-radius:8px; background:rgba(191,145,61,.10); font-size:13px; line-height:1.6; }
.welcome-cover-error { color:#b54734; background:rgba(220,65,45,.08); }
.welcome-cover-save { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:20px; }
.welcome-cover-settings .ghost-btn,.welcome-cover-settings .primary-btn { min-height:40px; height:auto; width:auto; padding:10px 16px; flex:0 0 auto; text-decoration:none; }
@media(max-width:599px) { .welcome-cover-settings { padding:16px; } .welcome-cover-options { gap:10px; } .welcome-cover-option > div { padding:9px; } .welcome-cover-option small { font-size:11px; } }

/* XBC-20261016-006: independent home settings, no embedded preview. */
.store-decor-layout-note { margin:0; color:var(--text-secondary, #64748b); font-size:12px; line-height:1.8; }
.store-decor-page [data-store-decor-group] > .store-decor-save-btn { width:100%; margin:8px 0 16px; }
.store-decor-save-btn:disabled { opacity:.6; cursor:wait; }
.store-decor-page .decor-order-toggle-label { min-width:0; }
.store-decor-page .decor-order-toggle-label input { flex:0 0 auto; width:18px; height:18px; }

/* XBC-20261016-007: actual footer image size on mobile fallback pages. */
@media (max-width:599px) {
  .xbc-service-footer { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; padding:18px 12px; text-align:center; }
  .xbc-service-brand { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; flex-wrap:wrap; }
  .xbc-service-brand img { width:24px; height:24px; max-width:100%; object-fit:contain; flex:0 0 24px; }
  .xbc-service-links { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; }
  .xbc-service-footer .xbc-filing { flex:1 1 100%; min-width:0; overflow-wrap:anywhere; }
}

/* Merchant calculator type picker; existing user and match pages are unchanged. */
.merchant-sports-hub{padding:18px 14px max(24px,env(safe-area-inset-bottom))}
.merchant-sports-hub-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.merchant-sports-hub-heading strong{font-size:17px}
.merchant-sports-hub-heading>span{min-width:0;max-width:50%;font-size:12px;overflow-wrap:anywhere;color:var(--c-muted,#64748b)}
.merchant-sports-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.merchant-sports-hub-grid .owner-workbench-action-card{width:100%;min-width:0;min-height:134px;text-align:left}
.merchant-sports-hub-grid .owner-workbench-action-card strong{white-space:normal}
.merchant-sports-hub-note{margin:20px 0 0;font-size:11px;color:var(--c-muted,#64748b);line-height:1.8}
@media(min-width:768px){.merchant-sports-hub{padding:24px}.merchant-sports-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.merchant-sports-hub-grid .owner-workbench-action-card{min-height:152px}}

/* Merchant-only traditional single-line review. */
.traditional-split-page .traditional-split-head{padding:16px;background:var(--p-panel,var(--c-surface,#fff));border:1px solid var(--p-line,var(--c-border,#dce5f2));border-radius:8px;margin-bottom:12px}
.traditional-split-head p{margin:7px 0}.traditional-split-head small{font-size:11px;color:var(--p-subtle,var(--c-muted,#64748b))}
.traditional-split-card{margin:12px 0;padding:14px;background:var(--p-panel,var(--c-surface,#fff));border:1px solid var(--p-line,var(--c-border,#dce5f2));border-radius:8px}
.traditional-split-card>header{display:flex;align-items:center;gap:8px;justify-content:space-between}.traditional-split-card>header>strong{min-width:0;font-size:14px;overflow-wrap:anywhere}.traditional-split-card>header>button{flex:none;min-height:40px;padding:7px 10px;color:#166534;border:1px solid #b9d9c2;border-radius:5px;background:#f0f9f2}
.traditional-split-match{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid var(--p-line,var(--c-border,#e5ebf3))}.traditional-split-match>span{flex:none;min-width:24px;font-size:12px;color:var(--p-subtle,var(--c-muted,#64748b))}.traditional-split-match>div{min-width:0}.traditional-split-match strong,.traditional-split-match small{display:block;overflow-wrap:anywhere}.traditional-split-match strong{font-size:12px}.traditional-split-match small{margin-top:4px;font-size:12px;color:var(--p-subtle,var(--c-muted,#64748b))}
#app .traditional-split-page .traditional-split-card.is-printed[data-traditional-line]{background:#dcefe1;border-color:#43865c;color:#1c4a2b}#app .traditional-split-page .traditional-split-card.is-printed[data-traditional-line] small,#app .traditional-split-page .traditional-split-card.is-printed[data-traditional-line] .traditional-split-match>span{color:#3e6b4b}
.traditional-split-pager{display:flex;align-items:center;justify-content:space-between;gap:10px}.traditional-split-pager button{min-height:40px}.traditional-plan-bar .traditional-split-start{min-height:42px;padding:8px 12px;white-space:nowrap;color:#2563eb;border:1px solid #b9cfee;background:#fff;border-radius:6px}
@media(max-width:600px){.traditional-plan-bar .traditional-split-start{grid-column:1/-1;justify-self:stretch}}

.merchant-mobile-with-nav.traditional-page .traditional-plan-bar{bottom:calc(65px + env(safe-area-inset-bottom))}

#app .traditional-split-page .traditional-split-card.is-printed[data-traditional-line] strong{color:#1c4a2b}

/* assets/styles-v2/unified.css */
/*
 * Unified page shell — Android store homepage is the visual source of truth.
 * Keep this file last so mobile, desktop and merchant routes share one chrome.
 */
[data-ui="v2"] {
  --c-ink: #111827;
  --c-text: #334155;
  --c-muted: #64748b;
  --c-canvas: #f8fafc;
  --c-surface: #fff;
  --c-soft: #f8fafc;
  --c-border: #eef2f7;
  --c-blue: #2563eb;
  --c-green: #059669;
  --c-gold: #d97706;
  --radius: 12px;
  --shadow-1: 0 1px 3px rgb(15 23 42 / 8%);
}

[data-ui="v2"],
[data-ui="v2"] .page {
  background: var(--c-canvas);
}

[data-ui="v2"] .page > .topbar,
[data-ui="v2"] .page > .topbar.gradient-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  margin: 0 0 16px;
  padding: 4px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: none;
}

[data-ui="v2"] .page > .topbar .topbar-title {
  min-width: 0;
  flex: 1;
  text-align: left;
}

[data-ui="v2"] .page > .topbar .topbar-title h1,
[data-ui="v2"] .page > .topbar .topbar-title h1::first-letter {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-ui="v2"] .page > .topbar .topbar-title p {
  overflow: hidden;
  margin: 3px 0 0;
  color: #dbeafe;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-ui="v2"] .page > .topbar .icon-btn,
[data-ui="v2"] .page > .topbar .icon-btn[data-action="back"] {
  display: grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

[data-ui="v2"] .page > .topbar .topbar-right .title-action,
[data-ui="v2"] .page > .topbar .title-action,
[data-ui="v2"] .page > .topbar .number-header-switch {
  min-height: 34px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 8px;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  box-shadow: none;
}

[data-ui="v2"] .android-card,
[data-ui="v2"] .tool-panel,
[data-ui="v2"] .commercial-panel,
[data-ui="v2"] .lottery-card,
[data-ui="v2"] .history-query-panel,
[data-ui="v2"] .number-selector-card,
[data-ui="v2"] .number-ticket-card,
[data-ui="v2"] .number-config-card,
[data-ui="v2"] .community-card,
[data-ui="v2"] .community-detail,
[data-ui="v2"] .owner-workbench-action-card,
[data-ui="v2"] .owner-workbench-row {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
}

[data-ui="v2"] button.primary,
[data-ui="v2"] .primary-btn,
[data-ui="v2"] .primary-action,
[data-ui="v2"] .community-submit,
[data-ui="v2"] .store-profile-submit,
[data-ui="v2"] .store-decor-save-btn {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

/* Store and merchant dashboards use the same independent-card rhythm as Android home. */
[data-ui="v2"] .store-identity-panel,
[data-ui="v2"] .store-dashboard-intro > .store-visitor-access,
[data-ui="v2"] .store-dashboard-intro > .store-computer-access,
[data-ui="v2"] .platform-today-panel {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-1);
}

[data-ui="v2"] .store-identity-panel {
  border-left: 4px solid #2563eb;
}

[data-ui="v2"] .store-dashboard-primary-grid,
[data-ui="v2"] .store-dashboard-secondary-grid,
[data-ui="v2"] .platform-main-tools,
[data-ui="v2"] .platform-resource-list {
  gap: 10px;
  border: 0;
  background: transparent;
}

[data-ui="v2"] .store-dashboard-service,
[data-ui="v2"] .platform-main-tool,
[data-ui="v2"] .platform-resource-row,
[data-ui="v2"] .store-dashboard-board .store-home-board-row-v2 {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-1);
}

[data-ui="v2"] .store-dashboard-service:hover,
[data-ui="v2"] .platform-main-tool:hover,
[data-ui="v2"] .platform-resource-row:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
  box-shadow: 0 2px 8px rgb(37 99 235 / 10%);
}

[data-ui="v2"] .store-dashboard-avatar,
[data-ui="v2"] .platform-access-mark,
[data-ui="v2"] .platform-tool-icon,
[data-ui="v2"] .store-dashboard-service-icon {
  border-radius: 8px;
}

/* Desktop keeps its wider information density, but uses the same blue title language. */
[data-ui="v2"] .desktop-global-header {
  border: 0;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: none;
  backdrop-filter: none;
}

[data-ui="v2"] .desktop-brand span {
  background: rgb(255 255 255 / 16%);
  color: #fff;
}

[data-ui="v2"] .desktop-brand > span.desktop-brand-logo {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 42%);
  background: #f7f2e8 !important;
}

[data-ui="v2"] .desktop-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-ui="v2"][data-scene="store"] .desktop-brand span,
[data-ui="v2"][data-scene="merchant"] .desktop-brand span {
  background: rgb(255 255 255 / 16%);
  color: #fff;
}

[data-ui="v2"] .desktop-brand strong,
[data-ui="v2"] .desktop-brand em,
[data-ui="v2"] .desktop-nav-link,
[data-ui="v2"] .desktop-account-entry {
  color: #dbeafe;
}

[data-ui="v2"] .desktop-brand strong {
  color: #fff;
}

[data-ui="v2"] .desktop-nav-link.active {
  color: #fff;
  box-shadow: inset 0 -3px #fff;
}

[data-ui="v2"] .desktop-nav-link:hover,
[data-ui="v2"] .desktop-account-entry:hover {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

[data-ui="v2"] .desktop-account-entry {
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 12%);
}

[data-ui="v2"] .desktop-nav-link::after {
  background: #fff;
}

[data-ui="v2"] .desktop-store-business {
  border-color: rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

[data-ui="v2"] .desktop-store-business.closed {
  border-color: rgb(254 215 170 / 35%);
  background: rgb(124 45 18 / 18%);
  color: #ffedd5;
}

/* Immersive article editors still keep their interaction, only the chrome is unified. */
[data-ui="v2"] .community-compose-header {
  border-bottom: 0;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
}

[data-ui="v2"] .community-compose-header > strong,
[data-ui="v2"] .community-compose-header button,
[data-ui="v2"] .community-compose-header .community-compose-back {
  color: #fff;
}

[data-ui="v2"] .community-compose-header button.primary {
  border: 1px solid rgb(255 255 255 / 24%);
  background: rgb(255 255 255 / 14%);
}

@media (max-width: 899px) {
  .app-shell:not(.desktop-shell) [data-ui="v2"] .page:not(.community-compose-page):not(.community-confirm-page) {
    width: 100%;
    padding: 0 12px 92px;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .page > .topbar,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .page > .topbar.gradient-topbar,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .number-pick-page > .topbar,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-posts-page > .topbar {
    min-height: calc(48px + env(safe-area-inset-top));
    margin: 0 -12px 12px;
    padding: env(safe-area-inset-top) 8px 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: none;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .page > .topbar .topbar-title h1,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .page > .topbar .topbar-title h1::first-letter,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .number-pick-page > .topbar .topbar-title h1,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .number-pick-page > .topbar .topbar-title h1::first-letter {
    color: #fff;
    font-size: 18px;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-android-header {
    min-height: 48px;
    margin: 0 -12px 10px;
    padding: calc(env(safe-area-inset-top) + 6px) 16px 6px 18px;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-android-header > strong {
    font-size: 20px;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-android-feature,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-android-today-card,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-android-events,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-android-more,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .store-android-core-empty {
    border: 1px solid #eef2f7;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgb(15 23 42 / 8%);
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .community-page {
    background: #f8fafc;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .community-header,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .mine-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(48px + env(safe-area-inset-top));
    margin: 0 -12px 12px;
    padding: env(safe-area-inset-top) 16px 0 18px;
    border: 0;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .community-header h1,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .mine-title h1 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .community-header > div > span,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .community-header p,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .mine-title .v2-kicker {
    display: none;
  }

  .app-shell:not(.desktop-shell) [data-ui="v2"] .community-header > button,
  .app-shell:not(.desktop-shell) [data-ui="v2"] .mine-title > button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 8px;
    background: rgb(255 255 255 / 12%);
    color: #fff;
  }
}

@media (min-width: 600px) {
  .app-shell.desktop-shell {
    border-radius: 0;
    overflow: visible;
  }

  .app-shell.desktop-shell [data-ui="v2"] .page > .topbar,
  .app-shell.desktop-shell [data-ui="v2"] .page > .topbar.gradient-topbar {
    min-height: 60px;
    padding: 8px 18px;
  }
}

/* Server-owned growth theme: page chrome only; functional lottery colors stay fixed. */
[data-ui="v2"],
[data-ui="v2"] .page {
  background-color: var(--growth-page, #f8fafc);
}

[data-ui="v2"] .page > .topbar,
[data-ui="v2"] .page > .topbar.gradient-topbar,
[data-ui="v2"] .desktop-global-header,
[data-ui="v2"] .community-compose-header,
[data-ui="v2"] .store-android-header,
[data-ui="v2"] .store-dashboard-header {
  background: linear-gradient(180deg, var(--growth-primary, #2563eb) 0%, var(--growth-secondary, #1d4ed8) 100%);
}

[data-ui="v2"] .page > .topbar .topbar-title p,
[data-ui="v2"] .desktop-brand em,
[data-ui="v2"] .desktop-nav-link,
[data-ui="v2"] .desktop-account-entry {
  color: var(--growth-accent, #dbeafe);
}

[data-ui="v2"] button.primary,
[data-ui="v2"] .primary-btn,
[data-ui="v2"] .primary-action,
[data-ui="v2"] .community-submit,
[data-ui="v2"] .store-profile-submit,
[data-ui="v2"] .store-decor-save-btn {
  border-color: var(--growth-primary, #2563eb);
  background: var(--growth-primary, #2563eb);
}

.growth-content {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.growth-profile-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--growth-primary, #2563eb), var(--growth-secondary, #1d4ed8));
  color: #fff;
}

.growth-profile-card > span { font-size: 13px; color: var(--growth-accent, #dbeafe); }
.growth-profile-card > strong { margin-top: 4px; font-size: 27px; }
.growth-profile-card > em { margin-top: 7px; color: var(--growth-accent, #dbeafe); font-size: 13px; font-style: normal; }
.growth-profile-card > i { overflow: hidden; height: 7px; margin-top: 15px; border-radius: 999px; background: rgb(255 255 255 / 24%); }
.growth-profile-card > i > b { display: block; height: 100%; border-radius: inherit; background: #fff; }
.growth-profile-card > small { margin-top: 7px; font-size: 12px; }

.growth-section-title { display: flex; flex-direction: column; gap: 4px; margin-top: 7px; }
.growth-section-title strong { color: var(--growth-text, #0f172a); font-size: 17px; }
.growth-section-title span { color: var(--growth-muted, #64748b); font-size: 12px; }
.growth-theme-list { display: grid; gap: 9px; }

.growth-theme-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: var(--preview-bg, #f8fafc);
  text-align: left;
}

/* Desktop alignment contract: global title chrome and every page share one frame. */
@media (min-width: 900px) {
  .app-shell.desktop-shell {
    --desktop-aligned-gutter: 48px;
    --desktop-aligned-frame: var(--desktop-frame, 1240px);
  }

  .app-shell.desktop-shell [data-ui="v2"] .desktop-header-inner,
  .app-shell.desktop-shell [data-ui="v2"] .page {
    width: min(calc(100% - var(--desktop-aligned-gutter)), var(--desktop-aligned-frame));
    max-width: var(--desktop-aligned-frame);
    margin-right: auto;
    margin-left: auto;
  }

  .app-shell.desktop-shell [data-ui="v2"] .page > [class$="-content"],
  .app-shell.desktop-shell [data-ui="v2"] .page > [class$="-main"],
  .app-shell.desktop-shell [data-ui="v2"] .page > [class$="-shell"],
  .app-shell.desktop-shell [data-ui="v2"] .page > [class$="-wrap"],
  .app-shell.desktop-shell [data-ui="v2"] .community-shell,
  .app-shell.desktop-shell [data-ui="v2"] .community-mine-shell,
  .app-shell.desktop-shell [data-ui="v2"] .growth-content,
  .app-shell.desktop-shell [data-ui="v2"] .user-login-main,
  .app-shell.desktop-shell [data-ui="v2"] .account-security-main,
  .app-shell.desktop-shell [data-ui="v2"] .preview-wrap,
  .app-shell.desktop-shell [data-ui="v2"] .sports-style-surface,
  .app-shell.desktop-shell [data-ui="v2"] .sports-section-title,
  .app-shell.desktop-shell [data-ui="v2"] .football-match-detail-main,
  .app-shell.desktop-shell [data-ui="v2"] .football-league-detail-main,
  .app-shell.desktop-shell [data-ui="v2"] .platform-access-copy,
  .app-shell.desktop-shell [data-ui="v2"] .platform-bind-card {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .app-shell.desktop-shell [data-ui="v2"] .data-notice-content,
  .app-shell.desktop-shell [data-ui="v2"] .risk-notice-content,
  .app-shell.desktop-shell [data-ui="v2"] .share-app-main,
  .app-shell.desktop-shell [data-ui="v2"] .play-guide-content,
  .app-shell.desktop-shell [data-ui="v2"] .digital-guide-content,
  .app-shell.desktop-shell [data-ui="v2"] .random-video-content,
  .app-shell.desktop-shell [data-ui="v2"] .user-privacy-main {
    padding-right: 0;
    padding-left: 0;
  }

  .app-shell.desktop-shell [data-ui="v2"] .community-confirm-preview,
  .app-shell.desktop-shell [data-ui="v2"] .community-confirm-settings,
  .app-shell.desktop-shell [data-ui="v2"] .community-confirm-notice,
  .app-shell.desktop-shell [data-ui="v2"] .community-confirm-submit {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .app-shell.desktop-shell [data-ui="v2"] .community-compose-tools {
    width: min(calc(100% - var(--desktop-aligned-gutter)), var(--desktop-aligned-frame));
  }

  .app-shell.desktop-shell [data-ui="v2"] .store-entry-loading-body {
    width: min(calc(100% - var(--desktop-aligned-gutter)), var(--desktop-aligned-frame));
  }

  .app-shell.desktop-shell [data-ui="v2"] .store-entry-loading-header {
    padding-right: max(24px, calc((100vw - var(--desktop-aligned-frame)) / 2));
    padding-left: max(24px, calc((100vw - var(--desktop-aligned-frame)) / 2));
  }
}

.growth-theme-card:not(:disabled) { cursor: pointer; }
.growth-theme-card.selected { border-color: var(--preview-primary); box-shadow: 0 0 0 1px var(--preview-primary); }
.growth-theme-card.locked { opacity: .55; }
.growth-theme-card > i { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg, var(--preview-primary), var(--preview-secondary)); }
.growth-theme-card > span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.growth-theme-card > span strong { color: var(--preview-text); font-size: 14px; }
.growth-theme-card > span em { color: var(--growth-muted, #64748b); font-size: 12px; font-style: normal; }
.growth-theme-card > b { padding: 6px 9px; border-radius: 8px; background: var(--growth-badge, #dbeafe); color: var(--growth-badge-text, #1d4ed8); font-size: 12px; }

.growth-ledger-list,
.growth-empty {
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: var(--growth-surface, #fff);
}

.growth-empty { padding: 50px 18px; color: var(--growth-muted, #64748b); text-align: center; }
.growth-ledger-list > p { margin: 0; padding: 18px; color: var(--growth-muted, #64748b); font-size: 13px; }
.growth-ledger-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eef2f7; }
.growth-ledger-row:last-child { border-bottom: 0; }
.growth-ledger-row > span { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.growth-ledger-row strong { color: var(--growth-text, #0f172a); font-size: 13px; }
.growth-ledger-row em { color: var(--growth-muted, #64748b); font-size: 11px; font-style: normal; }
.growth-ledger-row > b { color: var(--growth-primary, #2563eb); font-size: 15px; }
.growth-ledger-row > b.negative { color: #dc2626; }

.growth-upgrade-overlay {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(10 15 24 / 52%);
  animation: growth-overlay-in .18s ease-out;
}

.growth-upgrade-overlay.closing { opacity: 0; transition: opacity .18s ease; }
.growth-upgrade-overlay > div { display: flex; width: min(310px, 100%); flex-direction: column; align-items: center; padding: 27px 24px; border-radius: 20px; background: linear-gradient(160deg, var(--growth-surface, #fff), var(--growth-badge, #dbeafe)); animation: growth-card-in .26s ease-out; }
.growth-upgrade-overlay span { color: var(--growth-primary, #2563eb); font-size: 13px; font-weight: 800; }
.growth-upgrade-overlay strong { margin-top: 10px; color: var(--growth-text, #0f172a); font-size: 24px; }
.growth-upgrade-overlay em { margin-top: 10px; color: var(--growth-muted, #64748b); font-size: 12px; font-style: normal; text-align: center; }
@keyframes growth-overlay-in { from { opacity: 0; } }
@keyframes growth-card-in { from { transform: scale(.84); opacity: 0; } }

/* assets/styles-mobile.css */
/* XBC-20261030-016: sports filters stay with the fixed mobile title, above scrolling matches. */
#app[data-layout="mobile"] .sports-page {padding-top:calc(52px + env(safe-area-inset-top,0px));}
#app[data-layout="mobile"] .sports-page .sports-style-surface>.day-group:first-child,
#app[data-layout="mobile"] .sports-page .sports-style-surface>.empty-state:first-child {margin-top:0;}
#app[data-layout="mobile"] .sports-page>.mobile-north-play-tabs {margin-top:0;margin-bottom:0;}
/* XBC-20261031-005: match the existing mobile home theme and its readable foreground. */
#app[data-layout="mobile"] .sports-fixed-header {position:fixed;left:50%;top:0;transform:translateX(-50%);z-index:35;box-sizing:border-box;width:min(100%,430px);height:calc(52px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 10px 0 6px;display:flex;align-items:center;gap:4px;background:linear-gradient(180deg,var(--growth-primary,#2563eb),var(--growth-secondary,#1d4ed8));color:var(--growth-notice-ink,#fff);box-shadow:0 1px 4px #172b4d12;}
#app[data-layout="mobile"] .sports-header-back {flex:0 0 28px;width:28px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:none;color:inherit;}
#app[data-layout="mobile"] .sports-header-back svg {width:18px;height:18px;transform:rotate(90deg);}
#app[data-layout="mobile"] .sports-fixed-header h1 {flex:1;min-width:0;margin:0;font-size:16px;line-height:1.2;font-weight:700;white-space:nowrap;color:inherit;}
#app[data-layout="mobile"] .sports-header-filters {display:flex;align-items:center;gap:7px;flex:0 0 auto;}
#app[data-layout="mobile"] .sports-fixed-header .sports-expired-toggle {display:flex;align-items:center;justify-content:flex-start;flex:none;gap:4px;width:auto;min-width:0;min-height:44px;height:44px;margin:0;padding:0;background:none;border:0;box-shadow:none;border-radius:0;color:inherit;font-size:10.5px;white-space:nowrap;font-weight:400;}
#app[data-layout="mobile"] .sports-fixed-header .sports-expired-toggle i {position:relative;flex:0 0 23px;width:23px;height:14px;margin:0;border:1px solid currentColor;border-radius:9px;background:transparent;box-sizing:border-box;}
#app[data-layout="mobile"] .sports-fixed-header .sports-expired-toggle i::before {content:"";position:absolute;left:2px;top:2px;width:8px;height:8px;border-radius:50%;background:currentColor;transform:none;box-shadow:none;}
#app[data-layout="mobile"] .sports-fixed-header .sports-expired-toggle i::after {display:none;}
#app[data-layout="mobile"] .sports-fixed-header .sports-expired-toggle.active i {background:currentColor;}
#app[data-layout="mobile"] .sports-fixed-header .sports-expired-toggle.active i::before {left:11px;background:var(--growth-secondary,#1d4ed8);}
#app[data-layout="mobile"] .sports-header-league {position:relative;display:block;flex:none;box-sizing:border-box;width:88px;min-width:69px;max-width:88px;height:30px;margin:7px 0;padding:0 16px;border:1px solid currentColor;border-radius:6px;background:transparent;color:inherit;box-shadow:none;font-size:11px;line-height:1.2;}
#app[data-layout="mobile"] .sports-header-league::after {content:"";position:absolute;inset:-7px 0;}
#app[data-layout="mobile"] .sports-header-league span {display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;}
#app[data-layout="mobile"] .sports-header-league svg {position:absolute;left:5px;top:50%;transform:translateY(-50%);width:10px;height:10px;pointer-events:none;}
@media(max-width:350px){#app[data-layout="mobile"] .sports-fixed-header {padding-right:7px;gap:2px;}#app[data-layout="mobile"] .sports-fixed-header h1 {font-size:15px;}#app[data-layout="mobile"] .sports-header-filters {gap:5px;}#app[data-layout="mobile"] .sports-header-league {max-width:75px;padding-left:14px;padding-right:14px;font-size:10px;}}

/* Android classic mobile layout. Desktop V3 is loaded separately. */
/* XBC-20261030-012: compact live sports summary, scoped to Web mobile only. */
#app[data-layout="mobile"] .mobile-sports-summary {position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);height:auto;display:block;margin:0;padding:0 14px max(12px,env(safe-area-inset-bottom,0px));background:var(--c-surface,#fff);border:0;border-top:1px solid var(--c-border,#e3e9f2);box-shadow:0 -4px 16px #20375108;z-index:30;}
#app[data-layout="mobile"] .sports-page.with-bottom {padding-bottom:calc(82px + env(safe-area-inset-bottom,0px));}
#app[data-layout="mobile"] .sports-page.with-bottom.sports-has-selection {padding-bottom:calc(126px + env(safe-area-inset-bottom,0px));}
#app[data-layout="mobile"] .mobile-summary-controls {display:grid;grid-template-columns:71px minmax(0,1fr) 124px;gap:6px;align-items:center;height:44px;border-bottom:1px solid var(--c-border,#edf1f7);}
#app[data-layout="mobile"] .mobile-summary-controls button {background:none;border:0;box-shadow:none;padding:0;min-height:44px;min-width:0;color:var(--c-muted,#8390a3);border-radius:0;}
#app[data-layout="mobile"] .mobile-summary-count {display:flex;align-items:center;gap:3px;font-size:11px;white-space:nowrap;}
#app[data-layout="mobile"] .mobile-summary-count b {color:var(--c-blue,#2563eb);font-size:15px;font-weight:600;}
#app[data-layout="mobile"] .mobile-summary-count svg {width:11px;height:11px;transform:rotate(180deg);}
/* XBC-20261031-006: keep the pass entry visibly actionable, including dark themes. */
#app[data-layout="mobile"] .mobile-summary-controls .mobile-summary-parlay {display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#2563eb;}
#app[data-layout="mobile"] .mobile-summary-parlay b {font-size:12px;font-weight:500;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit;}
#app[data-layout="mobile"] .mobile-summary-parlay svg {width:11px;height:11px;flex-shrink:0;}
#app[data-layout="mobile"] .mobile-summary-fold {display:flex;align-items:center;gap:4px;font-size:10px;color:var(--c-muted,#8390a3);}
#app[data-layout="mobile"] .mobile-summary-fold>div {display:grid;grid-template-columns:29px minmax(0,1fr) 29px;border:1px solid var(--c-border,#e4eaf2);border-radius:4px;overflow:hidden;align-items:center;width:96px;height:30px;}
#app[data-layout="mobile"] .mobile-summary-fold button {min-height:28px;font-size:15px;}
#app[data-layout="mobile"] .mobile-summary-fold input {width:100%;height:28px;min-height:0;margin:0;padding:0;border:0;border-radius:0;border-left:1px solid var(--c-border,#e4eaf2);border-right:1px solid var(--c-border,#e4eaf2);text-align:center;background:none;box-shadow:none;color:var(--c-text,#425575);font-size:12px;appearance:textfield;-moz-appearance:textfield;}
#app[data-layout="mobile"] .mobile-summary-fold input::-webkit-inner-spin-button {appearance:none;margin:0;}
#app[data-layout="mobile"] .mobile-summary-bottom {display:grid;grid-template-columns:minmax(0,1fr) auto 96px;gap:8px;align-items:center;min-height:52px;padding:4px 0;}
#app[data-layout="mobile"] .mobile-summary-totals {min-width:0;}
#app[data-layout="mobile"] .mobile-summary-amount {display:flex;align-items:baseline;gap:5px;font-size:10px;line-height:24px;white-space:nowrap;color:var(--c-muted,#8390a3);}
#app[data-layout="mobile"] .mobile-summary-amount strong {font-size:20px;line-height:24px;color:var(--c-red,#df4c43);font-weight:600;font-variant-numeric:tabular-nums;}
#app[data-layout="mobile"] .mobile-summary-prize {display:flex;align-items:center;gap:4px;font-size:10px;line-height:17px;white-space:nowrap;color:var(--c-muted,#8390a3);}
#app[data-layout="mobile"] .mobile-summary-prize b {font-size:11px;line-height:17px;color:var(--c-blue,#2563eb);font-weight:500;}
#app[data-layout="mobile"] .mobile-summary-optimize {padding:0 1px;min-height:44px;background:none;border:0;box-shadow:none;color:var(--c-blue,#2563eb);font-size:12px;white-space:nowrap;}
#app[data-layout="mobile"] .mobile-summary-save {position:relative;height:38px;min-height:38px;margin:0;padding:0;border:0;background:var(--c-blue,#2563eb);color:#fff;font-size:13px;font-weight:500;border-radius:6px;box-shadow:none;}
#app[data-layout="mobile"] .mobile-summary-save::before {content:"";position:absolute;inset:-3px 0;}
#app[data-layout="mobile"] .mobile-summary-bottom button:disabled {opacity:.45;}
#app[data-layout="mobile"] .mobile-sports-optimization {padding-bottom:calc(110px + env(safe-area-inset-bottom,0px));}
#app[data-layout="mobile"] .mobile-optimization-overview {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0;font-size:11px;color:var(--c-muted);}
#app[data-layout="mobile"] .mobile-optimization-overview strong {font-size:14px;font-weight:500;color:var(--c-text);}
#app[data-layout="mobile"] .mobile-optimization-settings {padding:15px;border:1px solid var(--c-border);border-radius:10px;background:var(--c-surface);margin:0 0 18px;}
#app[data-layout="mobile"] .mobile-optimization-settings label {display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--c-border);font-size:12px;color:var(--c-muted);}
#app[data-layout="mobile"] .mobile-optimization-settings label>div {display:flex;align-items:baseline;gap:3px;}
#app[data-layout="mobile"] #mobile-optimization-budget {width:130px;text-align:right;background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0;color:var(--c-red);font-size:22px;height:30px;}
#app[data-layout="mobile"] .mobile-optimization-strategy {display:flex;align-items:center;gap:10px;margin-top:13px;color:var(--c-muted);font-size:11px;}
#app[data-layout="mobile"] .mobile-optimization-strategy b {color:var(--c-blue);background:var(--c-soft);font-weight:500;border-radius:5px;padding:7px 10px;}
#app[data-layout="mobile"] .mobile-optimization-strategy button {margin-left:auto;border:0;background:none;padding:6px 0;color:var(--c-blue);font-size:12px;min-height:36px;}
#app[data-layout="mobile"] .mobile-allocation-title {display:flex;justify-content:space-between;align-items:center;margin:18px 0 11px;font-size:14px;}
#app[data-layout="mobile"] .mobile-allocation-title small {font-size:11px;font-weight:400;color:var(--c-muted);}
#app[data-layout="mobile"] .mobile-allocation {background:var(--c-surface);border:1px solid var(--c-border);border-radius:8px;padding:12px 13px;margin-bottom:9px;}
#app[data-layout="mobile"] .mobile-allocation header {display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:8px;}
#app[data-layout="mobile"] .mobile-allocation header>strong {flex:1;font-weight:500;}
#app[data-layout="mobile"] .mobile-allocation header>span {background:var(--c-soft);color:var(--c-blue);border-radius:4px;padding:3px 6px;font-size:11px;}
#app[data-layout="mobile"] .mobile-allocation small {font-size:10px;color:var(--c-muted);white-space:nowrap;}
#app[data-layout="mobile"] .mobile-allocation small b {color:var(--c-blue);font-weight:500;}
#app[data-layout="mobile"] .mobile-allocation p {font-size:11px;line-height:20px;margin:6px 0;color:var(--c-muted);overflow-wrap:anywhere;}
#app[data-layout="mobile"] .mobile-allocation p b {font-weight:400;white-space:nowrap;}
#app[data-layout="mobile"] .mobile-optimization-note {font-size:10px;line-height:19px;color:var(--c-muted);margin:14px 0;}
#app[data-layout="mobile"] .mobile-optimization-error {font-size:12px;color:var(--c-red);line-height:21px;}
#app[data-layout="mobile"] .mobile-allocation-pages {display:flex;align-items:center;justify-content:space-between;font-size:12px;}
#app[data-layout="mobile"] .mobile-optimization-footer {position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);background:var(--c-surface);border-top:1px solid var(--c-border);padding:10px 14px max(12px,env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:20px;z-index:30;}
#app[data-layout="mobile"] .mobile-optimization-footer>div {flex:1;font-size:11px;color:var(--c-muted);}
#app[data-layout="mobile"] .mobile-optimization-footer strong {display:block;font-size:22px;line-height:28px;font-weight:600;color:var(--c-red);}
#app[data-layout="mobile"] .mobile-optimization-footer button {width:110px;height:38px;border:0;border-radius:6px;background:var(--c-blue);color:#fff;font-size:13px;}
#app[data-layout="mobile"] .mobile-optimization-footer button:disabled {opacity:.45;}
@media(max-width:350px){#app[data-layout="mobile"] .mobile-sports-summary {padding-left:10px;padding-right:10px;}#app[data-layout="mobile"] .mobile-summary-controls {grid-template-columns:66px minmax(0,1fr) 115px;gap:3px;}#app[data-layout="mobile"] .mobile-summary-parlay {gap:2px;}#app[data-layout="mobile"] .mobile-summary-parlay b {max-width:55px;font-size:11px;}#app[data-layout="mobile"] .mobile-summary-fold>div {width:88px;grid-template-columns:26px minmax(0,1fr) 26px;}#app[data-layout="mobile"] .mobile-summary-bottom {grid-template-columns:minmax(0,1fr) auto 85px;gap:5px;}#app[data-layout="mobile"] .mobile-summary-optimize {font-size:11px;}#app[data-layout="mobile"] .mobile-summary-amount strong {font-size:18px;}#app[data-layout="mobile"] .mobile-summary-prize {font-size:9px;gap:3px;}#app[data-layout="mobile"] .mobile-summary-prize b {font-size:9.5px;}}
/* Merchant daily actions only: keep the desktop board and other tool cards unchanged. */
.mobile-shell [data-design="android-classic"] .owner-workbench-daily {
  margin-top: 14px; padding: 14px; border: 1px solid #e2e8f0;
  border-radius: 12px; background: #fff;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-section-head {
  margin: 0 0 12px; padding: 0; min-height: 22px;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-section-head strong {
  color: #111827; font-size: 16px; font-weight: 700;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-section-head > span {
  color: #94a3b8; font-size: 12px; font-weight: 400;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  min-width: 0; min-height: 128px; margin: 0; padding: 12px;
  border: 1px solid #e8eef5; border-radius: 10px; background: #f8fafc; box-shadow: none;
  -webkit-tap-highlight-color: transparent; transition: background-color 120ms;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card:active {
  background: #edf2fa;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card:focus-visible {
  outline: 2px solid #2563eb; outline-offset: 2px;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card > span::after {
  content: '›'; position: absolute; top: 14px; right: 12px; color: #94a3b8; font-size: 20px; line-height: 28px;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card > i ~ span::after { display: none; }
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card > span {
  flex: 0 0 32px; width: 32px; min-width: 32px; height: 32px; padding: 0;
  border-radius: 9px; font-size: 15px; font-weight: 700;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card.green > span { background: #ecfdf5; color: #059669; }
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card.blue > span { background: #eff6ff; color: #2563eb; }
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card.purple > span { background: #f5f3ff; color: #7c3aed; }
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card.amber > span { background: #fffbeb; color: #b45309; }
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card > strong {
  margin: 8px 0 0; color: #111827; font-size: 15px; line-height: 1.4; font-weight: 700;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card > em {
  margin-top: 4px; color: #64748b; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere;
}
.mobile-shell [data-design="android-classic"] .owner-workbench-daily .owner-workbench-action-card > i {
  z-index: 1; top: 16px; right: 12px;
}

html[data-czt-layout="mobile"] { color-scheme: light; }
.mobile-shell [data-design="android-classic"],
.mobile-shell [data-design="android-classic"] *,
.mobile-shell [data-design="android-classic"] *::before,
.mobile-shell [data-design="android-classic"] *::after { box-sizing: border-box; }
.mobile-shell [data-design="android-classic"] .store-mobile-match-list { margin-top: 12px; }
.mobile-shell [data-design="android-classic"] .store-mobile-match-row {
  display: grid;
  grid-template-columns: 40px 52px minmax(0, 1fr) 20px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
}
.mobile-shell [data-design="android-classic"] .store-mobile-match-row > * { min-width: 0; overflow-wrap: anywhere; }
.mobile-shell [data-design="android-classic"] .store-mobile-match-row time,
.mobile-shell [data-design="android-classic"] .store-mobile-match-row small,
.mobile-shell [data-design="android-classic"] .store-mobile-match-row i { color: #64748b; font-size: 11px; font-style: normal; }
.mobile-shell [data-design="android-classic"] .store-mobile-match-row strong { color: #111827; font-size: 12px; font-weight: 600; }
.mobile-shell [data-design="android-classic"] .store-android-events + .store-android-section-title { margin-top: 18px; }
.mobile-shell [data-design="android-classic"] .store-android-feature.gray > i { background: #059669; }
.mobile-shell [data-design="android-classic"] .number-ticket-list { max-height: none; height: auto; overflow: visible; }
.mobile-shell [data-design="android-classic"] .page > .footer-note,
.mobile-shell [data-design="android-classic"] .mine-footer-note { margin-left: 0; margin-right: 0; }
.mobile-shell [data-design="android-classic"] .community-feed { margin-left: 0; margin-right: 0; min-width: 0; }
.mobile-shell [data-design="android-classic"] .store-login-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; font-size: 12px; line-height: 1.6; }
.mobile-shell [data-design="android-classic"] .store-login-consent input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; padding: 0; accent-color: #2563eb; }

/* XBC-20260913-008: keep the mobile trend lottery label on one horizontal line. */
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .lottery-trend-local-switch label {
  white-space: nowrap; word-break: keep-all; writing-mode: horizontal-tb; text-orientation: mixed;
}

/* XBC-20260913-010: mobile mode can also be previewed in a >=900px browser.
   Key this layout to the mobile shell itself, not to the viewport width. */
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .lottery-trend-local-switch {
  grid-template-columns: auto minmax(0, 1fr); align-content: center;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .lottery-trend-local-switch > span {
  display: block; grid-column: 1 / -1; min-width: 0; margin-top: 1px;
  white-space: nowrap; word-break: keep-all; writing-mode: horizontal-tb; text-orientation: mixed;
}
@media (max-width: 700px) {
  .mobile-shell [data-design="android-classic"] .lottery-analysis-page .lottery-trend-local-switch > span { display: none; }
}

/* XBC-20260913-011: give the mobile trend title and period choices their own rows. */
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-heading {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; justify-content: stretch;
  width: 100%; gap: 11px; min-height: 0; padding: 13px 12px 12px; background: #fff;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-heading > div:first-child {
  min-width: 0; padding-left: 9px; border-left: 3px solid #c0392b;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-heading h2 {
  margin: 0; font-size: 16px; line-height: 22px; white-space: nowrap;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-heading span {
  margin-top: 2px; font-size: 11px; line-height: 16px; white-space: nowrap;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-periods {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%; gap: 5px; padding: 4px; border-radius: 8px; background: #f1f5f9;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-periods button {
  min-width: 0; min-height: 34px; padding: 0 2px; border-color: transparent; border-radius: 6px;
  background: transparent; font-size: 12px; white-space: nowrap; box-shadow: none;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-periods button.active {
  border-color: #c0392b; background: #c0392b; color: #fff; box-shadow: 0 2px 5px rgb(192 57 43 / 20%);
}
@media (max-width: 340px) {
  .mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-periods button { font-size: 11px; }
}

/* XBC-20260913-012: keep the five DLT trend markers compact on one row. */
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-options {
  justify-content: space-between; flex-wrap: nowrap; gap: 4px; padding: 6px 8px;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-options button {
  flex: 0 0 auto; gap: 3px; font-size: 11px; white-space: nowrap;
}

/* XBC-20260913-013: narrow the two fixed identity columns on mobile trends. */
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-table col:nth-child(1) {
  width: 60px !important;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-table col:nth-child(2) {
  width: 28px !important;
}
.mobile-shell [data-design="android-classic"] .lottery-analysis-page .ssq-trend-table .sticky-week {
  left: 60px;
}

/* The legacy shell stays phone-sized on tablets; its controls must use that
   shell width, rather than inheriting the old >600px desktop number grid. */
.mobile-shell [data-design="android-classic"] .number-pick-workspace { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.mobile-shell [data-design="android-classic"] .number-pick-builder,
.mobile-shell [data-design="android-classic"] .number-pick-summary { display: contents; }
.mobile-shell [data-design="android-classic"] .number-selector-card,
.mobile-shell [data-design="android-classic"] .number-ticket-card,
.mobile-shell [data-design="android-classic"] .number-config-card { width: 100%; min-width: 0; margin-top: 10px; padding: 12px; }
.mobile-shell [data-design="android-classic"] .number-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px 4px; }
.mobile-shell [data-design="android-classic"] .number-position-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mobile-shell [data-design="android-classic"] .number-bottom-bar { position: fixed; left: 50%; bottom: 0; width: min(100%, 430px); margin: 0; border: 0; border-radius: 0; transform: translateX(-50%); }
@media (max-width: 360px) {
  .mobile-shell [data-design="android-classic"] .number-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* XBC-20260913-007: mobile number sharing and period-card placement. */
.mobile-shell [data-design="android-classic"] .number-header-share {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 58px; padding: 0 4px; color: #fff;
}
.mobile-shell [data-design="android-classic"] .number-header-share svg { width: 17px; height: 17px; }
.mobile-shell [data-design="android-classic"] .number-header-share span { font-size: 13px; line-height: 1; }
.mobile-shell [data-design="android-classic"] .number-pick-page > .topbar .topbar-title {
  width: calc(100% - 150px); max-width: calc(100% - 150px);
}
.mobile-shell [data-design="android-classic"] .number-pick-page > .topbar .topbar-title h1 { display: block; width: 100%; }
.mobile-shell [data-design="android-classic"] .number-pick-page .number-config-card + .number-period-card {
  width: 100%; min-width: 0; margin: 10px 0 0;
}

/* XBC-20260913-006: keep the Web mobile lottery hub as a compact card grid.
   The generic V2 narrow rule turns it into an unnecessarily long one-column list. */
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-head {
  align-items: flex-end; margin: 14px 2px 0;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-head strong {
  font-size: 17px; line-height: 24px;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-head span {
  min-width: 0; font-size: 11px; line-height: 18px; text-align: right;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-provider {
  margin: 12px 0 0;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-provider-head {
  min-height: 28px; padding: 0 2px 7px; border-bottom: 1px solid #e2e8f0;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-item {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  min-width: 0; min-height: 126px; padding: 12px 30px 11px 12px; border-radius: 10px;
  background: #fff; box-shadow: 0 2px 8px rgb(15 23 42 / 5%);
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-item:active {
  border-color: #93c5fd; background: #f8fbff;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-icon {
  display: grid; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; font-size: 15px;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-copy {
  display: grid; gap: 3px; width: 100%; min-width: 0;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-copy strong {
  padding-right: 2px; font-size: 15px; line-height: 21px;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-copy small {
  display: -webkit-box; min-height: 30px; overflow: hidden; color: #64748b;
  font-size: 11px; line-height: 15px; white-space: normal; overflow-wrap: anywhere;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-copy em {
  color: #2563eb; font-size: 11px; line-height: 16px; font-weight: 700;
}
.mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-item .row-arrow {
  position: absolute; top: 17px; right: 12px; color: #94a3b8; font-size: 20px; line-height: 24px;
}

@media (max-width: 340px) {
  .mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-head {
    align-items: flex-start; flex-direction: column; gap: 0;
  }
  .mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-head span {
    text-align: left;
  }
  .mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-grid { gap: 6px; }
  .mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-item {
    min-height: 122px; padding: 10px 25px 10px 10px;
  }
  .mobile-shell [data-design="android-classic"] .number-pick-hub-page .number-pick-hub-item .row-arrow { right: 9px; }
}

/* Store lottery results share data with desktop, but retain the Android-classic layout. */
.mobile-shell [data-design="android-classic"] .lottery-overview-page .lottery-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result { min-width: 0; padding: 14px 12px; border: 1px solid #e5eaf1; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgb(15 23 42 / 3%); }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result > header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result h3 { flex: 1; min-width: 0; margin: 0; color: #1e293b; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result nav { display: flex; flex-shrink: 0; align-items: center; gap: 6px; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result nav button { min-height: 34px; padding: 0 8px; border: 0; border-radius: 7px; background: #eff6ff; color: #2563eb; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result nav button:active { background: #dbeafe; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: #64748b; font-size: 12px; font-variant-numeric: tabular-nums; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result-meta em { margin-left: auto; font-style: normal; color: #94a3b8; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result-meta .today { color: #16a34a; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result-numbers { display: flex; justify-content: flex-start; min-width: 0; margin-top: 12px; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result .lottery-draw-balls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px; max-width: 100%; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result .draw-ball { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #ef4444; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result .draw-ball.blue { background: #2563eb; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result.dlt .draw-ball.red { background: #2563eb; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result.dlt .draw-ball.blue { background: #f59e0b; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result.qlc .lottery-draw-balls { gap: 4px; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result .xbc-ball-plus { color: #94a3b8; font-size: 12px; font-style: normal; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result.kl8 .lottery-draw-balls { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); width: min(100%, 334px); gap: 6px 4px; }
.mobile-shell [data-design="android-classic"] .mobile-lottery-result.kl8 .draw-ball { width: 100%; max-width: 28px; height: 24px; aspect-ratio: 1; justify-self: start; font-size: 12px; }
@supports (aspect-ratio: 1) {
  .mobile-shell [data-design="android-classic"] .mobile-lottery-result.kl8 .draw-ball { height: auto; }
}
.mobile-shell [data-design="android-classic"] .mobile-lottery-result-numbers > p { width: 100%; margin: 0; padding: 6px 0; color: #94a3b8; font-size: 13px; overflow-wrap: anywhere; }

/* XBC-20260913-002: keep the mobile store-post list and detail aligned with Android. */
.mobile-shell [data-design="android-classic"] .store-posts-page,
.mobile-shell [data-design="android-classic"] .store-post-detail-page { background: #f5f7fa; }
.mobile-shell [data-design="android-classic"] .store-posts-page .store-post-segments.category {
  display: flex; gap: 4px; margin-top: 14px; padding: 6px; border: 1px solid #e8ecf0;
  border-radius: 12px; background: #fff; box-shadow: none;
}
.mobile-shell [data-design="android-classic"] .store-posts-page .store-post-segments.category button {
  display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-width: 0; min-height: 42px;
  padding: 0 6px; border-radius: 8px; color: #8a9aaa; font-size: 13px; font-weight: 700;
}
.mobile-shell [data-design="android-classic"] .store-posts-page .store-post-segments.category button.active { background: #1a2634; color: #fff; }
.mobile-shell [data-design="android-classic"] .store-posts-page .store-post-section-head { margin: 14px 2px 8px; padding: 2px 0 4px; }
.mobile-shell [data-design="android-classic"] .store-post-date-groups { gap: 0; }
.mobile-shell [data-design="android-classic"] .store-post-date-head { gap: 10px; margin: 0; padding: 14px 2px 2px; }
.mobile-shell [data-design="android-classic"] .store-post-date-head strong { color: #5a6a7a; font-size: 13px; }
.mobile-shell [data-design="android-classic"] .store-post-date-head.pinned strong { color: #b8944b; }
.mobile-shell [data-design="android-classic"] .store-post-date-head span { color: #9aa7b4; font-size: 12px; }
.mobile-shell [data-design="android-classic"] .android-post-row-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mobile-shell [data-design="android-classic"] .android-post-row-list .store-post-row-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start;
  min-height: 0; padding: 12px 14px; border: 1px solid #e8ecf0; border-radius: 10px;
  background: #fff; box-shadow: none;
}
.mobile-shell [data-design="android-classic"] .android-post-row-list .store-post-row-badge {
  display: inline-grid; grid-column: auto; place-items: center; min-width: 34px; height: 22px;
  padding: 0 10px; border-radius: 6px; font-size: 11px;
}
.mobile-shell [data-design="android-classic"] .android-post-row-list .store-post-row-item > div { min-width: 0; }
.mobile-shell [data-design="android-classic"] .android-post-row-list .store-post-row-item strong { color: #1a2634; font-size: 14px; line-height: 1.35; }
.mobile-shell [data-design="android-classic"] .android-post-row-list .store-post-row-item p { margin-top: 2px; color: #5a6a7a; font-size: 13px; line-height: 1.6; }
.mobile-shell [data-design="android-classic"] .android-post-row-list .store-post-row-item small { gap: 12px; margin-top: 6px; color: #aab4c0; font-size: 11px; }
.mobile-shell [data-design="android-classic"] .store-post-row-side { display: flex; grid-column: auto; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.mobile-shell [data-design="android-classic"] .store-post-row-side .store-post-row-status { display: block; grid-column: auto; padding: 2px 6px; background: transparent; }
.mobile-shell [data-design="android-classic"] .store-post-row-thumbnail {
  position: relative; display: block; width: 68px; height: 68px; overflow: hidden;
  border: 1px solid #d8dee4; border-radius: 7px; background: #f0f2f5;
}
.mobile-shell [data-design="android-classic"] .store-post-row-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mobile-shell [data-design="android-classic"] .store-post-row-thumbnail b {
  position: absolute; right: 4px; bottom: 4px; padding: 2px 5px; border-radius: 5px;
  background: rgb(26 38 52 / 70%); color: #fff; font-size: 10px; line-height: 16px;
}
.mobile-shell [data-design="android-classic"] .store-post-detail-page .store-post-detail-brief { margin-top: 14px; padding: 12px 16px; }
.mobile-shell [data-design="android-classic"] .store-post-detail-page .store-post-detail { margin-top: 14px; padding: 20px 18px 18px; border-radius: 12px; box-shadow: none; }
.mobile-shell [data-design="android-classic"] .store-post-detail-page .store-post-detail h2 { color: #1a2634; font-size: 20px; line-height: 1.4; }
.mobile-shell [data-design="android-classic"] .store-post-detail-page .store-post-detail-info { color: #8a9aaa; font-size: 13px; }
.mobile-shell [data-design="android-classic"] .store-post-detail-page .store-post-content p { color: #3a4a5a; font-size: 15px; line-height: 1.8; }
@media (max-width: 360px) {
  .mobile-shell [data-design="android-classic"] .android-post-row-list .store-post-row-item { grid-template-columns: auto minmax(0, 1fr) 58px; gap: 9px; padding: 12px 10px; }
  .mobile-shell [data-design="android-classic"] .store-post-row-thumbnail { width: 58px; height: 58px; }
  .mobile-shell [data-design="android-classic"] .store-posts-page .store-post-segments.category button { padding: 0 3px; font-size: 12px; }
}

/* view=mobile is also used on shop computers for previewing the phone UI. */
@media (min-width: 900px) {
  .mobile-shell [data-design="android-classic"] .page:not(.community-compose-page):not(.community-confirm-page) { width: 100%; padding: 0 12px 92px; }
  .mobile-shell [data-design="android-classic"] .page > .topbar,
  .mobile-shell [data-design="android-classic"] .community-header,
  .mobile-shell [data-design="android-classic"] .mine-title,
  .mobile-shell [data-design="android-classic"] .store-android-header {
    display: flex; align-items: center; justify-content: space-between;
    min-height: calc(48px + env(safe-area-inset-top)); margin: 0 -12px 12px;
    padding: env(safe-area-inset-top) 16px 0 18px; border: 0; border-radius: 0;
    background: linear-gradient(180deg, #2563eb, #1d4ed8); color: #fff;
  }
  .mobile-shell [data-design="android-classic"] .topbar-title h1,
  .mobile-shell [data-design="android-classic"] .topbar-title h1::first-letter,
  .mobile-shell [data-design="android-classic"] .community-header h1,
  .mobile-shell [data-design="android-classic"] .mine-title h1 { margin: 0; color: #fff; font-size: 20px; }
  .mobile-shell [data-design="android-classic"] .community-header > div > span,
  .mobile-shell [data-design="android-classic"] .community-header p,
  .mobile-shell [data-design="android-classic"] .mine-title .v2-kicker { display: none; }
  .mobile-shell [data-design="android-classic"] .community-header-actions button { min-height: 34px; padding: 0 12px; }
}
.mobile-shell .store-layout-identity { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:12px; margin:0 0 12px; padding:14px; border:1px solid #dbe7f5; border-radius:12px; background:#fff; }
.mobile-shell .store-layout-identity .store-avatar,
.mobile-shell .store-layout-identity .store-avatar-image { width:48px; height:48px; flex:none; }
.mobile-shell .store-layout-identity > div { min-width:0; }
.mobile-shell .store-layout-identity small,
.mobile-shell .store-layout-identity strong,
.mobile-shell .store-layout-identity p { display:block; }
.mobile-shell .store-layout-identity small { overflow:hidden; color:#64748b; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.mobile-shell .store-layout-identity strong { margin-top:2px; color:#0f172a; font-size:17px; line-height:1.3; }
.mobile-shell .store-layout-identity p { margin:4px 0 0; color:#64748b; font-size:12px; line-height:1.5; }
.mobile-shell .store-layout-identity > em { grid-column:1 / -1; justify-self:start; padding:5px 10px; border-radius:999px; background:#fff4e5; color:#b45309; font-size:11px; font-style:normal; }
.mobile-shell .store-layout-identity > em.open { background:#e6f0ea; color:#23704e; }
.mobile-shell .store-home-layout-compact .store-layout-identity { margin-bottom:8px; padding:10px; }
.mobile-shell .store-home-layout-compact .store-layout-identity p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mobile-shell .store-home-layout-compact .store-layout-identity > em { display:none; }
.mobile-shell .store-home-layout-poster .store-layout-identity { grid-template-columns:1fr; justify-items:center; padding:22px 16px; text-align:center; }
.mobile-shell .store-home-layout-poster .store-layout-identity .store-avatar,
.mobile-shell .store-home-layout-poster .store-layout-identity .store-avatar-image { width:68px; height:68px; }
.mobile-shell .store-home-layout-poster .store-layout-identity > em { justify-self:center; }

/* XBC-20260922-001: mobile merchant messages and Android-aligned qualification flow. */
.mobile-shell [data-design="android-classic"] .message-center-page .message-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; width:100%; margin-top:12px; padding:4px; }
.mobile-shell [data-design="android-classic"] .message-center-page .message-tab-filter { min-width:0; min-height:42px; padding:6px 2px; font-size:12px; }
/* XBC-20261112-002: keep labels and counts together on mobile. */
#app[data-layout="mobile"] .message-center-page .message-tab-filter { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:3px; white-space:nowrap; font-size:clamp(10px,3.2vw,12px); }
#app[data-layout="mobile"] .message-center-page .message-tab-filter>b { padding:0; background:none; color:inherit; font-size:10px; line-height:1.4; }
#app[data-layout="mobile"] .message-center-page .message-section-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#app[data-layout="mobile"] .message-center-page .message-section-head>.message-read-all { min-height:32px; padding:4px 0 4px 10px; border:0; background:none; color:var(--growth-primary,#2563eb); font-size:12px; white-space:nowrap; }
.mobile-shell [data-design="android-classic"] .message-center-page .message-row-item { cursor:pointer; }
.mobile-shell [data-design="android-classic"] .store-onboarding-page { background:#f8fafc; }
.mobile-shell [data-design="android-classic"] .store-onboarding-page .store-onboarding-main { padding:0 0 18px; }
.mobile-shell [data-design="android-classic"] .store-onboarding-page .store-onboarding-section-header.desktop-hidden { display:none; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-shell { display:grid; gap:12px; margin-top:12px; }
.mobile-shell [data-design="android-classic"] :is(.merchant-qualification-steps,.merchant-qualification-form-panel) { min-width:0; padding:14px; border:1px solid #e5eaf1; border-radius:12px; background:#fff; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-steps > strong { display:block; margin-bottom:12px; color:#0f172a; font-size:15px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-step { display:grid; grid-template-columns:28px minmax(0,1fr); gap:9px; align-items:center; margin-top:10px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-step > span { display:grid; place-items:center; width:28px; height:28px; border:1px solid #cbd5e1; border-radius:50%; color:#64748b; font-size:12px; font-weight:800; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-step.active > span { border-color:#2563eb; background:#2563eb; color:#fff; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-step.done > span { border-color:#16a36a; background:#16a36a; color:#fff; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-step :is(b,em) { display:block; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-step b { color:#334155; font-size:13px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-step em { margin-top:2px; color:#94a3b8; font-size:11px; font-style:normal; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-assurance { margin-top:14px; padding:12px; border-radius:8px; background:#eff6ff; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-assurance b { color:#1d4ed8; font-size:12px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-assurance p { margin:4px 0 0; color:#64748b; font-size:11px; line-height:1.55; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-form-panel > header > span { color:#2563eb; font-size:12px; font-weight:800; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-form-panel > header h2 { margin:8px 0 0; color:#0f172a; font-size:19px; line-height:1.35; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-form-panel > header p { margin:6px 0 0; color:#64748b; font-size:12px; line-height:1.6; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-grid { display:grid; gap:12px; margin-top:16px; }
.mobile-shell [data-design="android-classic"] :is(.merchant-qualification-field,.merchant-qualification-time) > span { display:block; margin-bottom:6px; color:#334155; font-size:12px; font-weight:700; }
.mobile-shell [data-design="android-classic"] :is(.merchant-qualification-field,.merchant-qualification-time) em { margin-left:3px; color:#ef4444; font-style:normal; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-field :is(input,select),
.mobile-shell [data-design="android-classic"] .merchant-qualification-time input { box-sizing:border-box; width:100%; min-height:44px; padding:0 11px; border:1px solid #d7dee8; border-radius:8px; background:#fff; color:#0f172a; font-size:14px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-time > div { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:8px; align-items:end; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-time label small { display:block; margin-bottom:5px; color:#64748b; font-size:11px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-time i { padding-bottom:13px; color:#94a3b8; font-size:12px; font-style:normal; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-time output { display:block; margin-top:8px; color:#2563eb; font-size:12px; font-weight:800; }
.mobile-shell [data-design="android-classic"] :is(.merchant-qualification-time p,.merchant-qualification-help) { margin:5px 0 0; color:#64748b; font-size:11px; line-height:1.5; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-certificates { display:grid; gap:12px; margin-top:16px; }
.mobile-shell [data-design="android-classic"] :is(.merchant-qualification-certificate,.merchant-qualification-storefront,.merchant-qualification-confirm section) { padding:13px; border:1px solid #e2e8f0; border-radius:10px; background:#f8fafc; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-check { display:flex; gap:10px; align-items:center; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-check input { width:20px; height:20px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-check :is(span,b,em) { display:block; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-check b { color:#0f172a; font-size:14px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-check em { margin-top:3px; color:#64748b; font-size:11px; font-style:normal; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-upload { display:grid; gap:4px; margin-top:12px; padding:14px; border:1px dashed #93c5fd; border-radius:9px; background:#eff6ff; text-align:center; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-upload input { display:none; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-upload b { color:#2563eb; font-size:13px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-upload em { color:#64748b; font-size:11px; font-style:normal; }
.mobile-shell [data-design="android-classic"] .merchant-storefront-example { display:flex; gap:10px; }
.mobile-shell [data-design="android-classic"] .merchant-storefront-example > span { display:grid; place-items:center; flex:0 0 42px; height:42px; border-radius:9px; background:#dbeafe; color:#1d4ed8; font-weight:900; }
.mobile-shell [data-design="android-classic"] .merchant-storefront-example b { color:#0f172a; font-size:14px; }
.mobile-shell [data-design="android-classic"] .merchant-storefront-example p { margin:4px 0 0; color:#64748b; font-size:11px; line-height:1.5; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-confirm { display:grid; gap:10px; margin-top:16px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-confirm h3 { margin:0 0 8px; color:#0f172a; font-size:15px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-confirm section > div { display:grid; grid-template-columns:76px minmax(0,1fr); gap:8px; padding:7px 0; border-top:1px solid #e2e8f0; font-size:12px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-confirm section > div span { color:#64748b; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-confirm section > div b { color:#334155; overflow-wrap:anywhere; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-declaration { display:flex; gap:9px; align-items:flex-start; color:#475569; font-size:12px; line-height:1.55; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-declaration input { flex:0 0 auto; width:19px; height:19px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-actions { display:flex; justify-content:space-between; gap:10px; margin-top:16px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-actions button { flex:1; min-height:44px; border-radius:9px; font-size:14px; font-weight:800; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-actions .primary { background:#2563eb; color:#fff; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-actions .secondary { border:1px solid #cbd5e1; background:#fff; color:#475569; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-legal { margin:12px 0 0; color:#94a3b8; font-size:10px; text-align:center; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-error { margin-top:12px; padding:10px; border-radius:8px; background:#fef2f2; color:#b91c1c; font-size:12px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-card { display:flex; gap:12px; align-items:center; margin-top:16px; padding:14px; border-radius:10px; background:#eff6ff; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-icon { display:grid; place-items:center; flex:0 0 38px; height:38px; border-radius:50%; background:#2563eb; color:#fff; font-weight:900; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-card b { color:#0f172a; font-size:14px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-card p { margin:3px 0 0; color:#64748b; font-size:11px; line-height:1.5; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-details { margin:12px 0 0; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-details > div { display:grid; grid-template-columns:72px minmax(0,1fr); gap:8px; padding:9px 0; border-bottom:1px solid #e2e8f0; font-size:12px; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-details dt { color:#64748b; }
.mobile-shell [data-design="android-classic"] .merchant-qualification-status-details dd { margin:0; color:#334155; overflow-wrap:anywhere; }
@media (max-width:360px) {
  .mobile-shell [data-design="android-classic"] .merchant-qualification-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .mobile-shell [data-design="android-classic"] .merchant-qualification-steps > strong,
  .mobile-shell [data-design="android-classic"] .merchant-qualification-assurance { grid-column:1 / -1; }
  .mobile-shell [data-design="android-classic"] .merchant-qualification-step { margin-top:0; }
  .mobile-shell [data-design="android-classic"] .merchant-qualification-step em { display:none; }
}

/* XBC-20261024-004: only concrete selection operations, current schemes and image surfaces. */
[data-selection-watermark] :is(.portal-sports-market,.xbc-sports-play-group,.sports-three-rows,.sports-north-options,.sports-popup-market,.play-row,.sports-play-group,.play-card,.selection-card,.preview-card,.preview-match,.preview-row,.xbc-selected-match,.portal-sports-selected-row,.portal-sports-summary,.number-ticket-card,.number-ticket-item,.number-ticket-row,.random-ten-list,.random-ten-row,.xbc-random-sheet,.traditional-picks,.td-cell-picks,.sports-calc-config,.sports-calc-result,.sports-split-card,.sports-split-row,.calculator-match-card) {
  background-image: var(--selection-watermark) !important;
  background-repeat: repeat-y !important;
  background-position: left top !important;
  background-size: 100% 110px !important;
}
[data-selection-watermark] :is(.option-btn,.number-ball,.number-mini-ball,.traditional-position-row button,.td-position-options button) { isolation: isolate; }
[data-selection-watermark] :is(.number-ball,.number-position-ball):not(.selected) { background-color: var(--p-panel, #ffffff) !important; }
/* XBC-20261024-010: digital input controls stay plain; watermark only the selected scheme. */
[data-selection-watermark] :is(.number-pick-builder,.number-selector-card,.number-config-card) {
  background-image: none !important;
}

/* XBC-20261024-011: included in preview and its saved image; no wagering promise. */
.sports-selection-forecast{padding:12px 14px;margin:10px 0 14px;border:1px solid var(--p-line,#dce6f2);border-radius:8px;background:var(--p-panel,#fff);color:var(--p-ink,#334155);min-width:0}
.sports-selection-forecast>div{display:flex;align-items:baseline;gap:4px;font-size:12px;line-height:1.8;min-width:0}.sports-selection-forecast strong{font-size:14px;white-space:nowrap;color:var(--p-red,#d53d41)}
.sports-selection-forecast p{margin:6px 0 0;font-size:11px;line-height:1.65;color:var(--p-subtle,#64748b);overflow-wrap:anywhere}.sports-selection-forecast .sports-forecast-notice{color:var(--p-ink,#475569);font-weight:600}

/* XBC-20261024-020: selected-plan controls and Android parlay/dan sheet, phone only. */
.mobile-shell .mobile-plan-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0}
.mobile-plan-controls>button{display:grid;grid-template-columns:minmax(0,1fr) 12px;gap:3px 8px;align-items:center;min-width:0;min-height:52px;padding:9px 12px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;text-align:left;color:#1e293b}
.mobile-plan-controls>button>span{color:#64748b;font-size:11px}.mobile-plan-controls strong{grid-row:2;grid-column:1;font-size:13px;overflow-wrap:anywhere}.mobile-plan-controls svg{grid-column:2;grid-row:1/3;width:12px;height:12px;color:#64748b;transform:rotate(-90deg)}
.mobile-plan-tools{display:flex;gap:16px;flex-wrap:wrap;margin:8px 0 0}.mobile-plan-tools button{border:0;padding:3px 0;background:transparent;color:#2563eb;font-size:12px}
.mobile-shell .selection-image-page .sports-selection-config strong{white-space:normal;overflow-wrap:anywhere}.mobile-shell .selection-image-page .preview-row p{white-space:normal;overflow-wrap:anywhere}
.sheet.sports-plan-config-sheet{display:flex;flex-direction:column;width:100%;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:0;overflow:hidden;border-radius:14px 14px 0 0;background:#fff;color:#111827}
.sports-plan-config-sheet .sheet-head{flex-shrink:0;margin:0;padding:12px 14px;border-bottom:1px solid #e5e7eb}.sports-plan-config-sheet .sheet-body{display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden}
.mobile-plan-segments{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 14px;flex-shrink:0}.mobile-plan-segments button{min-width:0;height:40px;border:1px solid #e5e7eb;border-radius:6px;background:#f8fafc;color:#64748b;font-size:13px;font-weight:700}.mobile-plan-segments button.active{border-color:#2563eb;background:#2563eb;color:#fff}
.mobile-plan-scroll{height:320px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 14px 18px}.mobile-plan-scroll header{display:flex;justify-content:space-between;gap:12px;margin:0 0 8px;font-size:13px}.mobile-plan-scroll header:not(:first-child){margin-top:16px}.mobile-plan-scroll header span{color:#64748b;font-size:12px}
.mobile-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mobile-plan-grid .sheet-option{min-width:0;min-height:42px;padding:7px 3px;border:1px solid #dbe4ef;border-radius:6px;background:#f8fafc;color:#334155;font-size:13px}.mobile-plan-grid .sheet-option.active{border-color:#2563eb;background:#2563eb;color:#fff}
.mobile-plan-dan{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:10px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:6px;background:#f8fafc;text-align:left;color:#111827}.mobile-plan-dan>span{min-width:0;overflow-wrap:anywhere}.mobile-plan-dan strong{font-size:12px}.mobile-plan-dan small{display:block;margin-top:4px;color:#64748b;font-size:11px}.mobile-plan-dan>b{flex-shrink:0;color:#64748b;font-size:12px}.mobile-plan-dan[aria-pressed=true]{border-color:#2563eb}.mobile-plan-dan[aria-pressed=true]>b{color:#2563eb}
.mobile-plan-empty{padding:24px 0;color:#64748b;text-align:center;font-size:13px}.mobile-plan-done{flex-shrink:0;padding:10px 14px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #e5e7eb}.mobile-plan-done .primary-btn{width:100%;min-height:44px;margin:0}

html.mobile-plan-sheet-open{overflow:hidden}

/* XBC-20261025-001: original Android summary and inline selected-match identity. */
.mobile-shell .mobile-plan-summary{margin-bottom:10px;padding:10px 12px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-size:12px}
.mobile-shell .mobile-plan-summary-line{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;line-height:1.6}
.mobile-shell .mobile-plan-summary-line>strong{min-width:0;overflow-wrap:anywhere}
.mobile-shell .mobile-plan-summary-line>b{flex-shrink:0;white-space:nowrap}
.mobile-shell .mobile-plan-summary>p{margin:6px 0 0;color:#059669;font-size:12px;overflow-wrap:anywhere}
.mobile-shell .mobile-plan-summary .sports-selection-total{margin-top:6px;padding:0;border:0;background:none}
.mobile-shell .mobile-plan-summary .sports-selection-total>b{color:#dc2626}
.mobile-shell .mobile-plan-match .plan-match-header{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.6}
.mobile-shell .plan-match-header .plan-match-number{flex-shrink:0;white-space:nowrap;color:#2563eb;font-weight:700}
.mobile-shell .plan-match-header .plan-match-league{flex:0 1 auto;max-width:52px;overflow-wrap:anywhere;color:#64748b}
.mobile-shell .plan-match-header .plan-match-teams{flex:1;min-width:0;margin:0;padding:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:#0f172a;font-weight:700}
.mobile-shell .plan-match-header .dan-badge{flex-shrink:0}

/* XBC-20261025-002: forecast ends the parlay summary; play labels share a centered column. */
.mobile-shell .mobile-plan-summary>.sports-selection-forecast{margin:8px 0 0;padding:6px 0 0;border:0;border-top:1px solid #dbeafe;border-radius:0;background:transparent}
.mobile-shell .mobile-plan-summary>.sports-selection-forecast strong{font-size:13px}
.mobile-shell .mobile-plan-match .plan-play-row{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:start;gap:8px;margin:4px 0;font-size:12px;line-height:1.6}
.mobile-shell .mobile-plan-match .plan-play-label{display:block;min-width:0;text-align:center;overflow-wrap:anywhere}
.mobile-shell .mobile-plan-match .plan-play-options{min-width:0;margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}

/* XBC-20261025-004: warning left, complete prize amount right, on one line. */
.mobile-shell .mobile-plan-summary>.sports-selection-forecast{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.mobile-shell .mobile-plan-summary>.sports-selection-forecast>.sports-forecast-notice{order:-1;flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-shell .mobile-plan-summary>.sports-selection-forecast>div{flex:0 0 auto;white-space:nowrap}

/* XBC-20261027-002: mobile footer keeps public licence/filing numbers only. */
[data-design="android-classic"] .page > .xbc-service-footer.xbc-mobile-legal {
  display:grid; flex:none; align-self:stretch; justify-content:center; gap:2px;
  width:auto; min-height:0; margin:12px 0 0; padding:8px 12px;
  border:0; background:transparent; color:var(--c-muted,#64748b);
  font-size:12px; line-height:20px; text-align:center;
}
[data-design="android-classic"] .xbc-mobile-legal > a {
  display:block; min-height:20px; padding:0; color:inherit;
  font-size:inherit; line-height:inherit; white-space:nowrap; text-decoration:none;
}
[data-design="android-classic"] .xbc-mobile-legal > a:hover,
[data-design="android-classic"] .xbc-mobile-legal > a:focus-visible { text-decoration:underline; }
[data-design="android-classic"] .about-mobile-brand {
  display:flex; align-items:center; gap:12px; padding:18px 4px;
}
[data-design="android-classic"] .about-mobile-brand img { width:48px; height:48px; object-fit:contain; flex:none; }
[data-design="android-classic"] .about-mobile-brand div { display:grid; gap:4px; min-width:0; }
[data-design="android-classic"] .about-mobile-brand strong { font-size:20px; color:var(--c-ink,#202522); }
[data-design="android-classic"] .about-mobile-brand span { font-size:12px; color:var(--c-muted,#65706b); }
[data-design="android-classic"] .about-operator-info { margin-bottom:12px; overflow-wrap:anywhere; }
[data-design="android-classic"] .about-operator-info > strong { font-size:14px; }
[data-design="android-classic"] .about-operator-info > p { margin-top:8px; }

/* XBC-20261030-008: home announcement shares the selected growth theme. */
.mobile-shell [data-ui="v2"][data-design="android-classic"] .store-android-header{background:linear-gradient(180deg,var(--growth-primary,#2563eb),var(--growth-secondary,#1d4ed8))}
.mobile-shell [data-ui="v2"] .home-notice-mobile{color:var(--growth-notice-ink,#fff)}
.mobile-shell [data-ui="v2"] .home-notice-mobile .home-pinned-notice>em{color:var(--growth-notice-ink,#fff);background:var(--growth-notice-label,#ffffff20)}
.mobile-shell [data-ui="v2"] .home-notice-mobile .home-pinned-notice:focus-visible{outline-color:var(--growth-notice-ink,#fff)}

/* XBC-20261030-018: saved choices stay primary; their prices are secondary. */
.saved-sports-odds {font-size:.8em!important;font-weight:400!important;color:#9aa6b7!important;}
.saved-sports-option {display:inline-block;white-space:nowrap;}

/* Saved selections stay readable; odds retain their smaller, lighter hierarchy. */
.mobile-shell .mobile-plan-match :is(.plan-match-header,.plan-match-teams,.plan-play-row,.plan-play-options) {font-size:13px;}
.mobile-shell .sports-selection-preview .preview-row {font-size:13px;}
.mobile-sports-optimization .mobile-optimization-settings {padding:15px;border:1px solid var(--c-border,#dbe4ef);border-radius:10px;background:var(--c-surface,#fff);margin:0 0 18px;}
.optimization-mode-tabs {display:flex;gap:6px;margin-top:0;}
.optimization-mode-tabs button {flex:1;min-width:0;border:1px solid #dbe4ef;background:#f8fafc;color:#475569;border-radius:6px;font-size:13px;padding:9px 3px;}
.optimization-mode-tabs button[aria-selected=true] {color:#fff;background:#2563eb;border-color:#2563eb;}
.mobile-sports-optimization .mobile-optimization-strategy {display:flex;align-items:center;gap:10px;font-size:11px;color:#64748b;margin-top:10px;}
.mobile-sports-optimization .mobile-optimization-strategy button {margin-left:auto;flex-shrink:0;background:none;border:0;color:#2563eb;min-height:36px;font-size:13px;}
.mobile-sports-optimization .mobile-allocation-title {display:flex;justify-content:space-between;gap:10px;font-size:15px;align-items:center;margin:18px 0 12px;}
.mobile-sports-optimization .mobile-allocation-title small {font-size:11px;font-weight:400;color:#64748b;}
.optimization-ticket-list {display:grid;grid-template-columns:minmax(0,1fr);gap:18px;}
.mobile-sports-optimization .mobile-allocation.optimization-ticket {padding:0;border:0;background:none;margin:0;min-width:0;}
.optimization-ticket-action {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;font-size:13px;}
.optimization-ticket-action button {border:0;background:none;color:#2563eb;font-size:12px;padding:6px 0;}
.optimization-preview-card {padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#1e293b;overflow:hidden;}
.optimization-preview-card .preview-head {display:flex;align-items:center;gap:10px;padding-bottom:13px;border-bottom:1px solid #e2e8f0;}
.optimization-preview-card .avatar {flex:0 0 42px;width:42px;height:42px;}
.optimization-preview-card .avatar img {width:42px;height:42px;object-fit:cover;border-radius:50%;}
.optimization-preview-card .preview-name {display:grid;gap:3px;min-width:0;}
.optimization-preview-card .preview-name strong {font-size:16px;line-height:1.4;color:#0f172a;overflow-wrap:anywhere;}
.optimization-preview-card .preview-name span {font-size:11px;color:#64748b;overflow-wrap:anywhere;}
.optimization-preview-card .sports-selection-heading {display:grid;gap:4px;margin:14px 0;}
.optimization-preview-card .sports-selection-heading strong {font-size:16px;color:#0f172a;}
.optimization-preview-card .sports-selection-heading span {font-size:11px;color:#94a3b8;}
.optimization-preview-card .mobile-plan-summary {padding:12px;background:#eff6ff;border-radius:8px;margin-bottom:10px;}
.optimization-preview-card .mobile-plan-summary-line {display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#2563eb;margin-bottom:7px;}
.optimization-preview-card .sports-selection-total>b {color:#dc2626;}
.optimization-preview-card .optimization-ticket-prize {display:block;font-size:14px;color:#2563eb;}
.mobile-sports-optimization .optimization-preview-card .optimization-ticket-notice {font-size:11px;line-height:1.6;color:#64748b;margin:7px 0 0;white-space:normal;}
.optimization-preview-card .mobile-plan-match {margin:10px 0;padding:11px;background:#f8fafc;border-radius:8px;}
.optimization-preview-card .plan-match-header {display:flex;align-items:flex-start;gap:7px;font-size:13px;line-height:1.6;}
.optimization-preview-card .plan-match-number {white-space:nowrap;flex-shrink:0;font-weight:700;color:#2563eb;}
.optimization-preview-card .plan-match-league {flex:0 1 auto;max-width:60px;overflow-wrap:anywhere;color:#64748b;}
.optimization-preview-card .plan-match-teams {flex:1;min-width:0;font-size:13px!important;line-height:1.6;margin:0;padding:0;color:#1e293b;font-weight:700;overflow-wrap:anywhere;}
.optimization-preview-card .plan-play-row {display:grid;grid-template-columns:84px minmax(0,1fr);gap:8px;margin:4px 0;font-size:13px;line-height:1.6;}
.optimization-preview-card .plan-play-label {display:block;min-width:0;text-align:center;overflow-wrap:anywhere;}
.mobile-sports-optimization .optimization-preview-card .plan-play-options {margin:0;min-width:0;font-size:13px;line-height:1.6;color:#1e293b;overflow-wrap:anywhere;}
.optimization-preview-card .preview-disclaimer {font-size:11px;line-height:1.6;color:#64748b;padding-top:8px;}
.mobile-sports-optimization .mobile-optimization-note {font-size:11px;line-height:1.6;color:#64748b;}
.mobile-sports-optimization .mobile-optimization-error {font-size:13px;color:#dc2626;}
.mobile-sports-optimization .mobile-allocation-pages {display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:13px;}
.portal-summary-optimize {width:100%;margin-top:10px;padding:9px;border:1px solid var(--xbc-line,#dbe4ef);border-radius:5px;background:none;color:var(--xbc-accent,#2563eb);font-size:13px;}
#app[data-layout=desktop] .mobile-sports-optimization {max-width:1080px;margin:0 auto;padding-bottom:24px;}
#app[data-layout=desktop] .optimization-ticket-list {grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));}
#app[data-layout=desktop] .mobile-sports-optimization .mobile-optimization-overview {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0;font-size:13px;}
#app[data-layout=desktop] .mobile-optimization-footer {position:sticky;bottom:0;display:flex;align-items:center;gap:20px;margin-top:18px;padding:14px;background:var(--xbc-surface,#fff);border:1px solid var(--xbc-line,#dbe4ef);border-radius:8px;z-index:20;}
#app[data-layout=desktop] .mobile-optimization-footer>div {flex:1;display:grid;font-size:12px;gap:4px;}
#app[data-layout=desktop] .mobile-optimization-footer strong {font-size:22px;color:#dc2626;}
#app[data-layout=desktop] .mobile-optimization-footer button {border:0;background:#2563eb;color:#fff;border-radius:6px;padding:12px 22px;font-size:14px;}

.mobile-sports-optimization .mobile-allocation.optimization-ticket {border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;}
.optimization-preview-card .sports-selection-heading {border:0!important;padding-top:0!important;}
#app[data-layout=desktop] .mobile-sports-optimization .optimization-preview-card .mobile-plan-summary {background:var(--xbc-surface-soft,#eff6ff)!important;}
#app[data-layout=desktop] .mobile-sports-optimization .optimization-preview-card .optimization-ticket-prize {color:var(--xbc-text,#2563eb)!important;}

/* XBC-20261031-008: one selection-page paper, with numbered optimized lines. */
.optimization-table-page .optimization-plan-paper {min-width:0;}
.optimization-table-page .optimization-plan-summary {margin-bottom:12px;padding:10px 12px;border:1px solid var(--p-line,#dbeafe);border-radius:8px;background:var(--p-blue-soft,#eff6ff);color:var(--p-link,#1d4ed8);font-size:12px;}
.optimization-plan-summary .mobile-plan-summary-line {display:flex;justify-content:space-between;align-items:flex-start;gap:8px;line-height:1.7;}
.optimization-match-number {display:inline-block;white-space:nowrap;}
.optimization-table-page .optimization-plan-forecast {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;}
.optimization-table-page .optimization-plan-forecast p {margin:0;}
.optimization-table-page .optimization-plan-forecast>strong {color:var(--p-link,#2563eb);font-size:12px;}
.optimization-table {table-layout:fixed;width:100%;border-collapse:collapse;font-size:11px;color:var(--p-ink,#334155);}
.optimization-table .optimization-col-number {width:26px;}
.optimization-table .optimization-col-fold {width:28px;}
.optimization-table .optimization-col-amount {width:48px;}
.optimization-table .optimization-col-bonus {width:59px;}
.optimization-table th,.optimization-table td {border:1px solid var(--p-line,#e2e8f0);padding:8px 3px;text-align:center;vertical-align:middle;background:var(--p-panel,#fff);overflow-wrap:anywhere;}
.optimization-table thead th {padding:9px 2px;background:var(--p-soft,#edf3fb);color:var(--p-ink,#425575);font-size:10px;font-weight:500;}
.optimization-table .optimization-table-content {text-align:left;padding:8px;}
.optimization-table-leg {margin-top:7px;line-height:1.5;}
.optimization-table-leg:first-child {margin-top:4px;}
.optimization-table-leg>strong {display:block;font-size:11px;color:var(--p-ink,#1e293b);font-weight:500;}
.optimization-table-leg>span {display:block;font-size:11px;color:var(--p-subtle,#64748b);}
.optimization-table-leg b {color:var(--p-ink,#1e293b);font-weight:600;}
.optimization-line-pass {font-size:10px;color:var(--p-link,#2563eb);}
.optimization-sequence {padding:8px 0;min-height:36px;width:100%;border:0;background:none;color:var(--p-link,#2563eb);font-size:11px;text-decoration:underline;text-underline-offset:3px;}
.optimization-table .optimization-table-amount {color:var(--p-red,#dc2626);font-weight:500;}
.optimization-table .optimization-table-bonus {color:var(--p-link,#2563eb);font-weight:500;}
.optimization-table-page .optimization-bottom-bar button:disabled {opacity:.45;}
.optimization-table-status {padding:18px 0;color:var(--p-subtle,#64748b);font-size:12px;}
#app[data-layout=mobile] .optimization-table-page {padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));}
#app[data-layout=mobile] .optimization-table-page .preview-card {padding:12px;}
@media(max-width:350px){.optimization-table .optimization-col-number{width:22px}.optimization-table .optimization-col-fold{width:25px}.optimization-table .optimization-col-amount{width:43px}.optimization-table .optimization-col-bonus{width:52px}.optimization-table .optimization-table-content{padding:7px 5px}}
#app[data-layout=desktop] .optimization-table-page .optimization-col-number {width:46px;}
#app[data-layout=desktop] .optimization-table-page .optimization-col-fold {width:58px;}
#app[data-layout=desktop] .optimization-table-page .optimization-col-amount {width:100px;}
#app[data-layout=desktop] .optimization-table-page .optimization-col-bonus {width:116px;}
#app[data-layout=desktop] .optimization-table-page .optimization-table {font-size:13px;}
#app[data-layout=desktop] .optimization-table-page .optimization-table thead th {font-size:12px;}
#app[data-layout=desktop] .optimization-table-page .optimization-table-legs {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:8px;}
#app[data-layout=desktop] .optimization-table-page .optimization-table-leg {margin:4px 0;}
#app[data-layout=desktop] .optimization-table-page .optimization-table-leg>strong,#app[data-layout=desktop] .optimization-table-page .optimization-table-leg>span {font-size:13px;}

.optimization-table caption {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}
#app[data-layout=mobile] .optimization-table-page .mobile-optimization-settings {margin-bottom:0;}

/* XBC-20261031-019: mobile code check. */

.merchant-slug-check{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px}.merchant-slug-check .merchant-qualification-field{min-width:0}.merchant-slug-check button{min-height:44px;margin:0 0 1px;padding:0 12px;border:1px solid var(--line,#cbd5e1);border-radius:8px;background:var(--card,#fff);color:var(--primary,#2563eb);font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap}.merchant-slug-check button:disabled{opacity:.65}.merchant-slug-check small{grid-column:1/-1;color:var(--muted,#64748b);font-size:12px;line-height:1.5}.merchant-slug-check small[data-status="taken"],.merchant-slug-check small[data-status="error"]{color:#dc2626}.merchant-slug-check small[data-status="available"]{color:#059669}

/* XBC-20261031-021: custom fold keypad; popup context is display-only. */
#app[data-layout="mobile"] .mobile-summary-fold .mobile-summary-fold-value,.sports-fold-popup .mobile-summary-fold-value{width:100%;height:28px;min-height:28px;padding:0;border:0;border-left:1px solid var(--c-border,#e4eaf2);border-right:1px solid var(--c-border,#e4eaf2);color:var(--c-text,#425575);font-size:12px;background:none;box-shadow:none;border-radius:0;text-align:center;}
.sports-fold-popup-open{position:fixed;inset:0;z-index:200;}.sports-fold-popup-open .sheet-mask{position:absolute;inset:0;background:#101b2d66;z-index:0;}.sports-fold-popup{position:absolute;z-index:1;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);max-height:calc(100vh - env(safe-area-inset-top,0px) - 24px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - 24px);overflow-y:auto;background:var(--c-surface,#fff);padding:6px 14px max(12px,env(safe-area-inset-bottom,0px));border-radius:15px 15px 0 0;color:var(--c-text,#233653);box-shadow:0 -8px 28px #101f3b20;overscroll-behavior:contain;}
.sports-fold-popup .mobile-summary-controls{display:grid;grid-template-columns:71px minmax(0,1fr) 124px;gap:6px;align-items:center;height:44px;border-bottom:1px solid var(--c-border,#edf1f7);}.sports-fold-popup .mobile-summary-controls button{background:none;border:0;padding:0;min-height:44px;min-width:0;border-radius:0;color:var(--c-muted,#8390a3);}.sports-fold-popup .mobile-summary-count{display:flex;align-items:center;gap:3px;font-size:11px;white-space:nowrap;color:var(--c-muted,#8390a3);}.sports-fold-popup .mobile-summary-count b{color:#2563eb;font-size:15px;font-weight:600;}.sports-fold-popup .mobile-summary-count svg{width:11px;height:11px;transform:rotate(180deg);}.sports-fold-popup .mobile-summary-parlay{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#2563eb;pointer-events:none;}.sports-fold-popup .mobile-summary-parlay b{font-size:12px;font-weight:500;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.sports-fold-popup .mobile-summary-parlay svg{width:11px;height:11px;flex-shrink:0;}.sports-fold-popup .mobile-summary-fold{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--c-muted,#8390a3);}.sports-fold-popup .mobile-summary-fold>div{display:grid;grid-template-columns:29px minmax(0,1fr) 29px;border:1px solid var(--c-border,#e4eaf2);border-radius:4px;overflow:hidden;align-items:center;width:96px;height:30px;}.sports-fold-popup .mobile-summary-fold button{min-height:28px;font-size:15px;}.sports-fold-popup .mobile-summary-fold .mobile-summary-fold-value{font-size:12px;color:#2563eb;background:#eef4ff;border-left:1px solid #e4eaf2;border-right:1px solid #e4eaf2;box-shadow:inset 0 -2px #2563eb;}.sports-fold-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:14px 0;}.sports-fold-presets button{height:40px;border:1px solid var(--c-border,#dce5f2);background:var(--c-surface,#f8faff);border-radius:7px;color:var(--c-text,#496381);font-size:14px;}.sports-fold-presets button[aria-pressed=true]{color:#2563eb;border-color:#2563eb;background:#edf3ff;box-shadow:inset 0 0 0 .5px #2563eb;}.sports-fold-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}.sports-fold-keys button{height:55px;border:1px solid var(--c-border,#e4eaf2);border-radius:8px;background:var(--c-surface-secondary,#f4f6f9);color:var(--c-text,#233653);font-size:24px;font-weight:500;}.sports-fold-keys .sports-fold-zero{grid-column:auto;}.sports-fold-keys .sports-fold-confirm{background:#2563eb;border-color:#2563eb;color:#fff;font-size:18px;font-weight:600;}.sports-fold-keys .sports-fold-confirm:active{background:#1d4ed8;}.sports-fold-keys .sports-fold-confirm:disabled{background:#dbe4f2;border-color:#dbe4f2;color:#90a1ba;cursor:default;}.sports-fold-keys .sports-fold-delete{display:grid;place-items:center;background:var(--c-surface-secondary,#eaf0f7);}.sports-fold-delete svg{width:25px;height:21px;stroke:var(--c-muted,#63748d);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
@media(max-width:350px){.sports-fold-popup{padding-left:10px;padding-right:10px}.sports-fold-popup .mobile-summary-controls{grid-template-columns:66px minmax(0,1fr) 115px;gap:3px}.sports-fold-popup .mobile-summary-parlay{gap:2px}.sports-fold-popup .mobile-summary-parlay b{max-width:55px;font-size:11px}.sports-fold-popup .mobile-summary-fold>div{width:88px;grid-template-columns:26px minmax(0,1fr) 26px}}

/* XBC-20261110-008: account-scoped subscribed stores; no browser push. */
.mobile-store-switch-sheet .subscription-code-row{display:flex;gap:8px;align-items:center}
.mobile-store-switch-sheet .subscription-code-row input{flex:1;min-width:0;width:0;height:42px;margin:0;padding:0 12px;border:1px solid var(--c-border,#dce5f2);border-radius:8px;background:var(--c-surface,#f7f9fc);color:var(--c-text,#334b68);font:inherit;font-size:13px;box-sizing:border-box}
.mobile-store-switch-sheet .subscription-code-row button{width:64px;height:42px;flex:none;margin:0;border:0;border-radius:8px;background:var(--c-primary,#2563eb);color:white;font-family:inherit;font-size:13px;font-weight:600}
.subscription-stores-title{font-size:14px;font-weight:700;margin:20px 0 12px;color:var(--text-primary,#29425f)}
.subscription-store-card{padding:13px;border:1px solid var(--border-color,#e0e8f3);border-radius:10px;margin-bottom:10px;background:var(--surface-color,#fff)}
.subscription-store-head{display:flex;gap:10px;align-items:center}.subscription-store-head>div{flex:1;min-width:0}.subscription-store-head strong{display:block;font-size:14px;overflow-wrap:anywhere}.subscription-store-head small{display:block;font-size:11px;color:var(--text-muted,#8797ac)}
.subscription-store-avatar{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;overflow:hidden;background:var(--primary-color,#2468df);color:white;flex:none}.subscription-store-avatar img{width:100%;height:100%;object-fit:cover}
.subscription-store-head em{font-size:10px;font-style:normal;color:var(--primary-color,#2468df);white-space:nowrap}.subscription-store-card p{font-size:11px;color:var(--text-muted,#8797ac);margin:9px 0;line-height:1.7}
.mobile-store-switch-sheet .subscription-store-actions{display:flex;justify-content:flex-end;gap:16px}.mobile-store-switch-sheet .subscription-store-actions button{width:auto;border:0;background:transparent;color:var(--primary-color,#2468df);font-size:12px;padding:6px 0;margin:0}
.subscription-store-empty,.subscription-store-foot{font-size:12px;color:var(--text-muted,#8797ac);line-height:1.8}.subscription-store-foot{font-size:11px}

/* assets/styles-v2/pages/sports-match-card.css */
/* Compact match cards, shared by the phone UI and desktop board. */
.sports-three-card { margin: 10px 0; padding: 10px; border: 1px solid var(--xbc-line, #e2e8f0); border-radius: 10px; background: var(--xbc-surface, #fff); color: var(--xbc-text, #1e293b); }
.sports-three-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; min-width: 0; }
.sports-three-head > button { display: flex; flex: 1; align-items: center; min-width: 0; gap: 6px; padding: 0; border: 0; text-align: left; background: none; color: inherit; font-size: 12px; }
.sports-three-head b, .sports-three-head em { flex-shrink: 0; font-size: inherit; font-style: normal; font-weight: 500; }
.sports-three-head em { max-width: 5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--xbc-muted, #64748b); }
.sports-three-head strong { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: inherit; }
.sports-three-head i { padding: 0 3px; font-weight: 400; font-style: normal; }
.sports-three-head time { flex-shrink: 0; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--xbc-muted, #64748b); white-space: nowrap; }
.sports-three-body { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 5px; }
.sports-three-rows { display: grid; grid-template-rows: repeat(2, minmax(38px, auto)); gap: 2px; min-width: 0; }
.sports-three-market { display: grid; grid-template-columns: 24px repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 2px; min-width: 0; }
.sports-three-market.basketball { grid-template-columns: 24px repeat(2, minmax(0, 1fr)); }
.sports-handicap { display: grid; place-items: center; border-radius: 4px; background: #edf2f7; color: #64748b; font-size: 12px; }
.sports-handicap.handicap { color: #dc2626; background: #fff1f2; }
.sports-three-market .option-btn { display: flex; justify-content: center; align-items: center; flex-direction: row; gap: 3px; min-width: 0; min-height: 38px; padding: 4px 0; border: .333px solid var(--xbc-line, #dbe4ef); border-radius: 5px; background: var(--xbc-card, #f8fafc); color: inherit; box-shadow: none; font-size: 12px; }
.sports-three-market .option-btn b { font-size: inherit; font-variant-numeric: tabular-nums; }
.sports-three-market.basketball .option-btn { font-size: 11px; }
.sports-three-market.basketball .sports-handicap { font-size: 10px; }
.sports-three-market.basketball.handicap-play .option-btn { font-size: 10px; }
.sports-three-market.basketball.handicap-play .sports-handicap { font-size: 9px; }
.sports-three-market .option-btn.selected { color: #fff; border-color: transparent; background: var(--xbc-accent, #2563eb); box-shadow: none; }
.sports-all-plays { padding: 2px; border: 1px solid var(--xbc-line, #dbe4ef); border-radius: 5px; color: var(--xbc-accent, #2563eb); background: var(--xbc-card, #eff6ff); font-size: 12px; line-height: 1.5; }
.sports-all-plays small { display: block; font-size: 10px; }
.sports-all-plays.has-selection { border-color: var(--xbc-accent, #2563eb); background: var(--xbc-accent, #2563eb); color: #fff; }
[data-ui="v2"] .is-expired .sports-all-plays.has-selection { border-color: var(--xbc-accent, #2563eb)!important; background: var(--xbc-accent, #2563eb)!important; color: #fff!important; }
.sports-north-note { display: flex; align-items: center; padding: 0 6px; font-size: 11px; color: var(--xbc-muted, #64748b); }
.sports-market-unavailable { grid-column: 2 / -1; align-self: center; font-size: 12px; color: #94a3b8; }
.mobile-north-play-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; width: calc(100% + 24px); margin: 10px -12px 4px; padding: 4px; overflow: visible; border-radius: 0; background: #eaf0f8; }
.mobile-north-play-tabs button { min-width: 0; min-height: 34px; padding: 6px 1px; border: 0; border-radius: 5px; background: transparent; color: #526174; font-size: 10px; white-space: nowrap; }
.mobile-north-play-tabs button.active { background: #2563eb; color: #fff; font-weight: 700; box-shadow: 0 1px 3px rgba(37,99,235,.22); }
.sports-north-card { margin: 8px 0; padding: 9px; border: 1px solid var(--xbc-line, #e2e8f0); border-radius: 9px; background: var(--xbc-surface, #fff); color: var(--xbc-text, #1e293b); }
.sports-north-head { display: flex; align-items: center; gap: 6px; min-width: 0; margin-bottom: 7px; }
.sports-north-head > button { display: flex; flex: 1; align-items: center; min-width: 0; gap: 5px; padding: 0; border: 0; text-align: left; background: none; color: inherit; font-size: 11px; }
.sports-north-head b { flex-shrink: 0; font-size: 11px; }
.sports-north-head time { flex-shrink: 0; color: #64748b; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sports-north-head em { flex-shrink: 0; max-width: 5em; overflow: hidden; color: #8b5cf6; font-size: 10px; font-style: normal; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.sports-north-head strong { min-width: 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sports-north-head i { padding: 0 2px; color: #94a3b8; font-style: normal; font-weight: 400; }
.sports-north-market { display: block; min-width: 0; }
.sports-north-options { display: grid; grid-template-columns: repeat(var(--north-columns, 3), minmax(0,1fr)); gap: 2px; min-width: 0; }
.sports-north-options.score-outcomes { display: block; }
.sports-north-options .option-btn { min-width: 0; min-height: 36px; padding: 4px 2px; border: .333px solid var(--xbc-line, #dbe4ef); border-radius: 5px; background: var(--xbc-card, #f8fafc); color: inherit; box-shadow: none; font-size: 11px; line-height: 1.25; }
.sports-north-options .option-btn.selected { border-color: transparent; background: var(--xbc-accent, #2563eb); color: #fff; box-shadow: none; }
.sports-north-unavailable { grid-column: 1 / -1; display: grid; min-height: 36px; place-items: center; color: #94a3b8; font-size: 11px; }
.sports-filtered-market { margin-top: 8px; }
.sheet.sports-all-plays-sheet { --sports-popup-option-border-width: .333px; display: flex; flex-direction: column; height: 80vh; height: 80dvh; max-height: 90vh; width: min(100%, 760px); padding: 0; overflow: hidden; border-radius: 16px 16px 0 0; background: var(--xbc-surface, #fff); color: var(--xbc-text, #1e293b); }
.sports-all-plays-sheet .sheet-head { flex-shrink: 0; padding: 12px 16px; margin: 0; }
.sports-all-plays-sheet .sheet-head > strong { display: grid; min-width: 0; gap: 3px; }
.sports-all-plays-sheet .sheet-head > strong > span { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.sports-all-plays-sheet .sheet-head > strong > small { overflow: hidden; color: var(--xbc-muted, #64748b); font-size: 11px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.sports-all-plays-sheet .sheet-body { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
.sports-plays-scroll { min-height: 0; flex: 1; padding: 0 14px 12px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sports-popup-market { margin: 0 0 12px; }
.sports-popup-market h3 { margin: 8px 0; font-size: 13px; }
.sports-popup-options { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0,1fr)); gap: 2px; }
.sports-popup-options .option-btn { min-width: 0; min-height: 44px; padding: 5px 2px; border: var(--sports-popup-option-border-width) solid var(--xbc-line, #dbe4ef); border-radius: 5px; box-shadow: none; font-size: 12px; }
.sports-all-plays-sheet .sports-popup-options .option-btn.selected { border-color: transparent; box-shadow: none; }
.sports-score-outcome-groups { display: grid; gap: 0; min-width: 0; }
.sports-score-outcome-section { min-width: 0; padding: 7px; border: 1px solid var(--xbc-line, #dbe4ef); border-radius: 0; background: #f8fafc; }
.sports-score-outcome-section + .sports-score-outcome-section { border-top: 0; }
.sports-score-outcome-section > strong { display: block; margin-bottom: 6px; padding-left: 6px; border-left: 3px solid #ef4444; color: #dc2626; font-size: 12px; line-height: 1.2; }
.sports-score-outcome-section.draw > strong { border-left-color: #f59e0b; color: #d97706; }
.sports-score-outcome-section.away > strong { border-left-color: #10b981; color: #059669; }
.sports-score-outcome-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; min-width: 0; }
.sports-score-outcome-options > span { grid-column: 1 / -1; color: #94a3b8; font-size: 11px; text-align: center; }
.sports-score-outcome-groups.north { gap: 0; }
.sports-score-outcome-groups.north .sports-score-outcome-section { padding: 5px; border-radius: 0; }
.sports-score-outcome-groups.north .sports-score-outcome-section > strong { margin-bottom: 4px; font-size: 10px; }
.sports-plays-footer { display: flex; align-items: center; flex-shrink: 0; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--xbc-line, #e2e8f0); }
.sports-plays-footer > span { flex: 1; font-size: 12px; }
.sports-plays-footer .primary-btn { width: 96px; margin: 0; min-height: 40px; background: var(--xbc-accent, #2563eb); color: #fff; }
@media (max-width: 359px) {
  .sports-three-card { padding: 8px; }
  .sports-three-head { gap: 4px; }
  .sports-three-head > button { gap: 4px; font-size: 11px; }
  .sports-three-head time { font-size: 10px; }
  .sports-three-body { grid-template-columns: minmax(0,1fr) 42px; gap: 4px; }
  .sports-three-market { grid-template-columns: 20px repeat(3,minmax(0,1fr)); gap: 2px; }
  .sports-three-market.basketball { grid-template-columns: 20px repeat(2,minmax(0,1fr)); }
  .sports-three-market .option-btn { gap: 2px; font-size: 11px; }
  .mobile-north-play-tabs { gap: 1px; }
  .mobile-north-play-tabs button { padding-inline: 0; font-size: 9px; }
  .sports-north-card { padding: 7px; }
  .sports-north-head > button { gap: 3px; font-size: 10px; }
  .sports-north-head b { font-size: 10px; }
  .sports-north-head time, .sports-north-head em { font-size: 9px; }
  .sports-north-options { gap: 2px; }
  .sports-north-options .option-btn { font-size: 10px; }
}

/* XBC-20261025-011: the real North line appears once outside result buttons. */
.sports-north-head .sports-north-handicap { flex-shrink:0; white-space:nowrap; font-size:10px; line-height:1.5; color:var(--primary,#2563eb); background:rgba(59,130,246,.08); border-radius:4px; padding:1px 4px; }

/* Basic football markets mark the entry without implying an extra market is chosen. */
.sports-all-plays.has-primary-selection,
[data-ui="v2"] .is-expired .sports-all-plays.has-primary-selection { border-color:var(--xbc-accent,#2563eb)!important; background:transparent!important; color:var(--xbc-accent,#2563eb)!important; }

/* assets/styles-v2/pages/store-audience.css */
/* Scoped customer-management layout; loaded after legacy mobile rules. */
#app .store-users-page .store-audience-panel[hidden] { display:none!important; }
#app .store-users-page .store-users-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding:16px 8px; border:1px solid #e8eef5; border-radius:12px; background:#fff; }
#app .store-users-page .store-users-summary div { min-width:0; padding:0 6px; border:0; border-radius:0; background:transparent; }
#app .store-users-page .store-users-summary strong { color:#2563eb; font-size:24px; overflow-wrap:anywhere; }
#app .store-users-page .store-users-summary span { color:#64748b; font-size:12px; }
#app .store-users-page .store-audience-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin-top:12px; padding:4px; border-radius:10px; background:#eaf0f8; }
#app .store-users-page .store-audience-tabs button { min-width:0; min-height:42px; padding:8px 4px; border:0; border-radius:8px; background:transparent; color:#475569; font-size:14px; font-weight:700; white-space:nowrap; }
#app .store-users-page .store-audience-tabs button.active { background:#2563eb; color:#fff; }
#app .store-users-page .store-audience-hint { margin:10px 2px 0; color:#64748b; font-size:12px; }
#app .store-users-page .store-audience-panel { min-width:0; width:100%; }
#app .store-users-page .store-users-section-head { margin-top:16px; }
#app .store-users-page .store-user-filters { padding:12px; margin:0 0 12px; border-radius:12px; background:#fff; }
#app .store-users-page .store-user-filters input,
#app .store-users-page .store-user-filters select { width:100%; min-width:0; }
#app .store-users-page .store-user-filters button,
#app .store-users-page .store-group-create button,
#app .store-users-page .store-user-row-actions > button,
#app .store-users-page .store-group-manage-row .save,
#app .store-users-page .store-audience-status > button { background:#2563eb; color:white; }
#app .store-users-page .store-user-filters button.ghost { background:#f1f5f9; color:#475569; border-color:#e2e8f0; }
#app .store-users-page .store-user-filters :is(input,select,button) { min-height:42px; font-size:14px; }
#app .store-users-page :is(.store-user-batch-bar,.store-user-pager) { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
#app .store-users-page .store-user-batch-bar { padding:12px; margin-bottom:12px; border-radius:12px; background:#fff; }
#app .store-users-page .store-user-batch-bar label { display:flex; align-items:center; gap:6px; font-size:13px; color:#475569; }
#app .store-users-page .store-user-batch-bar input { width:18px; height:18px; accent-color:#2563eb; }
#app .store-users-page .store-user-batch-bar select { min-width:0; max-width:360px; min-height:42px; padding:8px; border:1px solid #e2e8f0; border-radius:8px; background:#fff; color:#334155; font-size:14px; }
#app .store-users-page :is(.store-user-batch-bar,.store-user-pager,.store-user-list [role="status"]) button { min-height:40px; padding:8px 16px; border:1px solid transparent; border-radius:8px; background:#2563eb; color:#fff; font-size:14px; }
#app .store-users-page :is(.store-user-batch-bar,.store-user-pager) button.ghost { border-color:#e2e8f0; background:#f1f5f9; color:#475569; }
#app .store-users-page .store-user-pager { justify-content:center; padding:14px 0; font-size:13px; color:#64748b; }
#app .store-users-page .store-user-pager button:disabled { opacity:.45; cursor:default; }
#app .store-users-page .store-user-identity > div { min-width:0; }
#app .store-users-page .store-user-identity :is(strong,em),
#app .store-users-page .store-user-group-options { overflow-wrap:anywhere; }
#app .store-users-page .store-audience-status { padding:24px 12px; text-align:center; }
#app .store-users-page .store-audience-status > button { min-height:44px; padding:8px 24px; border-radius:8px; }
#app .store-users-page .store-user-row input[type="checkbox"] { width:18px; height:18px; flex:none; accent-color:#2563eb; }
/* Mobile stays on its existing blue theme; desktop dark mode follows the shell. */
html[data-xbc-theme="dark"] #app .store-users-page :is(.store-users-summary,.store-user-filters,.store-user-batch-bar,.store-user-row,.store-user-pager,.store-group-manage,.store-group-manage-row) { background:var(--xbc-surface-solid); border-color:var(--xbc-line); color:var(--xbc-text); }
html[data-xbc-theme="dark"] #app .store-users-page :is(.store-users-section-head,.store-audience-panel) { background:transparent; color:var(--xbc-text); }
html[data-xbc-theme="dark"] #app .store-users-page :is(.store-users-summary strong,.store-user-identity strong) { color:var(--xbc-text); }
html[data-xbc-theme="dark"] #app .store-users-page :is(.store-users-summary span,.store-audience-hint,.store-audience-tabs button,.store-user-batch-bar label,.store-user-pager,.store-user-identity em,.store-data-footer) { color:var(--xbc-text-soft); }
html[data-xbc-theme="dark"] #app .store-users-page .store-user-group-options label { background:var(--xbc-surface-soft); border-color:var(--xbc-line); color:var(--xbc-text); }
html[data-xbc-theme="dark"] #app .store-users-page :is(.store-user-filters,.store-user-batch-bar,.store-user-pager,.store-group-create,.store-user-row-actions,.store-group-manage-row,.store-audience-status,.store-user-list [role="status"]) button:not(.ghost):not(.delete):not(.danger) { background:var(--xbc-accent); color:#082433; border-color:var(--xbc-accent); }
html[data-xbc-theme="dark"] #app .store-users-page :is(.store-user-filters,.store-user-batch-bar,.store-user-pager) button.ghost { background:var(--xbc-surface-soft); color:var(--xbc-text); border-color:var(--xbc-line); }
html[data-xbc-theme="dark"] #app .store-users-page .store-user-pager > span { color:var(--xbc-text-soft); }
html[data-xbc-theme="dark"] #app .store-users-page .store-group-manage-row button.delete { background:var(--xbc-surface-soft); border-color:#bd6969; color:#ffaaaa; }
@media (max-width:900px) {
  #app .store-users-page .store-user-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  #app .store-users-page .store-user-filters > input { grid-column:1/-1; }
  #app .store-users-page .store-user-batch-bar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:12px; }
  #app .store-users-page .store-user-batch-bar select { min-width:0; width:100%; max-width:100%; }
  #app .store-users-page .store-user-batch-bar button { min-width:0; min-height:42px; white-space:nowrap; font-size:13px; }
  #app .store-users-page .store-user-row { grid-template-columns:minmax(0,1fr); align-items:stretch; padding:12px; }
  #app .store-users-page .store-user-row input:not([type="checkbox"]) { width:100%; }
  #app .store-users-page .store-user-row-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
  #app .store-users-page .store-user-row-actions > button { min-width:76px; min-height:42px; }
  #app .store-users-page .store-group-manage-row { grid-template-columns:minmax(0,1fr) auto auto; gap:8px; }
  #app .store-users-page .store-group-manage-row > input { grid-column:1/-1; width:100%; min-height:42px; }
  #app .store-users-page .store-group-manage-row button { min-width:64px; min-height:38px; }
  #app .store-users-page .store-user-pager { padding:10px 6px; gap:8px; }
}

/* assets/styles-v2/pages/app-draw-reminder.css */
.number-ticket-card .number-app-reminder {
  display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap;
  gap: 2px 10px; margin: 8px 0 4px; padding: 0;
  color: var(--text-secondary, #64748b); font-size: 12px; line-height: 1.6;
}
.number-ticket-card .number-app-reminder button {
  appearance: none; border: 0; background: transparent; padding: 4px 0 4px 4px;
  min-width: 44px; color: inherit; font: inherit; cursor: pointer;
}
.number-app-reminder button:hover { text-decoration: underline; }
[data-store-board] .number-ticket-card .number-app-reminder { color: var(--xbc-muted, #64748b); }
.number-app-reminder button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; border-radius: 3px; }
.number-reminder-sheet { color: #334155; font-size: 14px; line-height: 1.8; }
.number-reminder-sheet p { margin: 14px 0; }
.number-reminder-store { display: flex; align-items: center; gap: 12px; }
.number-reminder-store .avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; }
.number-reminder-store strong { font-size: 17px; overflow-wrap: anywhere; }
.number-reminder-sheet .number-reminder-note { color: #64748b; font-size: 12px; }
.number-reminder-actions { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.number-reminder-actions a { padding: 10px 12px; color: #2563eb; text-decoration: none; border-radius: 10px; }
.number-reminder-actions a.primary { background: #2563eb; color: #fff; }
.number-reminder-qr { display: grid; justify-items: center; gap: 10px; margin: 18px 0 0; font-size: 12px; color: #64748b; }
.number-reminder-qr .store-access-qr { width: 188px; height: 188px; background: white; }
.number-reminder-dismiss { display: block; width: 100%; border: 0; padding: 12px; margin-top: 12px; background: transparent; color: #64748b; font-size: 13px; cursor: pointer; }
.number-period-card { padding: 14px 16px; margin: 12px 0; }
.number-period-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; background: transparent; border: 0; text-align: left; color: inherit; }
.number-period-entry span { min-width: 0; display: grid; gap: 5px; }
.number-period-entry small { font-size: 12px; color: var(--text-secondary, #64748b); line-height: 1.5; }
.number-period-entry b { flex-shrink: 0; color: var(--primary, #2563eb); font-size: 13px; }
.number-period-warning { padding: 10px 12px; border-radius: 8px; background: #fff1f2; color: #be123c; font-size: 13px; line-height: 1.6; }
.number-period-control { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.number-period-control select { max-width: 60%; min-height: 40px; color: inherit; background: var(--card-bg, #fff); border: 1px solid var(--border-color, #e2e8f0); border-radius: 8px; }
.number-period-sheet { font-size: 14px; line-height: 1.7; color: #334155; }
.number-period-sheet .primary-btn { min-height: 44px; border: 0; background: var(--primary, #2563eb); color: #fff; font-size: 14px; }
.number-period-panel .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.number-period-panel .sheet-head .icon-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; color: #475569; background: #f1f5f9; }
[data-store-board] .number-period-card .number-period-warning { color: #be123c !important; }
html[data-xbc-theme="dark"] [data-store-board] .number-period-card .number-period-warning { color: #ffbecb !important; background: #481c2b; }
html[data-xbc-theme="dark"] .number-period-panel { background: #082433; color: #f5cf94; }
html[data-xbc-theme="dark"] .number-period-panel .sheet-head { border-color: #514b3c; }
html[data-xbc-theme="dark"] .number-period-sheet { color: #f5cf94; }
html[data-xbc-theme="dark"] .number-period-panel .sheet-head .icon-btn,
html[data-xbc-theme="dark"] .number-period-control select { color: #f5cf94; background: #103040; border-color: #514b3c; }
html[data-xbc-theme="dark"] .number-period-sheet .primary-btn { background: #f5cf94; color: #17252c; }
html[data-xbc-theme="dark"] .number-period-sheet .number-reminder-dismiss { color: #d5ad7f; }
html[data-xbc-theme="dark"] .number-period-sheet .number-period-warning { color: #ffbecb !important; background: #481c2b; }
@media (max-width: 430px) {
  [data-ui="v2"] .number-pick-page > .topbar .topbar-title { min-width: 0; }
  [data-ui="v2"] .number-pick-page > .topbar .topbar-title h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-ui="v2"] .number-pick-page > .topbar .topbar-right { flex-shrink: 0; }
}

/* assets/styles-v2/pages/number-plan.css */
/* Number plan controls shared by desktop/mobile and both roles. */
.number-plan-notice{padding:11px 14px;background:var(--p-soft,#fff7df);color:var(--p-ink,#8c6827);font-size:12px;line-height:1.7;border:1px solid var(--p-line,#f4e4b8);border-radius:8px;margin-bottom:10px}
.number-plan-actions{display:flex;gap:10px;margin:0 0 14px;min-width:0}
.number-plan-actions button{flex:1;min-width:0;min-height:42px;padding:9px 8px;border:1px solid var(--p-line,#b9cff3);border-radius:7px;background:var(--p-panel,#fff);color:var(--p-link,#2563eb);font-size:14px;font-weight:600;white-space:normal}
.number-manual-panel.plan-collapsed{display:none}
.number-plan-actions button:focus-visible{outline:2px solid var(--p-link,#2563eb);outline-offset:2px}

/* assets/styles-v2/pages/store-membership.css */
.store-membership-page .membership-content{max-width:1120px;margin:auto;padding:16px 16px calc(26px + env(safe-area-inset-bottom));color:var(--text-primary,#1e293b)}
.membership-toolbar,.membership-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.membership-toolbar>span{font-size:13px;color:#64748b}
.membership-content button{min-height:40px;padding:9px 16px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1d4ed8;font-weight:600;cursor:pointer;margin:4px 8px 4px 0}.membership-content button:disabled{opacity:.58;cursor:default}.membership-content button:focus-visible,.membership-content summary:focus-visible{outline:3px solid #60a5fa;outline-offset:2px}
.membership-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(120deg,#123971,#255fa2);color:white;padding:26px;border-radius:12px;margin-bottom:16px}.membership-hero h2{font-size:28px;margin:9px 0}.membership-hero p{color:#e0edff;margin-bottom:0}.membership-eyebrow{font-size:13px;color:#d8e8ff}.membership-badge{padding:8px 12px;border:1px solid #8eb3e1;border-radius:20px;white-space:nowrap;font-size:13px}
.membership-plans{display:grid;grid-template-columns:1fr 1fr;gap:16px}.membership-card{padding:22px;background:var(--surface,#fff);border:1px solid #dbe3ef;border-radius:10px;margin-bottom:16px;min-width:0}.membership-card h2{font-size:19px;margin:0 0 12px}.membership-plans h2{font-size:30px;margin:14px 0}.membership-plans h2 span{font-size:13px;font-weight:400;color:#64748b}.membership-card p,.membership-card small{font-size:13px;line-height:1.8;color:var(--text-secondary,#64748b);overflow-wrap:anywhere}.membership-card small{display:block;margin-top:10px}.membership-card>span,.membership-card>b{font-size:13px}.membership-pro-plan{border-color:#93b5e9}.membership-pro-plan>button{display:block;background:#2563eb;color:white;border-color:#2563eb;margin-top:12px}.membership-quote{font-weight:600;color:#1d4ed8;font-size:15px}
.membership-benefits{display:grid;grid-template-columns:1fr 1fr;gap:0 26px}.membership-benefits article{border-bottom:1px solid #e2e8f0;margin-bottom:12px}.membership-benefits article>div{display:flex;justify-content:space-between;gap:10px}.membership-benefits strong{font-size:14px}.membership-benefits span{font-size:12px;color:#2563eb;white-space:nowrap}.membership-section-head h2{margin:0}.membership-section-head>span{color:#2563eb;font-size:14px}
.membership-order{border-bottom:1px solid #e2e8f0;padding:12px 0}.membership-order strong{display:block;font-size:15px}.membership-order code{display:block;font-size:12px;color:#64748b;overflow-wrap:anywhere}.membership-request-form{background:#f1f5f9;border-radius:8px;padding:16px;margin-top:14px}.membership-request-form label{display:block;margin:12px 0;font-size:13px}.membership-request-form input,.membership-request-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #cbd5e1;border-radius:6px;font:inherit;color:#1e293b;background:white}.membership-request-form textarea{min-height:88px}.membership-report-table{max-height:420px;overflow:auto}.membership-report-table table{width:100%;border-collapse:collapse;font-size:13px}.membership-report-table th,.membership-report-table td{text-align:left;padding:10px;border-bottom:1px solid #e2e8f0;overflow-wrap:anywhere}.membership-card summary{font-size:15px;font-weight:600;cursor:pointer}
@media(max-width:640px){.store-membership-page .membership-content{padding:12px 12px calc(20px + env(safe-area-inset-bottom))}.membership-plans,.membership-benefits{grid-template-columns:1fr}.membership-card{padding:17px}.membership-hero{padding:20px;align-items:flex-start;flex-direction:column}.membership-badge{font-size:12px}.membership-hero h2{font-size:25px}}
#app .store-membership-page .membership-content{--member-panel:var(--p-panel,var(--c-surface,#fff));--member-ink:var(--p-ink,var(--c-text,#1e293b));--member-muted:var(--p-subtle,var(--c-muted,#64748b));--member-line:var(--p-line,var(--c-border,#dbe3ef));--member-link:var(--p-link,#1d4ed8);color:var(--member-ink)}
#app .store-membership-page .membership-content .membership-card{background:var(--member-panel);border-color:var(--member-line);color:var(--member-ink)}
#app .store-membership-page .membership-content .membership-card :is(h2,h3,strong,b,summary){color:var(--member-ink)}
#app .store-membership-page .membership-content .membership-card :is(p,small,code),#app .store-membership-page .membership-content .membership-toolbar>span{color:var(--member-muted)}
#app .store-membership-page .membership-content .membership-hero h2{color:#fff}
#app .store-membership-page .membership-content .membership-hero p{color:#e0edff}
#app .store-membership-page .membership-content button{color:var(--member-link);background:var(--member-panel);border-color:var(--member-line)}
#app .store-membership-page .membership-content .membership-pro-plan>button{background:#2563eb;color:#fff;border-color:#2563eb}
#app .store-membership-page .membership-content .membership-quote{color:var(--member-link)}
#app .store-membership-page .membership-content .membership-request-form{background:var(--p-soft,var(--c-soft,#f1f5f9))}
#app .store-membership-page .membership-content .membership-order,#app .store-membership-page .membership-content .membership-benefits article,#app .store-membership-page .membership-content :is(th,td){border-color:var(--member-line)}
#app .store-membership-page .membership-content .membership-request-form input[type=checkbox]{display:inline-block;width:auto;margin:0 7px 0 0;vertical-align:middle}

/* Membership checkout keeps the provider code local and readable in both page modes. */
.membership-payment-code{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b}.membership-payment-code img{display:block;max-width:100%;height:auto}.membership-coupon-summary{font-weight:600;color:var(--primary,#2563eb)}

.membership-comparison{overflow:hidden}.membership-comparison table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}.membership-comparison th,.membership-comparison td{padding:10px 7px;border-bottom:1px solid var(--c-border,#dce5ef);text-align:center;overflow-wrap:anywhere}.membership-comparison th:first-child{width:36%;text-align:left}.membership-comparison thead{background:var(--c-soft,#eef5ff);color:var(--c-primary,#2563eb)}.membership-comparison tbody th{font-weight:500}.membership-comparison td:last-child{color:var(--c-primary,#2563eb);font-weight:600}

/* assets/styles-v2/pages/store-auto-draw.css */
.auto-draw-settings{background:var(--p-panel,var(--c-surface,#fff));border:1px solid var(--p-line,var(--c-border,#dce3ec));padding:22px;border-radius:12px;margin:0 0 24px;min-width:0;color:var(--p-ink,var(--c-text,#1e293b))}
.auto-draw-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.auto-draw-heading h3{font-size:18px;margin:0 0 6px}.auto-draw-heading>span{font-size:12px;border-radius:6px;background:var(--p-soft,var(--c-soft,#f1f5f9));padding:6px 10px;white-space:nowrap}
.auto-draw-settings p{color:var(--p-subtle,var(--c-muted,#64748b));font-size:13px;line-height:1.8;margin:10px 0;overflow-wrap:anywhere}.auto-draw-heading p{margin:0}.auto-draw-switch{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:52px;margin:16px 0;padding:12px 14px;background:var(--p-soft,var(--c-soft,#f1f5f9));border-radius:8px}.auto-draw-switch input{width:22px;height:22px;flex:none;accent-color:#2563eb}.auto-draw-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.auto-draw-actions button{min-height:44px;padding:10px 18px;border:1px solid var(--p-line,var(--c-border,#dce3ec));border-radius:7px}.auto-draw-settings .auto-draw-error{color:#b45309}.auto-draw-records h4{margin:22px 0 12px}.auto-draw-records article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px 0;border-top:1px solid var(--p-line,var(--c-border,#dce3ec));font-size:13px}.auto-draw-records article small{grid-column:1/-1;color:var(--p-subtle,var(--c-muted,#64748b))}.auto-draw-notice{border-top:1px solid var(--p-line,var(--c-border,#dce3ec));padding-top:14px}.auto-draw-lotteries{overflow-wrap:anywhere}
@media(max-width:760px){.auto-draw-settings{padding:16px}.auto-draw-records article{grid-template-columns:1fr}.auto-draw-actions button{flex:1;min-width:110px}}

#app .portal-merchant-root .auto-draw-settings .auto-draw-actions button{background:var(--p-soft);color:var(--p-ink);border-color:var(--p-line)}
#app .portal-merchant-root .auto-draw-settings .auto-draw-actions .primary{background:var(--p-blue);color:#fff;border-color:var(--p-blue)}

/* assets/styles-v2/pages/merchant-content.css */
/* XBC-20261030-006: confirmed compact owner controls. Public feeds are unchanged. */
[data-ui="v2"] .store-content-publish-fab{display:grid;place-items:center;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(82px + env(safe-area-inset-bottom,0px));width:52px;min-width:52px;height:52px;min-height:52px;padding:0;gap:0;border:0;border-radius:50%;background:#2563eb;color:#fff;box-shadow:0 5px 13px #255cdd2b}
.store-post-control-icon{display:inline-block;flex:none;width:14px;height:14px;vertical-align:middle;pointer-events:none}
[data-ui="v2"] .store-content-publish-fab .store-post-control-icon{width:25px;height:25px;stroke-width:1.9}
[data-ui="v2"] .store-post-pin-action{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;min-height:44px;min-width:44px;height:auto;max-width:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--c-muted,#78869a);font-size:12px;font-weight:400;line-height:1.3;white-space:nowrap}
[data-ui="v2"] .store-post-pin-action:hover{color:#2563eb;background:transparent;box-shadow:none}
[data-ui="v2"] .store-post-pin-action:disabled{opacity:.6;cursor:wait}
[data-ui="v2"] .store-post-owner-page .store-post-segments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 4px;padding:6px;border:1px solid var(--c-border,#e9edf3);border-radius:12px;background:var(--c-surface,#fff);box-shadow:none}
[data-ui="v2"] .store-post-owner-page .store-post-segments>button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:44px;padding:0 3px;border:0;border-radius:7px;background:transparent;color:var(--c-muted,#657289);white-space:nowrap}
[data-ui="v2"] .store-post-owner-page .store-post-segments>button strong{font-size:12px;font-weight:400;color:inherit}
[data-ui="v2"] .store-post-owner-page .store-post-segments>button span{font-size:10px;color:var(--c-muted,#9aa6b7)}
[data-ui="v2"] .store-post-owner-page .store-post-segments>button.active{background:#eef4ff;color:#2563eb}
[data-ui="v2"] .store-post-owner-page .store-post-segments>button.active strong{font-weight:600}
[data-ui="v2"] .store-post-owner-page .store-post-segments>button.active span{color:inherit}
[data-ui="v2"] .store-post-owner-page .store-post-section-head{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 2px;margin:0;color:var(--c-muted,#66758b);font-size:13px;font-weight:400}
[data-ui="v2"] .store-post-owner-page .store-post-section-head b{font-size:inherit;font-weight:400;color:inherit}
[data-ui="v2"] .store-post-owner-page .store-post-section-head>span{font-size:13px;font-weight:400;color:inherit;letter-spacing:0}
[data-ui="v2"] .store-post-owner-page .store-owner-post-refresh span{font-size:12px;font-weight:400;color:inherit;letter-spacing:0}
[data-ui="v2"] .store-owner-post-refresh{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:0 2px;border:0;background:transparent;color:var(--c-muted,#7e8b9f);font-size:12px;font-weight:400}
[data-ui="v2"] .store-post-owner-list{display:flex;flex-direction:column;gap:12px;min-width:0}
[data-ui="v2"] .store-post-owner-page .store-post-owner-list{background:transparent!important;box-shadow:none!important;backdrop-filter:none;border:0}
[data-ui="v2"] .store-owner-post-card{min-width:0;padding:15px 16px 0;border:1px solid var(--c-border,#e7ecf3);border-radius:12px;background:var(--c-surface,#fff);overflow:hidden}
[data-ui="v2"] .store-owner-post-main{display:block;width:100%;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;text-align:left;cursor:pointer}
[data-ui="v2"] .store-owner-post-meta{display:flex;align-items:center;gap:7px;min-height:20px;margin-bottom:11px}
[data-ui="v2"] .store-owner-post-category{font-size:11px;color:var(--c-muted,#667b99)}
[data-ui="v2"] .store-owner-post-meta .post-status{padding:2px 6px;border:0;border-radius:4px;font-size:10px;font-weight:400;line-height:17px}
[data-ui="v2"] .store-owner-post-pinned{display:inline-flex;align-items:center;gap:3px;margin-left:auto;color:#ad7d2a;font-size:10px}
[data-ui="v2"] .store-owner-post-pinned .store-post-control-icon{width:11px;height:11px}
[data-ui="v2"] .store-owner-post-copy{display:flex;align-items:flex-start;gap:12px;min-width:0}
[data-ui="v2"] .store-owner-post-copy>span:first-child{display:block;flex:1;min-width:0}
[data-ui="v2"] .store-owner-post-copy strong{display:block;margin:0 0 7px;color:var(--c-ink,#223047);font-size:16px;line-height:24px;font-weight:600;overflow-wrap:anywhere}
[data-ui="v2"] .store-owner-post-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;color:var(--c-muted,#748196);font-size:13px;line-height:21px;font-weight:400}
[data-ui="v2"] .store-owner-post-thumbnail{position:relative;display:block;flex:none;width:64px;height:64px;overflow:hidden;border-radius:5px}
[data-ui="v2"] .store-owner-post-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}
[data-ui="v2"] .store-owner-post-thumbnail b{position:absolute;right:0;bottom:0;padding:2px 4px;background:#172331b3;color:#fff;font-size:10px;font-weight:400}
[data-ui="v2"] .store-owner-post-reject{display:block;margin-top:8px;color:#b45309;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
[data-ui="v2"] .store-owner-post-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:45px;margin-top:13px;border-top:1px solid var(--c-border,#f0f3f7)}
[data-ui="v2"] .store-owner-post-footer small{min-width:0;overflow:hidden;color:var(--c-muted,#94a0b1);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
[data-ui="v2"] .store-owner-post-actions{display:inline-flex;align-items:center;gap:14px;flex:none}
[data-ui="v2"] .store-owner-post-manage{display:none;align-items:center;min-height:44px;padding:0;border:0;background:transparent;color:var(--c-muted,#708098);font-size:12px;font-weight:400}
[data-ui="v2"] .store-has-publish-fab{padding-bottom:calc(160px + env(safe-area-inset-bottom,0px))}
html[data-xbc-theme="dark"] [data-ui="v2"] .store-post-owner-page .store-post-segments>button.active{color:#a6c2ff;background:#2c4162}
html[data-xbc-theme="dark"] [data-ui="v2"] .store-owner-post-pinned{color:#d3ac64}
html[data-xbc-theme="dark"] [data-ui="v2"] .store-post-pin-action:hover{color:#a6c2ff}
@media(min-width:600px) and (min-height:600px){
  [data-ui="v2"] .store-content-publish-fab{right:28px;bottom:28px}
  [data-ui="v2"] .store-post-owner-page .store-post-segments{border-radius:8px}
  [data-ui="v2"] .store-owner-post-card{border-radius:8px;padding:18px 22px 0}
  [data-ui="v2"] .store-owner-post-manage{display:flex}
  [data-ui="v2"] .store-has-publish-fab{padding-bottom:100px}
}
@media(min-width:1100px) and (min-height:600px){
  [data-ui="v2"] .store-post-owner-page .store-post-segments{grid-template-columns:repeat(8,minmax(0,1fr))}
}

/* assets/styles-v2/pages/merchant-theme.css */
/* XBC-20261101-003. Mobile merchant uses the current Android theme, not the desktop palette. */
#app.mobile-shell [data-scene="merchant"]{--c-blue:var(--growth-primary,#2563eb)}
#app.mobile-shell [data-scene="merchant"] .topbar,#app.mobile-shell [data-scene="merchant"] .sports-fixed-header{background:linear-gradient(135deg,var(--growth-primary,#2563eb),var(--growth-secondary,#1d4ed8));color:var(--growth-notice-ink,#fff);border-bottom:0;box-shadow:none}
#app.mobile-shell [data-scene="merchant"] .topbar :is(h1,p,.topbar-right,.title-action,.icon-btn){color:inherit}
#app.mobile-shell [data-scene="merchant"] .topbar .title-action{border-color:currentColor;background:transparent}
#app.mobile-shell [data-scene="merchant"] .merchant-mobile-bottom-nav button.active{color:var(--growth-primary,#2563eb)}
#app.mobile-shell [data-scene="merchant"] :is(.store-profile-submit,.store-decor-save-btn,.account-security-primary,.store-content-publish-fab){background:var(--growth-primary,#2563eb);border-color:var(--growth-primary,#2563eb);color:var(--growth-notice-ink,#fff)}
#app.mobile-shell [data-scene="merchant"] :is(.store-post-segments button.active,.store-audience-tabs button.active,.store-decor-group-tabs button.active){color:var(--growth-primary,#2563eb);border-color:var(--growth-primary,#2563eb)}

/* assets/styles-v2/pages/merchant-mobile.css */
/* XBC-20261101-011: approved merchant mobile designs. Desktop and customer styles are scoped out. */
/* The renderer adds this scope only in mobile mode, including ?view=m at wide viewports. */
@media all{
 #app [data-merchant-mobile="011"][data-ui] [hidden]{display:none!important}
 #app [data-merchant-mobile="011"][data-ui] .page.mm-page{padding-left:0;padding-right:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.store-post-row-list,.store-post-date-groups,.store-post-date-group){padding:0;margin:0;border:0;background:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .mm-content-tabs>button{flex:1;min-width:0;width:auto;max-width:none;min-height:43px;height:43px;padding:0;flex-shrink:1;border-radius:0;background:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .mm-post-meta>span:last-child{margin-left:auto}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .store-post-owner-list{padding:0;margin:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-poster-paper{padding:12px;background:var(--mp-bg);border-radius:12px;min-width:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-poster-inner{padding:16px 12px;background:var(--mp-paper);border-radius:10px;color:var(--mp-ink)}
 #app [data-merchant-mobile="011"][data-ui] .mm-poster-inner>header{display:flex;align-items:center;gap:9px;min-width:0}.mm-poster-avatar{width:32px;height:32px;border-radius:9px;flex:none;object-fit:cover;display:grid;place-items:center;font-size:18px;background:var(--mp-soft);color:var(--mp-accent)}.mm-poster-inner>header>span:not(.mm-poster-avatar){flex:1;min-width:0}.mm-poster-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.mm-poster-inner>header strong{display:block;font-size:12px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.mm-poster-inner>header small{display:block;font-size:8px;color:var(--mp-muted);margin-top:3px;line-height:1.6}.mm-poster-inner>header em{font-size:8px;color:var(--mp-muted);font-style:normal;flex:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-poster-title{padding:23px 0 16px;text-align:center}.mm-poster-title>small{font-size:9px;letter-spacing:3px;color:var(--mp-muted);display:block}.mm-poster-title h2{font-size:28px;font-weight:700;line-height:1.5;color:var(--mp-ink);margin:6px 0 8px}.mm-poster-title>span{font-size:8px;line-height:1.7;color:var(--mp-muted)}
 #app [data-merchant-mobile="011"][data-ui] .mm-poster-results>article{padding:13px 12px;background:var(--mp-soft);border-radius:8px;margin-bottom:9px}.mm-poster-results>article>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.mm-poster-results strong{font-size:12px;color:var(--mp-ink);font-weight:600;line-height:1.6}.mm-poster-results small{font-size:8px;color:var(--mp-muted);white-space:nowrap}.mm-poster-results p{font-size:16px;font-weight:700;line-height:1.8;word-spacing:3px;color:var(--mp-accent);margin:9px 0 0;overflow-wrap:anywhere}.mm-poster-results p>b{font-size:inherit;font-weight:inherit}.mm-poster-results p.unavailable{font-size:16px;color:var(--mp-muted)}
 #app [data-merchant-mobile="011"][data-ui] .mm-poster-inner>footer{text-align:center;padding-top:11px}.mm-poster-inner>footer>span{display:block;font-size:10px;color:var(--mp-muted);line-height:1.8}.mm-poster-inner>footer>small{display:block;font-size:8px;color:var(--mp-muted);line-height:1.8;margin-top:5px}
 #app [data-merchant-mobile="011"][data-ui] .mm-poster-actions{display:flex;align-items:center;gap:9px;padding-top:14px;flex-wrap:wrap}.mm-poster-actions>button{font-size:12px;min-height:42px;flex:1;min-width:85px;border:1px solid #e2e8f0;border-radius:8px;background:white;color:#2563eb;padding:7px}.mm-poster-actions>button.mm-primary{flex:1.5;background:var(--mm-primary);border-color:var(--mm-primary);color:var(--growth-notice-ink,#fff)}
 .mm-sheet-skin .mm-poster-style-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:12px}.mm-poster-style-list>button{height:80px;padding:15px;border:1px solid #dbe4ef;border-radius:10px;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:space-between}.mm-poster-style-list>button svg{width:19px;height:19px}
 #app [data-merchant-mobile="011"][data-ui] .mm-member-hero{padding:22px 18px;border-radius:12px;background:linear-gradient(135deg,var(--mm-primary),var(--mm-secondary));color:var(--growth-notice-ink,#fff);margin-bottom:14px}
 #app [data-merchant-mobile="011"][data-ui] .mm-member-hero>small{font-size:11px;opacity:.8}.mm-member-hero>h2{font-size:23px;line-height:1.5;margin:10px 0;color:inherit}.mm-member-hero>p{font-size:12px;line-height:1.8;opacity:.85}.mm-member-hero>span{font-size:10px;border:1px solid #ffffff66;border-radius:12px;padding:4px 10px;display:inline-block}
 #app [data-merchant-mobile="011"][data-ui] .mm-member-plans{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:14px}.mm-member-plans>article{padding:18px 16px;background:white;border:1px solid #eef2f7;border-radius:12px}.mm-member-plans>article>b{font-size:12px;color:#64748b}.mm-member-plans h2{font-size:23px;color:#111827;line-height:1.5;margin:10px 0}.mm-member-plans h2>small{font-size:11px;color:#9ca3af;font-weight:400}.mm-member-plans p{font-size:12px;line-height:1.8;color:#64748b}.mm-member-plans article>strong{display:block;font-size:12px;color:#2563eb;margin:10px 0}.mm-member-plans button{display:flex;align-items:center;justify-content:center;min-height:40px;width:100%;border:0;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:600}
 #app [data-merchant-mobile="011"][data-ui] .mm-member-benefits>article{padding:16px 0;border-bottom:1px solid #f1f5f9}.mm-member-benefits>article>div{display:flex;justify-content:space-between;gap:6px;font-size:13px}.mm-member-benefits span{font-size:10px;color:#2563eb;white-space:nowrap}.mm-member-benefits p{font-size:11px;line-height:1.8;color:#9ca3af;margin:7px 0 0}
 #app [data-merchant-mobile="011"][data-ui] .mm-member-timeline{margin:14px 0;padding:0 0 14px 15px;border-left:1px solid #bfdbfe}.mm-member-timeline b{font-size:13px;line-height:1.7}.mm-member-timeline p{font-size:12px;line-height:1.8;margin:8px 0;color:#64748b}.mm-member-timeline small{font-size:10px;color:#9ca3af}
 #app [data-merchant-mobile="011"][data-ui] .mm-order-row{display:flex;align-items:center;gap:10px;min-width:0;width:100%;border:0;border-bottom:1px solid #f1f5f9;padding:16px 0;background:white;text-align:left;color:#111827}.mm-order-row>div{flex:1;min-width:0}.mm-order-row b{font-size:13px;line-height:1.6;display:block}.mm-order-row small{font-size:9px;color:#9ca3af;margin-top:5px;display:block;overflow-wrap:anywhere}.mm-order-row>span{text-align:right;flex:none}.mm-order-row strong{font-size:14px;color:#2563eb;display:block}.mm-order-row em{font-size:10px;color:#9ca3af;display:block;font-style:normal;margin-top:5px}.mm-order-row>svg{width:13px;height:13px;color:#94a3b8;flex:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-member-order-info{margin:0}.mm-member-order-info>div{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #f1f5f9;font-size:12px;line-height:1.8}.mm-member-order-info dt{color:#9ca3af;white-space:nowrap}.mm-member-order-info dd{margin:0;color:#334155;text-align:right;overflow-wrap:anywhere}.mm-order-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:12px 0}
 #app [data-merchant-mobile="011"][data-ui]{--mm-primary:var(--growth-primary,#2563eb);--mm-secondary:var(--growth-secondary,#1d4ed8);--mm-ink:#111827;--mm-muted:#9ca3af;--mm-line:#eef2f7;--mm-blue-soft:#eff6ff;color:#1e293b;background:#f8fafc;min-height:100dvh}
 #app [data-merchant-mobile="011"][data-ui] .mm-page{background:#f8fafc;max-width:none;width:100%;padding:0 0 calc(22px + env(safe-area-inset-bottom,0px));min-height:100dvh;margin:0;overflow-x:clip}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.merchant-mobile-with-nav{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar{height:48px;min-height:48px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:0;padding:0 10px;background:linear-gradient(180deg,var(--mm-primary),var(--mm-secondary));border:0;border-radius:0;box-shadow:none;color:var(--growth-notice-ink,#fff)}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar-title{position:absolute;inset:0 90px;display:flex;align-items:center;justify-content:center;pointer-events:none;min-width:0;width:auto;transform:none;text-align:center}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar h1{font-size:18px;line-height:1.3;font-weight:700;white-space:nowrap;margin:0;overflow:hidden;text-overflow:ellipsis;color:inherit}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar>.icon-btn{width:34px;height:44px;padding:8px;background:none;color:inherit;border:0;border-radius:0;font-size:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar>.icon-btn svg{width:20px;height:20px;transform:rotate(180deg)}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar-right{margin-left:auto;display:flex;align-items:center;min-height:44px;gap:4px;z-index:1;background:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar-right button{height:44px;min-width:30px;margin:0;padding:0 4px;border:0;border-radius:0;background:none;color:inherit;font-size:12px;font-weight:500;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:4px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .topbar-right svg{width:15px;height:15px;flex:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-content{padding:12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-group{background:#fff;border:1px solid var(--mm-line);border-radius:12px;margin:0 0 14px;padding:0 14px;min-width:0;overflow:hidden}
 #app [data-merchant-mobile="011"][data-ui] .mm-group>header{padding:17px 2px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f5f9}
 #app [data-merchant-mobile="011"][data-ui] .mm-group h2{font-size:15px;color:var(--mm-ink);line-height:1.5;margin:0;font-weight:600}
 #app [data-merchant-mobile="011"][data-ui] .mm-group>header>svg{width:18px;height:18px;color:#64748b}
 #app [data-merchant-mobile="011"][data-ui] .mm-row{display:flex;align-items:center;width:100%;min-height:72px;gap:12px;padding:14px 2px;background:white;border:0;border-radius:0;color:#1e293b;text-align:left;margin:0;white-space:normal}
 #app [data-merchant-mobile="011"][data-ui] .mm-row+.mm-row{border-top:1px solid #f1f5f9}
 #app [data-merchant-mobile="011"][data-ui] .mm-row-copy{flex:1;min-width:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-row-copy strong{font-size:13px;font-weight:500;line-height:1.6;display:block;color:#111827}
 #app [data-merchant-mobile="011"][data-ui] .mm-row-copy small{display:block;font-size:11px;color:#9ca3af;line-height:1.7;margin-top:4px}
 #app [data-merchant-mobile="011"][data-ui] .mm-row>svg{width:14px;height:14px;color:#aab5c4;flex:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;flex:none;background:#eff6ff;color:#2563eb}
 #app [data-merchant-mobile="011"][data-ui] .mm-icon>svg{width:19px;height:19px}
 #app [data-merchant-mobile="011"][data-ui] .green{--mm-tone:#10b981;--mm-tone-bg:#ecfdf5}#app [data-merchant-mobile="011"][data-ui] .purple{--mm-tone:#8b5cf6;--mm-tone-bg:#f5f3ff}#app [data-merchant-mobile="011"][data-ui] .amber{--mm-tone:#f59e0b;--mm-tone-bg:#fffbeb}#app [data-merchant-mobile="011"][data-ui] .blue{--mm-tone:#2563eb;--mm-tone-bg:#eff6ff}
 #app [data-merchant-mobile="011"][data-ui] .mm-icon{background:var(--mm-tone-bg,#eff6ff);color:var(--mm-tone,#2563eb)}
 #app [data-merchant-mobile="011"][data-ui] .mm-link{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;padding:0 3px;background:none;border:0;color:#2563eb;font-size:11px;font-weight:400;white-space:nowrap}
 #app [data-merchant-mobile="011"][data-ui] .mm-link svg{width:13px;height:13px}
 #app [data-merchant-mobile="011"][data-ui] .mm-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 2px 12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-section-title h2{margin:0;font-size:15px;font-weight:600;color:#111827;line-height:1.6}
 #app [data-merchant-mobile="011"][data-ui] .mm-section-title small{font-size:10px;color:#9ca3af}
 #app [data-merchant-mobile="011"][data-ui] .mm-muted{font-size:11px;color:#9ca3af;line-height:1.8;margin:12px 0}
 #app [data-merchant-mobile="011"][data-ui] .mm-primary{background:var(--mm-primary);color:var(--growth-notice-ink,#fff);font-size:14px;font-weight:600;min-height:44px;border:0;border-radius:8px;padding:10px 16px}
 #app [data-merchant-mobile="011"][data-ui] .mm-full{width:100%;margin:4px 0 18px}
 #app [data-merchant-mobile="011"][data-ui] .mm-unread{background:#fff1f2;color:#ef4444;font-size:10px;font-weight:400;padding:3px 6px;border-radius:10px}
 #app [data-merchant-mobile="011"][data-ui] .mm-bottom-nav{height:calc(50px + env(safe-area-inset-bottom,0px));min-height:50px;padding:0 0 env(safe-area-inset-bottom,0px);border-top:1px solid #e2e8f0;background:#f8fafc;box-shadow:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-bottom-nav button{height:50px;background:none;border:0;border-radius:0;padding:3px 0;gap:2px;font-size:11px;color:#9ca3af;font-weight:400}
 #app [data-merchant-mobile="011"][data-ui] .mm-bottom-nav button svg{width:23px;height:23px}#app [data-merchant-mobile="011"][data-ui] .mm-bottom-nav button.active{color:var(--mm-primary)}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench .mm-content{padding-top:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench-head{position:sticky;top:0;z-index:30;background:linear-gradient(180deg,var(--mm-primary),var(--mm-secondary));color:var(--growth-notice-ink,#fff);padding:10px 12px 0}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench-head>div{display:flex;align-items:center;gap:5px;min-height:42px}
 #app [data-merchant-mobile="011"][data-ui] .mm-store-name{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0;background:none;color:inherit;border:0;text-align:left}
 #app [data-merchant-mobile="011"][data-ui] .mm-store-name strong{font-size:17px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-store-avatar{width:30px;height:30px;border:1px solid #ffffff55;border-radius:8px;background:#ffffff18;object-fit:cover;display:grid;place-items:center;flex:none;font-size:16px}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench-head>div>span{max-width:103px;flex:none;text-align:right}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench-head>div>span b{display:block;font-size:10px;font-weight:400;opacity:.8}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench-head>div>span small{font-size:10px;line-height:1.6;display:block;white-space:normal;opacity:.95}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench-message{display:flex;align-items:center;gap:6px;height:32px;padding:0;width:100%;border:0;background:none;color:inherit;font-size:11px;text-align:left}
 #app [data-merchant-mobile="011"][data-ui] .mm-workbench-message>svg:first-child{width:15px;height:15px}.mm-workbench-message>b{font-size:10px;font-weight:400;padding:1px 4px;background:#ffffff22;border-radius:3px}.mm-workbench-message>span{flex:1}.mm-workbench-message>svg:last-child{width:12px;height:12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-daily-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
 #app [data-merchant-mobile="011"][data-ui] .mm-daily{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;border:1px solid var(--mm-line);border-radius:12px;background:white;padding:14px 12px;min-height:126px;color:#111827;text-align:left}
 #app [data-merchant-mobile="011"][data-ui] .mm-glyph{width:38px;height:38px;border-radius:12px;background:var(--mm-tone,#2563eb);color:white;font-size:20px;display:grid;place-items:center;line-height:1}
 #app [data-merchant-mobile="011"][data-ui] .mm-daily>strong{font-size:14px;font-weight:600;line-height:1.5}
 #app [data-merchant-mobile="011"][data-ui] .mm-daily>small{font-size:10px;color:#9ca3af;line-height:1.5;margin-top:-5px}
 #app [data-merchant-mobile="011"][data-ui] .mm-metrics{display:flex;padding:10px 0 17px;margin-top:4px;border-top:1px solid #f1f5f9}
 #app [data-merchant-mobile="011"][data-ui] .mm-metrics>div{flex:1;min-width:0;text-align:center;border-right:1px solid #f1f5f9}.mm-metrics>div:last-child{border:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-metrics small{font-size:9px;color:#9ca3af;display:block;white-space:nowrap}.mm-metrics b{display:block;font-size:23px;color:#111827;margin-top:8px;line-height:1.2}
 #app [data-merchant-mobile="011"][data-ui] .mm-recent{display:flex;align-items:center;gap:10px;width:100%;padding:14px 0;background:none;border:0;text-align:left;min-width:0}.mm-recent+.mm-recent{border-top:1px solid #f1f5f9}
 #app [data-merchant-mobile="011"][data-ui] .mm-recent>span:nth-child(2){flex:1;min-width:0}.mm-recent strong{font-size:12px;color:#111827;line-height:1.6;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mm-recent small{display:block;font-size:10px;color:#9ca3af;line-height:1.8;margin-top:2px}
 #app [data-merchant-mobile="011"][data-ui] .mm-account-card{margin-bottom:14px;padding:15px;background:white;border:1px solid var(--mm-line);border-radius:12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-account-identity{display:flex;align-items:center;gap:14px;min-width:0;width:100%;padding:0;background:none;border:0;text-align:left;color:#111827}
 #app [data-merchant-mobile="011"][data-ui] .mm-account-identity>img,#app [data-merchant-mobile="011"][data-ui] .mm-account-avatar{width:64px;height:64px;flex:none;border-radius:50%;object-fit:cover;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:27px;border:1px solid #dbeafe}
 #app [data-merchant-mobile="011"][data-ui] .mm-account-identity>span:nth-child(2){flex:1;min-width:0}.mm-account-identity strong{font-size:18px;line-height:1.5;display:block}.mm-account-identity em{display:block;font-size:12px;color:#059669;font-style:normal;margin-top:4px}.mm-account-identity small{font-size:10px;color:#9ca3af;display:block;margin-top:5px}.mm-account-identity>svg{width:14px;height:14px;color:#94a3b8;flex:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .android-card,#app [data-merchant-mobile="011"][data-ui] .mm-page :is(.feedback-form-card,.post-editor-form-card,.store-profile-form-card,.store-settings-entries-card,.store-settings-status-card,.store-data-notice-card,.membership-card,.mine-row-list,.account-security-main,.store-user-group-form,.store-users-filter-card,.user-privacy-brief,.user-privacy-main,.about-service-card,.help-topic-card){background:white;border:1px solid var(--mm-line);border-radius:12px;box-shadow:none;padding:16px;margin:12px;min-width:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-content :is(.android-card,.mm-group){margin-left:0;margin-right:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea){font-family:inherit;font-size:13px;line-height:1.6;color:#334155;border:1px solid #e2e8f0;background:#f8fafc;box-shadow:none;border-radius:7px;max-width:100%;min-width:0;min-height:42px;padding:10px 12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page textarea{min-height:120px;resize:vertical}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.field,.post-form-group,.store-profile-field,.store-application-field,.qualification-field){margin-bottom:17px;gap:8px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.post-form-group,.store-profile-field,.qualification-field)>label,#app [data-merchant-mobile="011"][data-ui] .mm-page :is(.store-profile-field,.store-application-field,.qualification-field)>span{font-size:13px;color:#111827;font-weight:500;line-height:1.6}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.post-editor-section-head,.store-profile-section-head,.store-data-section-head,.store-user-section-head,.store-settings-section-head,.help-section-head){padding:14px 16px 0;margin:0;font-size:13px;color:#64748b;background:none;border:0;line-height:1.6}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.store-profile-submit,.post-editor-submit,.store-application-submit,.primary-btn,.primary){background:var(--mm-primary);color:var(--growth-notice-ink,#fff);font-size:14px;min-height:44px;border:0;border-radius:8px;box-shadow:none;padding:10px 14px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.account-security-footnote,.store-profile-brief,.post-editor-tip,.template-rule,.auto-draw-notice){font-size:11px;color:#94a3b8;line-height:1.8}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .empty-state{margin:24px 12px;padding:55px 20px;background:none;border:0;color:#94a3b8;box-shadow:none}#app [data-merchant-mobile="011"][data-ui] .mm-page .empty-state strong{font-size:15px;color:#334155}#app [data-merchant-mobile="011"][data-ui] .mm-page .empty-state>span{font-size:11px;line-height:1.8}
 #app [data-merchant-mobile="011"][data-ui] .mm-content-tabs{display:flex;flex-wrap:nowrap;gap:0;margin:0;padding:0 10px;height:43px;min-height:43px;border:0;border-bottom:1px solid #e2e8f0;background:white;overflow:visible}
 #app [data-merchant-mobile="011"][data-ui] .mm-content-tabs>button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:2px;flex:1;min-width:0;width:auto;height:43px;padding:0;border:0;border-radius:0;background:none;font-size:12px;color:#64748b;white-space:nowrap;position:relative}
 #app [data-merchant-mobile="011"][data-ui] .mm-content-tabs>button b{font-size:9px;font-weight:400;min-width:0;background:none;color:inherit;padding:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-content-tabs>button.active{color:#2563eb;background:none}.mm-content-tabs>button.active:after{content:'';position:absolute;bottom:0;left:calc(50% - 12px);width:24px;height:2px;background:#2563eb}
 #app [data-merchant-mobile="011"][data-ui] .mm-content-toolbar{display:flex;align-items:center;justify-content:space-between;margin:5px 12px 0;height:35px}.mm-content-toolbar label{min-width:0}.mm-content-toolbar select{border:0!important;background:none!important;min-height:30px!important;padding:0!important;font-size:10px!important;color:#94a3b8!important}
 #app [data-merchant-mobile="011"][data-ui] .store-post-section-head{margin:0 12px 7px;padding:0;font-size:10px;color:#9ca3af;background:none;border:0;min-height:20px;display:flex;align-items:center;justify-content:space-between}.store-post-section-head button{background:none;border:0;font-size:10px;color:#64748b;padding:0}
 #app [data-merchant-mobile="011"][data-ui] .store-post-section-head button svg{width:12px;height:12px}
 #app [data-merchant-mobile="011"][data-ui] .store-post-group{margin:0;padding:0;background:none;border:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-post-group-date{display:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-post-card{border:1px solid var(--mm-line);border-radius:12px;background:white;margin:0 12px 12px;overflow:hidden;box-shadow:none}
 #app [data-merchant-mobile="011"][data-ui] .store-owner-post-main{padding:14px 14px 0;margin:0;background:none;display:block;width:100%;color:#111827;text-align:left;border:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-post-meta{display:flex;gap:5px;align-items:center;font-size:10px;margin-bottom:12px}.mm-post-meta>b{display:flex;align-items:center;gap:3px;font-size:10px;font-weight:400;color:#b7791f}.mm-post-meta>b svg{width:11px;height:11px}.mm-post-meta>.post-status-badge{margin-left:auto}
 #app [data-merchant-mobile="011"][data-ui] .store-owner-post-category{font-size:10px;background:#f1f5f9;color:#64748b;padding:2px 5px;border:0;border-radius:3px}
 #app [data-merchant-mobile="011"][data-ui] .mm-post-copy{display:flex;align-items:flex-start;gap:12px}.mm-post-copy>span{flex:1;min-width:0}.mm-post-copy strong{font-size:14px;font-weight:600;line-height:1.7;display:block}.mm-post-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;color:#94a3b8;line-height:1.8;margin:6px 0 0}.mm-post-copy>img{width:66px;height:66px;border-radius:7px;object-fit:cover;flex:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-post-card>footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:13px 14px 0;padding:9px 0;border-top:1px solid #f1f5f9;background:white;min-height:39px}.mm-post-card time{font-size:10px;color:#9ca3af}.mm-post-card footer>span{display:flex;align-items:center;gap:10px}.mm-post-card footer button{display:inline-flex;align-items:center;gap:3px;background:none;border:0;border-radius:0;color:#64748b;font-size:10px;padding:0;min-height:28px;min-width:0;width:auto}.mm-post-card footer button svg{width:12px;height:12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-reject{display:flex;align-items:flex-start;gap:6px;font-size:11px;color:#ef4444;background:#fff7f8;padding:9px 10px;margin-top:12px;border-radius:5px;line-height:1.6}.mm-reject>svg{width:12px;height:12px;flex:none;margin-top:2px}
 #app [data-merchant-mobile="011"][data-ui] .store-content-publish-fab{position:fixed;right:20px;bottom:calc(22px + env(safe-area-inset-bottom,0px));width:50px;height:50px;min-width:50px;min-height:50px;padding:13px;border:0;border-radius:50%;background:var(--mm-primary);box-shadow:0 5px 12px #2563eb24}.store-content-publish-fab>svg{width:24px;height:24px}
 #app [data-merchant-mobile="011"][data-ui] .store-post-detail{padding:20px 16px!important}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-post-detail h2{font-size:21px;line-height:1.6;margin:14px 0}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-post-detail-info{font-size:11px;color:#94a3b8;line-height:1.8;display:flex;flex-wrap:wrap;gap:5px 12px}
 #app [data-merchant-mobile="011"][data-ui] .store-post-history{border-radius:12px;border:1px solid var(--mm-line);padding:16px;background:white}.store-post-history>h3{font-size:14px;color:#111827}.store-post-history>article{border-left:1px solid #dbeafe;margin-left:8px;padding:12px 0 12px 18px}.store-post-history>article strong{font-size:13px}.store-post-history>article span{font-size:10px;color:#94a3b8;display:block;margin-top:6px}.store-post-history>article p{font-size:12px;color:#64748b;line-height:1.8}
 #app [data-merchant-mobile="011"][data-ui] .mm-avatar-entry{display:flex;align-items:center;gap:12px;text-align:left;padding:2px 0 17px;margin-bottom:17px;border:0;border-bottom:1px solid #f1f5f9;background:none;width:100%;color:#111827;font-size:13px}.mm-avatar-entry>span:first-child{flex:1}.mm-avatar-entry small{display:block;color:#9ca3af;font-size:10px;margin-top:5px}.mm-profile-avatar{width:42px;height:42px;flex:none;border-radius:9px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;object-fit:cover}.mm-avatar-entry>svg{width:14px;height:14px;color:#94a3b8}
 #app [data-merchant-mobile="011"][data-ui] .mm-avatar-form .store-profile-avatar-row{display:flex;flex-direction:column;align-items:center;gap:30px}.mm-avatar-form .store-profile-avatar-preview{width:100px;height:100px;border-radius:20px;font-size:42px}.mm-avatar-form .store-profile-avatar-upload{width:100%;padding:26px 15px;background:#f8fafc;border:1px dashed #bfdbfe;border-radius:8px;text-align:center}.mm-avatar-form .store-profile-avatar-field>span{display:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-avatar-form :is([hidden],.store-profile-field[hidden]){display:none!important}
 #app [data-merchant-mobile="011"][data-ui] .message-tabs{display:flex;flex-wrap:nowrap;gap:0;padding:0 10px;margin:0;height:44px;border-bottom:1px solid #e2e8f0;background:white}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-tabs>.message-tab-filter{display:flex;align-items:center;flex:1;min-width:0;width:auto;flex-direction:row;justify-content:center;gap:3px;height:44px;margin:0;padding:0;font-size:12px;background:none;border:0;border-radius:0;color:#64748b}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-tab-filter>b{background:none;font-size:9px;color:inherit;padding:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-tab-filter.active{color:#2563eb;border-bottom:2px solid #2563eb}
 #app [data-merchant-mobile="011"][data-ui] .message-section-head{display:flex;align-items:center;justify-content:space-between;padding:7px 14px;margin:0;font-size:10px;color:#9ca3af}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-row-list{padding:0 12px;margin:0;background:none;border:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-row-item{padding:16px 14px;min-height:100px;border:1px solid var(--mm-line);border-radius:12px;background:white;box-shadow:none;margin-bottom:12px;gap:12px}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-row-item strong{font-size:14px;line-height:1.6}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-row-item p{font-size:12px;line-height:1.8;margin:6px 0;color:#94a3b8}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-row-item small{font-size:10px;color:#9ca3af}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-row-badge{height:36px;width:36px;flex:none;font-size:13px;border-radius:10px}#app [data-merchant-mobile="011"][data-ui] .mm-page .message-row-status{font-size:10px;padding:0;background:none;color:#94a3b8}
 #app [data-merchant-mobile="011"][data-ui] .mm-feedback-form{margin:0 0 16px!important;padding:16px}.mm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mm-form-grid label{display:block;font-size:13px;font-weight:500;color:#111827}.mm-form-grid select{width:100%;margin-top:9px;font-size:12px!important;padding:9px!important}.mm-feedback-label{display:block;font-size:13px;font-weight:500;color:#111827;margin-top:22px}.mm-feedback-label>small{font-size:10px;color:#9ca3af;margin-left:8px}.mm-feedback-label textarea,.mm-feedback-label>input{display:block;width:100%;margin-top:9px}.mm-feedback-label textarea{min-height:150px!important}.mm-feedback-form .mm-muted{display:block;font-size:10px;margin:7px 0 0}
 #app [data-merchant-mobile="011"][data-ui] .mm-feedback-card{display:block;text-align:left;width:100%;padding:16px;border:1px solid var(--mm-line);border-radius:12px;background:white;color:#111827;margin:12px 0}.mm-feedback-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.mm-feedback-card header strong{font-size:14px}.mm-feedback-card header>span{font-size:10px;color:#2563eb;background:#eff6ff;border-radius:4px;padding:4px 6px;flex:none}.mm-feedback-card>p{font-size:11px;color:#64748b;margin:11px 0 18px}.mm-feedback-card footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1f5f9;padding-top:12px;font-size:10px;color:#9ca3af}.mm-feedback-card footer>span{display:flex;align-items:center;gap:3px;color:#2563eb}.mm-feedback-card footer svg{width:11px;height:11px}.mm-feedback-body{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;padding:6px 0}
 #app [data-merchant-mobile="011"][data-ui] .mm-material-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mm-material-tools>button{min-width:0;border:1px solid var(--mm-line);border-radius:12px;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px 3px;color:#111827}.mm-material-tools b{font-size:12px;font-weight:500;line-height:1.6}.mm-material-tools small{font-size:9px;color:#9ca3af;line-height:1.5;text-align:center;white-space:normal}.mm-promotion-grid,.mm-poster-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mm-promotion-grid>button{background:white;border:1px solid var(--mm-line);border-radius:12px;overflow:hidden;padding:0;text-align:left;min-width:0;color:#111827}.mm-promotion-grid img{display:block;width:100%;height:145px;object-fit:cover;object-position:top}.mm-promotion-grid b{display:block;font-size:12px;padding:11px 10px 4px}.mm-promotion-grid small{display:block;font-size:10px;color:#9ca3af;padding:0 10px 12px;line-height:1.7}.mm-poster-grid>article{background:white;border:1px solid var(--mm-line);border-radius:12px;overflow:hidden;min-width:0}.mm-poster-art{margin:10px;padding:12px 9px;border:1px solid #dbeafe;background:#eff6ff;color:#2563eb;text-align:center;border-radius:7px}.mm-poster-art.welfare{background:#f5f3ff;border-color:#ede9fe;color:#7c3aed}.mm-poster-art small{font-size:8px;line-height:1.8;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mm-poster-art h3{font-size:18px;margin:12px 0}.mm-poster-art>svg{width:35px;height:35px}.mm-poster-art p{font-size:9px;margin:8px 0}.mm-poster-grid>article>b{display:block;padding:0 12px;font-size:13px;color:#111827}.mm-poster-grid>article>small{display:block;padding:6px 12px 12px;font-size:9px;color:#9ca3af;line-height:1.8}.mm-poster-grid footer{padding:7px 8px;border-top:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:4px}.mm-poster-grid footer button{font-size:10px}
 #app [data-merchant-mobile="011"][data-ui] .store-material-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 12px}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-material-card{background:white;border:1px solid var(--mm-line);border-radius:12px;padding:16px 12px;min-width:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-material-card strong{font-size:14px}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-material-card p{font-size:11px;line-height:1.7;color:#9ca3af}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-shell{margin:12px;display:block;border:0;background:none;padding:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-steps{display:flex;gap:3px;padding:12px 6px;margin:0 0 12px;background:white;border:1px solid var(--mm-line);border-radius:12px}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-steps>strong,#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-assurance{display:none}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:4px 0;margin:0;border:0;gap:6px}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step b{font-size:11px;white-space:nowrap}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step em{display:none}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step>span{width:24px;height:24px;font-size:11px;line-height:24px;display:grid;place-items:center;border-radius:50%}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-form-panel{padding:18px 14px;background:white;border:1px solid var(--mm-line);border-radius:12px;margin:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-form-panel>header{margin:0 0 20px}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-form-panel>header h2{font-size:17px;line-height:1.5;margin:5px 0 8px}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-form-panel>header>span{font-size:10px}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-form-panel>header>p{font-size:11px;line-height:1.8;color:#9ca3af}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-grid{grid-template-columns:1fr;gap:12px}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-actions{display:flex;justify-content:space-between;gap:12px;margin:18px 0 0;padding:15px 0 0;border-top:1px solid #f1f5f9}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-actions button{font-size:13px;min-height:44px;border-radius:8px;padding:9px 14px}#app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-legal{font-size:10px;color:#9ca3af;line-height:1.8;margin:14px 0 0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.store-decor-brief,.store-settings-brief,.store-data-notice-card,.user-privacy-brief){font-size:12px;line-height:1.8}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.decor-order-row,.decor-toggle-row,.decor-order-content){font-size:12px;line-height:1.8}#app [data-merchant-mobile="011"][data-ui] .mm-page .decor-order-row{padding:12px 10px;background:white;border:1px solid #eef2f7;border-radius:9px;margin-bottom:8px}#app [data-merchant-mobile="011"][data-ui] .mm-page .decor-order-row strong{font-size:13px}#app [data-merchant-mobile="011"][data-ui] .mm-page .decor-order-row small{font-size:10px;color:#9ca3af}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .membership-content{padding:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-hero{margin:12px;padding:24px 18px;border-radius:12px;background:linear-gradient(135deg,var(--mm-primary),var(--mm-secondary));color:white}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-hero h2{font-size:23px;color:white;margin:8px 0}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-hero p{font-size:12px;line-height:1.8;color:#ffffffd9}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-plans{display:grid;grid-template-columns:1fr;gap:0}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-card h2{font-size:16px;line-height:1.6}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-card h3{font-size:14px;line-height:1.6}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-card p{font-size:12px;line-height:1.9;color:#64748b}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-card button{min-height:36px;font-size:12px;border-radius:7px;margin:4px 6px 4px 0;padding:8px 10px;width:auto;max-width:100%}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-report-table{overflow-x:auto;max-width:100%}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-report-table td,#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-report-table th{font-size:11px;padding:9px}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-order{font-size:12px;padding:14px 0;border-top:1px solid #f1f5f9}#app [data-merchant-mobile="011"][data-ui] .mm-page .membership-order code{overflow-wrap:anywhere;font-size:10px}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-data-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-data-metric{background:white;border:1px solid var(--mm-line);border-radius:12px;min-width:0;padding:14px}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-data-metric p{font-size:10px;line-height:1.7}#app [data-merchant-mobile="011"][data-ui] .mm-page .store-data-metric strong{font-size:25px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.account-security-list,.mine-row-list){border:1px solid var(--mm-line);border-radius:12px;overflow:hidden;background:white}#app [data-merchant-mobile="011"][data-ui] .mm-page .account-security-row,#app [data-merchant-mobile="011"][data-ui] .mm-page .mine-row-item{font-size:13px;min-height:72px;padding:14px;gap:10px;background:white;border:0;border-bottom:1px solid #f1f5f9;box-shadow:none}#app [data-merchant-mobile="011"][data-ui] .mm-page .mine-row-item strong,#app [data-merchant-mobile="011"][data-ui] .mm-page .account-security-row strong{font-size:13px;line-height:1.6}#app [data-merchant-mobile="011"][data-ui] .mm-page .mine-row-item em,#app [data-merchant-mobile="011"][data-ui] .mm-page .account-security-row em{font-size:11px;color:#9ca3af;line-height:1.7}#app [data-merchant-mobile="011"][data-ui] .mm-page .mine-row-badge{font-size:13px;height:34px;width:34px;border-radius:9px}#app [data-merchant-mobile="011"][data-ui] .mm-page .account-security-summary{padding:14px;background:#f8fafc;border-radius:9px;margin-bottom:18px}#app [data-merchant-mobile="011"][data-ui] .mm-page .account-security-summary strong{font-size:17px}#app [data-merchant-mobile="011"][data-ui] .mm-page .account-security-summary :is(span,em){font-size:11px;line-height:1.9;color:#94a3b8}#app [data-merchant-mobile="011"][data-ui] .mm-page .mine-logout-btn{margin:16px 12px;max-width:calc(100% - 24px);min-height:44px;border:1px solid #e2e8f0;background:white;color:#334155;border-radius:9px;font-size:14px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page :is(.help-topic-row,.about-info-row,.store-settings-entry-row){min-height:70px;font-size:13px;padding:14px 12px;border-bottom:1px solid #f1f5f9;background:white}#app [data-merchant-mobile="011"][data-ui] .mm-page :is(.help-topic-row,.about-info-row,.store-settings-entry-row) strong{font-size:13px}#app [data-merchant-mobile="011"][data-ui] .mm-page :is(.help-topic-row,.about-info-row,.store-settings-entry-row) :is(p,small,em){font-size:11px;line-height:1.7;color:#9ca3af}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-merchant-login-head{margin:0;padding:20px 14px}#app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-merchant-login-head h1{font-size:22px}#app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-merchant-login-shell{padding:20px 16px;max-width:430px;margin:auto;background:none;border:0;box-shadow:none}#app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-merchant-login-form{padding:0;border:0;background:none}#app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-merchant-login-form label{font-size:13px;color:#334155}#app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-code-field{display:flex;align-items:stretch;gap:10px}#app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-code-field input{flex:1;width:0;height:44px}#app [data-merchant-mobile="011"][data-ui] .mm-page .xbc-code-field button{height:44px;min-height:44px;margin:0;align-self:stretch;font-size:12px;width:102px;border-radius:7px;padding:0 5px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .random-app-preview{margin:14px 12px 20px!important}#app [data-merchant-mobile="011"][data-ui] .mm-page .random-app-preview h2{font-size:18px}#app [data-merchant-mobile="011"][data-ui] .mm-page .random-app-preview-gallery{grid-template-columns:1fr 1fr}
 #app [data-merchant-mobile="011"][data-ui] .mm-tools .merchant-mobile-bottom-nav{display:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-wrap{padding:12px 14px 24px;background:#f1f5f9;min-height:calc(100dvh - 48px)}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-wrap .preview-card{padding:16px;border-radius:12px;overflow:hidden;margin:0 0 12px;border:1px solid #eef2f7;background:white;box-shadow:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-summary-line{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:15px}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-summary-line h2{font-size:15px;margin:0;color:#1e293b;font-weight:500}.mm-split-summary-line h2>b{font-size:24px;color:var(--mm-primary);padding:0 3px}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-summary-line label{display:flex;align-items:center;gap:6px;font-size:11px;color:#64748b}.mm-split-summary-line input{accent-color:var(--mm-primary);width:17px;height:17px}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-wrap .mobile-plan-summary{background:#eff6ff;border-radius:8px;padding:10px 12px;font-size:12px;color:#2563eb;margin:12px 0 0}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-wrap .mobile-plan-summary-line{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;line-height:1.8}.mm-split-wrap .mobile-plan-summary-line>small{font-size:9px;color:#94a3b8}
 #app [data-merchant-mobile="011"][data-ui] .mm-normal-ticket-head{display:flex;align-items:center;gap:10px;padding:0 0 10px;margin:0;border-bottom:1px solid #f1f5f9}.mm-normal-ticket-head>strong{font-size:16px}.mm-normal-ticket-head>span{flex:1;font-size:11px;color:#64748b}.mm-normal-ticket-head>button{height:34px;min-width:72px;border:1px solid #bfdbfe;border-radius:6px;background:white;color:#2563eb;font-size:11px;padding:0 8px}
 #app [data-merchant-mobile="011"][data-ui] .mm-ticket-amounts{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px!important;line-height:1.8}.mm-ticket-amounts b{color:#2563eb}
 #app [data-merchant-mobile="011"][data-ui] .mm-normal-ticket .preview-row{background:#f8fafc;border:0;border-radius:8px;padding:10px 12px;margin:10px 0 0}.mm-normal-ticket .preview-row>header{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.6}.mm-normal-ticket .preview-row header>b{color:#2563eb;flex:none;white-space:nowrap}.mm-normal-ticket .preview-row header>strong{font-size:13px;min-width:0;line-height:1.6}.mm-normal-ticket .preview-row i{font-size:10px;color:#94a3b8;font-style:normal}
 #app [data-merchant-mobile="011"][data-ui] .mm-ticket-choice{display:flex;gap:8px;margin-top:5px;font-size:13px;line-height:1.8;color:#334155}.mm-ticket-choice>span{width:84px;flex:none;text-align:center;font-weight:600}.mm-ticket-choice>b{font-weight:500;flex:1;min-width:0}.mm-ticket-choice small{font-size:10px;color:#9aa6b7;margin-left:5px}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-wrap .mm-normal-ticket.is-printed{border:2px solid #16a34a;background:#ecfdf5;color:#14532d}.mm-normal-ticket.is-printed .preview-row{background:#dcfce7}.mm-normal-ticket.is-printed .mm-normal-ticket-head>button{background:#16a34a;border-color:#16a34a;color:white}.mm-normal-ticket.is-printed .mobile-plan-summary{background:#dcfce7;color:#166534}
 #app [data-merchant-mobile="011"][data-ui] .mm-split-pages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;font-size:12px}.mm-split-pages button{height:38px;padding:0 15px;background:white;border:1px solid #e2e8f0;border-radius:7px;color:#2563eb;font-size:12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-traditional-split{background:#f1f5f9;padding-bottom:20px}.mm-traditional-split .traditional-split-head{margin:12px 14px;padding:16px;border:1px solid #eef2f7;border-radius:12px;background:#fff;font-size:13px}.mm-traditional-split .traditional-split-head p{font-size:12px;line-height:1.8;color:#64748b}.mm-traditional-split .traditional-split-head small{font-size:10px;line-height:1.8;color:#9ca3af}.mm-traditional-split .traditional-split-card{margin:12px 14px;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:white}.mm-traditional-split .traditional-split-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 10px;border-bottom:1px solid #f1f5f9}.mm-traditional-split .traditional-split-card>header strong{font-size:14px;color:#1e293b}.mm-traditional-split .traditional-split-card>header button{height:36px;min-width:80px;border:1px solid #bfdbfe;border-radius:6px;background:white;color:#2563eb;font-size:11px;padding:0 8px}.mm-traditional-split .traditional-split-match{padding:10px 12px;margin-top:8px;border:0;border-radius:8px;background:#f8fafc;font-size:13px;line-height:1.6}.mm-traditional-split .traditional-split-match>span{font-size:12px;color:#2563eb}.mm-traditional-split .traditional-split-match strong{font-size:13px}.mm-traditional-split .traditional-split-match small{font-size:12px;color:#64748b;display:block;margin-top:4px}.mm-traditional-split .traditional-split-card.is-printed{background:#ecfdf5;border:2px solid #16a34a}.mm-traditional-split .traditional-split-card.is-printed .traditional-split-match{background:#dcfce7}.mm-traditional-split .traditional-split-card.is-printed>header button{background:#16a34a;border-color:#16a34a;color:white}
 .mm-modal-open{overflow:hidden!important}
 .mm-sheet-skin .sheet-mask{position:fixed;inset:0;background:#0f172a6b;z-index:300;backdrop-filter:none}
 .mm-sheet-skin .sheet{position:fixed;inset:auto auto 0 50%;transform:translateX(-50%);z-index:301;width:100%;max-width:430px;max-height:88dvh;margin:0;border:0;border-radius:18px 18px 0 0;background:#f8fafc;box-shadow:0 -10px 40px #0f172a12;display:flex;flex-direction:column;color:#1e293b;padding:0 0 env(safe-area-inset-bottom,0px);outline:none}
 .mm-sheet-skin .sheet-head{display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:14px 20px;background:white;border:0}.mm-sheet-skin .sheet-head>strong{font-size:17px;font-weight:650}.mm-sheet-skin .sheet-head>.icon-btn{width:32px;height:32px;border:0;border-radius:50%;background:#f1f5f9;color:#94a3b8;display:grid;place-items:center;font-size:22px;padding:0;line-height:1}
 .mm-sheet-skin .sheet-body{overflow:auto;padding:0 16px 16px;min-height:0;font-size:13px;line-height:1.8}.mm-sheet-skin .sheet-body>p{font-size:12px;color:#64748b}.mm-sheet-skin .mm-muted{font-size:11px;color:#9ca3af;line-height:1.8;margin:14px 4px}.mm-sheet-skin .mm-primary{min-height:44px;background:var(--growth-primary,#2563eb);color:var(--growth-notice-ink,#fff);border:0;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600}.mm-sheet-skin .mm-full{width:100%}
 .mm-logout-open .sheet{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(310px,calc(100% - 48px));max-height:85dvh;height:fit-content;border-radius:16px;background:white;padding:0;text-align:center}.mm-logout-open .sheet-head{display:none}.mm-logout-open .sheet-body{padding:26px 20px 20px;background:white}.mm-logout-symbol{width:44px;height:44px;display:grid;place-items:center;margin:0 auto 16px;background:#eff6ff;color:#2563eb;border-radius:50%}.mm-logout-symbol>svg{height:23px;width:23px}.mm-logout-open h2{font-size:18px;line-height:1.5;color:#111827;margin:0 0 11px}.mm-logout-open p{font-size:13px;line-height:1.8;color:#64748b;margin:0}.mm-logout-open footer{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.mm-logout-open footer>button{height:42px;padding:0 4px;font-size:13px;font-weight:600;border:0;border-radius:8px;background:#f1f5f9;color:#475569}.mm-logout-open footer>button:last-child{background:var(--growth-primary,#2563eb);color:var(--growth-notice-ink,#fff)}
 .mm-cache-intro{margin:0 -16px;padding:0 20px 16px;background:white;font-size:11px!important;color:#9ca3af!important}.mm-cache-group{background:white;border:1px solid #eef2f7;border-radius:12px;margin-top:14px;padding:0 14px}.mm-cache-group>div{display:flex;align-items:center;gap:10px;padding:15px 0}.mm-cache-group>div+div{border-top:1px solid #f1f5f9}.mm-cache-group>div>svg{width:34px;height:34px;background:#eff6ff;color:#2563eb;border-radius:9px;padding:7px;flex:none}.mm-cache-group>div>span{flex:1;min-width:0}.mm-cache-group b{font-size:13px;line-height:1.6;font-weight:500;display:block}.mm-cache-group small{font-size:11px;line-height:1.6;color:#9ca3af;display:block;margin-top:5px}.mm-cache-group em{font-style:normal;color:#2563eb;font-size:11px;white-space:nowrap}
 @media(max-width:350px){#app [data-merchant-mobile="011"][data-ui] .mm-daily-grid{gap:9px}#app [data-merchant-mobile="011"][data-ui] .mm-daily{padding:13px 10px}#app [data-merchant-mobile="011"][data-ui] .mm-daily>small{font-size:9px}#app [data-merchant-mobile="011"][data-ui] .mm-store-name strong{font-size:15px}#app [data-merchant-mobile="011"][data-ui] .mm-workbench-head>div>span{max-width:88px}#app [data-merchant-mobile="011"][data-ui] .mm-content-tabs>button{font-size:11px}#app [data-merchant-mobile="011"][data-ui] .mm-content-tabs{padding:0 6px}#app [data-merchant-mobile="011"][data-ui] .mm-poster-grid footer{flex-wrap:wrap;justify-content:center}#app [data-merchant-mobile="011"][data-ui] .mm-page .topbar-title{inset-inline:78px}#app [data-merchant-mobile="011"][data-ui] .mm-page .topbar h1{font-size:16px}}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-steps{border:0;background:transparent;padding:12px 0 16px;gap:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step{position:relative;flex-direction:column;gap:8px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step>div{display:block;text-align:center;width:100%;min-width:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step b{font-size:11px;font-weight:500;white-space:nowrap;display:block;line-height:1.5;color:#94a3b8}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step.active b{color:var(--mm-primary)}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step em{display:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page .merchant-qualification-step+div:before{content:"";position:absolute;top:16px;left:-15px;width:30px;height:1px;background:#e2e8f0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .brand-line>.avatar{display:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .brand-line{display:block;padding:6px 0 18px;margin-bottom:16px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .brand-line strong{font-size:23px;font-weight:650}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .brand-line em{font-size:12px;color:#94a3b8;margin-top:8px;line-height:1.8}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .code-row{display:flex;align-items:flex-end;gap:8px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .code-row>label{flex:1;min-width:0}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .code-row>button{height:44px;min-height:44px;margin:0;font-size:12px;width:102px;flex:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .owner-entry-links{border:0;background:transparent;text-align:center;padding:10px 14px;margin:4px 12px}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .owner-entry-links a{color:var(--mm-primary);font-size:13px;text-decoration:none}
 #app [data-merchant-mobile="011"][data-ui] .mm-page.store-mobile-login-page .owner-entry-links small{font-size:11px;color:#94a3b8}

}

/* XBC-20261101-015: approved data overview, mobile only. */
#app [data-merchant-mobile="011"][data-ui] .md-page .md-messages{width:34px;height:34px;padding:6px;background:none;border:0;color:inherit}
#app [data-merchant-mobile="011"][data-ui] .md-page .md-content{padding:12px 12px 18px}
#app [data-merchant-mobile="011"][data-ui] .md-page :is(.md-metrics,.md-card,.md-empty){background:#fff;border:1px solid var(--mm-line);border-radius:12px;margin:0 0 12px;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .md-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:16px 2px}
#app [data-merchant-mobile="011"][data-ui] .md-metrics>div{text-align:center;padding:0 3px;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .md-metrics>div+div{border-left:1px solid var(--mm-line)}
#app [data-merchant-mobile="011"][data-ui] .md-metrics span{display:block;font-size:10px;line-height:1.5;color:#94a3b8;white-space:nowrap}
#app [data-merchant-mobile="011"][data-ui] .md-metrics strong{display:block;color:#1e293b;font-size:23px;font-weight:650;line-height:1.6;font-variant-numeric:tabular-nums}
#app [data-merchant-mobile="011"][data-ui] .md-card{padding:14px}
#app [data-merchant-mobile="011"][data-ui] .md-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px;padding:0;border:0}
#app [data-merchant-mobile="011"][data-ui] .md-card h2{margin:0;font-size:15px;line-height:1.5;font-weight:600;white-space:nowrap;color:#1e293b}
#app [data-merchant-mobile="011"][data-ui] .md-card>header>span{font-size:11px;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .md-ranges{display:inline-flex;align-items:center;padding:3px;border-radius:7px;background:#f1f5f9;gap:1px;flex:none}
#app [data-merchant-mobile="011"][data-ui] .md-ranges button{margin:0;padding:5px 7px;min-height:27px;border:0;border-radius:5px;background:none;color:#64748b;font-size:10px;line-height:1.5;white-space:nowrap;box-shadow:none}
#app [data-merchant-mobile="011"][data-ui] .md-ranges button.active{color:var(--mm-primary);background:#fff;box-shadow:0 1px 3px #0f172a0d}
#app [data-merchant-mobile="011"][data-ui] .md-ranges small{font-size:9px;color:#b58938;margin-left:1px}
#app [data-merchant-mobile="011"][data-ui] .md-trend{position:relative}
#app [data-merchant-mobile="011"][data-ui] .md-chart{display:block;width:100%;height:auto;min-height:150px;color:var(--mm-primary);overflow:visible}
#app [data-merchant-mobile="011"][data-ui] .md-chart-grid{stroke:#e8edf3;stroke-width:1;stroke-dasharray:3 3}
#app [data-merchant-mobile="011"][data-ui] .md-chart text{font-size:9px;fill:#94a3b8;font-family:inherit}
#app [data-merchant-mobile="011"][data-ui] .md-chart-caption{display:block;text-align:center;font-size:10px;color:#94a3b8;margin:2px 0 0}
#app [data-merchant-mobile="011"][data-ui] .md-chart-loading{height:191px;display:grid;place-items:center;color:#94a3b8;font-size:12px;background:linear-gradient(180deg,#f8fafc,transparent);border-radius:8px}
#app [data-merchant-mobile="011"][data-ui] .md-updating{position:absolute;right:14px;bottom:12px;font-size:10px;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .md-ranking ol{list-style:none;padding:0;margin:0}
#app [data-merchant-mobile="011"][data-ui] .md-ranking li{display:flex;align-items:center;gap:12px;min-height:43px;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .md-ranking li+li{border-top:1px solid #f8fafc}
#app [data-merchant-mobile="011"][data-ui] .md-rank-no{font-size:11px;font-weight:600;color:#94a3b8;font-variant-numeric:tabular-nums;width:16px;flex:none}
#app [data-merchant-mobile="011"][data-ui] .md-ranking li:first-child .md-rank-no{color:var(--mm-primary)}
#app [data-merchant-mobile="011"][data-ui] .md-ranking li b{flex:1;font-weight:500;color:#334155}
#app [data-merchant-mobile="011"][data-ui] .md-ranking li strong{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;color:#64748b}
#app [data-merchant-mobile="011"][data-ui] .md-overview dl{margin:0}
#app [data-merchant-mobile="011"][data-ui] .md-overview dl>div{display:flex;align-items:center;justify-content:space-between;min-height:36px}
#app [data-merchant-mobile="011"][data-ui] .md-overview dt{font-size:12px;color:#64748b}
#app [data-merchant-mobile="011"][data-ui] .md-overview dd{margin:0;font-size:13px;font-weight:500;color:#334155}
#app [data-merchant-mobile="011"][data-ui] .md-overview dd small{margin-left:4px;font-size:10px;color:#94a3b8;font-weight:400}
#app [data-merchant-mobile="011"][data-ui] .md-section-empty{text-align:center;padding:20px 0;color:#94a3b8;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .md-privacy{display:flex;flex-direction:column;align-items:center;gap:6px;margin:18px 0 0;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .md-privacy p{display:flex;align-items:center;gap:5px;margin:0;font-size:10px;line-height:1.7}
#app [data-merchant-mobile="011"][data-ui] .md-privacy .ui-icon{width:12px;height:12px;flex:none}
#app [data-merchant-mobile="011"][data-ui] .md-privacy button{border:0;background:none;color:var(--mm-primary);font-size:11px;padding:5px 12px}
#app [data-merchant-mobile="011"][data-ui] .md-empty{padding:42px 16px;text-align:center;display:flex;align-items:center;flex-direction:column}
#app [data-merchant-mobile="011"][data-ui] .md-empty>.ui-icon{width:40px;height:40px;color:#cbd5e1;margin:0 0 12px}
#app [data-merchant-mobile="011"][data-ui] .md-empty h2{font-size:16px;font-weight:600;margin:0 0 8px;color:#334155}
#app [data-merchant-mobile="011"][data-ui] .md-empty p{font-size:12px;line-height:1.7;margin:0 0 20px;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .md-empty>.mm-primary{margin-top:20px;padding:10px 25px;min-height:40px;border:0;border-radius:8px;background:var(--mm-primary);color:#fff;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .md-status{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;background:#fff7ed;border-radius:8px;color:#92400e;font-size:11px}
#app [data-merchant-mobile="011"][data-ui] .md-status button{border:0;background:none;color:inherit;font-size:inherit}
#sheet-root .md-export-form{display:grid;gap:16px;padding:4px 0}
#sheet-root .md-export-form label{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:#64748b}
#sheet-root .md-export-form :is(select,span){width:160px;min-height:40px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:9px 12px;color:#334155;font-size:12px;box-sizing:border-box}
#sheet-root .md-export-note{font-size:12px;color:#94a3b8;line-height:1.8;margin:16px 0 20px}
#app [data-merchant-mobile="011"][data-ui] .page.md-page{display:block;gap:0}
#app [data-merchant-mobile="011"][data-ui] .md-page .mm-bottom-nav button{min-height:50px}
#app [data-merchant-mobile="011"][data-ui] .md-page>.topbar{margin:0}

/* XBC-20261101-016: merchant mobile WeChat-style editor. */
#app [data-merchant-mobile="011"][data-ui] .mp-page{background:#fff!important;padding:0!important}
#app [data-merchant-mobile="011"][data-ui] .mp-shell{position:fixed;z-index:35;left:50%;top:var(--mp-offset,0);transform:translateX(-50%);width:min(100%,430px);height:var(--mp-height,100dvh);display:flex;flex-direction:column;background:#fff;color:#202124;overflow:hidden}
#app [data-merchant-mobile="011"][data-ui] .mp-header{height:52px;min-height:52px;padding:0 14px 0 8px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #f4f5f7;background:#fff;flex:none;box-sizing:border-box}
#app [data-merchant-mobile="011"][data-ui] .mp-header>div{display:flex;align-items:center;gap:13px;margin-left:auto}
#app [data-merchant-mobile="011"][data-ui] .mp-header>span{flex:1}
#app [data-merchant-mobile="011"][data-ui] .mp-header>strong{position:absolute;left:50%;transform:translateX(-50%);font-size:17px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .mp-header button{border:0;background:none;color:#202124;min-height:36px;margin:0;padding:0;font-size:14px;box-shadow:none}
#app [data-merchant-mobile="011"][data-ui] .mp-header .mp-back{width:36px;display:grid;place-items:center}
#app [data-merchant-mobile="011"][data-ui] .mp-header svg{width:23px;height:23px;display:block}
#app [data-merchant-mobile="011"][data-ui] .mp-header .mp-drafts{width:24px;display:grid;place-items:center}
#app [data-merchant-mobile="011"][data-ui] .mp-header .mp-next{border-radius:6px;color:#fff;background:#d5d9df;min-width:65px;padding:0 10px;font-size:13px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .mp-header .mp-next.mp-ready{background:var(--mm-primary)}
#app [data-merchant-mobile="011"][data-ui] .mp-editor-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 20px 30px;scroll-padding:16px;box-sizing:border-box}
#app [data-merchant-mobile="011"][data-ui] .mp-title{display:block;width:100%;min-height:42px;border:0!important;outline:0!important;box-shadow:none!important;background:none!important;border-radius:0;padding:0 0 16px!important;margin:0 0 15px;color:#121820!important;font-size:20px!important;font-weight:650;line-height:1.5;box-sizing:border-box}
#app [data-merchant-mobile="011"][data-ui] .mp-title::placeholder{color:#b2b9c0;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea{display:block;width:100%;min-height:110px;margin:0;padding:0 0 16px;border:0!important;outline:0!important;box-shadow:none!important;background:none!important;color:#333;resize:none;font-size:16px;line-height:1.9;box-sizing:border-box;border-radius:0;overflow:hidden}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea::placeholder{color:#b7bdc4}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea.mp-text-subtitle{font-size:20px;font-weight:600;line-height:1.7}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea.mp-text-quote{border-left:3px solid #d7dce1!important;padding-left:12px;color:#7a838d;font-size:15px}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks{min-height:240px}
#app [data-merchant-mobile="011"][data-ui] .mp-word-count{text-align:right;color:#b2b9c0;font-size:11px;padding-top:10px}
#app [data-merchant-mobile="011"][data-ui] .mp-toolbar{display:flex;align-items:center;justify-content:space-around;flex:none;height:calc(52px + env(safe-area-inset-bottom,0px));min-height:52px;padding:0 12px env(safe-area-inset-bottom,0px);box-sizing:border-box;border-top:1px solid #e9edf1;background:#fff}
#app [data-merchant-mobile="011"][data-ui] .mp-toolbar button{display:grid;place-items:center;width:42px;height:46px;min-height:46px;border:0;background:none;padding:10px;color:#66717d;box-shadow:none}
#app [data-merchant-mobile="011"][data-ui] .mp-toolbar svg{width:23px;height:23px}
#app [data-merchant-mobile="011"][data-ui] .mp-toolbar i{height:22px;width:1px;background:#e9edf1;flex:none;margin:0 3px}
#app [data-merchant-mobile="011"][data-ui] .mp-toolbar button:disabled{color:#c9ced5;opacity:1}
#app [data-merchant-mobile="011"][data-ui] .mp-image{position:relative;display:block;margin:4px 0 16px}
#app [data-merchant-mobile="011"][data-ui] .mp-image img{display:block;max-width:100%;height:auto;margin:auto;border-radius:2px}
#app [data-merchant-mobile="011"][data-ui] .mp-remove{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:26px;height:26px;min-height:26px;border:0;border-radius:50%;padding:5px;background:#263241a6;color:#fff}
#app [data-merchant-mobile="011"][data-ui] .mp-remove svg{width:16px;height:16px}
#app [data-merchant-mobile="011"][data-ui] .mp-link{position:relative;display:flex;align-items:center;gap:10px;padding:14px 38px 14px 12px;border:1px solid #edf0f3;border-radius:5px;background:#f8fafb;margin:6px 0 16px}
#app [data-merchant-mobile="011"][data-ui] .mp-link>svg{width:21px;height:21px;flex:none;color:#8793a0}
#app [data-merchant-mobile="011"][data-ui] .mp-link span{min-width:0;flex:1}.mp-link b{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.mp-link small{display:block;font-size:10px;color:#98a1ad;margin-top:5px;overflow-wrap:anywhere}
#app [data-merchant-mobile="011"][data-ui] .mp-link .mp-remove{right:7px;top:50%;transform:translateY(-50%);background:none;color:#9aa3af}
#app [data-merchant-mobile="011"][data-ui] .mp-upload-status{padding:7px 16px;background:#eff6ff;color:var(--mm-primary);font-size:12px;text-align:center;flex:none}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-scroll{flex:1;min-height:0;overflow:auto;padding:12px;background:#f8fafc;overscroll-behavior:contain}
#app [data-merchant-mobile="011"][data-ui] .mp-preview,.mp-confirm-settings{background:#fff;border:1px solid #eef2f7;border-radius:12px;padding:16px;margin:0 0 12px;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .mp-preview>small{color:#94a3b8;font-size:11px}
#app [data-merchant-mobile="011"][data-ui] .mp-preview h1{font-size:19px;line-height:1.6;overflow-wrap:anywhere;margin:12px 0 14px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .mp-preview p{white-space:pre-wrap;font-size:15px;line-height:1.8;overflow-wrap:anywhere;margin:0 0 14px}
#app [data-merchant-mobile="011"][data-ui] .mp-preview p.mp-text-subtitle{font-size:19px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .mp-preview p.mp-text-quote{padding-left:12px;border-left:3px solid #d7dce1;color:#7a838d;font-size:14px}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-settings h2{font-size:15px;margin:0 0 12px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .mp-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;border-bottom:1px solid #f4f6f8;padding:5px 0;font-size:13px;margin:0}
#app [data-merchant-mobile="011"][data-ui] .mp-setting:last-child{border:0}
#app [data-merchant-mobile="011"][data-ui] .mp-setting select{width:auto;max-width:65%;border:0;box-shadow:none;outline:0;color:#64748b;background:transparent;font-size:12px;padding:8px 0;text-align:right}
#app [data-merchant-mobile="011"][data-ui] .mp-setting input[type=checkbox]{width:18px;height:18px;accent-color:var(--mm-primary);min-height:0}
#app [data-merchant-mobile="011"][data-ui] .mp-time{align-items:flex-start;flex-direction:column;gap:5px;padding:12px 0}
#app [data-merchant-mobile="011"][data-ui] .mp-time>span>span{font-size:11px;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .mp-time input{border:1px solid #edf0f4;background:#f8fafc;min-height:40px;padding:8px 10px;width:100%;box-sizing:border-box;border-radius:6px;font-size:12px;color:#64748b}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-settings .post-audience-group{display:none;border:0;background:#f8fafc;padding:10px;margin:4px 0;border-radius:6px}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-settings .post-audience-group.active{display:block}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-settings .post-audience-head b{font-size:12px;color:#64748b}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-settings .post-audience-options{max-height:180px;overflow:auto;display:grid;gap:6px;margin-top:10px}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-settings .post-audience-options label{display:flex;align-items:center;gap:8px;font-size:12px;min-height:32px}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-settings .post-audience-options input{width:16px;height:16px;min-height:0;accent-color:var(--mm-primary)}
#app [data-merchant-mobile="011"][data-ui] .mp-review-note{padding:0 8px;color:#94a3b8;font-size:11px;line-height:1.8}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-footer{background:#fff;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #eef2f7;flex:none}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-footer button{width:100%;height:42px;min-height:42px;border:0;border-radius:8px;background:var(--mm-primary);color:#fff;font-size:14px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .mp-confirm-footer button:disabled{opacity:.55}
#sheet-root .mp-sheet-note{font-size:13px;color:#94a3b8;line-height:1.8}
#sheet-root .mp-exit-actions,#sheet-root .mp-font-options{display:grid;gap:10px}
#sheet-root .mp-exit-actions button,#sheet-root .mp-font-options button{min-height:43px;border:1px solid #e8edf3;border-radius:8px;background:white;font-size:13px;color:#475569}
#sheet-root .mp-exit-actions button.mm-primary{background:var(--growth-primary,#2563eb);color:#fff;border:0}
#sheet-root .mp-font-options .mp-text-subtitle{font-size:19px;font-weight:600}
#sheet-root .mp-font-options .mp-text-quote{border-left:3px solid #cbd5e1;color:#94a3b8}
#sheet-root .mp-link-form{display:grid;gap:16px}
#sheet-root .mp-link-form label{display:grid;gap:8px;font-size:12px;color:#64748b}
#sheet-root .mp-link-form input{min-height:42px;padding:9px 12px;border:1px solid #e2e8f0;border-radius:7px;box-sizing:border-box;font-size:14px}
/* The shared form selector has four input :not() attributes; editor type sizes must win explicitly. */
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea{font-family:inherit!important;font-size:17px!important;line-height:1.9!important;padding:14px 4px!important;color:#27313c!important;min-height:92px!important}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks>textarea:only-child{min-height:440px!important}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea.mp-text-subtitle{font-size:20px!important;font-weight:600;line-height:1.7!important}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea.mp-text-quote{font-size:15px!important;padding:14px 12px!important;color:#5d6875!important;background:#f5f7f9!important;border-radius:4px}

/* XBC-20261101-017: independent merchant mobile sports image. */
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page{background:#f5f7fa;padding:0 0 calc(82px + env(safe-area-inset-bottom,0px));min-height:100dvh}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page>.topbar{position:sticky;top:0;z-index:30;height:52px;min-height:52px;margin:0;border-radius:0;display:flex;align-items:center;padding:0 10px}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page>.topbar .topbar-title{position:absolute;left:60px;right:60px;text-align:center;pointer-events:none}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page>.topbar .topbar-title h1{font-size:18px;margin:0;line-height:1.4;text-align:center}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-content{padding:12px;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-paper{background:#fff;border:1px solid #edf0f5;border-radius:10px;overflow:hidden}
#app [data-merchant-mobile="011"][data-ui] .merchant-generated-image{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;-webkit-touch-callout:default;user-select:auto}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-tip{font-size:11px;line-height:1.8;text-align:center;color:#94a3b8;margin:12px 0}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-status{min-height:240px;background:white;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;color:#64748b;font-size:13px;text-align:center}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-status button{border:0;background:#eff6ff;color:var(--growth-primary,#2563eb);padding:10px 18px;border-radius:7px;min-height:40px;font-size:13px}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-actions{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:32;width:min(100%,430px);box-sizing:border-box;display:flex;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #e5eaf0;background:#fff}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-actions :is(a,button){display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:44px;min-height:44px;padding:0 8px;border:1px solid #d9e5fa;border-radius:8px;background:#eff6ff;color:var(--growth-primary,#2563eb);font-size:14px;font-weight:600;text-decoration:none;box-sizing:border-box}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-actions .merchant-image-split{border-color:transparent;background:var(--growth-primary,#2563eb);color:var(--growth-notice-ink,#fff)}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-actions button:disabled{opacity:.45}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-spinner{width:21px;height:21px;border:2px solid #e5edf8;border-top-color:var(--growth-primary,#2563eb);border-radius:50%;animation:merchant-image-spin .9s linear infinite}
@keyframes merchant-image-spin{to{transform:rotate(360deg)}}

/* XBC-20261101-018: actual native card widths/fonts are retained in the exported image. */
#app [data-merchant-mobile="011"][data-ui] .merchant-image-content{padding:14px 14px 18px}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-paper{border:0;border-radius:12px}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page{background:#f1f5f9;padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page>.topbar{height:40px;min-height:40px}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page>.topbar .topbar-title h1{font-size:16px}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page>.topbar>.icon-btn{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:8px;font-size:0}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-page>.topbar>.icon-btn svg{width:20px;height:20px}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-tip{font-size:12px;line-height:1.7;color:#64748b;margin:12px 0 0}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-actions{height:calc(62px + env(safe-area-inset-bottom,0px));padding:9px 14px calc(9px + env(safe-area-inset-bottom,0px));gap:8px;border:0;box-shadow:0 -3px 12px #0f172a08}
#app [data-merchant-mobile="011"][data-ui] .merchant-image-actions>a{background:#f1f5f9;border:0}
/* XBC-20261101-019: full-page audit. Every rule is restricted to the merchant mobile renderer. */
#app [data-merchant-mobile="011"][data-ui] .page.ma-page{display:block;gap:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page>.topbar{margin:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page>.topbar .ma-head-message{width:34px;padding:7px}
#app [data-merchant-mobile="011"][data-ui] .ma-page>.topbar .ma-head-message svg{width:19px;height:19px}
#app [data-merchant-mobile="011"][data-ui] .ma-page>:is(section,.store-decor-brief,.store-decor-section-head,.store-material-section-head,.store-users-section-head,.store-audience-panel,.store-audience-tabs,.store-users-summary,.store-post-detail-status){margin:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.store-decor-form-card,.store-profile-form-card,.store-trend-material-grid,.store-user-list,.store-group-panel,.account-security-main,.help-detail-section,.help-topic-list,.store-qr-page-card,.template-settings-form-card){border:1px solid var(--mm-line);border-radius:12px;background:#fff;box-shadow:none;padding:16px}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.store-decor-brief,.decor-order-tip){color:#94a3b8;font-size:11px;line-height:1.8;border:0;background:none;padding:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-tip{margin:0 0 12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-row{padding:12px 0;margin:0;border:0;border-bottom:1px solid #f1f5f9;border-radius:0;gap:8px;min-height:70px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-row:last-child{border-bottom:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-position{background:none;color:#cbd5e1;font-size:10px;width:16px;flex:none}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-toggle-label{display:flex;flex:1;min-width:0;gap:12px;align-items:center}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-toggle-label>span{flex:1;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-toggle-label strong{font-size:13px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-order-toggle-label em{display:block;font-size:10px;color:#94a3b8;font-style:normal;line-height:1.7;margin-top:4px}
#app [data-merchant-mobile="011"][data-ui] .ma-page input.ma-switch{appearance:none!important;-webkit-appearance:none!important;width:32px!important;height:19px!important;min-height:19px!important;flex:none!important;border:0!important;border-radius:12px!important;background:#cbd5e1!important;padding:0!important;margin:0!important;position:relative;box-shadow:none!important;cursor:pointer}
#app [data-merchant-mobile="011"][data-ui] .ma-page input.ma-switch:checked{background:var(--mm-primary)!important}
#app [data-merchant-mobile="011"][data-ui] .ma-page input.ma-switch:after{content:"";position:absolute;top:2px;left:2px;width:15px;height:15px;background:white;border-radius:50%;box-shadow:0 1px 2px #0f172a26;transition:transform .12s ease}
#app [data-merchant-mobile="011"][data-ui] .ma-page input.ma-switch:checked:after{transform:translateX(13px)}
#app [data-merchant-mobile="011"][data-ui] .ma-page input.ma-switch:focus-visible{outline:2px solid var(--mm-primary);outline-offset:3px}
#app [data-merchant-mobile="011"][data-ui] .ma-page input.ma-switch:disabled{opacity:.45;cursor:not-allowed}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-drag-handle{width:34px;height:34px;min-height:34px;background:none;border:0;color:#94a3b8;padding:9px;flex:none;touch-action:none}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #f1f5f9}
#app [data-merchant-mobile="011"][data-ui] .ma-page .decor-switch>span{flex:1;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.store-decor-field,.store-profile-field){font-size:12px;color:#64748b;line-height:1.7;display:flex;flex-direction:column;gap:8px;margin:0 0 18px}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.store-decor-field,.store-profile-field)>span{font-size:12px;color:#64748b}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.store-decor-field,.store-profile-field) :is(input,select,textarea){font-size:13px!important;color:#334155!important;border:1px solid #eef2f7!important;box-shadow:none!important;border-radius:7px!important;background:#f8fafc!important;min-height:42px;padding:10px!important;line-height:1.7!important}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-form-card{padding:16px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-field{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-field>span{order:1;font-size:13px;color:#334155}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-row{display:flex;flex-direction:column;gap:24px;width:100%;align-items:center}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-preview{width:88px;height:88px;border:1px solid #e2e8f0;border-radius:18px;background:#eff6ff;margin-top:12px;display:grid;place-items:center}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-preview :is(img,b){max-width:100%;max-height:100%;object-fit:cover;font-size:36px;color:var(--mm-primary)}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-upload{width:100%;min-height:135px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:18px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;position:relative;color:var(--mm-primary);box-sizing:border-box}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-upload>strong{font-size:14px;padding:0;border:0;background:none;color:var(--mm-primary)}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-upload>small{font-size:11px;line-height:1.8;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-avatar-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-avatar-fallback-label{order:2;color:#94a3b8;font-size:11px;margin-top:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page #apply-store-avatar-text{order:3;width:100%;text-align:center}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-profile-submit{width:100%;margin:20px 0 0;min-height:44px;border:0;border-radius:8px;background:var(--mm-primary);color:#fff;font-size:14px}
#app [data-merchant-mobile="011"][data-ui] .ma-topic-list{display:flex;gap:8px 6px;flex-wrap:wrap;padding:14px 0}
#app [data-merchant-mobile="011"][data-ui] .ma-topic-list>button{border:0;background:#f8fafc;border-radius:6px;padding:8px;min-height:34px;color:#64748b;font-size:11px;line-height:1.6}
#app [data-merchant-mobile="011"][data-ui] .ma-topic-list>button.active{color:var(--mm-primary);background:#eff6ff;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .ma-promotion-card{padding:16px;background:white;border:1px solid var(--mm-line);border-radius:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-promotion-card>img{display:block;width:100%;max-width:320px;height:auto;border-radius:8px;margin:auto}
#app [data-merchant-mobile="011"][data-ui] .ma-inline-actions{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:16px 0}
#app [data-merchant-mobile="011"][data-ui] .ma-inline-actions>button{display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%}
#app [data-merchant-mobile="011"][data-ui] .ma-inline-actions svg{width:15px;height:15px;flex:none}
#app [data-merchant-mobile="011"][data-ui] .ma-info-list{margin:0;padding:8px 0}
#app [data-merchant-mobile="011"][data-ui] .ma-info-list>div{display:flex;align-items:flex-start;gap:14px;padding:12px 0;border-bottom:1px solid #f1f5f9;font-size:12px;line-height:1.8}
#app [data-merchant-mobile="011"][data-ui] .ma-info-list>div:last-child{border:0}
#app [data-merchant-mobile="011"][data-ui] .ma-info-list dt{color:#94a3b8;flex:none;min-width:58px}
#app [data-merchant-mobile="011"][data-ui] .ma-info-list dd{margin:0;min-width:0;flex:1;color:#334155;overflow-wrap:anywhere}
#app [data-merchant-mobile="011"][data-ui] .ma-info-list a{color:inherit;text-decoration:none}
#app [data-merchant-mobile="011"][data-ui] .ma-about-brand{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 0}
#app [data-merchant-mobile="011"][data-ui] .ma-about-brand img{width:46px;height:46px;object-fit:contain}
#app [data-merchant-mobile="011"][data-ui] .ma-about-brand strong{font-size:21px;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .ma-legal-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px;padding:12px 0}
#app [data-merchant-mobile="011"][data-ui] .ma-footnote{font-size:11px;line-height:1.9;color:#94a3b8;text-align:center;margin:16px 0}
#app [data-merchant-mobile="011"][data-ui] .ma-template-identity{display:flex;gap:12px;align-items:center;padding:18px 0;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .ma-template-avatar{width:46px;height:46px;flex:none;object-fit:cover;border-radius:10px;background:#eff6ff;color:var(--mm-primary);display:grid;place-items:center;font-size:24px}
#app [data-merchant-mobile="011"][data-ui] .ma-template-identity>span:last-child{min-width:0;flex:1}
#app [data-merchant-mobile="011"][data-ui] .ma-template-identity strong{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere}
#app [data-merchant-mobile="011"][data-ui] .ma-template-identity small{display:block;font-size:11px;color:#94a3b8;overflow-wrap:anywhere;margin-top:6px}
#app [data-merchant-mobile="011"][data-ui] .ma-info-note{display:flex;gap:8px;padding:12px;border-radius:8px;background:#eff6ff;color:#64748b;font-size:11px;line-height:1.8;margin:0 0 14px}
#app [data-merchant-mobile="011"][data-ui] .ma-info-note svg{width:16px;height:16px;flex:none;color:var(--mm-primary)}
#app [data-merchant-mobile="011"][data-ui] .ma-share-copy{font-size:13px;color:#475569;line-height:2;white-space:pre-line;overflow-wrap:anywhere;padding:12px 0;margin:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-users-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:12px;border:1px solid var(--mm-line);padding:18px 4px;gap:0;background:white}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-users-summary>div{display:flex;flex-direction:column;align-items:center;gap:7px;padding:0 4px;border:0;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-users-summary strong{font-size:23px;color:#334155;font-weight:600}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-users-summary span{font-size:10px;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-audience-tabs{display:flex;background:white;border-bottom:1px solid #e2e8f0;padding:0 8px;border-radius:8px 8px 0 0;gap:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-audience-tabs>button{flex:1;height:42px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#94a3b8;padding:0;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-audience-tabs>button.active{color:var(--mm-primary);border-bottom-color:var(--mm-primary)}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px;padding:12px;background:white;border:1px solid var(--mm-line);border-radius:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page #store-user-filter-keyword{grid-column:1/-1}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-filters :is(select,input,button){width:100%;min-width:0;min-height:38px;margin:0;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-users-section-head{font-size:12px;color:#64748b;padding:8px 0;line-height:1.8}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-users-section-head b{font-weight:400;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.store-group-manage-row,.store-user-manage-row,.store-visitor-row){border:0;border-bottom:1px solid #f1f5f9;border-radius:0;padding:14px 0;margin:0;background:none;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-group-create{display:flex;gap:8px;margin-bottom:14px;align-items:center}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-group-create input{width:0;flex:1;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-group-create button{min-height:40px;flex:none;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-trend-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;border:0;background:none;gap:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-trend-material-grid>.store-material-card{background:#fff;border:1px solid var(--mm-line);border-radius:12px;padding:16px 12px;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.template-settings-section-head,.template-settings-rule-card,.template-settings-brief){margin:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page :is(.store-material-section-head,.store-decor-section-head){font-size:12px;color:#64748b;background:none;border:0;padding:0;line-height:1.8}
#app [data-merchant-mobile="011"][data-ui] .ma-page .mm-bottom-nav button{min-height:50px}

#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-row{background:#fff;border:0;border-bottom:1px solid #f1f5f9;border-radius:0;padding:12px 0;margin:0}
#app [data-merchant-mobile="011"][data-ui] .ma-user-details>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:48px}
#app [data-merchant-mobile="011"][data-ui] .ma-user-details>summary::-webkit-details-marker{display:none}
#app [data-merchant-mobile="011"][data-ui] .ma-user-details>summary>.ui-icon{width:14px;height:14px;color:#94a3b8;flex:none}
#app [data-merchant-mobile="011"][data-ui] .ma-user-details[open]>summary>.ui-icon{transform:rotate(90deg)}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-identity{display:flex;gap:10px;flex:1;min-width:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-identity>div{min-width:0;flex:1}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-identity strong{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-identity em{font-size:10px;line-height:1.8;color:#94a3b8;font-style:normal;display:block;overflow-wrap:anywhere}
#app [data-merchant-mobile="011"][data-ui] .ma-user-details[open]>:not(summary){margin-top:14px;font-size:12px;line-height:1.8}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-batch-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;background:white;border:1px solid var(--mm-line);border-radius:10px;margin:10px 0;font-size:11px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-batch-bar>select{flex:1;min-width:120px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-batch-bar>button{min-height:34px;padding:6px 10px;font-size:11px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-user-row-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-group-manage-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-group-manage-row input{width:0;min-width:95px;flex:1}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-group-manage-row :is(button,em){font-size:11px;flex:none;min-height:34px;padding:5px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-qr-page-card{display:flex;flex-direction:column;align-items:center;gap:12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-qr-page-card>img{width:100%;max-width:330px;height:auto;margin:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-qr-page-card>p{font-size:12px;color:#64748b;overflow-wrap:anywhere;margin:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-qr-page-card>small{font-size:11px;line-height:1.8;color:#94a3b8;text-align:center}
#app [data-merchant-mobile="011"][data-ui] .ma-page .store-qr-page-card>button{width:100%;min-height:44px;border:0;border-radius:8px;background:var(--mm-primary);color:white}
#app [data-merchant-mobile="011"][data-ui] .ma-page input[type="checkbox"]:not(.ma-switch){accent-color:var(--mm-primary)!important}
#app [data-merchant-mobile="011"][data-ui] .ma-entry-status{padding:40px 8px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:14px}
#app [data-merchant-mobile="011"][data-ui] .ma-entry-status>svg{width:36px;height:36px;color:#94a3b8}
#app [data-merchant-mobile="011"][data-ui] .ma-entry-status p{font-size:12px;line-height:1.8;color:#94a3b8;overflow-wrap:anywhere}
#app [data-merchant-mobile="011"][data-ui] .ma-entry-exit{display:flex;margin:20px auto}
#app [data-merchant-mobile="011"][data-ui] .ma-entry-skeleton{border:1px solid var(--mm-line);border-radius:12px;padding:24px;background:white;display:grid;gap:20px;min-height:190px}
#app [data-merchant-mobile="011"][data-ui] .ma-entry-skeleton>i{height:20px;background:#f1f5f9;border-radius:6px}
#app [data-merchant-mobile="011"][data-ui] .ma-entry-skeleton>i:first-child{width:58%;height:40px}
#app [data-merchant-mobile="011"][data-ui] .ma-inline-actions>a.mm-primary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box}
#app [data-merchant-mobile="011"][data-ui] .ma-template-avatar{font-size:18px;white-space:nowrap}
#app [data-merchant-mobile="011"][data-ui] span.mm-poster-avatar{font-size:12px;white-space:nowrap}
#app [data-merchant-mobile="011"][data-ui] span.mm-store-avatar{font-size:12px;white-space:nowrap}
#sheet-root.mm-sheet-skin .ma-poster-copies{max-height:60dvh;overflow-y:auto;overscroll-behavior:contain;padding:2px}
#sheet-root.mm-sheet-skin .ma-copy-card{padding:16px;margin:0 0 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}
#sheet-root.mm-sheet-skin .ma-copy-card:last-child{margin-bottom:0}
#sheet-root.mm-sheet-skin .ma-copy-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#sheet-root.mm-sheet-skin .ma-copy-card strong{font-size:14px;color:#1e293b;font-weight:600}
#sheet-root.mm-sheet-skin .ma-copy-card button{padding:6px 0 6px 12px;color:var(--growth-primary,#2563eb);background:none;border:0;font-size:13px}
#sheet-root.mm-sheet-skin .ma-copy-card p{white-space:pre-line;font-size:13px;line-height:1.9;overflow-wrap:anywhere;color:#475569;margin:12px 0 0}
/* 019-r2: final leaf-page review: original membership fields and legal paragraphs. */
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-member-form{background:none;border:0;padding:16px 0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-member-form>label{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;color:#64748b;font-size:12px;line-height:1.8}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-member-form>button{width:100%;min-height:44px;padding:10px;border:0;border-radius:8px;background:#f1f5f9;color:#475569;font-size:13px;font-weight:500}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-member-form>[data-action="membership-submit-request"]{background:var(--mm-primary);color:var(--growth-notice-ink,#fff)}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-policy-content{margin:12px;padding:18px 16px;border:1px solid var(--mm-line);border-radius:12px;background:white}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-policy-content p{font-size:14px;line-height:2;color:#475569;margin:0 0 16px;overflow-wrap:anywhere}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-policy-content p:last-child{margin-bottom:0}
#app [data-merchant-mobile="011"][data-ui] .ma-page .ma-policy-content a{color:var(--mm-primary);text-decoration:underline}
/* XBC-20261112-002: match form cards and save actions to the mobile page gutter. */
#app [data-merchant-mobile="011"][data-ui] .ma-page [data-store-decor-group]{padding:0 12px 12px}
#app [data-merchant-mobile="011"][data-ui] .ma-page [data-store-decor-group]>.store-decor-form-card{margin:0;max-width:100%;width:auto}
#app [data-merchant-mobile="011"][data-ui] .ma-page [data-store-decor-group]>.store-decor-save-btn{margin:12px 0 0;min-height:44px}

/* XBC-20261106-010: confirmation pictures fill the article width at their natural aspect ratio. */
#app [data-merchant-mobile="011"][data-ui] .mp-preview .mp-image img{width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}

/* XBC-20261110-005: no automatic gap inside a run of article pictures. */
#app [data-merchant-mobile="011"][data-ui] .mp-image.post-image-join-before{margin-top:0}
#app [data-merchant-mobile="011"][data-ui] .mp-image.post-image-join-after{margin-bottom:0}
#app [data-merchant-mobile="011"][data-ui] .mp-blocks textarea.mp-empty-image-seam{height:0!important;min-height:0!important;padding-top:0!important;padding-bottom:0!important;margin:0!important;border:0!important;overflow:hidden}

/* Shared tool dialog receives focus for a11y; keep its container unframed. */
#sheet-root.mm-shared-tool-sheet .sheet{outline:none}

/* assets/styles-v2/pages/post-gallery.css */
/* Post pictures only; maintain each role's existing page, theme and typography. */
#app .store-post-row-item.post-gallery-no-image{grid-template-columns:minmax(0,1fr)}
#app .store-post-row-item.post-gallery-has-image{grid-template-columns:minmax(0,1fr) auto}
#app .post-gallery-row-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;min-width:0;align-self:stretch;padding:0;border:0;border-radius:0;background:transparent;text-align:left;color:inherit;font:inherit;cursor:pointer}
#app .post-gallery-row-copy{display:block;min-width:0}
#app .post-gallery-row-title{display:flex;align-items:center;gap:7px;min-width:0}
#app .post-gallery-row-title>strong{flex:1;min-width:0}
#app .post-gallery-row-title>.store-post-row-status{flex:none;padding:0;background:none;color:var(--gold,#ad7d2a);font-size:11px}
#app .post-gallery-row-picture{position:relative;display:block;width:68px;height:68px;padding:0;overflow:hidden;border:1px solid var(--c-line,#d8dee4);border-radius:7px;background:var(--c-panel,#f0f2f5);cursor:zoom-in}
#app .post-gallery-row-picture img{display:block;width:100%;height:100%;object-fit:cover}
#app .post-gallery-row-picture b{position:absolute;bottom:3px;right:3px;padding:2px 5px;border-radius:4px;background:#16202bb8;color:#fff;font-size:10px}
.post-gallery-image-button{display:block;width:100%;margin:0;padding:0;border:0;background:transparent;cursor:zoom-in}
.post-gallery-image-button img{display:block}
#app .post-gallery-feed-body{display:grid;align-items:start;gap:16px;margin-top:12px;min-width:0}
#app .post-gallery-feed-body.has-image{grid-template-columns:minmax(0,1fr) 132px}
#app .post-gallery-feed-body.no-image{grid-template-columns:minmax(0,1fr)}
#app .post-gallery-feed-body .xbc-post-copy{min-width:0;margin:0}
#app .post-gallery-feed-body>.post-gallery-image-button,#app .post-gallery-feed-body>.xbc-post-image-strip{width:132px;height:96px;overflow:hidden;position:relative;margin:0;border-radius:7px;display:block}
#app .post-gallery-feed-body .xbc-post-wide-image,#app .post-gallery-feed-body .xbc-post-image-strip img{width:132px;height:96px;object-fit:cover;display:block;max-width:100%;margin:0}
#app .post-gallery-feed-body .xbc-post-image-strip img:nth-of-type(n+2){display:none}
#app .post-gallery-feed-body .xbc-post-image-strip button:not(.post-gallery-image-button){position:absolute;right:4px;bottom:4px;width:auto;height:auto;min-height:0;padding:2px 6px;border:0;border-radius:4px;background:#16202bb8;color:#fff;font-size:11px;cursor:zoom-in}
.post-gallery-modal{position:fixed;inset:0;z-index:2147483000;isolation:isolate;box-sizing:border-box;background:#090a0d;color:#fff;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overscroll-behavior:contain}
.post-gallery-modal *{box-sizing:border-box}
.post-gallery-modal header{position:absolute;top:env(safe-area-inset-top,0px);left:0;right:0;height:56px;display:grid;grid-template-columns:56px 1fr 56px;align-items:center;background:#090a0de6;z-index:2}
.post-gallery-modal header strong{color:#fff;text-align:center;font-size:16px;font-weight:500;letter-spacing:1px}
.post-gallery-modal button{color:#fff;background:transparent;border:0;box-shadow:none;cursor:pointer;display:grid;place-items:center;padding:10px;min-width:44px;min-height:44px;border-radius:6px;touch-action:manipulation;font:inherit}
.post-gallery-modal button:disabled{opacity:.22;cursor:default}
.post-gallery-modal button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.post-gallery-modal svg{width:24px;height:24px;display:block}
.post-gallery-stage{position:absolute;inset:calc(56px + env(safe-area-inset-top,0px)) 0 calc(52px + env(safe-area-inset-bottom,0px));overflow:hidden;touch-action:none;cursor:zoom-in;user-select:none;-webkit-user-select:none}
.post-gallery-stage img{width:100%;height:100%;object-fit:contain;display:block;transform-origin:center;pointer-events:none;user-select:none}
.post-gallery-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:90%;white-space:nowrap}
.post-gallery-modal [hidden]{display:none!important}
.post-gallery-modal .post-gallery-prev,.post-gallery-modal .post-gallery-next{position:absolute;top:50%;z-index:2;background:#151820ba;transform:translateY(-50%);width:48px;height:64px}
.post-gallery-prev{left:20px}.post-gallery-next{right:20px}
.post-gallery-modal footer{position:absolute;bottom:env(safe-area-inset-bottom,0px);left:0;right:0;display:flex;justify-content:center;gap:18px;height:52px;background:#090a0de6;z-index:2}
@media(max-width:600px){.post-gallery-modal .post-gallery-prev,.post-gallery-modal .post-gallery-next{width:36px;height:48px;min-width:36px;padding:5px}.post-gallery-prev{left:4px}.post-gallery-next{right:4px}.post-gallery-modal footer{gap:14px}#app .post-gallery-row-main{gap:10px}}
@media(max-width:360px){#app .post-gallery-row-picture{width:58px;height:58px}}

#app .post-gallery-feed-body .xbc-post-image-strip>.post-gallery-image-button{position:static;display:block;width:132px;height:96px;margin:0;padding:0;border:0;background:transparent;border-radius:0;overflow:hidden}
#app .post-gallery-feed-body .xbc-post-image-strip>.post-gallery-image-button:nth-of-type(n+2){display:none}

/* Adjacent body pictures touch. Thumbnails and image-only list cards keep their grid. */
#app .store-post-rich-content .post-image-join-before{margin-top:0}
#app .store-post-rich-content .post-image-join-after{margin-bottom:0}
#app .store-post-rich-content p,#app .store-post-rich-content h3,#app .store-post-rich-content blockquote{white-space:pre-wrap}
#app .store-post-rich-content .post-image-join-before img{border-top-left-radius:0;border-top-right-radius:0}
#app .store-post-rich-content .post-image-join-after img{border-bottom-left-radius:0;border-bottom-right-radius:0}

/* assets/styles-v2/pages/post-image-only.css */
/* Keep existing themes and mixed/text cards; image-only cards have no empty copy column. */
#app .store-post-image-only{display:block;min-width:0;padding:14px;border-radius:11px;background:var(--c-panel,#fff);border:1px solid var(--c-line,#e6ecf3)}
#app .store-post-image-only .pure-post-main{display:block;width:100%;min-width:0;padding:0;margin:0 0 11px;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
#app .pure-post-meta{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px;line-height:1.5;color:var(--c-muted,#8b9bae)}
#app .pure-post-meta>time{margin-left:auto;white-space:nowrap;font-size:11px;color:inherit}
#app .pure-post-meta>.xbc-post-avatar{width:28px;height:28px;flex:none}
#app .pure-post-meta>strong{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app .pure-post-meta .pure-post-pin{font-size:10px;color:var(--gold,#aa7e36);flex:none}
#app .pure-post-title{display:block;font-size:15px;line-height:1.6;margin-top:9px;overflow-wrap:anywhere}
#app .store-post-image-only .pure-post-pictures{display:flex;gap:5px;width:100%;max-width:520px;margin:0;padding:0}
#app .store-post-image-only .pure-post-pictures>button{position:relative;display:block;flex:1;min-width:0;width:0;padding:0;margin:0;overflow:hidden;border:0;border-radius:7px;background:var(--c-bg,#edf2f7);cursor:zoom-in}
#app .store-post-image-only .pure-post-pictures>button:before{content:"";display:block;padding-top:100%}
#app .store-post-image-only .pure-post-pictures.single>button:before{padding-top:56.25%}
#app .store-post-image-only .pure-post-pictures img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;margin:0;object-fit:cover;border-radius:0}
#app .pure-post-more{position:absolute;inset:0;display:grid;place-items:center;background:#10243b66;color:#fff;font-size:24px;font-weight:600;pointer-events:none}
#app .pure-post-count{display:block;font-size:10px;line-height:1.5;color:var(--c-muted,#8b9bae);margin-top:7px}
#app .store-post-image-only>.store-owner-post-footer{padding-top:11px;margin-top:12px;border-top:1px solid var(--c-line,#eef2f7);display:flex;align-items:center;justify-content:space-between;gap:8px}
#app .store-post-image-only .store-owner-post-actions{display:flex;gap:12px;align-items:center}
#app .store-post-image-only .store-owner-post-actions>button{padding:5px 0;margin:0;min-height:32px;border:0;background:none;color:var(--c-muted,#78869a);font-size:12px}
#app .store-post-segments.category{display:flex;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;gap:4px;justify-content:flex-start}
#app .store-post-segments.category::-webkit-scrollbar{display:none}
#app .store-post-segments.category>button{flex:0 0 auto;min-width:62px;width:auto;white-space:nowrap;padding-left:14px;padding-right:14px}
@media(max-width:360px){#app .store-post-image-only{padding:12px}#app .pure-post-meta{gap:6px}}

/* assets/styles-v2/pages/store-growth.css */
/* XBC-20261108-005: scoped owner tools; ordinary selection pages are unchanged. */
.sg-root,.sg-tools-entry,.sg-sheet{--sg-blue:#2563eb;--sg-ink:#233652;--sg-muted:#7b8a9e;--sg-line:#e5ebf4;color:var(--sg-ink);font-size:14px;box-sizing:border-box}
.sg-root *,.sg-tools-entry *,.sg-sheet *{box-sizing:border-box}.sg-root{max-width:1240px;margin:auto;padding:0 0 108px}.sg-root h1,.sg-root h2,.sg-root h3,.sg-tools-entry h2,.sg-sheet h3{margin:0;color:inherit;font-weight:700}.sg-root h1{font-size:24px}.sg-root h2,.sg-tools-entry h2{font-size:17px}.sg-root h3{font-size:16px}.sg-root p{line-height:1.8}.sg-heading{display:flex;justify-content:space-between;align-items:center;margin:4px 0 24px}.sg-heading p{color:var(--sg-muted);margin:7px 0 0}.sg-card{background:#fff;border:1px solid var(--sg-line);border-radius:16px;min-width:0;overflow:hidden}.sg-pad{padding:22px;margin-bottom:18px}.sg-button{appearance:none;border:1px solid #dce5f2!important;border-radius:10px!important;background:#fff!important;color:#36516f!important;padding:10px 16px!important;font:inherit;line-height:1.4!important;min-height:40px;cursor:pointer;box-shadow:none!important;white-space:normal}.sg-button.primary{background:var(--sg-blue)!important;border-color:var(--sg-blue)!important;color:#fff!important}.sg-button:disabled{opacity:.48;cursor:default}.sg-link{color:var(--sg-blue)!important;font:inherit;cursor:pointer;background:transparent!important;border:0!important;padding:8px!important;box-shadow:none!important}.sg-body-copy{font-size:13px;color:var(--sg-muted);line-height:1.85}.sg-warning{font-size:13px;color:#a35c28;line-height:1.8}.sg-status:empty{display:none}.sg-tag{background:#edf3ff;color:#416bb7;font-size:11px;padding:5px 9px;border-radius:7px;white-space:nowrap}.sg-section-head{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:0 0 18px}.sg-section-head .sg-body-copy{margin:5px 0 0}.sg-brand{display:flex;gap:13px;align-items:center;padding:16px 20px;margin-bottom:22px}.sg-brand .sg-avatar{width:44px;height:44px;flex-shrink:0;border-radius:13px;overflow:hidden}.sg-brand>div{flex:1}.sg-brand strong,.sg-brand small{display:block}.sg-brand small{font-size:12px;color:var(--sg-muted);margin-top:5px}.sg-poster-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.sg-filter,.sg-segment{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.sg-filter button,.sg-segment button,.sg-scene-nav button{border:0!important;box-shadow:none!important;background:#edf1f7!important;color:#687d97!important;border-radius:9px!important;padding:9px 14px!important;font:inherit;cursor:pointer}.sg-filter button.active,.sg-segment button.active,.sg-scene-nav button.active{background:#e4eeff!important;color:var(--sg-blue)!important;font-weight:700}.sg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sg-art{min-width:0;background:#fff;border:2px solid transparent;border-radius:13px;overflow:hidden;box-shadow:0 3px 16px #18385c08}.sg-art[hidden]{display:none}.sg-art.selected{border-color:var(--sg-blue)}.sg-art-image{display:block;position:relative;padding:0!important;border:0!important;border-radius:0!important;width:100%;background:transparent!important;box-shadow:none!important;cursor:pointer}.sg-art-image img{display:block;width:100%;aspect-ratio:3/4;height:auto}.sg-check{position:absolute;right:10px;top:10px;width:23px;height:23px;background:#ffffffea;border:1px solid #bbc9dc;border-radius:50%;display:grid;place-items:center}.sg-check svg{width:15px;height:15px}.selected .sg-check{background:var(--sg-blue);color:#fff;border-color:var(--sg-blue)}.sg-art-info{display:flex;gap:5px;align-items:center;justify-content:space-between;padding:12px}.sg-art-info strong,.sg-art-info small{display:block;font-size:13px}.sg-art-info small{font-size:11px;color:var(--sg-muted);margin-top:5px}.sg-art-info .sg-button{font-size:11px;padding:6px 8px!important;min-height:30px}.sg-review{align-self:start;padding:18px;position:sticky;top:105px}.sg-review header,.sg-review-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:8px}.sg-review header small,.sg-review-title span{font-size:11px;color:var(--sg-muted)}.sg-review>img{width:100%;border-radius:10px;margin-bottom:14px}.sg-review section{padding-top:16px;border-top:1px solid var(--sg-line)}.sg-review section p{color:var(--sg-muted);font-size:12px}.sg-review dl{display:grid;grid-template-columns:1fr 1fr;line-height:2.4;font-size:12px;color:var(--sg-muted)}.sg-review dd{margin:0;text-align:right;color:var(--sg-ink)}.sg-all{display:flex;gap:16px;align-items:center;padding:20px 0;color:var(--sg-muted);font-size:12px}.sg-dock{position:fixed;left:var(--mr-rail,224px);right:0;bottom:0;z-index:35;min-height:80px;padding:14px 36px calc(14px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fffffffa;border-top:1px solid var(--sg-line);box-shadow:0 -4px 24px #26436a06}.sg-dock strong,.sg-dock small{display:block}.sg-dock small{font-size:12px;color:var(--sg-muted);margin-top:6px}.sg-dock b{color:var(--sg-blue)}.sg-dock .primary{min-width:180px}.sg-empty{text-align:center;padding:40px 18px}.sg-empty .sg-button{margin:8px}.sg-welcome{padding:25px;display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;background:linear-gradient(110deg,#e7effe,#f7faff);border:1px solid #e0eaff}.sg-welcome h2{font-size:22px;color:#254675}.sg-welcome p{font-size:13px;color:#6f84a5;margin-bottom:0}.sg-welcome b{font-size:48px;color:#b7cbed}.sg-welcome svg{width:48px;height:48px;color:#83a8e9}.sg-daily-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.sg-daily-item,.sg-daily-results{padding:12px}.sg-daily-item>img{width:100%;display:block;border-radius:10px;margin-bottom:14px}.sg-daily-item strong,.sg-daily-results strong{font-size:14px}.sg-daily-item p,.sg-daily-results p{font-size:12px;color:var(--sg-muted)}.sg-results-art{aspect-ratio:3/4;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#eaf1fe;border-radius:10px;margin-bottom:14px;padding:12px}.sg-results-art svg{width:54px;height:54px;color:#94b4ef;margin-bottom:15px}.sg-two-cols{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.sg-row{display:flex;align-items:center;width:100%;text-align:left;gap:12px;padding:16px 0!important;border:0!important;border-bottom:1px solid var(--sg-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;cursor:pointer}.sg-row>span:nth-child(2){flex:1}.sg-row strong,.sg-row small{display:block}.sg-row small{font-size:12px;color:var(--sg-muted);margin-top:6px}.sg-row-icon{padding:10px;background:#edf3ff;color:#668ed2;border-radius:11px}.sg-row svg{width:18px;height:18px}.sg-copy-layout{display:grid;grid-template-columns:135px minmax(0,1fr) 250px;gap:20px}.sg-scene-nav{display:flex;flex-direction:column;gap:10px}.sg-scene-nav button{text-align:left;display:flex;align-items:center;justify-content:space-between;gap:4px}.sg-scene-nav small{font-size:10px;color:#a78042}.sg-copy-editor{padding:24px}.sg-field-label{display:block;color:var(--sg-muted);font-size:12px;margin-bottom:10px}.sg-copy-paper{background:#f8fafc;border:1px solid var(--sg-line);border-radius:12px;padding:20px}.sg-copy-paper h3{font-size:16px}.sg-copy-paper textarea{width:100%;resize:vertical;min-height:230px;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--sg-ink)!important;font:14px/2 sans-serif;padding:12px 0!important;outline:none}.sg-copy-actions,.sg-row-buttons{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.sg-copy-actions{margin-top:18px}.sg-switch-row,.sg-check-row,.sg-setting-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:15px;border-bottom:1px solid var(--sg-line)}.sg-switch-row input,.sg-check-row input,.sg-display-poster-picks input{width:19px;height:19px;accent-color:var(--sg-blue);flex-shrink:0}.sg-check-row{justify-content:flex-start}.sg-check-row strong,.sg-check-row small{display:block}.sg-check-row small{color:var(--sg-muted);font-size:12px;margin-top:6px}.sg-setting-row select{border:1px solid var(--sg-line);padding:9px;color:#45617f;border-radius:8px;background:#f8fafc;font:inherit;max-width:55%}.sg-lottery-chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.sg-lottery-chips span{border:1px solid #dfebfa;background:#f1f6ff;color:#4b76ae;font-size:12px;padding:8px 12px;border-radius:7px}.sg-auto-record{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--sg-line);padding:16px 0}.sg-auto-record>div{flex:1;min-width:0}.sg-auto-record strong{font-size:13px}.sg-auto-record small{display:block;color:var(--sg-muted);font-size:11px;margin-top:5px}.sg-display-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.sg-display-preview{min-height:290px;border-radius:13px;padding:25px;background:#163659;color:#fff;display:flex;flex-direction:column;align-items:center;text-align:center}.sg-display-preview.light{background:#eaf1fc;color:#24476d}.sg-display-store{font-size:15px;align-self:flex-start}.sg-display-clock{font-size:65px;line-height:1.35;margin-top:18px;font-variant-numeric:tabular-nums;letter-spacing:3px;font-weight:600}.sg-display-greeting{font-size:22px;letter-spacing:4px}.sg-display-preview p{opacity:.65;font-size:12px}.sg-display-preview footer{display:flex;justify-content:space-between;width:100%;gap:10px;margin-top:auto;padding-top:25px;font-size:10px;opacity:.65}.sg-display-poster-picks{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-top:20px}.sg-display-poster-picks label{display:flex;align-items:center;gap:7px;font-size:12px}.sg-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.sg-metrics article{padding:23px}.sg-metrics small,.sg-metrics strong,.sg-metrics span{display:block}.sg-metrics strong{font-size:33px;margin:12px 0;letter-spacing:1px}.sg-metrics small,.sg-metrics span{font-size:12px;color:var(--sg-muted)}.sg-report-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.sg-bars{display:flex;gap:8px;align-items:flex-end;justify-content:space-around;height:210px;padding-top:20px}.sg-bars>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;min-width:0}.sg-bars i{width:25px;max-width:75%;background:#7fa7f4;border-radius:6px 6px 0 0}.sg-bars small,.sg-bars span{font-size:11px;color:var(--sg-muted)}.sg-rank{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--sg-line)}.sg-rank small{width:23px;height:23px;background:#edf3ff;color:#7393c9;border-radius:6px;text-align:center;line-height:23px}.sg-rank span{flex:1;font-size:13px}.sg-rank strong{font-size:14px}.sg-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.sg-help-card{text-align:left;padding:22px!important;font:inherit;color:inherit!important;cursor:pointer;box-shadow:none!important}.sg-help-card>div{display:flex;justify-content:space-between;color:#8c9eb6;font-size:12px;margin-bottom:20px}.sg-help-card>div small:first-child{padding:8px;background:#eef4ff;color:#7197d9;border-radius:8px}.sg-help-card p{font-size:12px;color:var(--sg-muted);min-height:42px}.sg-help-card>span{color:var(--sg-blue);font-size:12px;display:flex;align-items:center;gap:5px}.sg-help-card svg,.sg-faq svg{width:16px;height:16px}.sg-faq{display:flex;justify-content:space-between;gap:16px;align-items:center;width:100%;padding:18px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--sg-line)!important;border-radius:0!important;text-align:left;font:inherit;color:inherit!important;box-shadow:none!important;cursor:pointer}.sg-guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sg-help-illustration{border:1px solid #dfebfc;border-radius:10px;background:#f2f6fd;padding-bottom:20px;margin-top:18px}.sg-help-mini-bar{background:#4b7ed5;color:white;text-align:center;padding:10px;font-size:12px;border-radius:9px 9px 0 0}.sg-help-illustration>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border:1px solid #ccdcf7;margin:20px 15px 0;padding:15px;border-radius:8px;color:#6484b5;font-size:13px}.sg-help-illustration span{padding:5px;background:#e6effd;border-radius:6px;font-size:11px}.sg-help-illustration svg{width:14px;height:14px}.sg-tools-entry{padding:24px 0}.sg-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.sg-entry-grid button{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:20px!important;background:#fff!important;border:1px solid var(--sg-line)!important;border-radius:13px!important;color:inherit!important;box-shadow:none!important;cursor:pointer}.sg-entry-grid svg{width:24px;height:24px;color:#7c9fd7}.sg-entry-grid strong{font-size:14px}.sg-entry-grid small{font-size:11px;line-height:1.6;color:var(--sg-muted)}.sg-entry-grid em{position:absolute;right:10px;top:12px;color:#a0804b;background:#fcf4e7;font-style:normal;font-size:10px;padding:3px 6px;border-radius:6px}.sg-sheet{padding:0 8px 15px;max-width:650px;margin:auto}.sg-sheet .sg-preview-image{display:block;max-height:56vh;width:auto;max-width:100%;margin:auto;border-radius:12px}.sg-preview-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 0}.sg-preview-pager span{font-size:12px;color:var(--sg-muted)}.sg-sheet .sg-row-buttons{justify-content:center}.sg-sheet>button{display:block;width:100%;margin:10px 0}.sg-job-summary{padding:10px 0 18px;font-size:17px;font-weight:700}.sg-progress{height:7px;border-radius:5px;background:#e8effb;overflow:hidden;margin-bottom:20px}.sg-progress i{display:block;height:100%;width:0;background:var(--sg-blue);transition:width .2s}.sg-job-row{display:grid;grid-template-columns:45px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--sg-line);font-size:12px}.sg-job-row img{width:45px;grid-row:span 2;border-radius:6px}.sg-job-row small{grid-column:2/4;color:#b9684a}.sg-job-row span{font-size:11px;color:#6f91c1}.sg-job-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:22px}.sg-settings-list{display:grid;grid-template-columns:1fr 1fr;line-height:2.8;color:var(--sg-muted);font-size:13px}.sg-settings-list dd{margin:0;text-align:right;color:var(--sg-ink)}html.sg-modal-lock{overflow:hidden!important} .sg-sheet-open .sheet{max-height:calc(80dvh);overflow:auto}
.sg-screen{min-height:100dvh;background:#102c4b;color:#fff;display:flex;flex-direction:column;padding:3vh 5vw;gap:2vh}.sg-screen.light{background:#edf3fc;color:#24476d}.sg-screen header{display:flex;gap:15px;align-items:center;font-size:22px}.sg-screen .sg-screen-avatar{width:50px;height:50px;border-radius:12px}.sg-screen header>span{flex:1}.sg-screen main{flex:1;min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column}.sg-screen .sg-screen-time{font-size:clamp(85px,16vw,200px);letter-spacing:5px;line-height:1.2;font-variant-numeric:tabular-nums}.sg-screen h1{font-size:clamp(35px,5vw,75px);margin:1vh}.sg-screen p{opacity:.7;font-size:clamp(14px,2vw,24px);line-height:1.8}.sg-screen footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;opacity:.75}.sg-screen button{background:#ffffff18!important;border:1px solid #ffffff24!important;color:inherit!important;border-radius:10px;padding:10px 15px;cursor:pointer}.sg-screen main img{max-height:72vh;max-width:95%;width:auto;border-radius:12px}.sg-screen .sg-screen-notice{max-width:850px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;overflow:auto}.sg-screen .sg-screen-notice h1{font-size:36px}.sg-screen .sg-screen-notice p{font-size:22px}
@media(max-width:1150px) and (min-width:769px){.sg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-copy-layout{grid-template-columns:120px minmax(0,1fr)}.sg-copy-layout>.sg-review{display:none}.sg-help-grid,.sg-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-poster-layout{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:768px){.sg-root{padding:14px 14px 100px}.sg-heading{display:none}.sg-page .mm-head{position:sticky;top:0;z-index:36}.sg-poster-layout,.sg-display-layout,.sg-copy-layout,.sg-two-cols,.sg-report-layout{display:block}.sg-review{display:none}.sg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sg-brand{padding:12px;margin-bottom:16px}.sg-brand small{font-size:10px}.sg-brand strong{font-size:14px}.sg-brand .sg-avatar{width:37px;height:37px}.sg-brand .sg-button{font-size:12px;padding:7px 10px!important;min-height:33px}.sg-filter{gap:7px;flex-wrap:nowrap;overflow:auto;margin-bottom:16px}.sg-filter button{font-size:12px;flex-shrink:0;padding:8px 13px!important}.sg-art-info{padding:10px 8px}.sg-art-info strong{font-size:12px}.sg-dock{left:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));min-height:72px}.sg-dock strong{font-size:13px}.sg-dock small{font-size:10px}.sg-dock .primary{min-width:135px;font-size:14px}.sg-pad{padding:18px;margin-bottom:16px}.sg-welcome{padding:22px 18px;margin-bottom:20px}.sg-welcome h2{font-size:18px}.sg-welcome p{font-size:11px}.sg-section-head{gap:8px}.sg-section-head h2{font-size:15px}.sg-section-head .sg-button{font-size:11px;padding:7px 10px!important;min-height:32px}.sg-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sg-daily-item,.sg-daily-results{padding:10px}.sg-daily-item strong,.sg-daily-results strong{font-size:12px}.sg-daily-item p,.sg-daily-results p{font-size:10px}.sg-daily-grid .sg-button{padding:8px 12px!important;font-size:12px;min-height:33px}.sg-scene-nav{flex-direction:row;overflow:auto;margin-bottom:16px}.sg-scene-nav button{white-space:nowrap;flex-shrink:0;font-size:12px;padding:10px 12px!important;gap:5px}.sg-copy-editor{padding:18px}.sg-segment{gap:6px}.sg-segment button{font-size:11px;padding:8px 10px!important}.sg-copy-paper{padding:15px}.sg-copy-paper textarea{font-size:14px;min-height:240px}.sg-metrics{gap:9px;margin-bottom:16px}.sg-metrics article{padding:15px 10px}.sg-metrics strong{font-size:25px;margin:10px 0}.sg-metrics small,.sg-metrics span{font-size:10px;line-height:1.7}.sg-display-preview{min-height:245px;padding:20px}.sg-display-clock{font-size:60px}.sg-help-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sg-help-card{padding:16px!important}.sg-help-card h3{font-size:14px}.sg-help-card p{font-size:11px;min-height:54px}.sg-help-card>div{margin-bottom:12px}.sg-guide-steps{display:block}.sg-tools-entry{padding:20px 0}.sg-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sg-entry-grid button{padding:17px!important}.sg-entry-grid small{font-size:10px}.sg-sheet{padding:0 3px 16px}.sg-sheet .sg-button{font-size:12px;padding:9px 12px!important}.sg-preview-pager span{font-size:11px}.sg-sheet-open .sheet{max-height:85dvh}.sg-auto-layout aside{margin-top:16px}.sg-all{gap:10px}.sg-all span{font-size:10px}}

.portal-page-content.sg-page .sg-heading{display:none}

/* assets/styles-v2/pages/post-share.css */
/* Share-only namespace; ordinary sheets retain their own styles. */
.xbc-share-layer{position:fixed;inset:0;z-index:2000;background:#0f172a70;display:flex;align-items:center;justify-content:center;padding:20px;overscroll-behavior:contain;font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#233146}.xbc-share-layer *{box-sizing:border-box}.xbc-share-layer button{font:inherit;cursor:pointer}.xbc-share-layer button:disabled{opacity:.5;cursor:wait}.xbc-share-layer button:focus-visible{outline:3px solid #e8a842;outline-offset:2px}.xbc-share-dialog{width:540px;max-width:100%;max-height:90dvh;overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 20px 70px #15294330;padding:0 22px 18px;overscroll-behavior:contain}.xbc-share-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:18px 0 17px;gap:10px}.xbc-share-dialog h2{font-size:18px;margin:0;font-weight:650}.xbc-share-dialog>header button{height:32px;width:32px;display:grid;place-items:center;background:#f6f8fb;color:#8291a5;border:0;border-radius:50%;padding:7px}.xbc-share-layer svg{height:24px;width:24px;flex:none}.xbc-share-context{display:flex;gap:10px;align-items:center;background:#f6f8fb;border-radius:8px;padding:12px;margin:0 0 21px}.xbc-share-context>img{width:45px;height:45px;object-fit:cover;border-radius:5px;flex:none}.xbc-share-context>div{min-width:0}.xbc-share-context strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xbc-share-context small{display:block;font-size:10px;color:#8a98ab;margin-top:4px}.xbc-share-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.xbc-share-grid.two{grid-template-columns:1fr 1fr;max-width:240px;margin:auto}.xbc-share-option{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0;min-width:0;font-size:12px!important;color:inherit}.xbc-share-icon{height:50px;width:50px;display:grid;place-items:center;border-radius:14px}.xbc-share-icon svg{width:26px;height:26px}.xbc-share-icon.green{color:#07a95a;background:#edf9f1}.xbc-share-icon.blue{color:#2563eb;background:#edf3ff}.xbc-share-icon.amber{color:#b98735;background:#fff7e8}.xbc-share-note{font-size:11px;line-height:1.8;color:#8c9bb0;margin:18px 0 14px;text-align:center}.xbc-share-cancel{width:100%;height:42px;background:#f5f7fa;border:0;border-radius:7px;font-size:13px;color:#61738b}.xbc-share-desktop-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.xbc-share-phone{padding:15px;text-align:center;background:#f6f8fb;border:1px solid #e2e8f0;border-radius:8px}.xbc-share-phone h3{font-size:13px;margin:0 0 7px}.xbc-share-phone p{font-size:11px;color:#8695aa;line-height:1.8;margin:0 0 12px}.xbc-share-qr{width:135px;max-width:100%;background:white}.xbc-share-shortcuts{display:flex;flex-direction:column;gap:12px}.xbc-share-shortcuts .xbc-share-option{flex:1;flex-direction:row;justify-content:flex-start;border:1px solid #e2e8f0;border-radius:8px;padding:14px;gap:13px}.xbc-share-shortcuts .xbc-share-icon{height:42px;width:42px;border-radius:10px}.xbc-share-guide{position:absolute;top:125px;right:max(20px,calc((100vw - 430px)/2 + 20px));width:min(290px,calc(100% - 40px));background:#fff;border-radius:14px;padding:23px;color:#1e293b}.xbc-share-guide h2{font-size:18px;margin:0 0 12px}.xbc-share-guide p{font-size:13px;line-height:1.9;color:#64748b}.xbc-share-guide b{color:#2563eb}.xbc-share-guide button{width:100%;height:42px;background:#eff6ff;color:#2563eb;border:0;border-radius:7px;margin-top:10px}.xbc-share-guide .xbc-share-arrow{position:absolute;right:3px;top:-113px;height:100px;width:55px;color:#fff}.xbc-share-toast{position:fixed;z-index:2200;bottom:max(95px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);background:#172033ed;color:#fff;border-radius:8px;padding:11px 17px;font:12px/1.8 sans-serif;box-sizing:border-box;text-align:center;pointer-events:none}.xbc-share-poster{width:540px;display:flex;flex-direction:column;padding:0;overflow:hidden}.xbc-share-poster>header{padding:15px 19px;border-bottom:1px solid #edf2f7;flex:none}.xbc-share-poster-body{overflow:auto;padding:18px;background:#e8edf5;min-height:0}.xbc-share-poster-body img{display:block;width:100%;height:auto;border-radius:9px}.xbc-share-poster>footer{display:flex;align-items:center;gap:16px;padding:12px 18px;background:#fff;flex:none}.xbc-share-poster>footer span{flex:1;color:#8999ae;font-size:11px;line-height:1.8}.xbc-share-primary{background:#2563eb;color:white;border:0;border-radius:7px;padding:11px 19px;font-size:13px}html[data-xbc-theme=dark] .xbc-share-dialog:not(.xbc-share-poster){background:#142337;color:#e4ecf6;border-color:#2d3e55}html[data-xbc-theme=dark] .xbc-share-dialog:not(.xbc-share-poster) .xbc-share-context,html[data-xbc-theme=dark] .xbc-share-phone{background:#192c44;color:#e4ecf6;border-color:#2d3e55}html[data-xbc-theme=dark] .xbc-share-shortcuts .xbc-share-option{border-color:#2d3e55}
@media(max-width:600px){.xbc-share-layer{align-items:flex-end;padding:0}.xbc-share-dialog{width:min(100%,430px);max-height:66.667dvh;border:0;border-radius:18px 18px 0 0;padding:0 16px max(14px,env(safe-area-inset-bottom))}.xbc-share-dialog>header{padding:19px 0 14px}.xbc-share-grid .xbc-share-option{font-size:11px!important}.xbc-share-poster{max-height:92dvh;padding:0}.xbc-share-poster>header{padding:15px 17px}.xbc-share-poster>footer{padding-bottom:max(14px,env(safe-area-inset-bottom))}.xbc-share-guide{top:115px;right:max(18px,calc((100vw - 430px)/2 + 18px))}}
.xbc-public-body{margin:0;background:#f1f4f8;color:#233146;font:15px/1.85 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}.xbc-public-body *{box-sizing:border-box}.xbc-public-body button,.xbc-public-body a{font:inherit}.xbc-public-body a{color:#2455a3;text-decoration:none}.xbc-public-header{background:#2455a3;color:white;display:flex;align-items:center;justify-content:space-between;padding:13px max(18px,calc((100vw - 760px)/2));gap:18px}.xbc-public-header strong{font-size:16px}.xbc-public-header button{height:37px;padding:0 14px;background:#ffffff15;border:1px solid #ffffff60;border-radius:6px;color:#fff;font-size:13px}.xbc-public-page{max-width:760px;margin:22px auto;background:white;border:1px solid #e2e8f0;border-radius:9px;overflow:hidden}.xbc-public-shop{display:flex;align-items:center;gap:10px;padding:17px 24px;border-bottom:1px solid #eef2f7}.xbc-public-avatar{width:42px;height:42px;border-radius:9px;background:#eff6ff;color:#2455a3;display:grid;place-items:center;overflow:hidden;font-weight:650}.xbc-public-avatar img{width:100%;height:100%;object-fit:cover}.xbc-public-shop b{font-size:14px}.xbc-public-shop small{display:block;color:#94a3b8;font-size:10px}.xbc-public-shop>a{margin-left:auto;font-size:12px}.xbc-public-article{padding:24px 28px}.xbc-public-article h1{font-size:27px;line-height:1.5;margin:0 0 11px}.xbc-public-meta{color:#8b9bb0;font-size:11px;margin-bottom:23px}.xbc-public-text{white-space:pre-wrap;word-wrap:break-word;font-size:16px;line-height:1.95;margin:10px 0}.xbc-public-text.h1{font-size:23px;font-weight:650}.xbc-public-text.h2{font-size:20px;font-weight:600}.xbc-public-text.quote{border-left:3px solid #c3d6ef;padding-left:12px;color:#7c8da4}.xbc-public-image{display:block;width:100%;height:auto;margin:0}.xbc-public-image+.xbc-public-text,.xbc-public-text+.xbc-public-image{margin-top:12px}.xbc-public-source{font-size:10px;color:#94a3b8;border-top:1px solid #eef2f7;padding-top:16px;margin-top:20px}.xbc-public-footer{text-align:center;font-size:10px;color:#94a3b8;padding:0 18px 24px}.xbc-public-footer a{color:inherit}.xbc-public-empty{max-width:600px;margin:60px auto;background:white;padding:40px;text-align:center;border-radius:9px}.xbc-public-empty h1{font-size:20px}.xbc-public-empty p{font-size:13px;color:#94a3b8}
@media(max-width:600px){.xbc-public-body{background:#f8fafc}.xbc-public-header{position:sticky;top:0;z-index:3;background:linear-gradient(115deg,#2563eb,#1d4ed8);padding:9px 15px}.xbc-public-page{margin:0;border:0;border-radius:0}.xbc-public-shop{padding:15px 17px}.xbc-public-article{padding:22px 18px}.xbc-public-article h1{font-size:23px}.xbc-public-text{font-size:15px}.xbc-public-footer{padding-top:20px}}

.xbc-share-consent{padding:0 20px 18px;line-height:1.7;font-size:14px;color:#64748b}.xbc-share-consent a{color:#2563eb}.xbc-share-dialog>[data-xbc-consent=yes]{display:block;margin:0 auto;padding:12px 24px;border:0;border-radius:8px}

/* assets/styles-v2/pages/app-entry-download.css */
/* XBC-20261114-009: approved platform and merchant entry downloads. */
#app .platform-access-brandbar{justify-content:space-between}
#app .platform-access-brand{display:flex;align-items:center;gap:13px}
#app .app-entry-download{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:8px;min-height:36px;padding:0 14px;box-sizing:border-box;border:1px solid var(--p-line,var(--xbc-line,#d2e0f7));border-radius:9px;background:var(--p-panel,var(--xbc-surface-solid,#fff));color:var(--p-link,var(--xbc-primary,#2563eb));font-size:13px;font-weight:650;line-height:1;text-decoration:none;white-space:nowrap}
#app .app-entry-download svg{display:block;flex:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#app .app-entry-download:hover{background:var(--p-soft,var(--xbc-surface-soft,#edf4ff))}
#app .app-entry-download:focus-visible{outline:3px solid #89b5ff;outline-offset:3px}
#app .portal-merchant-root.merchant-refresh .mr-clean-header .app-entry-actions{gap:14px}
#app .portal-merchant-root.merchant-refresh .mr-clean-header .app-entry-download{color:var(--p-link);font-size:13px;font-weight:650;background:var(--p-panel);border-color:var(--p-line)}

/* Follow the actual layout state, including view=m at wide browser sizes. */
#app[data-layout="mobile"] .page.platform-access-shell{display:flex;flex-direction:column;box-sizing:border-box;height:max(100vh,620px);height:max(100dvh,620px);min-height:100vh;min-height:100dvh;padding:0}
#app[data-layout="mobile"] .platform-access-shell .platform-access-brandbar{position:static;display:flex;align-items:center;justify-content:flex-end;width:100%;height:64px;min-height:64px;flex:0 0 64px;margin:0;padding:0 16px;box-sizing:border-box;border:0;background:transparent}
#app[data-layout="mobile"] .platform-access-brand{display:none}
#app[data-layout="mobile"] .platform-access-brandbar .app-entry-download{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:#2563eb;box-shadow:none}
#app[data-layout="mobile"] .platform-access-brandbar .app-entry-download span{display:none}
#app[data-layout="mobile"] .platform-access-brandbar .app-entry-download svg{width:22px;height:22px}
#app[data-layout="mobile"] .platform-access-shell .platform-access-page{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:27px;flex:1 1 0;width:100%;min-height:0;margin:0;padding:24px 16px;box-sizing:border-box}
#app[data-layout="mobile"] .platform-access-shell .platform-access-intro{width:100%;margin:0;flex:0 0 auto}
#app[data-layout="mobile"] .platform-access-shell .platform-access-mark{width:66px;height:66px;margin:0 auto 22px}
#app[data-layout="mobile"] .platform-access-shell .platform-access-copy{text-align:center}
#app[data-layout="mobile"] .platform-access-shell .platform-access-copy h1{font-size:31px;margin:10px 0 12px;line-height:1.35}
#app[data-layout="mobile"] .platform-access-shell .platform-access-copy p{margin:0 auto;max-width:360px;font-size:14px;line-height:1.8}
#app[data-layout="mobile"] .platform-access-shell .platform-bind-card{width:100%;margin:0;box-sizing:border-box;flex:0 0 auto}
#app[data-layout="mobile"] .platform-access-shell .xbc-service-footer{position:static;flex:0 0 auto;box-sizing:border-box;width:100%;margin:0;padding:12px 16px calc(16px + env(safe-area-inset-bottom))}
#app[data-layout="mobile"] .store-mobile-login-page .topbar-right{position:absolute;right:8px;top:2px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0}
#app[data-layout="mobile"] .store-mobile-login-page .app-entry-download{width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none}
#app[data-layout="mobile"] .store-mobile-login-page .app-entry-download span{display:none}
#app[data-layout="mobile"] .store-mobile-login-page .app-entry-download svg{width:22px;height:22px;min-width:22px;max-width:22px;min-height:22px;max-height:22px}
@media(max-width:359px){
 #app[data-layout="mobile"] .platform-access-shell .platform-access-copy h1{font-size:27px}
 #app[data-layout="mobile"] .platform-access-shell .platform-access-copy p{font-size:12px}
 #app[data-layout="mobile"] .platform-access-shell .platform-access-page{gap:21px;padding-top:18px;padding-bottom:18px}
 #app[data-layout="mobile"] .platform-access-shell .platform-access-mark{width:58px;height:58px;margin-bottom:17px}
}
