:root {
  --bg: #f6efe5;
  --surface: #fffaf3;
  --surface-soft: #f1e6d8;
  --text: #2e251c;
  --muted: #847361;
  --primary: #b98b54;
  --primary-dark: #7b5530;
  --border: rgba(86, 65, 42, 0.13);
  --shadow: 0 22px 70px rgba(80, 55, 30, 0.16);
  --radius-lg: 22px;
  --radius-xl: 32px;
  --danger-soft: #fff0ea;
  --success-soft: #edf5eb;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 252, 245, 0.9), transparent 34%),
    linear-gradient(145deg, #f7eee3 0%, #ece0d1 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
  padding: max(18px, env(safe-area-inset-top)) 14px max(22px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.app-frame {
  width: min(100%, 430px);
  min-height: calc(100vh - 36px);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(251, 244, 235, 0.98)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.app-scroll {
  min-height: 100%;
  padding: 18px 18px 104px;
}

.app-scroll.has-bottom-bar {
  padding-bottom: 132px;
}

.app-scroll.has-tabbar {
  padding-bottom: 226px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.brand-mark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c5985f, #7c5430);
  box-shadow: 0 10px 24px rgba(139, 92, 45, 0.26);
  position: relative;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: 9px 8px 7px;
  border: 2px solid rgba(255, 250, 239, 0.86);
  border-top: 0;
  transform: skewY(-8deg);
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(185, 139, 84, 0.12);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.hero {
  padding: 6px 2px 20px;
}

.eyebrow {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.upload-card,
.card,
.scheme-card,
.share-poster {
  background: rgba(255, 250, 243, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 34px rgba(80, 55, 30, 0.08);
}

.upload-card {
  padding: 14px;
  margin-bottom: 18px;
}

.upload-drop {
  position: relative;
  min-height: 196px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px dashed rgba(123, 85, 48, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.upload-drop:hover {
  transform: translateY(-1px);
  border-color: rgba(123, 85, 48, 0.5);
}

.upload-drop img {
  width: 100%;
  height: 196px;
  object-fit: cover;
}

.upload-overlay {
  position: absolute;
  inset: auto 12px 12px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.upload-overlay strong {
  display: block;
  font-size: 14px;
}

.upload-overlay span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field label,
.section-label {
  display: block;
  margin-bottom: 8px;
  color: #5e4b39;
  font-size: 13px;
  font-weight: 800;
}

.input,
.select {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.input:focus,
.select:focus {
  border-color: rgba(185, 139, 84, 0.7);
  box-shadow: 0 0 0 4px rgba(185, 139, 84, 0.13);
}

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

.chip {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: #5d4b39;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.chip:hover,
.mini-button:hover,
.ghost-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.chip.is-active {
  background: #382b20;
  color: #fff8ed;
  border-color: #382b20;
}

.primary-button,
.ghost-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
  font-weight: 900;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.primary-button {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  color: #fffaf2;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 15px 32px rgba(139, 92, 45, 0.25);
}

.primary-button:active,
.ghost-button:active,
.mini-button:active,
.chip:active {
  transform: scale(0.98);
}

.ghost-button {
  min-height: 48px;
  padding: 0 16px;
  color: var(--primary-dark);
  background: rgba(185, 139, 84, 0.12);
}

.mini-button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--primary-dark);
  background: #f4eadc;
  font-size: 12px;
}

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

.trust-item {
  padding: 12px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border);
}

.trust-item strong {
  display: block;
  font-size: 18px;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.section {
  margin: 22px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.card {
  padding: 16px;
}

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

.analysis-block {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
}

.analysis-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.analysis-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.generating-view {
  min-height: calc(100vh - 36px);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.generation-orb {
  width: 132px;
  height: 132px;
  margin: 0 auto 28px;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent),
    linear-gradient(135deg, #d8b482, #7a5330);
  box-shadow: 0 28px 70px rgba(134, 90, 47, 0.3);
  animation: breathe 2.4s ease-in-out infinite;
  position: relative;
}

.generation-orb::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 24px;
  border: 2px solid rgba(255, 250, 240, 0.76);
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(80, 55, 30, 0.1);
  overflow: hidden;
  margin: 24px 0 14px;
}

.progress-fill {
  height: 100%;
  width: var(--progress);
  border-radius: inherit;
  background: linear-gradient(90deg, #d8b482, #7b5530);
  transition: width 0.45s ease;
}

.stage-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.stage-item {
  padding: 13px 14px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8c8b2;
}

.stage-item.is-active {
  color: var(--text);
  background: #fffaf3;
}

.stage-item.is-active .stage-dot {
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(185, 139, 84, 0.14);
}

.stage-item.is-done .stage-dot {
  background: #6f8b5c;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.image-card figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.watermark::after {
  content: "AI Concept Preview";
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-18deg);
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(46, 37, 28, 0.26);
  backdrop-filter: blur(5px);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.scheme-card {
  padding: 16px;
  margin-bottom: 14px;
}

.scheme-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.scheme-head h3 {
  margin: 0;
  font-size: 20px;
}

.scheme-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.price-tag {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(185, 139, 84, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.room-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.room-grid .image-card img {
  height: 188px;
}

.meta-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.meta-list strong {
  color: var(--text);
}

.furniture-list {
  display: grid;
  gap: 10px;
}

.furniture-item {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

.furniture-item h3 {
  margin: 0;
  font-size: 15px;
}

.furniture-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.blurred {
  filter: blur(5px);
  user-select: none;
}

.bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 18px max(16px, env(safe-area-inset-bottom));
  background: rgba(255, 250, 243, 0.84);
  border-top: 1px solid rgba(86, 65, 42, 0.1);
  backdrop-filter: blur(22px);
}

.bottom-bar p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summary-strip {
  padding: 16px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 250, 243, 0.82)),
    rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
}

.summary-strip h1 {
  margin: 0;
  font-size: 24px;
}

.summary-strip p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.summary-metrics span {
  padding: 10px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary-dark);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.share-poster {
  padding: 16px;
  background: linear-gradient(180deg, #fffaf3 0%, #efe1ce 100%);
}

.poster-inner {
  min-height: 520px;
  padding: 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.86), rgba(246, 233, 217, 0.92)),
    #f4e6d4;
  border: 1px solid rgba(123, 85, 48, 0.14);
}

.poster-inner h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.poster-visual {
  height: 260px;
  margin: 18px 0;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.03)),
    url("./assets/placeholder-room-1.svg") center/cover;
  box-shadow: inset 0 -60px 90px rgba(68, 43, 22, 0.16);
}

.poster-points {
  display: grid;
  gap: 10px;
}

.poster-points span {
  padding: 12px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.58);
  color: #6d5438;
  font-size: 13px;
  font-weight: 800;
}

.disclaimer {
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 20px;
  color: #756450;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.55;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 20px;
  display: flex;
  align-items: end;
  justify-content: center;
  background: rgba(46, 37, 28, 0.36);
  backdrop-filter: blur(10px);
}

.modal {
  width: min(100%, 430px);
  padding: 18px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(38, 26, 14, 0.32);
  animation: modalIn 0.22s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal h2 {
  margin: 0;
  font-size: 23px;
}

.modal p {
  color: var(--muted);
  line-height: 1.55;
}

.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.toast-root {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 30;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 390px);
  pointer-events: none;
}

.toast {
  padding: 13px 15px;
  border-radius: 18px;
  color: #fffaf2;
  background: rgba(46, 37, 28, 0.92);
  box-shadow: 0 18px 40px rgba(46, 37, 28, 0.24);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  animation: toastIn 0.22s ease-out;
}

.tab-shell {
  min-height: 100%;
}

.tabbar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 12;
  height: 68px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border: 1px solid rgba(86, 65, 42, 0.1);
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.88);
  box-shadow: 0 18px 46px rgba(80, 55, 30, 0.16);
  backdrop-filter: blur(24px);
}

.tabbar-item {
  border-radius: 20px;
  color: var(--muted);
  background: transparent;
  display: grid;
  place-items: center;
  gap: 1px;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.tabbar-item span {
  font-size: 18px;
  line-height: 1;
}

.tabbar-item strong {
  font-size: 11px;
}

.tabbar-item.is-active {
  color: #fffaf2;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.tabbar-item:active {
  transform: scale(0.97);
}

.stacked-bar {
  bottom: 88px;
}

.version-card,
.revision-panel,
.profile-card,
.project-item,
.case-card {
  background: rgba(255, 250, 243, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 34px rgba(80, 55, 30, 0.08);
}

.version-card {
  padding: 14px;
  margin-bottom: 14px;
}

.version-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.version-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.version-pills,
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 2px;
  scrollbar-width: none;
}

.version-pills::-webkit-scrollbar,
.filter-row::-webkit-scrollbar {
  display: none;
}

.version-pill,
.filter-pill,
.revision-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #6d5840;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.version-pill.is-active,
.filter-pill.is-active,
.revision-chip.is-active {
  color: #fffaf2;
  background: #382b20;
  border-color: #382b20;
}

.version-pill:active,
.filter-pill:active,
.revision-chip:active {
  transform: scale(0.97);
}

.revision-panel {
  padding: 16px;
}

.revision-note {
  margin: -2px 0 14px;
  color: var(--primary-dark);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
}

.revision-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 12px;
}

.revision-input {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  margin-bottom: 12px;
  padding: 14px 15px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  outline: none;
  line-height: 1.55;
}

.revision-input:focus {
  border-color: rgba(185, 139, 84, 0.7);
  box-shadow: 0 0 0 4px rgba(185, 139, 84, 0.13);
}

.compact-hero {
  padding-bottom: 12px;
}

.compact-hero h1 {
  font-size: 32px;
}

.filter-row {
  margin: -4px 0 14px;
}

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

.case-card {
  overflow: hidden;
  border-radius: 26px;
}

.case-cover {
  height: 142px;
  position: relative;
  overflow: hidden;
  background: #eee1d0;
}

.case-cover::before,
.case-cover::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.case-cover::before {
  width: 130px;
  height: 78px;
  left: 18px;
  bottom: 22px;
}

.case-cover::after {
  width: 68px;
  height: 104px;
  right: 16px;
  top: 22px;
}

.case-cover span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 7px 9px;
  border-radius: 999px;
  color: #fffaf2;
  background: rgba(46, 37, 28, 0.38);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 900;
}

.case-cover-cream {
  background: linear-gradient(135deg, #fff2df, #caa77d);
}

.case-cover-modern {
  background: linear-gradient(135deg, #ede8df, #7c756c);
}

.case-cover-wood {
  background: linear-gradient(135deg, #f7eedf, #b68b5d);
}

.case-cover-french {
  background: linear-gradient(135deg, #fff0eb, #b77f61);
}

.case-cover-warm {
  background: linear-gradient(135deg, #f5eadf, #8e735b);
}

.case-body {
  padding: 12px;
}

.case-body h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.case-body p {
  min-height: 58px;
  margin: 9px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.case-tags span {
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(185, 139, 84, 0.12);
  font-size: 10px;
  font-weight: 900;
}

.case-card .ghost-button {
  width: 100%;
  min-height: 40px;
  border-radius: 15px;
  font-size: 12px;
}

.profile-card {
  padding: 18px;
}

.profile-card h1 {
  margin: 14px 0 6px;
  font-size: 28px;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.project-list {
  display: grid;
  gap: 10px;
}

.project-item {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-item h3 {
  margin: 0;
  font-size: 15px;
}

.project-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

@media (min-width: 760px) {
  .page-shell {
    align-items: center;
    padding: 28px;
  }

  .app-frame {
    min-height: min(900px, calc(100vh - 56px));
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }

  .bottom-bar {
    position: sticky;
  }

  .stacked-bar {
    bottom: 88px;
  }
}

@media (max-width: 380px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}
