:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #171717;
  --muted: #767676;
  --line: #ececec;
  --soft: #f7f7f7;
  --red: #e3292f;
  --red-soft: #fff1f2;
  --green: #16845b;
  --yellow: #f7c948;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Pretendard",
    "Noto Sans KR",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body.intro-running {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(100%, 460px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
}

body.intro-running .app-shell {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

body.intro-done .app-shell {
  animation: app-reveal 280ms ease both;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--ink);
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-copy {
  width: min(100%, 420px);
  display: grid;
  justify-items: start;
  gap: 18px;
}

.intro-line {
  margin: 0;
  max-width: 310px;
  font-size: 26px;
  font-weight: 820;
  line-height: 1.28;
  letter-spacing: 0;
  transition:
    color 260ms ease,
    font-size 260ms ease,
    transform 260ms ease;
}

.intro-brand {
  opacity: 0;
  transform: translateY(8px);
  display: grid;
  gap: 6px;
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.intro-brand strong {
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
}

.intro-brand span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.intro-bar {
  width: min(100%, 210px);
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line);
  opacity: 0;
  transition: opacity 220ms ease;
}

.intro-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transform: translateX(-100%);
}

.intro-screen[data-phase="brand"] .intro-line {
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  transform: translateY(-4px);
}

.intro-screen[data-phase="brand"] .intro-brand,
.intro-screen[data-phase="brand"] .intro-bar {
  opacity: 1;
}

.intro-screen[data-phase="brand"] .intro-brand {
  transform: translateY(0);
}

.intro-screen[data-phase="brand"] .intro-bar span {
  animation: intro-load 920ms ease-in-out both;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar h1,
.sheet-header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 5px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

.top-actions,
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 20px;
}

.auth-cta {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.auth-cta i {
  width: 17px;
  height: 17px;
}

.icon-button i,
.bottom-item i,
.ghost-button i,
.reward-icon i,
.tab i,
.search-row button i {
  width: 19px;
  height: 19px;
  stroke-width: 2.1;
  display: inline-grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  font-style: normal;
  font-weight: 780;
}

.tabbar {
  position: sticky;
  top: 67px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.tab {
  height: 48px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  position: relative;
}

.tab.is-active {
  color: var(--ink);
}

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.content {
  flex: 1;
  padding: 18px 20px 96px;
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.section-kicker h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.chip.red {
  background: var(--red-soft);
  color: var(--red);
}

.chip.green {
  background: #edf8f3;
  color: var(--green);
}

.chip.gold {
  background: #fff7e8;
  color: #8a5b00;
}

.reward-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: -2px 0 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reward-policy {
  grid-column: 1 / -1;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.reward-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reward-status i {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.reward-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reward-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff7e8;
  color: #8a5b00;
}

.reward-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.reward-copy strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.25;
}

.reward-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.reward-side {
  display: grid;
  justify-items: end;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
}

.reward-link,
.reward-pill {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 780;
}

.reward-pill {
  background: #fff7e8;
  color: #8a5b00;
}

.case-focus {
  padding: 18px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
}

.status-dot {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.case-title {
  margin: 0;
  font-size: 23px;
  line-height: 1.32;
  letter-spacing: 0;
}

.case-body {
  margin: 9px 0 0;
  color: #3f3f3f;
  font-size: 15px;
  line-height: 1.52;
}

.case-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.vote-group {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.vote-button {
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.vote-button:hover {
  border-color: #d5d5d5;
}

.vote-button:active {
  transform: scale(0.99);
}

.vote-button.is-selected {
  border-color: var(--red);
  background: var(--red-soft);
}

.vote-label {
  font-size: 16px;
  font-weight: 760;
  line-height: 1.25;
}

.vote-percent {
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
}

.progress {
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: #eeeeee;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: var(--pct);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ff7a52);
}

.microcopy {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.case-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ghost-button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
}

.ghost-button.is-reacted {
  background: var(--red-soft);
  color: var(--red);
}

.reward {
  color: #8a5b00;
  font-weight: 720;
}

.feed-block,
.verdict-block {
  margin-top: 22px;
}

.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.block-header h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.block-header span {
  color: var(--muted);
  font-size: 12px;
}

.case-list {
  border-top: 1px solid var(--line);
}

.case-row {
  width: 100%;
  min-height: 72px;
  padding: 13px 0;
  display: grid;
  gap: 5px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.row-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.35;
}

.row-body {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #444444;
  font-size: 13px;
  line-height: 1.42;
}

.row-score {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.row-meta {
  color: var(--muted);
  font-size: 12px;
}

.verdict-card {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.verdict-title {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--muted);
}

.verdict-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
}

.comment-list {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.comment {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: #333333;
  font-size: 14px;
  line-height: 1.42;
  display: grid;
  gap: 4px;
}

.comment-author {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.comment-form input {
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.comment-form button,
.submit-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 740;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 7;
  width: min(100%, 460px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
}

.bottom-item {
  height: 54px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
}

.bottom-item > svg {
  font-size: 18px;
  line-height: 1;
}

.bottom-item.is-active {
  color: var(--red);
}

.bottom-item.primary {
  color: #fff;
}

.bottom-item.primary span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(227, 41, 47, 0.28);
}

.bottom-item.primary svg {
  width: 22px;
  height: 22px;
}

.compose-dialog {
  width: min(calc(100% - 28px), 430px);
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.compose-dialog::backdrop {
  background: rgba(0, 0, 0, 0.32);
}

.compose-sheet {
  display: grid;
  gap: 14px;
  padding: 18px 18px 20px;
}

.compose-sheet label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.compose-sheet input,
.compose-sheet select,
.compose-sheet textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.compose-sheet textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.45;
}

.compose-sheet input:focus,
.compose-sheet select:focus,
.compose-sheet textarea:focus,
.comment-form input:focus,
.auth-panel input:focus,
.search-form input:focus,
.vote-button:focus-visible,
.tab:focus-visible,
.bottom-item:focus-visible,
.icon-button:focus-visible,
.ghost-button:focus-visible {
  outline: 3px solid rgba(227, 41, 47, 0.2);
  outline-offset: 2px;
}

.form-error {
  min-height: 18px;
  margin: -2px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 720;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.safety-note {
  margin: -2px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 720;
}

.auth-sheet {
  gap: 16px;
}

.auth-panel {
  display: grid;
  gap: 12px;
}

.auth-status {
  display: grid;
  gap: 7px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.auth-status strong {
  font-size: 17px;
  line-height: 1.25;
}

.auth-status span,
.auth-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.recovery-code {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-actions.single {
  grid-template-columns: 1fr;
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.secondary-button,
.danger-button {
  min-height: 44px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
}

.danger-button {
  color: var(--red);
  background: var(--red-soft);
}

.search-panel {
  padding: 14px 0 4px;
  border-bottom: 1px solid var(--line);
}

.search-form {
  display: grid;
  gap: 8px;
}

.search-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-row input {
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search-row button {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 760;
}

.search-hint {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.board-strip {
  display: grid;
  gap: 10px;
  margin: -4px -20px 18px;
  padding: 0 20px 14px;
  border-bottom: 1px solid var(--line);
}

.board-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.board-scroll::-webkit-scrollbar {
  display: none;
}

.board-chip {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 730;
}

.board-chip.is-active {
  background: var(--ink);
  color: #fff;
}

.board-cta {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #f2d8d9;
  border-radius: 8px;
  background: #fffafa;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 780;
}

.board-cta i {
  width: 15px;
  height: 15px;
}

.board-heading {
  align-items: flex-end;
}

.board-heading .eyebrow {
  margin-bottom: 4px;
}

.compact-action {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
}

.login-nudge {
  width: 100%;
  min-height: 44px;
  margin: -3px 0 14px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f7f7f7;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-size: 12px;
}

.login-nudge strong,
.login-nudge > span:last-child {
  color: var(--ink);
}

.login-nudge > span:last-child {
  font-weight: 760;
  white-space: nowrap;
}

.bluff-hero {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bluff-mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff1f2;
  color: var(--red);
}

.bluff-mark i {
  width: 18px;
  height: 18px;
}

.bluff-hero strong {
  font-size: 14px;
}

.bluff-hero p,
.bluff-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.bluff-list {
  border-top: 1px solid var(--line);
}

.bluff-row {
  min-height: 76px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bluff-row > div {
  min-width: 0;
}

.bluff-row strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
}

.proposal-status {
  color: var(--red);
  font-size: 11px;
  font-weight: 760;
}

.bluff-count {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.bluff-count small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.service-links {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
}

.service-links button {
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.dialog-lead {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.label-optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.consent-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--ink) !important;
  line-height: 1.35;
}

.consent-row input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--red);
}

.record-reward,
.account-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.record-reward > div,
.account-placeholder > div {
  min-width: 0;
  flex: 1;
}

.record-reward strong,
.account-placeholder strong {
  display: block;
  font-size: 14px;
}

.record-reward p,
.account-placeholder p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.record-reward button {
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
}

.account-placeholder > span {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 740;
  line-height: 1.35;
}

.record-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0 1px;
  color: var(--muted);
  font-size: 12px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.record-cell {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 3px;
  border-radius: 8px;
  background: var(--soft);
}

.record-cell strong {
  font-size: 20px;
  line-height: 1;
}

.record-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 12;
  max-width: min(360px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty {
  padding: 42px 0;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 720px) {
  body {
    background: #f5f5f5;
  }

  .app-shell {
    min-height: 100vh;
  }
}

@media (max-width: 360px) {
  .topbar,
  .content,
  .tabbar {
    padding-left: 14px;
    padding-right: 14px;
  }

  .case-title {
    font-size: 21px;
  }

  .section-kicker h2 {
    font-size: 22px;
  }

  .intro-line {
    font-size: 23px;
  }

  .reward-panel {
    grid-template-columns: 1fr;
  }

  .reward-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.intro-done .app-shell,
  .intro-screen[data-phase="brand"] .intro-bar span {
    animation: none;
  }

  .intro-screen,
  .intro-line,
  .intro-brand,
  .intro-bar {
    transition: none;
  }
}

@keyframes intro-load {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(145%);
  }
}

@keyframes app-reveal {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
