:root {
  color-scheme: dark;
  --bg: #050607;
  --surface: #111315;
  --surface-2: #171a1f;
  --surface-3: #1d2229;
  --line: #282d34;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #8d99aa;
  --blue: #4b8dff;
  --cyan: #11d7c5;
  --green: #00c48a;
  --red: #ff4f57;
  --amber: #f6c35b;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.bank-rates-disabled .detail-bank-panel,
.bank-rates-disabled .bank-rate-panel,
.bank-rates-disabled a[href*="banka-kurlari"],
.bank-rates-disabled [data-current="banka"] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

.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;
}

body {
  min-width: 320px;
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at top center, rgba(25, 42, 57, 0.42), transparent 360px),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html.legal-html,
html:has(.legal-body),
html:has(.legal-page),
.legal-body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.site-scroll-root {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: relative;
  top: auto;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 8, 0.92);
  backdrop-filter: blur(16px);
}

.ticker-strip {
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ticker-strip::-webkit-scrollbar {
  display: none;
}

.ticker-inner {
  display: grid;
  grid-template-columns: repeat(9, minmax(130px, 1fr));
  max-width: 1250px;
  margin: 0 auto;
}

.ticker-item {
  display: block;
  min-height: 70px;
  padding: 11px 18px 10px;
  border-left: 1px solid var(--line-soft);
  transition: background 160ms ease;
}

.ticker-item:hover {
  background: rgba(75, 141, 255, 0.08);
}

.ticker-item:last-child {
  border-right: 1px solid var(--line-soft);
}

.ticker-item .name {
  display: block;
  color: #6fa4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticker-item strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.05;
}

.ticker-item .change,
.quote-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.ticker-item.down .change,
.quote-change.down {
  color: var(--red);
}

.market-tile.flash-up {
  animation: liveFlashUp 760ms ease-out;
}

.market-tile.flash-down {
  animation: liveFlashDown 760ms ease-out;
}

.market-tile.flash-flat {
  animation: liveFlashFlat 760ms ease-out;
}

.market-tile.flash-up .market-value,
.market-tile.flash-up .market-change {
  animation: valuePopUp 760ms ease-out;
}

.market-tile.flash-down .market-value,
.market-tile.flash-down .market-change {
  animation: valuePopDown 760ms ease-out;
}

.market-tile.flash-flat .market-value,
.market-tile.flash-flat .market-change {
  animation: valuePopFlat 760ms ease-out;
}

@keyframes liveFlashUp {
  0% {
    background: rgba(0, 196, 138, 0);
    box-shadow: inset 0 0 0 1px rgba(0, 196, 138, 0);
  }
  18% {
    background: color-mix(in srgb, var(--market-flash-up-color, #00c48a) 26%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--market-flash-up-color, #00c48a) 62%, transparent), 0 0 22px color-mix(in srgb, var(--market-flash-up-color, #00c48a) 24%, transparent);
  }
  46% {
    background: color-mix(in srgb, var(--market-flash-up-color, #00c48a) 9%, transparent);
  }
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(0, 196, 138, 0);
  }
}

@keyframes liveFlashDown {
  0% {
    background: rgba(255, 79, 87, 0);
    box-shadow: inset 0 0 0 1px rgba(255, 79, 87, 0);
  }
  18% {
    background: color-mix(in srgb, var(--market-flash-down-color, #ff4f57) 26%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--market-flash-down-color, #ff4f57) 62%, transparent), 0 0 22px color-mix(in srgb, var(--market-flash-down-color, #ff4f57) 22%, transparent);
  }
  46% {
    background: color-mix(in srgb, var(--market-flash-down-color, #ff4f57) 9%, transparent);
  }
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 79, 87, 0);
  }
}

@keyframes liveFlashFlat {
  0% {
    background: rgba(141, 168, 255, 0);
    box-shadow: inset 0 0 0 1px rgba(141, 168, 255, 0);
  }
  18% {
    background: color-mix(in srgb, var(--market-flash-flat-color, #ffffff) 22%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--market-flash-flat-color, #ffffff) 54%, transparent), 0 0 18px color-mix(in srgb, var(--market-flash-flat-color, #ffffff) 20%, transparent);
  }
  46% {
    background: color-mix(in srgb, var(--market-flash-flat-color, #ffffff) 8%, transparent);
  }
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(141, 168, 255, 0);
  }
}

@keyframes valuePopUp {
  0%,
  100% {
    color: inherit;
    transform: translateY(0);
  }
  20% {
    color: var(--market-flash-up-color, var(--green));
    transform: translateY(-1px);
  }
}

@keyframes valuePopDown {
  0%,
  100% {
    color: inherit;
    transform: translateY(0);
  }
  20% {
    color: var(--market-flash-down-color, var(--red));
    transform: translateY(1px);
  }
}

@keyframes valuePopFlat {
  0%,
  100% {
    transform: translateY(0);
  }
  20% {
    color: var(--market-flash-flat-color, #ffffff);
    transform: scale(1.015);
  }
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  max-width: 1250px;
  min-height: 66px;
  margin: 0 auto;
  padding: 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #1ddfc5, #4b8dff 58%, #8d6cff);
  color: white;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(26, 150, 255, 0.32);
}

.brand-text {
  color: white;
  font-size: 21px;
  font-weight: 900;
}

.brand-text span {
  color: #92a9dc;
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #10141b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.nav-menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  padding: 13px 15px;
  border-radius: 8px;
  color: #b7c4dd;
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--surface-2);
  color: white;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  box-shadow: var(--shadow);
}

.nav-menu-item:hover .nav-submenu,
.nav-menu-item:focus-within .nav-submenu {
  display: grid;
}

.nav-submenu a {
  padding: 10px 11px;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.account-toggle {
  display: inline-grid;
}

.search-toggle {
  display: none;
}

.auth-actions {
  position: absolute;
  top: 48px;
  right: 0;
  z-index: 55;
  display: none;
  width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  box-shadow: var(--shadow);
}

.nav-actions.account-open .auth-actions {
  display: grid;
  gap: 8px;
}

.auth-actions .ghost-btn,
.auth-actions .primary-btn {
  width: 100%;
}

.nav-search {
  display: contents;
}

.search-box {
  display: flex;
  position: relative;
  align-items: center;
  gap: 6px;
  width: min(230px, 24vw);
  height: 40px;
  padding: 0 11px;
  border: 1px solid #30343b;
  border-radius: 20px;
  background: var(--surface);
  color: #8794aa;
}

.search-box > span {
  display: grid;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  place-items: center;
  font-size: 11px;
  line-height: 1;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 13px;
}

.site-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  display: grid;
  width: min(360px, 86vw);
  max-height: 390px;
  overflow: auto;
  border: 1px solid #2d3441;
  border-radius: 10px;
  background: #080b10;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
  padding: 6px;
}

.site-search-suggestions[hidden] {
  display: none;
}

.site-search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #e9eef8;
}

.site-search-result:hover,
.site-search-result:focus-visible {
  background: #141922;
}

.site-search-result strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search-result span {
  color: #63a0ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ghost-btn,
.primary-btn,
.icon-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  font-weight: 800;
}

.ghost-btn {
  padding: 0 16px;
  background: var(--surface);
}

.primary-btn {
  padding: 0 17px;
  border-color: transparent;
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(75, 141, 255, 0.24);
}

.icon-btn {
  display: inline-grid;
  width: 40px;
  place-items: center;
  background: var(--surface);
  color: #c7d0e0;
}

.icon-btn.small {
  width: 30px;
  min-height: 30px;
  border-radius: 6px;
  font-size: 18px;
}

@media (min-width: 761px) {
  .nav-actions > .search-toggle {
    display: none;
  }
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1240px) minmax(180px, 300px);
  gap: 34px;
  align-items: start;
  max-width: 1900px;
  margin: 0 auto;
  padding: 30px 10px 48px;
}

.content {
  min-width: 0;
}

.ad-box {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(120, 142, 180, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 44, 58, 0.82), rgba(17, 28, 29, 0.76)),
    var(--surface-2);
  color: #9ab7ec;
  text-align: center;
}

.ad-box::after {
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  content: "";
  pointer-events: none;
}

.ad-label {
  position: absolute;
  top: 9px;
  right: 12px;
  color: #4f72bc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.billboard {
  min-height: 250px;
  margin-bottom: 48px;
}

.mobile-ad-slot {
  display: none;
}

.billboard strong,
.vertical-ad strong {
  display: block;
  color: #dfe8ff;
  font-size: 17px;
}

.billboard small,
.vertical-ad small {
  display: block;
  margin-top: 8px;
  color: #6d7eaa;
  font-size: 13px;
}

.detail-billboard-ad {
  min-height: 96px;
  margin: 0 0 16px;
}

.side-rail {
  position: sticky;
  top: 166px;
}

.vertical-ad {
  min-height: 600px;
  padding: 18px;
}

.ad-sizes {
  position: absolute;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.ad-sizes button {
  height: 22px;
  padding: 0 10px;
  border: 1px solid rgba(135, 154, 195, 0.25);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: #7791c9;
  font-size: 11px;
  font-weight: 800;
}

.ad-sizes .selected {
  border-color: transparent;
  background: var(--blue);
  color: white;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-head.compact {
  margin-top: 34px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(0, 196, 138, 0.8);
}

.section-head h1,
.section-head h2 {
  margin: 0;
  color: #5979bd;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.market-board {
  display: grid;
  grid-template-columns: minmax(230px, 34%) minmax(340px, 1fr) minmax(230px, 34%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 13, 15, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 60%);
}

.quote-panel + .hero-news,
.hero-news + .quote-panel {
  border-left: 1px solid var(--line);
}

.quote-panel + .market-summary-slot,
.market-summary-slot + .quote-panel {
  border-left: 1px solid var(--line);
}

.market-summary-slot {
  display: grid;
  min-width: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(17, 215, 197, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 62%);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  color: #eff5ff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-head h2 a {
  color: inherit;
}

.panel-head h2 a:hover {
  color: #5a98ff;
}

.panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-status {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.api-status {
  color: #6f85bb;
}

.api-status.live {
  color: var(--green);
}

.api-status.fail {
  color: var(--red);
}

.quote-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
}

.quote-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 78px;
  padding: 13px 14px 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, transform 160ms ease;
}

.quote-card:hover {
  background: rgba(75, 141, 255, 0.08);
}

.card-arrow {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #7891c4;
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  transition: opacity 160ms ease;
}

.quote-card:hover .card-arrow {
  opacity: 1;
}

.quote-card:nth-child(3n) {
  border-right: 0;
}

.panel-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-top: 1px solid var(--line);
  color: #8fb2ff;
  font-size: 13px;
  font-weight: 950;
  transition: background 160ms ease, color 160ms ease;
}

.panel-more-link:hover {
  background: rgba(75, 141, 255, 0.08);
  color: white;
}

.quote-card .label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  min-height: 16px;
  color: #5a98ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.quote-card .value {
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin-top: 6px;
  color: white;
  font-size: clamp(14px, 1.18vw, 19px);
  font-weight: 950;
  line-height: 1.05;
  text-overflow: clip;
  white-space: nowrap;
}

.hero-news {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.4)),
    #0b0d10;
}

.home-radar-row {
  margin-top: 18px;
}

.home-radar-panel {
  display: grid;
  grid-template-columns: minmax(230px, 34%) minmax(340px, 1fr) minmax(230px, 34%);
  min-height: 292px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-news.home-radar-panel {
  min-height: 292px;
}

.home-radar-panel #marketCanvas {
  position: relative;
  inset: auto;
  grid-column: 1;
  width: 100%;
  height: 100%;
  min-height: 292px;
}

.home-radar-video-ad {
  grid-column: 1;
  width: 100%;
  min-height: 292px;
  padding: 10px;
  border-radius: 0;
}

.home-radar-video-ad .video-ad-frame {
  width: 100%;
  min-height: 272px;
  aspect-ratio: auto;
}

.home-radar-video-ad .video-ad-copy strong {
  font-size: clamp(18px, 1.45vw, 24px);
}

.home-radar-panel .hero-overlay {
  position: relative;
  inset: auto;
  grid-column: 2 / 4;
  display: grid;
  align-content: center;
  padding: 24px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.88), #050607 30%),
    #050607;
}

.home-radar-panel .hero-overlay h2 {
  max-width: 720px;
  margin: 16px 0 10px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.08;
}

.home-radar-panel .hero-overlay p {
  max-width: 720px;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 850;
  line-height: 1.45;
}

.home-radar-panel .hero-controls {
  align-items: stretch;
  max-width: 520px;
}

.home-radar-panel .slide-dots {
  display: grid;
  grid-template-columns: repeat(8, minmax(28px, 1fr));
}

.home-radar-panel .slide-dots button {
  max-width: none;
  height: 30px;
}

.video-ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 16%, rgba(48, 132, 255, 0.18), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(0, 213, 171, 0.14), transparent 34%),
    linear-gradient(180deg, #10141b, #07090d);
}

.video-ad-frame {
  position: relative;
  display: grid;
  width: min(100%, 820px);
  min-height: 300px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #263041;
  border-radius: 8px;
  background: #05070b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 60px rgba(0, 0, 0, 0.34);
}

.video-ad-screen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(22, 31, 43, 0.96), rgba(4, 7, 11, 0.98));
  background-size: 54px 54px, 54px 54px, auto;
}

.video-ad-screen::before {
  content: "";
  position: absolute;
  inset: 16% 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 214, 190, 0.18), transparent 58%);
  filter: blur(4px);
}

.video-ad-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 5px;
  background: rgba(72, 139, 255, 0.16);
  color: #78aaff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.video-ad-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.035);
}

.video-ad-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid white;
  transform: translate(-45%, -50%);
}

.video-ad-bars {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
}

.video-ad-bars i {
  display: block;
  width: 8px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #18e0bf, #4d8dff);
  opacity: 0.72;
}

.video-ad-bars i:nth-child(1) {
  height: 24px;
}

.video-ad-bars i:nth-child(2) {
  height: 42px;
}

.video-ad-bars i:nth-child(3) {
  height: 32px;
}

.video-ad-bars i:nth-child(4) {
  height: 50px;
}

.video-ad-bars i:nth-child(5) {
  height: 29px;
}

.video-ad-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 5px;
  color: white;
}

.video-ad-copy strong {
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.08;
}

.video-ad-copy small {
  color: #9badca;
  font-size: 13px;
  font-weight: 800;
}

.video-ad-slot.home-radar-video-ad {
  min-height: 292px;
  padding: 10px;
  align-items: stretch;
}

.video-ad-slot.home-radar-video-ad .video-ad-frame {
  min-height: 272px;
}

.central-bank-home-panel .panel-head h2 {
  max-width: 390px;
  line-height: 1.18;
}

.central-bank-mini-list,
.bank-mini-list {
  display: grid;
}

.central-bank-mini-row,
.mover-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(82px, 0.75fr) minmax(82px, 0.75fr);
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  transition: background 160ms ease;
}

.central-bank-mini-row:first-child,
.mover-mini-row:first-child {
  border-top: 0;
}

.central-bank-mini-row:hover,
.mover-mini-row:hover {
  background: rgba(75, 141, 255, 0.08);
}

.central-bank-mini-name,
.mover-mini-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #5a98ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.central-bank-mini-name b,
.mover-mini-name b {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(90, 152, 255, 0.12);
  color: #5a98ff;
  font-size: 12px;
}

.central-bank-mini-row span:not(.central-bank-mini-name),
.mover-mini-row span:not(.mover-mini-name) {
  display: grid;
  gap: 2px;
  justify-items: end;
}

.central-bank-mini-row small,
.mover-mini-row small {
  color: #7d89a1;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.central-bank-mini-row strong,
.mover-mini-row strong {
  color: #eaf1ff;
  font-size: 13px;
  font-weight: 950;
}

.mover-down-home-panel .panel-head h2 {
  line-height: 1.18;
}

.bank-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(78px, 0.75fr) minmax(78px, 0.75fr);
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  transition: background 160ms ease;
}

.bank-mini-row:first-child {
  border-top: 0;
}

.bank-mini-row:hover {
  background: rgba(17, 215, 197, 0.08);
}

.bank-mini-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #5a98ff;
  font-size: 12px;
  font-weight: 950;
}

.bank-mini-name b,
.bank-name-cell span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(90, 152, 255, 0.12);
  color: #5a98ff;
  font-size: 11px;
  font-weight: 950;
}

.bank-mini-row span:not(.bank-mini-name) {
  display: grid;
  gap: 2px;
  justify-items: end;
}

