@charset "UTF-8";
/* 《开局一颗电感：射频IC逆袭记》Virtuoso 黑金晶圆 × 史密斯圆图荧光视觉系统 */
:root {
  --bg-wafer: #060b14;
  --bg-card: rgba(13, 22, 38, 0.93);
  --bg-card-soft: rgba(19, 32, 54, 0.86);
  --gold: #ffd166;
  --gold-bright: #ffea85;
  --smith-green: #00f5d4;
  --lvs-emerald: #06d6a0;
  --drc-red: #ff3b5c;
  --rf-blue: #4cc9f0;
  --rf-amber: #ff9f1c;
  --text-main: #f0f6fc;
  --text-muted: #94a8c4;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 8%, #102542 0%, #060b14 65%, #03060b 100%);
  color: var(--text-main);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "JetBrains Mono", system-ui, sans-serif;
  overflow-x: hidden;
  user-select: none;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 475px;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(10, 19, 34, 0.93) 0%, rgba(6, 11, 20, 0.98) 100%);
  box-shadow: 0 0 60px rgba(0, 245, 212, 0.12), 0 0 1px 1px rgba(76, 201, 240, 0.25);
  padding-bottom: env(safe-area-inset-bottom, 16px);
}

@media (min-width: 520px) {
  body {
    padding: 14px 0;
  }
  #app-shell {
    min-height: calc(100dvh - 28px);
    border-radius: 28px;
    border: 1px solid rgba(0, 245, 212, 0.28);
    overflow: hidden;
  }
}

/* 顶部状态工具栏 */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
  border-bottom: 1px solid rgba(76, 201, 240, 0.12);
  background: rgba(6, 11, 20, 0.8);
  backdrop-filter: blur(10px);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--smith-green);
  letter-spacing: 0.5px;
}

.brand-mini .pll-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lvs-emerald);
  box-shadow: 0 0 10px var(--lvs-emerald);
  animation: pulseLock 1.6s infinite alternate;
}

@keyframes pulseLock {
  from { transform: scale(0.85); opacity: 0.65; }
  to { transform: scale(1.25); opacity: 1; }
}

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

.icon-pill {
  background: rgba(76, 201, 240, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.25);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.icon-pill:hover {
  background: rgba(0, 245, 212, 0.18);
  border-color: var(--smith-green);
}

.icon-pill:active {
  transform: scale(0.94);
}

.screen {
  display: none;
  flex: 1;
  flex-direction: column;
  padding: 14px 16px 20px;
  animation: fadeSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.screen.active {
  display: flex;
}

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

/* ================= 开局选型页 ================= */
.hero-signboard {
  position: relative;
  text-align: center;
  padding: 18px 14px 15px;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 245, 212, 0.2), transparent 68%),
    linear-gradient(145deg, #10213a 0%, #091322 100%);
  border: 1.5px solid rgba(255, 209, 102, 0.48);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 24px rgba(0, 245, 212, 0.1);
}

.hero-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00b4d8, #06d6a0);
  color: #04121c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  box-shadow: 0 3px 12px rgba(6, 214, 160, 0.35);
}

.hero-title {
  font-size: 31px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1.5px;
  background: linear-gradient(180deg, #fffdf0 0%, #ffd166 55%, #ff9f1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(255, 209, 102, 0.32));
}

.hero-sub {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--smith-green);
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(0, 245, 212, 0.4);
}

.hero-record {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed rgba(148, 168, 196, 0.22);
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-record strong {
  color: var(--gold);
}

.section-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  margin: 7px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.role-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-card-soft);
  border: 1.5px solid rgba(148, 168, 196, 0.14);
  cursor: pointer;
  transition: all 0.18s ease;
}

.role-card:hover {
  border-color: rgba(0, 245, 212, 0.45);
}

.role-card.selected {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(255, 209, 102, 0.13));
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.2);
}

.role-avatar {
  font-size: 29px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 209, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.role-info {
  flex: 1;
  min-width: 0;
}

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

.role-name {
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}

.role-cash-pill {
  font-size: 11px;
  font-weight: 800;
  color: #091322;
  background: var(--gold);
  padding: 1px 7px;
  border-radius: 99px;
}

.role-perk {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.38;
}

.stall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.stall-card {
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-card-soft);
  border: 1.5px solid rgba(148, 168, 196, 0.14);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stall-card.selected {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.18), rgba(76, 201, 240, 0.15));
  border-color: var(--smith-green);
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.22);
}

.stall-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13px;
}

