/* VDS.RENT — shared components. Shared file (foundation). Page agents use these classes; they do not edit this file. */

/* =====================================================================================================================
   SECTIONS AND THEIR JOINS
   Every page is a column of full-width sections. Each section after the first overlaps the previous one by --join
   (Figma: 80 px desktop, 32 px phone); black sections round all four corners (--join) and sit above the graphite ones,
   whose top/bottom --join px run on under the black neighbour's corners. The section boxes keep the Figma heights, so the
   Figma y of anything inside a section = its offset from the section top.
     <section class="sec sec--black">   … black, rounded, on top
     <section class="sec sec--graphite"> … graphite, below
   The first section (a page's first screen) is black with only its bottom corners rounded and sits under the fixed header.
   ===================================================================================================================== */
.sec { position: relative; z-index: var(--z-sec); isolation: isolate; }
.sec + .sec { margin-top: calc(-1 * var(--join)); }
.sec--black { background: var(--black); border-radius: var(--join); z-index: var(--z-sec-black); }
.sec--graphite { background: var(--graphite); }
main > .sec:first-child, .sec--first { border-top-left-radius: 0; border-top-right-radius: 0; z-index: 3; }
/* black sections clip their own content to the rounded shape (as the Figma frames do) */
.sec--clip { overflow: clip; }
@supports not (overflow: clip) { .sec--clip { overflow: hidden; } }
/* phone: two graphite neighbours do not overlap (the 390 frame: «Преимущества» → «Защита от DDoS») */
@media (max-width: 600px) {
  .sec--graphite + .sec--graphite { margin-top: 0; }
}

/* =====================================================================================================================
   ICONS — <svg class="i i-18 sw-18"><use href="#i-chevron-right"/></svg>
   lucide symbols (24 × 24 viewBox) from partials/icons.html. As in Figma (fb/vds.js ICON), the stroke is an exact width in
   px at the final size: stroke-width (in viewBox units) = sw × 24 / size. Set the size with i-NN (or --sz), the stroke
   with sw-NN (or --sw), the colour with color.
   ===================================================================================================================== */
.i {
  --sz: 24; --sw: 1.8;
  width: calc(var(--sz) * 1px); height: calc(var(--sz) * 1px); flex: none;
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round;
  stroke-width: calc(var(--sw) * 24px / var(--sz));
  overflow: visible;
}
/* brand logos (filled; Telegram, VK, OS logos …): <svg class="lg i-16"><use href="#l-telegram"/></svg> */
.lg { --sz: 24; width: calc(var(--sz) * 1px); height: calc(var(--sz) * 1px); flex: none; fill: currentColor; stroke: none; overflow: visible; }
/* round flags: <svg class="flag" style="--sz:20"><use href="#f-ru"/></svg>. The border-radius IS the circle: the flag symbols are
   square bands (partials/icons.html), clipped once here — one anti-aliased rim, no lower band showing through at the edge */
.flag { --sz: 20; width: calc(var(--sz) * 1px); height: calc(var(--sz) * 1px); flex: none; border-radius: 50%; overflow: hidden; }
/* sizes and strokes (after .lg / .flag so they override the defaults) */
.i-12 { --sz: 12; } .i-13 { --sz: 13; } .i-14 { --sz: 14; } .i-16 { --sz: 16; } .i-18 { --sz: 18; } .i-20 { --sz: 20; }
.i-22 { --sz: 22; } .i-24 { --sz: 24; } .i-26 { --sz: 26; } .i-28 { --sz: 28; } .i-30 { --sz: 30; } .i-32 { --sz: 32; } .i-48 { --sz: 48; }
.sw-125 { --sw: 1.25; } .sw-14 { --sw: 1.4; } .sw-15 { --sw: 1.5; } .sw-16 { --sw: 1.6; } .sw-18 { --sw: 1.8; } .sw-19 { --sw: 1.9; }
.sw-2 { --sw: 2; } .sw-22 { --sw: 2.2; }

/* =====================================================================================================================
   BUTTONS — pills (radius = height / 2), Geist Medium. Sizes and kinds exactly as the frames use them:
     h36 px18 14/22 · h40 px20 14/20 · h44 px22 15/22 · h48 px24 16/22 · h52 px28 17/22 · h56 17/22
     primary #0866E0 (white text) · dark #1C1C1F · grey #2C2C2E · grey2 #333336 · soft white 7 / 8 / 10 %
   <a class="btn btn--52 btn--primary" href="…">Создать сервер</a>
   ===================================================================================================================== */
