/* Live previews inside the feature sections (features.js). Page chrome uses
   the site tokens; anything that imitates the app sits on a `.demo-skin`
   surface and reuses the popup's components from demo.css. */

.fx {
  --fx-accent: #fb9a44;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-soft) 58%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.fx + .more-list {
  margin-top: 1.5rem;
}

.fx button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.fx :focus-visible {
  outline: 2px solid var(--fx-accent);
  outline-offset: 2px;
}

.fx-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.fx-body {
  padding: 14px;
}

.fx-note {
  margin: 12px 2px 0;
  color: var(--text-tertiary);
  font-size: 12.5px;
}

/* Glyphs are masks tinted with the text color, like the popup's icons. */
.fx-logo {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}

/* ---- controls -------------------------------------------------------- */

.fx-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: var(--accent-soft);
}

.fx .fx-seg button {
  padding: 5px 11px;
  border-radius: 7px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 560;
  line-height: 18px;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

.fx .fx-seg button:hover {
  color: var(--text);
}

.fx .fx-seg button[aria-pressed="true"] {
  background: var(--fx-accent);
  color: #1a1206;
}

.fx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fx .fx-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s, transform 0.12s;
}

.fx .fx-chip:hover {
  color: var(--text);
  border-color: var(--text-tertiary);
}

.fx .fx-chip:active {
  transform: scale(0.96);
}

.fx .fx-chip[aria-pressed="true"] {
  border-color: var(--fx-accent);
  background: color-mix(in srgb, var(--fx-accent) 16%, transparent);
  color: var(--text);
}

.fx-chip i {
  width: 12px;
  height: 12px;
  border: 2px solid;
  border-radius: 50%;
}

.fx-dots {
  display: inline-flex;
  gap: 8px;
}

.fx .fx-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.15s, transform 0.15s;
}

.fx .fx-dot:hover {
  transform: scale(1.12);
}

.fx .fx-dot[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--bg-soft), 0 0 0 4px var(--dot);
}

/* ---- popup-like surfaces --------------------------------------------- */

.fx-skin {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  padding: 16px;
  border-radius: 12.5px;
  transition: background 0.35s, color 0.35s;
}

.fx-skin .demo-card,
.fx-skin .demo-use {
  transition: background 0.35s;
}

.fx-swap {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
}

.fx-swap > * {
  animation: demo-enter 0.24s ease-out;
}

/* Tiles: the Cards content in two columns, countdown wrapping if it must. */
.fx-tiles .demo-split {
  flex-wrap: wrap;
  gap: 2px 8px;
}

.fx-tiles .demo-pad {
  padding: 11px 15px;
}

/* ---- providers ------------------------------------------------------- */

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

.fx .fx-prov {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 10px 12px 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-mute) 55%, transparent);
  transition: opacity 0.2s, border-color 0.2s, background-color 0.2s;
}

.fx .fx-prov:hover {
  border-color: var(--border-strong);
}

.fx-prov[aria-pressed="false"] {
  opacity: 0.5;
}

.fx-prov-copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.fx-prov-copy b {
  overflow: hidden;
  font-size: 14px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fx-prov-copy small {
  color: var(--text-tertiary);
  font-size: 11.5px;
}

.fx-switch {
  position: relative;
  flex: none;
  width: 30px;
  height: 18px;
  margin-left: auto;
  border-radius: 9px;
  background: var(--border-strong);
  transition: background-color 0.2s;
}

.fx-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease);
}

.fx-prov[aria-pressed="true"] .fx-switch {
  background: var(--fx-accent);
}

.fx-prov[aria-pressed="true"] .fx-switch::after {
  transform: translateX(12px);
}

/* The line fills until this provider's next refresh. */
.fx-prov-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--fx-accent);
  opacity: 0.75;
  transform: scaleX(0);
  transform-origin: left;
  animation: fx-refresh var(--every) linear var(--delay) infinite paused;
}

.fx.is-live .fx-prov[aria-pressed="true"] .fx-prov-line {
  animation-play-state: running;
}

.fx-prov[aria-pressed="false"] .fx-prov-line {
  opacity: 0;
}

.fx-prov.is-fresh {
  animation: fx-fresh 0.9s ease-out;
}

@keyframes fx-refresh {
  to {
    transform: scaleX(1);
  }
}

@keyframes fx-fresh {
  from {
    border-color: var(--fx-accent);
    background: color-mix(in srgb, var(--fx-accent) 18%, transparent);
  }
}

