/* Webhook Bagual: macOS-style window over a soft gradient. LCH tokens, light + dark. */

/* Inter (variable, latin incl. pt-BR accents), the font webhook.cool uses. Self-hosted: the CSP allows only 'self'.
   SIL Open Font License, see fonts/Inter-OFL.txt. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
}

:root,
[data-preview="light"],
[data-preview="system"] {
  color-scheme: light;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --page-1: lch(97% 1 260);
  --page-2: lch(86% 3 260);
  --window-bg: lch(99% 0 0 / 0.72);
  --window-border: lch(100% 0 0 / 0.7);
  --window-shadow: 0 30px 80px -20px lch(20% 5 260 / 0.35), 0 0 0 0.5px lch(30% 0 0 / 0.18);
  --bar-bg: lch(96% 1 260 / 0.7);
  --panel-bg: lch(100% 0 0 / 0.55);
  --line: lch(88% 1 260 / 0.9);
  --line-soft: lch(92% 1 260 / 0.8);
  --text: lch(18% 2 260);
  --text-muted: lch(42% 3 260);
  --text-faint: lch(46% 2 260);
  --hover: lch(50% 5 260 / 0.07);
  --selected: lch(55% 60 260 / 0.14);
  --row-bg: lch(100% 0 0 / 0.35);
  --row-hover: lch(100% 0 0 / 0.65);
  --row-selected: lch(99% 0 0 / 0.92);
  --row-edge: lch(0% 0 0 / 0.07);
  --row-shadow: 0 1px 2px lch(0% 0 0 / 0.06), 0 0 0 0.5px lch(0% 0 0 / 0.04);
  /* Milliseconds in list times: lighter than the time, like webhook.cool. Gustavo's exception: 2.5:1 on the row. */
  --text-ms: lch(62% 2 260);
  --selected-strong: lch(52% 65 262);
  --accent: lch(43% 65 262);
  /* Fills behind white text (buttons, menu hover): separate so dark-theme text accents can stay light. */
  --accent-fill: lch(52% 65 262);
  --accent-text: lch(100% 0 0);
  --danger: lch(47% 75 30);
  --danger-fill: lch(52% 75 30);
  --warn: lch(55% 60 70);
  --warn-text: lch(46% 60 70);
  --warn-fill: lch(47% 60 70);
  --ok: lch(60% 60 145);
  --ok-fill: lch(46% 60 145);
  --code-bg: lch(96% 1 260 / 0.8);
  /* One background for every detail card (meta line, tables, body). Nearly opaque, so the glow behind
     cannot tint one card differently from the next. */
  --card-bg: lch(96.5% 1 260 / 0.94);
  --popover-bg: lch(99% 0 0 / 0.92);

  --tok-key: lch(45% 60 300);
  --tok-string: lch(46% 55 145);
  --tok-number: lch(46% 70 50);
  --tok-boolean: lch(42% 65 260);
  --tok-null: lch(46% 5 260);

  --brand-green: lch(72% 70 140);
  /* Method badges (Gustavo's colors): GET/HEAD green, POST yellow, PUT blue, PATCH purple, DELETE red,
     OPTIONS pink. White text on each fill, at the most chroma the sRGB gamut allows at the lightest L that
     still gives white text 3.1:1. POST differs per theme (his call), always with white text: light theme a warm
     amber-orange at 3.1:1, dark theme the yellowest fill white text allows at 2.8:1 (his accepted exception). */
  --m-get: lch(60.5% 73 140);
  --m-post: lch(61% 68.5 74);
  --m-put: lch(59.5% 60 265);
  --m-patch: lch(60% 75 305);
  --m-delete: lch(61% 75.5 30);
  --m-head: var(--m-get);
  --m-options: lch(61% 76 350);
  --m-other: lch(48% 5 260);

  --radius: 12px;
  --radius-sm: 7px;
}

