/* ==========================================================================
   Jeffie: "deal cards". Navy hero, white cards, one orange accent.
   ========================================================================== */

:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --card-tint: #fffaf2;
  --ink: #0f1111;
  --muted: #5f6b7a;
  --faint: #9aa3ad;
  --line: #e6e8eb;
  --track: #f1f3f5;
  --bar: #c9d2dc;
  --bar-2: #aab6c3;
  --navy: #232f3e;
  --navy-2: #131921;
  --navy-3: #37475a;
  --orange: #ff9900;
  --orange-hover: #ffad33;
  --orange-ink: #c45500;
  --orange-soft: #fff3e0;
  --green: #067d62;
  --green-bg: #e6f4ef;
  --red: #b12704;
  --shimmer: rgba(15, 17, 17, 0.06);
  --shadow: 0 1px 2px rgba(15, 17, 17, 0.06), 0 12px 32px -12px rgba(15, 17, 17, 0.18);
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Inter, Roboto, 'Helvetica Neue', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0d1117;
    --card: #161c25;
    --card-tint: #1c2029;
    --ink: #eef1f5;
    --muted: #9aa5b4;
    --faint: #5d6878;
    --line: #262f3c;
    --track: #1f2733;
    --bar: #3a4657;
    --bar-2: #4a5769;
    --navy: #161e2a;
    --navy-2: #0b0f15;
    --navy-3: #1f2a39;
    --orange-ink: #ffb347;
    --orange-soft: rgba(255, 153, 0, 0.14);
    --green: #3ccf9c;
    --green-bg: rgba(60, 207, 156, 0.12);
    --red: #ff7a66;
    --shimmer: rgba(255, 255, 255, 0.06);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #0d1117;
  --card: #161c25;
  --card-tint: #1c2029;
  --ink: #eef1f5;
  --muted: #9aa5b4;
  --faint: #5d6878;
  --line: #262f3c;
  --track: #1f2733;
  --bar: #3a4657;
  --bar-2: #4a5769;
  --navy: #161e2a;
  --navy-2: #0b0f15;
  --navy-3: #1f2a39;
  --orange-ink: #ffb347;
  --orange-soft: rgba(255, 153, 0, 0.14);
  --green: #3ccf9c;
  --green-bg: rgba(60, 207, 156, 0.12);
  --red: #ff7a66;
  --shimmer: rgba(255, 255, 255, 0.06);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  transition: background-color 0.25s ease;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 153, 0, 0.6);
  outline-offset: 2px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.flag {
  display: block;
  flex: none;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.skeleton {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--shimmer) 0 40%, transparent 50%, var(--shimmer) 60%) 0 0 / 300% 100%;
  animation: shimmer 1.3s linear infinite;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -50% 0;
  }
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), var(--navy) 60%, var(--navy-3));
  padding: 18px 0 100px;
  transition: padding 0.4s var(--ease);
}

.hero::after {
  content: '';
  position: absolute;
  right: -140px;
  top: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.33), transparent 65%);
  pointer-events: none;
}

