:root {
  --background: #0b0e0d;
  --foreground: #f3f7f5;
  --card: #131916;
  --card-foreground: #f3f7f5;
  --popover: #131916;
  --primary: #20d9aa;
  --primary-foreground: #06291f;
  --brand: #20d9aa;
  --ring: #20d9aa;
  --teal: #20d9aa;
  --muted-foreground: #9baaa3;
}
html { scroll-behavior: smooth; }
body { font-family: Inter, Arial, sans-serif; }
[hidden] { display: none !important; }
.eurivo-brand-link, .eurivo-brand-lockup { display: inline-flex; align-items: center; flex-shrink: 0; }
.eurivo-brand { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; font-size: 32px; line-height: 1; user-select: none; }
.eurivo-initial { display: block; width: 1.04em; height: 1.04em; object-fit: contain; flex-shrink: 0; margin-right: -.065em; }
.eurivo-tail { display: block; font-weight: 650; letter-spacing: -.055em; line-height: 1; color: #e7eeea; background: linear-gradient(175deg, #ffffff 10%, #c3cdc8 52%, #f5f9f7 64%, #b4c9be 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
footer .eurivo-brand { font-size: 32px; }
.language-control { display: flex; align-items: center; gap: 6px; height: 36px; border: 1px solid var(--border); background: #ffffff05; border-radius: 10px; padding: 0 9px; color: var(--muted-foreground); }
.language-control svg { width: 15px; height: 15px; flex-shrink: 0; }
.language-control select { width: 53px; border: 0; outline: 0; background: transparent; color: var(--foreground); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.language-control option { background: var(--card); color: var(--foreground); }
.language-control:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.eurivo-mobile-nav { border-top: 1px solid var(--border); padding: 8px 16px 16px; background: var(--background); }
.eurivo-mobile-nav a { display: block; padding: 10px 12px; font-size: 15px; border-radius: 8px; }
.eurivo-mobile-nav a:hover { background: #ffffff08; }
.exchange-card { position: relative; border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: 0 25px 80px -35px #20d9aa22; }
.exchange-card::before { content: ""; position: absolute; height: 1px; inset: -1px 32px auto; background: linear-gradient(90deg, transparent, #20d9aa88, transparent); }
.exchange-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: #0b0e0d99; margin-bottom: 20px; }
.exchange-tabs button { height: 36px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted-foreground); transition: background .15s, color .15s; }
.exchange-tabs button:hover { color: var(--foreground); }
.exchange-tabs button[aria-selected="true"] { background: #ffffff0e; color: var(--foreground); box-shadow: 0 1px 4px #0003; }
.amounts { position: relative; display: flex; flex-direction: column; gap: 8px; }
.amount-box { background: #0b0e0d66; border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.amount-label { color: var(--muted-foreground); font-size: 12px; font-weight: 500; }
.amount-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.amount-value { min-width: 0; flex: 1; font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
input.amount-value { background: transparent; color: var(--foreground); outline: none; width: 0; border: 0; }
input.amount-value:focus { box-shadow: 0 2px 0 -1px var(--brand); }
#receive-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.currency-select, .location-select { color: var(--foreground); border: 1px solid var(--border); border-radius: 12px; background: var(--background); padding: 0 12px; height: 48px; font-size: 14px; outline: none; }
.currency-select { width: 100px; flex-shrink: 0; }
.location-select { width: 100%; }
select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
select option { background: var(--card); }
.swap-button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--card); color: var(--muted-foreground); z-index: 1; transition: color .15s, border-color .15s; }
.swap-button:hover { color: var(--brand); border-color: var(--brand); }
.swap-button svg { width: 16px; height: 16px; }
.rate-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 12px; font-size: 11px; color: var(--muted-foreground); margin: 12px 2px 0; }
.rate-number { color: var(--foreground); font-weight: 500; }
.rate-type { margin-left: 7px; opacity: .8; }
.rate-time { display: inline-flex; align-items: center; gap: 4px; }
.rate-time svg { width: 12px; height: 12px; }
.rate-stale { color: #d9ad62; }
.bonus-breakdown { margin-top: 12px; border: 1px solid #20d9aa40; border-radius: 12px; padding: 12px 16px; background: #20d9aa0c; font-size: 13px; }
.bonus-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.bonus-breakdown dt { color: var(--muted-foreground); }
.bonus-breakdown dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bonus-breakdown .total-row { border-top: 1px solid #20d9aa33; margin-top: 5px; padding-top: 7px; font-weight: 600; }
.bonus-amount { color: var(--brand); font-weight: 500; }
.bonus-badge { display: inline-block; color: var(--brand); border: 1px solid #20d9aa66; background: #20d9aa20; border-radius: 5px; padding: 2px 5px; font-size: 11px; font-weight: 600; margin-left: 5px; }
.location-fields { display: grid; gap: 12px; margin-top: 16px; }
.location-fields.has-city { grid-template-columns: 1fr 1fr; }
.location-fields label { display: block; color: var(--muted-foreground); font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.location-select:disabled { opacity: .55; cursor: not-allowed; }
.exchange-continue { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border-radius: 12px; background: var(--brand); color: var(--primary-foreground); font-size: 15px; font-weight: 650; margin-top: 20px; box-shadow: 0 8px 28px -12px #20d9aa99; transition: background .15s; }
.exchange-continue:hover { background: #41e6bb; }
.exchange-note { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 12px; color: var(--muted-foreground); text-align: center; font-size: 11px; line-height: 1.5; }
.exchange-note svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; }
.amount-error { color: #ff9295; font-size: 12px; margin: 8px 2px 0; }
#contact-notice { position: fixed; bottom: 85px; right: 20px; width: min(380px, calc(100% - 40px)); border: 1px solid #20d9aa44; border-radius: 14px; background: #14221def; box-shadow: 0 10px 40px #0008; color: var(--foreground); padding: 16px 20px; font-size: 13px; line-height: 1.6; z-index: 70; backdrop-filter: blur(16px); }
.noscript-notice { padding: 20px; text-align: center; background: var(--card); }
@media (max-width: 767px) {
  header .eurivo-brand { font-size: 28px; }
  .language-control { height: 34px; padding: 0 7px; }
  .language-control select { width: 48px; }
  .exchange-card { padding: 20px; }
  .exchange-tabs button { font-size: 12px; }
  .amount-value { font-size: 24px; }
  .currency-select { width: 92px; }
  .location-fields.has-city { grid-template-columns: 1fr; }
  .bonus-breakdown { padding: 10px 12px; font-size: 12px; }
  #contact-notice { bottom: 88px; right: 16px; }
}
@media (min-width: 768px) { .eurivo-mobile-nav { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Native accessible language picker, with a clean two-letter display. */
.language-control { position: relative; min-width: 75px; gap: 7px; }
.language-control select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#language-code { color: var(--foreground); font-size: 12px; font-weight: 500; }
.language-control::after { content: ""; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
@media (max-width: 359px) {
  header .eurivo-brand { font-size: 25px; }
  header .language-control { min-width: 67px; gap: 5px; }
  header a[target="_blank"] { padding-inline: 8px; font-size: 12px; }
}
