/* --- GLOBAL RESET & TYPOGRAPHY --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #0f172a;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

/* --- FIXED PORTRAIT PHONE FRAME --- */
#app-container {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  max-height: 860px;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 480px) {
  #app-container {
    height: 94vh;
    border-radius: 36px;
    border: 8px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }
}

#app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;
}

/* --- START SCREEN --- */
.start-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6px;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 40%, #fff7ed 100%);
  overflow-y: auto;
}

.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 8px;
}

.logo-badge {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border: 3px solid #fde68a;
  box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 8px;
}

.game-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.game-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  margin-top: 2px;
}

.recipe-card {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #fde68a;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-header {
  font-size: 11px;
  font-weight: 800;
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 4px;
}

.demo-compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 12px;
  padding: 8px;
}

.demo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.demo-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 4px;
}

.demo-box strong {
  font-size: 10px;
  color: #1e293b;
}

.demo-box small {
  font-size: 8px;
  color: #64748b;
}

.demo-arrow {
  font-size: 16px;
  font-weight: 900;
  color: #d97706;
  padding: 0 4px;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #475569;
  line-height: 1.35;
}

.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.high-score-banner {
  width: 100%;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  padding: 8px;
  border-radius: 12px;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px -2px rgba(234, 88, 12, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.1s ease;
}

.btn-primary:active {
  transform: scale(0.97);
  filter: brightness(0.92);
}

/* --- ACTIVE GAMEPLAY LAYOUT --- */
.game-layout {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

/* Top Header Bar */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.header-stat {
  display: flex;
  flex-direction: column;
}

.header-stat .label {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}

.val-coins {
  display: flex;
  align-items: center;
  gap: 4px;
}

.coin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coins-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.header-order-tag {
  background: #0f172a;
  color: #fbbf24;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: ping 1.2s infinite;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}

.btn-icon:active {
  transform: scale(0.92);
}

/* Timer & Purchased Ingredients Indicators */
.hud-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.timer-container {
  position: relative;
  width: 100%;
  height: 14px;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.timer-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.15s linear, background-color 0.3s ease;
}

.timer-fill.normal {
  background: #10b981;
}

.timer-fill.warning {
  background: #f59e0b;
}

.timer-fill.critical {
  background: #ef4444;
  animation: pulse 0.5s infinite;
}

.timer-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 8.5px;
  font-weight: 900;
  color: #0f172a;
  pointer-events: none;
}

.purchased-ing-pill {
  width: 100%;
  height: 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 8.5px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* --- SANDWICH PLATTER CARD --- */
.sandwich-card {
  width: 100%;
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 100%);
  border: 2px solid #fde68a;
  border-radius: 16px;
  padding: 8px 10px;
  box-shadow: 0 4px 10px -2px rgba(217, 119, 6, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.ticket-tag {
  background: #78350f;
  color: #fef3c7;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.ticket-tip {
  font-size: 9.5px;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 1px 6px;
  border-radius: 6px;
}

.sandwich-platter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 50%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 4px 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sandwich-platter.celebrating {
  transform: scale(1.02);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.5);
}

.sandwich-stack {
  position: relative;
  flex: 1;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stack-shadow {
  position: absolute;
  bottom: 4px;
  width: 150px;
  height: 18px;
  background: rgba(120, 53, 15, 0.15);
  border-radius: 50%;
  filter: blur(2px);
}

.sandwich-assembly {
  position: relative;
  width: 100%;
  max-width: 180px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.layer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer-top-bread {
  height: 38px;
  z-index: 50;
  margin-bottom: -15px;
}

.layer-topping {
  width: 88%;
  height: 22px;
  z-index: 40;
  margin-bottom: -9px;
}

.layer-secondary {
  width: 90%;
  height: 22px;
  z-index: 30;
  margin-bottom: -8px;
}

.layer-main {
  width: 92%;
  height: 26px;
  z-index: 20;
  margin-bottom: -8px;
}

.layer-lettuce {
  width: 94%;
  height: 22px;
  z-index: 15;
  margin-bottom: -8px;
}

.layer-bottom-bread {
  height: 32px;
  z-index: 10;
  transform: scaleY(-0.85);
  opacity: 0.95;
}

.platter-divider {
  width: 1px;
  height: 100px;
  background: linear-gradient(180deg, transparent, #fcd34d, transparent);
  margin: 0 4px;
}

.drink-stack {
  position: relative;
  width: 60px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coaster-shadow {
  position: absolute;
  bottom: 2px;
  width: 48px;
  height: 10px;
  background: rgba(120, 53, 15, 0.2);
  border-radius: 50%;
  filter: blur(1.5px);
}

.coaster {
  position: absolute;
  bottom: 5px;
  width: 46px;
  height: 10px;
  background: #fde68a;
  border: 1px solid #fcd34d;
  border-radius: 50%;
}

.drink-graphic {
  position: relative;
  z-index: 20;
  width: 44px;
  height: 85px;
}

/* --- TARGET SLOTS --- */
.slots-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.slot {
  position: relative;
  height: 50px;
  border-radius: 10px;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  transition: all 0.15s ease;
}

.slot.slot-hover {
  background: #fef3c7;
  border-color: #f59e0b;
  border-style: dashed;
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

.slot.slot-filled {
  background: #ecfdf5;
  border: 2px solid #10b981;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.15);
}

.slot-cat-num {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 9px;
  font-weight: 900;
  color: #64748b;
  background: rgba(241, 245, 249, 0.9);
  border-radius: 3px;
  padding: 0 3px;
  line-height: 1.2;
  z-index: 5;
  pointer-events: none;
}

.slot.slot-filled .slot-cat-num {
  color: #059669;
  background: rgba(209, 250, 229, 0.95);
}

.slot-hint-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  pointer-events: none !important;
  user-select: none;
}

.slot-hint-icon svg {
  width: 100%;
  height: 100%;
  pointer-events: none !important;
}

.slot-empty {
  cursor: default;
}

.slot-empty * {
  pointer-events: none !important;
}

.slot-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slot-icon svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.slot-check {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

/* --- INGREDIENT CHOICES GRID (5x4) --- */
.ingredient-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
  flex: 1;
  height: 100%;
  overflow: hidden;
  padding-bottom: 0;
}

.ingredient-tile {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 44px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  padding: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ingredient-tile:active {
  cursor: grabbing;
  transform: scale(0.95);
}

.ingredient-tile.placed {
  opacity: 0.3;
  background: #f1f5f9;
  cursor: not-allowed;
  transform: scale(0.96);
}

.tile-cat-num {
  position: absolute;
  top: 1.5px;
  left: 2.5px;
  font-size: 8px;
  font-weight: 900;
  color: #475569;
  background: rgba(241, 245, 249, 0.94);
  border-radius: 3px;
  padding: 0 2.5px;
  line-height: 1.2;
  z-index: 5;
  pointer-events: none;
}

/* Purchased Ingredient Card Styling (Highlight & Star Badge) */
.ingredient-tile.purchased-card {
  border-color: #f59e0b;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.25);
  background: #fffdfa;
}

.tile-star-badge {
  position: absolute;
  top: 1px;
  right: 2px;
  font-size: 16px;
  line-height: 1;
  color: #f59e0b;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 1px 1.5px rgba(217, 119, 6, 0.35));
}

.tile-icon {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tile-icon svg {
  width: 95%;
  height: 95%;
  max-width: 100%;
  max-height: 100%;
}

.tile-check-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: #10b981;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- DRAG AVATAR --- */
.drag-avatar {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.1);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #f59e0b;
  border-radius: 12px;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.avatar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon svg {
  width: 100%;
  height: 100%;
}

/* --- CELEBRATION POPUP --- */
.order-celebration {
  position: absolute;
  top: 65px;
  left: 12px;
  right: 12px;
  z-index: 90;
  background: #10b981;
  color: #ffffff;
  border: 2px solid #6ee7b7;
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

/* --- GAME OVER MODAL --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 2px solid #fde68a;
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #f59e0b;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-top: -38px;
  margin-bottom: 8px;
}

.modal-card h2 {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
}

.modal-sub {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.final-score-box {
  width: 100%;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-score-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #92400e;
  letter-spacing: 0.5px;
}

.final-score-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

.final-score-box small {
  font-size: 10px;
  font-weight: 700;
  color: #b45309;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  margin-bottom: 14px;
}

.stat-cell {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-cell.stat-cell-wide {
  grid-column: span 2;
}

.cell-label {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
}

.cell-val {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

/* --- PAUSE MODAL STYLING --- */
.pause-card {
  max-width: 320px;
  border-color: #cbd5e1;
}

.pause-badge {
  background: #3b82f6;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.pause-info-box {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.pause-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pause-stat-label {
  font-size: 8.5px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}

.pause-stat-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.pause-divider {
  width: 1px;
  height: 24px;
  background: #cbd5e1;
}

/* --- SVG HELPER STYLING --- */
.svg-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.svg-result {
  width: 100%;
  height: 100%;
  display: block;
}

.coin-svg {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.coin-icon .coin-svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.modal-badge .coin-svg {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

.final-score-num .coin-svg {
  width: 26px;
  height: 26px;
  vertical-align: -0.1em;
  margin-right: 4px;
}

.final-score-box small .coin-svg {
  width: 11px;
  height: 11px;
  vertical-align: -0.15em;
  margin-right: 2px;
}

.unlock-score-pill .coin-svg {
  width: 13px;
  height: 13px;
  vertical-align: -0.15em;
  margin-right: 2px;
}

.unlock-item-price .coin-svg {
  width: 12px;
  height: 12px;
  vertical-align: -0.15em;
  margin-right: 2px;
}

.pause-stat-val .coin-svg {
  width: 14px;
  height: 14px;
  vertical-align: -0.15em;
  margin-right: 2px;
}

/* --- ANIMATIONS --- */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

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

@keyframes ping {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 0.9; }
}

@keyframes popIn {
  0% { transform: scale(0.7); opacity: 0; }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

.anim-shake {
  animation: shake 0.35s ease-in-out;
}

.anim-pop {
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* --- UNLOCK / PURCHASE MODAL --- */
.unlock-card {
  max-width: 360px;
  max-height: 85vh;
  border-color: #fde68a;
}

.unlock-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #ffffff;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.unlock-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 12px;
}

.unlock-score-pill strong {
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.unlock-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-height: 44vh;
  overflow-y: auto;
  padding: 2px 2px 6px 2px;
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.unlock-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
  font-family: inherit;
}

.unlock-item-card:hover, .unlock-item-card:focus-visible {
  background: #fefce8;
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.unlock-item-card:active {
  transform: scale(0.98);
}

.unlock-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.unlock-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
}

.unlock-item-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.unlock-item-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unlock-item-category {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.unlock-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.unlock-item-price {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 900;
  color: #b45309;
}

.unlock-buy-tag {
  font-size: 9.5px;
  font-weight: 800;
  background: #16a34a;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.btn-skip {
  width: 100%;
  padding: 10px 16px;
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  margin-top: 4px;
}

.btn-skip:hover {
  background: #e2e8f0;
  color: #1e293b;
}

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