/* Dark tokens. A `[data-preview]` root (settings previews) scopes its subtree to one theme. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]),
  [data-preview="system"] {
    color-scheme: dark;
    --page-1: lch(28% 3 260);
    --page-2: lch(10% 2 260);
    --window-bg: lch(16% 2 260 / 0.72);
    --window-border: lch(40% 2 260 / 0.5);
    --window-shadow: 0 30px 80px -20px lch(0% 0 0 / 0.7), 0 0 0 0.5px lch(0% 0 0 / 0.6);
    --bar-bg: lch(20% 2 260 / 0.7);
    --panel-bg: lch(14% 2 260 / 0.5);
    --line: lch(30% 2 260 / 0.9);
    --line-soft: lch(25% 2 260 / 0.8);
    --text: lch(93% 1 260);
    --text-muted: lch(71% 3 260);
    --text-faint: lch(64% 2 260);
    --hover: lch(90% 5 260 / 0.06);
    --selected: lch(60% 50 262 / 0.22);
    --row-bg: lch(100% 0 0 / 0.03);
    --row-hover: lch(100% 0 0 / 0.06);
    --row-selected: lch(100% 0 0 / 0.11);
    --row-edge: lch(100% 0 0 / 0.12);
    --row-shadow: 0 1px 2px lch(0% 0 0 / 0.25);
    --text-ms: lch(55% 2 260);
    --m-post: lch(64% 66.5 95);
    --accent: lch(62% 60 262);
    --accent-fill: lch(52% 65 262);
    --danger: lch(68% 75 30);
    --warn-text: lch(65% 60 70);
    --code-bg: lch(11% 2 260 / 0.7);
    --card-bg: lch(12% 2 260 / 0.94);
    --popover-bg: lch(20% 2 260 / 0.95);
    --tok-key: lch(72% 45 300);
    --tok-string: lch(75% 50 140);
    --tok-number: lch(75% 55 60);
    --tok-boolean: lch(72% 45 260);
    --tok-null: lch(65% 5 260);
  }
}

:root[data-theme="dark"],
[data-preview="dark"] {
  color-scheme: dark;
  --page-1: lch(28% 3 260);
  --page-2: lch(10% 2 260);
  --window-bg: lch(16% 2 260 / 0.72);
  --window-border: lch(40% 2 260 / 0.5);
  --window-shadow: 0 30px 80px -20px lch(0% 0 0 / 0.7), 0 0 0 0.5px lch(0% 0 0 / 0.6);
  --bar-bg: lch(20% 2 260 / 0.7);
  --panel-bg: lch(14% 2 260 / 0.5);
  --line: lch(30% 2 260 / 0.9);
  --line-soft: lch(25% 2 260 / 0.8);
  --text: lch(93% 1 260);
  --text-muted: lch(71% 3 260);
  --text-faint: lch(64% 2 260);
  --hover: lch(90% 5 260 / 0.06);
  --selected: lch(60% 50 262 / 0.22);
  --row-bg: lch(100% 0 0 / 0.03);
  --row-hover: lch(100% 0 0 / 0.06);
  --row-selected: lch(100% 0 0 / 0.11);
  --row-edge: lch(100% 0 0 / 0.12);
  --row-shadow: 0 1px 2px lch(0% 0 0 / 0.25);
  --text-ms: lch(55% 2 260);
  --m-post: lch(64% 66.5 95);
  --accent: lch(62% 60 262);
  --accent-fill: lch(52% 65 262);
  --danger: lch(68% 75 30);
  --warn-text: lch(65% 60 70);
  --code-bg: lch(11% 2 260 / 0.7);
  --card-bg: lch(12% 2 260 / 0.94);
  --popover-bg: lch(20% 2 260 / 0.95);
  --tok-key: lch(72% 45 300);
  --tok-string: lch(75% 50 140);
  --tok-number: lch(75% 55 60);
  --tok-boolean: lch(72% 45 260);
  --tok-null: lch(65% 5 260);
}

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

[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font: 14px/1.45 var(--font);
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, var(--page-1) 0%, var(--page-2) 85%) fixed var(--page-2);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 12px;
}

.offscreen {
  position: fixed;
  left: -9999px;
  top: 0;
}

/* ---------- page + window ---------- */

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 16px;
  gap: 14px;
}

.window {
  width: min(1280px, 100%);
  height: calc(100vh - 100px);
  min-height: 480px;
  /* Like webhook.cool: a full-height sidebar (window dots, brand, URL card, list) and the detail pane beside it. */
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--window-bg);
  border: 0.5px solid var(--window-border);
  border-radius: var(--radius);
  box-shadow: var(--window-shadow);
  backdrop-filter: blur(30px) saturate(1.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  overflow: hidden;
  position: relative;
}

/* The sidebar's tint and right edge, behind the header and the list (and behind empty space on message views). */
.window::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / -1;
  background: var(--bar-bg);
  border-right: 0.5px solid var(--line);
}

.titlebar {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "traffic traffic traffic"
    "brand   resp    more"
    "sel     sel     sel";
  align-items: center;
  column-gap: 2px;
  row-gap: 0;
  padding: 18px 16px 10px;
  min-width: 0;
}

.traffic {
  grid-area: traffic;
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

/* Always filled with the macOS colors (Gustavo did not want webhook.cool's hollow, fill-on-hover rings). */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px lch(0% 0 0 / 0.2);
}

.dot-red {
  background: lch(62% 75 32);
}

.dot-yellow {
  background: lch(82% 75 80);
}

.dot-green {
  background: var(--brand-green);
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  letter-spacing: -0.03em;
}

