/* b0r3d city 95 - Style & UI System */
:root {
  --win-bg: #c0c0c0;
  --win-border-light: #ffffff;
  --win-border-dark: #808080;
  --win-border-black: #000000;
  --win-title: #000080;
  --win-title-inactive: #808080;
  --win-text: #000000;
  --font-retro: "MS Sans Serif", Tahoma, "Segoe UI", Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
  
  --res-color: #27ae60;
  --com-color: #2980b9;
  --srv-color: #f39c12;
  --gold: #f1c40f;
  --floppy-color: #8e44ad;
}

* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #1a1e24;
  font-family: var(--font-retro);
  font-size: 13px;
  color: var(--win-text);
}

/* 3D WebGL Canvas Layer */
#city-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
}

#city-canvas-container:active {
  cursor: grabbing;
}

canvas#city-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* UI Overlay Layer */
#ui-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.interactive {
  pointer-events: auto;
}

/* Win95 Window Primitives */
.win95-box {
  background: var(--win-bg);
  border-top: 2px solid var(--win-border-light);
  border-left: 2px solid var(--win-border-light);
  border-right: 2px solid var(--win-border-black);
  border-bottom: 2px solid var(--win-border-black);
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--win-border-dark);
}

.win95-inset {
  border-top: 2px solid var(--win-border-dark);
  border-left: 2px solid var(--win-border-dark);
  border-right: 2px solid var(--win-border-light);
  border-bottom: 2px solid var(--win-border-light);
  background: #ffffff;
  color: #000000;
}

.win95-btn {
  background: var(--win-bg);
  border-top: 2px solid var(--win-border-light);
  border-left: 2px solid var(--win-border-light);
  border-right: 2px solid var(--win-border-black);
  border-bottom: 2px solid var(--win-border-black);
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 var(--win-border-dark);
  padding: 4px 10px;
  font-family: var(--font-retro);
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  color: #000;
}

.win95-btn:active {
  border-top: 2px solid var(--win-border-black);
  border-left: 2px solid var(--win-border-black);
  border-right: 2px solid var(--win-border-light);
  border-bottom: 2px solid var(--win-border-light);
  box-shadow: none;
  padding: 5px 9px 3px 11px;
}

.win95-btn:disabled {
  color: var(--win-border-dark);
  text-shadow: 1px 1px 0 #fff;
  cursor: not-allowed;
}

.win95-titlebar {
  background: linear-gradient(90deg, var(--win-title), #1084d0);
  color: #ffffff;
  font-weight: bold;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.win95-close-btn {
  background: var(--win-bg);
  color: #000;
  border-top: 1px solid var(--win-border-light);
  border-left: 1px solid var(--win-border-light);
  border-right: 1px solid var(--win-border-black);
  border-bottom: 1px solid var(--win-border-black);
  width: 16px;
  height: 14px;
  font-size: 10px;
  line-height: 10px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TOP STATUS BAR */
#top-bar {
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 20;
}

.city-identity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.city-name-badge {
  font-weight: bold;
  font-size: 14px;
  color: #000080;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stats-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: bold;
}

.stat-pill.money {
  color: #1e824c;
  background: #f4fbf7;
}

.stat-pill.rate {
  color: #27ae60;
  font-size: 11px;
}

.stat-pill.pop {
  color: #2c3e50;
  background: #f0f3f4;
}

.stat-pill.floppy {
  color: #8e44ad;
  background: #faf4fb;
}

/* DEMAND METER */
.demand-container {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: bold;
}

.demand-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  width: 50px;
  background: #e0e0e0;
  padding: 1px 2px;
  border: 1px solid #808080;
}

.demand-bar {
  width: 14px;
  transition: height 0.3s ease;
  min-height: 2px;
}

.demand-bar.res { background: var(--res-color); }
.demand-bar.com { background: var(--com-color); }
.demand-bar.srv { background: var(--srv-color); }

.harmony-tag {
  color: #27ae60;
  font-size: 10px;
  font-weight: bold;
}

/* QUICK ACTION TOOLBAR (BOTTOM) */
#bottom-bar {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 20;
}