/* ---- widgets --------------------------------------------------------- */

.fx[data-level="ok"] {
  --fx-level: #6ccb5f;
}

.fx[data-level="warn"] {
  --fx-level: #f5c542;
}

.fx[data-level="bad"] {
  --fx-level: #ff7b63;
}

.fx-slider {
  display: flex;
  flex: 1 1 220px;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  white-space: nowrap;
}

.fx-slider input {
  flex: 1;
  min-width: 80px;
  accent-color: var(--fx-accent);
  cursor: pointer;
}

.fx-slider output {
  min-width: 62px;
  color: var(--fx-level);
  font-weight: 600;
  text-align: right;
}

.fx-wgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 8px;
}

.fx-wtile {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
}

.fx-wtile figcaption {
  color: var(--text-tertiary);
  font-size: 11.5px;
  text-align: center;
}

/* A slice of dark taskbar, whatever the page theme. */
.fx-wchip {
  display: grid;
  place-items: center;
  width: 100%;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: 9px;
  background: #1c1c1c;
  color: #f3f3f3;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.fx-w-num {
  display: grid;
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
}

.fx-w-num b:first-child {
  color: var(--fx-level);
}

.fx-w-bars {
  display: grid;
  gap: 5px;
  width: 34px;
}

.fx-w-bars i {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.2);
}

.fx-w-bars u {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--f) * 1%);
  border-radius: inherit;
  background: #f3f3f3;
  transition: width 0.25s var(--ease);
}

.fx-w-bars i:first-child u {
  background: var(--fx-level);
}

.fx-w-svg,
.fx-w-ringed svg {
  width: 30px;
  height: 30px;
  transform: rotate(-90deg);
}

.fx-w-track,
.fx-w-arc {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.fx-w-track {
  stroke: rgb(255 255 255 / 0.18);
}

.fx-w-arc {
  stroke: #f3f3f3;
  transition: stroke-dasharray 0.25s var(--ease), stroke 0.25s;
}

.fx-w-arc.is-main {
  stroke: var(--fx-level);
}

.fx-w-ringed {
  position: relative;
  display: grid;
  place-items: center;
}

.fx-w-ringed svg {
  width: 34px;
  height: 34px;
}

.fx-w-ringed b {
  position: absolute;
  font-size: 10px;
}

.fx-w-dial {
  width: 38px;
  height: 26px;
}

.fx-w-dial .fx-w-arc {
  stroke: var(--fx-level);
}

.fx-w-needle {
  stroke: #f3f3f3;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 16px 19px;
  transform: rotate(calc(-90deg + var(--v) * 1.8deg));
  transition: transform 0.25s var(--ease);
}

.fx-w-level {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.fx-w-level i {
  width: 4px;
  border-radius: 1.5px;
  background: rgb(255 255 255 / 0.2);
  transition: background-color 0.2s;
}

.fx-w-level i:nth-child(1) {
  height: 36%;
}

.fx-w-level i:nth-child(2) {
  height: 52%;
}

.fx-w-level i:nth-child(3) {
  height: 68%;
}

.fx-w-level i:nth-child(4) {
  height: 84%;
}

.fx-w-level i:nth-child(5) {
  height: 100%;
}

.fx-w-level i.is-on {
  background: var(--fx-level);
}

.fx-w-time {
  font-size: 14px;
  font-weight: 600;
}

.fx-w-glance {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fx-w-claude {
  width: 18px;
  height: 18px;
  color: #d97757;
}

.fx-w-glance span {
  display: grid;
  line-height: 1.15;
}

.fx-w-glance b {
  font-size: 12px;
}

.fx-w-glance small {
  color: #a6a6a6;
  font-size: 10.5px;
}

/* ---- usage ----------------------------------------------------------- */

.fx-readout {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  min-height: 22px;
  margin-top: 6px;
  color: var(--demo-secondary);
  font-size: 13.75px;
  line-height: 22px;
}

.fx-readout span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.fx-readout i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.fx-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 150px;
  margin-top: 8px;
}

.fx-day {
  display: flex;
  flex: 1;
  flex-direction: column-reverse;
  gap: 1px;
  height: 100%;
  transition: opacity 0.15s;
}

.fx-day i {
  min-height: 1px;
  border-radius: 1.5px;
  transition: height 0.6s var(--ease);
}

.fx-day i:last-child {
  border-radius: 3px 3px 1.5px 1.5px;
}

.fx-chart:hover .fx-day {
  opacity: 0.32;
}

.fx-chart .fx-day:hover {
  opacity: 1;
}

.fx-axis {
  margin-top: 6px;
}

.fx-axis small {
  font-size: 12.5px;
}

.fx-models {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--demo-text) 9%, transparent);
}

