﻿:root {
  color-scheme: dark;
  --bg: #0b1118;
  --surface: #121a24;
  --text: #e6edf7;
  --text-muted: #9caec4;
  --border: #243244;
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  --glass-bg: rgba(7, 12, 22, 0.78);
  --glass-bg-strong: rgba(8, 14, 24, 0.86);
  --glass-border: rgba(255, 255, 255, 0.09);
  --container-radius: 20px;
  --container-shadow:
    0 14px 30px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  --container-shadow-hover:
    0 20px 46px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

body {
  background-color: #02050a;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(46, 177, 200, 0.14) 0, rgba(46, 177, 200, 0) 34%),
    radial-gradient(circle at 88% 10%, rgba(247, 161, 165, 0.13) 0, rgba(247, 161, 165, 0) 36%),
    radial-gradient(circle at 70% 78%, rgba(46, 177, 200, 0.1) 0, rgba(46, 177, 200, 0) 38%),
    radial-gradient(circle at 34% 88%, rgba(247, 161, 165, 0.08) 0, rgba(247, 161, 165, 0) 32%),
    linear-gradient(135deg, #01040a 0%, #050b14 44%, #040a14 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
}

body::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 44px
    ),
    radial-gradient(circle at 22% 22%, rgba(46, 177, 200, 0.08) 0, rgba(46, 177, 200, 0) 40%),
    radial-gradient(circle at 78% 10%, rgba(247, 161, 165, 0.08) 0, rgba(247, 161, 165, 0) 36%),
    linear-gradient(180deg, rgba(1, 4, 10, 0.44), rgba(1, 4, 10, 0.68));
  opacity: 0.9;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(46, 177, 200, 0.14) 0, rgba(46, 177, 200, 0) 30%),
    radial-gradient(circle at 74% 22%, rgba(247, 161, 165, 0.14) 0, rgba(247, 161, 165, 0) 32%),
    radial-gradient(circle at 60% 74%, rgba(247, 161, 165, 0.09) 0, rgba(247, 161, 165, 0) 28%),
    radial-gradient(circle at 38% 58%, rgba(46, 177, 200, 0.08) 0, rgba(46, 177, 200, 0) 28%),
    radial-gradient(circle, rgba(255, 255, 255, 0.018) 0.5px, transparent 0.8px);
  background-size: auto, auto, auto, auto, 3px 3px;
  filter: blur(18px) saturate(104%);
  opacity: 0.72;
}

.nav,
.langSwitch,
.navToggle,
.navMenu,
.hero,
.card,
.notFoundCard,
.heroCard,
.stepCard,
.modal,
.accordionItem,
.cookieBannerCard,
.quickSelectBtn,
.quickSelectMenu,
.toggle,
select,
input,
.staticField,
.btn.ghost,
.resultCard,
.resultCardCta,
.stickyHeader th,
.stickyCol {
  background: var(--glass-bg-strong) !important;
  border-color: var(--glass-border) !important;
  color: var(--text);
  backdrop-filter: blur(12px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(125%) !important;
}

:where(
  .section,
  .card,
  .hero,
  .heroCard,
  .resultCard,
  .footer,
  .modal,
  .quickModal,
  .accordionItem,
  .accordionPanel,
  .notFoundCard,
  .cookieBannerCard,
  .tableWrap
) {
  position: relative;
  border-radius: var(--container-radius) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 24%, var(--glass-bg) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--container-shadow) !important;
  backdrop-filter: blur(18px) saturate(125%) brightness(92%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%) brightness(92%) !important;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease,
    background 0.24s ease;
}

:where(
  .section,
  .card,
  .hero,
  .heroCard,
  .resultCard,
  .modal,
  .quickModal,
  .accordionItem,
  .notFoundCard,
  .cookieBannerCard,
  .tableWrap
):hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: var(--container-shadow-hover) !important;
  transform: none;
}

.hero,
.section {
  padding: 20px !important;
}

