/* Shared typography: body text, supporting text, then headings and prices. */
:root {
  --s360-readable-floor: 14px;
  --s360-muted: #526579;
  --muted: #526579;
}
html { -webkit-text-size-adjust: 100%; }
body { font-size: 17px; line-height: 1.8; }
:where(main, .s360-site-footer, .site-footer) p { line-height: 1.85; }
:where(main, .s360-site-footer, .site-footer) :is(h1,h2,h3) { text-wrap: pretty; }
:where(main) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) { font-size: max(1rem, 16px); }
:where(main) :is(button, .s360-button, .s360-dc-button) { min-height: 44px; }
:where(main) :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #1689cc; outline-offset: 3px; }
.s360-article-content { font-size: 1.0625rem; line-height: 1.95; }
.s360-article-content p { margin-bottom: 1.4em; }
.s360-article-content :is(h2,h3) { line-height: 1.5; }
.s360-home-rank-card strong { white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
.s360-home-rank-row { grid-template-columns: 28px 58px minmax(0,1fr); gap: 8px 12px; padding: 14px; }
.s360-home-rank-image { width: 58px; height: 80px; grid-row: span 2; }
.s360-home-rank-number { grid-row: span 2; }
.s360-home-rank-price { grid-column: 3; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; text-align: left; }
.s360-home-rank-price strong { font-size: 1.15rem; }
.s360-home-rank-card small { color: #526579; }
.s360-home-direction-grid { grid-template-columns: 1fr; }
.s360-home-direction + .s360-home-direction { border-left: 0; border-top: 1px solid #d9e5ef; }
.s360-home-game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.s360-home-rank-empty { min-height: 110px; }
.s360-home-section-head { flex-wrap: wrap; gap: 12px; }
.s360-home-section-head > a { margin-top: 0; align-self: auto; }
.s360-home-quick-grid { gap: 16px; }
.s360-home-hub-links { gap: 10px; }
.s360-home-hub-links a { padding: 12px; }
.s360-home-section-head p { color: #465f74; }
.s360-home-market-copy .s360-home-hero-text { color: #d2e5f3; }
.s360-footer-main { grid-template-columns: 1fr; gap: 28px; }
.s360-footer-intro p { max-width: 780px; }
.s360-footer-links { gap: 18px; }
.s360-footer-group a { min-height: 44px; padding-block: 11px; line-height: 1.55; }
.s360-footer-actions a { padding: 12px 18px; }
.s360-footer-bottom small { font-size: 14px; }
.s360-card-centering-cta :is(p,a) { font-size: max(var(--s360-readable-floor), .875rem); }
.s360-buylist-intro p, .s360-buylist-panel :is(p,small,label),
.s360-buylist-page-summary, .s360-buylist-page-tab small,
.s360-buylist-layout-hint, .s360-buylist-preview-note,
.s360-buylist-preview-toolbar span { font-size: max(var(--s360-readable-floor), .875rem); line-height: 1.75; }
.s360-search-card :is(strong,h2,h3) { line-height: 1.55; }
.s360-search-card-tags { flex-wrap: wrap; }
.s360-chart-period { min-height: 44px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; }
.s360-dc-shell :is(p,label small) { line-height: 1.8; }
.s360-dc-lp-section-head p { font-size: 1rem; }
.s360-dc-feature-list li { padding-left: 24px; }
.s360-dc-page-nav a { min-height: 44px; }
.s360-dc-lp-dashboard { transform: none; }
.s360-dc-shell svg { --s360-readable-floor: 14px; }
.s360-dc-shell .s360-dc-lp-checks { flex-wrap: wrap; }
.s360-dc-lp-preview-card.is-wide { grid-template-columns: 1fr; }
.s360-dc-lp-table>div,.s360-dc-lp-table>p { grid-template-columns: minmax(0,1fr) 76px 66px; }
.s360-dc-lp-team-sample>div { grid-template-columns: 25px minmax(0,1fr) auto minmax(0,1fr) auto; }
.article-meta, .event-deck-card__foot, .data-note { flex-wrap: wrap; }
.event-db-hero__winner { width: fit-content; max-width: 100%; }
.event-deck-card__head { min-height: 80px; }
.event-deck-card__head strong { font-size: 1.125rem; }
.section-lead, .event-intro { font-size: 1rem; line-height: 1.9; }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.table-scroll :is(th,td) { padding: 14px 12px; line-height: 1.6; }
.breadcrumb { white-space: normal; flex-wrap: wrap; }
@media (max-width: 1100px) {
  .s360-home-game-grid { grid-template-columns: 1fr; }
  .s360-home-direction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s360-home-direction + .s360-home-direction { border-top: 0; border-left: 1px solid #d9e5ef; }
}
@media (max-width: 700px) {
  :root { --s360-readable-floor: 16px; }
  body { font-size: 16px; line-height: 1.8; }
  .s360-site-main { padding-top: 24px; }
  .s360-container, .site-container { width: calc(100% - 32px); }
  .s360-home-direction-grid, .s360-footer-links { grid-template-columns: 1fr; }
  .s360-home-direction + .s360-home-direction { border-top: 1px solid #d9e5ef; border-left: 0; }
  .s360-home-game-head { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .s360-home-direction { padding: 16px 12px; }
  .s360-home-rank-row { padding: 12px 8px; grid-template-columns: 24px 54px minmax(0,1fr); gap: 8px; }
  .s360-home-rank-image { width: 54px; height: 75px; }
  .s360-home-rank-card small { --s360-readable-floor: 14px; }
  .s360-home-section-head > a { margin: 0; align-self: flex-start; }
  .s360-home-market-copy { padding: 28px 22px; }
  .s360-home-market-copy h1 { font-size: clamp(2rem,7.8vw,2.65rem); line-height: 1.4; }
  .s360-home-hero-text { font-size: 1rem; line-height: 1.9; }
  .s360-home-quick-grid { grid-template-columns: 1fr; }
  .s360-home-hub-links { flex-wrap: wrap; }
  .s360-mobile-bottom { padding-bottom: env(safe-area-inset-bottom); }
  .s360-mobile-bottom a { --s360-readable-floor: 14px; min-height: 56px; display: flex; align-items: center; justify-content: center; line-height: 1.35; padding: 8px 4px; }
  .s360-site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .s360-footer-group { padding: 20px; }
  .s360-site-footer .s360-footer-group>strong { font-size: 1.125rem; }
  .s360-footer-intro p { font-size: 1rem; color: #d0e0ed; }
  .s360-footer-group a { font-size: 1rem; }
  .s360-footer-bottom { --s360-readable-floor: 14px; }
  .s360-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .s360-stat--buyback { grid-column: 1/-1; }
  .s360-stat { padding: 16px 10px; }
  .s360-chart-head { grid-template-columns: 1fr; gap: 16px; }
  .s360-chart-title { font-size: 1.2rem; }
  .s360-chart-axis-label { --s360-readable-floor: 12px; }
  .s360-dc-lp-hero h1 { font-size: 2rem; line-height: 1.4; }
  .s360-dc-lp-hero { padding: 26px 20px; }
  .s360-dc-lp-hero-copy>p { font-size: 1rem; }
  .s360-dc-panel { padding: 24px 18px; }
  .s360-dc-lp-preview-chart, .s360-dc-lp-preview-grid { grid-template-columns: 1fr; }
  .s360-dc-lp-team-sample>div { grid-template-columns: 24px minmax(0,1fr) auto; }
  .s360-dc-landing-grid { gap: 22px; }
  .s360-dc-kicker, .s360-dc-lp-section-head>span { --s360-readable-floor: 14px; letter-spacing: .08em; overflow-wrap: anywhere; }
  .s360-dc-lp-faq summary { line-height: 1.7; }
  .event-db-hero { padding: 28px 20px; }
  .event-db-hero h2 { font-size: 1.9rem; line-height: 1.45; }
  .event-db-hero__winner { padding: 14px; }
  .event-deck-card__foot { align-items: flex-start; flex-direction: column; }
  .event-deck-card__foot code { white-space: normal; overflow-wrap: anywhere; }
  .result-tools { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .result-tools input, .result-tools button { min-height: 48px; }
  .fact-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .data-note { gap: 8px; }
  .article-header h1 { font-size: 1.65rem; line-height: 1.6; }
  .s360-article { padding: 24px 18px; }
  .s360-article-content { font-size: 1rem; }
  .s360-dc-lp-related a { overflow-wrap: anywhere; }
  .type-card { min-width: 0; flex-wrap: wrap; height: auto; min-height: 68px; padding: 12px; gap: 8px; }
  .type-card strong { white-space: normal; }
  .type-card small { white-space: normal; overflow-wrap: anywhere; }
  .s360-box-rank { grid-template-columns: 28px 72px minmax(0,1fr); padding: 16px 12px; gap: 12px; }
  .s360-rank-price { grid-column: 2 / -1; min-width: 0; width: 100%; white-space: normal; grid-row: 2; }
  .s360-rank-image-wrap { grid-row: 1; }
  .s360-rank-price .s360-rank-buyback { display: flex; flex-wrap: wrap; gap: 4px 10px; width: 100%; white-space: normal; }
  .s360-rank-number { width: 28px; --s360-readable-floor: 14px; }
  .s360-chart-periods { flex-wrap: wrap; overflow: visible; }
  .s360-condition-tabs { flex-wrap: wrap; }
  .s360-condition-box .s360-condition-list { flex-wrap: wrap; overflow: visible; }
  .s360-condition-tab { min-height: 44px; }
  .s360-calendar-filters { flex-wrap: wrap; overflow: visible; }
  .s360-calendar-filter { min-height: 44px; }
  .s360-home-market-hero { grid-template-columns: minmax(0,1fr); }
  .s360-home-market-copy { min-width: 0; }
  .s360-home-market-search { min-width: 0; max-width: 100%; }
  .s360-home-market-search input { width: 100%; min-width: 0; }
  .s360-rank-number::before { display: none; }
  .s360-related-info { min-width: 0; overflow-wrap: anywhere; }
  .s360-related-card:has(.s360-related-info) { grid-template-columns: 52px minmax(0,1fr); width: 100%; min-width: 0; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