/* "**Webhook**Bagual", like webhook.cool's two-weight wordmark. */
.brand-name strong {
  font-weight: 700;
}

.brand-light {
  font-weight: 300;
}

.brand-logo {
  /* The cuia is portrait (378×542): fix the height, let the width follow. */
  height: 32px;
  width: auto;
  display: block;
}

/* The gaúcho Tux as a mascot in the window's top-right corner, over the detail pane (inspector only; the
   not-found page has its own big Tux). Decorative: it never takes clicks. */
.mascot {
  position: absolute;
  top: 16px;
  right: 24px;
  pointer-events: none;
  user-select: none;
}

.mascot img {
  display: block;
  height: 64px;
  width: auto;
  /* "Wet": a glow that hugs his outline (drop-shadow follows the image's shape), yellow close in, green further
     out, the colors of the page glows, slowly breathing. */
  filter: drop-shadow(0 0 7px var(--mascot-glow-yellow)) drop-shadow(0 0 18px var(--mascot-glow-green));
  animation: mascot-breathe 5s ease-in-out infinite alternate;
}

@keyframes mascot-breathe {
  from {
    filter: drop-shadow(0 0 5px var(--mascot-glow-yellow)) drop-shadow(0 0 14px var(--mascot-glow-green));
  }
  to {
    filter: drop-shadow(0 0 9px var(--mascot-glow-yellow)) drop-shadow(0 0 22px var(--mascot-glow-green));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot img {
    animation: none;
  }
}

.window:has(#view-inspector[hidden]) .mascot {
  display: none;
}

/* Keep the detail title and the From card clear of the mascot. */
.detail-head,
.detail-meta {
  margin-right: 72px;
}

.message-logo {
  height: 96px;
  width: auto;
  margin: 0 auto 12px;
  display: block;
}

/* The toolbar's pieces sit in the titlebar grid; [hidden] still hides them all outside the inspector. */
.toolbar {
  display: contents;
}

.toolbar .selector {
  grid-area: sel;
  min-width: 0;
  margin-top: 18px;
}

#response-button {
  grid-area: resp;
  position: relative;
}

.more-wrap {
  grid-area: more;
}

/* The gear sits near the sidebar's right edge, so the menu opens from it toward the right, over the detail
   pane. Opening leftward would cut long labels (pt-BR) off at the window's left edge. */
#more-menu {
  left: 0;
  right: auto;
}

/* Quiet icon buttons beside the wordmark, like webhook.cool's "···". */
.btn.bar-icon {
  background: none;
  border-color: transparent;
  box-shadow: none;
  color: var(--text-muted);
  padding: 6px;
}

.btn.bar-icon:hover:not(:disabled) {
  background: var(--hover);
  color: var(--text);
  box-shadow: none;
}

/* "custom" response: a small accent dot on the icon instead of a text pill. */
#response-button .pill:not([hidden]) {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  padding: 0;
  font-size: 0;
  border-radius: 50%;
  background: var(--warn-fill);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--panel-bg);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 1px lch(0% 0 0 / 0.04);
}