.card {
  border-radius: 18px !important;
}

.sectionTitle {
  position: relative;
  margin-bottom: 8px !important;
  padding-bottom: 10px;
}

.sectionTitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 177, 200, 0.75), rgba(247, 161, 165, 0.75));
}

.hero::after,
.section::after,
.card::after {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.hero {
  background: linear-gradient(165deg, rgba(46, 177, 200, 0.06), rgba(247, 161, 165, 0.04) 34%, var(--glass-bg) 100%) !important;
}

.heroSub {
  max-width: 64ch;
  line-height: 1.62;
}

.card.glassCard {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.014) 24%, rgba(8, 15, 27, 0.76) 100%) !important;
}

.card.tableWrap {
  border-color: rgba(46, 177, 200, 0.26) !important;
}

.accordionItem {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(8, 15, 27, 0.72)) !important;
}

.resultCard {
  min-height: 132px;
}

.resultCard:hover {
  transform: none !important;
}

@media (max-width: 760px) {
  .hero,
  .section {
    padding: 16px !important;
  }
}

.nav,
.langSwitch,
.navToggle,
.navMenu,
.quickSelectBtn,
.quickSelectMenu,
.toggle,
select,
input,
.staticField,
.btn.ghost,
.resultCardCta,
.cookieBtn.ghost {
  background: var(--glass-bg-strong) !important;
  border-color: var(--glass-border) !important;
  color: var(--text) !important;
  backdrop-filter: blur(16px) saturate(138%) brightness(100%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(138%) brightness(100%) !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav:hover,
.langSwitch:hover,
.navToggle:hover,
.quickSelectBtn:hover,
.toggle:hover,
select:hover,
input:hover,
.staticField:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.nav .navToggle,
.nav .navToggle:hover,
.nav .navToggle:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  isolation: isolate;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  backdrop-filter: blur(16px) saturate(138%) brightness(100%);
  -webkit-backdrop-filter: blur(16px) saturate(138%) brightness(100%);
  z-index: 0;
}

.nav > :not(.navMenu) {
  position: relative;
  z-index: 1;
}

.navMenu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: 0 !important;
  --drawer-width: min(430px, 100vw);
  padding: 14px !important;
  background: rgba(1, 6, 14, 0.62) !important;
  backdrop-filter: blur(8px) saturate(105%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(105%) !important;
  opacity: 0;
  pointer-events: none;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  overflow: hidden !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 1200 !important;
  transition: opacity 0.18s ease;
}

.navMenu::before {
  content: none;
  position: absolute;
  top: 0;
  right: 0;
  width: calc(var(--drawer-width) + 20px);
  height: 100%;
  background: transparent;
  border-left: 0;
  box-shadow: none;
  pointer-events: none;
  z-index: -1;
  transform: none;
  transition: none;
}

.navMenu.open {
  opacity: 1;
  pointer-events: auto;
  box-shadow: none !important;
}

.navMenu .navMega {
  width: var(--drawer-width) !important;
  margin-left: auto !important;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 12px;
  max-height: calc(100vh - 118px);
  padding-right: 6px;
  overflow-y: auto !important;
  column-count: unset !important;
  position: relative;
  z-index: 1;
}

.navMenu .navMega > *:has(.navLink) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.navMenu .navMega > *:has(.navLink) > :not(.navLink) {
  grid-column: 1 / -1;
}

.navMenu > * {
  width: var(--drawer-width) !important;
  margin-left: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
  transform: translateX(105%);
  transition: transform 0.32s ease;
}

.navMenu .navMenuHeader {
  position: sticky;
  top: 0;
  z-index: 5;
  background: transparent;
  padding: 2px 4px 8px 4px;
  border-bottom: 1px solid rgba(121, 148, 196, 0.2);
}

.navMenu.open::before,
.navMenu.open > * {
  transform: translateX(0);
}

.navMenu .navMenuTitle {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 6;
}

.navMenu .navMenuClose {
  border-radius: 999px;
  border: 1px solid rgba(92, 126, 186, 0.5) !important;
  background: rgba(11, 22, 42, 0.72) !important;
  color: #e8f3ff !important;
}

.navMenu .navLink {
  min-height: 56px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(63, 99, 182, 0.55);
  background: linear-gradient(140deg, rgba(7, 18, 38, 0.9), rgba(5, 14, 31, 0.92));
  color: #edf5ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navMenu .navLink:hover {
  border-color: rgba(103, 153, 255, 0.78);
  background: linear-gradient(140deg, rgba(12, 30, 60, 0.94), rgba(8, 20, 46, 0.94)) !important;
}

@media (min-width: 761px) {
  .navMenu::before {
    content: "";
    background: linear-gradient(180deg, rgba(8, 20, 42, 0.94), rgba(5, 14, 31, 0.96));
    border-left: 1px solid rgba(96, 136, 206, 0.34);
    box-shadow: -18px 0 36px rgba(0, 0, 0, 0.34);
  }
}

@media (max-width: 760px) {
  .navMenu {
    --drawer-width: 100vw;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    align-items: stretch;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    transform: translateX(100%);
    opacity: 1;
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .navMenu.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .navMenu::before {
    width: 100%;
    border-left: 0;
    transform: none !important;
    transition: none;
  }

  .navMenu .navMega {
    grid-template-columns: 1fr;
    max-height: none;
    padding: 0 max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    overflow-y: visible !important;
    padding-right: 0;
    -webkit-overflow-scrolling: touch;
  }

  .navMenu .navMenuHeader {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 12px
      max(12px, env(safe-area-inset-left));
  }

  .navMenu > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    transform: none !important;
    transition: none;
  }

  .navMenu .navMega > *:has(.navLink) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .navMenu .navLink {
    min-height: 52px;
    font-size: 16px;
    padding: 10px 12px;
  }

  .navMenu .navMenuClose {
    min-width: 76px;
    min-height: 38px;
  }
}

@media (max-width: 520px) {
  .navMenu .navMega > *:has(.navLink) {
    grid-template-columns: 1fr;
  }

  .navMenu .navLink {
    min-height: 48px;
    font-size: 15px;
  }
}

:where(
  .section,
  .card,
  .hero,
  .heroCard,
  .resultCard,
  .footer,
  .modal,
  .quickModal,
  .accordionItem,
  .accordionPanel,
  .notFoundCard,
  .cookieBannerCard,
  .tableWrap
)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 34%, rgba(255, 255, 255, 0.005)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%);
  mix-blend-mode: screen;
  opacity: 0.62;
}

