:root {
  --bg: #07090d;
  --bg2: #0c1017;
  --card: #111722;
  --line: #1b2433;
  --text: #e9eef6;
  --muted: #8c99ad;
  --accent: #ff7a1a;
  --accent2: #ffb36b;
  --radius: 16px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 640px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(7, 9, 13, .72); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.logo--small { font-size: 18px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: #1a0e02; font: 600 15px/1 inherit; font-family: inherit;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255, 122, 26, .28); }
.btn:focus-visible, input:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--card); box-shadow: none; }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* hero */
.hero { padding: clamp(36px, 7vw, 84px) 0 clamp(30px, 5vw, 64px); background:
  radial-gradient(900px 480px at 78% 12%, rgba(255, 122, 26, .10), transparent 60%),
  radial-gradient(700px 400px at 8% 0%, rgba(80, 120, 255, .07), transparent 60%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #ff4d6d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 18px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 18px); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* просмотрщик */
.viewer { min-width: 0; background: linear-gradient(180deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.viewer__stage { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 584 / 480; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.viewer__stage:active { cursor: grabbing; }
#car { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viewer__loading { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; color: var(--muted); font-size: 14px; background: #000; transition: opacity .4s; }
.viewer__loading i { display: block; width: 160px; height: 3px; border-radius: 3px; background: #1a2230; overflow: hidden; position: relative; }
.viewer__loading i::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--accent); transition: width .2s; }
.viewer__loading.is-done { opacity: 0; pointer-events: none; }
.viewer__hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; font-size: 12px; color: #cfd8e6; background: rgba(0, 0, 0, .55); opacity: 1; transition: opacity .6s; pointer-events: none; white-space: nowrap; }
.viewer__hint.is-hidden { opacity: 0; }

.picker { padding: 16px 6px 6px; }
.picker__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.picker__title { font-weight: 700; }
.picker__value { color: var(--muted); font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .12s, border-color .12s; }
.sw:hover { transform: scale(1.1); }
.sw[aria-pressed="true"] { border-color: var(--text); }
.slider { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 12px; margin: 8px 0; font-size: 14px; color: var(--muted); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; height: 8px; border-radius: 8px; background: var(--line); outline-offset: 4px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
#hue { background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.picker__foot { display: flex; justify-content: flex-end; align-items: center; margin-top: 12px; font-size: 14px; color: var(--muted); }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { accent-color: var(--accent); width: 18px; height: 18px; }
.picker__note { font-size: 13px; }

.plate { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.plate[hidden] { display: none; }
.plate__row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 64px; gap: 8px; align-items: center; margin: 8px 0; font-size: 14px; color: var(--muted); }
.plate__text, .plate__reg { width: 100%; min-width: 0; min-height: 40px; padding: 0 14px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; text-align: center; }
.plate__text.is-bad { border-color: #ff8a8a; }
.plate__note { margin: 6px 0 0; font-size: 12px; color: #6b788d; }

.combo { position: relative; margin: 0 2px 12px; min-width: 0; }
.combo__input { width: 100%; min-height: 44px; padding: 0 40px 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 15px/1 inherit; font-family: inherit; outline: none; cursor: pointer; transition: border-color .15s; }
.combo__input:hover { border-color: #2a3750; }
.combo__input:focus { border-color: var(--accent); cursor: text; }
.combo__input::placeholder { color: var(--muted); font-weight: 500; }
.combo__arrow { position: absolute; top: 0; right: 0; width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--muted); cursor: pointer; transition: transform .15s; }
.combo.is-open .combo__arrow { transform: rotate(180deg); color: var(--accent); }
.combo__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 280px; overflow-y: auto; border-radius: 12px; border: 1px solid var(--line); background: #0d121b; box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.combo__opt { padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--muted); cursor: pointer; }
.combo__opt mark { background: none; color: var(--accent); font-weight: 700; }
.combo__opt.is-active { background: var(--card); color: var(--text); }
.combo__opt[aria-selected="true"] { color: var(--text); font-weight: 700; }
.combo__opt[aria-selected="true"]::after { content: "✓"; float: right; color: var(--accent); }
.combo__empty { padding: 10px 12px; font-size: 14px; color: #6b788d; }
.credit { margin: 10px 2px 0; font-size: 12px; color: #6b788d; }
.credit a { text-decoration: underline; }
.model .btn { margin-top: 14px; }

/* секции */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: var(--bg2); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps b { display: inline-grid; place-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 122, 26, .14); color: var(--accent); margin-bottom: 14px; }
.steps h3, .card h3, .model h3 { font-size: 19px; margin-bottom: 8px; }
.steps p, .card p, .model p { margin: 0; color: var(--muted); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; opacity: .7; }
.model--on { opacity: 1; border-color: rgba(255, 122, 26, .5); box-shadow: 0 0 0 1px rgba(255, 122, 26, .15) inset; }
.tag { display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(60, 200, 120, .14); color: #5fe0a0; }
.tag--soon { background: rgba(255, 255, 255, .07); color: var(--muted); }

/* форма */
.form { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 22px; }
.form__input { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; }
.form__input::placeholder { color: #566377; }
.form__msg { grid-column: 1 / -1; margin: 0; min-height: 24px; font-size: 14px; color: var(--muted); }
.form__msg.ok { color: #5fe0a0; } .form__msg.err { color: #ff8a8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .models { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plate__row { grid-template-columns: 84px minmax(0, 1fr) 56px; gap: 6px; }
  .plate__text, .plate__reg { padding: 0 8px; }
  .nav { gap: 16px; }
  .nav a:not(.btn):not(.nav__acc) { display: none; }
  .nav a.nav__acc { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-weight: 600; }
  .grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .slider { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Логотип и номер над моделью */
.viewer__top { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 10px 0 6px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.seg__opt span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--muted); text-align: center; transition: background .15s, color .15s, border-color .15s; }
.seg__opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #111; font-weight: 600; }
.seg__opt input:disabled + span { opacity: .4; }
.seg__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.top__row { grid-template-columns: auto; justify-content: start; }
.top__row2 { grid-template-columns: minmax(0, 1fr) 64px; }
.top__row[hidden], .top__row2[hidden] { display: none; }
.top__row .btn { white-space: nowrap; }
.plate__note.is-err { color: #ff8a8a; }
@media (max-width: 520px) { .seg { grid-template-columns: repeat(3, minmax(0, 1fr)); } .seg__opt span { font-size: 13px; padding: 0 4px; } .top__row2 { grid-template-columns: minmax(0, 1fr) 56px; } }

[hidden] { display: none !important; }
.tint { padding-top: 4px; }
.tint__note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

/* стоимость и реквизиты */
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.price__badge { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 122, 26, .14); border: 1px solid rgba(255, 122, 26, .45); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.price__name { font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.brand { font-weight: 800; letter-spacing: -.02em; }
.brand span { color: var(--accent); }
.price__line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 14px 0 0; }
.price__val { font-size: clamp(28px, 5vw, 38px); line-height: 1; letter-spacing: -.02em; color: var(--accent); white-space: nowrap; }
.price__old { font-size: clamp(18px, 2.6vw, 22px); color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price__when { margin: 12px 0 0; font-size: 16px; color: var(--text, #e9eef6); }
.price__when b { color: var(--accent); }
.price__note { margin: 14px 0 22px; color: var(--muted); font-size: 15px; max-width: 52ch; }
.reqs { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.reqs__h { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; color: var(--text); }
.reqs__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.reqs__list > div { min-width: 0; }
.reqs__list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.reqs__list dd { margin: 2px 0 0; color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.reqs__list > div:first-child { grid-column: 1 / -1; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.price-video { aspect-ratio: 1 / 1; width: 100%; max-width: 520px; justify-self: center; border-radius: 22px; overflow: hidden; background: #05070a; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.price-video video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-select: none; }
.price-video video::-webkit-media-controls { display: none !important; }
@media (max-width: 760px) { .price-grid { grid-template-columns: minmax(0, 1fr); } .price-video { max-width: 420px; } }

/* адрес в реквизитах занимает строку целиком */
.reqs__list > div:last-child:nth-child(5) { grid-column: 1 / -1; }

/* согласие у формы и ссылки на документы в подвале */
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.consent a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.foot__docs { margin: 16px 0 0; font-size: 14px; }
.foot__docs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot__docs a:hover { color: var(--text); }

/* Примеры: горизонтальная зацикленная лента, нажатие открывает видео на весь экран со звуком */
.exc { position: relative; }
.exc__track { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 2px 8px; cursor: grab; overscroll-behavior-x: contain; }
.exc__track::-webkit-scrollbar { display: none; }
.exc__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.exc__track.is-drag { cursor: grabbing; user-select: none; }
.exc__card { position: relative; flex: none; scroll-snap-align: center; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: block; -webkit-tap-highlight-color: transparent; }
.exc__card img, .exc__ph { display: block; height: clamp(260px, 46vw, 440px); width: auto; max-width: 82vw; aspect-ratio: auto 9 / 16; background: #05070a; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.exc__card img { pointer-events: none; }
.exc__ph { background: radial-gradient(circle at 50% 40%, #151b26, #05070a 70%); }
.exc__play { position: absolute; left: 50%; top: calc(clamp(260px, 46vw, 440px) / 2); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(8, 11, 16, .6); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(4px); transition: transform .15s, border-color .15s; }
.exc__play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.exc__card:hover .exc__play, .exc__card:focus-visible .exc__play { transform: scale(1.08); border-color: var(--accent); }
.exc__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.exc__cap { display: block; padding: 10px 14px 12px; color: var(--muted); font-size: 14px; line-height: 1.35; max-width: 100%; }
.exc__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 13, 19, .82); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; backdrop-filter: blur(6px); }
.exc__nav:hover { border-color: var(--accent); }
.exc__nav[hidden] { display: none; }
.exc__nav--prev { left: 8px; } .exc__nav--next { right: 8px; }
@media (hover: none) { .exc__nav { display: none; } }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .96); display: flex; align-items: center; justify-content: center; }
.lb video { max-width: 100vw; max-height: 100vh; max-height: 100dvh; width: auto; height: auto; background: #000; outline: none; }
.lb__x { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .55); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 0 3px; z-index: 2; }
.lb__x:hover { border-color: var(--accent); }

/* Брелок: модель на экране корпуса, цепь справа уходит за край окна. Все размеры в процентах от ширины корпуса (картинка 414x351, экран 350x286 со скруглением 36). */
.hero { overflow-x: clip; }
.viewer { position: relative; z-index: 1; }   /* свой слой ниже шапки (.top z-index 10): список, цепь и корпус внутри не перекрывают шапку при прокрутке */
.viewer .combo { z-index: 30; margin-bottom: 8px; }
.kc__scene { position: relative; width: 100%; aspect-ratio: 414 / 351; margin: 0 0 4px; }
.kc__glow { position: absolute; left: 40%; top: -6%; width: 110%; height: 110%; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 172, 205, .26), rgba(150, 172, 205, 0)); filter: blur(8px); pointer-events: none; }
.kc__shadow { position: absolute; left: 3%; right: 3%; bottom: -2%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); pointer-events: none; }
.kc__chain { position: absolute; z-index: 3; left: 90.2%; top: -14.2%; width: 95%; height: auto; user-select: none; pointer-events: none; }
.kc__case { position: absolute; z-index: 4; inset: 0; }
.kc__body { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); user-select: none; pointer-events: none; }
.viewer__stage.kc__screen { position: absolute; aspect-ratio: auto; left: calc(32 / 414 * 100%); top: calc(33 / 351 * 100%); width: calc(350 / 414 * 100%); height: calc(286 / 351 * 100%); border-radius: calc(36 / 350 * 100%) / calc(36 / 286 * 100%); }
.kc__screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 18px rgba(0, 0, 0, .75); background: linear-gradient(115deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 32%); z-index: 2; }
.kc__screen #car, .kc__screen .viewer__top { object-fit: cover; transform: scale(1.05); transform-origin: 50% 54%; }   /* кадр сайта 584x480 с полями: на экране брелка увеличиваем. Все модели сняты одной камерой, машина занимает 79-80 % ширины кадра, при 1.05 это ~83 % экрана (отступ ~8 % с каждой стороны) */
.kc__screen .viewer__loading, .kc__screen .viewer__hint { z-index: 3; }
@media (max-width: 960px) { .kc__scene { max-width: 520px; margin-left: auto; margin-right: auto; } }
@media (max-width: 560px) { .kc__scene { width: 80%; max-width: none; margin-left: 0; margin-right: auto; } }

/* Свой цвет кузова: поле HEX рядом с готовыми цветами и ползунками */
.hexrow { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 12px; margin: 8px 0 4px; font-size: 14px; color: var(--muted); }
.hexrow__box { position: relative; display: block; max-width: 220px; }
.hexrow__dot { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
.hexrow__input { width: 100%; min-height: 42px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; outline: none; transition: border-color .15s; }
.hexrow__input:hover { border-color: #2a3750; }
.hexrow__input:focus { border-color: var(--accent); }
.hexrow__input[aria-invalid="true"] { border-color: #ff8a8a; }
.hexrow__note { margin: 0 0 6px 122px; font-size: 13px; color: #ff8a8a; }
@media (max-width: 560px) { .hexrow { grid-template-columns: 96px minmax(0, 1fr); } .hexrow__note { margin-left: 108px; } }