.stall-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.btn-primary-cta {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(95deg, #ffd166 0%, #06d6a0 55%, #00b4d8 100%);
  color: #05131d;
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(6, 214, 160, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-top: auto;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 214, 160, 0.52);
}

.btn-primary-cta:active {
  transform: scale(0.97);
}

/* ================= 游戏主界面 HUD ================= */
.hud-panel {
  background: rgba(11, 20, 35, 0.95);
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: 16px;
  padding: 10px 12px;
  margin-bottom: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hud-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.day-badge {
  font-size: 12.5px;
  font-weight: 900;
  color: #04131c;
  background: linear-gradient(90deg, var(--smith-green), var(--rf-blue));
  padding: 3px 10px;
  border-radius: 99px;
}

.rent-warn {
  font-size: 11.5px;
  color: var(--gold);
  font-weight: 700;
}

.cash-banner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.42);
  margin-bottom: 8px;
  border: 1px solid rgba(255, 209, 102, 0.22);
}

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

.cash-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(255, 209, 102, 0.35);
  transition: transform 0.2s ease, color 0.2s ease;
}

.cash-value.bump-up {
  transform: scale(1.13);
  color: var(--smith-green);
}

.cash-value.bump-down {
  transform: scale(1.1);
  color: var(--drc-red);
}

.stats-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.mini-stat-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fill-spec { background: linear-gradient(90deg, #4cc9f0, #ffd166); }
.fill-sanity { background: linear-gradient(90deg, #06d6a0, #00f5d4); }
.fill-risk { background: linear-gradient(90deg, #ff9f1c, #ff3b5c); }

.danger-pulse {
  animation: dangerFlash 0.75s infinite alternate;
}

@keyframes dangerFlash {
  from { box-shadow: 0 0 0 rgba(255, 59, 92, 0); border-color: rgba(255, 59, 92, 0.35); }
  to { box-shadow: 0 0 14px rgba(255, 59, 92, 0.75); border-color: #ff3b5c; }
}

/* ================= 实验室/产线舞台 ================= */
.market-stage {
  position: relative;
  border-radius: 18px;
  padding: 12px 13px;
  margin-bottom: 11px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 245, 212, 0.3);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 209, 102, 0.16), transparent 52%),
    radial-gradient(circle at 15% 80%, rgba(0, 245, 212, 0.14), transparent 55%),
    linear-gradient(180deg, #102038 0%, #091322 100%);
}

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.stage-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 209, 102, 0.16);
  border: 1px solid rgba(255, 209, 102, 0.48);
  color: var(--gold-bright);
}

.stage-income-tag {
  font-size: 11.5px;
  color: var(--smith-green);
  font-weight: 800;
}

.stage-diorama {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  gap: 10px;
}

.diorama-art {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.stall-big-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.22), rgba(255, 209, 102, 0.2));
  border: 1.5px solid rgba(255, 209, 102, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 29px;
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.24);
  animation: floatChip 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.diorama-text {
  min-width: 0;
}

.diorama-sign {
  font-size: 14.5px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.diorama-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.buff-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.buff-chip {
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(6, 214, 160, 0.16);
  border: 1px solid rgba(6, 214, 160, 0.45);
  color: var(--smith-green);
  font-weight: 700;
}

.btn-sizzle {
  flex-shrink: 0;
  padding: 9px 11px;
  border-radius: 13px;
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, #00b4d8 0%, #0077b6 100%);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.42);
  transition: transform 0.1s ease;
  text-align: center;
  line-height: 1.25;
}

.btn-sizzle:active {
  transform: scale(0.9) rotate(-2deg);
}

.btn-sizzle.exhausted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  box-shadow: none;
}

/* ================= 剧情与抉择主卡片 ================= */
.story-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1.5px solid rgba(76, 201, 240, 0.25);
  border-radius: var(--radius-lg);
  padding: 15px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
  animation: cardPop 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.npc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.npc-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.npc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 245, 212, 0.14);
  border: 1.5px solid rgba(0, 245, 212, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.npc-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

.event-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(76, 201, 240, 0.16);
  border: 1px solid rgba(76, 201, 240, 0.45);
  color: var(--rf-blue);
}

.event-title {
  font-size: 17.5px;
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 9px;
}

.event-scene {
  font-size: 13.8px;
  line-height: 1.65;
  color: #dce8f7;
  background: rgba(0, 0, 0, 0.34);
  padding: 12px 13px;
  border-radius: 13px;
  border-left: 3px solid var(--smith-green);
  margin-bottom: 12px;
}

.clue-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.btn-clue {
  background: linear-gradient(90deg, rgba(0, 245, 212, 0.15), rgba(255, 209, 102, 0.16));
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-clue:hover {
  background: rgba(255, 209, 102, 0.25);
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}

.choice-btn {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 38, 66, 0.96), rgba(14, 24, 44, 0.96));
  border: 1.5px solid rgba(76, 201, 240, 0.28);
  color: #fff;
  font-size: 13.8px;
  font-weight: 700;
  line-height: 1.44;
  cursor: pointer;
  transition: all 0.16s ease;
}