:where(
  .section,
  .card,
  .hero,
  .heroCard,
  .resultCard,
  .footer,
  .modal,
  .quickModal,
  .accordionItem,
  .accordionPanel,
  .notFoundCard,
  .cookieBannerCard,
  .tableWrap
)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0.5;
}

.navLink:hover,
.quickSelectItem:hover,
.quickSelectItem[aria-selected="true"],
.btn.ghost:hover,
.resultCard:hover,
.tabButton.active {
  background: rgba(247, 161, 165, 0.2) !important;
}

.guideTable caption {
  background: rgba(247, 161, 165, 0.18);
}

.guideTable tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

/* Converter table redesign */
.page.converter-layout .section .tableWrap {
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 177, 200, 0.06), rgba(46, 177, 200, 0) 34%),
    linear-gradient(160deg, rgba(5, 9, 16, 0.94), rgba(3, 7, 12, 0.96)) !important;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  padding: 12px !important;
}

.page.converter-layout .section .tableWrap::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008) 36%, rgba(255, 255, 255, 0)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 40%) !important;
  opacity: 0.28 !important;
}

.page.converter-layout .section .tableWrap::after {
  border-color: rgba(255, 255, 255, 0.06) !important;
  opacity: 0.3 !important;
}

/* Darker converter section shell (title + intro + table) */
.page.converter-layout .section#converter-table-section {
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(46, 177, 200, 0.08), rgba(46, 177, 200, 0) 38%),
    linear-gradient(165deg, rgba(4, 7, 13, 0.96), rgba(2, 5, 10, 0.98)) !important;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(14px) saturate(115%) brightness(72%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(115%) brightness(72%) !important;
}