.btn {
  --h: 48px; --px: 24px; --bg: var(--acc); --bg-h: var(--acc-hover); --bg-a: var(--acc-active); --fg: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 var(--px); border-radius: calc(var(--h) / 2);
  background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 22px; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap; text-decoration: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.btn:focus-visible { background: var(--bg-h); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--bg-h); } }
.btn:active { background: var(--bg-a); }
.btn .i { margin-right: -4px; }
.btn--36 { --h: 36px; --px: 18px; font-size: 14px; line-height: 22px; }
.btn--40 { --h: 40px; --px: 20px; font-size: 14px; line-height: 20px; }
.btn--44 { --h: 44px; --px: 22px; font-size: 15px; line-height: 22px; }
.btn--48 { --h: 48px; --px: 24px; font-size: 16px; line-height: 22px; }
.btn--52 { --h: 52px; --px: 28px; font-size: 17px; line-height: 22px; }
.btn--56 { --h: 56px; --px: 28px; font-size: 17px; line-height: 22px; }
.btn--primary { --bg: var(--acc); --bg-h: var(--acc-hover); --bg-a: var(--acc-active); --fg: #FFFFFF; }
.btn--dark  { --bg: var(--btn-dark); --bg-h: #252528; --bg-a: #19191B; --fg: var(--t1); }
.btn--grey  { --bg: var(--grey-2c); --bg-h: #353538; --bg-a: #28282A; --fg: var(--t1); }
.btn--grey2 { --bg: var(--grey-33); --bg-h: #3C3C40; --bg-a: #2E2E31; --fg: var(--t1); }
.btn--soft   { --bg: rgba(255, 255, 255, 0.07); --bg-h: rgba(255, 255, 255, 0.11); --bg-a: rgba(255, 255, 255, 0.06); --fg: var(--t1); }
.btn--soft8  { --bg: rgba(255, 255, 255, 0.08); --bg-h: rgba(255, 255, 255, 0.12); --bg-a: rgba(255, 255, 255, 0.07); --fg: var(--t1); }
.btn--soft10 { --bg: rgba(255, 255, 255, 0.10); --bg-h: rgba(255, 255, 255, 0.14); --bg-a: rgba(255, 255, 255, 0.09); --fg: #FFFFFF; }
.btn--block { display: flex; width: 100%; }
.btn--ls4 { letter-spacing: -0.004em; } .btn--ls3 { letter-spacing: -0.003em; }
/* phone: actions are full-width 48 px pills (the 390 frame), 16/22 −0.4 % */
@media (max-width: 600px) {
  .btn--m-block { display: flex; width: 100%; --h: 48px; --px: 18px; font-size: 16px; line-height: 22px; letter-spacing: -0.004em; }
}

/* round icon button (the 40 px arrow circle of the product cards, the phone menu / close button 44 px) */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--hl-08); color: var(--t1); transition: background-color var(--t-fast) var(--ease); }
.icon-btn:focus-visible { background: var(--hl-12); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--hl-12); } }

/* text link with a trailing chevron/arrow (moves 2 px on hover, nothing else) */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--t1); transition: color var(--t-fast) var(--ease); }
.link-arrow .i { transition: transform var(--t-med) var(--ease-out); }
.link-arrow:focus-visible .i { transform: translateX(2px); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .i { transform: translateX(2px); } }
.link-quiet { transition: color var(--t-fast) var(--ease); }
.link-quiet:focus-visible { color: var(--t1); }
@media (hover: hover) and (pointer: fine) { .link-quiet:hover { color: var(--t1); } }

/* =====================================================================================================================
   SURFACES
   ===================================================================================================================== */
.card { background: var(--graphite); border-radius: var(--r-card); }            /* graphite card on black (dropdown, tariffs) */
.block { background: var(--grey-block); border-radius: var(--r-block); }        /* grey block #212123 */
.block--menu { background: var(--grey-menu); }                                  /* #1A1A1C */
.hl { height: 1px; background: var(--hl-10); border: 0; margin: 0; }            /* hairline */
.hl--06 { background: var(--hl-06); } .hl--08 { background: var(--hl-08); } .hl--14 { background: var(--hl-14); } .hl--20 { background: var(--hl-20); }
.vl { width: 1px; background: var(--hl-10); flex: none; }                       /* vertical divider */

/* status pill «Все штатно» and the status dot */
.badge-ok { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; background: var(--ok-bg); color: var(--ok-text);
  font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }

/* mono eyebrow (Geist Mono 500 11/14 +6 % caps) */
.eyebrow { font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3); }

/* =====================================================================================================================
   BREADCRUMBS — logo › page (› page). Generated by tools/build.py from <body data-crumbs="…">.
   .crumbs--hero: the centred row at the top of an inner page's first screen (Figma: y 196, 13/20)
   ===================================================================================================================== */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; row-gap: 4px; font-size: 13px; line-height: 20px; letter-spacing: -0.001em; color: var(--t2); }