.btn:hover:not(:disabled) {
  background: var(--hover);
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.btn.primary {
  background: var(--accent-fill);
  border-color: transparent;
  color: var(--accent-text);
}

.btn.primary:hover:not(:disabled) {
  background: var(--accent-fill);
  /* Darken, not brighten: a lighter fill would push white text toward 3:1. */
  filter: brightness(0.92);
}

.btn.is-done {
  background: var(--ok-fill);
  color: var(--accent-text);
  border-color: transparent;
}

.btn.small {
  font-size: 12px;
  padding: 3px 8px;
}

.btn.icon-only {
  padding: 5px 7px;
}

.btn.toggle.on {
  background: var(--selected);
  border-color: var(--accent);
}

.icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-only .icon {
  stroke-width: 3;
}

/* The settings gear is detailed; the heavy icon-only stroke would blot it. */
.icon-only .icon.gear {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.pill {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--warn-fill);
  color: var(--accent-text);
  border-radius: 99px;
  padding: 1px 6px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
.rows:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---------- selector + popovers ---------- */

.popover-wrap {
  position: relative;
}

/* The URL card: name in bold, host muted, copy and switch icons on the right (copy is a sibling button laid over
   the card's right edge, since a button can't sit inside a button). */
.selector-button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font: 13.5px var(--font);
  color: var(--text);
  background: var(--panel-bg);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px 11px 14px;
  padding-right: 12px;
  cursor: pointer;
  box-shadow: 0 1px 2px lch(0% 0 0 / 0.06);
  text-align: left;
}

.selector-button > .icon {
  margin-left: auto;
  color: var(--text-muted);
}

/* The full URL: "http://host/" muted, the name bold. When space runs out the host part shrinks with "…" so the
   name always stays whole. */
.selector-host {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
}

.selector-name {
  flex: none;
  font-weight: 600;
}

.card-icon {
  font: inherit;
  grid-area: sel;
  justify-self: end;
  align-self: center;
  margin: 18px 34px 0 0;
  z-index: 1;
  display: inline-flex;
  padding: 5px;
  color: var(--text-muted);
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.card-icon:hover {
  color: var(--text);
  background: var(--hover);
}

.card-icon.is-done {
  color: var(--accent-text);
  background: var(--ok-fill);
}

.selector-url {
  display: flex;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  /* room for the copy icon laid over the card */
  margin-right: 26px;
}

.popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 240px;
  padding: 5px;
  background: var(--popover-bg);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 40px -8px lch(0% 0 0 / 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.popover-right {
  left: auto;
  right: 0;
}

.popover hr {
  border: 0;
  border-top: 0.5px solid var(--line);
  margin: 5px 4px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 6px 9px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}

.menu-item:hover {
  background: var(--accent-fill);
  color: var(--accent-text);
}

.menu-item.danger {
  color: var(--danger);
}

.menu-item.danger:hover {
  background: var(--danger-fill);
  color: var(--accent-text);
}

.menu-value {
  margin-left: auto;
  color: var(--text-muted);
}

/* Settings menu: an icon on the left of every option; the auto-select checkbox sits on the right. */
.menu-icon {
  flex: none;
  color: var(--text-muted);
}

.menu-item:hover .menu-icon,
.menu-item.danger .menu-icon {
  color: inherit;
}

.menu-item.check {
  color: var(--text);
}

.menu-item.check input {
  margin-left: auto;
}

/* Keep the right-hand value or checkbox from crowding the label. */
.menu-item .menu-value {
  padding-left: 12px;
}

.menu-item.check > span {
  margin-right: 12px;
}

/* The palette's paint dots are filled. */
.menu-icon circle {
  fill: currentColor;
  stroke: none;
}

.menu-check {
  width: 15px;
  display: inline-flex;
}

.menu-url {
  font-size: 13px;
}

.menu-item.current .menu-url {
  font-weight: 600;
}

/* ---------- content ---------- */

/* .content and the inspector view only group markup; their children sit in the window grid. */
.content {
  display: contents;
}

.view {
  min-height: 0;
  grid-column: 2;
  grid-row: 1 / -1;
}

.view-message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.message-card {
  max-width: 420px;
  text-align: center;
}

.message-card h1 {
  font-size: 20px;
  margin: 0 0 8px;
}

.message-card p {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.view-inspector {
  display: contents;
}

/* ---------- list ---------- */

.list {
  grid-column: 1;
  grid-row: 2;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 16px 12px;
  outline-offset: -2px;
}

/* Like webhook.cool: every row is its own faint card; the selected one turns almost white. */
.row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--row-bg);
  cursor: pointer;
  user-select: none;
}

.row:hover {
  background: var(--row-hover);
}

/* Request number: Inter with tabular digits, right-aligned to the widest number in the list (--num-ch, set by list.js). */
.row-num {
  min-width: calc((var(--num-ch, 1) + 1) * 1ch);
  text-align: right;
  font: 600 12px/1 var(--font);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  transition: color var(--t-hover) var(--ease-out);
}

.row:hover .row-num,
.row.selected .row-num {
  color: var(--text);
}

.num-hash {
  color: var(--text-faint);
  font-weight: 400;
}

.detail-num {
  font: 700 26px/1 var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.detail-num .num-hash {
  margin-right: 1px;
}

.row.selected {
  background: var(--row-selected);
  box-shadow: var(--row-shadow), inset 0 0 0 1px var(--row-edge);
}

.row.enter {
  animation: row-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
    background: lch(70% 60 262 / 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .row.enter {
    animation: none;
  }
}

.row-path {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-time {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Like webhook.cool: date and clock in the same gray, then smaller, lighter milliseconds. */
.row-ms {
  font-size: 10.5px;
  color: var(--text-ms);
}

.row-trash {
  visibility: hidden;
  display: inline-flex;
  padding: 3px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
}

.row.selected .row-trash {
  visibility: visible;
}

.row-trash:hover {
  color: var(--danger);
  background: var(--hover);
}

.load-more {
  align-self: center;
  margin: 6px 0 12px;
}

.method {
  display: inline-block;
  /* Wide enough for OPTIONS in Inter, so every row's path starts at the same x. */
  min-width: 60px;
  box-sizing: border-box;
  text-align: center;
  font: 600 11px/1 var(--font);
  letter-spacing: 0.02em;
  padding: 4px 5px;
  border-radius: 5px;
  color: var(--accent-text);
  background: var(--m-other);
}

.m-get {
  background: var(--m-get);
}
.m-post {
  background: var(--m-post);
}
.m-put {
  background: var(--m-put);
}
.m-patch {
  background: var(--m-patch);
}
.m-delete {
  background: var(--m-delete);
}
.m-head {
  background: var(--m-head);
}
.m-options {
  background: var(--m-options);
}

.empty-state {
  padding: 28px 18px;
}

.empty-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

.curl-example {
  font-size: 11.5px;
  margin: 12px 0 10px;
}

/* ---------- detail ---------- */

.detail {
  grid-column: 2;
  grid-row: 1 / -1;
  overflow-y: auto;
  min-height: 0;
  padding: 18px 22px 28px;
  background: var(--panel-bg);
}

.detail-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* The selected request reads big, like webhook.cool's "POST /": the list rows stay small. */
.detail-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.detail-title .method {
  min-width: 0;
  font-size: 15px;
  padding: 7px 11px;
  border-radius: 8px;
}

.detail-url {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

/* "From IP … at …" sits in the same kind of rounded, darker card as the headers table and the body. */
.detail-meta {
  margin: 0;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  background: var(--card-bg);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  /* only as wide as its text, not the whole pane */
  width: fit-content;
  max-width: 100%;
}

/* Like webhook.cool: the IP and time are Inter, semibold. */
.detail-meta strong {
  color: var(--text);
  font-weight: 600;
}

.meta-sep {
  margin: 0 7px;
  color: var(--text-faint);
}

.detail-section {
  margin-top: 22px;
}

/* Like webhook.cool: "Headers", "Body" in sentence case, larger and in the text color. */
.detail-section h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 10px;
}

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

.section-head h3 {
  margin: 0;
}

.section-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.count {
  font-weight: 500;
  color: var(--text-faint);
  margin-left: 2px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-muted);
}

.check input {
  accent-color: var(--accent);
  margin: 0;
}

/* Like webhook.cool: each table is a rounded card, and the row lines run edge to edge into its border. */
.kv {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.35;
  table-layout: fixed;
  background: var(--card-bg);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.kv th,
.kv td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 0.5px solid var(--line);
  overflow-wrap: anywhere;
}

/* Like webhook.cool: Inter for both columns, the key darker than its value. */
.kv th {
  width: 32%;
  font-weight: 400;
  color: var(--text);
}

.kv td {
  color: var(--text-muted);
}

.kv tr:last-child th,
.kv tr:last-child td {
  border-bottom: 0;
}

.code {
  margin: 0;
  padding: 12px 14px;
  background: var(--card-bg);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  font: 12.5px/1.55 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 70vh;
  overflow: auto;
}

.body-view .kv {
  margin-bottom: 12px;
}

.body-note {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.body-note.warn {
  color: var(--warn-text);
}

.body-empty {
  font-style: italic;
}

.tok-key {
  color: var(--tok-key);
}
.tok-string {
  color: var(--tok-string);
}
.tok-number {
  color: var(--tok-number);
}
.tok-boolean {
  color: var(--tok-boolean);
}
.tok-null {
  color: var(--tok-null);
  font-style: italic;
}
.tok-invalid {
  color: var(--danger);
}

.image-preview {
  padding: 12px;
  background: var(--code-bg);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.image-preview img {
  max-width: 100%;
  max-height: 60vh;
}

.binary-body {
  padding: 18px;
  background: var(--code-bg);
  border: 0.5px dashed var(--line);
  border-radius: 8px;
}

.binary-title {
  margin: 0 0 4px;
  font-weight: 600;
}

.binary-body .muted {
  margin: 0 0 10px;
}

/* ---------- response dialog ---------- */

.dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  color: var(--text);
  background: var(--popover-bg);
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--window-shadow);
}

.dialog::backdrop {
  background: lch(10% 0 0 / 0.35);
  backdrop-filter: blur(2px);
}

.response-form {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-head h2 {
  margin: 0;
  font-size: 16px;
}

.response-form > .muted {
  margin: -6px 0 0;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.hint {
  font-size: 11px;
  color: var(--text-faint);
}

.response-form input,
.response-form textarea {
  font: 13px var(--mono);
  color: var(--text);
  background: var(--code-bg);
  border: 0.5px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  width: 100%;
  min-width: 0;
}

.response-form textarea {
  resize: vertical;
}

.response-form input::placeholder,
.response-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.form-field.invalid input,
.form-field.invalid textarea,
.header-row.invalid input,
.header-rows.invalid {
  border-color: var(--danger);
  outline: 1px solid var(--danger);
}

.header-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 6px;
}

.header-rows:empty {
  display: none;
}

.header-row {
  display: grid;
  grid-template-columns: 2fr 3fr auto;
  gap: 6px;
}

.form-field > .btn {
  align-self: flex-start;
  margin-top: 2px;
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

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

.spacer {
  flex: 1;
}

/* ---------- dock footer ---------- */

.dock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-size: 11.5px;
  background: var(--window-bg);
  border: 0.5px solid var(--window-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px -10px lch(0% 0 0 / 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dock-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* "🇧🇷 WebhookBagual" like the sidebar wordmark: Webhook 700, Bagual 300. */
.dock-brand strong {
  font-weight: 700;
}

/* An SVG, not the 🇧🇷 emoji: Windows has no flag emoji glyphs (Chrome shows "BR"), and Linux often has none. */
.dock-flag {
  display: block;
  width: 18px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 0.5px lch(0% 0 0 / 0.15);
}

.dock-sep {
  width: 0.5px;
  height: 12px;
  background: var(--line);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-faint);
}

.live-dot[data-state="on"] {
  background: lch(72% 80 140);
  box-shadow: 0 0 6px 1px lch(72% 80 140 / 0.8);
  animation: live-pulse 1.8s ease-out infinite;
}

/* A ring that grows and fades, over a steady glow. */
@keyframes live-pulse {
  0% {
    box-shadow: 0 0 6px 1px lch(72% 80 140 / 0.8), 0 0 0 0 lch(72% 80 140 / 0.6);
  }
  70% {
    box-shadow: 0 0 10px 2px lch(72% 80 140 / 0.9), 0 0 0 7px lch(72% 80 140 / 0);
  }
  100% {
    box-shadow: 0 0 6px 1px lch(72% 80 140 / 0.8), 0 0 0 0 lch(72% 80 140 / 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot[data-state="on"] {
    animation: none;
  }
}

.live-dot[data-state="wait"] {
  background: var(--warn);
}

/* ---------- small screens ---------- */

@media (max-width: 760px) {
  .page {
    padding: 0;
    gap: 0;
  }

  /* One column: the window's corner is the sidebar header there, so the mascot would cover the gear. */
  .mascot {
    display: none;
  }

  .detail-head,
  .detail-meta {
    margin-right: 0;
  }

  .window {
    height: auto;
    min-height: 100vh;
    border-radius: 0;
  }

  /* One column: sidebar header, then the list, then the detail. */
  .window {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(160px, 38vh) auto;
  }

  .window::before {
    grid-row: 1 / 3;
    border-right: 0;
  }

  .traffic {
    display: none;
  }

  .titlebar {
    padding-top: 12px;
  }

  .view,
  .detail {
    grid-column: 1;
    grid-row: 3;
  }

  .view-message {
    grid-row: 2 / -1;
  }

  .list {
    border-bottom: 0.5px solid var(--line);
  }

  #more-menu {
    left: auto;
    right: 0;
    width: calc(100vw - 32px);
    max-width: 360px;
  }

  #more-menu .menu-item {
    white-space: normal;
  }

  .dock {
    display: none;
  }
}

/* dialogs */

.app-dialog {
  width: min(420px, calc(100vw - 32px));
  /* The UA's dialog:modal max-width (100% - 6px - 2em) would eat the 16px gutters. */
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
}

.app-dialog-body {
  margin: 0;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-dialog-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.app-dialog-message {
  margin: 0;
  color: var(--text-muted);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.app-dialog-actions {
  justify-content: flex-end;
  margin-top: 10px;
}

.btn.danger {
  background: var(--danger-fill);
  border-color: transparent;
  color: var(--accent-text);
}

.btn.danger:hover:not(:disabled) {
  background: var(--danger-fill);
  filter: brightness(0.92);
}

.btn.danger:focus-visible {
  outline-color: var(--danger);
}

/* settings */

.settings-dialog {
  width: min(640px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}

.settings-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-heading {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

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

.theme-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 6px 6px 8px;
  font: inherit;
  color: var(--text);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}

.theme-card:hover .pv {
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px -6px lch(0% 0 0 / 0.35);
}

.theme-card[aria-checked="true"] .pv {
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px var(--selected);
}

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

.theme-card-text {
  display: flex;
  flex-direction: column;
  padding: 0 2px;
  line-height: 1.3;
}

.theme-card-label {
  font-size: 13px;
  font-weight: 500;
}

.theme-card[aria-checked="true"] .theme-card-label {
  font-weight: 600;
  color: var(--accent);
}

.theme-card-hint {
  font-size: 11px;
  color: var(--text-faint);
}

/* Mini-preview: a [data-preview] root, so every token below resolves to that theme. */
.pv {
  display: block;
  padding: 10px 10px 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, var(--page-1) 0%, var(--page-2) 85%) var(--page-2);
  border-radius: 9px;
  box-shadow: 0 0 0 0.5px var(--line);
  transition: box-shadow 120ms ease;
}

.pv-window {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--window-bg);
  border: 0.5px solid var(--window-border);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 6px 18px -8px lch(0% 0 0 / 0.4);
  overflow: hidden;
}

.pv-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 5px;
  background: var(--bar-bg);
  border-bottom: 0.5px solid var(--line);
}

.pv-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: none;
}

.pv-url {
  height: 5px;
  width: 38%;
  margin-left: 6px;
  border-radius: 3px;
  background: var(--code-bg);
  box-shadow: 0 0 0 0.5px var(--line);
}

.pv-main {
  flex: 1;
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 0;
}

.pv-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 3px;
  border-right: 0.5px solid var(--line);
}

.pv-row {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border-radius: 3px;
}

.pv-row-selected {
  background: var(--selected);
}

.pv-badge {
  flex: none;
  min-width: 19px;
  padding: 1px 2px;
  border-radius: 2px;
  font: 700 5px/1 var(--font);
  text-align: center;
  color: var(--accent-text);
}

.pv-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
  background: var(--panel-bg);
}

.pv-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--text-faint);
  opacity: 0.7;
}

.pv-detail > .pv-line:first-child {
  background: var(--text);
  opacity: 0.8;
}

.pv-line-s {
  width: 45%;
}

.pv-line-m {
  width: 65%;
}

.pv-line-l {
  width: 90%;
}

.pv-row .pv-line {
  flex: 1;
}

.pv-code {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 2px;
  padding: 4px;
  background: var(--code-bg);
  border: 0.5px solid var(--line);
  border-radius: 3px;
}

.pv-code .pv-line {
  background: var(--tok-string);
}

.lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  font-size: 13px;
  background: var(--panel-bg);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.lang-option:hover {
  background: var(--hover);
}

.lang-option:has(input:checked) {
  background: var(--selected);
  border-color: var(--accent);
}

.lang-option input {
  margin: 0;
  accent-color: var(--accent);
}

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

@media (max-width: 560px) {
  .theme-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .theme-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .theme-card .pv {
    width: 42%;
    flex: none;
  }

  .lang-options {
    flex-direction: column;
  }
}

/* ---------- background: a glow in the colors of Brazil ---------- */

/* Like webhook.cool's blurred color blocks behind the glass window, in our gaúcho Tux's colors: a soft yellow
   glow left of center and a little low, a green one right of center and higher, overlapping through the middle.
   Light enough to stay behind the text. Fixed, not animated. Purely decorative (aria-hidden). */
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--glow-opacity);
}

.glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  transform: translate(-50%, -50%);
  mix-blend-mode: var(--glow-blend);
}