.choice-btn:hover {
  border-color: var(--smith-green);
  background: linear-gradient(135deg, rgba(28, 52, 88, 0.98), rgba(18, 34, 60, 0.98));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.choice-btn:active {
  transform: scale(0.98);
}

.choice-clue-text {
  display: block;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed rgba(255, 209, 102, 0.35);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-bright);
}

.outcome-headline {
  font-size: 18.5px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.32;
}

.outcome-headline.good { color: var(--smith-green); }
.outcome-headline.bad { color: var(--drc-red); }

.delta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 16px;
}

.delta-chip {
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
}

.delta-pos {
  background: rgba(6, 214, 160, 0.18);
  border: 1px solid rgba(6, 214, 160, 0.5);
  color: var(--smith-green);
}

.delta-neg {
  background: rgba(255, 59, 92, 0.18);
  border: 1px solid rgba(255, 59, 92, 0.5);
  color: #ff8fa3;
}

/* ================= 夜间实验室整备与融资跃迁 ================= */
.upgrade-box {
  padding: 12px 13px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(0, 245, 212, 0.14));
  border: 1.5px solid rgba(255, 209, 102, 0.55);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.upgrade-info h4 {
  font-size: 14px;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

.upgrade-info p {
  font-size: 11.5px;
  color: var(--text-muted);
}

.btn-upgrade {
  flex-shrink: 0;
  padding: 9px 13px;
  border-radius: 12px;
  border: none;
  font-weight: 900;
  font-size: 12.5px;
  cursor: pointer;
  background: var(--gold);
  color: #0b1320;
  box-shadow: 0 4px 14px rgba(255, 209, 102, 0.38);
}

.btn-upgrade:disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.38);
  box-shadow: none;
  cursor: not-allowed;
}

.night-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.night-action-btn {
  text-align: left;
  padding: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 168, 196, 0.18);
  color: #fff;
  cursor: pointer;
  transition: all 0.16s ease;
}

.night-action-btn:hover:not(:disabled) {
  border-color: var(--smith-green);
  background: rgba(0, 245, 212, 0.1);
}

.night-action-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.na-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
  gap: 4px;
}

.na-cost {
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
}

.na-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ================= 飘字特效 ================= */
.float-toast {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  font-weight: 900;
  font-size: 16.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  animation: floatUpFade 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatUpFade {
  0% { opacity: 1; transform: translate(-50%, 0) scale(0.82); }
  25% { transform: translate(-50%, -18px) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -58px) scale(0.95); }
}

/* ================= 模态弹窗通用 ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 6, 12, 0.85);
  backdrop-filter: blur(7px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 425px;
  max-height: 90dvh;
  overflow-y: auto;
  background: linear-gradient(180deg, #13233d 0%, #091220 100%);
  border: 2px solid rgba(0, 245, 212, 0.45);
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  animation: cardPop 0.25s ease;
}

/* ================= Tape-out 人生结案战报单 ================= */
.receipt-paper {
  background: #f8fafd;
  color: #0d1829;
  border-radius: 14px;
  padding: 18px 16px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  margin-bottom: 14px;
  border-top: 6px solid #00b4d8;
  border-bottom: 6px solid #ffd166;
}

.receipt-stamp {
  display: inline-block;
  padding: 2px 10px;
  border: 2px solid #d90429;
  color: #d90429;
  font-weight: 900;
  font-size: 12px;
  border-radius: 6px;
  transform: rotate(-2deg);
  margin-bottom: 6px;
}

.receipt-title {
  font-size: 20.5px;
  font-weight: 900;
  color: #091322;
  line-height: 1.25;
}

.receipt-summary {
  font-size: 13px;
  color: #3a4b63;
  margin: 8px 0 12px;
  line-height: 1.5;
}

.receipt-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #eaf1f8;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.rm-item span {
  display: block;
  font-size: 11px;
  color: #5c708c;
}

.rm-item strong {
  font-size: 16px;
  font-weight: 900;
  color: #0077b6;
}

.receipt-logs {
  border-top: 1px dashed #b8c7db;
  padding-top: 10px;
  font-size: 12px;
  color: #2c3b52;
}

.receipt-logs li {
  list-style: none;
  margin-bottom: 5px;
  line-height: 1.4;
}

.share-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-secondary {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--smith-green);
  background: rgba(0, 245, 212, 0.12);
  color: var(--smith-green);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0 16px;
}

.gallery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 168, 196, 0.15);
}

.gallery-item.unlocked {
  border-color: rgba(0, 245, 212, 0.5);
  background: rgba(0, 245, 212, 0.1);
}

.gallery-item.locked {
  opacity: 0.48;
}
