:root {
  --bg: #eefaf7;
  --surface: #ffffff;
  --surface-soft: #f5fbfa;
  --ink: #102033;
  --muted: #475569;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --teal-soft: #ccfbf1;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --orange: #f97316;
  --orange-soft: #ffedd5;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --line: #b7dfdb;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-teal: rgba(15, 118, 110, 0.92);
  --glass-line: rgba(255, 255, 255, 0.72);
  --button-shadow: 0 16px 34px rgba(15, 23, 42, 0.11), 0 7px 18px rgba(15, 118, 110, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --button-shadow-strong: 0 18px 38px rgba(15, 118, 110, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(5, 46, 42, 0.2);
  --shadow: 0 18px 52px rgba(15, 118, 110, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(204, 251, 241, 0.7), transparent 34rem),
    linear-gradient(180deg, #e8fbf8 0%, #f7fbff 55%, #fffdf8 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  min-height: 52px;
}

.app-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  background: rgba(247, 251, 255, 0.94);
  border-left: 1px solid rgba(15, 118, 110, 0.1);
  border-right: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 0 48px rgba(15, 23, 42, 0.08);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  gap: 10px;
  align-items: center;
  padding: max(12px, env(safe-area-inset-top)) 14px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 251, 255, 0.76));
  backdrop-filter: blur(18px) saturate(1.24);
  -webkit-backdrop-filter: blur(18px) saturate(1.24);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.topbar__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.topbar__title span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.topbar__title strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.icon-button {
  width: 58px;
  height: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  color: var(--teal-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 251, 248, 0.58)),
    rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: var(--button-shadow);
  font-size: 0.84rem;
  font-weight: 900;
}

.screen {
  min-height: calc(100vh - 72px);
  padding: 20px 18px 34px;
  outline: none;
}

.hero-screen,
.guide-screen,
.result-screen,
.card-screen,
.reference-screen,
.simulation-screen {
  animation: fadeIn 180ms ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.95rem, 9vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  color: var(--teal-dark);
}

h2 {
  margin-bottom: 14px;
  font-size: 1.22rem;
  line-height: 1.26;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.28;
}

.lead,
.node-story,
.plain-card p,
.takeaway li,
.feedback-panel p,
.notice-card span,
.footnote {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-copy {
  padding-top: 10px;
}

.hero-screen h1 {
  font-size: clamp(2.08rem, 10vw, 2.68rem);
}

.guide-screen h1,
.card-screen h1,
.reference-screen h1 {
  color: var(--ink);
}

.reference-screen h1 {
  font-size: clamp(1.85rem, 8vw, 2.25rem);
  line-height: 1.14;
}

.hero-asset {
  width: 100%;
  margin: 14px 0 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-rule {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  color: #7c2d12;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.76)),
    #fff7ed;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.quick-rule strong {
  color: #9a3412;
  font-size: 1rem;
  line-height: 1.3;
}

.quick-rule span {
  color: #7c2d12;
  font-size: 1.02rem;
  line-height: 1.55;
}

.notice-card,
.plain-card,
.befast-card,
.takeaway,
.review-list,
.scenario-card,
.choices,
.feedback-panel,
.result-stats article,
.mnemonic-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.08);
}

.notice-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: #fffdf8;
}

.notice-card strong {
  font-size: 1.06rem;
}

.global-lessons {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(183, 223, 219, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(232, 251, 248, 0.5)),
    rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.16);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.mini-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.global-lessons h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.28;
}

.global-lesson-grid {
  display: grid;
  gap: 8px;
}