.bank-mini-row small {
  color: #7d89a1;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.central-bank-mini-row.market-tile .rate-buy strong,
.central-bank-mini-row.market-tile .rate-sell strong,
.bank-mini-row.market-tile .rate-buy strong,
.bank-mini-row.market-tile .rate-sell strong,
.mover-mini-row.market-tile .mover-price strong {
  color: var(--market-value-flat-color, #ffffff);
}

.central-bank-mini-row.market-tile:not(.down):not(.flat) .rate-buy strong,
.central-bank-mini-row.market-tile:not(.down):not(.flat) .rate-sell strong,
.bank-mini-row.market-tile:not(.down):not(.flat) .rate-buy strong,
.bank-mini-row.market-tile:not(.down):not(.flat) .rate-sell strong,
.mover-mini-row.market-tile:not(.down):not(.flat) .mover-price strong {
  color: var(--market-value-up-color, #ffffff);
}

.central-bank-mini-row.market-tile.down .rate-buy strong,
.central-bank-mini-row.market-tile.down .rate-sell strong,
.bank-mini-row.market-tile.down .rate-buy strong,
.bank-mini-row.market-tile.down .rate-sell strong,
.mover-mini-row.market-tile.down .mover-price strong {
  color: var(--market-value-down-color, #ffffff);
}

.central-bank-table .rate-buy,
.central-bank-table .rate-sell,
.central-bank-mini-row:not(.market-tile) .rate-buy strong,
.central-bank-mini-row:not(.market-tile) .rate-sell strong,
.bank-mini-row:not(.market-tile) .rate-buy strong,
.bank-mini-row:not(.market-tile) .rate-sell strong {
  color: #5a98ff;
}

.central-bank-table .rate-effective-buy {
  color: #f6c35b;
}

.central-bank-table .rate-effective-sell {
  color: #8da8ff;
}

#marketCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.94) 36%, #090a0c);
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ff3f4b, #ff6f3b);
  color: white;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-overlay h2 {
  max-width: 680px;
  margin: 18px 0 8px;
  color: white;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.12;
}

.hero-title-link {
  color: inherit;
}

.hero-title-link:hover {
  color: #dfe8ff;
}

.hero-overlay p {
  max-width: 680px;
  margin: 0;
  color: #b9c3d6;
  font-size: 14px;
  line-height: 1.55;
}

.read-more {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.slide-dots {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
}

.slide-dots button {
  flex: 1 1 28px;
  min-width: 24px;
  max-width: 44px;
  height: 26px;
  border: 0;
  border-radius: 5px;
  background: #c73832;
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.slide-dots button.active {
  background: white;
  color: #111;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(380px, 1.12fr) minmax(300px, 0.88fr);
  gap: 18px;
  margin-top: 24px;
}

.tool-row:has(.mover-down-home-panel):has(.central-bank-home-panel) {
  grid-template-columns: minmax(230px, 34%) minmax(340px, 1fr) minmax(230px, 34%);
}

.homepage-inline-ad {
  min-height: 100%;
  margin: 0;
}

.home-separator-ad {
  min-height: 90px;
  margin: 10px 0;
  border-color: rgba(74, 133, 255, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(31, 40, 54, 0.92), rgba(13, 31, 30, 0.76));
  box-shadow: none;
}

.home-separator-ad.has-ad-code {
  padding: 0;
  background: transparent;
}

.home-separator-ad .managed-ad-code,
.home-separator-ad .adsbygoogle {
  display: block;
  width: 100%;
  min-height: 90px;
}

.home-separator-ad .ad-slot-fallback {
  display: grid;
  min-height: 90px;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
}

.home-separator-ad .ad-slot-fallback strong {
  color: #dfe8ff;
  font-size: 16px;
  line-height: 1.1;
  text-transform: none;
}

.home-separator-ad .ad-slot-fallback small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.compact-ad {
  min-height: 96px;
  margin-bottom: 22px;
}

.converter-stack {
  display: grid;
  gap: 18px;
}

.focus-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.92fr) minmax(260px, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.converter,
.calendar,
.news-card,
.focus-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), var(--surface);
}

.focus-list {
  display: grid;
}

.focus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 74px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.focus-item:last-child {
  border-bottom: 0;
}

.focus-item:hover {
  background: rgba(75, 141, 255, 0.08);
}

.focus-item strong,
.focus-item b {
  display: block;
  color: #5a98ff;
  font-size: 16px;
}

.focus-item small {
  display: block;
  margin-top: 4px;
  color: #8290a8;
  font-size: 12px;
  font-weight: 800;
}

.focus-item > span:last-child {
  text-align: right;
}

.focus-item.down .quote-change,
.focus-item small.down {
  color: var(--red);
}

.converter-form {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr);
  gap: 12px;
  padding: 16px;
  align-items: end;
}

.converter-form.converter-form-with-swap,
.converter-form:has(.converter-swap-button) {
  grid-template-columns: minmax(112px, 0.9fr) minmax(120px, 1fr) 42px minmax(120px, 1fr);
}

.standalone-converter .converter-form.converter-form-with-swap {
  grid-template-columns: minmax(140px, 0.8fr) minmax(180px, 1fr) 44px minmax(180px, 1fr);
}

.converter-form label {
  display: grid;
  gap: 7px;
  color: #7f91b1;
  font-size: 12px;
  font-weight: 800;
}

.converter-form input,
.converter-form select {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: 0;
  background: #0b0d0f;
  color: white;
  padding: 0 12px;
}

.converter-swap-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(90, 152, 255, 0.42);
  border-radius: 7px;
  background: rgba(90, 152, 255, 0.12);
  color: #8fb2ff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.converter-swap-button:hover {
  background: rgba(90, 152, 255, 0.22);
  color: white;
  transform: translateY(-1px);
}

.conversion-result {
  display: block;
  min-height: 54px;
  margin: 0 16px 16px;
  padding: 14px 16px;
  border-radius: 7px;
  background: rgba(17, 215, 197, 0.09);
  color: white;
  font-size: 19px;
  font-weight: 900;
}

.converter-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 16px 18px;
}

.cross-market-related {
  width: 100%;
  margin-top: 18px;
}

.converter-related-section {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), #11151c;
}

.converter-related-title {
  margin: 0;
  color: #f4f8ff;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.converter-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.market-list-row,
.converter-related-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(104px, auto) minmax(66px, auto);
  min-width: 0;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 0;
  background: transparent;
  color: #eaf1ff;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.market-list-head {
  display: none;
}

.market-list-row:hover,
.market-list-row:focus,
.converter-related-card:hover,
.converter-related-card:focus {
  color: white;
  background: rgba(90, 152, 255, 0.06);
  outline: 0;
}

.market-list-icon,
.converter-related-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: rgba(90, 152, 255, 0.12);
  color: #5a98ff;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
}

.market-list-name {
  overflow: hidden;
  color: #d9e3f6;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-list-price {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
  color: #dfe7f7;
  white-space: nowrap;
}

.market-list-price b {
  color: #f6f8ff;
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.market-list-price small {
  color: #b6bfd0;
  font-size: clamp(12px, 1.4vw, 17px);
  font-weight: 850;
}

.market-list-change {
  justify-self: end;
  color: var(--green);
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.market-list-change.down {
  color: var(--red);
}

.converter-related-more {
  display: grid;
  min-height: 29px;
  margin-top: 0;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f8ff;
  font-size: 12px;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease;
}

.converter-related-more:hover {
  background: rgba(90, 152, 255, 0.18);
  color: #ffffff;
}

.converter-related .market-list-row {
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 10px;
  min-height: 0;
  padding: 0;
  border-bottom: 0;
}

.converter-related .market-list-icon {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.converter-related .market-list-name {
  font-size: 13px;
}

.converter-related .market-list-price {
  justify-content: flex-start;
  gap: 6px;
}

.converter-related .market-list-price b {
  font-size: 13px;
}

.converter-related .market-list-price small {
  font-size: 9px;
}

.converter-related .market-list-change {
  justify-self: start;
  font-size: 11px;
}

.converter-page-panel .converter-related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 16px 18px;
}

.converter-page-panel .converter-related-section {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(130, 151, 180, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012)), #10141b;
}

.converter-page-panel .converter-related-title {
  margin: 0 0 14px;
  color: #f4f8ff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: none;
}

.converter-page-panel .market-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, auto) minmax(72px, auto);
  gap: 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #8e98aa;
  font-size: 12px;
  font-weight: 800;
}

.converter-page-panel .market-list-head span:nth-child(2),
.converter-page-panel .market-list-head span:nth-child(3) {
  text-align: right;
}

.converter-page-panel .converter-related-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.converter-page-panel .converter-related .market-list-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(116px, auto) minmax(72px, auto);
  grid-template-rows: auto;
  gap: 10px;
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.converter-page-panel .converter-related .market-list-row:last-child {
  border-bottom: 0;
}

.converter-page-panel .converter-related .market-list-icon {
  grid-row: auto;
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.converter-page-panel .converter-related .market-list-name {
  align-self: center;
  color: #dfe7f5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.converter-page-panel .converter-related .market-list-price {
  align-self: center;
  justify-content: flex-end;
  gap: 5px;
}

.converter-page-panel .converter-related .market-list-price b {
  color: #f6f8ff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}

.converter-page-panel .converter-related .market-list-price small {
  color: #aeb8c9;
  font-size: 10px;
  font-weight: 750;
}

.converter-page-panel .converter-related .market-list-change {
  align-self: center;
  justify-self: end;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.converter-page-panel .converter-related .market-list-change.down {
  color: var(--red);
}

.converter-page-panel .converter-related-more {
  margin-top: 12px;
  min-height: 34px;
  border-radius: 7px;
}

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

.calendar li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.calendar li:last-child {
  border-bottom: 0;
}

.calendar time {
  color: var(--cyan);
  font-weight: 900;
}

.calendar span {
  color: #dbe4f2;
  font-size: 13px;
}

.calendar strong {
  color: var(--amber);
  font-size: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  display: block;
  min-height: 180px;
  padding: 16px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.news-card-media {
  display: block;
  min-height: 128px;
  margin: -2px -2px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  background: center / cover no-repeat #101820;
}

.news-card:hover {
  border-color: rgba(75, 141, 255, 0.55);
  transform: translateY(-2px);
}

.news-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
}

.news-card .category {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.news-card time {
  color: #71809c;
  font-size: 12px;
  font-weight: 800;
}

.news-card h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 17px;
  line-height: 1.32;
}

.news-card p {
  margin: 0;
  color: #a4b0c2;
  font-size: 13px;
  line-height: 1.55;
}

.news-card-action {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.auth-dialog {
  position: relative;
  width: min(360px, 100%);
  padding: 22px 16px 24px;
  border: 1px solid #252d3a;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0, rgba(75, 141, 255, 0.14), transparent 42%),
    #080c13;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
}

.auth-dialog h2 {
  margin: 14px 0 18px;
  font-size: 24px;
}

.close-modal {
  position: absolute;
  top: -13px;
  right: -13px;
  z-index: 2;
  border: 1px solid #2a3340;
  background: #101720;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 22px;
}

.auth-tab {
  min-height: 31px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #171b22;
  color: #d7deeb;
  font-size: 12px;
  font-weight: 950;
}

.auth-tab.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 24px rgba(75, 141, 255, 0.25);
}

.social-auth {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.single-social {
  grid-template-columns: 1fr;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #252d3a;
  border-radius: 7px;
  background: #0c1119;
  color: white;
  font-size: 12px;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.social-btn:hover {
  border-color: rgba(75, 141, 255, 0.58);
  background: rgba(75, 141, 255, 0.12);
  transform: translateY(-1px);
}

.social-btn.disabled,
.social-btn:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.social-btn span {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 950;
}

.social-btn.google > span:first-child {
  color: #fbbc05;
}

.social-btn.google .auth-google-text {
  color: white;
}

.social-btn.apple span,
.social-btn.x span {
  color: white;
}

.social-btn.facebook span {
  color: #5f9cff;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #7f91b1;
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.auth-form {
  display: grid;
  gap: 13px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #e7edf7;
  font-size: 12px;
  font-weight: 850;
}

.auth-name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-form input {
  width: 100%;
  height: 38px;
  border: 1px solid #27303d;
  border-radius: 7px;
  outline: 0;
  background: #111720;
  color: white;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 750;
}

.auth-form input::placeholder {
  color: #7e8ba0;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 42px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9ba8bb;
  font-size: 13px;
  transform: translateY(-50%);
}

.auth-consent {
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #bec8d8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.auth-consent input {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  padding: 0;
  border-radius: 3px;
  accent-color: var(--blue);
}

.auth-consent a {
  color: #6ea2ff;
  font-weight: 850;
}

.login-mode [data-join-only] {
  display: none;
}

.join-mode [data-login-only] {
  display: none;
}

.forgot-link {
  justify-self: start;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.auth-submit {
  min-height: 40px;
  margin-top: 2px;
  border-radius: 7px;
}

.auth-dialog {
  width: min(330px, calc(100vw - 22px));
  padding: 18px 11px 20px;
  border-color: rgba(45, 52, 64, 0.72);
  border-radius: 8px;
  background: #05080d;
}

.auth-dialog h2,
.auth-dialog #authMode {
  display: none;
}

.close-modal {
  top: 6px;
  right: 6px;
  width: 26px;
  min-height: 26px;
  opacity: 0.42;
}

.auth-tabs {
  gap: 6px;
  margin: 0 0 23px;
}

.auth-tab {
  min-height: 30px;
  border: 0;
  background: #1d2025;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.auth-tab.active {
  background: #1774c8;
  box-shadow: none;
}

.social-auth {
  display: block;
  margin-bottom: 22px;
}

.social-auth .social-btn:not(.google) {
  display: none;
}

.social-btn.google {
  width: 100%;
  min-height: 39px;
  border-color: transparent;
  background: #1d2025;
  font-size: 12px;
  font-weight: 800;
}

.auth-divider {
  margin: 0 0 16px;
  color: #8c96a8;
  font-size: 10px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  background: #2d333c;
}

.auth-form {
  gap: 12px;
}

.auth-form label {
  gap: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.auth-form input {
  height: 38px;
  border-color: #2d3440;
  background: #11151b;
  font-size: 12px;
  font-weight: 600;
}

.auth-name-row {
  gap: 10px;
}

.auth-consent {
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 6px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.auth-consent input {
  width: 13px;
  height: 13px;
  margin-top: 1px;
}

.auth-submit,
#authForm .primary-btn {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  border-radius: 7px;
  background: #1774c8;
}

.form-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-page {
  min-height: 100vh;
}

.detail-header {
  position: relative;
}

.detail-nav {
  grid-template-columns: auto 1fr auto;
}

.always-open {
  display: flex;
}

.detail-shell,
.article-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 215, 197, 0.12), rgba(75, 141, 255, 0.08)),
    var(--surface);
}

.detail-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.detail-hero p {
  max-width: 740px;
  margin: 0;
  color: #aab6c8;
  line-height: 1.55;
}

.detail-price {
  min-width: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  text-align: right;
}

.detail-price span {
  color: #8290a8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-price strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 32px;
  line-height: 1;
}

.detail-price b {
  color: var(--green);
  font-size: 14px;
}

.detail-price b.down {
  color: var(--red);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
}

.chart-panel,
.stats-panel,
.article-panel,
.article-side,
.related-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), var(--surface);
}

#detailChart {
  display: block;
  width: 100%;
  height: 430px;
}

.range-tabs {
  display: flex;
  gap: 6px;
}

.range-tabs button {
  min-width: 42px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b0d0f;
  color: #b7c4dd;
  font-size: 12px;
  font-weight: 900;
}

.range-tabs button.active {
  border-color: transparent;
  background: var(--blue);
  color: white;
}

.stats-panel dl {
  margin: 0;
}

.stats-panel dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.stats-panel dl div:last-child {
  border-bottom: 0;
}

.stats-panel dt {
  color: #8290a8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-panel dd {
  margin: 0;
  color: white;
  font-weight: 950;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 16px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.related-card:hover {
  border-color: rgba(75, 141, 255, 0.55);
  transform: translateY(-2px);
}

.related-card span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card strong {
  color: white;
  font-size: 18px;
}

.related-card b {
  color: white;
  font-size: 22px;
}

.related-card small {
  color: var(--green);
  font-weight: 900;
}

.related-card small.down {
  color: var(--red);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.article-related-head,
.article-news-grid {
  grid-column: 1 / -1;
}

.article-panel {
  padding: 28px;
}

.article-panel h1 {
  max-width: 850px;
  margin: 18px 0 12px;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
}

.article-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  color: #8290a8;
  font-size: 13px;
  font-weight: 800;
}

.article-lead {
  color: white;
  font-size: 21px;
  line-height: 1.45;
}

.article-panel p:not(.article-lead) {
  color: #b5c0cf;
  font-size: 16px;
  line-height: 1.75;
}

.category-page {
  min-height: 100vh;
}

.category-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6px 0 46px;
}

.category-hero {
  display: none;
  margin-bottom: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 215, 197, 0.11), rgba(75, 141, 255, 0.075)),
    var(--surface);
}

.category-hero h1 {
  margin: 12px 0 10px;
  color: white;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.category-hero p {
  max-width: 780px;
  margin: 0 0 14px;
  color: #aab6c8;
  line-height: 1.6;
}

.category-shell > .ad-box:first-child,
.category-shell > .billboard:first-child {
  margin-top: 0;
}

.category-titlebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: end;
  margin: 10px 0 10px;
}

.category-titlebar:not(.has-symbol-search) {
  grid-template-columns: 1fr;
}

.category-title-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #dfe8f8;
  font-size: 13px;
  font-weight: 850;
}

.category-breadcrumb a {
  color: #dfe8f8;
  text-decoration: none;
}

.category-breadcrumb a:hover,
.category-breadcrumb a:focus {
  color: #5a98ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.category-titlebar h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.95vw, 26px);
  font-weight: 620;
  line-height: 1;
}

.symbol-search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(130, 151, 180, 0.28);
  border-radius: 999px;
  background: rgba(17, 21, 28, 0.9);
  color: #8fa0b9;
}

.symbol-search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f7f9ff;
  font: inherit;
  font-size: 14px;
}

.symbol-search-box input::placeholder {
  color: #8fa0b9;
}

.market-empty-row td {
  padding: 28px 16px;
  color: #9ca8bb;
  text-align: center;
}

.market-empty-card {
  padding: 22px 0;
  color: #9ca8bb;
  font-weight: 750;
  text-align: center;
}

.category-top-ad {
  min-height: 250px;
  margin-bottom: 20px;
}

.category-top-ad strong {
  font-size: 18px;
}

.category-top-ad small {
  color: #6175aa;
}

.central-bank-page {
  min-height: 100vh;
}