.glow-yellow {
  left: 30%;
  top: 54%;
  width: 46vw;
  height: 88vh;
  background: radial-gradient(closest-side, var(--glow-yellow) 10%, var(--glow-yellow-edge) 55%, transparent);
}

.glow-green {
  left: 66%;
  top: 38%;
  width: 48vw;
  height: 80vh;
  background: radial-gradient(closest-side, var(--glow-green) 10%, var(--glow-green-edge) 55%, transparent);
}

/* ---------- motion: soft, a little springy ("wet", not splashy) ---------- */

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.5, 0.64, 1);
  --t-hover: 220ms;
  --t-press: 90ms;
  --glow-opacity: 0.5;
  --glow-blend: normal;
  --glow-yellow: lch(92% 90 95);
  --glow-yellow-edge: lch(86% 90 88 / 0.55);
  --glow-green: lch(66% 80 145);
  --glow-green-edge: lch(58% 70 148 / 0.55);
  --mascot-glow-yellow: lch(92% 90 95 / 0.45);
  --mascot-glow-green: lch(70% 75 145 / 0.3);
}

:root[data-theme="dark"],
[data-preview="dark"] {
  --glow-opacity: 0.45;
  /* On dark, yellow at partial opacity turns olive; a warmer gold blended as light glows instead. */
  --glow-blend: screen;
  --glow-yellow: lch(80% 90 80);
  --glow-yellow-edge: lch(70% 85 75 / 0.6);
  --glow-green: lch(68% 85 145);
  --glow-green-edge: lch(58% 75 148 / 0.6);
  --mascot-glow-yellow: lch(80% 90 80 / 0.26);
  --mascot-glow-green: lch(68% 85 145 / 0.22);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --glow-opacity: 0.45;
    /* On dark, yellow at partial opacity turns olive; a warmer gold blended as light glows instead. */
    --glow-blend: screen;
    --glow-yellow: lch(80% 90 80);
    --glow-yellow-edge: lch(70% 85 75 / 0.6);
    --glow-green: lch(68% 85 145);
    --glow-green-edge: lch(58% 75 148 / 0.6);
    --mascot-glow-yellow: lch(80% 90 80 / 0.26);
    --mascot-glow-green: lch(68% 85 145 / 0.22);
  }
}