.global-lesson-grid article {
  display: grid;
  grid-template-columns: minmax(92px, 0.7fr) 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid rgba(183, 223, 219, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.global-lesson-grid strong {
  color: var(--teal-dark);
  font-size: 0.93rem;
  line-height: 1.35;
}

.global-lesson-grid span {
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.45;
}

.utility-button {
  min-height: 48px;
  padding: 12px 16px;
  color: var(--teal-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(204, 251, 241, 0.58)),
    rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 900;
}

.micro-note {
  margin: -2px 0 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-actions,
.result-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hero-actions--primary {
  margin-top: 14px;
}

.hero-actions--secondary {
  margin-top: 16px;
}

.primary-button,
.secondary-button,
.text-button,
.utility-button,
.choice-button,
.bottom-nav button {
  width: 100%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  box-shadow: var(--button-shadow);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.primary-button {
  padding: 16px 20px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(13, 148, 136, 0.98), var(--glass-teal) 58%, rgba(11, 95, 89, 0.98));
  font-weight: 900;
  box-shadow: var(--button-shadow-strong);
}

.secondary-button,
.text-button {
  padding: 15px 18px;
  color: var(--teal-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 251, 248, 0.56)),
    var(--glass);
  border-color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.text-button {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(183, 223, 219, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

@media (hover: hover) {
  .primary-button:hover,
  .secondary-button:hover,
  .text-button:hover,
  .utility-button:hover,
  .choice-button:hover,
  .bottom-nav button:hover,
  .icon-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.13), 0 8px 20px rgba(15, 118, 110, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }

  .primary-button:hover {
    box-shadow: 0 20px 42px rgba(15, 118, 110, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(5, 46, 42, 0.18);
  }
}

button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1), inset 0 2px 8px rgba(5, 46, 42, 0.16);
}

button:focus-visible {
  outline: 4px solid rgba(37, 99, 235, 0.34);
  outline-offset: 3px;
}

.sticky-action {
  position: sticky;
  bottom: 88px;
}

.guide-screen .sticky-action {
  position: static;
  margin-top: 14px;
}

.mnemonic-grid {
  display: grid;
  gap: 12px;
}

.mnemonic-grid article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px 14px;
  align-items: center;
  padding: 16px;
}

.mnemonic-grid b {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal);
  font-size: 1.8rem;
}

.mnemonic-grid span {
  font-size: 1.2rem;
  font-weight: 900;
}

.mnemonic-grid small {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.befast-card,
.plain-card,
.takeaway,
.guide-action-card,
.review-list {
  margin-top: 14px;
  padding: 18px;
}

.guide-action-card {
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  color: #7c2d12;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.72)),
    #fff7ed;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.guide-action-card strong,
.guide-action-card span {
  display: block;
}

.guide-action-card strong {
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.guide-action-card span {
  font-size: 1.02rem;
  line-height: 1.58;
}

.befast-card strong {
  color: var(--teal-dark);
}

.befast-list {
  display: grid;
  gap: 8px;
}

.befast-list span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(183, 223, 219, 0.58);
  border-radius: var(--radius);
  color: #334155;
  background: rgba(236, 253, 245, 0.52);
  font-size: 0.98rem;
  line-height: 1.35;
}

.sim-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.sim-status > div {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.status-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.sim-status strong {
  display: block;
  margin-top: 2px;
  color: var(--teal-dark);
  font-size: 1.35rem;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe8ea;
  margin-bottom: 14px;
}

.emergency-strip {
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  color: #7c2d12;
  background: #fff7ed;
  font-size: 0.94rem;
  line-height: 1.55;
}

.emergency-strip strong {
  color: #9a3412;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #22c55e);
  transition: width 220ms ease;
}

.scenario-card {
  overflow: hidden;
}

.scenario-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--teal-soft);
}

.scenario-card > div {
  padding: 18px;
}

.scenario-card h1 {
  font-size: clamp(1.6rem, 7vw, 2.1rem);
}

.choices {
  margin-top: 14px;
  padding: 16px;
}

.choice-list {
  display: grid;
  gap: 12px;
}

.choice-button {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  min-height: 86px;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 251, 250, 0.62)),
    rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.choice-button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--teal-dark);
  background:
    linear-gradient(145deg, rgba(204, 251, 241, 0.98), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 6px 14px rgba(15, 118, 110, 0.12);
  font-weight: 900;
}