.bottom-left, .bottom-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.turbo-btn {
  background: linear-gradient(180deg, #ff4757, #ee5253);
  color: #ffffff;
  border-top: 2px solid #ff6b81;
  border-left: 2px solid #ff6b81;
  border-right: 2px solid #b33939;
  border-bottom: 2px solid #b33939;
  text-shadow: 1px 1px 0 #7f1d1d;
  font-size: 13px;
  padding: 6px 14px;
  animation: pulse-turbo 2s infinite;
}

@keyframes pulse-turbo {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 71, 87, 0.4); }
  50% { box-shadow: 0 0 14px rgba(255, 71, 87, 0.8); }
}

.turbo-btn.active {
  background: linear-gradient(180deg, #2ed573, #26af61);
  border-color: #7bed9f #7bed9f #1e824c #1e824c;
  animation: none;
}

/* FLOATING PLOT INSPECTOR MODAL */
#plot-modal {
  position: absolute;
  top: 70px;
  right: 20px;
  width: 320px;
  z-index: 50;
  display: none;
}

.modal-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #808080;
  padding-bottom: 6px;
}

.plot-type-badge {
  padding: 2px 6px;
  font-weight: bold;
  font-size: 11px;
  border-radius: 2px;
}

.plot-type-badge.res { background: #d4efdf; color: #196f3d; border: 1px solid #196f3d; }
.plot-type-badge.com { background: #d6eaf8; color: #1b4f72; border: 1px solid #1b4f72; }
.plot-type-badge.srv { background: #fef9e7; color: #b7950b; border: 1px solid #b7950b; }
.plot-type-badge.empty { background: #eaecee; color: #566573; border: 1px solid #566573; }

.zone-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}

.zone-btn {
  padding: 8px 4px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.zone-btn:hover {
  transform: translateY(-1px);
}

.zone-btn.res { border-color: #27ae60; background: #eafaf1; }
.zone-btn.com { border-color: #2980b9; background: #ebf5fb; }
.zone-btn.srv { border-color: #f39c12; background: #fefde8; }

.plot-stats-box {
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.6;
}

.next-tier-preview {
  padding: 6px 8px;
  font-size: 11px;
  background: #fbfbfb;
  border: 1px dashed #7f8c8d;
  color: #2c3e50;
}

.action-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

/* FLOATING REWARD TEXT ANIMATION */
.floating-reward {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-retro);
  font-weight: bold;
  font-size: 14px;
  color: #f1c40f;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  z-index: 100;
  animation: floatUp 1s ease-out forwards;
}

@keyframes floatUp {
  0% { transform: translate(-50%, 0) scale(0.8); opacity: 0; }
  20% { transform: translate(-50%, -10px) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -45px) scale(1); opacity: 0; }
}

/* CAMERA CONTROLS ON-SCREEN HINT / WIDGET */
#camera-hint {
  position: absolute;
  bottom: 60px;
  right: 20px;
  padding: 4px 8px;
  font-size: 10px;
  color: #555;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  border: 1px solid #808080;
}

/* RETRO WATERMARK BUILD TAG (b0r3d 95 & b0r3d-city style) */
#desktop-build {
  position: absolute;
  top: 48px;
  right: 14px;
  z-index: 20;
  text-align: right;
  font-family: var(--font-retro);
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8), -1px -1px 0 rgba(0, 0, 0, 0.8), 1px -1px 0 rgba(0, 0, 0, 0.8), -1px 1px 0 rgba(0, 0, 0, 0.8);
  pointer-events: none;
  user-select: none;
}

#desktop-build .build-app-name {
  font-weight: bold;
  letter-spacing: 0.5px;
}

#desktop-build .build-version-str {
  font-size: 10px;
  color: #f1c40f;
  font-family: var(--font-mono);
}

.build-badge {
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  background: #dfe4ea;
  color: #2f3542;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* WIN95 "WELCOME BACK" OFFLINE MODAL */
#welcome-back-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  z-index: 90;
  display: none;
}

.welcome-content {
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.welcome-icon {
  font-size: 32px;
}

.welcome-money {
  font-size: 20px;
  font-weight: bold;
  color: #1e824c;
}

/* FLEET DEPOT MODAL (Garage, Marina, Airport) */
#fleet-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  max-width: 95vw;
  z-index: 80;
  display: none;
}

.fleet-hub-header {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--win-border-dark);
  background: #f4f5f7;
}

.fleet-hub-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fleet-hub-title {
  font-size: 13px;
  font-weight: bold;
  color: #000080;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fleet-cap-bar-container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.fleet-cap-progress {
  width: 100px;
  height: 12px;
  background: #e0e0e0;
  border: 1px solid #808080;
  overflow: hidden;
}

