:root { --signature: #d6bb83; }
.header { position: relative; }
.header::before { content: ""; position: absolute; top: 0; height: 1px; left: 0; right: 0; background: #6e6149; }
.header-inner { gap: 38px; min-height: 88px; }
.brand { flex: 0 0 auto; }
.brand-logo { width: 276px; height: 42px; overflow: hidden; position: relative; display: block; }
.brand-logo img { position: absolute; width: 286.28px; height: auto; max-width: none; left: -5.14px; top: -26.38px; }
.navigation { gap: 27px; }
.navigation a[aria-current]::after { background: var(--signature); }
.header-end { gap: 18px; }
.header-end .account-entry { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 7px 13px; border: 1px solid #657087; border-radius: 7px; color: var(--text); font-size: 14px; font-weight: 550; white-space: nowrap; }
.header-end .account-entry:hover { background: #263044; border-color: #9ca9c1; }
.account-entry svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.account-entry[aria-current="page"] { border-color: #a08d65; }
.region-button { display: flex; align-items: center; gap: 9px; background: transparent; border: 1px solid #414a5d; color: var(--text); border-radius: 7px; min-height: 38px; padding: 7px 11px; font-size: 14px; }
.region-button:hover { background: #263044; }
.region-button img { display: block; width: 23px; height: 18px; object-fit: contain; }
.region-button svg { width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 1.4; }
#region-flag:empty { display: none; }
.fields { grid-template-columns: minmax(0,1fr) 250px; }
.workspace { padding-bottom: 24px; border-top-color: #706854; }
.page-heading { margin-bottom: 18px; }
.primary:disabled, select:disabled { opacity: .55; cursor: default; }
.catalog-heading { margin-bottom: 20px; }
.catalog-resource-links { margin-top: 20px; color: var(--muted); font-size: 13px; }
.catalog-resource-links ul { display: flex; flex-wrap: wrap; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.catalog-resource-links li { min-width: 0; overflow-wrap: anywhere; }
.catalog-resource-links a { display: inline-block; padding-block: 7px; color: #b6c9ff; text-decoration: underline; text-underline-offset: 3px; }
.catalog-resource-links a:focus-visible { outline: 2px solid var(--signature); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 700px) {
  .catalog-resource-links ul { display: block; }
  .catalog-resource-links a { min-height: 44px; padding-block: 12px; }
}
html:has(.catalog-sort-controls) { scroll-behavior: auto; }
#catalog-title { scroll-margin-top: 20px; }
.lottery-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-block: 24px; font-size: 14px; }
.pagination-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pagination-compact { display: none; }
.pagination-page, .pagination-direction { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 12px; color: var(--text); background: var(--inset); text-decoration: none; }
.pagination-page { min-width: 44px; font-variant-numeric: tabular-nums; }
.pagination-page[aria-current="page"] { background: var(--surface); border-color: var(--signature); color: var(--signature); font-weight: 700; }
.lottery-pagination a:hover { border-color: var(--signature); }
.lottery-pagination a:focus-visible { outline: 2px solid var(--signature); outline-offset: 3px; }
.pagination-direction[aria-disabled="true"] { color: var(--muted); background: transparent; opacity: .6; }
.pagination-direction { min-width: 0; overflow-wrap: anywhere; text-align: center; }
.pagination-chevron { display: none; }
.pagination-gap { display: inline-block; min-width: 16px; text-align: center; color: var(--muted); }
@media (max-width: 700px) {
  .lottery-pagination { gap: 5px; margin-block: 18px; }
  .pagination-wide { display: none; }
  .pagination-compact { display: flex; flex-wrap: nowrap; justify-content: center; gap: 3px; min-width: 0; }
  .pagination-compact li:has(.pagination-page) { flex: 0 1 44px; width: 44px; min-width: 24px; }
  .pagination-page { min-width: 0; width: 100%; padding-inline: 2px; font-size: 13px; overflow-wrap: anywhere; }
  .pagination-gap { min-width: 11px; }
  .pagination-direction { flex: 0 0 44px; padding: 0; }
  .pagination-chevron { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .pagination-direction-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.catalog-table th { padding: 17px 20px; }
.catalog-sort { display: inline-flex; align-items: center; min-height: 24px; gap: 7px; color: inherit; }
.catalog-sort:hover { color: var(--text); }
.catalog-sort:focus-visible,.catalog-sort-direction:focus-visible { outline: 2px solid var(--signature); outline-offset: 4px; border-radius: 3px; }
.catalog-sort-marker { flex: none; color: var(--muted); font-size: 13px; }
.catalog-table th[aria-sort] .catalog-sort-marker { color: var(--signature); }
.catalog-sort-controls, .catalog-sort-mobile { display: none; }
.catalog-table th.icon-column { width: 76px; }
.catalog-table th.name-column { width: 210px; }
.catalog-table th.latest-column { width: 270px; }
.catalog-table th.prize-column { width: 205px; text-align: left; }
.catalog-table th.chance-column { width: 195px; text-align: left; }
.catalog-table th.probability-column { width: 180px; text-align: left; }
.catalog-table th.access-column { width: auto; text-align: right; }
.catalog-table .probability-column { display: none; }
.catalog-table td { padding: 19px 20px; vertical-align: top; }
.catalog-table .icon-column { padding-right: 0; }
.lottery-emblem { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; flex: none; width: 52px; height: 42px; padding: 4px; border-radius: 8px; overflow: hidden; background: #e0e6ef; color: #26324a; }
.lottery-icon { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 0 1px #24304a96); }
/* Pale lettering needs more contrast than the default tile provides. */
.lottery-emblem:has(> .lottery-icon:is(
  [src*="/games/de-logo-keno.webp"],
  [src*="/games/de-logo-super6-on-background.svg"],
  [src*="/games/nloto-101021.png"],
  [src*="/games/nloto-101121.png"],
  [src*="/games/nloto-102141.png"],
  [src*="/games/nloto-103151.png"],
  [src*="/games/nloto-104021.png"],
  [src*="/games/nloto-107011.png"],
  [src*="/games/nloto-108031.png"],
  [src*="/games/nloto-109101.png"],
  [src*="/games/nloto-112112.png"],
  [src*="/games/stoloto-rapido2.png"],
  [src*="/games/stoloto-rapidodrive.png"],
  [src*="/games/stoloto-rapidopro.png"],
  [src*="/games/stoloto-rapidoultra.png"],
  [src*="/games/us-colorado-cash5.svg"],
  [src*="/games/us-colorado-lotto-plus.svg"],
  [src*="/games/us-colorado-pick3.svg"],
  [src*="/games/us-oklahoma-cash5.png"],
  [src*="/games/us-washington-cash-pop.svg"],
  [src*="/games/us-washington-daily-keno.svg"],
  [src*="/games/us-washington-hit5.svg"],
  [src*="/games/us-washington-lotto.svg"],
  [src*="/games/us-washington-match4.svg"],
  [src*="/games/us-washington-pick3.svg"]
)) { background: #26324a; box-shadow: inset 0 0 0 1px #52617c; }
.lottery-icon-placeholder { font-size: 13px; font-weight: 650; }
.game-title { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.5; }
.game-title:hover { color: #cad7ff; }
.catalog-table tbody tr { position: relative; cursor: pointer; }
.catalog-table .game-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.catalog-table tbody tr:focus-within { outline: 2px solid var(--signature); outline-offset: -2px; }
.catalog-table tbody tr:hover { background: #283143; }
.catalog-results { font-size: 12px; line-height: 1.55; color: var(--muted); }
.catalog-result + .catalog-result { margin-top: 10px; }
.catalog-competition, .catalog-result-numbers { display: block; }
.catalog-draw-link { color: #b6c9ff; }
.catalog-draw-link:hover { text-decoration: underline; }
.catalog-result-numbers { margin-top: 3px; color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.catalog-data-warning { color: #e8c58c; }
.catalog-prize-note { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.catalog-prize-explanation, .catalog-odds-note { font-size: 13px; line-height: 1.5; color: var(--muted); white-space: normal; }
.catalog-prize-explanation:hover { color: var(--text); text-decoration: underline; }
.flags { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.access-column .flags { justify-content: end; }
.flags a { display: inline-flex; padding: 4px 0; }
.flags img { width: 27px; height: 21px; object-fit: contain; }
.flags .more-markets { position: relative; z-index: 2; min-width: 32px; justify-content: center; color: var(--muted); font-size: 13px; line-height: 1; }
.flags .more-markets:hover, .flags .more-markets:focus-visible { color: var(--text); text-decoration: underline; }
.prize-cell, .chance-cell, .probability-cell { text-align: left; font-variant-numeric: tabular-nums; }
.probability-cell { color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap; }
.prize-amount { color: var(--signature); font-size: 17px; font-weight: 550; white-space: nowrap; }
.prize-amount:hover { color: #f1d7a6; }
.prize-unknown { color: var(--muted); font-size: 17px; }
.annuity-marker { display: block; margin-top: 5px; color: #c7cbd5; font-size: 12px; font-weight: 400; white-space: nowrap; }
.annuity-marker span { color: var(--signature); }
.chance-prefix { margin-right: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.chance-number { color: var(--text); font-size: 16px; font-weight: 550; white-space: nowrap; }
.mobile-cell-label { display: none; }
.detail-link { display: inline-block; color: #adc3ff; font-size: 14px; margin-top: 12px; }
.result-value { color: var(--text); }
.footer { padding-bottom: 24px; margin-top: 30px; }
.footer a { margin-left: auto; color: var(--muted); font-size: 13px; }
.footer a:hover { color: var(--text); }
dialog { width: min(390px, calc(100vw - 32px)); background: var(--surface); color: var(--text); border: 1px solid #65718a; border-radius: 12px; padding: 22px; box-shadow: 0 12px 60px #0005; }
dialog::backdrop { background: #050b14b8; }
.region-dialog-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.region-dialog-heading h2 { margin: 0; font-size: 20px; }
.dialog-close { background: transparent; border: 0; color: var(--muted); width: 35px; min-height: 35px; font-size: 26px; }
.region-options { display: grid; gap: 10px; }
.region-options button { background: var(--inset); color: var(--text); border: 1px solid #59677f; border-radius: 7px; min-height: 50px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; font-size: 16px; }
.region-options button:hover { border-color: #a9bbec; }
.region-options img { object-fit: contain; }
.info-page { max-width: 1000px; padding-top: 28px; }
.back-link { color: #b6c9ff; font-size: 15px; display: inline-block; margin-bottom: 22px; }
.info-heading { display: flex; gap: 15px; align-items: center; margin-bottom: 25px; }
.info-heading h1 { margin: 0; }
.info-section { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin: 18px 0; scroll-margin-top: 20px; }
.info-section h2 { font-size: 20px; margin: 0 0 14px; }
.info-section p, .info-section li { color: #c5cddb; font-size: 17px; line-height: 1.7; }
.info-section p { margin: 12px 0 0; }
.info-section a { color: #b6c9ff; text-decoration: underline; text-underline-offset: 3px; }
.info-section .source-date { font-size: 14px; color: var(--muted); }
.info-section .formula-value { font-size: 27px; color: var(--text); font-weight: 600; }
.about-intro { max-width: 760px; color: #c5cddb; font-size: 18px; line-height: 1.75; }
.about-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 26px; }
.about-link { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.about-link:hover { border-color: #7485aa; }
.about-link strong { display: block; color: var(--text); font-size: 18px; font-weight: 600; margin-bottom: 7px; }
.about-link span { display: block; font-size: 15px; color: var(--muted); line-height: 1.65; }
@media (min-width: 1280px) {
  .catalog-table .probability-column { display: table-cell; }
}
@media (max-width: 1279px) {
  .catalog-sort-controls { display: flex; align-items: end; gap: 10px; max-width: 430px; margin: 0 0 20px auto; }
  .catalog-sort-controls .field { flex: 1; min-width: 0; }
  .catalog-sort-controls select { width: 100%; min-width: 0; }
  .catalog-sort-direction,.catalog-sort-apply { display: grid; place-items: center; height: 52px; flex: none; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--inset); }
  .catalog-sort-direction { width: 52px; font-size: 20px; }
  .catalog-sort-apply { padding: 0 12px; font-size: 14px; }
  .catalog-sort-direction:hover { background: var(--surface); border-color: var(--muted); }
}
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: 17px; min-height: 0; }
  .header-end { margin-left: auto; }
  .navigation { order: 3; width: 100%; min-width: 0; flex-wrap: wrap; margin-top: 13px; min-height: 49px; }
  .navigation a { max-width: 100%; white-space: normal; }
  .navigation a { min-height: 49px; }
  .catalog-table th.name-column { width: 130px; }
  .catalog-table th.latest-column { width: 230px; }
  .catalog-table th.prize-column { width: 175px; }
  .catalog-table th.chance-column { width: 170px; }
  .catalog-table th.access-column { width: auto; }
  .catalog-table th, .catalog-table td { padding-inline: 14px; }
}
@media (max-width: 760px) {
  .catalog-table, .catalog-table tbody { display: block; width: 100%; }
  .catalog-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .catalog-table tr { display: grid; grid-template-columns: 44px minmax(0,1fr) minmax(0,.95fr); gap: 0 12px; padding: 18px 14px; border-bottom: 1px solid var(--line); align-items: center; }
  .catalog-table tr:last-child { border-bottom: 0; }
  .catalog-table td { display: block; min-width: 0; max-width: 100%; padding: 0; border: 0; overflow-wrap: anywhere; }
  .catalog-table .icon-column { grid-column: 1; grid-row: 1; }
  .catalog-table .name-column { grid-column: 2; grid-row: 1; }
  .catalog-table .access-column { grid-column: 3; grid-row: 1; justify-self: end; }
  .catalog-table .name-column, .catalog-table .icon-column, .catalog-table .access-column { align-self: start; }
  .catalog-table .latest-column { grid-column: 1 / 4; grid-row: 2; padding-top: 14px; }
  .catalog-table .prize-column { grid-column: 1 / 3; grid-row: 3; padding-top: 18px; text-align: left; }
  .catalog-table .chance-column { grid-column: 3; grid-row: 3; padding-top: 18px; text-align: right; }
  .catalog-table .probability-column { display: none; }
  .lottery-emblem { width: 44px; height: 36px; padding: 3px; border-radius: 7px; }
  .lottery-icon-placeholder { font-size: 11px; }
  .game-title { font-size: 16px; overflow-wrap: anywhere; white-space: normal; }
  .mobile-cell-label { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-bottom: 5px; }
  .prize-amount { font-size: 16px; white-space: normal; }
  .chance-prefix { display: block; margin: 0 0 2px; font-size: 12px; }
  .chance-number { display: block; font-size: 15px; white-space: normal; }
  .annuity-marker { font-size: 11px; margin-top: 4px; white-space: normal; }
  .flags img { width: 24px; height: 19px; }
}
@media (max-width: 700px) {
  .catalog-sort-direction,.catalog-sort-apply { height: 50px; }
  .catalog-sort-direction { width: 50px; }
  .header-inner { padding-top: 16px; }
  .brand-logo { --brand-width: 218px; width: var(--brand-width); height: 32px; }
  .brand-logo img { width: calc(var(--brand-width) * 1.03725); left: calc(var(--brand-width) * -.01862); top: calc(16px - var(--brand-width) * .17166); }
  .header-with-region .brand-logo { --brand-width: min(218px, calc(100vw - 160px)); }
  .header-end { gap: 8px; }
  .header-end .account-entry { min-height: 44px; padding-inline: 12px; }
  .account-entry svg { display: none; }
  .header-end .language { display: none; }
  .region-button { min-height: 44px; width: 44px; padding: 0; gap: 0; justify-content: center; font-size: 10px; border-color: transparent; }
  .region-button img { width: 22px; height: 17px; }
  #region-flag:not(:empty) + #region-label, .region-button svg { display: none; }
  .navigation { justify-content: space-between; gap: 12px; margin-top: 12px; }
  .fields { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .workspace { padding: 19px 18px; }
  .catalog { margin-top: 24px; }
  .catalog-heading { margin-bottom: 17px; }
  .footer { margin-top: 25px; padding-bottom: 22px; }
  .footer a { font-size: 12px; }
  .info-page { padding-top: 23px; }
  .info-section { padding: 19px; }
  .info-section p, .info-section li { font-size: 16px; }
  .about-grid { grid-template-columns: minmax(0,1fr); }
}

.footer .footer-links { display: flex; flex-wrap: wrap; margin-left: auto; gap: 24px; }
.footer .footer-links a { margin-left: 0; }

@media (max-width: 700px) {
  .footer { display: grid; justify-items: center; gap: 12px; text-align: center; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .footer .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 360px); gap: 0; margin: 0; }
  .footer .footer-links a { display: grid; place-items: center; min-height: 44px; padding: 6px 10px; font-size: 13px; overflow-wrap: anywhere; border: 1px solid var(--line); background: var(--inset); }
  .footer .footer-links a:first-child { border-radius: 8px 0 0 8px; }
  .footer .footer-links a + a { border-inline-start: 0; border-radius: 0 8px 8px 0; }
  .footer .footer-links .analytics-settings:not([hidden]) { grid-column: 1 / -1; justify-self: center; min-height: 44px; padding-inline: 8px; color: var(--muted); font-size: 11px; text-decoration: none; }
  .footer .footer-links .analytics-settings:hover { color: var(--text); text-decoration: underline; }
  .footer .footer-links :is(a, .analytics-settings):focus-visible { outline: 2px solid var(--signature); outline-offset: -3px; }
}
.catalog-title{flex-wrap:wrap}.catalog-all{font-size:13px;color:var(--muted)}.account-filters select{min-height:44px;max-width:100%;background:var(--surface);color:var(--text);padding:8px 12px;border:1px solid var(--line);border-radius:6px}

.language-form{display:flex;align-items:center;gap:3px}.language-form select{width:50px;min-height:38px;padding:0 4px;background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:6px;font:inherit;font-size:12px}.language-submit{background:transparent;border:0;color:var(--muted);min-height:38px;padding:0 7px}.language-form:has(select:focus) .language-submit{color:var(--text)}
@media(max-width:700px){.language-form{gap:0}.language-form select{min-height:44px;width:54px;appearance:none;padding-right:13px;background-image:linear-gradient(45deg,transparent 50%,#9ba6bb 50%),linear-gradient(135deg,#9ba6bb 50%,transparent 50%);background-position:calc(100% - 8px) 50%,calc(100% - 5px) 50%;background-size:3px 3px;background-repeat:no-repeat}.language-submit{display:block}.js-locale-ready .language-submit{display:none}.header-with-region .brand-logo{--brand-width:min(218px,calc(100vw - 244px))}.js-locale-ready .header-with-region .brand-logo{--brand-width:min(218px,calc(100vw - 216px))}.header-end{gap:5px}.header-end .account-entry{padding-inline:8px}}

.js-locale-ready .language-submit{display:none}

.catalog-table th,.catalog-table td{overflow-wrap:anywhere}
.catalog-table .prize-amount,.catalog-table .chance-number{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.language-submit{width:44px;min-width:44px;padding:0;font-size:12px}
@media(max-width:700px){html:not(.js-locale-ready) .language-form{display:grid;grid-template-columns:54px;gap:2px}html:not(.js-locale-ready) .language-submit{width:54px;min-height:30px}}

.language-open { display: none; }
.js-locale-ready .language-open { display: flex; }
.preference-dialog { width: min(460px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 32px)); max-height: none; box-sizing: border-box; overflow: hidden; }
.preference-dialog[open] { display: flex; flex-direction: column; }
.preference-search { flex: none; min-height: 44px; width: 100%; padding: 0 12px; margin-bottom: 12px; background: var(--inset); color: var(--text); border: 1px solid #59677f; border-radius: 7px; font: inherit; }
.preference-results { flex: 1; min-height: 0; overscroll-behavior: contain; overflow: auto; scrollbar-gutter: stable; padding: 3px; }
.preference-dialog .region-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.preference-dialog .region-options button { text-align: start; min-width: 0; flex-wrap: wrap; gap: 4px 10px; border-color: transparent; background: transparent; }
.preference-dialog .region-options button:hover { background: var(--inset); }
.preference-dialog .region-options button[aria-current="true"] { border-color: #d6b67c; background: var(--inset); }
.preference-dialog .region-options button[hidden] { display: none; }
.region-options button[aria-current="true"] { border-color: #d6b67c; }
.region-options button[aria-current="true"]::after { content: '✓'; color: #e1c38e; margin-inline-start: auto; }
.preference-dialog small { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) { .language-open { border-color: var(--line); } }

@supports (appearance: base-select) and selector(::picker(select)) {
  main select.game-logo-select, .game-logo-select::picker(select) { appearance: base-select; }
  main select.game-logo-select { padding-inline-start: 12px; min-width: 0; }
  .game-logo-select::picker-icon { display: none; }
  .game-logo-select::picker(select) { background: var(--inset); color: var(--text); border: 1px solid #526079; border-radius: 8px; max-height: min(390px, 55dvh); max-width: calc(100vw - 32px); overscroll-behavior: contain; }
  .game-logo-select selectedcontent, .game-logo-select option { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .game-logo-select selectedcontent .lottery-option-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .game-logo-select option { min-height: 44px; padding: 6px 12px; white-space: normal; overflow-wrap: anywhere; }
  .game-logo-select option:checked { background: #26324a; }
  .game-logo-select option::checkmark { order: 1; margin-inline-start: auto; }
  .game-logo-select .lottery-emblem { width: 36px; height: 28px; padding: 3px; border-radius: 5px; }
}

@media (max-width: 760px) {
  .tool + .catalog { margin-top: 16px; }
  .catalog .catalog-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; margin-bottom: 12px; }
  .catalog-search-form { grid-column: 1 / -1; min-width: 0; }
  .catalog-search-form .search { width: 100%; }
  .catalog-search-form .search input { height: 44px; }
  .catalog .catalog-sort-controls { display: none; }
  .catalog-sort-mobile { display: block; position: relative; }
  .catalog-sort-mobile summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; border: 1px solid var(--line); border-radius: 7px; background: var(--inset); cursor: pointer; }
  .catalog-sort-mobile summary::-webkit-details-marker { display: none; }
  .catalog-sort-mobile summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
  .catalog-sort-mobile ul { position: absolute; z-index: 5; inset-inline-end: 0; top: calc(100% + 6px); min-width: min(250px, calc(100vw - 32px)); margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid #526079; border-radius: 8px; box-shadow: 0 8px 20px #050a1499; }
  .catalog-sort-mobile a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 5px; color: var(--text); font-size: 14px; }
  .catalog-sort-mobile a[data-current], .catalog-sort-mobile a:hover { background: var(--inset); color: var(--signature); }
  .catalog-sort-mobile :is(summary, a):focus-visible { outline: 2px solid var(--signature); outline-offset: 2px; }
}