.central-bank-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(75, 141, 255, 0.13), rgba(17, 215, 197, 0.08)),
    var(--surface);
}

.central-bank-hero h1 {
  margin: 10px 0 10px;
  color: white;
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.04;
}

.central-bank-hero p {
  max-width: 780px;
  margin: 0;
  color: #aeb9ca;
  font-size: 15px;
  line-height: 1.65;
}

.central-bank-updated {
  display: grid;
  gap: 7px;
  min-width: 190px;
  border: 1px solid rgba(75, 141, 255, 0.25);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.55);
  padding: 14px;
}

.central-bank-updated span {
  color: #7f91b1;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.central-bank-updated strong {
  color: white;
  font-size: 17px;
  font-weight: 950;
}

.central-bank-titlebar {
  margin: 0 0 18px;
}

.central-bank-titlebar h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  color: transparent;
  background: linear-gradient(90deg, #6fa4ff, #11d7c5, #f6c35b);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 950;
}

.central-bank-table-wrap {
  overflow-x: auto;
  border: 1px solid #1c2a3c;
  border-radius: 8px;
  background: #07111f;
  box-shadow: var(--shadow);
}

.central-bank-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.central-bank-table th,
.central-bank-table td {
  height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid #1b2a3e;
  color: #eef4ff;
  text-align: right;
  white-space: nowrap;
}

.central-bank-table th {
  height: 58px;
  color: #91a0b7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.central-bank-table th:first-child,
.central-bank-table td:first-child {
  text-align: left;
}

.central-bank-table td {
  font-size: 14px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.central-bank-currency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5a98ff;
  font-weight: 950;
}

.central-bank-currency span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(90, 152, 255, 0.12);
  color: #5a98ff;
  font-size: 12px;
  font-weight: 950;
}

.central-bank-code {
  color: #5a98ff;
  font-weight: 950;
}

.central-bank-table tbody tr:hover {
  background: rgba(75, 141, 255, 0.08);
}

.central-bank-copy {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10131b;
}

.central-bank-copy h2 {
  margin: 0;
  color: white;
  font-size: 24px;
}

.central-bank-copy p {
  margin: 0;
  color: #b8c2d2;
  line-height: 1.72;
}

.bank-rates-page .central-bank-titlebar {
  display: grid;
  gap: 8px;
}

.bank-rates-page .central-bank-titlebar p {
  margin: 0;
  color: #aab6ca;
  font-weight: 750;
}

.bank-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5a98ff;
  font-weight: 950;
}

.bank-name-cell strong {
  color: #5a98ff;
}

.central-bank-currency strong {
  color: #5a98ff;
}

.central-bank-table tbody tr:hover .central-bank-currency strong,
.bank-rates-table tbody tr:hover .bank-name-cell strong {
  color: #8fb2ff;
}

.tcmb-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(75, 141, 255, 0.14), rgba(17, 215, 197, 0.08)),
    var(--surface);
}

.tcmb-asset-badge {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #121923;
  color: white;
  font-size: 22px;
  font-weight: 950;
}

.tcmb-kicker {
  color: #6fa4ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.tcmb-detail-hero h1 {
  margin: 6px 0;
  color: white;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.05;
}

.tcmb-detail-hero p {
  margin: 0;
  color: #9eabc0;
  font-weight: 900;
}

.tcmb-updated {
  display: grid;
  gap: 7px;
  min-width: 190px;
  padding: 14px;
  border: 1px solid rgba(75, 141, 255, 0.25);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.55);
}

.tcmb-updated span,
.tcmb-rate-cards span {
  color: #7f91b1;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tcmb-updated strong {
  color: white;
}

.tcmb-rate-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.tcmb-rate-cards article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b111a;
}

.tcmb-rate-cards strong {
  font-size: 22px;
  font-weight: 950;
}

.tcmb-converter {
  margin-bottom: 18px;
}

.market-table-wrap {
  overflow: visible;
  border: 1px solid #1c2a3c;
  border-radius: 8px;
  background: #07111f;
  box-shadow: var(--shadow);
}

.market-list-page {
  overflow: hidden;
  border: 1px solid #1c2a3c;
  border-radius: 8px;
  background: #050910;
  box-shadow: var(--shadow);
}

.market-list-section {
  padding: 24px;
}

.market-list-title {
  margin: 0 0 18px;
  color: #f4f8ff;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.category-market-list-section .market-list-row {
  padding-inline: 8px;
}

.category-mobile-list {
  display: none;
}

.category-desktop-table {
  display: block;
}

.movers-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.movers-page-panel {
  overflow: hidden;
  border: 1px solid #1c2a3c;
  border-radius: 8px;
  background: linear-gradient(180deg, #171a1f 0%, #111418 100%);
  box-shadow: var(--shadow);
}

.movers-page-panel.up {
  border-color: rgba(0, 214, 177, 0.28);
}

.movers-page-panel.down {
  border-color: rgba(255, 71, 105, 0.28);
}

.movers-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid #2a2f38;
}

.movers-page-head h2 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.movers-page-head span {
  flex: 0 0 auto;
  color: #00f0d2;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.movers-page-list {
  display: grid;
}

.mover-page-row {
  display: grid;
  grid-template-columns: 34px minmax(96px, 1fr) minmax(112px, auto) minmax(82px, auto);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 14px;
  border-bottom: 1px solid #2a2f38;
  color: inherit;
  text-decoration: none;
}

.mover-page-row:last-child {
  border-bottom: 0;
}

.mover-page-row:hover,
.mover-page-row:focus {
  background: rgba(75, 141, 255, 0.08);
  outline: 0;
}

.mover-page-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #102033;
  color: #5a98ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mover-page-name {
  min-width: 0;
  overflow: hidden;
  color: #5a98ff;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.mover-page-meta,
.mover-page-change {
  display: grid;
  gap: 2px;
  justify-items: end;
  min-width: 0;
}

.mover-page-meta small,
.mover-page-change small {
  color: #8ea0bd;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.mover-page-meta b {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mover-page-change b {
  color: #fff;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.08;
  white-space: nowrap;
}

.movers-page-grid .mover-page-row .market-value,
.movers-page-grid .mover-page-row .market-change,
.movers-page-grid .mover-page-row .mover-page-change b {
  color: #fff;
}

.movers-page-grid .mover-page-row.flash-up .market-value,
.movers-page-grid .mover-page-row.flash-up .market-change,
.movers-page-grid .mover-page-row.flash-up .mover-page-change b {
  color: var(--market-flash-up-color, #00c48a);
}

.movers-page-grid .mover-page-row.flash-down .market-value,
.movers-page-grid .mover-page-row.flash-down .market-change,
.movers-page-grid .mover-page-row.flash-down .mover-page-change b {
  color: var(--market-flash-down-color, #ff4f57);
}

.movers-empty {
  padding: 18px 16px;
  color: #aab5c8;
  font-size: 13px;
}

.movers-inline-ad {
  margin: 18px 0 34px;
}

.movers-inline-ad + .cross-market-related {
  margin-top: 0;
}

.footer-global-ad {
  width: min(1240px, calc(100% - 32px));
  min-height: 90px;
  margin: 28px auto 0;
}

.footer-global-ad + .site-footer {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .movers-page-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .footer-global-ad {
    width: calc(100% - 20px);
    min-height: 100px;
    margin-top: 22px;
  }

  .movers-inline-ad {
    margin: 14px 0 28px;
  }

  .movers-page-head {
    min-height: 48px;
    padding-inline: 14px;
  }

  .movers-page-head h2 {
    font-size: 14px;
  }

  .movers-page-head span {
    font-size: 10px;
  }

  .mover-page-row {
    grid-template-columns: 32px minmax(0, 1fr) minmax(92px, auto) minmax(72px, auto);
    gap: 9px;
    min-height: 54px;
    padding: 8px 12px;
  }

  .mover-page-icon {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .mover-page-name,
  .mover-page-meta b {
    font-size: 14px;
  }

  .mover-page-meta small,
  .mover-page-change small {
    font-size: 10px;
  }

  .mover-page-change b {
    font-size: 12px;
  }
}

.market-data-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  color: white;
}

.bank-rates-page .bank-change-col {
  display: none;
}

.market-data-table th,
.market-data-table td {
  height: 35px;
  padding: 0 10px;
  border-bottom: 1px solid #1b2a3e;
  text-align: right;
  white-space: nowrap;
}

.market-data-table th {
  height: 58px;
  color: #9aa7b7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.market-data-table th::after {
  margin-left: 8px;
  color: #6a7482;
  content: "◆";
  font-size: 9px;
}

.market-data-table th:first-child,
.market-data-table td:first-child {
  text-align: left;
}

.market-data-table tbody tr {
  cursor: pointer;
  transition: background 140ms ease;
}

.market-data-table tbody tr:hover,
.market-data-table tbody tr:focus {
  background: rgba(75, 141, 255, 0.09);
  outline: 0;
}

.asset-name-cell {
  color: #5a98ff;
  font-weight: 950;
}

.asset-name-cell.has-text-symbol {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.asset-name-cell.has-text-symbol .asset-symbol-text {
  display: inline-block;
  min-width: 58px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

body[data-category="emtia"] .market-list-icon.text-symbol {
  width: auto;
  min-width: 46px;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 780;
}

.asset-name-cell strong {
  color: #5a98ff;
  font-size: 13px;
}

.asset-icon {
  display: inline-grid;
  min-width: 22px;
  margin-right: 7px;
  place-items: center;
  font-size: 15px;
}

.direction-cell {
  color: #62ffad;
  font-size: 22px;
  line-height: 1;
}

.direction-cell.down {
  color: #ff5c8a;
}

.market-data-table .market-value,
.market-data-table td[data-field="buy"],
.market-data-table td[data-field="sell"],
.market-data-table td[data-field="high"],
.market-data-table td[data-field="low"],
.market-data-table td[data-field="yesterday"],
.market-data-table td[data-field="time"] {
  color: #f5f8ff;
  font-size: 13px;
  font-weight: 950;
}

.table-money {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  max-width: 100%;
  white-space: nowrap;
}

.table-money small,
.unit-label {
  color: #aeb9ca;
  font-size: 0.68em;
  font-weight: 850;
  letter-spacing: 0;
}

.market-data-table .market-change,
.market-data-table .up {
  color: #00ff66;
  font-size: 13px;
  font-weight: 950;
}

.market-data-table .market-change.down,
.market-data-table .down {
  color: #ff3150;
}

.converter-page-panel {
  display: block;
}

.standalone-converter {
  max-width: 860px;
}

.conversion-page {
  min-height: 100vh;
}

.conversion-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #7384a1;
  font-size: 12px;
  font-weight: 850;
}

.breadcrumb a {
  color: #9fb6e8;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.conversion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 20px;
  align-items: start;
}

.conversion-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.conversion-hero,
.conversion-card,
.bank-rate-panel,
.seo-copy,
.sidebar-panel,
.conversion-stats-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), var(--surface);
  box-shadow: var(--shadow);
}

.conversion-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(17, 215, 197, 0.1), rgba(75, 141, 255, 0.08)),
    var(--surface);
}

.conversion-flag {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 42%), #0b0f16;
  color: white;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
}

.conversion-heading h1 {
  margin: 10px 0 8px;
  color: white;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1;
}

.conversion-heading p {
  margin: 0;
  color: #aab6c8;
  line-height: 1.55;
}

.conversion-price {
  min-width: 240px;
  text-align: right;
}

.conversion-price strong {
  display: block;
  color: white;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.conversion-price span,
.conversion-price small {
  display: block;
  margin-top: 8px;
  color: #7e8eaa;
  font-size: 12px;
  font-weight: 850;
}

.conversion-price b {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.conversion-price b.down {
  color: var(--red);
}

.conversion-form-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(150px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
}

.conversion-form-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #7f91b1;
  font-size: 12px;
  font-weight: 850;
}

.conversion-form-grid label strong,
.conversion-form-grid input {
  display: flex;
  align-items: center;
  min-height: 46px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0b0d0f;
  color: white;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 850;
}

.conversion-form-grid input {
  outline: 0;
  width: 100%;
}

.conversion-form-grid .primary-btn {
  min-height: 46px;
  min-width: 126px;
}

.conversion-equation {
  display: block;
  margin: 0 18px 7px;
  color: white;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 950;
}

.conversion-equation::first-letter {
  color: var(--cyan);
}

.conversion-note {
  display: block;
  margin: 0 18px 18px;
  color: #7083aa;
  font-size: 12px;
  font-weight: 800;
}

.conversion-stats-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
}

.conversion-stats-grid div {
  min-height: 76px;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.conversion-stats-grid div:last-child {
  border-right: 0;
}

.conversion-stats-grid span {
  display: block;
  color: #667bad;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.conversion-stats-grid strong {
  display: block;
  margin-top: 10px;
  color: white;
  font-size: 14px;
  font-weight: 950;
}

.bank-table-wrap {
  overflow-x: auto;
}

.bank-rate-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.bank-rate-table th,
.bank-rate-table td {
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.bank-rate-table th {
  color: #7f91b1;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.bank-rate-table th:first-child,
.bank-rate-table td:first-child {
  text-align: left;
}

.bank-rate-table td {
  color: white;
  font-size: 14px;
  font-weight: 850;
}

.bank-rate-table tbody tr:hover {
  background: rgba(75, 141, 255, 0.08);
}

.seo-copy {
  padding: 24px;
}

.seo-copy h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 26px;
}

.seo-copy p {
  margin: 0 0 14px;
  color: #adbacb;
  font-size: 15px;
  line-height: 1.75;
}

.seo-copy p:last-child {
  margin-bottom: 0;
}

.seo-copy a {
  color: var(--cyan);
  font-weight: 900;
}

.conversion-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 88px;
}

.sidebar-panel {
  padding: 18px;
  box-shadow: none;
}

.sidebar-panel h2 {
  margin: 0 0 14px;
  color: #8ca4d8;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.side-link-list,
.popular-currency-list {
  display: grid;
}

.side-link-list a,
.popular-currency-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  border-top: 1px solid var(--line);
  color: #d7e2f3;
  font-size: 13px;
  font-weight: 850;
}

.side-link-list a:hover,
.popular-currency-list a:hover {
  color: var(--cyan);
}

.popular-currency-list a span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(75, 141, 255, 0.12);
  color: #9fb6e8;
  font-size: 10px;
  font-weight: 950;
}

.popular-currency-list a strong {
  flex: 1;
  color: inherit;
}

.popular-currency-list a small {
  min-width: 42px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #8ea0bd;
  text-align: center;
  font-size: 11px;
  font-weight: 950;
}

.site-footer {
  width: min(1240px, calc(100% - 32px));
  margin: 22px auto 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 215, 197, 0.055), rgba(75, 141, 255, 0.035)),
    var(--surface);
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, 0.7fr));
  gap: 22px;
  padding: 24px;
}

.footer-brand p {
  max-width: 360px;
  margin: 14px 0 0;
  color: #9caabd;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.site-footer h2 {
  margin: 0 0 6px;
  color: #6fa4ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer nav a {
  color: #c2ccdc;
  font-size: 13px;
  font-weight: 800;
  transition: color 160ms ease;
}

.site-footer nav a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  color: #7f8da4;
  font-size: 12px;
  font-weight: 800;
}

.chart-page {
  background: #050505;
}

.chart-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
}

.chart-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.chart-nav-menu a {
  padding: 11px 13px;
  border-radius: 8px;
  color: #b7c4dd;
  font-size: 13px;
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.chart-nav-menu a:hover {
  background: #15171b;
  color: white;
}

.back-pill,
.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #151515;
  color: #aeb8c9;
  font-size: 13px;
  font-weight: 900;
}

.back-pill {
  padding: 0 15px;
}

.mini-brand {
  border-radius: 8px;
  padding: 0 12px 0 5px;
}

.chart-page .detail-shell {
  width: min(1240px, calc(100% - 32px));
  padding-top: 0;
}

.chart-return-bar {
  width: min(1240px, calc(100% - 32px));
  margin: 16px auto 0;
}

.asset-mobile-strip {
  display: none;
}

.asset-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
}

.asset-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
  margin-bottom: 20px;
  color: #7d8798;
  font-size: 14px;
  font-weight: 800;
}

.asset-breadcrumb a {
  color: #8792a5;
}

.asset-breadcrumb strong {
  color: #cfd6e4;
}

.asset-identity-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.asset-flag-large {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #0b0f15;
  color: #f5f7fb;
  font-size: 28px;
  font-weight: 950;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.04);
}

.asset-pair-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 10px;
}

.asset-pair-chips span,
.asset-pair-chips button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 38px;
  border: 1px solid #2d3139;
  border-radius: 8px;
  background: #202228;
  color: #eef4ff;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 900;
}

.asset-pair-chips button {
  min-width: 34px;
  padding: 0;
  color: #8091bd;
}

.asset-pair-chips .pair-chip-main {
  gap: 8px;
  min-width: 112px;
}

.asset-pair-chips .pair-chip-main i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #11151d;
  font-style: normal;
  font-size: 10px;
  font-weight: 950;
}

.asset-pair-chips .favorite-toggle {
  color: #8ba1d2;
  font-size: 18px;
  line-height: 1;
}

.asset-pair-chips .favorite-toggle:hover {
  border-color: #4b8dff;
  color: #ffffff;
  background: #252b38;
}

.asset-pair-chips .favorite-toggle.is-liked {
  border-color: rgba(245, 197, 66, 0.8);
  background: rgba(245, 197, 66, 0.16);
  color: #f5c542;
}