.fx-model {
  display: grid;
  grid-template-columns: 20px minmax(0, 9.5em) minmax(24px, 1fr) auto 3.4em;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 20px;
}

.fx-model-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fx-model-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--demo-subtle);
}

.fx-model-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  animation: fx-grow 0.6s var(--ease);
}

.fx-model small {
  font-size: 13.75px;
  text-align: right;
}

@keyframes fx-grow {
  from {
    width: 0;
  }
}

/* ---- notifications --------------------------------------------------- */

.fx-toast-stage {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  height: 340px;
  overflow: hidden;
  padding: 14px;
  background:
    radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--fx-accent) 12%, transparent), transparent 60%);
}

.fx-toast {
  position: relative;
  flex: none;
  width: min(100%, 372px);
  overflow: hidden;
  padding: 12px 14px 14px;
  border-radius: 11px;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.38);
  animation: fx-toast-in 0.5s var(--ease);
}

.fx-toast.is-leaving {
  animation: fx-toast-out 0.28s ease-in forwards;
}

.fx-toast-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fx-toast-head b {
  flex: 1;
  min-width: 0;
}

.fx-toast-head .demo-glyph {
  width: 18px;
  height: 18px;
}

.fx-toast-head button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.fx-toast-head button:hover {
  background: var(--demo-subtle);
}

.fx-toast p {
  margin: 6px 0 0;
  color: var(--demo-secondary);
  font-size: 15px;
  line-height: 21px;
}

.fx-toast-quota {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.fx-toast-timer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--demo-accent);
  transform-origin: left;
  animation: fx-drain 7s linear forwards;
}

@keyframes fx-toast-in {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
  }
}

@keyframes fx-toast-out {
  to {
    opacity: 0;
    transform: translateX(28px);
  }
}

@keyframes fx-drain {
  to {
    transform: scaleX(0);
  }
}

/* ---- resets and activation ------------------------------------------- */

.fx-day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.fx-day-head span {
  color: var(--text-tertiary);
  font-size: 12.5px;
}

.fx-track {
  position: relative;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-soft);
}

.fx-quiet,
.fx-swatch.is-quiet {
  background: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--text) 16%, transparent) 0 2px,
    transparent 2px 7px
  );
}

.fx-quiet {
  position: absolute;
  top: 0;
  bottom: 0;
}

.fx-quiet:first-child {
  border-radius: 10px 0 0 10px;
}

.fx-window {
  position: absolute;
  top: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--fx-accent) 55%, transparent);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: color-mix(in srgb, var(--fx-accent) 22%, transparent);
  color: var(--fx-accent);
  font-size: 11.5px;
  font-weight: 600;
}

.fx-window-start {
  position: absolute;
  left: -1px;
  top: -4px;
  bottom: -4px;
  width: 3px;
  border-radius: 2px;
  background: var(--fx-accent);
}

.fx-window-start.is-planned::before,
.fx-swatch.is-planned {
  content: "";
  border-radius: 50%;
  background: var(--fx-accent);
}

.fx-window-start.is-planned::before {
  position: absolute;
  left: -3px;
  top: -9px;
  width: 9px;
  height: 9px;
}

.fx-now {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--text);
  transition: left 1s linear;
}

.fx-now i {
  position: absolute;
  top: -17px;
  left: 50%;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--text);
  color: var(--bg);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 15px;
  transform: translateX(-50%);
}

.fx-hours,
.fx-key-row {
  display: flex;
  color: var(--text-tertiary);
  font-size: 11.5px;
}

.fx-hours {
  justify-content: space-between;
  margin-top: 8px;
}

.fx-key-row {
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
}

.fx-key-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fx-swatch {
  width: 14px;
  height: 9px;
  border-radius: 2px;
}

.fx-swatch.is-window {
  border: 1px solid color-mix(in srgb, var(--fx-accent) 55%, transparent);
  background: color-mix(in srgb, var(--fx-accent) 22%, transparent);
}

.fx-swatch.is-planned {
  width: 9px;
}

.fx-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.fx-mini {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-mute) 55%, transparent);
}

.fx-mini small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-tertiary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fx-mini b {
  font-size: 14.5px;
  font-weight: 560;
  line-height: 1.3;
}