.page.converter-layout .section#converter-table-section::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.004) 34%, rgba(255, 255, 255, 0)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0) 42%) !important;
  mix-blend-mode: normal !important;
  opacity: 0.18 !important;
}

.page.converter-layout .section#converter-table-section::after {
  border-color: rgba(255, 255, 255, 0.05) !important;
  opacity: 0.2 !important;
}

.page.converter-layout .converter-measure-shell {
  margin-top: 12px;
}

.page.converter-layout .converter-measure-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
}

.page.converter-layout .converter-measure-col {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(4, 8, 15, 0.92), rgba(2, 5, 10, 0.96));
  padding: 14px;
}

.page.converter-layout .converter-measure-subtitle {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.page.converter-layout .converter-measure-guide-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #d6e6f7;
}

.page.converter-layout .converter-measure-guide-content {
  display: grid;
  gap: 10px;
}

.page.converter-layout .converter-measure-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 96px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 11, 20, 0.66);
}

.page.converter-layout .converter-measure-step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #f6fbff;
  border: 1px solid rgba(46, 177, 200, 0.45);
  background: linear-gradient(135deg, rgba(46, 177, 200, 0.26), rgba(247, 161, 165, 0.2));
}

.page.converter-layout .converter-measure-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #d6e6f7;
}

.page.converter-layout .converter-measure-empty {
  min-height: 220px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
}

.page.converter-layout .converter-measure-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.page.converter-layout .converter-measure-label {
  font-size: 13px;
  font-weight: 700;
  color: #cfe1f3;
}

.page.converter-layout .converter-measure-type {
  min-width: 180px;
}

.page.converter-layout .converter-cm-table tbody tr {
  min-height: 36px;
}

.page.converter-layout .converter-measure-note {
  margin: 10px 0 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #b9cbe0;
}

@media (max-width: 900px) {
  .page.converter-layout .converter-measure-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact FAQs on converter pages */
.page.converter-layout .section .faqList {
  gap: 8px;
}

.page.converter-layout .section .accordionItem {
  border-radius: 12px;
}

.page.converter-layout .section .accordionButton,
.page.converter-layout .section .accordionTrigger {
  min-height: 34px;
  padding: 7px 10px !important;
  font-family: inherit !important;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.2;
}

.page.converter-layout .section .accordionButton::after,
.page.converter-layout .section .accordionTrigger::after {
  width: 18px;
  height: 18px;
  font-size: 12px;
}

.page.converter-layout .section .accordionPanel {
  padding: 0 10px 6px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page.converter-layout .section .accordionPanel p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: #aebfd3 !important;
}

.page.converter-layout .section .accordionPanel::before,
.page.converter-layout .section .accordionPanel::after {
  content: none !important;
  display: none !important;
}

.page.converter-layout .section .guideTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
  font-size: 13px;
}

.page.converter-layout .section .guideTable caption {
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(46, 177, 200, 0.18), rgba(247, 161, 165, 0.17));
  color: #f0f6ff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.page.converter-layout .section .guideTable thead th {
  background: rgba(10, 18, 30, 0.9) !important;
  color: #b4c5d9 !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.page.converter-layout .section .guideTable th,
.page.converter-layout .section .guideTable td {
  padding: 11px 12px;
  border-bottom: 0 !important;
}

.page.converter-layout .section .guideTable tbody td {
  background: rgba(9, 16, 28, 0.82);
  color: #e6eef8;
}