.crumbs__home { display: block; flex: none; align-self: flex-start; width: 18px; height: 18px; border-radius: 4px; overflow: hidden; margin-top: 1px; transition: opacity var(--t-fast) var(--ease); }
.crumbs__home img { width: 18px; height: 18px; }
.crumbs__home:focus-visible { opacity: 0.8; }
@media (hover: hover) and (pointer: fine) { .crumbs__home:hover { opacity: 0.8; } }
.crumbs__sep { color: var(--t5); margin: 0 8px 0 10px; }
.crumbs a.crumbs__item { transition: color var(--t-fast) var(--ease); }
.crumbs a.crumbs__item:focus-visible { color: var(--t1); }
@media (hover: hover) and (pointer: fine) { .crumbs a.crumbs__item:hover { color: var(--t1); } }
.crumbs--hero { justify-content: center; }
/* phone (≤ 600): the first-screen trail is 13/20 on every page (the 390 frames; the footer keeps its 14/20, footer.css); the logo
   and the links get 44 px hit boxes — invisible, nothing moves */
@media (max-width: 600px) {
  nav.crumbs.crumbs--hero { font-size: 13px; line-height: 20px; }
  .crumbs__home { position: relative; overflow: visible; border-radius: 0; }
  .crumbs__home img { border-radius: 4px; }
  .crumbs__home::after { content: ''; position: absolute; inset: -13px; }
  .crumbs a.crumbs__item { position: relative; }
  .crumbs a.crumbs__item::after { content: ''; position: absolute; top: -12px; bottom: -12px; left: -4px; right: -4px; }
}
/* the narrowest phones (< 360): the trail stays inside the gutters; a long one wraps by whole items, each item drawing its own
   chevron so that it moves down with it (a line never ends on a chevron) */
@media (max-width: 359px) {
  .crumbs { max-width: calc(100vw - 2 * var(--M)); }
  .crumbs--hero { margin-left: auto; margin-right: auto; }
  .crumbs > .crumbs__sep { display: none; }
  .crumbs__item { display: inline-flex; align-items: center; white-space: nowrap; }
  .crumbs__item::before { content: ''; flex: none; width: 14px; height: 14px; margin: 0 8px 0 10px; background: var(--t5);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.742857' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.742857' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
  .crumbs a.crumbs__item::after { left: 6px; }
}

/* =====================================================================================================================
   SEGMENTED SWITCHER — the CPU-line / period selectors: white 5 % track, r10, 4 px inset, 2 px gaps; the chosen
   segment white 11 %, r8. Behaviour: site.js [data-switch] (role=tablist / aria-selected, arrow keys, 'switch' event).
   <div class="seg" data-switch role="tablist"><button class="seg__btn" role="tab" aria-selected="true">…</button>…</div>
   ===================================================================================================================== */
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 0 4px; height: 44px; border-radius: 10px; background: var(--hl-05); }
.seg__btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; color: var(--t3);
  font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -0.002em; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.seg__btn:focus-visible { color: var(--t1); }
@media (hover: hover) and (pointer: fine) { .seg__btn:hover { color: var(--t1); } }
.seg__btn[aria-selected="true"], .seg__btn[aria-pressed="true"] { background: var(--hl-11); color: var(--t1); }
.seg--40 { height: 40px; } .seg--40 .seg__btn { height: 32px; padding: 0 14px; gap: 6px; }

/* =====================================================================================================================
   ACCORDION — the FAQ rows (divider 14 %, question 22/28, plus/minus 24 px; the answer 17/26 #A1A1A6).
   Behaviour: site.js [data-accordion] (single-open with data-accordion="single"); the panel height animates through a
   0fr → 1fr grid row, so nothing jumps.
   <div data-accordion="single"><div class="acc" data-acc-item>
     <h3><button class="acc__q" data-acc-trigger aria-expanded="false">Вопрос <span class="acc__ico">…plus/minus…</span></button></h3>
     <div class="acc__a" data-acc-panel><div class="acc__in"><p>Ответ</p></div></div></div></div>
   ===================================================================================================================== */