.hero .wrap {
  z-index: 1;
}

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-space {
  flex: 1;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-mark {
  display: block;
  transform-origin: 50% 80%;
  transition: transform 0.35s var(--ease);
}

.logo:hover .logo-mark,
.logo:focus-visible .logo-mark {
  transform: rotate(-8deg) scale(1.08);
}

.logo b {
  color: var(--orange);
}

.pills {
  display: flex;
  gap: 6px;
}

.pill {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.pill[aria-pressed='true'] {
  background: #fff;
  border-color: #fff;
  color: #0f1111;
}

.pill-icon {
  padding: 0;
  width: 30px;
  min-width: 30px;
  margin-left: 4px;
}

.icon-sun {
  display: none;
}
:root[data-theme='dark'] .icon-sun {
  display: block;
}
:root[data-theme='dark'] .icon-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .icon-sun {
    display: block;
  }
  :root:not([data-theme='light']) .icon-moon {
    display: none;
  }
}

.hero-copy h1 {
  margin: 44px 0 8px;
  max-width: 760px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-copy em {
  font-style: normal;
  color: var(--orange);
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.search {
  margin-top: 26px;
  display: flex;
  max-width: 760px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.2s;
}

.search:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.55), 0 20px 40px -20px rgba(0, 0, 0, 0.55);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: #0f1111;
  background: transparent;
  outline: none;
}

.search input::placeholder {
  color: #8a94a0;
}

.search-btn {
  flex: none;
  border: 0;
  border-radius: 10px;
  padding: 0 26px;
  background: var(--orange);
  color: #0f1111;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-btn:hover {
  background: var(--orange-hover);
}

.search-btn[aria-busy='true'] {
  cursor: progress;
  background: linear-gradient(90deg, var(--orange) 0 40%, #ffc266 50%, var(--orange) 60%) 0 0 / 300% 100%;
  animation: shimmer 1.2s linear infinite;
}

.search-error {
  max-width: 760px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 107, 94, 0.15);
  color: #ffd1cb;
  font-size: 14px;
}

.search-hint {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.search-hint kbd {
  font: 12px ui-monospace, 'SF Mono', Menlo, monospace;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  padding: 0 6px;
}

/* Compact hero once results are shown */
.has-results .hero {
  padding-bottom: 86px;
}
.has-results .hero-copy,
.has-results .search-hint {
  display: none;
}
.has-results .search {
  margin-top: 22px;
}

/* ---------- Cards ---------- */

main {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding-bottom: 40px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 6px 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--orange-ink);
}

/* Landing */

.landing {
  display: grid;
  gap: 22px;
  animation: up 0.6s var(--ease) both;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 26px 28px;
}

.step {
  display: flex;
  gap: 14px;
}

.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange-ink);
  font-weight: 800;
}

.step b {
  display: block;
  font-size: 15px;
}

.step p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.recents {
  padding: 22px 28px 12px;
}

.recents-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.recent {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}

.recent:hover .recent-title {
  color: var(--orange-ink);
}

.recent-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.recent-thumb img {
  max-width: 85%;
  max-height: 85%;
}

.recent-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.recent-best {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Deal card ---------- */

.results {
  animation: up 0.6s var(--ease) both;
}

.deal {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  overflow: hidden;
  min-height: 320px;
}

.progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1;
  transition: opacity 0.5s ease 0.5s;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 0.4s var(--ease);
}

.progress.is-done {
  opacity: 0;
}

.deal-img {
  display: grid;
  place-items: center;
  padding: 26px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.deal-img img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: contain;
  animation: up 0.5s var(--ease) both;
}

.deal-img.is-loading::before {
  content: '';
  width: 70%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(15, 17, 17, 0.05) 0 40%, transparent 50%, rgba(15, 17, 17, 0.05) 60%) 0 0 / 300% 100%;
  animation: shimmer 1.3s linear infinite;
}

.deal-main {
  padding: 28px 30px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--orange-soft);
  color: var(--orange-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge.is-muted {
  background: var(--track);
  color: var(--muted);
}

.deal-title {
  margin: 14px 0 4px !important;
  font-size: 22px !important;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-title.is-loading {
  height: 26px;
  width: 75%;
  color: transparent;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--shimmer) 0 40%, transparent 50%, var(--shimmer) 60%) 0 0 / 300% 100%;
  animation: shimmer 1.3s linear infinite;
}

.deal-asin {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.rail {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: border-color 0.3s, background-color 0.3s, opacity 0.3s;
}

.chip.is-best {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.chip.is-off {
  color: var(--faint);
  border-style: dashed;
  font-weight: 500;
}

.chip.is-off .flag {
  filter: grayscale(1);
  opacity: 0.5;
}

.chip.is-pending .skeleton {
  width: 54px;
  height: 12px;
}

.chip.is-new {
  animation: pop 0.45s var(--ease);
}

@keyframes pop {
  40% {
    transform: scale(1.07);
  }
}

.new-search {
  margin-top: auto;
  padding-top: 16px;
  align-self: flex-start;
}

/* Buy panel */

.buy {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-tint), var(--card));
}

.buy > * {
  animation: up 0.45s var(--ease) both;
}

.buy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.buy-label .flag {
  width: 26px;
  height: 17px;
}