.page.converter-layout .section .guideTable tbody tr td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.page.converter-layout .section .guideTable tbody tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.page.converter-layout .section .guideTable tbody tr:hover td {
  background: rgba(16, 28, 46, 0.9);
}

.page.converter-layout .section .stickyHeader th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.page.converter-layout .section .stickyCol {
  background: transparent !important;
  box-shadow: none !important;
  border-right: 0 !important;
}

.page.converter-layout .section .guideTable tbody tr td {
  transition: background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.page.converter-layout .section .activeRow td {
  background: rgba(14, 28, 44, 0.96) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page.converter-layout .section .activeRow td:first-child {
  border-left: 2px solid rgba(46, 177, 200, 0.98);
  box-shadow: 0 0 18px rgba(46, 177, 200, 0.2);
}

.page.converter-layout .section .activeRow td:last-child {
  border-right: 2px solid rgba(247, 161, 165, 0.95);
  box-shadow: 0 0 16px rgba(247, 161, 165, 0.18);
}

.page.converter-layout .section .activeRow .stickyCol {
  background: rgba(14, 28, 44, 0.96) !important;
}

.page.converter-layout .section .guideTable tbody tr:not(.activeRow) .stickyCol {
  background: rgba(9, 16, 28, 0.82) !important;
}

.page.converter-layout .section .guideTable .table-flag-inline {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: -2px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
}

.cookieBtn.ghost {
  background: #121a24;
}

.resultCardCta,
.resultCardBack .resultCardCta,
.resultCard.flipCard .flipBack .resultCardCta {
  color: var(--text-muted) !important;
}

.resultCardBack .resultCardTitle,
.resultCard.flipCard .flipBack .resultCardTitle,
.resultIcon,
.stepNumber {
  color: var(--text) !important;
}

.stepNumber {
  background: rgba(46, 177, 200, 0.45) !important;
}

.heroTitle {
  line-height: 1.14;
  letter-spacing: 0.2px;
}

.sectionTitle {
  letter-spacing: 0.18px;
}

/* Converter pages: hero text on the left, tool on the right */
.page.converter-layout {
  grid-template-columns: 1fr;
  align-items: start;
  position: relative;
}

.page.converter-layout > .converter-hero-shell {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 16px;
  padding: 16px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    radial-gradient(circle at 8% 8%, rgba(46, 177, 200, 0.2), rgba(46, 177, 200, 0) 42%),
    radial-gradient(circle at 92% 10%, rgba(247, 161, 165, 0.18), rgba(247, 161, 165, 0) 44%),
    linear-gradient(150deg, rgba(6, 10, 17, 0.92), rgba(4, 8, 14, 0.94)) !important;
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.page.converter-layout > .converter-hero-shell > .converter-hero,
.page.converter-layout > .converter-hero-shell > .converter-tool {
  position: relative;
  z-index: 1;
}

.page.converter-layout > .converter-hero-shell > .converter-hero {
  grid-column: 1;
  min-height: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  align-content: center !important;
  text-align: left !important;
  gap: 10px !important;
  padding: 10px 10px 8px 10px !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page.converter-layout > .converter-hero-shell > .converter-hero::before,
.page.converter-layout > .converter-hero-shell > .converter-hero::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page.converter-layout > .converter-hero-shell > .converter-hero .card,
.page.converter-layout > .converter-hero-shell > .converter-hero .heroCard,
.page.converter-layout > .converter-hero-shell > .converter-hero .section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

.page.converter-layout > .converter-hero-shell > .converter-hero .card::before,
.page.converter-layout > .converter-hero-shell > .converter-hero .card::after,
.page.converter-layout > .converter-hero-shell > .converter-hero .heroCard::before,
.page.converter-layout > .converter-hero-shell > .converter-hero .heroCard::after,
.page.converter-layout > .converter-hero-shell > .converter-hero .section::before,
.page.converter-layout > .converter-hero-shell > .converter-hero .section::after {
  content: none !important;
  display: none !important;
}

.page.converter-layout > .converter-hero-shell > .converter-hero .heroTitle,
.page.converter-layout > .converter-hero-shell > .converter-hero h1.heroTitle {
  margin: 0 0 10px 0;
  font-size: clamp(34px, 3.6vw, 46px) !important;
  line-height: 0.98;
}

.page.converter-layout > .converter-hero-shell > .converter-hero p {
  margin: 0 0 6px 0;
  max-width: 62ch;
  text-align: left !important;
}

.converter-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 14, 24, 0.62);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.converter-route-badge .flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  display: block;
}

.converter-route-badge .arrow {
  color: #b8d8f0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hero-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 6px 0;
}

.hero-quick-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 14, 24, 0.5);
  color: #d6e5f6;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.15px;
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hero-quick-chip:hover {
  border-color: rgba(46, 177, 200, 0.44);
  background: rgba(46, 177, 200, 0.14);
  color: #eef7ff;
}

.hero-quick-chip[aria-current="page"] {
  border-color: rgba(247, 161, 165, 0.5);
  background: rgba(247, 161, 165, 0.18);
  color: #fff;
}

.page.converter-layout > .converter-hero-shell > .converter-tool {
  grid-column: 2;
  margin-top: 0;
  position: relative;
  padding: 18px 18px 16px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(162deg, rgba(5, 10, 18, 0.97), rgba(3, 8, 14, 0.96)) !important;
  box-shadow:
    0 26px 52px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(24px) saturate(135%) brightness(86%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(135%) brightness(86%) !important;
  color: #f4f8ff !important;
  height: 100%;
  overflow: visible;
}

.page.converter-layout > .converter-hero-shell > .converter-tool::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 10%, rgba(46, 177, 200, 0.56), rgba(46, 177, 200, 0) 52%),
    radial-gradient(circle at 92% 12%, rgba(247, 161, 165, 0.5), rgba(247, 161, 165, 0) 54%),
    radial-gradient(circle at 52% 100%, rgba(46, 177, 200, 0.3), rgba(46, 177, 200, 0) 48%);
  filter: blur(34px);
  opacity: 1;
  z-index: -1;
}