.choice-button strong {
  font-size: 1rem;
  line-height: 1.48;
}

.choice-button[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.choice-button.selected {
  opacity: 1;
  border-color: #0f766e;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.choice-button.selected.good {
  border-color: #10b981;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 253, 245, 0.78)),
    #ecfdf5;
}

.choice-button.selected.delay {
  border-color: #fb923c;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.8)),
    #fff7ed;
}

.choice-button.selected.unsafe {
  border-color: #f87171;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 242, 0.82)),
    #fff1f2;
}

@media (hover: hover) {
  .choice-button[disabled]:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  .choice-button.selected:hover {
    border-color: #0f766e;
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  }
}

.feedback-panel {
  margin-top: 14px;
  padding: 18px;
  scroll-margin-top: 92px;
}

.feedback-panel.good {
  border-color: #6ee7b7;
  background: #f0fdf4;
}

.feedback-panel.delay {
  border-color: #fdba74;
  background: #fff7ed;
}

.feedback-panel.unsafe {
  border-color: #fca5a5;
  background: #fff1f2;
}

.feedback-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.feedback-action {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #0f3f3a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(183, 223, 219, 0.72);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.5;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.result-stats article {
  padding: 14px 8px;
  text-align: center;
}

.result-stats strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.25rem;
}

.result-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.review-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e4eff1;
}

.review-item:first-child {
  border-top: 0;
}

.review-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
}

.review-icon.delay {
  background: var(--orange);
}

.review-icon.unsafe {
  background: var(--red);
}

.review-item strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.45;
}

.review-item span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.takeaway ol {
  margin: 0;
  padding-left: 24px;
}

.takeaway li + li {
  margin-top: 10px;
}

.emergency-canvas {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 14px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.card-readable {
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid rgba(183, 223, 219, 0.82);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 251, 248, 0.56)),
    #ffffff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.08);
}

.card-readable h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.card-readable ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-readable li {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.58;
}

.card-readable strong {
  color: var(--teal-dark);
}

.footnote {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.plain-card ul {
  margin: 0;
  padding-left: 22px;
  color: #334155;
  line-height: 1.65;
}

.reference-screen .plain-card p {
  color: #334155;
}

.plain-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.work-credit {
  display: grid;
  gap: 4px;
  width: min(calc(100% - 24px), 496px);
  margin: 10px auto max(14px, env(safe-area-inset-bottom));
  padding: 10px 14px;
  border: 1px solid rgba(183, 223, 219, 0.42);
  border-radius: var(--radius);
  color: rgba(71, 85, 105, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(232, 251, 248, 0.28)),
    rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: center;
}

.work-credit span {
  display: block;
}

.bottom-nav {
  position: static;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 250, 247, 0.7)),
    rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(1.22);
  -webkit-backdrop-filter: blur(20px) saturate(1.22);
  border-top: 1px solid rgba(15, 118, 110, 0.14);
}

.bottom-nav button {
  min-height: 54px;
  color: var(--teal-dark);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(204, 251, 241, 0.7)),
    rgba(204, 251, 241, 0.66);
  border-color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.bottom-nav button.is-active {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(13, 148, 136, 0.98), rgba(15, 118, 110, 0.94) 58%, rgba(11, 95, 89, 0.98));
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

@media (min-width: 780px) {
  .app-shell {
    margin-top: 24px;
    margin-bottom: 24px;
    min-height: calc(100vh - 48px);
    border-radius: 18px;
    overflow: clip;
  }

  .topbar {
    top: 24px;
  }

  .bottom-nav {
    margin-bottom: 0;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .topbar,
  .bottom-nav,
  .result-actions,
  .hero-actions {
    display: none !important;
  }

  .app-shell {
    width: 100%;
    box-shadow: none;
    border: 0;
  }

  .screen {
    padding: 0;
  }
}