.favorite-inline-message {
  display: none;
  flex-basis: 100%;
  width: max-content;
  max-width: min(360px, 100%);
  border: 1px solid rgba(72, 141, 255, 0.36);
  border-radius: 8px;
  background: rgba(6, 11, 18, 0.94);
  color: #f4f7ff;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}

.favorite-inline-message.show {
  display: inline-flex;
}

.detail-price small {
  display: block;
  color: #68758f;
  font-size: 12px;
  font-weight: 800;
}

.terminal-panel {
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  background: #171717;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}

.legal-page {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  min-height: auto;
}

.legal-content {
  padding: 28px;
  color: #d7deec;
  line-height: 1.78;
}

.legal-content h2 {
  margin: 28px 0 10px;
  color: #ffffff;
  font-size: 20px;
}

.legal-content p {
  margin: 0 0 14px;
}

.asset-terminal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 24px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.asset-converter-panel {
  border-top: 0;
  border-radius: 0;
}

.asset-converter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 44px minmax(220px, 1fr) minmax(140px, 0.75fr) minmax(150px, 0.58fr);
  gap: 12px;
  align-items: end;
  padding: 16px;
}

.asset-converter-grid label {
  display: grid;
  gap: 7px;
  color: #7184af;
  font-size: 12px;
  font-weight: 900;
}

.asset-converter-grid input,
.asset-converter-grid select,
.asset-converter-grid strong,
.asset-converter-grid output {
  display: flex;
  align-items: center;
  min-height: 42px;
  min-width: 0;
  border: 1px solid #2a2a2a;
  border-radius: 7px;
  background: #0b0d0f;
  color: white;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
}

.asset-converter-grid input,
.asset-converter-grid select {
  outline: 0;
}

.converter-swap {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 120, 255, 0.16);
  color: #4b8dff;
  font-size: 20px;
  font-weight: 950;
}

.converter-calculate {
  min-height: 42px;
}

.asset-converter-grid output {
  grid-column: 1 / -1;
  color: var(--cyan);
  font-size: 17px;
}

.asset-converter-grid output b {
  color: #25d96f;
  font-weight: 950;
}

.asset-code-line {
  display: inline-flex;
  color: #5e79b6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.asset-terminal h1 {
  margin: 12px 0 8px;
  color: white;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.asset-terminal p {
  margin: 0;
  color: #6378aa;
  font-size: 13px;
  font-weight: 800;
}

.chart-page .detail-price {
  min-width: 210px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.chart-page .detail-price span {
  color: #6378aa;
}

.chart-page .detail-price strong {
  margin: 6px 0 8px;
  font-size: clamp(30px, 4vw, 44px);
}

.full-chart-panel {
  border-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.chart-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border-top: 1px solid #292929;
  border-bottom: 1px solid #292929;
}

.chart-toolbar .range-tabs {
  justify-content: flex-start;
}

.chart-mode-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.indicator-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.chart-toolbar button {
  height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #6378aa;
  font-size: 12px;
  font-weight: 900;
}

.chart-toolbar .range-tabs button {
  min-width: 44px;
}

.chart-mode-tabs button,
.indicator-tabs button {
  padding: 0 12px;
  background: #202024;
  border-color: #34343c;
}

.chart-toolbar button.active {
  background: #2d78ff;
  border-color: #4b8dff;
  color: white;
}

.indicator-tabs button[data-indicator="ma7"].active {
  background: #f2a713;
  border-color: #f2a713;
}

.indicator-tabs button[data-indicator="ma20"].active {
  background: #8059f7;
  border-color: #8059f7;
}

.indicator-tabs button[data-indicator="bollinger"].active {
  background: #2f4f8f;
  border-color: #4b8dff;
}

.chart-canvas-wrap {
  position: relative;
  padding: 0 12px;
  background: #171717;
}

.chart-canvas-wrap::after {
  content: "";
  position: absolute;
  inset: 0 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
}

.chart-canvas-wrap.chart-pulse-up::after {
  animation: chartPulseUp 820ms ease-out;
}

.chart-canvas-wrap.chart-pulse-down::after {
  animation: chartPulseDown 820ms ease-out;
}

@keyframes chartPulseUp {
  0% {
    opacity: 0.9;
    box-shadow: inset 0 0 0 1px rgba(0, 209, 163, 0.52), 0 0 26px rgba(0, 209, 163, 0.22);
  }
  100% {
    opacity: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 209, 163, 0), 0 0 0 rgba(0, 209, 163, 0);
  }
}

@keyframes chartPulseDown {
  0% {
    opacity: 0.9;
    box-shadow: inset 0 0 0 1px rgba(255, 79, 87, 0.55), 0 0 26px rgba(255, 79, 87, 0.24);
  }
  100% {
    opacity: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 79, 87, 0), 0 0 0 rgba(255, 79, 87, 0);
  }
}

#detailChart {
  display: block;
  width: 100%;
  height: 430px;
  touch-action: none;
}

#volumeChart {
  display: block;
  width: 100%;
  height: 92px;
  pointer-events: none;
}

.chart-tooltip {
  position: absolute;
  z-index: 6;
  width: min(250px, calc(100% - 20px));
  padding: 12px;
  border: 1px solid rgba(155, 177, 220, 0.26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 17, 22, 0.72), rgba(8, 10, 14, 0.58));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  color: white;
  pointer-events: none;
  backdrop-filter: blur(14px) saturate(145%);
}

.chart-tooltip[hidden] {
  display: none;
}

.tooltip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.tooltip-head strong {
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.tooltip-head span {
  color: #7287bb;
  font-size: 11px;
  font-weight: 900;
}

.tooltip-date {
  display: block;
  margin: -2px 0 8px;
  color: rgba(211, 221, 242, 0.72);
  font-size: 11px;
  font-weight: 850;
}

.tooltip-price {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 950;
}

.tooltip-price.good {
  color: var(--green);
}

.tooltip-price.bad {
  color: var(--red);
}

.chart-tooltip dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.chart-tooltip dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chart-tooltip dt {
  color: #8190aa;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.chart-tooltip dd {
  margin: 0;
  color: #eef4ff;
  font-size: 12px;
  font-weight: 900;
}

.chart-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 0 16px;
  border-top: 1px solid #252525;
  color: #6378aa;
  font-size: 11px;
  font-weight: 900;
}

.chart-footnote span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-footnote small {
  margin-left: auto;
  color: #5e6f9e;
  font-weight: 800;
}

.ma7-dot,
.ma20-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.ma7-dot {
  background: #f6ad1b;
}

.ma20-dot {
  background: #8d67ff;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid #2a2a2a;
}

.metric-strip div {
  min-height: 64px;
  padding: 12px 14px;
  border-right: 1px solid #2a2a2a;
  text-align: center;
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip span {
  display: block;
  color: #6378aa;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-strip strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: 14px;
  font-weight: 950;
}

.metric-strip strong.good {
  color: var(--green);
}

.metric-strip strong.bad {
  color: var(--red);
}

.asset-performance-panel,
.detail-bank-panel,
.mobile-related-rates,
.quick-conversion-section,
.asset-article-panel,
.detail-mobile-panels {
  margin-top: 18px;
}

.asset-performance-panel {
  padding: 22px 24px;
}

.asset-performance-panel h2,
.mobile-related-rates h2 {
  margin: 0 0 16px;
  color: #f2f6ff;
  font-size: 18px;
  font-weight: 950;
}

.asset-performance-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.asset-performance-grid div {
  min-height: 88px;
  padding: 16px;
  border: 1px solid #292d36;
  border-radius: 8px;
  background: #0c0f15;
}

.asset-performance-grid span {
  display: block;
  color: #d9deea;
  font-size: 14px;
  font-weight: 850;
}

.asset-performance-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 22px;
  font-weight: 950;
}

.asset-performance-grid strong.bad {
  color: var(--red);
}

.detail-bank-panel .bank-table-wrap {
  border-top: 1px solid #242832;
}

.bank-logo {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 999px;
  background: #20242c;
  color: #eef4ff;
  font-size: 10px;
  font-weight: 950;
  vertical-align: middle;
}

.load-more-banks {
  display: block;
  width: min(360px, calc(100% - 32px));
  min-height: 42px;
  margin: 14px auto 18px;
  border: 0;
  border-radius: 999px;
  background: #24272c;
  color: #e7edf8;
  font-size: 14px;
  font-weight: 850;
}

.mobile-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mobile-related-rates {
  display: none;
}

.mobile-related-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid #292d36;
  border-radius: 8px;
  background: #080b10;
}

.mobile-related-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e6ecf7;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.mobile-related-head b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #20242c;
  font-size: 12px;
}

.mobile-related-card strong {
  color: #f4f7ff;
  font-size: 28px;
  font-weight: 950;
}

.mobile-related-card small,
.mobile-related-card em {
  color: #80899d;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.mobile-related-card em:not(.down) {
  color: var(--green);
}

.quick-conversion-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  padding: 6px 0;
}

.quick-conversion-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #22242b;
  color: #e9edf6;
  font-size: 16px;
  font-weight: 850;
}

.asset-article-panel {
  padding: 28px 36px;
  background: #10131b;
}

.asset-article-content {
  max-width: 920px;
}

.asset-article-content h2 {
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 7px solid #1976d2;
  color: #f3f6ff;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 950;
}

.asset-article-content p {
  margin: 0 0 18px;
  color: #d4d9e5;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.85;
}

.asset-article-content strong {
  color: #ffffff;
  font-weight: 950;
}

.detail-mobile-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.useful-links-panel,
.popular-rates-panel {
  padding: 24px;
}

.useful-links-panel h2,
.popular-rates-panel h2 {
  margin: 0 0 18px;
  color: #aeb4c0;
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
}

.useful-links-panel a,
.popular-rates-panel a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(48px, auto) 18px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #eef3ff;
  font-size: 16px;
  font-weight: 850;
}

.useful-links-panel a:first-of-type,
.popular-rates-panel a:first-child {
  border-top: 0;
}

.useful-links-panel a {
  grid-template-columns: 36px minmax(0, 1fr) 18px;
}

.popular-rates-panel a span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(90, 152, 255, 0.12);
  color: #6fa4ff;
  font-size: 14px;
  font-weight: 950;
}

.popular-rates-panel a strong {
  min-width: 0;
}

.popular-rates-panel a b {
  justify-self: end;
  padding: 5px 10px;
  border-radius: 8px;
  background: #22242b;
  color: #f3f5fb;
  font-size: 13px;
}

.useful-links-panel a b,
.popular-rates-panel a em {
  color: #697386;
  font-style: normal;
  font-size: 24px;
  font-weight: 600;
}

.asset-story-panel {
  margin-top: 18px;
}

.asset-story {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.asset-story p {
  margin: 0;
  color: #a9b5ca;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.7;
}

.asset-story strong {
  color: white;
  font-weight: 950;
}

.asset-story strong.good,
.asset-story-chip.good {
  color: var(--green);
}

.asset-story strong.bad,
.asset-story-chip.bad {
  color: var(--red);
}

.asset-story-main {
  display: grid;
  gap: 8px;
}

.asset-story-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asset-story-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(123, 143, 184, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 950;
}

.asset-story-chip.good {
  border-color: rgba(0, 196, 138, 0.28);
  background: rgba(0, 196, 138, 0.08);
}

.asset-story-chip.bad {
  border-color: rgba(255, 79, 87, 0.28);
  background: rgba(255, 79, 87, 0.08);
}

.asset-story-extremes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.asset-story-extremes div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid #2a2a2a;
}

.asset-story-extremes div:last-child {
  border-right: 0;
}

.asset-story-extremes span,
.asset-story-extremes small {
  display: block;
  color: #6378aa;
  font-size: 11px;
  font-weight: 900;
}

.asset-story-extremes strong {
  display: block;
  margin: 7px 0 5px;
  color: #eef4ff;
  font-size: clamp(17px, 2vw, 23px);
  overflow-wrap: anywhere;
}

.asset-story-note {
  color: #6f7fa8;
  font-size: 12px;
}

.asset-info-panel {
  margin-top: 18px;
}

.asset-info-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #2a2a2a;
}

.asset-info-section {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.asset-info-section:nth-child(2n),
.asset-content-ad:nth-child(2n) {
  border-right: 0;
}

.asset-info-section h3 {
  margin: 0 0 10px;
  color: #f1f6ff;
  font-size: 18px;
  font-weight: 950;
}

.asset-info-section p {
  margin: 0;
  color: #a6b3c9;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.asset-content-ad {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 20px;
  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(45, 120, 255, 0.1), rgba(0, 196, 138, 0.07)),
    #101318;
  text-align: center;
}

.asset-content-ad span {
  color: #5d74ac;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.asset-content-ad strong {
  color: white;
  font-size: 22px;
  font-weight: 950;
}

.asset-content-ad p {
  max-width: 560px;
  margin: 0;
  color: #8190aa;
  font-size: 13px;
  font-weight: 800;
}

.asset-content-ad.custom-ad {
  display: block;
  text-align: initial;
}

.member-watch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(45, 120, 255, 0.08), rgba(0, 196, 138, 0.05)), var(--surface);
}

.member-watch-panel[hidden],
.member-watch-optin[hidden] {
  display: none;
}

.member-watch-optin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(75, 141, 255, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(75, 141, 255, 0.12), rgba(0, 196, 138, 0.06)), var(--surface);
}

.member-watch-optin strong {
  display: block;
  margin-top: 6px;
  color: white;
  font-size: 18px;
}

.member-watch-optin p {
  margin: 5px 0 0;
  color: #9daabd;
  line-height: 1.5;
}

.member-watch-copy h2 {
  margin: 8px 0 8px;
  color: white;
  font-size: 24px;
}

.member-watch-copy p,
.member-watch-note {
  margin: 0;
  color: #9daabd;
  line-height: 1.6;
}

.member-watch-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, 0.5fr) auto;
  gap: 8px;
  grid-column: 1 / -1;
}

.member-watch-tools select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0b0d0f;
  color: white;
  padding: 0 12px;
  font-weight: 850;
}

.member-watch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
}

.member-watch-grid.list {
  grid-template-columns: 1fr;
}

.member-watch-card {
  min-width: 0;
  border: 1px solid #252a34;
  border-radius: 8px;
  background: #101318;
  overflow: hidden;
}

.member-watch-card a {
  display: grid;
  gap: 5px;
  padding: 12px;
  text-decoration: none;
}

.member-watch-card span {
  color: #7184af;
  font-size: 11px;
  font-weight: 900;
}

.member-watch-card strong {
  color: white;
  font-size: 14px;
  font-weight: 950;
}

.member-watch-card b {
  color: var(--cyan);
  font-size: 17px;
}

.member-watch-card small {
  color: var(--green);
  font-weight: 900;
}

.member-watch-card small.down {
  color: var(--red);
}

.member-watch-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #252a34;
}

.member-watch-actions button {
  height: 30px;
  border: 0;
  border-right: 1px solid #252a34;
  background: transparent;
  color: #9daabd;
  font-weight: 950;
}

.member-watch-actions button:last-child {
  border-right: 0;
  color: #ff8c92;
}

.member-watch-note {
  grid-column: 1 / -1;
  font-size: 12px;
}

.admin-page {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  background: var(--bg);
}

.admin-page .site-scroll-root {
  min-height: 100vh;
  min-height: 100dvh;
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}

.admin-login-shell[hidden],
.admin-shell[hidden] {
  display: none;
}

.admin-login-card {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
}

.admin-login-card h1 {
  margin: 0;
  color: white;
  font-size: 32px;
}

.admin-login-card p {
  margin: 0;
  color: #9daabd;
  line-height: 1.55;
}

.admin-login-card label {
  display: grid;
  gap: 7px;
  color: #7f91b1;
  font-size: 12px;
  font-weight: 900;
}

.admin-login-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: 0;
  background: #0b0d0f;
  color: white;
  padding: 12px;
}

.admin-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.admin-hero,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), var(--surface);
  box-shadow: var(--shadow);
}

.admin-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
}

.admin-hero h1 {
  margin: 8px 0 8px;
  color: white;
  font-size: clamp(30px, 4vw, 48px);
}

.admin-hero p,
.admin-note {
  margin: 0;
  color: #9daabd;
  line-height: 1.6;
}

.admin-dashboard-overview {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  margin-bottom: 18px;
}

.admin-welcome-card,
.admin-traffic-card,
.admin-health-card,
.admin-summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: var(--shadow);
}

.admin-welcome-card {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 210px;
  padding: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(75, 141, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(17, 215, 197, 0.12), rgba(75, 141, 255, 0.1)),
    var(--surface);
}

.admin-welcome-card h2 {
  margin: 0;
  color: white;
  font-size: clamp(24px, 3vw, 38px);
}

.admin-welcome-card p {
  margin: 0;
  color: #aeb9ca;
  line-height: 1.6;
}

.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-quick-links a {
  border: 1px solid rgba(75, 141, 255, 0.28);
  border-radius: 999px;
  background: rgba(75, 141, 255, 0.1);
  color: #cfe0ff;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-summary-card {
  min-height: 100px;
  padding: 15px;
}

.admin-summary-card span,
.admin-health-list span,
.admin-traffic-bar span {
  display: block;
  color: #7184af;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-summary-card strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: 28px;
  line-height: 1;
}

.admin-summary-card small {
  display: block;
  margin-top: 8px;
  color: #92a0b7;
  font-size: 12px;
  line-height: 1.35;
}

.admin-traffic-card,
.admin-health-card {
  min-height: 210px;
  overflow: hidden;
}

.admin-traffic-bars {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.admin-traffic-bar {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
}

.admin-traffic-bar b {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4b8dff, #11d7c5);
  box-shadow: 0 0 18px rgba(17, 215, 197, 0.18);
}

.admin-traffic-bar strong {
  color: white;
  font-size: 13px;
  text-align: right;
}

.admin-empty-chart {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: #8997ac;
  padding: 18px;
  font-size: 13px;
  font-weight: 850;
}

.admin-health-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.admin-health-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  padding: 11px 12px;
}