.acc__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; width: 100%; text-align: left; cursor: pointer; }
.acc__ico { position: relative; flex: none; width: 24px; height: 24px; color: var(--t2); transition: color var(--t-fast) var(--ease); }
.acc__ico .i { position: absolute; inset: 0; transition: opacity var(--t-med) var(--ease); }
.acc__ico .i-minus { opacity: 0; }
.acc__q[aria-expanded="true"] .acc__ico { color: var(--t1); }
.acc__q[aria-expanded="true"] .acc__ico .i-plus { opacity: 0; }
.acc__q[aria-expanded="true"] .acc__ico .i-minus { opacity: 1; }
.acc__q:focus-visible .acc__ico { color: var(--t1); }
@media (hover: hover) and (pointer: fine) { .acc__q:hover .acc__ico { color: var(--t1); } }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.acc__a > .acc__in { min-height: 0; overflow: hidden; }
.acc__a.is-open { grid-template-rows: 1fr; }
.acc__a > .acc__in > * { opacity: 0; transition: opacity 240ms var(--ease); }
.acc__a.is-open > .acc__in > * { opacity: 1; transition-delay: 60ms; }
@media (prefers-reduced-motion: reduce) { .acc__a, .acc__a > .acc__in > *, .acc__ico .i { transition: none; } }

/* =====================================================================================================================
   RENDERS — the Blender PNGs served as WebP 1x/2x (srcset) with explicit width/height; never CSS filters.
   Figma image fills are FILL + identity transform = cover, centred; .r-cover reproduces that in any box.
   ===================================================================================================================== */
.r-img { display: block; max-width: none; }
.r-cover { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.r-contain { width: 100%; height: 100%; object-fit: contain; }

/* =====================================================================================================================
   POPOVER — the site's small dropdown list (custom selects, the language menu, the main page's search suggestions).
   A vibrant dark surface (rgba(28,28,30,.78) + saturate 180 % blur 24 — allowed here: short-lived, small) with the site's
   rounding: panel r18 (= row r12 + 6 px inside), a white 8 % hairline, one soft shadow; rows 36 px (44 on touch / phones),
   Geist 15/20; groups separated by hairlines (.pop-sep) under mono caps labels.
   .pop--choice = a choice list styled like the site's switchers (the tariff line switcher): rows #A1A1A6, the chosen one
   ([aria-selected="true"] / [aria-current="true"]) white on a white 11 % pad r12, hover / keyboard highlight white text on 6 %.
     <div class="pop pop--choice" role="listbox">
       <div class="pop-item" role="option" aria-selected="true">
         <svg class="flag pop-item__ico" style="--sz:18"><use href="#f-ru"/></svg><span class="pop-item__tx">Москва</span></div>
       <div class="pop-sep" role="separator"></div> <p class="pop-label">Площадки</p> … <p class="pop-empty">Ничего не найдено</p></div>
   .pop-item.is-active = the keyboard / pointer highlight (6 %); :hover does the same unless the panel has .pop--managed (the
   script moves .is-active with the pointer itself). A plain .pop (search suggestions): rows white, the same 6 % highlight.
   .pop--float = an anchored popover that grows from its trigger and shrinks back to it (toggle .is-open: opacity + scale
   .98 → 1 in 170 ms ease-out; closing mirrors it in 140 ms; transform-origin = --pop-ox / top, .pop--up: bottom). The height cap
   is --pop-max (default 360 px), it scrolls inside. Place it 8 px under the control, never over the control.
   ===================================================================================================================== */
.pop { --pop-bg: rgba(28, 28, 30, 0.78); --pop-max: 360px;
  box-sizing: border-box; min-width: 160px; max-height: var(--pop-max); padding: 6px; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hl-08); border-radius: 18px; background: var(--pop-bg);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  color: var(--t1); text-align: left;
  font-family: var(--font); font-size: 15px; line-height: 20px; font-weight: 400; letter-spacing: -0.002em; }
.pop--grey { --pop-bg: rgba(36, 36, 38, 0.8); }
.pop-item { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 8px 12px; border-radius: 12px;
  color: var(--t1); text-decoration: none; cursor: default; user-select: none; -webkit-user-select: none;
  transition: background-color 120ms var(--ease), color 120ms var(--ease); }
