/* Shared surface system, adapted from WebMaster/style/home-material.css.
   Keep page layouts in their own stylesheets; navigation and materials live here. */
.material-site {
  --ink: #1f2d3b;
  --muted: #586a7b;
  --navy: #243b53;
  --blue: #2869bc;
  --gold: #efd5a0;
  --rule: #cbd3df;
  --radius: 6px;
  --sans: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --material-paper: linear-gradient(145deg, #fff, #fafbfc);
  --material-control: linear-gradient(180deg, #fff, #f0f4f8);
  --material-inset: linear-gradient(180deg, #edf1f5, #f8fafc);
  --material-selected: linear-gradient(180deg, #547895, #3e5b76 48%, #30495f);
  --material-dark: radial-gradient(ellipse at 82% 0%, #3a78934d, transparent 60%), radial-gradient(ellipse at 0% 100%, #16475180, transparent 70%), linear-gradient(120deg, #142534, #1c354b 65%, #152839);
  --material-gold: linear-gradient(110deg, #b9853e, #f3d696 45%, #d5a55c);
  --material-raised: inset 0 1px 0 #fff, 0 1px 2px #263b5b12, 0 4px 8px -4px #263b5b30;
  --material-panel: inset 0 1px 0 #ffffffb3, 0 2px 3px #263b5b09, 0 12px 22px -18px #263b5b38;
  --material-pressed: inset 0 1px 3px #24395126;
  background: radial-gradient(ellipse at 95% 0%, #ffffff59, transparent 55%), #edf1f5;
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
}
.material-site .frame { width: min(1140px, calc(100% - 48px)); }
.material-site :focus-visible { outline: 3px solid #6ca6e5; outline-offset: 3px; }
.material-site :is(button, a) { touch-action: manipulation; }
.material-site .skip-link { z-index: 110; }
.material-site .site-header {
  background: linear-gradient(180deg, #2b435b, #243b53);
  border-bottom: 1px solid #142739;
  box-shadow: inset 0 1px 0 #ffffff14, 0 3px 10px #10213b24;
}
.material-site .header-inner { min-height: 82px; gap: 24px; }
.material-site .brand { gap: 10px; flex-shrink: 0; }
.material-site .brand img { width: 36px; height: 36px; border-radius: 6px; box-shadow: 0 2px 4px #07131f55, inset 0 1px 0 #fff4; }
.material-site .brand-name { color: #edf2f7; font-size: 15px; letter-spacing: .02em; }
.material-site .site-nav {
  width: auto; flex-wrap: nowrap; gap: 4px; padding: 4px;
  background: linear-gradient(180deg, #172a3b, #20384b);
  border: 1px solid #172c3e; border-bottom-color: #7198b16b; border-radius: 10px;
  box-shadow: inset 0 3px 7px #07132080, 0 1px 0 #a1c7df1f;
}
.material-site .site-nav a { position: relative; padding: 8px 18px; border-radius: 6px; color: #c3d3e2; font-size: 13px; text-shadow: 0 1px 1px #0b1c2d80; }
.material-site .site-nav a:hover { background: #aacbe312; color: #fff; }
.material-site .site-nav a[aria-current="page"] {
  color: #fff; background: var(--material-selected);
  box-shadow: inset 0 1px 0 #b8e0ff99, inset 0 0 0 1px #8bb9d84d, 0 2px 4px #07131f66;
}
.material-site .site-nav a[aria-current="page"]::after { content: ''; position: absolute; bottom: 3px; left: 40%; right: 40%; height: 2px; border-radius: 2px; background: #eed6a6; }
.material-site :is(.hero, .catalog-hero, .analysis-hero) {
  background: var(--material-dark); border: 1px solid #a98753; border-radius: 8px;
  box-shadow: inset 0 1px 0 #ffffff26, 0 3px 6px #10213b12, 0 12px 24px -16px #10213b50;
  color: #f1f5f9;
}
.material-site :is(.hero h1 span, .catalog-hero h1 span, .analysis-hero h1 span) { color: #f5dfb4; }
.material-site :is(.hero-summary, .hero-description, .analysis-hero > div > p:last-child) { color: #c4d1df; }
.material-site :is(.hero-link, .primary-link, .analysis-bottom a, .plan-featured .plan-action) {
  background: var(--material-gold); border: 1px solid #ffe6a9; color: #392815;
  box-shadow: inset 0 1px 0 #fff3d1, 0 2px 5px #0c192b40; border-radius: 5px;
}
.material-site :is(.hero-link, .primary-link, .analysis-bottom a, .plan-featured .plan-action):hover { background: var(--material-gold); filter: brightness(1.05); transform: none; }
.material-site .hero-art { opacity: .35; filter: grayscale(.65); }
.material-site .hero h1 { font-size: clamp(32px, 4.6vw, 56px); }
.material-site .section h2 { font-size: 26px; letter-spacing: 0; }
.material-site .section { padding-block: 38px; }
.material-site .products { padding-bottom: 4px; }
.material-site :is(.product-card, .download-list > li, .contact-list > div, .policy-box, .consult-panel, .analysis-workspace, .match-card) {
  border: 1px solid var(--rule); border-radius: 6px; background: var(--material-paper); box-shadow: var(--material-panel);
}
.material-site .product-visual { height: 118px; background: linear-gradient(180deg, #ffffff14, #0000000d), var(--visual-start); box-shadow: inset 0 1px 0 #ffffff40; }
.material-site .product-sports { --visual-start: #2874a3; --accent: #2869bc; }
.material-site .product-model { --visual-start: #218467; --accent: #24775e; }
.material-site .product-assistant { --visual-start: #6350a1; --accent: #6350a1; }
.material-site .product-writing { --visual-start: #a27b42; --accent: #876322; }
.material-site :is(.app-download-link, .consult-panel button) { background: linear-gradient(180deg, #3b82f6, #2563eb); border: 1px solid #205eb7; box-shadow: inset 0 1px 0 #ffffff40, 0 2px 5px #243b5326; border-radius: 5px; }
.material-site .app-download-link:hover, .material-site .consult-panel button:hover { filter: brightness(1.05); }
.material-site .business-list > div { padding-inline: 18px; background: var(--material-paper); }
.material-site .business-list > div:first-child { border-radius: 6px 6px 0 0; }
.material-site .business-list > div:last-child { border-radius: 0 0 6px 6px; }
.material-site .company-content { padding: 8px 22px; background: var(--material-paper); border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--material-panel); }
.material-site .company-name { border-top: 0; }
.material-site .scope { border-bottom: 0; }
.material-site .site-footer { background: linear-gradient(180deg, #243b53, #192c3e); border-top: 1px solid #456078; }
.material-site .footer-inner { color: #c4d1df; font-size: 12px; }

/* Membership: paper cards and a brass-edged featured plan. */
.material-site .catalog-hero::after { opacity: .08; }
.material-site .catalog-hero .eyebrow { color: #c4ced8; }
.material-site .catalog-section { padding-block: 34px; }
.material-site .catalog-nav a { border-radius: 5px; }
.material-site .catalog-nav a:first-child { background: var(--material-control); border: 1px solid var(--rule); box-shadow: var(--material-raised); }
.material-site .product-ribbon { margin-top: 16px; border: 1px solid var(--rule); border-radius: 6px; background: var(--material-paper); box-shadow: var(--material-panel); }
.material-site :is(.product-monogram, .plan-icon) { border-radius: 6px; box-shadow: var(--material-raised); }
.material-site .plan { border-radius: 6px; border-color: var(--rule); background: var(--material-paper); box-shadow: var(--material-panel); }
.material-site .plan:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 8px 18px -10px #243b5360; }
.material-site .plan-featured { background: var(--material-dark); border-color: #a98753; box-shadow: inset 0 1px 0 #ffffff26, 0 8px 20px -12px #10213b55; }
.material-site .plan-featured:hover { box-shadow: inset 0 1px 0 #ffffff26, 0 8px 18px -10px #243b5360; }
.material-site .plan-action { background: var(--material-control); border-color: #bdcbd9; border-radius: 5px; box-shadow: var(--material-raised); }
.material-site .status-note { border-radius: 6px; background: #e4ecf4; border-color: #becddd; box-shadow: inset 0 1px 0 #fff8; }
.material-site .service-aside { border-radius: 6px; background: linear-gradient(145deg, #ffffff30, #00000003), #e5ede6; border-color: #bdcdbf; box-shadow: var(--material-panel); }
.material-site .consult-panel select { background: var(--material-inset); border-radius: 5px; box-shadow: var(--material-pressed); }
.material-site .section-kicker { color: #536a7b; }
.material-site .plan-tag, .material-site .plan-label, .material-site .plan-unit, .material-site .plan dt { color: #5a6d7c; }
.material-site .plan-featured :is(.plan-tag, .plan-label, .plan-unit, dt) { color: #bdcddd; }

/* Match analysis: recessed controls, a dark summary panel, raised data cells. */
.material-site .analysis-hero { margin: 28px 0 22px; padding: 32px; }
.material-site .analysis-hero h1 { font-size: clamp(27px, 3.3vw, 38px); }
.material-site .analysis-hero .eyebrow { color: #c3cfdb; }
.material-site .hero-aside { border-color: #ffffff26; }
.material-site .hero-aside p { color: #eed6a6; }
.material-site .hero-aside small { color: #bdcddd; }
.material-site .hero-mark { border-color: #b79864; color: #eed6a6; }
.material-site .hero-mark i { border-color: #1c354b; }
.material-site .sport-switch { border: 1px solid #bdcbd9; background: var(--material-inset); box-shadow: var(--material-pressed); border-radius: 7px; }
.material-site .sport-switch button { border-radius: 4px; color: #4f6376; }
.material-site .sport-switch button[aria-pressed="true"] { background: var(--material-selected); color: #fff; box-shadow: inset 0 1px 0 #ffffff50, 0 2px 4px #07131f33; }
.material-site :is(.date-inputs button, .refresh-button, .date-chip) { background: var(--material-control); border: 1px solid #c4cfdb; box-shadow: var(--material-raised); color: #425d73; border-radius: 5px; }
.material-site :is(.date-inputs input, .filters input, .filters select) { background: var(--material-inset); box-shadow: var(--material-pressed); border-color: #becbd8; border-radius: 5px; }
.material-site .date-chip[aria-pressed="true"] { background: linear-gradient(180deg, #e5ecf2, #d6e1ec); border-color: #8ea6bd; color: #243b53; box-shadow: var(--material-pressed); }
.material-site .summary-strip { background: var(--material-dark); border: 1px solid #a98753; border-radius: 6px; box-shadow: inset 0 1px 0 #ffffff26, 0 3px 6px #10213b12; }
.material-site .summary-strip strong { color: #f8e4ba; text-shadow: 0 1px 2px #0c192b66; }
.material-site .summary-strip span, .material-site .summary-strip p { color: #c4ced8; }
.material-site .match-meta { background: linear-gradient(180deg, #fff, #f0f4f8); border-bottom-color: #d7e0e9; }
.material-site .match-time, .material-site .league-tag { color: #576e80; }
.material-site :is(.market-caption, .probability-heading, .team small, .date-toolbar label span, .result-count) { color: #5f7385; }
.material-site .probability-cell { background: linear-gradient(180deg, #f1f7fb, #e2edf5); border: 1px solid #c3d5e3; box-shadow: inset 0 1px 0 #fff; color: #365e7e; border-radius: 5px; }
.material-site .probability-cell.draw { background: linear-gradient(180deg, #f3f7f2, #e5ede4); border-color: #cbd8c7; color: #4c6e59; }
.material-site .probability-cell.away { background: linear-gradient(180deg, #fcf8ef, #f1e7d5); border-color: #e1d2b8; color: #88642e; }
.material-site .probability-bar { box-shadow: var(--material-pressed); }
.material-site .analysis-bottom { background: var(--material-dark); border: 1px solid #a98753; border-radius: 6px; box-shadow: inset 0 1px 0 #ffffff26; }
.material-site :is(.method-section dd, .list-toolbar p, .market-caption, .match-meta, .probability-heading) { font-size: 12px; }
.material-site .eyebrow { font-size: 11px; }
.material-site button:not(:disabled):active, .material-site .plan-action:active { box-shadow: var(--material-pressed); transform: translateY(1px); }
@media (max-width: 900px) {
  .material-site .header-inner { flex-direction: column; align-items: center; padding-block: 14px 12px; gap: 12px; }
  .material-site .site-nav { justify-content: center; }
}
@media (max-width: 560px) {
  .material-site .frame { width: calc(100% - 28px); }
  .material-site .brand-name { font-size: 13px; }
  .material-site .brand img { width: 30px; height: 30px; }
  .material-site .site-nav { width: 100%; gap: 3px; }
  .material-site .site-nav a { flex: 1; text-align: center; padding: 8px 5px; font-size: 12px; }
  .material-site .analysis-hero { padding: 25px 20px; margin-top: 18px; }
  .material-site .analysis-hero h1 { font-size: 28px; }
  .material-site .section { padding-block: 28px; }
  .material-site .catalog-section { padding-block: 26px; }
  .material-site .product-ribbon { padding: 22px 12px; }
  .material-site .analysis-workspace { padding: 14px; }
  .material-site .company-content { padding-inline: 16px; }
  .material-site .date-inputs input { width: 140px; }
  .material-site .summary-strip { gap: 10px 22px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .material-site *, .material-site *::before, .material-site *::after { transition: none !important; scroll-behavior: auto !important; }
  .material-site .plan:hover { transform: none; }
}