.buy-country {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.big {
  display: flex;
  align-items: flex-start;
  margin-top: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.big .sym {
  font-size: 22px;
  margin: 8px 2px 0 0;
  font-weight: 700;
}

.big .int {
  font-size: 62px;
}

.big .dec {
  font-size: 22px;
  margin: 8px 0 0 2px;
}

.big.is-sym-after .sym {
  order: 3;
  margin: 8px 0 0 6px;
}

.buy-local {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.save {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 14px;
  line-height: 1.4;
}

.save b {
  font-size: 17px;
}

.save.is-neutral {
  background: var(--track);
  color: var(--muted);
}

.btn {
  display: block;
  margin-top: auto;
  padding: 13px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #0f1111;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(255, 153, 0, 0.7);
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.buy-spacer {
  flex: 1;
  min-height: 18px;
}

.buy .link-btn {
  align-self: center;
  margin-top: 6px;
}

.buy-checking {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.buy .skeleton.is-big {
  width: 170px;
  height: 56px;
  margin-top: 14px;
}

.buy .skeleton.is-line {
  width: 120px;
  height: 18px;
  margin-top: 8px;
}

.buy-empty-title {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.buy-empty-body {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.buy-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--track);
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

/* ---------- Bars + availability ---------- */

.grid2 {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.sec {
  padding: 24px 26px;
}

.sec-sub {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.bars {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brow {
  background: var(--card);
}

.brow-link {
  display: grid;
  grid-template-columns: 22px minmax(120px, 168px) 1fr 92px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  text-decoration: none;
}

.brow-link:hover .brow-name {
  color: var(--orange-ink);
}

.brow-name {
  min-width: 0;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.3;
  transition: color 0.2s;
}

.brow-name small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track {
  position: relative;
  height: 28px;
  border-radius: 7px;
  background: var(--track);
  overflow: hidden;
}

.track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--bar), var(--bar-2));
  transition: width 0.8s var(--ease);
}

.brow.is-best .track i {
  background: linear-gradient(90deg, #ffb340, var(--orange));
}

.track span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 17, 17, 0.72);
}

.brow.is-pending .track {
  background: linear-gradient(90deg, var(--shimmer) 0 40%, transparent 50%, var(--shimmer) 60%) 0 0 / 300% 100%;
  animation: shimmer 1.3s linear infinite;
}

.brow.is-pending .brow-name,
.brow.is-pending .flag {
  opacity: 0.5;
}

.brow-price {
  text-align: right;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.brow-price small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}

.brow.is-best .brow-price small {
  color: var(--green);
}

.brow-price .skeleton {
  width: 70px;
  height: 16px;
  margin-left: auto;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  animation: up 0.4s var(--ease) both;
  transition: border-color 0.2s;
}

.tile:hover {
  border-color: var(--faint);
}

.tile .flag {
  width: 26px;
  height: 17px;
  filter: grayscale(1);
  opacity: 0.55;
}

.tile b {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.tile span {
  font-size: 12px;
  color: var(--muted);
}

.tile.is-blocked span,
.tile.is-error span {
  color: var(--red);
}

.tiles-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--track);
  color: var(--muted);
  font-size: 13px;
}

.facts {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.facts div {
  font-size: 12px;
  color: var(--muted);
}

.facts b {
  display: block;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Footer, toast ---------- */

.foot {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.foot p {
  margin: 4px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy-2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .deal {
    grid-template-columns: 220px 1fr;
  }
  .buy {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding-bottom: 84px;
  }
  .hero-copy h1 {
    margin-top: 30px;
  }
  .search {
    flex-direction: column;
    gap: 6px;
  }
  .search-btn {
    padding: 13px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .deal {
    grid-template-columns: 1fr;
  }
  .deal-img {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .deal-img img {
    max-width: 150px;
  }
  .deal-main {
    padding: 22px 20px 16px;
  }
  .deal-title {
    font-size: 19px !important;
  }
  .buy {
    padding: 22px 20px;
  }
  .sec {
    padding: 20px;
  }
  .brow-link {
    grid-template-columns: 22px 1fr 84px;
    grid-template-areas: 'flag name price' 'track track track';
    gap: 6px 10px;
    padding: 10px 0;
  }
  .brow-link > .flag {
    grid-area: flag;
  }
  .brow-name {
    grid-area: name;
  }
  .brow-link .track {
    grid-area: track;
    height: 10px;
  }
  .brow-link .track span {
    display: none;
  }
  .brow-price {
    grid-area: price;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