.fx-mini span {
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.35;
}

.fx-mini .fx-count {
  color: var(--fx-accent);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.fx-alert {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ff99a4;
  color: #4a1218;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

/* ---- themes and languages -------------------------------------------- */

.fx-lang-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 25px;
  padding: 0 5px 4px;
}

.fx-lang-toast .demo-glyph {
  width: 18px;
  height: 18px;
}

/* ---- OpenRouter keys ------------------------------------------------- */

.fx-key-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fx-skin .fx-key-delete {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  opacity: 0.55;
  transition: opacity 0.15s, background-color 0.15s;
}

.fx-skin .fx-key-delete:hover {
  background: var(--demo-subtle);
  opacity: 1;
}

.fx-key-delete .demo-glyph {
  width: 17px;
  height: 17px;
}

.fx-key.is-fresh {
  animation: fx-key-in 0.45s var(--ease);
}

.fx-skin .fx-key-add {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 2.5px;
}

.fx-key-add .demo-glyph {
  width: 15px;
  height: 15px;
}

@keyframes fx-key-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

/* ---- beyond the tray ------------------------------------------------- */

.fx-term-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.fx-term-title .fx-logo {
  width: 16px;
  height: 16px;
}

.fx-term {
  min-height: 236px;
  margin: 0;
  overflow-x: auto;
  padding: 14px 16px;
  background: #0b0c0e;
  color: #e7e9ec;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  white-space: pre;
  scrollbar-width: thin;
}

.fx-term-prompt {
  color: var(--fx-accent);
}

.fx-term-out {
  color: #9aa1ab;
}

.fx-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.fx-duo-cell {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  padding: 14px;
}

.fx-duo-cell + .fx-duo-cell {
  border-left: 1px solid var(--border);
}

.fx-duo-cell > small {
  color: var(--text-tertiary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fx-duo-cell > span {
  color: var(--text-tertiary);
  font-size: 12.5px;
  line-height: 1.4;
}

.fx-deck {
  display: flex;
  gap: 8px;
}

.fx .fx-deck-key {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  background: #0b0b0c;
  box-shadow: 0 3px 0 rgb(0 0 0 / 0.45);
  color: #fff;
  transition: transform 0.1s, box-shadow 0.1s;
}

.fx .fx-deck-key:active {
  box-shadow: 0 0 0 rgb(0 0 0 / 0.45);
  transform: translateY(3px);
}

.fx-deck-key svg {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

.fx-deck-key .demo-mark {
  --demo-codex: #809fff;
  --demo-claude: #d97757;
  --demo-cursor: #fff;
  width: 18px;
  height: 18px;
  margin-top: -10px;
}

.fx-deck-key .demo-glyph {
  width: 18px;
  height: 18px;
}

.fx-deck-key b {
  position: absolute;
  bottom: 13px;
  font-size: 10.5px;
  font-weight: 650;
}

.fx .fx-keys {
  display: inline-flex;
  gap: 6px;
}

.fx-keys kbd {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--bg-mute);
  box-shadow: 0 3px 0 var(--border-strong);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 560;
  transition: transform 0.1s, box-shadow 0.1s;
}

.fx-keys:active kbd {
  box-shadow: 0 0 0 var(--border-strong);
  transform: translateY(3px);
}

/* ---- privacy --------------------------------------------------------- */

.fx-cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fx-cell {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px 14px;
}

.fx-cell + .fx-cell {
  border-left: 1px solid var(--border);
}

.fx-cell .fx-logo {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  color: var(--fx-accent);
}

.fx-cell b {
  font-size: 15px;
  font-weight: 560;
}

.fx-cell span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

/* ---- small screens and motion ---------------------------------------- */

@media (max-width: 560px) {
  .fx-body {
    padding: 10px;
  }

  .fx-skin {
    padding: 12px 10px;
  }

  .fx-prov-grid,
  .fx-mini-grid,
  .fx-cells,
  .fx-duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-cell + .fx-cell,
  .fx-duo-cell + .fx-duo-cell {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .fx-wgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-chart {
    gap: 2px;
    height: 120px;
  }

  .fx-model {
    grid-template-columns: 20px minmax(0, 1fr) auto 3.2em;
    font-size: 14px;
  }

  .fx-model-bar {
    display: none;
  }

  .fx-term {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx *,
  .fx *::after {
    animation: none !important;
    transition: none !important;
  }
}