.fleet-cap-fill {
  height: 100%;
  background: #27ae60;
  width: 0%;
  transition: width 0.3s ease;
}

.fleet-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
  max-height: 380px;
  overflow-y: auto;
}

.fleet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  gap: 10px;
  background: #ffffff;
}

.fleet-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fleet-card-icon {
  font-size: 24px;
  width: 32px;
  text-align: center;
}

.fleet-card-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fleet-card-name {
  font-weight: bold;
  font-size: 12px;
  color: #2c3e50;
}

.fleet-card-rate {
  font-size: 11px;
  color: #27ae60;
  font-weight: bold;
}

.fleet-card-count {
  font-size: 10px;
  color: #7f8c8d;
}

.hub-btn {
  background: #eaf2f8;
  font-size: 11px;
}

/* BANK VAULT MODAL */
#vault-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  max-width: 95vw;
  z-index: 85;
  display: none;
}

.vault-status-box {
  padding: 10px;
  margin-bottom: 8px;
  background: #fbfcfc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vault-tier-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #dcdde1;
  padding-bottom: 6px;
}

.vault-tier-icon {
  font-size: 28px;
}

.vault-tier-title {
  font-weight: bold;
  font-size: 14px;
  color: #000080;
}

.vault-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 11px;
  margin-top: 4px;
}

.vault-stat-item {
  display: flex;
  flex-direction: column;
  background: #f1f2f6;
  padding: 4px 6px;
  border: 1px solid #ced6e0;
}

.vault-stat-val {
  font-weight: bold;
  font-size: 12px;
  color: #27ae60;
}

.vault-upgrade-box {
  background: #ffffff;
  border: 1px solid var(--win-border-dark);
  padding: 8px 10px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vault-upgrade-title {
  font-weight: bold;
  font-size: 12px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vault-upgrade-desc {
  font-size: 11px;
  color: #576574;
}

.vault-dividend-box {
  padding: 8px 10px;
  background: #fdfefe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* LEGENDARY MONUMENTS MODAL */
#monuments-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  max-width: 95vw;
  z-index: 85;
  display: none;
}

.monuments-header {
  padding: 6px 10px;
  font-size: 11px;
  background: #ecf0f1;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: bold;
}

.monuments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
}

.monument-card {
  padding: 8px 10px;
  background: #ffffff;
  border: 2px solid var(--win-border-dark);
  display: flex;
  gap: 10px;
  align-items: center;
}

.monument-card.unlocked {
  border: 2px solid #27ae60;
  background: #f4fbf7;
}

.monument-card-icon {
  font-size: 32px;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.monument-card-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.monument-name {
  font-weight: bold;
  font-size: 12px;
  color: #000080;
  display: flex;
  align-items: center;
  gap: 6px;
}

.monument-badge {
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: bold;
}

.badge-active {
  background: #27ae60;
  color: #fff;
}

.badge-locked {
  background: #7f8c8d;
  color: #fff;
}

.monument-desc {
  font-size: 10px;
  color: #555;
  line-height: 1.3;
}

.monument-bonus {
  font-size: 11px;
  font-weight: bold;
  color: #d35400;
  margin-top: 2px;
}

.monument-lore {
  font-size: 9px;
  color: #7f8c8d;
  font-style: italic;
}

.monument-actions {
  flex-shrink: 0;
}

/* BREAKDOWN ROWS FOR OFFLINE STATEMENT */
.offline-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
  text-align: left;
  font-size: 11px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 6px;
  background: #f8f9fa;
  border: 1px solid #ecf0f1;
}

.breakdown-row.total {
  font-weight: bold;
  font-size: 12px;
  background: #e8f8f5;
  border-color: #a3e4d7;
  color: #16a085;
}

/* Inside the b0r3d 95 window (index.html sets .framed): no lab links. */
.framed .lab-only { display: none !important; }

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 768px) {
  #top-bar {
    padding: 4px 8px;
    gap: 6px;
  }
  .city-name-badge { font-size: 12px; }
  .stat-pill { font-size: 10px; padding: 2px 5px; }
  #bottom-bar {
    padding: 6px 8px;
    gap: 4px;
  }
  .win95-btn { font-size: 11px; padding: 3px 6px; }
  #plot-modal, #vault-modal, #monuments-modal {
    top: auto;
    bottom: 60px;
    right: 10px;
    left: 10px;
    width: auto;
    transform: none;
  }
  #bounties-modal, #ledger-modal {
    top: auto;
    bottom: 60px;
    right: 10px;
    left: 10px;
    width: auto;
    transform: none;
  }
  #camera-hint { display: none; }
  /* Eleven buttons don't fit a phone: the row scrolls sideways instead of
     running off the edge. */
  .bottom-left {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bottom-left > * { flex: 0 0 auto; }
  /* The HUD wraps under the watermark at this width (a phone, or the
     b0r3d 95 window); the header badge already shows the build. */
  #desktop-build { display: none; }
}