.btn,
.selector-button,
.menu-item,
.lang-option,
.row,
.row-trash,
.theme-card .pv,
.icon {
  transition:
    background-color var(--t-hover) var(--ease-out),
    color var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out),
    opacity var(--t-hover) var(--ease-out),
    filter var(--t-hover) var(--ease-out),
    transform var(--t-hover) var(--ease-spring);
}

/* Buttons float up a pixel on hover and press down on click. */
.btn:hover:not(:disabled),
.lang-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px -6px lch(0% 0 0 / 0.3);
}

.btn.primary:hover:not(:disabled) {
  box-shadow: 0 6px 18px -6px var(--accent-fill);
}

.btn.danger:hover:not(:disabled) {
  box-shadow: 0 6px 18px -6px var(--danger-fill);
}

.btn:active:not(:disabled),
.lang-option:active,
.theme-card:active .pv {
  transform: translateY(0) scale(0.96);
  transition-duration: var(--t-press);
}

/* The settings gear turns a little on hover. */
.btn:hover .icon.gear {
  transform: rotate(60deg);
}

/* The URL card never moves: lifting it with the spring made the long URL shake, and the press scale blurred it.
   It only changes color and border on hover; its arrow turns with a plain ease-out. */
.selector-button:hover {
  border-color: var(--text-faint);
  box-shadow: 0 1px 2px lch(0% 0 0 / 0.06);
}

