/* WCPW crew tools. Dark by default; light and system themes override the content surface. */

:root {
  --chrome: #0c2340;
  --chrome-text: #ffffff;
  --chrome-muted: #d5dde8;
  --accent: #f5c518;
  --accent-ink: #1a1400;
  --bg: #0e141b;
  --card: #18222d;
  --text: #f4f7fb;
  --muted: #c5d0dc;
  --border: #3a4b5e;
  --input: #101820;
  --link: #9dccff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  --text-scale: 1.3;
  color-scheme: dark;
  font-size: calc(20px * var(--text-scale));
}

html[data-text-size="xs"] { --text-scale: 0.8; }
html[data-text-size="sm"] { --text-scale: 0.9; }
html[data-text-size="md"] { --text-scale: 1; }
html[data-text-size="lg"] { --text-scale: 1.15; }
html[data-text-size="xl"] { --text-scale: 1.3; }
html[data-text-size="huge"] { --text-scale: 1.45; }

html[data-theme="light"] {
  --bg: #eef2f6;
  --card: #ffffff;
  --text: #14202b;
  --muted: #3d4c5c;
  --border: #b7c3d0;
  --input: #ffffff;
  --link: #0b4f9c;
  --shadow: 0 8px 24px rgba(12, 35, 64, 0.12);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--link);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn:focus-visible,
.segmented a[aria-selected="true"]:focus-visible,
.subnav a[aria-current="page"]:focus-visible {
  outline-color: #0c2340;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
  background: var(--chrome);
  color: var(--chrome-text);
}

.appbar-titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.brand {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
  font-size: clamp(16px, 1.05rem, 22px);
}

html[data-route="home"] .brand {
  display: none;
}

#screenTitle {
  margin: 0;
  min-width: 0;
  font-size: clamp(16px, 1.05rem, 24px);
  font-weight: 800;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--chrome-muted);
}

html[data-route="home"] #screenTitle {
  color: #fff;
  font-size: clamp(18px, 1.2rem, 26px);
  font-weight: 900;
}

#screenTitle:empty {
  display: none;
}

.appbar-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
}

.text-size {
  position: relative;
}

.theme {
  position: relative;
  flex: 0 0 auto;
}

