/*
 * 88靓号网 · 暖曜橙红版
 * Warm, conversion-focused theme layer loaded after the classic stylesheets.
 */
:root {
  color-scheme: light;
  --primary: #f4511e;
  --primary-strong: #d83b18;
  --primary-soft: #fff0e8;
  --accent: #ff7a32;
  --gold: #c77a12;
  --gold-soft: #fff4db;
  --ink: #202738;
  --muted: #746761;
  --line: #eedfd7;
  --surface: #fff;
  --surface-subtle: #fff8f3;
  --number-ink: #172033;
  --number-price: #d9472f;
  --supporting-text: #756b66;
  --filter-text: #746b66;
  --field-placeholder: #9b8f89;
  --success: #14855f;
  --danger: #df3424;
  --shadow-sm: 0 2px 3px rgba(76,40,25,.025), 0 10px 28px rgba(111,55,31,.07);
  --shadow-md: 0 24px 64px rgba(111,55,31,.13);
}

html { background: #fff9f5; }
body,
.member-page,
.member-dashboard-page {
  color: var(--ink);
  background:
    radial-gradient(circle at 91% 2%, rgba(255,136,79,.08), transparent 31rem),
    radial-gradient(circle at 6% 18%, rgba(255,190,105,.06), transparent 30rem),
    #fff9f5;
}
::selection { color: #fff; background: #e94b25; }
:focus-visible { outline-color: rgba(244,81,30,.36); }

/* Navigation and shared controls */
.site-header,
.member-dashboard-page .site-header {
  border-color: rgba(207,140,107,.22);
  background: rgba(255,253,250,.94);
  box-shadow: 0 10px 34px rgba(91,45,24,.055);
}
.brand { color: #252a37; }
.brand small { color: #8a756c; }
.brand-mark {
  color: #fff;
  background: linear-gradient(145deg,#ff7935,#e94324);
  box-shadow: 0 10px 25px rgba(226,66,31,.22), inset 0 1px rgba(255,255,255,.32);
}
.main-nav a { color: #615955; }
.main-nav a:hover { color: #d84220; background: #fff0e8; }
.main-nav a.active { color: #d84220; }
.main-nav a.active::after { background: linear-gradient(90deg,#ff8a3d,#e63e1f); }
.icon-button,
.button-secondary {
  color: #625b58;
  border-color: #eadbd3;
  background: #fffdfa;
}
.icon-button:hover,
.button-secondary:hover { color: #d84220; border-color: #eea88e; background: #fff4ee; }
.button-primary,
.auth-primary,
.member-primary {
  color: #fff;
  border-color: rgba(213,56,26,.24);
  background: linear-gradient(135deg,#ff6f2e,#e93b20);
  box-shadow: 0 12px 26px rgba(224,61,29,.2), inset 0 1px rgba(255,255,255,.24);
}
.button-primary:hover,
.auth-primary:hover,
.member-primary:hover { color: #fff; background: linear-gradient(135deg,#ff7b38,#d93217); }
.member-auth-page .auth-primary {
  color: #fff;
  background: linear-gradient(135deg,#ff6f2e,#e93b20);
  box-shadow: 0 13px 24px rgba(224,61,29,.22),inset 0 1px rgba(255,255,255,.24);
}
.member-auth-page .auth-primary:hover {
  color: #fff;
  background: linear-gradient(135deg,#ff7b38,#d93217);
  box-shadow: 0 16px 28px rgba(204,54,24,.28),inset 0 1px rgba(255,255,255,.24);
}
.member-auth-page .auth-primary:active {
  color: #fff;
  background: linear-gradient(135deg,#eb4b22,#c92d15);
}
.member-auth-page .auth-primary:focus-visible {
  outline: 3px solid rgba(232,72,31,.28);
  outline-offset: 3px;
}
.text-link,
.detail-help a,
.info-nav a:hover,
.info-nav a.active { color: #d84321; }
.breadcrumbs,
.breadcrumbs a { color: #98877e; }
.breadcrumbs a:hover { color: #d84321; }
input,
select,
textarea,
.search-panel,
.sort-select {
  color: #2d303a;
  border-color: #eadbd3;
  background: #fff;
}
input::placeholder,
textarea::placeholder { color: var(--field-placeholder); }

/* Home */
.hero {
  border-color: #f0ded4;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,116,54,.13), transparent 28%),
    radial-gradient(circle at 13% 20%, rgba(255,190,105,.11), transparent 32%),
    linear-gradient(145deg,#fffdfb 0%,#fff6f0 58%,#fff2e9 100%);
}
.hero::before {
  opacity: .46;
  background-image: linear-gradient(rgba(226,91,45,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(226,91,45,.055) 1px,transparent 1px);
}
.eyebrow { color: #d84420; }
.hero h1,
.section-head h2,
.page-title-row h1,
.article-body h3,
.cta-panel h2 { color: #252936; }
.gradient-text {
  background: linear-gradient(100deg,#e63e20 0%,#ff7833 48%,#ba7113 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy,
.section-intro { color: #766963; }
.hero-search {
  border-color: #efbca8;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(128,59,30,.11);
}
.hero-search label,
.hero-search svg { color: #e14a25; }
.quick-links { color: #9a887f; }
.quick-links a { color: #665b56; border-color: #efe0d8; background: rgba(255,255,255,.76); }
.quick-links a:hover { color: #d84321; border-color: #edb098; background: #fff2eb; }
.trust-line { color: #7c6d66; }
.trust-line svg { color: #e4572e; }
.hero-visual {
  border-color: #efd7ca;
  background: radial-gradient(circle at 50% 35%,rgba(255,155,98,.19),rgba(255,250,246,.5));
  box-shadow: inset 0 0 80px rgba(255,118,54,.045);
}
.hero-image {
  content: url("/assets/hero-numbers-warm.svg?v=20260904-warm-home-v1");
  filter: drop-shadow(0 34px 44px rgba(126,55,35,.18));
}
.float-card { color: #776860; border-color: #efd8cd; background: rgba(255,253,250,.92); box-shadow: 0 18px 42px rgba(111,55,31,.12); }
.float-card strong { color: #3c302c; }
.stats-bar { border-color: #f0dfd6; background: #fffaf6; }
.stat { border-color: #efdfd7; }
.stat strong { color: #c94832; }
.stat span { color: #8d7c74; }
.section-subtle { border-color: #f1e1d8; background: #fff7f2; }
.category-card,
.surface-card,
.article-card,
.number-card {
  color: #2d303a;
  border-color: #ecded6;
  background: linear-gradient(145deg,#fff,#fffdfb);
  box-shadow: var(--shadow-sm);
}
.category-card:hover,
.number-card:hover { border-color: #eda58a; box-shadow: 0 18px 40px rgba(111,55,31,.12),0 0 0 1px rgba(244,81,30,.04); }
.category-icon,
.feature-item .num { color: #d84420; background: #fff0e8; }
.category-card h3 { color: #2d303a; }
.category-card p,
.article-body p { color: #7f7069; }
.category-card .arrow { color: #db4a25; }
.home-showcase-visual,
.feature-visual,
.article-art,
.news-card-media { border-color: #eedbd1; background: linear-gradient(145deg,#fff3eb,#fffaf5); }
.cta-panel {
  border-color: #efa78b;
  background: radial-gradient(circle at 92% 18%,rgba(255,179,92,.25),transparent 30%),linear-gradient(135deg,#fff1e8,#ffe1d2);
  box-shadow: 0 24px 58px rgba(134,57,28,.13);
}
.cta-panel::after { color: rgba(181,67,29,.13); }
.cta-panel p { color: #735f56; }
.cta-panel .button { color: #fff; background: linear-gradient(135deg,#ff6a2a,#e93b20); }

/* Number cards */
.number-card::before {
  display: none;
}
.number-card-top,
.number-card-bottom { background: transparent; }
.qq-number { color: var(--number-ink); text-shadow: none; }
.number-desc,
.number-summary,
.number-level,
.number-pattern,
.number-digits,
.level { color: var(--supporting-text); }
.number-tags span { color: #7a6c65; border-color: #eee0d9; background: #fffaf7; }
.badge { color: #766962; background: #f8f2ee; }
.badge-blue,
.badge-featured { color: #c84423; background: #fff0e8; }
.badge-gold { color: #a76810; background: #fff4dc; box-shadow: inset 0 0 0 1px #f2d8a7; }
.badge-black-gold { color: #ffe2a6; background: linear-gradient(135deg,#463729,#211b19); }
.badge-colorful {
  color: transparent;
  background: #fff2d2;
  box-shadow: inset 0 0 0 1px #e7c36b;
}
.badge-colorful::after {
  color: transparent;
  background: linear-gradient(100deg,#6d28d9 0%,#155eef 34%,#8a4f00 68%,#6d28d9 100%);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: colorful-badge-text 3.5s ease-in-out infinite alternate;
}
.price,
.couple-price,
.detail-price,
.member-order-amount strong { color: var(--number-price); }
.favorite { color: #9c8e87; }
.favorite:hover,
.favorite.active { color: #e24523; background: #fff0e8; }

/* Catalog and filters */
.page-hero,
.catalog-search-hero { border-color: #efddd3; background: radial-gradient(circle at 84% 15%,rgba(255,129,66,.1),transparent 34%),linear-gradient(180deg,#fffdfa,#fff7f1); }
.catalog { background: #fff9f5; }
.filters,
.selected-filters,
.toolbar,
.view-switch,
.quick-filter-popover {
  border-color: #ecddd5;
  background: #fff;
  box-shadow: 0 10px 28px rgba(111,55,31,.07);
}
.filters-head { border-color: #efded5; background: linear-gradient(90deg,#fff8f3,#fff); }
.filters-head h2,
.filter-label,
.toolbar strong { color: #353238; }
.filters-title span,
.selected-filters-label { color: #95857d; }
.filter-group { border-color: #f0e3dc; }
.filter-advanced { background: #fffaf7; }
.filter-chip span { color: var(--filter-text); background: #f8f3f0; }
.filter-chip span:hover { color: #d84321; background: #fff0e8; }
.filter-chip input:checked + span,
.selected-filter,
.view-switch button.active { color: #d84321; border-color: #efa68a; background: #fff0e8; }
.sort-select,
.view-switch { color: #675d59; }
.view-switch button { color: #96877f; }
.catalog-loading,
.couple-loading { color: #897a72; border-color: #eebba7; background: #fffaf7; }
.price-custom { border-color: #eee0d9; }
.price-custom-field input,
.digit-inputs input,
.digit-filter-trigger,
.price-custom-apply { color: #655b56; border-color: #e9d9d1; background: #fff; }
.digit-filter-trigger strong,
.digit-filter-trigger svg,
.price-custom-separator,
.price-custom-unit { color: #8f8179; }
.price-custom-apply:hover,
.digit-filter-trigger.is-selected,
.digit-filter-trigger.is-open { color: #d84321; border-color: #eea68b; background: #fff3ed; }
.digit-filter-trigger.is-selected strong,
.digit-filter-trigger.is-open strong,
.digit-filter-trigger.is-open svg { color: #d84321; }
.digit-picker { color: #615752; border-color: #edc1af; background: #fffdfa; box-shadow: 0 16px 36px rgba(111,55,31,.15); }
.digit-picker-head strong { color: #302f34; }
.digit-picker p { color: #908078; }
.digit-picker-option { color: #6f625c; border-color: #eee0d9; background: #fff; }
.digit-picker-option.is-selected { color: #d84321; border-color: #eda489; background: #fff0e8; }
@media (min-width:821px) {
  .catalog-desktop-select-trigger,
  .couple-desktop-select-trigger { color: #655b56; border-color: #eadbd3; background: #fff; }
  .catalog-desktop-select-trigger:hover,
  .couple-desktop-select-trigger:hover,
  .catalog-desktop-select-trigger.is-open,
  .couple-desktop-select-trigger.is-open { color: #d84321; border-color: #eda78c; background: #fff5ef; }
  .catalog-desktop-select-menu,
  .couple-desktop-select-menu { border-color: #edc3b2; background: rgba(255,253,250,.98); box-shadow: 0 18px 42px rgba(111,55,31,.16); }
  .catalog-desktop-select-option,
  .couple-desktop-select-option { color: #6c615c; }
  .catalog-desktop-select-option:hover,
  .catalog-desktop-select-option:focus-visible,
  .couple-desktop-select-option:hover,
  .couple-desktop-select-option:focus-visible,
  .catalog-desktop-select-option.is-selected,
  .couple-desktop-select-option.is-selected { color: #d84321; background: #fff0e8; }
}

@media (max-width:820px) {
  .catalog-desktop-select-trigger,
  .couple-desktop-select-trigger { color: #655b56; border-color: #eadbd3; background: #fff; }
  .catalog-desktop-select--search .catalog-desktop-select-trigger { border-bottom-color: #eadbd3; }
  .catalog-desktop-select-trigger.is-open,
  .couple-desktop-select-trigger.is-open { color: #d84321; border-color: #eda78c; background: #fff5ef; box-shadow: 0 0 0 3px rgba(216,67,33,.09); }
  .catalog-desktop-select-menu,
  .couple-desktop-select-menu { border-color: #edc3b2; background: rgba(255,253,250,.98); box-shadow: 0 18px 42px rgba(111,55,31,.16); }
  .catalog-desktop-select-option,
  .couple-desktop-select-option { color: #6c615c; }
  .catalog-desktop-select-option:hover,
  .catalog-desktop-select-option:focus-visible,
  .couple-desktop-select-option:hover,
  .couple-desktop-select-option:focus-visible,
  .catalog-desktop-select-option.is-selected,
  .couple-desktop-select-option.is-selected { color: #d84321; background: #fff0e8; }
}

/* Details */
[data-number-detail] .page-section { background: transparent; }
.detail-number-card,
.detail-info-card,
.detail-aside,
.detail-recent-sales {
  color: #2f3038;
  border-color: #ebdcd4;
  background: linear-gradient(145deg,#fff,#fffdfa);
  box-shadow: var(--shadow-sm);
}
.detail-number-head { background: radial-gradient(circle at 90% 4%,rgba(255,112,47,.14),transparent 35%),linear-gradient(135deg,#fffaf6,#fff1e8); }
.detail-number { color: var(--number-ink); }
.detail-price { color: #c94832; }
.detail-number-copy { color: #887972; }
.detail-number-copy:hover { color: #d84321; background: #fff0e8; }
.status-pill { color: #147a57; background: #eaf8f1; }
.detail-tags span { color: #776a64; border-color: #ebdcd4; background: #fffaf7; }
.detail-spec { border-color: #f0e1da; }
.detail-spec span,
.detail-price-label { color: #695f5a; }
.detail-spec strong,
.detail-recent-sales-heading h2,
.detail-recent-sale-main,
.detail-recent-sale-main strong,
.detail-recent-sale-meta b { color: #34323a; }
.detail-remark { color: #695f5a; border-color: #eddcd3; background: #fff9f5; }
.detail-help { border-color: #efe0d9; }
.detail-help p,
.detail-recent-sale-meta { color: #695f5a; }
.detail-action-stack .button-secondary { background: #fffdfa; }
[data-number-detail] .trade-process-heading p,
[data-number-detail] .trade-process-steps small { color: #695f5a; }
[data-number-detail] .trade-process-steps li:not(:last-child)::after { background: #f2d5ca; }
[data-number-detail] .trade-step-number {
  color: #d95332;
  border-color: #f3c6b6;
  background: #fff1ea;
}
[data-number-detail] .detail-recent-sale::before { background: #f1d5ca; }
[data-number-detail][aria-busy="true"] [data-detail-number],
[data-number-detail][aria-busy="true"] [data-detail-tags],
[data-number-detail][aria-busy="true"] [data-detail-length],
[data-number-detail][aria-busy="true"] [data-detail-level],
[data-number-detail][aria-busy="true"] [data-detail-pattern],
[data-number-detail][aria-busy="true"] [data-detail-updated],
[data-number-detail][aria-busy="true"] [data-detail-remark],
[data-number-detail][aria-busy="true"] [data-detail-price],
[data-number-detail][aria-busy="true"] [data-detail-badge],
[data-number-detail][aria-busy="true"] .status-pill {
  color: transparent !important;
  border-color: transparent !important;
  background: linear-gradient(100deg,#f8eee9 28%,#fff8f4 46%,#f8eee9 64%);
  background-size: 240% 100%;
}

/* Information, utility and commerce pages */
.news-feature-copy h2,
.news-card h2,
.news-card h3,
.news-side-item h3,
.info-content h2,
.info-content h3,
.faq-group h2,
.contact-panel h2 { color: #302f36; }
.news-feature-copy p,
.news-card p,
.info-content p,
.info-content li,
.faq-answer,
.contact-panel > p,
.contact-method span { color: #7e7069; }
.news-feature-copy time,
.news-card time,
.article-meta { color: #9c8d85; }
.news-pagination a,
.news-pagination .news-page-disabled { color: #736762; border-color: #eadbd3; background: #fff; }
.news-pagination a:hover { color: #d84321; border-color: #eda58a; background: #fff2eb; }
.news-pagination a[aria-current="page"] { color: #fff; border-color: #e64623; background: #e64623; }
.info-nav,
.info-content,
.info-card,
.faq-item,
.contact-panel,
.contact-method { border-color: #ecddd5; background: #fff; }
.info-nav a,
.faq-item summary { color: #655b56; }
.info-nav a:hover,
.info-nav a.active { background: #fff0e8; }
.contact-method[href]:hover { border-color: #eca68b; box-shadow: 0 12px 28px rgba(111,55,31,.1); }
.contact-field span { color: #5e5551; }
.contact-field input,
.contact-field select,
.contact-field textarea { color: #343238; border-color: #e9d9d1; background: #fff; }

body[data-couple-page] main,
body[data-news-page] main,
body[data-news-detail-page] main,
body[data-favorites-page] main,
.valuation-page,
.luck-page { color: #2f3038; background: radial-gradient(circle at 86% 4%,rgba(255,128,63,.075),transparent 29rem),linear-gradient(180deg,#fffaf7,#fff7f2); }
body[data-couple-page] .inner-hero,
body[data-news-page] .inner-hero,
body[data-favorites-page] .inner-hero,
.valuation-hero,
.luck-hero { border-color: #efddd3; background: radial-gradient(circle at 84% 22%,rgba(255,112,47,.12),transparent 29%),linear-gradient(145deg,#fffdfb,#fff2ea); }
body[data-couple-page] .inner-hero h1,
body[data-news-page] .inner-hero h1,
body[data-favorites-page] .inner-hero h1,
.valuation-intro h1,
.luck-hero h1 { color: #282b35; }
body[data-couple-page] .inner-hero p,
body[data-news-page] .inner-hero p,
body[data-favorites-page] .inner-hero p,
.valuation-intro p,
.luck-hero p { color: #796b65; }
body[data-couple-page] .page-section,
body[data-news-page] .page-section,
body[data-news-detail-page] .page-section,
body[data-favorites-page] .page-section,
.valuation-section,
.luck-section { border-color: #f0e1d9; background: rgba(255,253,250,.84); }

body[data-couple-page] .couple-card,
body[data-couple-page] .empty-state,
body[data-favorites-page] .favorites-empty,
body[data-news-page] .news-feature-card,
body[data-news-page] .news-side-item,
body[data-news-page] .news-card,
body[data-news-detail-page] .article-content,
body[data-news-detail-page] .article-aside,
.valuation-form-card,
.valuation-note,
.luck-form-card,
.luck-note { color: #313038; border-color: #ecddd5; background: linear-gradient(145deg,#fff,#fffdfb); box-shadow: var(--shadow-sm); }
body[data-couple-page] .couple-number-row { color: #313038; border-color: #eee0d9; background: #fffaf7; }
body[data-couple-page] .couple-number-row:hover { border-color: #eda68b; background: #fff2eb; }
body[data-couple-page] .couple-label { color: #c63e1f; background: #fff0e8; }
body[data-couple-page] .couple-label.family { color: #a56a10; background: #fff4dc; }
body[data-couple-page] .couple-filter-trigger,
body[data-couple-page] .couple-filter-popover,
body[data-couple-page] .couple-filter-option,
body[data-couple-page] .couple-filter-close { color: #675c57; border-color: #ebdcd4; background: #fff; }
body[data-couple-page] .couple-filter-trigger.is-selected,
body[data-couple-page] .couple-filter-trigger.is-open,
body[data-couple-page] .couple-filter-option.is-selected { color: #d84321; border-color: #eda68b; background: #fff0e8; }
body[data-couple-page] .couple-filter-scrim { background: rgba(49,26,17,.5); }
.mobile-select-click-shield:not([hidden]) { background: rgba(15,23,42,.22); }
body[data-couple-page] .mobile-select-click-shield:not([hidden]) { background: rgba(49,26,17,.5); }
body[data-favorites-page] .section-title-row h2,
body[data-favorites-page] .favorites-empty h2,
body[data-news-page] .section-title-row h2,
body[data-news-detail-page] .article-content h1,
body[data-news-detail-page] .article-content h2,
body[data-news-detail-page] .article-content h3,
body[data-news-detail-page] .article-aside h2,
.valuation-card-head h2,
.valuation-note h2,
.luck-card-head h2,
.luck-note h2 { color: #302f36; }
body[data-favorites-page] .section-title-row p,
body[data-favorites-page] .favorites-empty p,
body[data-favorites-page] .favorites-count,
body[data-news-page] .section-title-row p,
.valuation-card-head p,
.luck-card-head p { color: #83746d; }
body[data-favorites-page] .favorites-count strong { color: #d84321; }
body[data-news-detail-page] .article-content,
body[data-news-detail-page] .article-content p,
body[data-news-detail-page] .article-content li,
body[data-news-detail-page] .managed-rich-content { color: #685e59; }
body[data-news-detail-page] .article-lead,
body[data-news-detail-page] .managed-rich-content blockquote,
body[data-news-detail-page] .article-callout { color: #665650; border-color: #efa98e; background: #fff3ed; }
body[data-news-detail-page] .article-toc a { color: #786b65; }
body[data-news-detail-page] .article-toc a:hover { color: #d84321; background: #fff0e8; }
.valuation-field,
#luck-form label { color: #5d5551; }
.valuation-field input,
#luck-number { color: #313038; border-color: #e8d8d0; background: #fff; }
.valuation-field input:focus,
#luck-number:focus { border-color: #eb997a; box-shadow: 0 0 0 4px rgba(244,81,30,.1); }
.valuation-free-badge,
.luck-card-head > span { color: #147a57; background: #eaf8f1; }
.valuation-note li,
.luck-note-grid p { color: #71645e; border-color: #eee0d9; background: #fff9f5; }
.valuation-note li::before { color: #d84321; background: #fff0e8; }
.luck-disclaimer { color: #a65e0b; border-color: #efca91; background: #fff5df; }
.valuation-result { color: #342f2d; border-color: #eea98e; background: radial-gradient(circle at 86% 12%,rgba(255,131,66,.2),transparent 33%),linear-gradient(145deg,#fff8f2,#ffece1); box-shadow: 0 22px 52px rgba(111,55,31,.15); }
.valuation-result h2,
.valuation-result h2 strong,
.valuation-range strong { color: #d84321; }
.valuation-result-top > div > span,
.valuation-range,
.valuation-listing > span,
.valuation-listing small,
.valuation-reasons > span { color: #735f56; }
.valuation-result h2 small { color: #c63e1f; }
.valuation-facts { border-color: #e9b9a5; background: #efd1c4; }
.valuation-facts div,
.valuation-listing { background: rgba(255,255,255,.8); }
.valuation-facts dt { color: #7a655c; }
.valuation-facts dd,
.valuation-listing strong { color: #312d2b; }
.valuation-reasons > div span { color: #8f321d; border-color: #edb49e; background: #fff4ee; }
.valuation-related-link { color: #fff; border-color: #e64623; background: linear-gradient(135deg,#ff6a2a,#e93b20); }

/* Warm result cards need their own foreground colors; the base result modules use white text for saturated themes. */
.luck-result,
.luck-result[data-tone="good"],
.luck-result[data-tone="steady"],
.luck-result[data-tone="caution"] {
  color: #302d2c;
  border-color: #edb49e;
  background:
    radial-gradient(circle at 88% 10%,rgba(255,134,71,.16),transparent 34%),
    linear-gradient(145deg,#fffaf6,#ffede4);
  box-shadow: 0 20px 48px rgba(111,55,31,.14);
}
.luck-result[data-tone="good"] { border-top: 4px solid #19835f; }
.luck-result[data-tone="steady"] { border-top: 4px solid #d84321; }
.luck-result[data-tone="caution"] { border-top: 4px solid #b96b0d; }
.luck-result::after { border-color: rgba(222,79,40,.12); }
.luck-result-head > div:first-child > span { color: #79665d; }
.luck-result h2 { color: #27292f; }
.luck-score,
.luck-score strong { color: #d84321; }
.luck-summary { color: #5f514b; }
.luck-tags span { color: #8f321d; border-color: #edb49e; background: #fff4ee; }
.luck-facts { border-color: #e6b9a7; background: #eed1c4; }
.luck-facts div { background: rgba(255,255,255,.82); }
.luck-facts dt { color: #78645b; }
.luck-facts dd { color: #302d2c; }
.luck-actions .button-secondary { color: #c63e1f; border-color: #edb49e; background: #fffaf7; }

/* Authentication and member center */
.member-auth-page { color: #30323a; background: #fff8f3; }
.member-auth-page::before { background-image: linear-gradient(180deg,rgba(255,248,243,.72),rgba(255,248,243,.2) 34%,transparent 70%),linear-gradient(rgba(232,91,44,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(232,91,44,.06) 1px,transparent 1px); }
.auth-showcase::after { background: radial-gradient(circle,rgba(255,125,57,.19),rgba(255,187,102,.09) 48%,transparent 72%); }
.auth-showcase-badge,
.auth-showcase-points li,
.auth-card,
.member-panel,
.member-card { color: #34323a; border-color: #ecdcd4; background: rgba(255,255,255,.94); box-shadow: 0 28px 72px rgba(111,55,31,.12); }
.auth-showcase h1,
.auth-card-heading h2,
.auth-showcase-points strong { color: #282b35; }
.auth-showcase > p:not(.auth-showcase-kicker),
.auth-card-heading > p:last-child,
.auth-showcase-points span { color: #7d6f68; }
.member-auth-page .auth-form label,
.member-form label { color: #514a47; }
.member-auth-page .auth-form input,
.member-form input,
.auth-form input { color: #30323a; border-color: #e8d8d0; background: #fff; }
.member-auth-page .auth-form input:focus { border-color: #eb9879; box-shadow: 0 0 0 4px rgba(244,81,30,.1); }
.auth-method-tabs,
.member-tabs { border-color: #ebddd6; background: #fff8f3; }
.auth-method-tabs button,
.member-tabs button { color: #7a6d67; background: transparent; }
.auth-method-tabs button.active,
.member-tabs button.active { color: #fff; background: linear-gradient(135deg,#ff6a2a,#e93b20); box-shadow: none; }
.auth-password-toggle:hover,
.auth-password-toggle[aria-pressed="true"] { color: #d84321; background: #fff0e8; }

.member-dashboard { background: transparent; }
.member-dashboard-hero { border-color: #efddd3; background: radial-gradient(circle at 86% 28%,rgba(255,120,55,.14),transparent 27%),linear-gradient(120deg,#fffaf6,#fff1e8 62%,#fff7ef); }
.member-avatar { color: #fff; background: linear-gradient(145deg,#ff7935,#e94324); box-shadow: 0 14px 32px rgba(224,61,29,.2); }
.member-greeting,
.member-hero-description { color: #7e7069; }
.member-welcome-line h1 { color: #292c35; }
.member-verified-badge { color: #147a57; border-color: #bce5d5; background: #ecfaf4; }
.member-stat-card,
.member-workspace-card,
.member-order-card,
.member-account-card,
.member-shortcuts-card,
.member-service-banner { color: #31323a; border-color: #ecddd5; background: linear-gradient(145deg,#fff,#fffdfb); box-shadow: var(--shadow-sm); }
.member-stat-card:hover,
.member-order-card:hover { border-color: #eda68b; box-shadow: 0 18px 40px rgba(111,55,31,.12); }
.member-stat-card strong,
.member-card-heading h2,
.member-order-number strong,
.member-order-meta strong { color: #302f36; }
.member-stat-icon,
.member-side-icon,
.member-shortcut-icon,
.member-empty-icon { color: #d84321; background: #fff0e8; }
.member-stat-waiting .member-stat-icon { color: #b56a0b; background: #fff4dc; }
.member-stat-completed .member-stat-icon { color: #147a57; background: #eaf8f1; }
.member-stat-favorites .member-stat-icon { color: #d84321; background: #fff0e8; }
.member-order-tabs { border-color: #ebddd6; background: #fff8f3; }
.member-order-tabs button { color: #82746d; }
.member-order-tabs button.active { color: #d84321; background: #fff0e8; }
.member-order-tabs button.active span { color: #fff; background: #e64623; }
.member-order-meta { background: #fff9f5; }
.member-dashboard-page .member-entry.active { color: #d84321; border-color: #eda68b; background: #fff0e8; }
.member-shortcut-grid > a { color: #514a47; border-color: #eee0d9; background: #fffaf7; }
.member-shortcut-grid > a:hover { color: #d84321; border-color: #eda68b; background: #fff2eb; }
.member-kind-badge { color: #c63e1f; background: #fff0e8; }
.member-dashboard-page .member-service-banner span { color: #9a6654; }
.member-dashboard-page .member-service-banner strong { color: #302f36; }
.member-dashboard-page .member-service-banner p { color: #756a66; }
.member-dashboard-page .member-service-banner > a {
  color: #e64623;
  border: 1px solid #f0d2c7;
  background: #fff4ee;
}
.member-dashboard-page .member-service-banner > a:hover {
  color: #c93419;
  border-color: #eda68b;
  background: #ffe9df;
}

/* Footer */
.site-footer {
  color: #c6b6ae;
  border-color: rgba(235,120,72,.18);
  background: radial-gradient(circle at 16% 0%,rgba(231,92,42,.13),transparent 34%),#2a1d19;
}
.site-footer .brand,
.footer-col h3 { color: #fff8f1; }
.footer-brand p,
.footer-col a { color: #bda9a0; }
.footer-col a:hover { color: #ffad78; }
.footer-bottom { color: #9e8880; border-color: rgba(255,183,140,.14); }

@media (max-width:820px) {
  .main-nav.mobile-open {
    color: #4c4542;
    border-color: #eeded5;
    background: linear-gradient(155deg,#fffdfa,#fff5ef);
    box-shadow: 0 24px 54px rgba(82,39,22,.18);
  }
  .main-nav.mobile-open a { color: #665b56; border: 1px solid transparent; background: transparent; }
  .main-nav.mobile-open a + a { border-top-color: #f1e3dc; }
  .main-nav.mobile-open a:hover,
  .main-nav.mobile-open a:focus-visible,
  .main-nav.mobile-open a.active { color: #d84321; border-color: #efb49e; background: #fff0e8; }
  .menu-button[aria-expanded="true"] { color: #d84321; border-color: #eea98e; background: #fff0e8; }
  .nav-scrim.is-visible { background: rgba(60,31,20,.46); }
  .quick-filter-popover,
  .digit-picker { background: #fffdfa; }
}

@media (prefers-reduced-motion:reduce) {
  .badge-colorful::after {
    background-position: 48% 50%;
    animation: none;
  }
  .number-card,
  .category-card,
  .button-primary,
  .auth-primary,
  .member-primary { transition: none !important; }
}

/* Agent cooperation, HTML sitemap and authenticated agent center */
.agent-cooperation-page main,
.sitemap-page main {
  color: #30323a;
  background:
    radial-gradient(circle at 88% 4%, rgba(255,128,63,.08), transparent 30rem),
    linear-gradient(180deg, #fffaf7, #fff6f0);
}
.agent-cooperation-page .agent-coop-hero,
.sitemap-page .inner-hero {
  border-color: #efddd3;
  background: radial-gradient(circle at 84% 20%, rgba(255,112,47,.13), transparent 30%), linear-gradient(145deg, #fffdfb, #fff1e8);
}
.agent-cooperation-page .page-section {
  border-color: #f0e1d9;
  background: transparent;
}
.agent-cooperation-page .agent-process-section {
  border-top: 1px solid #f0e1d9;
  background: rgba(255,245,239,.62);
}
.agent-cooperation-page h1,
.agent-cooperation-page h2,
.agent-cooperation-page h3,
.sitemap-page h1,
.sitemap-page h2 { color: #292c35; }
.agent-cooperation-page .agent-fee-card,
.agent-cooperation-page .agent-benefit-grid article,
.agent-cooperation-page .agent-process-list li,
.agent-cooperation-page .agent-permission-note,
.sitemap-page .sitemap-card {
  color: #31323a;
  border-color: #ecddd5;
  background: linear-gradient(145deg, #fff, #fffdfb);
  box-shadow: 0 14px 34px rgba(111,55,31,.08);
}
.agent-cooperation-page .agent-fee-card::after { background: #fff0e8; }
.agent-cooperation-page .agent-fee-card > p,
.agent-cooperation-page .agent-permission-note strong { color: #3a3432; }
.agent-cooperation-page .agent-benefit-grid article > span,
.agent-cooperation-page .agent-process-list li > span {
  color: #d84321;
  border-color: #eda68b;
  background: #fff0e8;
}
.agent-cooperation-page .agent-bottom-cta {
  color: #fff8f1;
  border: 1px solid rgba(235,120,72,.3);
  background: radial-gradient(circle at 86% 12%, rgba(255,157,94,.16), transparent 32%), linear-gradient(135deg, #3b241d, #2a1d19);
  box-shadow: 0 22px 52px rgba(111,55,31,.16);
}
.agent-cooperation-page .agent-bottom-cta h2 { color: #fff8f1; }
.agent-cooperation-page .agent-bottom-cta p { color: #d5c0b6; opacity: 1; }
.sitemap-page .page-section { border-color: #f0e1d9; background: rgba(255,249,245,.88); }
.sitemap-page .sitemap-links a { color: #5f5551; border-color: #ebdcd4; background: #fffaf7; }
.sitemap-page .sitemap-links a:hover,
.sitemap-page .sitemap-links a:focus-visible { color: #d84321; border-color: #eda68b; background: #fff0e8; }
.agent-center-page {
  color-scheme: light;
  --blue: #e94b25;
  --ink: #2d3039;
  --muted: #776a64;
  --line: #ecddd5;
  --surface: #fff;
  --bg: #fff8f3;
  --danger: #df3424;
  --success: #14855f;
  background:
    radial-gradient(circle at 90% 3%, rgba(255,128,63,.09), transparent 31rem),
    radial-gradient(circle at 8% 20%, rgba(255,190,105,.07), transparent 30rem),
    #fff8f3;
}
.agent-center-page .agent-header {
  border-color: rgba(207,140,107,.22);
  background: rgba(255,253,250,.95);
  box-shadow: 0 10px 34px rgba(91,45,24,.06);
}
.agent-center-page .agent-brand { color: #252a37; }
.agent-center-page .agent-brand > span {
  color: #fff;
  background: linear-gradient(145deg, #ff7935, #e94324);
  box-shadow: 0 10px 25px rgba(226,66,31,.22), inset 0 1px rgba(255,255,255,.32);
}
.agent-center-page .agent-header nav a { color: #675d58; }
.agent-center-page .agent-header nav a:hover { color: #d84321; }
.agent-center-page .agent-hero {
  color: #fffaf5;
  border: 1px solid rgba(230,80,38,.25);
  background: radial-gradient(circle at 84% 18%, rgba(255,195,122,.2), transparent 32%), linear-gradient(135deg, #e54a25, #b92d1c);
  box-shadow: 0 20px 48px rgba(146,49,24,.2);
}
.agent-center-page .agent-hero p,
.agent-center-page .agent-account small { color: #ffe2d2; }
.agent-center-page .agent-badge { color: #fff4de; border: 1px solid rgba(255,238,211,.28); background: rgba(255,255,255,.13); }
.agent-center-page .agent-card {
  color: #31323a;
  border-color: #ecddd5;
  background: linear-gradient(145deg, #fff, #fffdfb);
  box-shadow: 0 14px 34px rgba(111,55,31,.08);
}
.agent-center-page .agent-section-head span,
.agent-center-page .agent-link-button { color: #d84321; }
.agent-center-page .agent-search-form select,
.agent-center-page .agent-search-form input { color: #343238; border-color: #e9d9d1; background: #fff; }
.agent-center-page .agent-search-form button,
.agent-center-page .agent-result-actions button {
  color: #fff;
  background: linear-gradient(135deg, #ff6f2e, #e93b20);
  box-shadow: 0 10px 22px rgba(224,61,29,.18), inset 0 1px rgba(255,255,255,.24);
}
.agent-center-page .agent-feedback { color: #a94b17; border: 1px solid #efca91; background: #fff5df; }
.agent-center-page .agent-result { border-color: #edcfc1; background: #fff7f2; }
.agent-center-page .agent-result-actions a,
.agent-center-page .agent-order-action { color: #c63e1f; border-color: #edb49e; background: #fffaf7; }
.agent-center-page .agent-order-table th,
.agent-center-page .agent-order-table td,
.agent-center-page .agent-info-grid dl > div { border-color: #eee0d9; }
.agent-center-page .agent-order-status { color: #c63e1f; background: #fff0e8; }
.agent-center-page .agent-order-status.completed { color: #147a57; background: #eaf8f1; }
.agent-center-page .agent-order-status.cancelled,
.agent-center-page .agent-order-status.expired { color: #7d716b; background: #f6efeb; }
.agent-center-page .agent-info-grid p { color: #71645e; }
.agent-center-page .agent-search-form button:disabled,
.agent-center-page .agent-result-actions button:disabled {
  color: #a58e84;
  background: #eadfd9;
  box-shadow: none;
}
.agent-center-page a:focus-visible,
.agent-center-page button:focus-visible,
.agent-center-page input:focus-visible,
.agent-center-page select:focus-visible { outline-color: rgba(230,81,40,.52); }
