:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101511;
  color: #eef3ea;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #253226 0, #101511 42%); }
button, input { font: inherit; }
.shell { width: min(760px, 100%); margin: 0 auto; padding: max(32px, env(safe-area-inset-top)) 18px 48px; }
.eyebrow { margin: 0 0 12px; color: #a9ba84; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; max-width: 620px; font-size: clamp(34px, 9vw, 62px); line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 590px; margin: 18px 0 28px; color: #b8c0b5; font-size: 17px; line-height: 1.5; }
.search { display: grid; grid-template-columns: 1fr 50px auto; gap: 8px; padding: 7px; background: #f1f4ed; border-radius: 18px; box-shadow: 0 18px 60px #0007; }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0 10px; background: transparent; color: #121712; font-size: 17px; }
.search button { border: 0; border-radius: 12px; cursor: pointer; }
.mic { --progress: 0; position: relative; display: grid; place-items: center; overflow: hidden; background: #d9dfd2; color: #313b2b; font-size: 20px; }
.mic.listening { background: conic-gradient(#e0624f calc(var(--progress) * 1turn), #d9dfd2 0); color: white; }
.mic.listening::before { content: ""; position: absolute; inset: 4px; border-radius: 9px; background: #b94739; }
.mic span { position: relative; z-index: 1; min-width: 2ch; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; }
.submit { padding: 0 18px; background: #9fb76b; color: #11170e; font-weight: 800; }
.options { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 14px 4px 24px; color: #9da79a; font-size: 13px; }
.options label { cursor: pointer; }
.results { display: grid; gap: 12px; }
.card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; border: 1px solid #ffffff14; border-radius: 18px; background: #1a211bdd; box-shadow: 0 10px 32px #0003; }
.card:first-child { border-color: #9fb76b88; background: #202a20; }
.icon { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #111711; }
.item-heading { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.item-name { margin: 0; font-size: 18px; line-height: 1.25; }
.tier { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; background: #3a4238; color: white; font-weight: 900; box-shadow: inset 0 0 0 1px #ffffff20; }
.tier-s { background: #c89535; color: #171107; }
.tier-a { background: #a75050; }
.tier-b { background: #6f5da8; }
.tier-c { background: #4d719c; }
.tier-d { background: #4d8063; }
.tier-e { background: #66705f; }
.tier-f { background: #4e524c; color: #c6cbc3; }
.tier-unranked { background: #303630; color: #838b80; }
.prices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.price-label { display: block; color: #899285; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.price-value { display: block; margin-top: 2px; font-weight: 800; }
.empty { padding: 24px; text-align: center; color: #aeb7aa; border: 1px dashed #ffffff25; border-radius: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .8; } }
@media (max-width: 480px) {
  .search { grid-template-columns: 1fr 48px; }
  .submit { grid-column: 1 / -1; height: 46px; }
}