.chrome-btn,
.icon-btn,
.btn {
  min-height: max(48px, 2.75rem);
  min-width: 48px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.chrome-btn {
  padding: 8px 10px;
  background: transparent;
  color: #fff;
  font-size: clamp(14px, 0.85rem, 18px);
}

.icon-btn {
  width: max(48px, 2.75rem);
  height: max(48px, 2.75rem);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
  padding: 0;
}

.icon-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn {
  padding: 12px 16px;
  background: var(--accent);
  color: var(--accent-ink);
}

.menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 6px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.menu button {
  min-height: 48px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.menu button[aria-checked="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  background: var(--chrome);
  padding-bottom: env(safe-area-inset-bottom);
  min-height: calc(72px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tabbar a {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: max(64px, 3.5rem);
  padding: 6px 1px;
  color: var(--chrome-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
}

.tabbar a span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}

.tabbar svg {
  width: 1.65rem;
  height: 1.65rem;
  min-width: 28px;
  min-height: 28px;
  max-width: 36px;
  max-height: 36px;
  display: block;
  flex: 0 0 auto;
}

.tabbar a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.shell {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

main {
  width: min(960px, 100%);
  min-width: 0;
  margin-inline: auto;
  padding: 16px 16px calc(128px + env(safe-area-inset-bottom));
  flex: 1;
}

.banner {
  width: min(960px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.banner .btn {
  width: 100%;
}

.lede {
  margin: 0 0 16px;
  color: var(--muted);
}

.view {
  display: none;
}

html[data-route="home"] #view-home,
html[data-route="lookup"] #view-lookup,
html[data-route="road_names"] #view-lookup,
html[data-route="work_order"] #view-lookup,
html[data-route="tools"] #view-tools,
html[data-route="reference"] #view-reference,
html[data-route="pits"] #view-places,
html[data-route="links"] #view-places,
html:not([data-route]) #view-home {
  display: block;
}

#road-panel,
#work-panel,
#pits-panel,
#links-panel {
  display: block;
}

html[data-route="work_order"] #road-panel,
html[data-route="road_names"] #work-panel,
html[data-route="lookup"] #work-panel,
html[data-route="home"] #work-panel,
html[data-route="links"] #pits-panel,
html[data-route="pits"] #links-panel,
html[data-route="home"] #links-panel {
  display: none;
}

.home-grid,
.results,
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 128px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 800;
}

.home-card img {
  width: 5rem;
  height: 5rem;
  min-width: 88px;
  min-height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #d7dde4;
}

.segmented,
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.segmented a,
.subnav a {
  flex: 1;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  border: 2px solid var(--border);
  color: var(--text);
  background: var(--card);
  padding: 8px;
}

.segmented a[aria-selected="true"],
.subnav a[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.field {
  margin-bottom: 14px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.search-row,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.search-row {
  flex-wrap: nowrap;
}

.search-row input,
.toolbar input {
  flex: 1 1 160px;
  min-width: 0;
}

#searchButton {
  flex: 0 0 auto;
  min-height: max(48px, 2.75rem);
  min-width: 0;
  padding-left: 16px;
  padding-right: 16px;
}

input[type="search"],
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  min-height: max(48px, 2.75rem);
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--input);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}

.search-row input[type="search"] {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

select {
  width: 0;
  min-width: 100%;
  max-width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.status,
.hint {
  color: var(--muted);
  margin: 8px 0;
}

.message {
  min-height: 1.4em;
  font-weight: 800;
  margin: 8px 0;
}

.gap-warning {
  margin: 10px 0;
  padding: 14px 16px;
  border: 3px solid #6b3e00;
  border-radius: 14px;
  background: #ffe08a;
  color: #1a1400;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.gap-warning[hidden] {
  display: none;
}

.result-card,
.segment,
.link-card {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.result-card,
.segment {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin: 0 0 10px;
}

.segment {
  cursor: pointer;
  min-height: 48px;
}

.segment.is-between {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
}

.segment.is-start,
.segment.is-end {
  border-color: var(--accent);
  box-shadow: inset 4px 0 0 var(--accent);
  background: color-mix(in srgb, var(--accent) 28%, var(--card));
}

.section-span {
  margin: 8px 0;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: 14px;
  font-weight: 800;
}

.result-title {
  margin: 0;
  font-weight: 800;
}

.result-meta,
.segment span {
  display: block;
  margin-top: 4px;
}

.result-meta {
  color: var(--muted);
  margin: 4px 0 0;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 14px;
  text-decoration: none;
  color: var(--text);
}

.link-card-title {
  flex: 1;
  min-width: 0;
  font-weight: 800;
}

.link-card-action {
  flex: 0 0 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.stats div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.stats .total {
  grid-column: 1 / -1;
}

.stats dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.stats .total dd {
  font-size: 2rem;
}

.dmi-controls {
  text-align: center;
}

#distanceDisplay {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 8px auto;
  padding: 16px 12px;
  font-family: ui-monospace, "Courier New", monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 12vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #b6ff9a;
  background: #07140c;
  border: 2px solid #245c32;
  border-radius: 14px;
}

.dmi-actions {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 12px auto;
}

.dmi-actions .btn {
  flex: 1;
  min-height: 56px;
}

.notice {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 18px;
}

.notice h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.notice p {
  margin: 0 0 10px;
}

.notice p:last-child {
  margin-bottom: 0;
}

#content,
.segment,
.result-card,
.link-card,
.home-card,
.payscale-open span,
.stats dd,
.lede {
  overflow-wrap: anywhere;
}

#content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow-wrap: anywhere;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.45;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.contract-line {
  white-space: pre-wrap;
  min-height: 1.15em;
}

.contract-heading {
  margin: 16px 0 8px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  white-space: pre-wrap;
}

.contract-table-wrap,
.pay-steps-wrap {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 8px 0;
  -webkit-overflow-scrolling: touch;
}

.contract-table,
.pay-steps {
  width: max-content;
  border-collapse: collapse;
  white-space: nowrap;
  overflow-wrap: normal;
}

.contract-table th,
.contract-table td,
.pay-steps th,
.pay-steps td {
  border: 1px solid var(--border);
  padding: 6px 8px;
  text-align: left;
}

.year-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.year-toggle button,
.lou-toggle {
  min-height: 48px;
  background: var(--card);
  color: var(--text);
  border: 2px solid var(--border);
}

.year-toggle button[aria-checked="true"],
.lou-toggle[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.pay-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

.pay-card h2,
.section-label {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.pay-lou,
.pay-meta,
.pay-effective {
  margin: 0 0 6px;
}

.pay-lou {
  font-weight: 800;
  color: var(--accent-ink);
  background: var(--accent);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
}

.section-label {
  margin-top: 22px;
}

mark {
  background: #ffe14a;
  color: #1a1400;
  padding: 0 0.05em;
  border-radius: 2px;
}

mark.current {
  background: #ff9f1c;
  outline: 2px solid #c45c00;
}

.payscale-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payscale-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: #14202b;
  cursor: zoom-in;
  text-align: left;
}

.payscale-open img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.payscale-open span {
  display: block;
  padding: 12px 14px 14px;
  font-weight: 700;
}

#viewer {
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #05080c;
  color: #fff;
}

#viewer[open] {
  display: flex;
  flex-direction: column;
}

.viewer-bar {
  display: flex;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
  background: var(--chrome);
}

.viewer-bar .btn {
  flex: 1;
}

.viewer-stage {
  flex: 1;
  overflow: auto;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

#viewerImg {
  display: block;
  height: auto;
  max-width: none;
  background: #fff;
}

.match-bar {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: calc(88px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: var(--chrome);
  color: #fff;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
}

.match-bar[hidden] {
  display: none;
}

.match-bar .btn {
  min-height: max(48px, 2.75rem);
  padding: 8px 10px;
  font-size: 1rem;
  line-height: 1.15;
  white-space: normal;
}

.match-bar-count {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  margin: 0;
  min-width: 0;
  font-weight: 800;
  font-size: 1rem;
}

#floatTerm {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#floatNumbers {
  flex: 0 0 auto;
  white-space: nowrap;
}

body.has-match-bar main {
  padding-bottom: calc(280px + env(safe-area-inset-bottom));
}

.toast {
  position: fixed;
  z-index: 50;
  left: 12px;
  right: 12px;
  bottom: calc(96px + env(safe-area-inset-bottom));
}

.toast button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.copyright {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 700px) {
  .home-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: max(48px, 2.75rem);
  font-weight: 800;
}

.choice input {
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.type-toggle {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}

.type-toggle .btn {
  flex: 1 1 0;
  min-height: max(48px, 2.75rem);
  background: var(--card);
  color: var(--text);
  border: 2px solid var(--border);
}

.type-toggle .btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

#reportMessage {
  min-height: 6.5rem;
}

#sendReport {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: max(48px, 3rem);
  margin-top: 8px;
  text-align: center;
  scroll-margin-bottom: calc(120px + env(safe-area-inset-bottom));
}

#reportThanks .lede {
  font-size: 1.35rem;
  font-weight: 800;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-actions .btn,
.report-actions a.btn {
  flex: 1 1 140px;
}

@media (min-width: 900px) {
  :root {
    font-size: calc(18px * var(--text-scale));
  }

  body {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .appbar {
    grid-column: 1 / -1;
  }

  .tabbar {
    position: sticky;
    top: 0;
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 100%;
    padding: 12px;
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tabbar a {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    min-height: 48px;
    font-size: 1rem;
    border-radius: 12px;
    padding: 8px 12px;
  }

  .tabbar a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--accent);
  }

  .shell {
    grid-column: 2;
    grid-row: 2;
  }

  main {
    padding: 24px 28px 48px;
  }

  .toast {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: min(420px, calc(100vw - 260px));
  }

  .match-bar {
    left: 220px;
    bottom: 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  body.has-match-bar main {
    padding-bottom: calc(180px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-card,
  .link-card,
  .segment,
  .btn,
  .tabbar a {
    transition: transform 120ms ease, background-color 120ms ease;
  }

  .home-card:active,
  .link-card:active,
  .segment:active,
  .btn:active {
    transform: scale(0.98);
  }
}