.admin-health-list div::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(0, 196, 138, 0.4);
}

.admin-health-list div.warn::before {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(246, 195, 91, 0.32);
}

.admin-health-list strong {
  margin-left: auto;
  color: white;
  font-size: 12px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-workbench {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #090b0f;
  box-shadow: var(--shadow);
  padding: 10px;
}

.admin-tab {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #aeb9ca;
  cursor: pointer;
  padding: 12px 13px;
  text-align: left;
  font-weight: 950;
}

.admin-tab:hover,
.admin-tab.active {
  border-color: rgba(75, 141, 255, 0.32);
  background: linear-gradient(135deg, rgba(75, 141, 255, 0.2), rgba(17, 215, 197, 0.08));
  color: white;
}

.admin-content-grid {
  min-width: 0;
}

.admin-panel.is-hidden {
  display: none;
}

.admin-panel-wide {
  grid-column: 1 / -1;
}

.admin-form {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.admin-form-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-wide-field {
  grid-column: 1 / -1;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-form label:not(.admin-check) {
  display: grid;
  gap: 7px;
  color: #7f91b1;
  font-size: 12px;
  font-weight: 900;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: 0;
  background: #0b0d0f;
  color: white;
  padding: 11px 12px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-color-preset {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.admin-color-preset input[type="color"] {
  min-height: 42px;
  padding: 5px;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7d2e4;
  font-size: 13px;
  font-weight: 850;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-logo-uploader {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.brand-logo-preview {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(75, 141, 255, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(75, 141, 255, 0.28), rgba(17, 215, 197, 0.16)),
    #0b0d0f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: grid;
  place-items: center;
  color: white;
  font-size: 20px;
  font-weight: 950;
}

.brand-logo-preview.has-image {
  background-color: #10141c;
}

.admin-user-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.admin-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  padding: 13px;
}

.admin-user-row strong,
.admin-user-row span,
.admin-user-row small {
  min-width: 0;
}

.admin-user-row strong {
  color: white;
  font-size: 14px;
}

.admin-user-row span {
  color: #9daabd;
  font-size: 12px;
  font-weight: 850;
}

.admin-user-row small {
  color: #7184af;
  font-size: 11px;
  font-weight: 850;
}

.admin-role-badge {
  justify-self: end;
  border: 1px solid rgba(17, 215, 197, 0.26);
  border-radius: 999px;
  background: rgba(17, 215, 197, 0.08);
  color: var(--green);
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.admin-data-table {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.admin-data-table.compact {
  padding-top: 0;
}

.admin-table-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  padding: 12px;
  color: #9daabd;
  font-size: 12px;
  font-weight: 850;
}

.admin-table-row strong {
  color: white;
  font-size: 13px;
}

.admin-table-row small {
  color: #7184af;
  font-weight: 850;
}

.admin-status-pill {
  justify-self: end;
  border: 1px solid rgba(246, 195, 91, 0.32);
  border-radius: 999px;
  background: rgba(246, 195, 91, 0.08);
  color: var(--amber);
  padding: 7px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.admin-status-pill.ok {
  border-color: rgba(17, 215, 197, 0.28);
  background: rgba(17, 215, 197, 0.08);
  color: var(--green);
}

.admin-status-pill.warn {
  border-color: rgba(255, 79, 87, 0.28);
  background: rgba(255, 79, 87, 0.08);
  color: #ff8c92;
}

.ghost-btn.small {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 11px;
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.media-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  padding: 12px;
}

.media-card div:not(.media-thumb) {
  min-width: 0;
}

.media-card strong,
.media-card span,
.media-card small {
  display: block;
}

.media-card strong {
  color: white;
  font-size: 13px;
}

.media-card span {
  margin-top: 5px;
  color: #8ea0bd;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.media-card small {
  margin-top: 5px;
  color: #7184af;
  font-size: 11px;
  line-height: 1.35;
}

.media-card .ghost-btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.media-thumb {
  width: 84px;
  height: 64px;
  border: 1px solid rgba(75, 141, 255, 0.22);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(75, 141, 255, 0.18), rgba(17, 215, 197, 0.08)),
    #111722;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.media-thumb.video {
  display: grid;
  place-items: center;
  color: #cfe0ff;
  font-size: 11px;
  font-weight: 950;
}

.ghost-btn.danger {
  border-color: rgba(255, 79, 87, 0.35);
  color: #ff8c92;
}

.social-admin {
  align-content: start;
}

.traffic-dashboard {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.traffic-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.traffic-metrics div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  padding: 14px;
}

.traffic-metrics span,
.traffic-lists h3 {
  display: block;
  color: #7184af;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.traffic-metrics strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: 24px;
}

.traffic-split {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.traffic-split span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: #c7d2e4;
  font-size: 12px;
  font-weight: 850;
}

.traffic-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.traffic-lists section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d0f;
  padding: 14px;
}

.traffic-lists ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.traffic-lists li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9daabd;
  font-size: 12px;
  font-weight: 800;
}

.traffic-lists strong {
  color: white;
}

.admin-inline-actions {
  padding: 0 18px 18px;
}

.light-mode {
  color-scheme: light;
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #e8edf5;
  --line: #d8e0eb;
  --line-soft: rgba(26, 35, 47, 0.1);
  --text: #121820;
  --muted: #637086;
  --shadow: 0 16px 40px rgba(38, 53, 72, 0.12);
}

.light-mode .site-header {
  background: rgba(255, 255, 255, 0.9);
}

.light-mode .hero-overlay {
  background: linear-gradient(180deg, transparent, rgba(8, 11, 15, 0.84) 34%, #050607);
}

.light-mode .converter-form input,
.light-mode .converter-form select,
.light-mode .auth-form input,
.light-mode .social-btn,
.light-mode .range-tabs button {
  background: #f7f9fc;
  color: #111923;
}

@media (max-width: 1320px) {
  .main-nav {
    gap: 12px;
  }

  .nav-links a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .search-box {
    width: min(200px, 22vw);
  }
}

@media (max-width: 1500px) {
  .page-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1270px;
    padding-inline: 16px;
  }

  .side-rail {
    display: none;
  }
}

@media (max-width: 1120px) {
  .ticker-inner {
    display: flex;
    scrollbar-width: thin;
  }

  .ticker-item {
    min-width: 150px;
  }

  .main-nav {
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    position: relative;
    z-index: 70;
    touch-action: manipulation;
  }

  .nav-links,
  .nav-actions {
    grid-column: 1 / -1;
  }

  .nav-links {
    display: none;
    flex-wrap: wrap;
  }

  .nav-links.always-open {
    display: flex;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.open-on-category {
    display: none;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 14px;
  }

  .search-box {
    width: min(100%, 360px);
  }

  .market-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .market-board {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .article-shell,
  .conversion-layout {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-overview,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-workbench {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .admin-tab {
    min-width: 150px;
    text-align: center;
  }

  .admin-user-row {
    grid-template-columns: 1fr;
  }

  .admin-table-row {
    grid-template-columns: 1fr;
  }

  .media-library-grid {
    grid-template-columns: 1fr;
  }

  .admin-role-badge {
    justify-self: start;
  }

  .admin-form-grid,
  .admin-form-two,
  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-watch-panel,
  .member-watch-tools,
  .traffic-lists {
    grid-template-columns: 1fr;
  }

  .member-watch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traffic-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-converter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-sidebar {
    position: static;
  }

  .conversion-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .conversion-price {
    grid-column: 1 / -1;
    text-align: left;
  }

  .conversion-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-form-grid .primary-btn {
    width: 100%;
  }

  .conversion-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-toolbar {
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .chart-topbar {
    flex-wrap: wrap;
  }

  .chart-nav-menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .chart-mode-tabs,
  .indicator-tabs {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .metric-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-nav {
    grid-template-columns: 1fr;
  }

  .quote-panel + .hero-news,
  .hero-news + .quote-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-news {
    min-height: 410px;
  }

  .video-ad-slot {
    min-height: 410px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    top: auto;
    z-index: 1;
    border-bottom: 1px solid #202734;
    background: #02050a;
    backdrop-filter: none;
  }

  .ticker-strip {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ticker-strip::-webkit-scrollbar {
    display: none;
  }

  .ticker-inner {
    display: flex;
    width: max-content;
    max-width: none;
    margin: 0;
  }

  .ticker-item {
    flex: 0 0 138px;
    min-width: 138px;
    min-height: 80px;
    padding-inline: 14px;
  }

  .ticker-item strong {
    font-size: 17px;
  }

  .main-nav {
    position: relative;
    grid-template-columns: 42px minmax(0, 1fr) 42px 42px;
    grid-auto-rows: auto;
    gap: 8px 9px;
    min-height: 64px;
    padding: 10px 10px;
    background: #02050a;
  }

  .menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    flex-direction: column;
    position: relative;
    z-index: 80;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 5px;
    background: #02050a;
    box-shadow: none;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 3.3px 0;
    background: #f7f9ff;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .nav-actions {
    display: contents;
  }

  .account-toggle {
    display: inline-grid;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-color: #2a3340;
    border-radius: 9px;
    background: #080c13;
    font-size: 19px;
  }

  .search-toggle {
    display: inline-grid;
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-color: #2a3340;
    border-radius: 9px;
    background: #080c13;
    font-size: 18px;
  }

  .nav-search {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .search-box {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .search-box > span {
    display: none;
  }

  .search-box input {
    padding-left: 14px;
  }

  .nav-actions.search-open .nav-search {
    display: block;
  }

  .nav-actions.search-open .search-box {
    display: flex;
  }

  .auth-actions {
    position: absolute;
    top: 66px;
    right: 64px;
    z-index: 40;
    display: none;
    width: min(230px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b0d0f;
    box-shadow: var(--shadow);
  }

  .nav-actions.account-open .auth-actions {
    display: grid;
    gap: 8px;
  }

  .auth-actions .ghost-btn,
  .auth-actions .primary-btn {
    width: 100%;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 12px;
    right: 12px;
    z-index: 75;
    display: none;
    width: auto;
    padding: 8px;
    border: 1px solid #242b38;
    border-radius: 8px;
    background: #070a10;
    box-shadow: var(--shadow);
  }

  .nav-links.open-on-category {
    display: none;
  }

  .nav-links.open,
  .nav-links.open-on-category.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 44px;
    border-radius: 7px;
    padding: 0 12px;
    font-size: 14px;
  }

  .nav-menu-item {
    display: grid;
    width: 100%;
  }

  .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 2px 0 6px 14px;
    padding: 4px;
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
  }

  .nav-submenu a {
    min-height: 38px;
    font-size: 13px;
  }

  .brand-text {
    font-size: 19px;
    line-height: 1;
  }

  .brand-text span {
    font-size: 12px;
  }

  .page-shell {
    padding: 18px 12px 34px;
  }

  .billboard {
    min-height: 180px;
    margin-bottom: 34px;
  }

  .category-top-ad {
    min-height: 120px;
    margin-bottom: 14px;
  }

  .mobile-ad-slot {
    display: grid;
    min-height: 110px;
    margin: 14px 0;
  }

  .mobile-inline-ad {
    min-height: 250px;
  }

  .central-bank-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .tcmb-detail-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .tcmb-updated {
    width: 100%;
  }

  .tcmb-rate-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .central-bank-updated {
    width: 100%;
  }

  .central-bank-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .central-bank-page .market-table-wrap {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
  }

  .central-bank-table {
    min-width: 760px;
  }

  .central-bank-page .market-data-table {
    min-width: 0;
    table-layout: fixed;
  }

  .central-bank-page .market-data-table th:nth-child(2),
  .central-bank-page .market-data-table td:nth-child(2),
  .central-bank-page .market-data-table th:nth-child(5),
  .central-bank-page .market-data-table td:nth-child(5),
  .central-bank-page .market-data-table th:nth-child(6),
  .central-bank-page .market-data-table td:nth-child(6),
  .central-bank-page .market-data-table th:nth-child(7),
  .central-bank-page .market-data-table td:nth-child(7) {
    display: none;
  }

  .central-bank-copy {
    padding: 20px;
  }

  .quote-grid,
  .news-grid,
  .tool-row,
  .converter-form,
  .conversion-form-grid,
  .asset-converter-grid,
  .focus-row,
  .related-grid,
  .detail-hero,
  .asset-terminal {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    grid-template-columns: 1fr;
  }

  .conversion-shell {
    width: min(100% - 24px, 1320px);
    padding-top: 18px;
  }

  .converter-swap-button {
    justify-self: center;
  }

  .standalone-converter .converter-form.converter-form-with-swap,
  .converter-form.converter-form-with-swap,
  .converter-form:has(.converter-swap-button) {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .standalone-converter .converter-swap-button,
  .converter-form-with-swap .converter-swap-button {
    width: 100%;
    justify-self: stretch;
  }

  .converter-related {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 4px 18px 24px;
  }

  .converter-related-section {
    gap: 0;
    padding: 0 0 30px;
    border: 0;
    border-bottom: 8px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
    background: transparent;
  }

  .converter-related-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .converter-related-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .market-list-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(108px, auto) minmax(70px, auto);
    gap: 10px;
    align-items: end;
    padding: 0 0 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #8d93a2;
    font-size: clamp(18px, 4.6vw, 28px);
    font-weight: 500;
    line-height: 1;
  }

  .market-list-head span:nth-child(2),
  .market-list-head span:nth-child(3) {
    text-align: right;
  }

  .market-list-row,
  .converter-related-card,
  .converter-related .market-list-row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(108px, auto) minmax(70px, auto);
    grid-template-rows: auto;
    gap: 10px;
    min-height: 86px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .market-list-section {
    padding: 22px 20px;
  }

  .market-list-icon,
  .converter-related .market-list-icon {
    grid-row: auto;
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .market-list-name,
  .converter-related .market-list-name {
    color: #dfe4ee;
    font-size: clamp(17px, 4.55vw, 23px);
    font-weight: 780;
    line-height: 1.12;
  }

  .market-list-price,
  .converter-related .market-list-price {
    justify-content: flex-end;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
  }

  .market-list-price b,
  .converter-related .market-list-price b {
    color: #11a88f;
    font-size: clamp(20px, 5.1vw, 30px);
    font-weight: 850;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .market-list-row.down .market-list-price b {
    color: #ff3461;
  }

  .market-list-price small,
  .converter-related .market-list-price small {
    color: #d5d9e3;
    font-size: clamp(12px, 3.2vw, 17px);
    font-weight: 650;
  }

  .market-list-change,
  .converter-related .market-list-change {
    justify-self: end;
    color: #11a88f;
    font-size: clamp(18px, 4.8vw, 28px);
    font-weight: 750;
    line-height: 1;
  }

  .market-list-change.down {
    color: #ff3461;
  }

  .category-desktop-table {
    display: none;
  }

  .category-mobile-list {
    display: block;
  }

  .category-mobile-list .market-list-head {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.72fr) minmax(58px, 0.48fr);
    gap: 10px;
    padding: 0 4px 12px;
    color: #969ca9;
    font-size: clamp(12px, 3.1vw, 15px);
    font-weight: 520;
  }

  .category-mobile-list .market-list-row {
    grid-template-columns: 34px minmax(0, 1fr) minmax(92px, 0.72fr) minmax(58px, 0.48fr);
    gap: 8px;
    min-height: 74px;
    padding: 13px 4px;
  }

  .category-mobile-list .market-list-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .category-mobile-list .market-list-name {
    font-size: clamp(14px, 3.75vw, 18px);
    font-weight: 680;
    line-height: 1.1;
  }

  .category-mobile-list .market-list-price {
    gap: 3px;
  }

  .category-mobile-list .market-list-price b {
    font-size: clamp(15px, 4vw, 20px);
    font-weight: 720;
  }

  .category-mobile-list .market-list-price small {
    font-size: clamp(10px, 2.65vw, 13px);
    font-weight: 560;
  }

  .category-mobile-list .market-list-change {
    font-size: clamp(14px, 3.75vw, 18px);
    font-weight: 620;
  }

  .conversion-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .conversion-flag {
    width: 66px;
    height: 66px;
    font-size: 18px;
  }

  .conversion-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-stats-grid div {
    border-bottom: 1px solid var(--line);
  }

  .detail-price {
    text-align: left;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-watch-grid,
  .traffic-metrics {
    grid-template-columns: 1fr;
  }

  .member-watch-optin {
    align-items: stretch;
    flex-direction: column;
  }

  .asset-story-extremes {
    grid-template-columns: 1fr;
  }

  .asset-story-extremes div {
    border-right: 0;
    border-bottom: 1px solid #2a2a2a;
  }

  .asset-story-extremes div:last-child {
    border-bottom: 0;
  }

  .asset-info-content {
    grid-template-columns: 1fr;
  }

  .asset-info-section,
  .asset-content-ad,
  .asset-info-section:nth-child(2n),
  .asset-content-ad:nth-child(2n) {
    border-right: 0;
  }

  .chart-footnote {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 16px;
  }

  .chart-footnote small {
    margin-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }

  .quote-card,
  .quote-card:nth-child(3n) {
    border-right: 0;
  }

  .hero-news {
    min-height: 430px;
  }

  .video-ad-slot {
    min-height: auto;
    padding: 14px;
  }

  .video-ad-frame {
    min-height: 230px;
  }

  .video-ad-label {
    top: 14px;
    left: 14px;
    font-size: 10px;
  }

  .video-ad-play {
    width: 62px;
    height: 62px;
  }

  .video-ad-play::after {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 18px;
  }

  .video-ad-bars {
    right: 15px;
    bottom: 17px;
    height: 42px;
  }

  .video-ad-copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .video-ad-copy strong {
    font-size: 21px;
  }

  .video-ad-copy small {
    font-size: 12px;
  }

  .hero-overlay {
    padding: 24px 18px 20px;
  }

  .slide-dots {
    max-width: 205px;
    padding-bottom: 4px;
  }

  .calendar li {
    grid-template-columns: 54px 1fr;
  }

  .calendar strong {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .content > .billboard:first-child + .section-head,
  .homepage-inline-ad,
  .detail-page .asset-mobile-strip {
    display: none;
  }

  .market-board {
    border-color: #252a33;
    border-radius: 5px;
    background: #0d0f12;
  }

  .market-board .quote-panel {
    background: #0d0f12;
  }

  .market-board .panel-head {
    min-height: 56px;
    padding: 0 14px;
    border-bottom-color: #252a33;
  }

  .market-board .panel-head h2 {
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
  }

  .market-board .panel-actions {
    gap: 6px;
    min-width: 0;
  }

  .market-board .api-status,
  .market-board .mini-status {
    font-size: 11px;
    color: var(--green);
    white-space: nowrap;
  }

  .market-board .icon-btn.small {
    width: 30px;
    min-height: 30px;
    border-color: #2a303a;
    background: #10141b;
    box-shadow: none;
    font-size: 17px;
  }

  .market-board .quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .market-board .quote-card,
  .market-board .quote-card:nth-child(3n) {
    display: grid;
    align-content: center;
    min-height: 88px;
    padding: 12px 10px 10px 12px;
    border-right: 1px solid #252a33;
    border-bottom: 1px solid #252a33;
    border-radius: 0;
    background: #0d0f12;
    box-shadow: none;
    transition: background 140ms ease, color 140ms ease;
  }

  .market-board .quote-card:nth-child(3n) {
    border-right: 0;
  }

  .market-board .quote-card:hover {
    background: #121821;
    transform: none;
  }

  .market-board .quote-card .label {
    min-height: 24px;
    color: #4e93ff;
    font-size: 10px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .market-board .quote-card .value {
    margin-top: 4px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.05;
  }

  .market-board .quote-card .quote-change {
    margin-top: 4px;
    color: var(--green);
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
  }

  .market-board .quote-card .quote-change.down {
    color: var(--red);
  }

  .market-board .card-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  body.detail-page {
    background: #02050a;
    padding-bottom: 0;
  }

  .detail-page .detail-header {
    border-bottom: 1px solid #202734;
    background: #02050a;
  }

  .detail-page .main-nav {
    min-height: 64px;
  }

  .asset-mobile-strip {
    display: block;
    border-bottom: 1px solid #202734;
    background: #070b11;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .asset-mobile-strip::-webkit-scrollbar {
    display: none;
  }

  .asset-mobile-strip-inner {
    display: flex;
    gap: 10px;
    width: max-content;
    padding: 12px 12px 18px;
  }

  .mobile-quote-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 206px;
    min-height: 74px;
    padding: 12px;
    border: 1px solid #202734;
    border-radius: 8px;
    background: #1d1f25;
    color: #f2f6ff;
  }

  .mobile-quote-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #0c1119;
    font-size: 17px;
    font-weight: 950;
  }

  .mobile-quote-text {
    display: grid;
    min-width: 0;
  }

  .mobile-quote-text b {
    color: #e7ecf7;
    font-size: 13px;
    font-weight: 950;
  }

  .mobile-quote-text strong {
    color: #f4f7ff;
    font-size: 20px;
    font-weight: 850;
  }

  .mobile-quote-text small {
    color: var(--green);
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-quote-text small.down {
    color: var(--red);
  }

  .chart-return-bar {
    display: none;
  }

  .chart-page .detail-shell {
    width: 100%;
    padding: 0 10px 16px;
  }

  .terminal-panel {
    border-color: #242b38;
    background: #090d15;
    box-shadow: none;
  }

  .asset-terminal {
    display: block;
    margin: 0 -10px;
    padding: 26px 20px 30px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: #05080d;
  }

  .asset-breadcrumb {
    gap: 9px;
    margin-bottom: 18px;
    overflow: hidden;
    color: #8b92a2;
    font-size: 15px;
    white-space: nowrap;
  }

  .asset-breadcrumb a,
  .asset-breadcrumb strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .asset-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .asset-identity-row {
    align-items: flex-start;
    gap: 16px;
  }

  .asset-flag-large {
    width: 78px;
    height: 78px;
    font-size: 28px;
  }

  .asset-terminal h1 {
    margin: 8px 0 14px;
    font-size: 31px;
    line-height: 1.06;
    text-transform: none;
  }

  .asset-code-line {
    color: #5d78b5;
    font-size: 11px;
  }

  .asset-pair-chips {
    gap: 6px;
    margin-bottom: 10px;
  }

  .asset-pair-chips span,
  .asset-pair-chips button {
    min-height: 39px;
    border-radius: 8px;
    background: #20232b;
    font-size: 15px;
  }

  .asset-pair-chips .pair-chip-main {
    min-width: 128px;
    padding: 0 12px;
  }

  .asset-pair-chips .pair-chip-main i {
    width: 17px;
    height: 17px;
    font-size: 9px;
  }

  .asset-pair-chips .favorite-toggle {
    min-width: 39px;
    font-size: 17px;
  }

  .asset-terminal p {
    color: #77829a;
    font-size: 14px;
  }

  .chart-page .detail-price {
    min-width: 0;
    text-align: left;
  }

  .chart-page .detail-price span {
    display: none;
  }

  .chart-page .detail-price strong {
    display: inline-block;
    margin: 0 8px 4px 0;
    color: #f4f7ff;
    font-size: 38px;
    line-height: 1;
  }

  .chart-page .detail-price b {
    display: inline-block;
    color: #7b8495;
    font-size: 20px;
    font-weight: 750;
  }

  .chart-page .detail-price b:not(.down) {
    color: var(--green);
  }

  .detail-price small {
    margin-top: 6px;
    color: #858c9c;
    font-size: 13px;
  }

  .asset-converter-panel {
    margin: 0;
    border-color: #293241;
    border-radius: 8px;
    background: #0a1019;
  }

  .asset-converter-panel .panel-head {
    display: none;
  }

  .asset-converter-grid {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 16px 10px;
    padding: 24px 18px 28px;
  }

  .converter-source {
    grid-column: 1;
  }

  .converter-swap {
    grid-column: 2;
    align-self: end;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: #246fe8;
    font-size: 28px;
  }

  .converter-target {
    grid-column: 3;
  }

  .converter-amount {
    grid-column: 1 / span 2;
  }

  .converter-calculate {
    grid-column: 3;
    min-height: 54px;
    border-radius: 8px;
    font-size: 17px;
  }

  .asset-converter-grid label {
    gap: 10px;
    color: #e2e6ef;
    font-size: 15px;
  }

  .asset-converter-grid input,
  .asset-converter-grid select,
  .asset-converter-grid output {
    min-height: 56px;
    border-color: #323846;
    border-radius: 8px;
    background: #202329;
    color: #f4f7ff;
    font-size: 15px;
  }

  .asset-converter-grid output {
    grid-column: 1 / -1;
    min-height: auto;
    border: 0;
    background: transparent;
    padding: 0;
    color: #f4f7ff;
    font-size: 24px;
    line-height: 1.35;
  }

  .full-chart-panel {
    margin: 18px -10px 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: #02050a;
  }

  .chart-toolbar {
    display: block;
    min-height: auto;
    padding: 14px 8px 10px;
    border-color: #202734;
    overflow: visible;
    scrollbar-width: none;
  }

  .chart-toolbar::-webkit-scrollbar {
    display: none;
  }

  .chart-toolbar .range-tabs {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
  }

  .chart-toolbar .range-tabs button {
    min-width: 0;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    color: #e5e9f2;
    font-size: 13px;
    font-weight: 750;
  }

  .chart-toolbar button.active {
    background: #252832;
    border-color: #252832;
    color: #ffffff;
  }

  .chart-toolbar .range-tabs button[data-range="C"].active {
    color: #16e5b2;
    box-shadow: inset 0 0 0 1px rgba(0, 209, 163, 0.28), 0 0 18px rgba(0, 209, 163, 0.12);
  }

  .chart-mode-tabs,
  .indicator-tabs {
    display: none;
  }

  .chart-canvas-wrap {
    padding: 0;
    background: #02050a;
  }

  .chart-canvas-wrap::after {
    inset: 0;
    border-radius: 0;
  }

  #detailChart {
    height: 350px;
  }

  #volumeChart,
  .metric-strip {
    display: none;
  }

  .chart-footnote {
    display: none;
  }

  .chart-tooltip {
    display: grid;
    gap: 6px;
    width: auto;
    min-width: 118px;
    padding: 12px 16px;
    border: 0;
    background: rgba(55, 55, 58, 0.92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    text-align: center;
  }

  .chart-tooltip strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 950;
  }

  .chart-tooltip span {
    color: #e7e9ef;
    font-size: 15px;
  }

  .asset-performance-panel {
    padding: 22px 18px;
  }

  .asset-performance-panel h2 {
    display: none;
  }

  .asset-performance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .asset-performance-grid div {
    min-height: 78px;
    padding: 10px 4px;
    border: 0;
    background: transparent;
    text-align: center;
  }

  .asset-performance-grid span {
    color: #f0f3f9;
    font-size: 14px;
  }

  .asset-performance-grid strong {
    color: #23a884;
    font-size: 18px;
    font-weight: 650;
  }

  .detail-bank-panel {
    overflow: hidden;
    border-color: #293241;
    border-radius: 8px;
    background: #03070c;
  }

  .detail-bank-panel .panel-head {
    display: none;
  }

  .detail-bank-panel .bank-table-wrap {
    overflow: hidden;
  }

  .bank-rate-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .bank-rate-table th,
  .bank-rate-table td {
    height: 68px;
    min-height: 0;
    padding: 10px 8px;
    color: #f2f5fb;
    font-size: clamp(13px, 3.15vw, 15px);
    font-weight: 750;
    text-align: right;
    white-space: nowrap;
  }

  .bank-rate-table th {
    background: #11151d;
    color: #f4f6fb;
    font-size: clamp(14px, 3.55vw, 17px);
    text-transform: none;
  }

  .bank-rate-table th:first-child,
  .bank-rate-table td:first-child {
    width: 31%;
    min-width: 0;
    text-align: left;
  }

  .bank-rate-table th:nth-child(2),
  .bank-rate-table td:nth-child(2),
  .bank-rate-table th:nth-child(3),
  .bank-rate-table td:nth-child(3) {
    width: 23%;
  }

  .bank-rate-table th:nth-child(4),
  .bank-rate-table td:nth-child(4) {
    width: 23%;
  }

  .bank-rate-table td:first-child {
    font-size: clamp(14px, 3.5vw, 17px);
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bank-rate-table td:first-child strong {
    display: inline-block;
    max-width: calc(100% - 40px);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

  .bank-rate-table td:not(:first-child) {
    font-variant-numeric: tabular-nums;
  }

  .bank-logo {
    width: 30px;
    height: 30px;
    margin-right: 7px;
    font-size: 10px;
  }

  .load-more-banks {
    min-height: 48px;
    font-size: 15px;
  }

  .mobile-related-rates {
    display: block;
  }

  .mobile-related-rates h2 {
    display: none;
  }

  .mobile-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .mobile-related-card {
    display: grid;
    grid-template-rows: 46px minmax(48px, 1fr) 28px 30px;
    gap: 0;
    min-height: 168px;
    padding: 0;
    overflow: hidden;
    background: #03070c;
  }

  .mobile-related-head {
    min-height: 46px;
    padding: 0 16px;
    background: #202228;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden;
  }

  .mobile-related-card strong {
    align-self: end;
    min-width: 0;
    padding: 14px 12px 0;
    font-size: clamp(20px, 6vw, 25px);
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  .mobile-related-card small,
  .mobile-related-card em {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .quick-conversion-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 8px 10px;
  }

  .quick-conversion-chips a {
    width: 100%;
    min-height: 46px;
    padding: 0 10px;
    background: #24262d;
    font-size: clamp(12px, 3.5vw, 15px);
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .asset-article-panel {
    padding: 28px 28px 32px;
  }

  .asset-article-content h2 {
    margin-bottom: 22px;
    font-size: 25px;
    line-height: 1.2;
  }

  .asset-article-content p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.72;
  }

  .section-head.compact,
  .related-grid {
    display: none;
  }

  .detail-mobile-panels {
    grid-template-columns: 1fr;
  }

  .useful-links-panel,
  .popular-rates-panel {
    padding: 26px 28px;
  }

  .useful-links-panel h2,
  .popular-rates-panel h2 {
    font-size: 20px;
  }

  .useful-links-panel a,
  .popular-rates-panel a {
    min-height: 58px;
    font-size: 17px;
  }

  .popular-rates-panel a {
    grid-template-columns: 48px minmax(0, 1fr) auto 24px;
  }

  .popular-rates-panel a b {
    font-size: 14px;
  }

}

@media (max-width: 480px) {
  .nav-actions .ghost-btn,
  .nav-actions .primary-btn {
    flex: 1 1 130px;
  }

  .converter-related-grid {
    grid-template-columns: 1fr;
  }

  .converter-related-section {
    padding: 0 0 24px;
  }

  .converter-related {
    padding-inline: 16px;
  }

  .market-list-row,
  .converter-related-card,
  .converter-related .market-list-row {
    grid-template-columns: 40px minmax(0, 1fr) minmax(104px, auto) minmax(66px, auto);
    gap: 8px;
    min-height: 90px;
    padding-block: 18px;
  }

  .market-list-icon,
  .converter-related-icon,
  .converter-related .market-list-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .market-list-name {
    font-size: clamp(16px, 4.55vw, 18px);
    font-weight: 780;
    line-height: 1.12;
  }

  .market-list-price b {
    font-size: clamp(20px, 5.45vw, 23px);
    font-weight: 750;
  }

  .market-list-price small {
    font-size: 13px;
    font-weight: 600;
  }

  .market-list-change {
    font-size: clamp(19px, 5.25vw, 22px);
    font-weight: 700;
  }

  .market-list-section {
    padding: 16px 14px;
  }

  .market-list-head {
    grid-template-columns: minmax(0, 1fr) minmax(104px, auto) minmax(66px, auto);
    gap: 8px;
    padding-bottom: 16px;
    font-size: clamp(20px, 5.4vw, 23px);
    font-weight: 500;
  }

  .search-box {
    width: 100%;
  }

  .chart-toolbar {
    padding-inline: 6px;
  }

  .chart-toolbar .range-tabs {
    gap: 3px;
  }

  .chart-toolbar .range-tabs button {
    height: 36px;
    border-radius: 7px;
    font-size: 12px;
  }

  .hero-overlay h2 {
    font-size: 21px;
  }
}

.ticker-item .name,
.quote-card .label,
.asset-name-cell strong,
.central-bank-currency strong,
.bank-name-cell strong,
.market-list-name,
.converter-related .market-list-name,
.mobile-quote-card strong {
  color: var(--market-name-color, #5a98ff);
  font-weight: var(--market-name-weight, 780);
}

.asset-name-cell strong,
.central-bank-currency strong,
.bank-name-cell strong,
.market-list-name,
.converter-related .market-list-name {
  font-size: var(--market-name-size, 16px);
}

.market-list-row,
.converter-related .market-list-row {
  min-height: var(--market-row-height, 78px);
}

.market-list-icon,
.converter-related-icon,
.converter-related .market-list-icon,
.central-bank-currency span,
.central-bank-mini-name b,
.appearance-preview .market-list-icon {
  width: var(--market-icon-size, 42px);
  height: var(--market-icon-size, 42px);
  min-width: var(--market-icon-size, 42px);
  color: var(--market-icon-color, #9bbdff);
  background: var(--market-icon-bg-color, rgba(90, 152, 255, 0.12));
  font-size: var(--market-icon-text-size, 15px);
  font-weight: var(--market-icon-weight, 950);
}

.market-tile:not(.down):not(.flat) .market-value,
.market-tile:not(.down):not(.flat) .value,
.market-tile:not(.down):not(.flat) td[data-field="last"] {
  color: var(--market-value-up-color, #ffffff);
}

.market-tile.down .market-value,
.market-tile.down .value,
.market-tile.down td[data-field="last"] {
  color: var(--market-value-down-color, #ffffff);
}

.market-tile.flat .market-value,
.market-tile.flat .value,
.market-tile.flat td[data-field="last"] {
  color: var(--market-value-flat-color, #ffffff);
}

.market-list-price b,
.market-data-table .market-value,
.central-bank-table .rate-buy,
.central-bank-table .rate-sell,
.central-bank-table .market-value,
.tcmb-rate-cards .market-value,
.bank-rate-table td:not(:first-child) {
  font-size: var(--market-value-size, 18px);
  font-weight: var(--market-value-weight, 950);
}

.market-tile:not(.down):not(.flat) .market-change,
.market-data-table .up {
  color: var(--market-change-up-color, #00c48a);
}

.market-tile.down .market-change,
.market-data-table .down {
  color: var(--market-change-down-color, #ff3150);
}

.market-tile.flat .market-change {
  color: var(--market-change-flat-color, #ffffff);
}

.market-list-change,
.converter-related .market-list-change,
.market-data-table .market-change,
.appearance-preview .market-change {
  font-size: var(--market-change-size, 16px);
  font-weight: var(--market-change-weight, 850);
  line-height: var(--market-change-line-height, 1);
}

.appearance-preview {
  display: grid;
  grid-template-columns: var(--market-icon-size, 42px) minmax(0, 1fr) minmax(110px, auto) minmax(76px, auto);
  gap: 12px;
  align-items: center;
  min-height: var(--market-row-height, 78px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080d14;
}

.appearance-preview .market-list-price b {
  color: var(--market-value-up-color, #ffffff);
  font-size: var(--market-value-size, 18px);
  font-weight: var(--market-value-weight, 950);
}

.appearance-preview .market-change {
  color: var(--market-change-up-color, #ffffff);
}

.appearance-live-preview {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070b11;
}

.appearance-live-preview .market-list-row {
  padding: 12px 14px;
}

.appearance-live-preview .market-list-row:last-child {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .converter-page-panel .converter-related {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 14px 22px;
  }

  .converter-page-panel .converter-related-section {
    padding: 14px 14px 16px;
    border: 1px solid rgba(130, 151, 180, 0.2);
    border-radius: 8px;
    background: #0d1118;
  }

  .converter-page-panel .converter-related-title {
    margin-bottom: 13px;
    font-size: 20px;
    line-height: 1.1;
  }

  .converter-page-panel .market-list-head {
    grid-template-columns: minmax(0, 1fr) minmax(104px, auto) minmax(64px, auto);
    gap: 8px;
    padding-bottom: 11px;
    font-size: 12px;
  }

  .converter-page-panel .converter-related .market-list-row {
    grid-template-columns: 34px minmax(0, 1fr) minmax(104px, auto) minmax(64px, auto);
    gap: 8px;
    min-height: 62px;
    padding: 11px 0;
  }

  .converter-page-panel .converter-related .market-list-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .converter-page-panel .converter-related .market-list-name {
    font-size: 14px;
    font-weight: 760;
  }

  .converter-page-panel .converter-related .market-list-price b {
    font-size: 15px;
  }

  .converter-page-panel .converter-related .market-list-price small {
    font-size: 10px;
  }

  .converter-page-panel .converter-related .market-list-change {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .converter-page-panel .converter-related .market-list-row {
    grid-template-columns: 30px minmax(0, 1fr) minmax(92px, auto) minmax(58px, auto);
    gap: 7px;
  }

  .converter-page-panel .market-list-head {
    grid-template-columns: minmax(0, 1fr) minmax(92px, auto) minmax(58px, auto);
  }

  .converter-page-panel .converter-related .market-list-icon {
    width: 29px;
    height: 29px;
    font-size: 12px;
  }

  .converter-page-panel .converter-related .market-list-name {
    font-size: 13px;
  }

  .converter-page-panel .converter-related .market-list-price b,
  .converter-page-panel .converter-related .market-list-change {
    font-size: 12px;
  }
}

/* Cross-market summaries: clean aligned rows for converter and category pages. */
.cross-market-related.converter-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 18px;
  padding: 0 0 18px;
}

.cross-market-related .converter-related-section {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 16px 18px 18px;
  border: 1px solid rgba(130, 151, 180, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), #10141b;
}

.cross-market-related .converter-related-title {
  margin: 0 0 14px;
  color: #f4f8ff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cross-market-related .market-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, auto) minmax(74px, auto);
  gap: 12px;
  padding: 0 0 10px 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #8994a7;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
}

.cross-market-related .market-list-head span:nth-child(2),
.cross-market-related .market-list-head span:nth-child(3) {
  text-align: right;
}

.cross-market-related .converter-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.cross-market-related .market-list-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(118px, auto) minmax(74px, auto);
  grid-template-rows: auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: transparent;
}

.cross-market-related .market-list-row:last-child {
  border-bottom: 0;
}

.cross-market-related .market-list-row:hover,
.cross-market-related .market-list-row:focus {
  background: rgba(90, 152, 255, 0.055);
}

.cross-market-related .market-list-icon {
  grid-row: auto;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  color: #78aaff;
  background: rgba(90, 152, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.cross-market-related .market-list-name {
  align-self: center;
  overflow: hidden;
  color: #5a98ff;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cross-market-related .market-list-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  color: #f4f8ff;
  white-space: nowrap;
}

.cross-market-related .market-list-price b {
  overflow: hidden;
  color: #f7f9ff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
}

.cross-market-related .market-list-price small {
  color: #aeb8c9;
  font-size: 10px;
  font-weight: 750;
}

.cross-market-related .market-list-change {
  justify-self: end;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.cross-market-related .market-list-change.down {
  color: var(--red);
}

.cross-market-related .converter-related-more {
  display: grid;
  min-height: 34px;
  margin-top: 12px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f8ff;
  font-size: 12px;
  font-weight: 850;
}

.menu-seo-content {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(130, 151, 180, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 215, 197, 0.065), rgba(90, 152, 255, 0.045)),
    #10141b;
  box-shadow: var(--shadow);
}

.menu-seo-head {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.menu-seo-head h2 {
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 950;
  line-height: 1.05;
}

.menu-seo-head p,
.menu-seo-faq-item p {
  margin: 0;
  color: #aeb9cc;
  font-size: 15px;
  line-height: 1.7;
}

.menu-seo-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.menu-seo-faq-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(5, 9, 14, 0.48);
}

.menu-seo-faq-item h3 {
  margin: 0;
  color: #f4f8ff;
  font-size: 17px;
  font-weight: 880;
  line-height: 1.25;
}

@media (max-width: 760px) {
  .cross-market-related.converter-related {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 14px 22px;
  }

  .cross-market-related .converter-related-section {
    padding: 14px 14px 16px;
    background: #0d1118;
  }

  .cross-market-related .converter-related-title {
    margin-bottom: 13px;
    font-size: 20px;
    line-height: 1.1;
  }

  .cross-market-related .market-list-head {
    grid-template-columns: minmax(0, 1fr) minmax(104px, auto) minmax(64px, auto);
    gap: 8px;
    padding: 0 0 11px 42px;
    font-size: 12px;
  }

  .cross-market-related .market-list-row {
    grid-template-columns: 32px minmax(0, 1fr) minmax(104px, auto) minmax(64px, auto);
    gap: 10px;
    min-height: 62px;
    padding: 11px 0;
  }

  .cross-market-related .market-list-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 12px;
  }

  .cross-market-related .market-list-name {
    font-size: 14px;
    font-weight: 760;
  }

  .cross-market-related .market-list-price b {
    font-size: 15px;
  }

  .cross-market-related .market-list-price small {
    font-size: 10px;
  }

  .cross-market-related .market-list-change {
    font-size: 13px;
  }

  .category-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 4px;
  }

  .category-titlebar {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 10px 0 12px;
  }

  .category-breadcrumb {
    font-size: 12px;
  }

  .category-titlebar h1 {
    font-size: clamp(17px, 5.1vw, 22px);
  }

  .symbol-search-box {
    width: 100%;
    min-height: 42px;
  }

  .menu-seo-content {
    margin: 18px 14px 0;
    padding: 18px;
  }

  .menu-seo-faq {
    grid-template-columns: 1fr;
  }

  .menu-seo-head p,
  .menu-seo-faq-item p {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .cross-market-related .market-list-head {
    grid-template-columns: minmax(0, 1fr) minmax(88px, auto) minmax(54px, auto);
    gap: 7px;
    padding-left: 38px;
  }

  .cross-market-related .market-list-row {
    grid-template-columns: 30px minmax(0, 1fr) minmax(88px, auto) minmax(54px, auto);
    gap: 8px;
  }

  .cross-market-related .market-list-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 11px;
  }

  .cross-market-related .market-list-name {
    font-size: 13px;
  }

  .cross-market-related .market-list-price b,
  .cross-market-related .market-list-change {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .admin-form-two {
    grid-template-columns: 1fr;
  }
}

/* Detail page compact header and desktop quick-converter order */
.chart-page .asset-terminal {
  padding: 12px 18px;
}

.chart-page .asset-terminal .asset-breadcrumb {
  margin-bottom: 8px;
  font-size: 12px;
}

.chart-page .asset-hero-grid {
  gap: 16px;
  align-items: center;
  min-height: 96px;
}

.chart-page .asset-identity-row {
  gap: 12px;
}

.chart-page .asset-flag-large {
  width: 58px;
  height: 58px;
  font-size: 19px;
}

.chart-page .asset-terminal h1 {
  margin: 6px 0 6px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.08;
}

.chart-page .asset-code-line {
  font-size: 10px;
}

.chart-page .asset-pair-chips {
  margin-bottom: 6px;
}

.chart-page .asset-pair-chips span,
.chart-page .asset-pair-chips button {
  min-height: 27px;
  min-width: 32px;
  padding: 0 8px;
  font-size: 11px;
}

.chart-page .asset-pair-chips .pair-chip-main {
  min-width: 88px;
  gap: 6px;
}

.chart-page .asset-pair-chips .favorite-toggle {
  font-size: 14px;
}

.chart-page .asset-terminal p {
  font-size: 11px;
}

.chart-page .detail-price {
  min-width: 180px;
}

.chart-page .detail-price strong {
  font-size: clamp(26px, 3vw, 36px);
}

@media (min-width: 761px) {
  .chart-page .asset-converter-grid {
    grid-template-columns: minmax(120px, 0.52fr) minmax(150px, 0.8fr) minmax(210px, 1fr) 44px minmax(210px, 1fr);
  }

  .chart-page .converter-calculate {
    order: 1;
    grid-column: auto;
  }

  .chart-page .converter-amount {
    order: 2;
    grid-column: auto;
  }

  .chart-page .converter-source {
    order: 3;
    grid-column: auto;
  }

  .chart-page .converter-swap {
    order: 4;
    grid-column: auto;
  }

  .chart-page .converter-target {
    order: 5;
    grid-column: auto;
  }

  .chart-page .asset-converter-grid output {
    order: 6;
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .chart-page .asset-terminal {
    padding: 16px 16px 18px;
  }

  .chart-page .asset-hero-grid {
    min-height: auto;
    gap: 14px;
  }

  .chart-page .asset-flag-large {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .chart-page .asset-terminal h1 {
    font-size: clamp(21px, 6vw, 25px);
  }

  .chart-page .detail-price strong {
    font-size: clamp(28px, 8vw, 34px);
  }
}

/* Homepage converter sits in the market focus row, so it uses a compact vertical flow. */
#cevirici.converter {
  display: flex;
  flex-direction: column;
}

.focus-row > .focus-panel {
  display: flex;
  flex-direction: column;
}

.focus-row > .focus-panel .focus-list {
  flex: 1;
}

.focus-row > .focus-panel .panel-more-link {
  margin-top: auto;
}

#cevirici .converter-form,
#cevirici .converter-form:has(.converter-swap-button) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  align-items: stretch;
  padding: 16px 16px 10px;
}

#cevirici .converter-form label {
  gap: 6px;
}

#cevirici .converter-form input,
#cevirici .converter-form select {
  width: 100%;
  height: 40px;
}

#cevirici .converter-swap-button {
  width: 100%;
  height: 34px;
  min-height: 34px;
  justify-self: stretch;
}

#cevirici .conversion-result {
  margin: auto 16px 16px;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.25;
}

/* Match homepage bank and central-bank mini lists to the Crypto/Emtia row typography. */
.mover-down-home-panel .bank-mini-row,
.central-bank-home-panel .central-bank-mini-row {
  min-height: 74px;
  padding: 14px 16px;
}

.mover-mini-row {
  min-height: 56px;
  padding: 9px 14px;
}

.mover-down-home-panel .bank-mini-name,
.central-bank-home-panel .central-bank-mini-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.15;
  text-transform: none;
}

.mover-mini-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.12;
  text-transform: none;
}

.mover-down-home-panel .bank-mini-name b,
.central-bank-home-panel .central-bank-mini-name b,
.mover-mini-name b {
  display: inline-grid;
  place-items: center;
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #111b2a;
  color: #78a9ff;
  font-size: 12px;
  text-transform: uppercase;
}

.mover-down-home-panel .bank-mini-row small,
.central-bank-home-panel .central-bank-mini-row small {
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.mover-mini-row small {
  font-size: 12px;
  font-weight: 650;
  text-transform: none;
}

.asset-info-panel .panel-head .mini-status {
  display: none;
}

.mover-down-home-panel .bank-mini-row strong,
.central-bank-home-panel .central-bank-mini-row strong,
.mover-down-home-panel .bank-mini-row.market-tile .rate-buy strong,
.mover-down-home-panel .bank-mini-row.market-tile .rate-sell strong,
.central-bank-home-panel .central-bank-mini-row.market-tile .rate-buy strong,
.central-bank-home-panel .central-bank-mini-row.market-tile .rate-sell strong,
.mover-mini-row strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.15;
}

.mover-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(86px, 0.75fr) minmax(86px, 0.75fr);
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.mover-price,
.mover-change {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.mover-change .quote-change {
  justify-content: flex-end;
  margin: 0;
}

.mover-down-home-panel .mover-mini-row + .mover-mini-row,
.central-bank-home-panel .mover-mini-row + .mover-mini-row {
  margin-top: 0;
}

.mover-down-home-panel .mover-mini-row .quote-change,
.central-bank-home-panel .mover-mini-row .quote-change {
  font-weight: 650;
}

.mover-down-home-panel .panel-more-link,
.central-bank-home-panel .panel-more-link {
  margin-top: 6px;
}

/* Keep the live ticker visible and readable on every device. */
.ticker-strip {
  width: 100%;
}

.ticker-inner {
  min-width: max-content;
}

.ticker-item {
  overflow: hidden;
}

.ticker-item strong {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(15px, 1.18vw, 18px);
  letter-spacing: 0;
  text-overflow: clip;
  white-space: nowrap;
}

.market-tile .market-value,
.market-tile .value,
.market-list-price b,
.converter-related .market-list-price b,
.central-bank-mini-row strong,
.bank-mini-row strong,
.quote-card .quote-change {
  max-width: 100%;
  overflow: hidden;
  letter-spacing: 0;
  text-overflow: clip;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .ticker-item .name {
    font-size: 16px;
    font-weight: 520;
    line-height: 1.05;
    letter-spacing: 0;
  }

  .ticker-item strong {
    font-size: 16px;
  }
}

@media (min-width: 761px) {
  .content > .billboard:first-child {
    min-height: 190px;
    margin-bottom: 12px;
  }

  .content > .billboard:first-child + .section-head {
    display: none;
  }

  .mover-down-home-panel .bank-mini-name,
  .central-bank-home-panel .central-bank-mini-name {
    color: #ffffff;
    gap: 0;
  }

  .mover-down-home-panel .bank-mini-name b,
  .central-bank-home-panel .central-bank-mini-name b {
    display: none;
  }
}

@media (min-width: 761px) and (max-width: 1640px) {
  .market-board .quote-card {
    min-height: 70px;
    padding: 11px 9px 9px;
  }

  .market-board .quote-card .label {
    font-size: 10px;
    line-height: 1.15;
  }

  .market-board .quote-card .value {
    font-size: clamp(12.5px, 0.92vw, 16px);
  }

  .market-board .quote-card .quote-change {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .content > .billboard:first-child + .section-head,
  .homepage-inline-ad,
  .detail-page .asset-mobile-strip {
    display: none !important;
  }

  .tool-row,
  .tool-row:has(.mover-down-home-panel):has(.central-bank-home-panel),
  .focus-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
    overflow: visible;
  }

  .tool-row > *,
  .focus-row > * {
    min-width: 0;
    width: 100%;
  }

  .central-bank-page .market-table-wrap {
    overflow: visible;
  }

  .central-bank-page .market-data-table {
    min-width: 0 !important;
    table-layout: fixed;
  }

  .central-bank-page .market-data-table th:nth-child(1),
  .central-bank-page .market-data-table td:nth-child(1) {
    width: 48%;
  }

  .central-bank-page .market-data-table th:nth-child(3),
  .central-bank-page .market-data-table td:nth-child(3),
  .central-bank-page .market-data-table th:nth-child(4),
  .central-bank-page .market-data-table td:nth-child(4) {
    width: 26%;
  }

  .central-bank-page .market-data-table th:nth-child(2),
  .central-bank-page .market-data-table td:nth-child(2),
  .central-bank-page .market-data-table th:nth-child(5),
  .central-bank-page .market-data-table td:nth-child(5),
  .central-bank-page .market-data-table th:nth-child(6),
  .central-bank-page .market-data-table td:nth-child(6),
  .central-bank-page .market-data-table th:nth-child(7),
  .central-bank-page .market-data-table td:nth-child(7) {
    display: none !important;
  }

  .central-bank-page .market-data-table th {
    height: 48px;
    padding: 0 10px;
    color: #aeb4c2;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
  }

  .central-bank-page .market-data-table th::after {
    content: "";
  }

  .central-bank-page .market-data-table td {
    height: 58px;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 780;
    letter-spacing: 0;
  }

  .central-bank-page .market-data-table tbody tr {
    cursor: default;
  }

  .central-bank-page .central-bank-currency {
    gap: 9px;
    color: #e8edf7;
    font-weight: 780;
  }

  .central-bank-page .central-bank-currency span {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .central-bank-page .central-bank-currency strong {
    overflow: hidden;
    color: #e8edf7;
    font-size: 15px;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .central-bank-page .market-data-table .market-value {
    overflow: hidden;
    color: #f4f7fb;
    font-size: 15px;
    font-weight: 780;
    text-overflow: clip;
    white-space: nowrap;
  }

  .bank-rates-page .market-table-wrap {
    overflow: visible;
  }

  .bank-rates-page .market-data-table {
    min-width: 0 !important;
    table-layout: fixed;
  }

  .bank-rates-page .market-data-table th:nth-child(1),
  .bank-rates-page .market-data-table td:nth-child(1) {
    width: 48%;
  }

  .bank-rates-page .market-data-table th:nth-child(4),
  .bank-rates-page .market-data-table td:nth-child(4),
  .bank-rates-page .market-data-table th.bank-change-col,
  .bank-rates-page .market-data-table td.bank-change-col {
    display: table-cell !important;
    width: 26%;
  }

  .bank-rates-page .market-data-table th:nth-child(2),
  .bank-rates-page .market-data-table td:nth-child(2),
  .bank-rates-page .market-data-table th:nth-child(3),
  .bank-rates-page .market-data-table td:nth-child(3),
  .bank-rates-page .market-data-table th:nth-child(6),
  .bank-rates-page .market-data-table td:nth-child(6),
  .bank-rates-page .market-data-table th:nth-child(7),
  .bank-rates-page .market-data-table td:nth-child(7),
  .bank-rates-page .market-data-table th:nth-child(8),
  .bank-rates-page .market-data-table td:nth-child(8) {
    display: none !important;
  }

  .bank-rates-page .market-data-table th {
    height: 48px;
    padding: 0 10px;
    color: #aeb4c2;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
  }

  .bank-rates-page .market-data-table th::after {
    content: "";
  }

  .bank-rates-page .market-data-table th:nth-child(4),
  .bank-rates-page .market-data-table th.bank-change-col {
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .bank-rates-page .market-data-table th:nth-child(4)::before {
    color: #aeb4c2;
    content: "Satış Fiyatı";
    font-size: 12px;
  }

  .bank-rates-page .market-data-table th.bank-change-col::before {
    color: #aeb4c2;
    content: "Değişim";
    font-size: 12px;
  }

  .bank-rates-page .market-data-table td {
    height: 62px;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 780;
    letter-spacing: 0;
  }

  .bank-rates-page .market-data-table tbody tr {
    cursor: default;
  }

  .bank-rates-page .bank-name-cell {
    gap: 9px;
    max-width: 100%;
    color: #e8edf7;
    font-weight: 780;
  }

  .bank-rates-page .bank-name-cell span {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-right: 0;
    font-size: 10px;
  }

  .bank-rates-page .bank-name-cell strong {
    overflow: hidden;
    color: #e8edf7;
    font-size: 15px;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bank-rates-page .market-data-table .market-value,
  .bank-rates-page .market-data-table .bank-change-col.market-change {
    overflow: hidden;
    color: #f4f7fb;
    font-size: 15px;
    font-weight: 780;
    text-overflow: clip;
    white-space: nowrap;
  }

  .bank-rates-page .market-data-table .bank-change-col.market-change:not(.down):not(.flat) {
    color: #14b89d;
  }

  .bank-rates-page .market-data-table .bank-change-col.market-change.down {
    color: #ff3150;
  }
}

@media (max-width: 760px) {
  .category-mobile-list .market-list-head,
  .cross-market-related .market-list-head,
  .converter-page-panel .market-list-head {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 0.72fr) minmax(62px, 0.48fr);
    gap: 8px;
    padding: 0 4px 10px 42px;
    color: #aeb4c2;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
  }

  .category-mobile-list .market-list-row,
  .cross-market-related .market-list-row,
  .converter-page-panel .converter-related .market-list-row {
    grid-template-columns: 34px minmax(0, 1fr) minmax(96px, 0.72fr) minmax(62px, 0.48fr);
    gap: 8px;
    min-height: 58px;
    padding: 0 4px;
  }

  .category-mobile-list .market-list-icon,
  .cross-market-related .market-list-icon,
  .converter-page-panel .converter-related .market-list-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 10px;
    font-weight: 780;
  }

  .category-mobile-list .market-list-name,
  .cross-market-related .market-list-name,
  .converter-page-panel .converter-related .market-list-name,
  .category-mobile-list .market-list-price b,
  .cross-market-related .market-list-price b,
  .converter-page-panel .converter-related .market-list-price b,
  .category-mobile-list .market-list-change,
  .cross-market-related .market-list-change,
  .converter-page-panel .converter-related .market-list-change {
    font-size: 15px;
    font-weight: 780;
    line-height: 1;
    letter-spacing: 0;
  }

  .category-mobile-list .market-list-name,
  .cross-market-related .market-list-name,
  .converter-page-panel .converter-related .market-list-name {
    overflow: hidden;
    color: #e8edf7;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-mobile-list .market-list-price,
  .cross-market-related .market-list-price,
  .converter-page-panel .converter-related .market-list-price {
    gap: 4px;
    min-width: 0;
  }

  .category-mobile-list .market-list-price b,
  .cross-market-related .market-list-price b,
  .converter-page-panel .converter-related .market-list-price b {
    color: #f4f7fb;
  }

  .category-mobile-list .market-list-price small,
  .cross-market-related .market-list-price small,
  .converter-page-panel .converter-related .market-list-price small {
    font-size: 10px;
    font-weight: 650;
  }

  .search-box > span {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
    font-size: 19px;
  }

  .category-mobile-list .market-list-icon,
  .cross-market-related .market-list-icon,
  .converter-page-panel .converter-related .market-list-icon,
  .central-bank-page .central-bank-currency span,
  .bank-rates-page .bank-name-cell span {
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    color: #78aaff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .category-mobile-list .market-list-icon,
  .cross-market-related .market-list-icon,
  .converter-page-panel .converter-related .market-list-icon {
    font-size: 17px;
  }

  .detail-page .asset-flag-large,
  .detail-page .mobile-quote-icon {
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
  }
}
/* Favorilerim */
.favorites-page {
  min-height: 100vh;
  background: #05070a;
}

.favorites-shell {
  width: min(980px, calc(100% - 28px));
  margin: 28px auto 64px;
}

.favorites-panel {
  border: 1px solid #243040;
  border-radius: 8px;
  background: #080c12;
  padding: 18px;
}

.favorites-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.favorites-toolbar h1 {
  margin: 0;
  color: #f6f8fc;
  font-size: clamp(25px, 3.4vw, 40px);
  font-weight: 850;
  letter-spacing: 0;
}

.favorite-add-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 2px solid #f4f7ff;
  border-radius: 9px;
  background: #080b10;
  cursor: pointer;
}

.favorite-add-toggle span {
  display: block;
  width: 21px;
  height: 3px;
  border-radius: 999px;
  background: #f4f7ff;
}

.favorites-message {
  min-height: 20px;
  color: #00f0c8;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.favorites-message.show {
  opacity: 1;
}

.favorite-picker {
  border: 1px solid #273241;
  border-radius: 8px;
  background: #10151d;
  padding: 12px;
  margin: 10px 0 16px;
}

.favorite-picker-search {
  display: grid;
  gap: 6px;
  color: #8fa4c8;
  font-size: 12px;
  font-weight: 900;
}

.favorite-picker-search input {
  width: 100%;
  border: 1px solid #303846;
  border-radius: 8px;
  background: #070a0f;
  color: #fff;
  padding: 12px 14px;
  font-weight: 800;
}

.favorite-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  max-height: 330px;
  overflow: auto;
  margin-top: 12px;
}

.favorite-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #273241;
  border-radius: 8px;
  background: #0b1017;
  color: #f5f7ff;
  padding: 10px;
  cursor: pointer;
}

.favorite-picker-item span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.favorite-picker-item i {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #122033;
  color: #61a0ff;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.favorite-picker-item b {
  color: #f5f7ff;
  font-size: 14px;
}

.favorite-picker-item small {
  color: #8fa4c8;
  font-size: 11px;
  font-weight: 900;
}

.favorite-picker-item strong {
  color: #00f0c8;
  font-size: 12px;
  font-weight: 950;
}

.favorite-market-list {
  display: grid;
  width: 100%;
}

.favorite-market-list .market-list-head,
.favorite-market-list .market-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(112px, 0.8fr) minmax(76px, 0.48fr);
  align-items: center;
  column-gap: 10px;
}

.favorite-market-list .market-list-head {
  border-bottom: 1px solid #252a33;
  color: #a6adbd;
  padding: 0 8px 9px;
  font-size: 12px;
  font-weight: 800;
}

.favorite-market-list .market-list-head span:nth-child(2),
.favorite-market-list .market-list-head span:nth-child(3) {
  text-align: right;
}

.favorite-market-list .market-list-row {
  min-height: 58px;
  border-bottom: 1px solid #252a33;
  color: inherit;
  text-decoration: none;
  padding: 9px 8px;
}

.favorite-market-list .market-list-symbol {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.favorite-market-list .market-list-symbol b {
  min-width: 0;
  color: #e8edf8;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.2;
}

.favorite-market-list .market-list-price {
  color: #f7f9ff;
  text-align: right;
  font-size: clamp(14px, 3.6vw, 17px);
  font-weight: 850;
  line-height: 1.15;
}

.favorite-market-list .market-list-change {
  color: #f7f9ff;
  text-align: right;
  font-style: normal;
  font-size: clamp(13px, 3.4vw, 16px);
  font-weight: 850;
}

.favorite-market-list .market-list-change.up {
  color: #00b894;
}

.favorite-market-list .market-list-change.down {
  color: #ff375f;
}

/* Kullanıcı araçları: kur alarmı, kişisel takip ve son bakılanlar */
.user-tools-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.user-tool-card {
  min-width: 0;
  border: 1px solid #243040;
  border-radius: 8px;
  background: #080c12;
  overflow: hidden;
}

.user-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid #243040;
}

.user-tool-head h2 {
  margin: 0;
  color: #f6f8fc;
  font-size: 15px;
  font-weight: 880;
}

.user-tool-head span {
  color: #00f0c8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-tool-list {
  display: grid;
}

.user-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(92px, 0.62fr) minmax(72px, 0.45fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 12px;
  border-bottom: 1px solid #202936;
  color: #eef4ff;
  text-decoration: none;
}

.user-tool-row:last-child {
  border-bottom: 0;
}

.user-tool-symbol {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.user-tool-symbol i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #122033;
  color: #61a0ff;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.user-tool-symbol b,
.user-tool-symbol small {
  display: block;
  min-width: 0;
}

.user-tool-symbol b {
  color: #f4f7ff;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.15;
}

.user-tool-symbol small {
  color: #8495b2;
  font-size: 11px;
  font-weight: 780;
}

.user-tool-row strong,
.user-tool-row em {
  color: #f7f9ff;
  text-align: right;
  font-style: normal;
  font-size: 14px;
  font-weight: 850;
}

.user-tool-row em.up,
.alarm-row.hit em {
  color: #00c48a;
}

.user-tool-row em.down {
  color: #ff3150;
}

.user-tool-row button {
  border: 1px solid rgba(255, 49, 80, 0.38);
  border-radius: 7px;
  background: rgba(255, 49, 80, 0.1);
  color: #ff8a9d;
  padding: 7px 9px;
  font-weight: 850;
  cursor: pointer;
}

.user-tool-empty {
  margin: 0;
  padding: 16px;
  color: #8fa4c8;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.user-tool-summary {
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  color: #c3ccdc;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.55;
}

.user-tool-summary p,
.user-tool-summary small {
  margin: 0;
}

.user-tool-summary small {
  color: #7e8da8;
}

.rate-alarm-panel {
  margin-top: 12px;
}

.rate-alarm-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
}

.rate-alarm-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #8fa4c8;
  font-size: 12px;
  font-weight: 900;
}

.rate-alarm-form select,
.rate-alarm-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #303846;
  border-radius: 8px;
  background: #070a0f;
  color: #fff;
  padding: 0 12px;
  font: inherit;
  font-weight: 850;
}

.rate-alarm-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #8fa4c8;
  font-size: 12px;
  font-weight: 760;
}

@media (max-width: 820px) {
  .user-tools-hub {
    grid-template-columns: 1fr;
  }

  .rate-alarm-form {
    grid-template-columns: 1fr;
  }

  .user-tool-row {
    grid-template-columns: minmax(0, 1fr) minmax(86px, auto) minmax(62px, auto);
  }

  .user-tool-row button {
    grid-column: 1 / -1;
    width: fit-content;
    justify-self: end;
  }
}

/* Site-wide percentage color contract: up green, down red, flat white. */
.market-change.up,
.quote-change.up,
.market-tile:not(.down):not(.flat) .market-change,
.market-tile:not(.down):not(.flat) .quote-change,
.market-data-table .market-change.up,
.market-data-table .up,
.bank-change-col.market-change:not(.down):not(.flat),
.direction-cell:not(.down) {
  color: var(--market-change-up-color, #00c48a);
}

.market-change.down,
.quote-change.down,
.market-tile.down .market-change,
.market-tile.down .quote-change,
.market-data-table .market-change.down,
.market-data-table .down,
.direction-cell.down {
  color: var(--market-change-down-color, #ff3150);
}

.market-change.flat,
.quote-change.flat,
.market-tile.flat .market-change,
.market-tile.flat .quote-change {
  color: var(--market-change-flat-color, #ffffff);
}

@media (min-width: 761px) {
  .ticker-item .name {
    font-size: clamp(15px, 0.95vw, 18px);
    font-weight: 650;
    line-height: 1.08;
  }

  .market-board .quote-card .label,
  .quote-card .label {
    min-height: auto;
    font-size: clamp(14px, 0.88vw, 16px);
    font-weight: 650;
    line-height: 1.12;
  }

  .focus-item strong,
  .focus-item b,
  .central-bank-mini-name,
  .mover-mini-name,
  .bank-mini-name {
    font-size: 16px;
    font-weight: 650;
    line-height: 1.12;
  }
}

@media (max-width: 760px) {
  .market-board .quote-card .label {
    min-height: auto;
    color: #4e93ff;
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 520;
    line-height: 1.05;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .market-board .quote-card .value {
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 720;
    line-height: 1.08;
  }

  .market-board .quote-card .quote-change {
    font-size: clamp(13px, 3.45vw, 15px);
    font-weight: 720;
    line-height: 1.05;
  }

  .category-mobile-list .market-list-icon,
  .cross-market-related .market-list-icon,
  .converter-page-panel .converter-related .market-list-icon,
  .central-bank-page .central-bank-currency span,
  .bank-rates-page .bank-name-cell span,
  .detail-page .mobile-quote-icon,
  .favorite-market-list .market-list-symbol b {
    font-size: 15px;
    font-weight: 520;
    letter-spacing: 0;
  }
}

/* Final override: percentage text decides its own color, not the parent tile state. */
.market-tile.down .market-change.up,
.market-tile.flat .market-change.up,
.market-data-table .market-change.up,
.market-data-table .up.market-change,
.bank-change-col.market-change.up,
.quote-change.up,
.market-change.up {
  color: var(--market-change-up-color, #00c48a);
}

.market-tile.up .market-change.down,
.market-tile.flat .market-change.down,
.market-data-table .market-change.down,
.bank-change-col.market-change.down,
.quote-change.down,
.market-change.down {
  color: var(--market-change-down-color, #ff3150);
}

.market-tile.up .market-change.flat,
.market-tile.down .market-change.flat,
.market-data-table .market-change.flat,
.bank-change-col.market-change.flat,
.quote-change.flat,
.market-change.flat {
  color: var(--market-change-flat-color, #ffffff);
}

.market-insight-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 215, 197, 0.08), rgba(75, 141, 255, 0.05)),
    #101418;
  padding: 16px;
  box-shadow: var(--shadow);
}

.market-summary-slot .market-insight-panel {
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(17, 215, 197, 0.11), rgba(75, 141, 255, 0.07)),
    #101418;
  box-shadow: none;
}

.market-summary-slot .market-insight-panel .panel-head {
  padding-inline: 0;
  padding-top: 0;
}

.market-summary-slot .market-insight-panel p {
  font-size: clamp(13px, 1vw, 15px);
}

.market-summary-slot .market-insight-list {
  gap: 0;
  margin-top: 10px;
}

.market-summary-slot .market-insight-list a {
  min-height: 31px;
  padding-top: 6px;
}

.market-summary-slot .market-insight-list span {
  font-size: 11px;
}

.market-summary-slot .market-insight-list strong,
.market-summary-slot .market-insight-list em {
  font-size: 13px;
}

.market-summary-slot .panel-more-link {
  margin: 10px -16px -16px;
}

.market-insight-panel p {
  margin: 0;
  color: #c3ccdc;
  font-size: 14px;
  line-height: 1.7;
}

.market-insight-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.market-insight-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  padding-top: 8px;
  text-decoration: none;
}

.market-insight-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.market-insight-list strong,
.market-insight-list em {
  color: white;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-insight-list em.up {
  color: var(--green);
}

.market-insight-list em.down {
  color: var(--red);
}

@media (max-width: 1120px) {
  .home-radar-panel {
    grid-template-columns: 1fr;
  }

  .home-radar-panel #marketCanvas,
  .home-radar-video-ad {
    min-height: 250px;
  }

  .video-ad-slot.home-radar-video-ad {
    min-height: 250px;
  }

  .home-radar-panel .hero-overlay {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 760px) {
  .market-summary-slot .market-insight-panel {
    border-top: 1px solid #252a33;
  }

  .home-radar-row {
    margin-top: 14px;
  }

  .home-radar-panel {
    min-height: 360px;
  }

  .home-radar-panel #marketCanvas,
  .home-radar-video-ad {
    min-height: 220px;
  }

  .video-ad-slot.home-radar-video-ad {
    min-height: 220px;
  }

  .home-radar-panel .hero-overlay {
    padding: 18px 16px;
  }

  .home-radar-panel .hero-overlay h2 {
    font-size: 22px;
  }

  .home-radar-panel .hero-overlay p {
    font-size: 13px;
  }

  .home-radar-panel .slide-dots {
    grid-template-columns: repeat(4, minmax(30px, 1fr));
    max-width: none;
  }
}