.selector-button > .icon {
  transition: transform var(--t-hover) var(--ease-out);
}

.selector-button[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* Menu items only change color on hover: gliding them blurred and wobbled their text. */

/* List rows glide a touch to the right; the selected one keeps a soft inner edge. */
.row:hover {
  transform: translateX(2px);
}

.row:active {
  transform: translateX(2px) scale(0.99);
  transition-duration: var(--t-press);
}

.row-trash:hover {
  transform: scale(1.15);
}

.theme-card:hover .pv {
  transform: translateY(-2px);
}

/* "Copied!" pops. */
.btn.is-done {
  animation: pop 360ms var(--ease-spring);
}

.pill:not([hidden]) {
  animation: pop 360ms var(--ease-spring);
}

@keyframes pop {
  0% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* Menus drop in from above: they fade in, slide down 8px and unfold top-down. The slide animates `top`, not
   `transform`: a transform moves a pre-drawn picture of the menu, which smears the text until it stops, while
   `top` makes the browser lay out and draw the text crisply at every step. Never use transform here.
   The open clip-path leaves room around the box so its shadow is not cut. */
.popover {
  clip-path: inset(-12px -24px -48px -24px);
  transition:
    opacity 180ms var(--ease-out),
    top 260ms var(--ease-out),
    clip-path 260ms var(--ease-out);
}

@starting-style {
  .popover {
    opacity: 0;
    top: calc(100% - 2px);
    clip-path: inset(0 0 100% 0);
  }
}

/* Dialogs rise in and sink out; the backdrop fades with them. */
.dialog {
  transition:
    opacity 220ms var(--ease-out),
    transform 300ms var(--ease-spring),
    overlay 300ms allow-discrete,
    display 300ms allow-discrete;
}

.dialog:not([open]) {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition-timing-function: var(--ease-out);
  transition-duration: 160ms;
}

@starting-style {
  .dialog[open] {
    opacity: 0;
    transform: translateY(14px) scale(0.95);
  }
}

.dialog::backdrop {
  transition:
    opacity 240ms var(--ease-out),
    overlay 300ms allow-discrete,
    display 300ms allow-discrete;
}

.dialog:not([open])::backdrop {
  opacity: 0;
}

@starting-style {
  .dialog[open]::backdrop {
    opacity: 0;
  }
}

/* The window settles in on load; views and the request detail ease in when they change. */
.window {
  animation: window-in 600ms var(--ease-out) both;
}

.dock {
  animation: rise-in 600ms 120ms var(--ease-out) both;
}

.view:not([hidden]) {
  animation: fade-in 260ms var(--ease-out);
}

.detail > * {
  animation: rise-in 320ms var(--ease-out) both;
}

.detail > :nth-child(2) {
  animation-delay: 40ms;
}

.detail > :nth-child(3) {
  animation-delay: 80ms;
}

.detail > :nth-child(n + 4) {
  animation-delay: 120ms;
}

@keyframes window-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

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