:root {
  color-scheme: dark;
  --base: #111115;
  --surface: #19191e;
  --line: #33333c;
  --ink: #f5f5f1;
  --muted: #b4b4c0;
  --accent: #dfff64;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse 700px 460px at 82% 10%, #22231e, transparent 82%), var(--base); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button, a, select, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.shell { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.top { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-size: 22px; font-weight: 810; letter-spacing: -.055em; }
.mark { background: var(--accent); color: #171911; border-radius: 9px; width: 34px; height: 34px; display: grid; place-items: center; }
.accent { color: var(--accent); }
.nav { display: inline-flex; gap: 9px; align-items: center; color: var(--muted); font-size: 14px; text-decoration: none; }
.nav:hover, .text-link:hover { color: var(--accent); }
.nav svg { width: 15px; }
.hero { padding: clamp(45px, 7vw, 83px) 0 37px; }
.eyebrow, .kicker { margin: 0; color: var(--muted); font: 700 11px/1.45 var(--mono); letter-spacing: .115em; }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px #dfff6488; }
h1 { font-size: clamp(56px, 9vw, 116px); letter-spacing: -.092em; line-height: .91; font-weight: 850; margin: 20px 0; }
h1 span { color: var(--accent); }
.intro { margin: 22px 0 0; color: var(--muted); max-width: 475px; font-size: clamp(16px, 2vw, 19px); }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; align-items: start; }
.card { padding: clamp(19px, 3vw, 31px); background: var(--surface); border: 1px solid var(--line); border-radius: 19px; min-height: 355px; }
h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.12; letter-spacing: -.045em; margin: 10px 0 23px; }
label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 690; }
.input-wrap { display: flex; align-items: center; gap: 9px; background: var(--base); border: 1px solid var(--line); border-radius: 9px; padding: 0 11px; color: var(--muted); }
.input-wrap:focus-within { border-color: var(--accent); }
input { display: block; min-width: 0; width: 100%; height: 47px; background: transparent; color: var(--ink); border: 0; outline: none; font-size: 16px; }
input::placeholder { color: #a2a2ad; }
.device-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
#package-field { grid-column: 1 / -1; }
.search-button { margin-top: 13px; width: 100%; }
select, .primary { border-radius: 9px; min-height: 46px; }
select { width: 100%; border: 1px solid var(--line); background: var(--base); color: var(--ink); font-size: 14px; padding-inline: 9px 24px; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--accent); background: var(--accent); color: #151812; padding: 0 13px; font-size: 14px; font-weight: 800; text-decoration: none; }
.primary:hover { background: #eeffa7; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin-top: 19px; }
.examples span { margin-right: 2px; }
.examples button, .small-button { background: transparent; border: 1px solid #464650; border-radius: 7px; color: var(--ink); font-size: 12px; padding: 6px 8px; }
.examples button:hover, .small-button:hover { border-color: var(--accent); color: var(--accent); }
.error { font-size: 13px; color: #ffaaa8; margin-bottom: 0; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.indicator { background: #262630; color: #d5d5e1; border-radius: 999px; padding: 4px 9px; font: 650 11px/1.45 var(--mono); }
.indicator[data-state="found"] { background: #2c3520; color: var(--accent); }
.empty { text-align: center; padding: 39px 10px 18px; color: var(--muted); }
.empty-icon { display: inline-grid; place-items: center; width: 51px; height: 51px; border: 1px dashed #696975; border-radius: 12px; }
.empty-icon svg { width: 24px; height: 24px; }
.empty h2 { color: var(--ink); margin: 14px 0 8px; font-size: 22px; }
.empty p { margin: 0 auto; max-width: 270px; font-size: 14px; }
.result-content { padding-top: 15px; }
.result-content h2 { margin: 5px 0 9px; overflow-wrap: anywhere; }
.result-content p { color: var(--muted); margin: 7px 0 13px; font-size: 14px; }
.version { font-family: var(--mono); overflow-wrap: anywhere; }
.asset { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; margin-top: 9px; }
.asset > div { min-width: 0; flex: 1 1 170px; }
.asset strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.asset small { display: block; color: var(--muted); font-size: 12px; }
.asset .primary { min-height: 38px; }
details.more { margin-top: 10px; }
details.more summary { padding: 6px 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 12px; font-size: 13px; }
.text-link svg { width: 14px; }
.maintainers { border-top: 1px solid var(--line); margin-top: 37px; padding: 27px 0 36px; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; }
.maintainers h2 { margin: 7px 0; }
.maintainers p:not(.kicker) { color: var(--muted); font-size: 14px; margin: 0; max-width: 390px; }
.maintainers details { border: 1px solid var(--line); border-radius: 11px; }
.maintainers summary { padding: 13px; display: flex; justify-content: space-between; gap: 9px; align-items: center; font-size: 14px; font-weight: 750; list-style: none; }
.maintainers summary::-webkit-details-marker { display: none; }
.maintainers details[open] summary svg { transform: rotate(90deg); }
.workflow { padding: 0 13px 13px; font-size: 13px; color: var(--muted); }
.workflow ol { margin: 0 0 12px; padding-left: 20px; }
.workflow li + li { margin-top: 6px; }
.workflow code { overflow-wrap: anywhere; color: var(--ink); }
.small-button { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.small-button svg { width: 15px; height: 15px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 17px 0 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-separator { color: var(--accent); margin-inline: 4px; }
@media (max-width: 740px) {
  .shell { width: calc(100% - 32px); }
  .top { height: 60px; }
  .workspace, .maintainers { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .result { min-height: 250px; }
  .empty { padding-top: 26px; }
}
@media (max-width: 360px) {
  .device-options { grid-template-columns: 1fr; }
  .primary { width: 100%; }
}
