body:is([data-page="results"], [data-page="official-results"]) { background: #f3fbff; }
body:is([data-page="results"], [data-page="official-results"]) .inner-page { padding-top: 0; }
.draw-center-page { --draw-ink: #053b49; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; color: var(--draw-ink); }
.draw-center-page > * { min-width: 0; }
.draw-reference-art { display: block; width: 100%; height: 100%; overflow: hidden; }
.draw-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 156px; padding: 8px 16px 35px; color: white; background: radial-gradient(ellipse at 95% 115%, #27e3bd, transparent 61%), linear-gradient(125deg, #005563, #087f8a 54%, #00b6af); }
.draw-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(145deg, transparent 29%, #ffffff0d 29% 45%, transparent 45%); }
.draw-hero-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 12px; }
.draw-hero-brand { display: inline-flex; align-items: center; min-height: 40px; }
.draw-hero-brand img { display: block; width: 112px; height: auto; }
.draw-hero-messages { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
.draw-hero-messages .icon { width: 22px; height: 22px; }
.draw-hero-messages i { position: absolute; top: 4px; right: 3px; width: 7px; height: 7px; background: #ff303d; border-radius: 50%; }
.draw-hero :focus-visible { outline-color: #bafbdf; }
.draw-hero-copy { position: relative; z-index: 1; width: 56%; margin-top: 9px; }
.draw-hero-copy h1 { position: relative; width: max-content; max-width: 100%; font-size: var(--type-page); line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.draw-hero-copy h1::after { content: ""; position: absolute; z-index: -1; inset: auto 0 -3px; height: 5px; border-radius: 80% 20% 65% 20%; background: #a6df00; transform: rotate(-1.5deg); }
.draw-hero-copy p { margin-top: 10px; font-size: var(--type-label); line-height: 1.45; color: #e5fffa; }
.draw-hero-art { position: absolute; z-index: 0; right: 4%; bottom: 22px; width: min(46%, 186px); height: 110px; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 13% 88%, transparent), linear-gradient(0deg, transparent, #000 9% 94%, transparent); mask-composite: intersect; }
.draw-center-page .draw-source-tabs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: -29px 0 0; padding: 4px; border: 1px solid white; border-radius: var(--card-radius); background: #ffffffed; box-shadow: 0 5px 14px #007f921a; }
.draw-center-page .draw-source-tabs a { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 44px; padding: 6px 5px; border: 0; border-radius: 12px; font-size: var(--type-label); line-height: 1.3; white-space: normal; text-align: center; text-wrap: balance; overflow-wrap: anywhere; color: #064e5c; background: transparent; }
.draw-center-page .draw-source-tabs a .icon { width: 19px; height: 19px; }
.draw-center-page .draw-source-tabs a[aria-current="page"] { color: white; background: linear-gradient(115deg, #00bdb5, #007f8f); box-shadow: 0 3px 10px #009b9c26; }
.draw-center-page .results-filters { border: 0; padding: 0; margin: 0; border-radius: 0; background: transparent; }
.draw-center-page .results-filters .filter-row { display: flex; flex-wrap: nowrap; gap: 7px; padding: 4px 0; overflow-x: auto; scrollbar-width: none; }
.draw-center-page .results-filters button { flex: 0 0 auto; min-height: 36px; padding: 7px 12px; border: 0; border-radius: 24px; background: #e6f3f8; color: #104a5a; font-size: var(--type-label); font-weight: 700; }
.draw-center-page .results-filters button[aria-pressed="true"] { background: linear-gradient(120deg, #009e9f, #006979); color: white; box-shadow: 0 3px 10px #00878e20; }
.draw-updates-banner { position: relative; isolation: isolate; display: block; overflow: hidden; min-height: 72px; border-radius: var(--card-radius); color: white; background: linear-gradient(115deg, #258ba3, #105d95 55%, #0577cd); box-shadow: 0 4px 12px #13729d12; }
.draw-updates-copy { position: relative; z-index: 1; display: grid; align-content: center; gap: 4px; width: 71%; min-height: inherit; padding: 10px 14px; }
.draw-updates-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: var(--type-section); font-weight: 800; line-height: 1.25; }
.draw-update-status { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 20px; color: white; background: #fc2a3b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.draw-update-status .icon { width: 11px; height: 11px; stroke-width: 2.5; }
.draw-updates-caption { display: flex; align-items: center; gap: 2px; font-size: 12px; line-height: 1.5; }
.draw-updates-caption .icon { width: 15px; height: 15px; }
.draw-updates-art { position: absolute; right: 2px; top: 6%; width: min(36%, 168px); height: 88%; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 17% 87%, transparent); }
.draw-center-page .results-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 34px; margin: 0 0 9px; }
.draw-center-page .results-heading h2 { font-size: var(--type-section); font-weight: 750; }
.draw-center-page .results-heading h2::before { width: 3px; height: 16px; background: #02c7b7; }
.draw-heading-links { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 12px; }
.draw-verify-link { display: inline-flex; gap: 4px; align-items: center; min-height: 40px; color: #355c64; font-size: .8125rem; font-weight: 650; }
.draw-verify-link .icon { width: 15px; height: 15px; }
.draw-heading-links .draw-all-history { min-height: 40px; }
.draw-all-history { display: inline-flex; align-items: center; gap: 1px; min-height: 32px; color: #00818b; font-size: 13px; font-weight: 800; }
.draw-all-history .icon { width: 16px; height: 16px; }
.draw-variant-row:empty { display: none; }
.draw-variant-row:not(:empty) { margin: 0 0 12px; }
.draw-variant-row select { width: 100%; min-height: 40px; font-size: 14px; }
.draw-center-page .results-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.draw-center-page .draw-result-card { position: relative; isolation: isolate; display: block; container-type: inline-size; overflow: hidden; width: 100%; min-width: 0; min-height: 0; padding: 0; border: 1px solid #edf5f7; border-radius: var(--card-radius); background: white; box-shadow: 0 4px 12px #1e7aa310; }
.draw-result-card::after { content: ""; position: absolute; z-index: -1; right: -12px; bottom: -46px; width: 135px; height: 60px; border-radius: 50%; background: #ddfaf6; }
.draw-result-card[data-result-family="k3"]::after { background: #f4e7ff; }
.draw-result-card[data-result-family="dart"]::after { background: #e2f4ff; }
.draw-center-page .draw-result-card:hover { border-color: #88ddd5; box-shadow: 0 5px 18px #008b9b20; }
.draw-card-layout { display: grid; grid-template-columns: 44px minmax(0, 1fr) 94px; align-items: center; gap: 9px; min-width: 0; padding: 10px; }
.draw-card-layout > * { min-width: 0; }
.draw-card-icon { display: block; align-self: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.draw-card-icon > .hall-game-icon { width: 100%; height: 100%; border-radius: inherit; }
.draw-card-main { display: grid; gap: 7px; }
.draw-card-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 6px; min-width: 0; }
.draw-card-heading > strong { font-size: var(--type-card); font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.draw-center-page .draw-card-heading .result-issue { flex: 0 1 auto; min-width: 0; max-width: 100%; padding: 3px 7px; border-radius: 12px; background: #e8f3f8; color: #164c61; font-size: 11px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
.draw-card-numbers { display: block; min-width: 0; }
.draw-card-numbers .result-balls, .draw-card-numbers .result-balls-long, .draw-card-numbers .result-zones { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; }
.draw-card-numbers .result-zone, .draw-card-numbers .result-zone .result-balls { display: contents; }
.draw-card-numbers .result-zone-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.draw-card-numbers .result-zone-extra { padding: 0; border: 0; }
.draw-card-numbers .result-zone-extra::before { content: "+"; display: inline-grid; place-items: center; width: 12px; height: 26px; color: #62818c; font-weight: 700; }
.draw-center-page .draw-card-numbers .result-ball { display: inline-grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; aspect-ratio: 1; border: 0; border-radius: 50%; background: linear-gradient(135deg, #b0fbec, #74eedc); color: #003846; font-size: 15px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.draw-center-page .draw-card-numbers .result-zone-extra .result-ball { background: #d2f946; color: #225300; }
.draw-card-side { display: grid; align-content: center; justify-items: end; gap: 9px; }
.draw-card-time { max-width: 100%; color: #376a80; font-size: 11px; line-height: 1.4; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.draw-card-stat { display: grid; grid-template-columns: minmax(0, 1fr) 26px 15px; align-items: center; gap: 4px; width: 100%; min-height: 33px; padding: 4px 5px 4px 8px; border-radius: 22px; background: linear-gradient(90deg, #f0fbfc, #defaf6); font-size: 12px; font-weight: 800; text-align: center; }
.draw-card-stat b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #8bf0d8; color: #003e43; font-size: 14px; font-variant-numeric: tabular-nums; }
.draw-card-stat .icon { width: 15px; height: 19px; stroke-width: 2.5; }
.draw-card-stat:not(:has(b)) { display: inline-flex; justify-content: center; }
.draw-card-waiting { color: #60838b; font-size: 13px; }
.draw-center-page .official-results-toolbar { margin: 0; gap: 10px; }
.draw-center-page .official-game-links a { border: 0; border-radius: 22px; background: #e6f3f8; color: #15576b; }
.draw-center-page .official-game-links a[aria-current] { background: #008e94; color: white; }
.draw-center-page .official-draw-card { border-color: #e4f0f6; border-radius: 20px; box-shadow: 0 5px 16px #1e7aa312; }
.draw-center-page .official-draw-card .result-number-field { background: #f1fbfa; }

@container (max-width: 320px) {
  .draw-card-layout { grid-template-columns: 40px minmax(0, 1fr); column-gap: 9px; row-gap: 6px; }
  .draw-card-icon { grid-column: 1; grid-row: 1 / 4; }
  .draw-card-main, .draw-card-side { display: contents; }
  .draw-card-heading { grid-column: 2; grid-row: 1; }
  .draw-card-heading > strong { font-size: 15px; }
  .draw-card-numbers { grid-column: 2; grid-row: 2; }
  .draw-card-numbers .result-balls, .draw-card-numbers .result-zones { gap: 3px; }
  .draw-center-page .draw-card-numbers .result-ball { width: 22px; height: 22px; font-size: 14px; }
  .draw-card-time { grid-column: 2; grid-row: 3; align-self: center; justify-self: start; max-width: calc(100% - 102px); text-align: left; }
  .draw-card-stat { grid-column: 2; grid-row: 3; justify-self: end; width: 96px; }
}
@container (min-width: 321px) and (max-width: 380px) {
  .draw-card-numbers .result-balls, .draw-card-numbers .result-zones { gap: 3px; }
}
@container (min-width: 520px) {
  .draw-card-layout { grid-template-columns: 50px minmax(0, 1fr) 108px; gap: 12px; padding: 12px; }
  .draw-card-heading > strong { font-size: 16px; }
  .draw-center-page .draw-card-heading .result-issue { font-size: 12px; }
  .draw-center-page .draw-card-numbers .result-ball { width: 26px; height: 26px; font-size: 16px; }
  .draw-card-time { font-size: 13px; }
}
@media (max-width: 1023px) {
  .draw-hero { width: calc(100% + 2 * var(--mobile-gutter)); margin-inline: calc(-1 * var(--mobile-gutter)); padding-top: calc(8px + var(--mobile-safe-top)); }
  body:is([data-page="results"], [data-page="official-results"]) .container { width: 100%; margin-top: 0; padding-bottom: 25px; }
  .draw-center-page { padding-inline: var(--mobile-gutter); }
}
@media (min-width: 700px) {
  .draw-center-page { gap: 14px; }
  .draw-hero { min-height: 172px; padding: 14px 24px 38px; border-radius: var(--card-radius); }
  .draw-hero-art { right: 6%; width: min(44%, 218px); height: 134px; }
  .draw-center-page .draw-source-tabs { margin-inline: 12px; margin-top: -33px; }
  .draw-updates-banner { min-height: 84px; }
  .draw-updates-copy { padding-inline: 20px; }
}
@media (min-width: 1024px) {
  .draw-center-page { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 16px; }
  .draw-hero-top { display: none; }
  .draw-hero { grid-column: 1 / 9; grid-row: 1; display: flex; align-items: center; min-height: 160px; padding: 26px 32px; }
  .draw-hero-copy { margin-top: 0; }
  .draw-hero-copy h1 { font-size: clamp(2rem, 3vw, 2.75rem); }
  .draw-hero-copy p { margin-top: 14px; font-size: 1rem; }
  .draw-hero-art { bottom: 5%; right: 3%; width: 38%; height: 90%; }
  .draw-updates-banner { grid-column: 9 / -1; grid-row: 1; min-height: 160px; }
  .draw-updates-copy { width: 70%; height: 100%; padding: 20px; }
  .draw-updates-art { right: 0; top: 0; height: 100%; }
  .draw-center-page .draw-source-tabs { grid-column: 1 / 5; grid-row: 2; align-self: start; margin: 0; border-color: #d8e6e6; box-shadow: none; }
  .draw-center-page .draw-source-tabs a { padding-inline: 9px; font-size: .875rem; }
  .draw-center-page .results-filters, .draw-center-page .official-results-toolbar { grid-row: 2; grid-column: 5 / -1; align-self: center; }
  .draw-center-page .results-filters .filter-row { flex-wrap: wrap; gap: 6px; overflow: visible; }
  .draw-center-page .results-filters button { min-height: 34px; padding-inline: 12px; font-size: .8125rem; }
  .draw-center-page > section, .draw-center-page > [data-official-draw-panel] { grid-column: 1 / -1; }
  .draw-center-page .draw-result-card { border-color: #d8e6e6; }
  .draw-center-page .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .draw-center-page .official-draw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* A focused detail view with its own header and no bottom navigation. */
body[data-page="result"] { --ink: #101e43; --bg: #f6f9fb; background: #f6f9fb; }
body[data-page="result"] .bottom-nav, body[data-page="result"] .masthead { display: none; }
body[data-page="result"] .container { max-width: 1040px; margin-top: 0; padding-bottom: 22px; }
body[data-page="result"] .inner-page { max-width: none; padding-top: 0; }
.result-detail-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; color: #101e43; }
.result-detail-page > * { min-width: 0; }
.result-topbar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; min-height: 58px; }
.result-topbar h1 { font-size: clamp(1.25rem, 4vw, 1.625rem); line-height: 1.3; font-weight: 800; text-align: center; }
.result-topbar .page-back { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #101e43; border-radius: 12px; }
.result-topbar .page-back .icon { width: 27px; height: 27px; }
.result-topbar .icon-button { width: 44px; height: 44px; color: #101e43; }
.result-topbar .icon-button .icon { width: 26px; height: 26px; }
.detail-paper, .detail-game-strip { border: 1px solid #f3f7f9; border-radius: var(--card-radius); background: white; box-shadow: 0 5px 16px #294a6310; }
.detail-paper { padding: clamp(12px, 3.5vw, 20px); }
.result-detail-page h2 { display: flex; align-items: center; gap: 8px; font-size: var(--type-section); line-height: 1.35; font-weight: 750; }
.result-detail-page h2::before { content: ""; flex: 0 0 5px; align-self: stretch; min-height: 23px; border-radius: 5px; background: linear-gradient(#00e2c5, #00a5b5); }
.detail-game-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 65px; padding: 10px 13px; }
.detail-game-emblem { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; color: white; background: linear-gradient(145deg, #00e5cf, #00a6bb); }
.detail-game-emblem .hall-game-icon { width: 38px; height: 38px; border-radius: inherit; }
.detail-game-emblem .detail-bolt { width: 26px; height: 26px; fill: currentColor; }
.detail-game-strip > strong { font-size: 16px; font-weight: 850; }
.detail-game-meta { min-width: 0; padding-left: 12px; border-left: 1px solid #a8b7c5; color: #5d697a; font-size: 13px; overflow-wrap: anywhere; }
.detail-outcome-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 13px; }
.detail-issue-pill { min-width: 92px; padding: 4px 12px; border-radius: 22px; color: #10294b; background: #d0fbf5; font-size: 14px; font-variant-numeric: tabular-nums; }
.detail-draw-time { color: #667385; font-size: 13px; font-variant-numeric: tabular-nums; }
.detail-outcome-balls { padding: 14px 0 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.detail-ball-group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.detail-glossy-ball { --ball-main: #00d7c7; --ball-light: #6ffff0; --ball-dark: #009f9e; position: relative; isolation: isolate; display: inline-grid; place-items: center; flex: 0 0 auto; width: clamp(32px, 10vw, 50px); height: auto; aspect-ratio: 1; border-radius: 50%; color: #091e3c; font-size: clamp(19px, 5.5vw, 28px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; background: radial-gradient(circle at 31% 24%, #ecfffb 0, var(--ball-light) 13%, transparent 33%), radial-gradient(circle at 53% 40%, var(--ball-light), var(--ball-main) 65%, var(--ball-dark)); box-shadow: inset -3px -5px 8px #00796e21, 0 8px 7px -6px #007c6470; }
.detail-glossy-ball::before { content: ""; position: absolute; z-index: -1; left: 16%; top: 16%; width: 16%; height: 9%; border-radius: 50%; background: #ffffffa6; transform: rotate(-40deg); }
.detail-glossy-ball[data-ball-tone="mint"] { --ball-main: #30e0b1; --ball-light: #a1f9ce; --ball-dark: #14b88b; }
.detail-glossy-ball[data-ball-tone="lime"] { --ball-main: #a6e719; --ball-light: #dfff85; --ball-dark: #73bc05; }
.detail-ball-group-extra::before { content: "+"; font-size: 18px; font-weight: 800; color: #62758a; }
.detail-outcome-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.detail-stat-pills { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.detail-stat-pills > span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 36px; padding: 6px 12px; border-radius: 24px; background: #d5faf4; color: #10294b; font-size: 15px; font-weight: 750; white-space: nowrap; }
.detail-stat-pills b { font-variant-numeric: tabular-nums; }
.detail-bet-link { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 37px; padding: 7px 16px; border-radius: 23px; background: linear-gradient(150deg, #243f78, #0d1d40); color: white; font-size: 15px; font-weight: 800; }
.detail-bet-link .icon { width: 17px; height: 17px; }
.detail-query-fields { display: grid; grid-template-columns: minmax(115px, .9fr) minmax(0, 1.4fr); gap: 12px; align-items: start; margin-top: 13px; }
.detail-query .form-label { display: grid; gap: 6px; color: #5c697b; font-size: 13px; }
.detail-query .page-field { min-height: 43px; padding: 9px 10px; border-color: #d8e4ec; border-radius: 12px; color: #172b4a; background-color: #fafdff; font-size: 14px; }
.detail-query .detail-search { gap: 6px; }
.detail-query .detail-search button { min-height: 43px; margin-top: 25px; padding: 9px 13px; border: 0; border-radius: 12px; color: white; background: #00aba9; font-size: 14px; }
.detail-query .form-error { font-size: 13px; }
.detail-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 13px; }
.detail-history-actions { display: flex; align-items: center; gap: 10px; color: #617083; font-size: 13px; }
.detail-history-actions > * { min-height: 32px; display: inline-flex; align-items: center; gap: 2px; }
.detail-history-actions .icon { width: 15px; height: 15px; }
.detail-history-row { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 8px; min-height: 49px; padding: 9px 0; border-radius: 0; border-color: #e0e8ef; }
.detail-history-row[aria-current] { background: #f0fcf9; border-radius: 8px; border-bottom-color: #9ce8dd; }
.detail-history-period { display: grid; gap: 3px; min-width: 0; }
.detail-history-period > strong { font-size: 12px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.detail-history-period .detail-draw-time { font-size: 11px; line-height: 1.2; }
.detail-history-balls { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; min-width: 0; }
.detail-history-balls .detail-ball-group { gap: 3px; }
.detail-history-balls .detail-glossy-ball { width: 20px; font-size: 13px; box-shadow: inset -1px -2px 3px #00796e21, 0 3px 3px -2px #007c6460; }
.detail-history-balls .detail-ball-group-extra::before { font-size: 12px; }
.detail-history-row .detail-stat-pills { justify-content: flex-end; gap: 4px; }
.detail-history-row .detail-stat-pills > span { min-width: 22px; gap: 1px; padding: 4px 5px; font-size: 11px; }
.result-detail-page .page-pagination { gap: 9px; margin-top: 13px; font-size: 12px; }
.result-detail-page .page-pagination .button { min-height: 36px; padding: 6px 12px; border-color: #d7e7ec; color: #456173; border-radius: 11px; font-size: 13px; }
.detail-empty { padding: 22px 0 10px; color: #63738a; font-size: 14px; }
.detail-expand-trend { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 6px 10px; border-radius: 18px; background: #e4faf7; color: #008884; font-size: 13px; font-weight: 700; }
.detail-expand-trend .icon { width: 16px; height: 16px; }
.detail-trend-tabs { display: flex; align-items: stretch; gap: 3px; padding: 3px; border: 1px solid #e4edf3; border-radius: 24px; background: #f0f7fa; }
.detail-trend-tabs button { flex: 1; min-width: 0; min-height: 37px; padding: 6px 4px; border-radius: 22px; font-size: 14px; font-weight: 750; }
.detail-trend-tabs button[aria-pressed="true"] { color: white; background: linear-gradient(120deg, #00d6bc, #00a4b2); box-shadow: 0 2px 6px #009d9b20; }
.detail-trend-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.trend-control-label { display: flex; align-items: center; gap: 5px; color: #64768a; font-size: 12px; }
.trend-control-label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trend-control-label .page-field { width: auto; max-width: 175px; min-height: 36px; padding: 6px 28px 6px 8px; border-color: #dce8ee; border-radius: 10px; font-size: 13px; }
.detail-trend-zoom { display: inline-flex; align-items: center; margin-left: auto; border: 1px solid #dce8ee; border-radius: 10px; background: #fafdff; }
.detail-trend-zoom button { min-width: 33px; min-height: 35px; padding: 4px 7px; color: #17636f; font-size: 18px; }
.detail-trend-zoom button[data-trend-zoom="reset"] { min-width: 52px; border-inline: 1px solid #e4edf2; font-size: 12px; font-variant-numeric: tabular-nums; }
.detail-trend-caption { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0; color: #6b7c8c; font-size: 12px; line-height: 1.6; }
.detail-trend-caption > span { flex: 1; min-width: 120px; }
.trend-omission-toggle { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; color: #4c7380; white-space: nowrap; cursor: pointer; }
.trend-omission-toggle input { width: 16px; height: 16px; margin: 0; accent-color: #00a9a2; }
.detail-trend-viewer { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.trend-analysis-tabs { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid #e1ecef; }
.trend-analysis-tabs > button { min-height: 34px; padding: 6px 10px; border-radius: 9px; color: #587282; font-size: 13px; font-weight: 750; }
.trend-analysis-tabs button[aria-pressed="true"] { color: #007e79; background: #e0f8f3; }
.trend-analysis-tabs > span { margin-left: auto; color: #708994; font-size: 12px; white-space: nowrap; }
.trend-chart-panel { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
.trend-statistics-panel { display: var(--trend-stats-display, flex); flex: 1; flex-direction: column; grid-template-columns: minmax(185px, .8fr) minmax(0, 2fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "summary table" "note table"; gap: 10px; min-width: 0; min-height: 0; }
.trend-thermal-summary { grid-area: summary; display: grid; flex-shrink: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; gap: 8px; width: 100%; }
.trend-thermal-card { min-width: 0; padding: 8px; border: 1px solid #f6ded0; border-radius: 12px; color: #a74a25; background: #fff8f1; }
.trend-thermal-card[data-temperature="cold"] { color: #2b709d; border-color: #d4e9f5; background: #f2f9ff; }
.trend-thermal-card > span { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px; font-size: 13px; font-weight: 750; }
.trend-thermal-card > span b { font-size: 11px; font-weight: 600; }
.trend-thermal-card > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.trend-number-link { display: inline-grid; place-items: center; min-width: 32px; min-height: 32px; padding: 0 4px; border-radius: 50%; background: #e7f7f3; color: #216567; font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
[data-temperature="hot"] .trend-number-link { color: #973f1e; background: #ffe3ce; }
[data-temperature="cold"] .trend-number-link { color: #23668f; background: #dceffc; }
.trend-number-link:hover, .trend-number-link:focus-visible { box-shadow: inset 0 0 0 2px currentColor; }
.trend-thermal-card small { font-size: 11px; }
.trend-thermal-flat { grid-column: 1 / -1; margin: 0; padding: 12px; border-radius: 11px; color: #577582; background: #edf7f8; font-size: 13px; }
.trend-statistics-note { grid-area: note; flex-shrink: 0; align-self: start; margin: 0; color: #70828e; font-size: 12px; line-height: 1.7; }
.trend-statistics-note strong { color: #23646b; }
.trend-statistics-scroll { grid-area: table; flex: 1; min-width: 0; min-height: 0; max-height: 350px; overflow: auto; border: 1px solid #d7e6eb; border-radius: 12px; overscroll-behavior: contain; scrollbar-width: thin; }
.trend-statistics-table { width: 100%; border-collapse: separate; border-spacing: 0; color: #2d4e62; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.trend-statistics-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trend-statistics-table th, .trend-statistics-table td { height: 39px; padding: 5px; border-bottom: 1px solid #e5eff2; white-space: nowrap; }
.trend-statistics-table thead th { position: sticky; z-index: 2; top: 0; background: #edf6fa; color: #2e586b; font-size: 12px; }
.trend-statistics-table thead th:has(.trend-sort-button) { padding: 0; }
.trend-sort-button { display: inline-flex; justify-content: center; align-items: center; gap: 4px; width: 100%; min-height: 38px; padding: 0 3px; color: inherit; font: inherit; }
.trend-sort-button > span { display: grid; gap: 2px; }
.trend-sort-button > span::before, .trend-sort-button > span::after { content: ""; border-inline: 3px solid transparent; opacity: .45; }
.trend-sort-button > span::before { border-bottom: 4px solid currentColor; }
.trend-sort-button > span::after { border-top: 4px solid currentColor; }
.trend-statistics-table th[aria-sort] { background: #d7f2ee; color: #006966; }
th[aria-sort="ascending"] .trend-sort-button > span::before, th[aria-sort="descending"] .trend-sort-button > span::after { opacity: 1; }
th[aria-sort="ascending"] .trend-sort-button > span::after, th[aria-sort="descending"] .trend-sort-button > span::before { opacity: .17; }
.trend-statistics-table tbody tr:nth-child(even) { background: #f6fbfb; }
.trend-statistics-table tbody small { padding-left: 3px; font-size: 11px; font-weight: 650; }
.trend-statistics-table [data-temperature="hot"] th { color: #ab4b25; }
.trend-statistics-table [data-temperature="cold"] th { color: #3277a2; }
.trend-current-miss { color: #547a8c; font-weight: 650; }
.trend-highlight-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; max-width: 100%; padding: 3px 6px; border: 1px solid #efda9e; border-radius: 8px; color: #57421a; background: #fff8e4; font-size: 12px; }
[data-trend-current-view="stats"] .trend-highlight-bar { display: none; }
.trend-highlight-bar [role="status"] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; padding-inline: 2px; font-variant-numeric: tabular-nums; }
.trend-highlight-bar strong { font-weight: 750; }
.trend-occurrence-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.trend-occurrence-actions button { min-height: 32px; padding: 0 6px; color: #71530d; font-size: 12px; }
.trend-occurrence-actions [data-trend-step] { border: 1px solid #d6bb75; border-radius: 6px; background: #fffdf6; font-weight: 650; }
.trend-occurrence-actions [data-trend-step]:enabled:hover { background: #ffedbb; }
.trend-occurrence-actions [data-trend-clear] { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 599px) {
  .detail-trend-viewer .trend-highlight-bar { order: 1; flex-basis: 100%; }
  .result-trend-dialog[data-landscape="true"] .trend-highlight-bar { order: 0; flex-basis: auto; }
}
.detail-trend-scroll { width: 100%; max-width: 100%; max-height: 420px; overflow: auto; border: 1px solid #cfdee6; border-radius: 13px; background: white; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; -webkit-overflow-scrolling: touch; scrollbar-color: #9bbfbf #edf6f6; scrollbar-width: thin; scroll-padding-left: 110px; }
.detail-trend-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.detail-trend-scroll::-webkit-scrollbar-thumb { border: 2px solid #edf6f6; border-radius: 8px; background: #9bbfbf; }
.detail-trend-scroll::-webkit-scrollbar-track { background: #edf6f6; }
.detail-trend-table { position: relative; table-layout: fixed; border-collapse: separate; border-spacing: 0; width: var(--trend-table-width); min-width: 100%; color: #132447; font-size: var(--trend-font-size); font-weight: 650; }
.detail-trend-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.detail-trend-table .trend-issue-col { width: var(--trend-issue-width); }
.detail-trend-table .trend-numbers-col { width: var(--trend-number-width); }
.detail-trend-table th, .detail-trend-table td { height: var(--trend-row-height); padding: 0; border-right: 1px solid #d5e3e9; border-bottom: 1px solid #d5e3e9; text-align: center; vertical-align: middle; }
.detail-trend-table th:last-child, .detail-trend-table td:last-child { border-right: 0; }
.detail-trend-table thead th { position: sticky; z-index: 4; top: 0; height: var(--trend-head-line); background: #edf6fa; color: #182e4f; font-size: var(--trend-header-font); font-weight: 800; }
.detail-trend-table thead th[rowspan] { height: calc(2 * var(--trend-head-line)); }
.detail-trend-table thead tr:nth-child(2) th { top: var(--trend-head-line); }
.detail-trend-table .trend-pinned-issue { position: sticky; z-index: 2; left: 0; font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 2px 0 3px #1d587519; }
.detail-trend-table thead .trend-pinned-issue { z-index: 6; font-size: 13px; }
.detail-trend-table tbody tr { background: white; }
.detail-trend-table tbody tr:nth-child(even) { background: #effbf9; }
.detail-trend-table tbody .trend-pinned-issue { background: inherit; }
.detail-trend-table tbody tr.trend-matched { background: #fff4ce; }
.trend-matched .trend-pinned-issue { color: #654613; box-shadow: inset 4px 0 #d79124, 2px 0 3px #1d587519; }
.trend-matched .trend-point { color: #503600; background: #ffd978; box-shadow: 0 0 0 2px #a0680a; }
.detail-trend-table tbody tr[aria-current="true"] { background: #ffe5a3; }
.trend-matched[aria-current="true"] .trend-pinned-issue, .trend-matched[aria-current="true"] .trend-point { color: #fff; background: #775115; }
.trend-matched[aria-current="true"] .trend-pinned-issue { box-shadow: inset 4px 0 #f5bf4e; }
.trend-match-description { display: none; }
.trend-matched .trend-match-description { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.trend-axis-labels { position: relative; height: calc(var(--trend-head-line) - 1px); }
.trend-axis-labels span { position: absolute; top: 50%; transform: translate(-50%, -50%); font-variant-numeric: tabular-nums; }
.detail-trend-table .trend-number-cell { padding-inline: 6px; font-family: ui-monospace, monospace; font-weight: 750; white-space: nowrap; }
.trend-row-plot { position: relative; isolation: isolate; overflow: hidden; height: calc(var(--trend-row-height) - 1px); }
.trend-row-plot > svg { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trend-omission { position: absolute; z-index: 1; top: 50%; transform: translate(-50%, -50%); color: #93a6b1; font-size: max(10px, calc(var(--trend-font-size) * .8)); font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.trend-point { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: var(--trend-point-size); height: var(--trend-point-size); transform: translate(-50%, -50%); border: 2px solid white; border-radius: 50%; color: white; background: linear-gradient(145deg, #20dfcd, #009e9a); font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1; }
.trend-scroll-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 3px; border: 1px solid #e3eeef; border-radius: 12px; background: #f5fbfb; }
.trend-scroll-controls > button { display: grid; place-items: center; flex: 0 0 38px; min-height: 38px; border: 1px solid #d6eae8; border-radius: 9px; background: white; color: #008a88; }
.trend-scroll-controls > button .icon { width: 18px; height: 18px; }
.trend-scroll-controls > button[data-trend-scroll="left"] .icon { rotate: 180deg; }
.trend-scroll-track { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; color: #69818a; font-size: 12px; }
.trend-scroll-track > span { white-space: nowrap; }
.trend-scroll-track > input { flex: 1; min-width: 25px; width: 100%; height: 32px; margin: 0; accent-color: #00aaa4; cursor: ew-resize; }
.trend-scroll-controls > output { flex: 0 0 32px; text-align: right; color: #347578; font-size: 11px; font-variant-numeric: tabular-nums; }
.detail-bet-cta { display: grid; place-items: center; min-height: 46px; padding: 8px 12px; border-radius: 24px; background: linear-gradient(110deg, #bcf324, #bbf21c); color: #0c2043; font-size: 16px; font-weight: 750; box-shadow: 0 4px 14px #a4cd1e12; }
.result-trend-dialog { width: min(1480px, calc(100% - 32px)); max-width: none; height: calc(100dvh - 32px); max-height: none; margin: auto; padding: 20px; border: 1px solid #dfedf1; border-radius: 22px; color: #142447; background: white; }
.result-trend-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; }
.result-trend-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.result-trend-dialog-header h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 21px; font-weight: 800; }
.result-trend-dialog-header button { flex-shrink: 0; }
.result-trend-dialog-actions { display: flex; flex-shrink: 0; align-items: center; gap: 5px; }
.trend-landscape-button { min-height: 36px; padding: 6px 10px; border: 1px solid #bdeae4; border-radius: 18px; background: #e8faf7; color: #007e7c; font-size: 13px; font-weight: 750; }
.trend-landscape-button[aria-pressed="true"] { color: white; background: #009f9c; border-color: #009f9c; }
[data-result-trend-expanded] { display: var(--trend-dialog-layout, flex); flex-direction: column; grid-template-columns: minmax(225px, 1fr) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "modes controls" "caption caption" "viewer viewer"; column-gap: 16px; min-width: 0; min-height: 0; }
[data-result-trend-expanded] > :not(.detail-trend-viewer) { flex-shrink: 0; }
[data-result-trend-expanded] .detail-trend-tabs { grid-area: modes; width: 100%; }
[data-result-trend-expanded] .detail-trend-toolbar { grid-area: controls; margin-top: var(--trend-toolbar-margin, 12px); }
[data-result-trend-expanded] .detail-trend-caption { grid-area: caption; margin-block: var(--trend-caption-margin, 10px); }
[data-result-trend-expanded] .detail-trend-viewer { grid-area: viewer; flex: 1; min-height: 0; }
[data-result-trend-expanded] .detail-trend-scroll { flex: 1; min-height: 0; max-height: none; }
[data-result-trend-expanded] .trend-statistics-scroll { max-height: none; }
.result-trend-dialog[data-landscape="true"] { --trend-dialog-layout: grid; --trend-stats-display: grid; --trend-toolbar-margin: 0; --trend-caption-margin: 5px; padding: 10px; border-radius: 0; gap: 8px; }
.result-trend-dialog[data-landscape="true"] .result-trend-dialog-header h2 { font-size: 18px; }
.result-trend-dialog::backdrop { background: #0c243eaa; backdrop-filter: blur(4px); }
@media (orientation: portrait) {
  .result-trend-dialog[data-landscape="true"] { position: fixed; inset: auto; left: 50%; top: 50%; width: 100dvh; height: 100dvw; margin: 0; transform: translate(-50%, -50%) rotate(90deg); }
}
@media (orientation: landscape) and (max-height: 600px) {
  .result-trend-dialog { --trend-dialog-layout: grid; --trend-stats-display: grid; --trend-toolbar-margin: 0; --trend-caption-margin: 5px; width: 100%; height: 100dvh; margin: 0; padding: 10px; border-radius: 0; }
  .result-trend-dialog[open] { gap: 8px; }
  .result-trend-dialog-header h2 { font-size: 18px; }
}
@media (max-width: 1023px) {
  body[data-page="result"]:not(.dice-route, .deposit-route) { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  body[data-page="result"] .container { margin-top: 0; }
  .result-topbar { padding-top: var(--mobile-safe-top); min-height: calc(58px + var(--mobile-safe-top)); }
}
@media (min-width: 700px) {
  .trend-statistics-panel { display: grid; }
  .result-detail-page { gap: 16px; }
  .result-topbar { min-height: 66px; }
  .detail-game-strip { padding: 13px 20px; gap: 16px; }
  .detail-game-strip > strong { font-size: 17px; }
  .detail-game-meta { font-size: 15px; padding-left: 20px; }
  .detail-game-emblem, .detail-game-emblem .hall-game-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .detail-outcome-balls { padding-block: 18px; }
  .detail-ball-group { gap: 11px; }
  .detail-history-row { grid-template-columns: 125px minmax(0, 1fr) auto; gap: 15px; min-height: 61px; }
  .detail-history-period > strong { font-size: 14px; }
  .detail-history-period .detail-draw-time { font-size: 12px; }
  .detail-history-balls .detail-ball-group, .detail-history-balls { gap: 7px; }
  .detail-history-balls .detail-glossy-ball { width: 29px; font-size: 18px; }
  .detail-history-row .detail-stat-pills { gap: 7px; }
  .detail-history-row .detail-stat-pills > span { min-width: 31px; padding: 5px 10px; font-size: 13px; }
  .detail-trend-tabs { width: min(100%, 520px); }
}
@media (max-width: 599px) {
  .detail-query-fields { grid-template-columns: minmax(0, 1fr); }
  .detail-query .detail-search { grid-template-columns: minmax(0, 1fr) auto; }
  .detail-game-meta { flex: 1 1 150px; }
  .result-trend-dialog { width: 100%; height: 100dvh; margin: 0; padding: 14px; border-radius: 0; }
  .result-trend-dialog-header h2 { font-size: 18px; }
}
@media (max-width: 359px) {
  .trend-scroll-track > span { display: none; }
  .detail-history-row { grid-template-columns: 86px minmax(0, 1fr); gap: 6px 8px; }
  .detail-history-period { grid-row: 1 / 3; }
  .detail-history-balls { grid-column: 2; }
  .detail-history-row .detail-stat-pills { grid-column: 2; justify-content: start; }
  .detail-stat-pills > span { padding-inline: 9px; }
}

.result-detail-page { gap: 10px; color: var(--ink); }
.result-topbar { grid-template-columns: 42px minmax(0,1fr) auto 40px; gap: 6px; }
.result-topbar h1 { text-align: start; margin: 0; overflow-wrap: anywhere; }
.draw-query-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #116254; background: transparent; font-weight: 650; border: 0; cursor: pointer; }
.draw-query-toggle .icon { width: 17px; height: 17px; }
.detail-query-fields { margin: 0; }
.detail-outcome { border: 1px solid var(--line); border-radius: 17px; background: white; overflow: hidden; }
.draw-outcome-hero { display: grid; gap: 9px; padding: clamp(15px, 3vw, 25px); background: linear-gradient(115deg,#103d39,#175c50); color: #f7fff9; }
.draw-outcome-hero-meta, .draw-summary-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.draw-outcome-hero-meta h2,.draw-outcome-hero-meta > span,.draw-outcome-hero .detail-draw-time { font-size: .8rem; font-weight: 550; color: #c3e0d5; }
.result-detail-page h2::before { display: none; }
.draw-period { font-size: clamp(1.18rem,4.5vw,1.6rem); line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.draw-outcome-hero .detail-outcome-balls { padding: 3px 0; }
.draw-outcome-hero .detail-glossy-ball { width: clamp(32px,9vw,46px); font-size: clamp(1.1rem,5vw,1.55rem); }
.detail-glossy-ball { background: #d5f1e8; color: #12483f; box-shadow: none; }
.detail-glossy-ball::before { display: none; }
.detail-glossy-ball[data-ball-tone="mint"] { background: #bde8db; }
.detail-glossy-ball[data-ball-tone="lime"] { background: #e5f3ae; }
.draw-outcome-hero .detail-ball-group-extra::before { color: #cbdfd1; }
.draw-outcome-hero .detail-stat-pills { gap: 5px; }
.draw-outcome-hero .detail-stat-pills > span { min-width: 0; color: #e2f3eb; background: #ffffff13; font-size: .82rem; padding: 3px 8px; }
.draw-tools { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 0 8px; padding-inline: 8px; }
.draw-tools .text-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: .83rem; color: var(--deep-teal); }
.draw-tools .icon { width: 15px; height: 15px; }
.draw-nav { display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.draw-nav button { padding: 6px 2px; min-height: 44px; color: var(--muted); border: 0; border-bottom: 3px solid transparent; background: transparent; font-weight: 700; cursor: pointer; }
.draw-nav button[aria-pressed=true] { color: var(--deep-teal); border-bottom-color: var(--deep-teal); }
.detail-history, .detail-trend, .detail-query { border: 1px solid var(--line); box-shadow: none; }
.detail-history { padding-block: 5px 12px; }
.detail-history .detail-section-heading { justify-content: flex-end; }
.detail-history-actions > * { min-height: 38px; }
.detail-history-row { grid-template-columns: minmax(max-content,auto) minmax(0,1fr) auto; gap: 5px 10px; min-height: 50px; }
.detail-history-period > strong { white-space: nowrap; overflow-wrap: normal; }
.detail-history-balls .detail-glossy-ball { box-shadow: none; }
@media(max-width:650px) {
  .detail-history-row { grid-template-columns: minmax(0,1fr) auto; gap: 3px 6px; padding-block: 8px; }
  .detail-history-period { grid-column: 1; grid-row: 1; }
  .detail-history-period > strong { font-size: .75rem; }
  .detail-history-balls { grid-column: 2; grid-row: 1; justify-content: end; max-width: 42vw; }
  .detail-history-row .detail-stat-pills { grid-column: 2; grid-row: 2; justify-content: end; gap: 3px; }
  .detail-history-row .detail-stat-pills > span { min-width: 0; font-size: .67rem; padding: 1px 5px; }
  .detail-history-period { grid-row: 1 / 3; }
  .detail-history-balls .detail-glossy-ball { width: 19px; }
  .detail-history-balls .detail-ball-group { justify-content: end; }
}
@media(min-width:760px) {
  .result-detail-page { gap: 13px; }
  .draw-outcome-hero { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); align-items: center; column-gap: 28px; }
  .draw-outcome-hero-meta, .draw-period { grid-column: 1; justify-content: flex-start; }
  .draw-outcome-hero .detail-outcome-balls { grid-column: 2; grid-row: 1 / 3; justify-content: end; }
  .draw-summary-foot { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid #ffffff30; }
  .draw-tools { justify-content: flex-end; gap: 24px; padding-inline: 24px; }
  .detail-history-period > strong { font-size: .87rem; }
}