.page.converter-layout > .converter-hero-shell > .converter-tool > .sectionTitle {
  display: none;
}

.converter-tool-kicker {
  display: block;
  margin: 0 0 12px 0;
  padding: 0;
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 0.25px;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}

.converter-tool-kicker::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(121, 242, 255, 0.95), rgba(247, 161, 165, 0.9));
}

.converter-tool-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 12px 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #dff7ff;
  border: 1px solid rgba(46, 177, 200, 0.34);
  background: rgba(46, 177, 200, 0.14);
}

.tool-copy-btn {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 14, 24, 0.56);
  color: #e9f2ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.tool-copy-btn:hover {
  background: rgba(46, 177, 200, 0.18);
  border-color: rgba(46, 177, 200, 0.42);
}

.converter-tool.tool-success {
  animation: tool-success-pop 0.9s ease;
}

@keyframes tool-success-pop {
  0% {
    box-shadow:
      0 30px 58px rgba(0, 0, 0, 0.64),
      0 0 28px rgba(46, 177, 200, 0.14),
      0 0 26px rgba(247, 161, 165, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
  45% {
    box-shadow:
      0 34px 66px rgba(0, 0, 0, 0.68),
      0 0 54px rgba(46, 177, 200, 0.34),
      0 0 52px rgba(247, 161, 165, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
  100% {
    box-shadow:
      0 30px 58px rgba(0, 0, 0, 0.64),
      0 0 28px rgba(46, 177, 200, 0.14),
      0 0 26px rgba(247, 161, 165, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

.page.converter-layout > .converter-hero-shell > .converter-tool > .card {
  margin-top: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(46, 177, 200, 0.06), rgba(46, 177, 200, 0) 36%),
    radial-gradient(circle at 92% 8%, rgba(247, 161, 165, 0.05), rgba(247, 161, 165, 0) 38%),
    linear-gradient(160deg, rgba(7, 12, 20, 0.82) 0%, rgba(4, 8, 14, 0.88) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06) !important;
  padding: 16px !important;
  backdrop-filter: blur(24px) saturate(145%) brightness(88%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) brightness(88%) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}


.page.converter-layout > .converter-hero-shell > .converter-tool .row {
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.65fr);
  align-items: end;
  gap: 18px;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .row > .field {
  min-width: 0;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .row > .field:last-child {
  max-width: 240px;
  justify-self: end;
  width: 100%;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .chipCategoryWrap {
  width: 100%;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .chipCategoryGroup {
  width: 100%;
  justify-content: flex-start;
  min-height: 44px;
  padding: 4px;
}

.chipCategoryWrap {
  display: grid;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  justify-self: start;
}

.chipCategoryLabel {
  font-size: 12px;
  color: var(--text-muted);
}

.chipCategoryGroup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 24, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
}

.chipCategoryBtn {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 34px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .row select {
  min-height: 44px;
  height: 44px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
  font-weight: 600;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .field label,
.page.converter-layout > .converter-hero-shell > .converter-tool .chipCategoryLabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #a9b8cc;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .hint {
  font-size: 12px;
  line-height: 1.45;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .result {
  margin-top: 14px;
  padding: 14px 14px 12px 14px;
  border-top: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 177, 200, 0.08), rgba(46, 177, 200, 0) 36%),
    linear-gradient(160deg, rgba(7, 13, 23, 0.82), rgba(5, 10, 18, 0.88));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page.converter-layout > .converter-hero-shell > .converter-tool .ok .big,
.page.converter-layout > .converter-hero-shell > .converter-tool .err .big {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15px;
  color: #eaf4ff;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .ok .big span {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-shadow:
    0 0 16px rgba(46, 177, 200, 0.22),
    0 0 12px rgba(247, 161, 165, 0.16);
}

.page.converter-layout > .converter-hero-shell > .converter-tool .meta {
  margin-top: 8px;
  color: #b5c5d8;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .resultCards {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  grid-template-columns: none !important;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .resultCards > * {
  flex: 0 0 auto;
  width: auto;
  min-width: 112px;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .resultCard {
  min-height: 74px !important;
  padding: 10px 10px !important;
  border-radius: 10px !important;
  gap: 6px !important;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .resultCard .resultIcon {
  width: 34px !important;
  height: 24px !important;
  font-size: 13px !important;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .resultCard .resultLabel {
  font-size: 10px !important;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .resultCard .resultValue {
  font-size: 13px !important;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .err .msg {
  color: #ffb4b9;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .actions .btn {
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background:
    linear-gradient(135deg, rgba(46, 177, 200, 0.22), rgba(247, 161, 165, 0.2)),
    linear-gradient(135deg, rgba(15, 28, 46, 0.97), rgba(8, 18, 34, 0.97)) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.34),
    0 0 10px rgba(46, 177, 200, 0.12),
    0 0 8px rgba(247, 161, 165, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .actions .btn:hover {
  transform: translateY(-1px);
  filter: saturate(104%) brightness(106%);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.38),
    0 0 14px rgba(46, 177, 200, 0.18),
    0 0 12px rgba(247, 161, 165, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

.page.converter-layout > .converter-hero-shell > .converter-tool .actions .btn:active {
  transform: translateY(0);
}

.chipCategoryBtn:hover {
  color: var(--text);
}

.chipCategoryBtn[aria-pressed="true"] {
  color: #eff6ff;
  background: linear-gradient(135deg, rgba(46, 177, 200, 0.34), rgba(247, 161, 165, 0.34));
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.page.converter-layout > :not(.converter-hero-shell) {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .page.converter-layout > .converter-hero-shell > .converter-tool .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page.converter-layout {
    grid-template-columns: 1fr;
    gap: 10px;
    overflow-x: hidden;
  }

  .page.converter-layout > .converter-hero-shell {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px !important;
  }

  .page.converter-layout > .converter-hero-shell > .converter-hero,
  .page.converter-layout > .converter-hero-shell > .converter-tool,
  .page.converter-layout > :not(.converter-hero-shell) {
    grid-column: 1;
    min-width: 0;
  }

  .page.converter-layout > .converter-hero-shell > .converter-tool .result {
    overflow-x: hidden;
  }

  .page.converter-layout > .converter-hero-shell > .converter-tool .resultCards {
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    box-sizing: border-box;
  }

  .page.converter-layout > .converter-hero-shell > .converter-tool .resultCards > * {
    flex: 0 0 auto;
    min-width: 88px;
    width: 88px;
    max-width: 88px;
  }

  .page.converter-layout > .converter-hero-shell > .converter-tool .resultCard {
    min-height: 66px !important;
    padding: 8px 8px !important;
    border-radius: 9px !important;
    gap: 4px !important;
  }

  .page.converter-layout > .converter-hero-shell > .converter-tool .resultCard .resultIcon {
    width: 28px !important;
    height: 20px !important;
    font-size: 11px !important;
  }

  .page.converter-layout > .converter-hero-shell > .converter-tool .resultCard .resultLabel {
    font-size: 9px !important;
    line-height: 1.1;
  }

  .page.converter-layout > .converter-hero-shell > .converter-tool .resultCard .resultValue {
    font-size: 11px !important;
    line-height: 1.1;
  }
}

/* Home calculator cards: enforce dark theme */
.page:not(.converter-layout) .heroCard,
.page:not(.converter-layout) .quickGroup,
.page:not(.converter-layout) .quickSelectItem,
.page:not(.converter-layout) .resultCard {
  background: linear-gradient(155deg, rgba(10, 16, 28, 0.92), rgba(6, 11, 20, 0.94)) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--text) !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.page:not(.converter-layout) .quickGroupTitle,
.page:not(.converter-layout) .quickSelectText,
.page:not(.converter-layout) .resultCardTitle,
.page:not(.converter-layout) .resultValue {
  color: #eaf3ff !important;
}

.page:not(.converter-layout) .heroCardHint,
.page:not(.converter-layout) .resultLabel {
  color: #aabbd0 !important;
}

.page:not(.converter-layout) .quickSelectItem:hover,
.page:not(.converter-layout) .quickSelectItem[aria-selected="true"],
.page:not(.converter-layout) .resultCard:hover {
  background: linear-gradient(155deg, rgba(16, 27, 43, 0.96), rgba(10, 18, 32, 0.98)) !important;
  border-color: rgba(46, 177, 200, 0.42) !important;
}
/* Home route cards: dark flag capsule (was white/gray) */
.page:not(.converter-layout) .resultCard .resultIcon,
.page:not(.converter-layout) .resultCardFront .resultIcon,
.page:not(.converter-layout) .resultCard.flipCard .flipFront .resultIcon {
  background: linear-gradient(145deg, rgba(18, 28, 44, 0.96), rgba(10, 18, 32, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}
/* Home route cards: remove light-gray outer plate behind flags */
.page:not(.converter-layout) .resultCard .resultCardFront,
.page:not(.converter-layout) .resultCard.flipCard .flipFront {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.page:not(.converter-layout) .resultCard .resultCardFront::before,
.page:not(.converter-layout) .resultCard .resultCardFront::after,
.page:not(.converter-layout) .resultCard.flipCard .flipFront::before,
.page:not(.converter-layout) .resultCard.flipCard .flipFront::after,
.page:not(.converter-layout) .resultCard .resultIcon::before,
.page:not(.converter-layout) .resultCard .resultIcon::after {
  content: none !important;
  display: none !important;
}