/* ===================================================================
 * v0.2.00 ENHANCEMENT SUITE STYLING
 * =================================================================== */

/* WEATHER CYCLE PILL */
#weather-pill {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  padding: 3px 8px;
}

#weather-pill:active {
  transform: translate(1px, 1px);
}

/* RETRO SYNTHESIZED RADIO TUNER */
.radio-tuner {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  background: #ffffff;
  font-size: 11px;
}

.radio-btn {
  padding: 1px 5px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.radio-track-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #000080;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  padding-left: 2px;
}

/* CAMERA ORBIT BUTTONS */
.camera-btn {
  font-weight: bold;
  padding: 4px 8px;
  letter-spacing: 0.5px;
}

/* AGENT Ø MISSIONS & BOUNTIES MODAL */
#bounties-modal {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 530px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 100px);
  z-index: 100;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.45);
}

.bounties-header {
  padding: 6px 10px;
  font-size: 11px;
  margin-bottom: 8px;
  background: #f1f2f6;
  color: #2f3542;
  border-left: 3px solid #000080;
}

.bounties-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding: 2px;
}

.bounty-card {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #ffffff;
}

.bounty-card.bounty-completed {
  background: #f0fff4;
  border-left: 4px solid #2ed573;
}

.bounty-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bounty-title {
  font-weight: bold;
  font-size: 12px;
  color: #2c3e50;
}

.bounty-reward {
  font-size: 11px;
  font-weight: bold;
  color: #27ae60;
}

.bounty-agent-note {
  font-size: 11px;
  font-style: italic;
  color: #57606f;
  background: #f8f9fa;
  padding: 4px 8px;
  border-left: 2px solid #a4b0be;
}

.bounty-progress-wrap {
  width: 100%;
  height: 8px;
  background: #dcdde1;
  border: 1px solid #718093;
  overflow: hidden;
}

.bounty-progress-bar {
  height: 100%;
  background: #27ae60;
  transition: width 0.3s ease;
}

.bounty-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-top: 2px;
}

.bounty-target {
  color: #7f8c8d;
}

.bounty-badge-claimed {
  font-weight: bold;
  color: #27ae60;
  font-size: 11px;
}

.bounty-claim-btn {
  padding: 3px 8px;
  font-weight: bold;
}

/* MUNICIPAL TREASURY LEDGER MODAL */
#ledger-modal {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 100px);
  z-index: 100;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.45);
}

.ledger-header {
  padding: 6px 10px;
  font-size: 11px;
  margin-bottom: 8px;
  background: #f1f2f6;
  color: #2f3542;
  border-left: 3px solid #000080;
}

.ledger-body {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 6px;
  border-bottom: 1px dotted #dcdde1;
}

.ledger-sep {
  height: 1px;
  background: #b2bec3;
  margin: 4px 0;
}

/* CONFETTI FANFARE PARTICLES */
.city-confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 999;
  animation: city-confetti-drop 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes city-confetti-drop {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(220px) rotate(720deg) scale(0.6);
    opacity: 0;
  }
}

/* CITIZEN THOUGHT BUBBLE */
.citizen-thought-bubble {
  position: absolute;
  background: #ffffcc;
  border: 1px solid #2d3436;
  padding: 3px 8px;
  font-size: 11px;
  color: #2d3436;
  pointer-events: none;
  border-radius: 4px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  z-index: 200;
  animation: thought-bubble-pop 2.4s ease-out forwards;
}

@keyframes thought-bubble-pop {
  0% { transform: translate(-50%, 0) scale(0.8); opacity: 0; }
  15% { transform: translate(-50%, -10px) scale(1); opacity: 1; }
  80% { transform: translate(-50%, -16px) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -24px) scale(0.9); opacity: 0; }
}