.pop-item.is-active, .pop-item:focus-visible { background: rgba(255, 255, 255, 0.06); }
@media (hover: hover) and (pointer: fine) {
  .pop:not(.pop--managed) .pop-item:hover { background: rgba(255, 255, 255, 0.06); }
}
.pop-item[aria-disabled="true"] { color: var(--t5); }
.pop-item__ico { flex: none; color: var(--t2); }
.pop-item__tx { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-item__sub { color: var(--t3); }
.pop-item__meta { flex: none; margin-left: auto; font-size: 13px; line-height: 18px; color: var(--t3); }
.pop-item mark { background: none; color: var(--t-white); font-weight: 500; }
/* choice lists: grey rows, white on hover / keyboard, the chosen one white on the switcher's 11 % pad */
.pop--choice .pop-item { color: var(--t2); }
.pop--choice .pop-item.is-active, .pop--choice .pop-item:focus-visible { color: var(--t1); }
@media (hover: hover) and (pointer: fine) {
  .pop--choice:not(.pop--managed) .pop-item:hover { color: var(--t1); }
}
.pop--choice .pop-item[aria-selected="true"], .pop--choice .pop-item[aria-current="true"] { color: var(--t1); background: var(--hl-11); }
.pop-label { padding: 8px 12px 4px; font-family: var(--mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--t3); user-select: none; -webkit-user-select: none; }
.pop-empty { min-height: 36px; padding: 8px 12px; color: var(--t3); }
.pop-sep { height: 1px; margin: 6px 12px; background: var(--hl-10); }
@media (pointer: coarse), (max-width: 600px) {
  .pop-item, .pop-empty { min-height: 44px; padding-top: 12px; padding-bottom: 12px; }
}

/* the anchored popover: opacity + scale .98 → 1 from the trigger's point in 170 ms (ease-out); closing mirrors it back to the
   same point in 140 ms and only then hides (visibility) */
.pop--float { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(0.98); transform-origin: var(--pop-ox, 24px) 0;
  transition: opacity 140ms var(--ease), transform 140ms var(--ease), visibility 0s linear 140ms; }
.pop--float.pop--up { transform-origin: var(--pop-ox, 24px) 100%; }
.pop--float.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity 170ms var(--ease-out), transform 170ms var(--ease-out), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .pop--float { transform: none !important; } }

/* =====================================================================================================================
   CUSTOM SELECT — site.js enhances every <select> (not [multiple], not [size] > 1, not [data-native]): the native select
   stays where it is, in sync (forms, 'change' / 'input' events, programmatic .value), and still draws the closed control
   exactly as the page styles it; a transparent .sel-btn (role=combobox) over its box takes the pointer and the keyboard,
   and the list is a .pop--float appended to <body> (absolute, so it scrolls with the page; flips above the trigger when
   there is no room below, stays in the viewport, scrolls inside). Options: data-flag="ru" → a round flag before the text,
   data-sub="…" → a quiet second text, optgroups → .pop-label. The chevron next to the select (an svg with #i-chevron-down
   in the same parent) turns over while the list is open ([data-sel-open] on the parent).
   Two kinds of closed control, both supported without page changes:
   · a visible select (status «Что отслеживать»): the button repeats the select's own hover step as a white 2.7 % veil;
   · a transparent select over a page-drawn box (vps «Дата-центр»): the box keeps its own :hover, focus adds a 3.5 % veil.
   ===================================================================================================================== */
.sel-native { pointer-events: none; }
.sel-btn { position: absolute; inset: 0; z-index: 1; display: block; margin: 0; padding: 0; border: 0; background: transparent;
  color: inherit; font: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-user-select: none; user-select: none;
  transition: background-color var(--t-fast) var(--ease); }
.sel-btn:focus-visible, .sel-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.035); }
.sel-btn--tint:focus-visible, .sel-btn--tint[aria-expanded="true"] { background: rgba(255, 255, 255, 0.027); }
@media (hover: hover) and (pointer: fine) { .sel-btn--tint:hover { background: rgba(255, 255, 255, 0.027); } }
.sel-chev { transition: transform var(--t-med) var(--ease-out), color var(--t-fast) var(--ease); }
[data-sel-open] > .sel-chev { transform: rotate(180deg); color: var(--t1); }
.pop--sel { position: absolute; left: 0; top: 0; z-index: calc(var(--z-veil) + 5); width: max-content; cursor: default; }

/* the selected row never dims: it keeps its 11 % plate under the pointer, the keyboard highlight and focus (the generic
   hover rule above out-ranked it), and only brightens a touch to 13 % as feedback */
.pop.pop--choice .pop-item:is([aria-selected="true"], [aria-current="true"]) { color: var(--t1); background: var(--hl-11); }
.pop.pop--choice .pop-item:is([aria-selected="true"], [aria-current="true"]):focus-visible { background: rgba(255, 255, 255, 0.13); }
@media (hover: hover) and (pointer: fine) {
  .pop.pop--choice .pop-item:is([aria-selected="true"], [aria-current="true"]):hover { background: rgba(255, 255, 255, 0.13); }
}

/* Safari: a hidden popover must not keep a live backdrop blur (it is re-composited on every scroll even while invisible).
   The blur exists only while the list is open or closing (.is-open / .is-closing). */
.pop--float:not(.is-open):not(.is-closing) { -webkit-backdrop-filter: none; backdrop-filter: none; }
