/* =========================================================
   DEPO SAVAŞLARI - NOIR MONOCHROME AUCTION ARENA
   Zero yellow, pure black/white/silver, animated raised hand & bubbles
   ========================================================= */

.auction-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1040px) {
  .auction-layout {
    grid-template-columns: 1fr;
  }
}

.arena-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Warehouse Stage */
.warehouse-stage {
  background: radial-gradient(circle at 50% 20%, #18181b 0%, #000000 90%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

.stage-spotlight-left {
  position: absolute;
  top: -60px;
  left: 20%;
  width: 180px;
  height: 380px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 80%);
  transform: rotate(20deg);
  pointer-events: none;
  filter: blur(28px);
}

.stage-spotlight-right {
  position: absolute;
  top: -60px;
  right: 20%;
  width: 180px;
  height: 380px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 80%);
  transform: rotate(-20deg);
  pointer-events: none;
  filter: blur(28px);
}

/* Minimalist Architectural Topbar with Floating Bid Terminal */
.arena-topbar-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(10, 10, 12, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 10;
  backdrop-filter: blur(14px);
  gap: 12px;
  flex-wrap: nowrap !important;
  height: 52px;
  min-height: 52px;
  overflow: hidden;
  box-sizing: border-box;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.topbar-room-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #a1a1aa;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-exit-minimal {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-exit-minimal:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--accent-rose);
  color: var(--accent-rose);
}

.phase-pill-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  min-width: 140px;
  flex-shrink: 0;
  white-space: nowrap !important;
}
.phase-pill-compact.waiting {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.phase-pill-compact.preview {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  animation: pulseWhite 1.5s infinite;
}
.phase-pill-compact.bidding {
  border-color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  animation: pulseRose 0.8s infinite;
}
.phase-pill-compact.ended {
  border-color: var(--accent-green);
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent-green);
}
.phase-timer-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 8px;
}

/* =========================================================
   THE INDUSTRIAL STORAGE BAY & ROLL-UP SHUTTER
   ========================================================= */

.garage-bay-wrap {
  position: relative;
  width: 100%;
  height: 310px;
  background: #020202;
  overflow: hidden;
  border-bottom: 2px solid #1c1c1f;
}

.garage-frame {
  position: absolute;
  inset: 0;
  border: 14px solid #121214;
  border-top: 20px solid #1a1a1d;
  pointer-events: none;
  z-index: 5;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.95);
}

.shutter-roller-casing {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(180deg, #27272a 0%, #121215 100%);
  border-bottom: 2px solid #000000;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unit-stencil {
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  opacity: 0.9;
}

.garage-interior {
  position: absolute;
  inset: 14px;
  background: 
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 65%),
    radial-gradient(circle at 50% 60%, #222228 0%, #131317 65%, #09090b 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75);
  z-index: 2;
  cursor: crosshair;
}

.flashlight-cone-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    circle 165px at var(--flash-x, 50%) var(--flash-y, 50%),
    rgba(255, 255, 255, 0.04) 0%,
    rgba(12, 12, 16, 0.42) 50%,
    rgba(5, 5, 8, 0.92) 75%,
    rgba(3, 3, 5, 0.98) 100%
  );
}

.garage-bay-wrap.is-preview-active .flashlight-cone-mask {
  opacity: 1;
}

.flashlight-glow-cursor {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 18px #ffffff, 0 0 38px rgba(255, 255, 255, 0.95);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: translate(-50%, -50%);
  left: var(--flash-x, 50%);
  top: var(--flash-y, 50%);
  transition: opacity 0.3s ease;
}

.garage-bay-wrap.is-preview-active .flashlight-glow-cursor {
  opacity: 0.95;
}

.storage-loot-grid {
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: 10px;
  z-index: 3;
  height: 100%;
  padding: 10px 18px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  -webkit-overflow-scrolling: touch;
}
.storage-loot-grid::-webkit-scrollbar {
  height: 5px;
}
.storage-loot-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.loot-item-pod {
  background: #141418;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 114px;
  min-width: 104px;
  max-width: 118px;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
  animation: itemBounce 0.5s ease forwards;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.loot-item-pod:hover {
  transform: translateY(-4px);
  border-color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 255, 255, 0.2);
}

.bid-source-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.btn-bid-source {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bid-source:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-bid-source.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

@keyframes itemBounce {
  from { opacity: 0; transform: translateY(30px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.loot-img-wrap {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.loot-box-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.85));
  transition: transform 0.25s ease;
}

.loot-item-pod:hover .loot-box-img {
  transform: scale(1.1) translateY(-2px);
}

.loot-mystery-lock-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}

.loot-name {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  box-sizing: border-box;
  padding: 0 2px;
  color: #ffffff;
}

.loot-val {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.warehouse-crates {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: 
    linear-gradient(45deg, #27272a 25%, transparent 25%), 
    linear-gradient(-45deg, #27272a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #27272a 75%),
    linear-gradient(-45deg, transparent 75%, #27272a 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

/* Corrugated Metal Roll-Up Shutter */
.garage-shutter {
  position: absolute;
  top: 24px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: repeating-linear-gradient(
    180deg,
    #18181b 0px,
    #27272a 12px,
    #121214 14px,
    #09090b 20px
  );
  box-shadow: inset 0 15px 35px rgba(0,0,0,0.95), 0 10px 25px rgba(0,0,0,0.8);
  z-index: 10;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.shutter-handle-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: #09090b;
  border-top: 3px solid #3f3f46;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shutter-lock-grip {
  width: 90px;
  height: 10px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.shutter-state-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #e4e4e7;
  background: rgba(0, 0, 0, 0.94);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.garage-shutter.shutter-open {
  transform: translateY(-90%);
}

.garage-shutter.shutter-closed {
  transform: translateY(0%);
}

/* =========================================================
   WAREHOUSE SHUTTER OPERATOR (Depo Sahibi / Müzayedeci)
   ========================================================= */

.shutter-operator-dock {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: #070709;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 6;
}

.operator-character {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.operator-avatar-ring {
  width: 40px;
  height: 40px;
  background: #141417;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
  position: relative;
}

.operator-lever-arm {
  position: absolute;
  right: -5px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  background: #000;
  border: 1px solid #ffffff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.operator-info {
  display: flex;
  flex-direction: column;
}

.operator-role-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.operator-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.operator-speech-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  flex: 1;
  position: relative;
}

.operator-speech-bubble::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 6px 6px 0;
  border-style: solid;
  border-color: transparent rgba(255, 255, 255, 0.12) transparent transparent;
}

/* =========================================================
   WAREHOUSE APRON GROUND - ATTENDEES IN FRONT OF SHUTTER
   ========================================================= */

.warehouse-apron-ground {
  background: linear-gradient(180deg, #09090c 0%, #030304 100%);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: visible;
}

.ground-hazard-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    45deg,
    #ffffff 0px,
    #ffffff 10px,
    #000000 10px,
    #000000 20px
  );
  opacity: 0.35;
}

.ground-attendees-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 2px;
}

.ground-bidders-row {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 44px 8px 12px;
  margin-top: -30px;
  scrollbar-width: none;
  position: relative;
}
.ground-bidders-row::-webkit-scrollbar {
  display: none;
}

.attendee-ready-tag {
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 900;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}
.attendee-ready-tag.is-ready {
  background: #ffffff;
  color: #000000;
}
.attendee-ready-tag.is-waiting {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.btn-bid-step:disabled,
.custom-bid-row button:disabled,
.custom-bid-input:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(1);
}

/* =========================================================
   BIDDING CONTROL DOCK
   ========================================================= */

.bidding-dock {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-bids-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .quick-bids-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-bid-step {
  background: #121214;
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  padding: 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.btn-bid-step:hover:not(:disabled) {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-bid-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bid-step-sub {
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.custom-bid-row {
  display: flex;
  gap: 12px;
}

.custom-bid-input {
  flex: 1;
  background: #000000;
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
}

.custom-bid-input:focus {
  border-color: #ffffff;
  outline: none;
}

/* =========================================================
   PARTICIPANTS POD WITH RAISED HAND & BUBBLE POPS
   ========================================================= */

.bidders-roster {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.roster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.roster-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bidders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}

.bidder-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #09090b;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-full);
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

.bidder-chip.is-high-bidder {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.bidder-chip-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  object-fit: cover;
}

.bidder-chip-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Raised Hand & Bid Speech Bubble Pop Animations */
.bid-bubble-pop {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.4);
  pointer-events: none;
  opacity: 0;
  animation: bubblePopAnim 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 20;
}

.bid-bubble-pop::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
}

.bid-hand-pop {
  position: absolute;
  top: -24px;
  right: -8px;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
  animation: handPopAnim 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 21;
}

@keyframes bubblePopAnim {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); }
  15% { opacity: 1; transform: translate(-50%, -4px) scale(1.1); }
  25% { transform: translate(-50%, 0) scale(1); }
  80% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -15px) scale(0.8); }
}

@keyframes handPopAnim {
  0% { opacity: 0; transform: scale(0.5) rotate(-20deg); }
  20% { opacity: 1; transform: scale(1.2) rotate(10deg); }
  40% { transform: scale(1) rotate(0deg); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* =========================================================
   LIVE CHAT & LOGS PANEL
   ========================================================= */

.chat-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  height: 720px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.chat-header {
  padding: 16px 20px;
  background: #09090b;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  animation: fadeIn 0.2s ease;
  word-break: break-word;
}

.chat-msg.msg-system {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #ffffff;
  padding: 5px 8px;
  border-radius: 4px;
  color: #d4d4d8;
  font-size: 11.5px;
  margin: 2px 0;
}

.chat-msg.msg-bid {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #ffffff;
  padding: 6px 10px;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  margin: 2px 0;
}

.chat-author {
  font-size: 11px;
  font-weight: 800;
  color: #e4e4e7;
  display: inline;
  margin-right: 4px;
}

.chat-author.admin-author {
  color: var(--accent-rose);
}

.chat-text {
  color: #f4f4f5;
  display: inline;
  word-break: break-word;
}

.chat-time {
  font-size: 9.5px;
  color: var(--text-muted);
  display: inline-block;
  margin-left: 6px;
  opacity: 0.65;
}

.chat-input-bar {
  padding: 14px;
  background: #09090b;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: #000000;
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.chat-send-btn {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  padding: 0 18px;
  border-radius: var(--radius-full);
}

/* =========================================================
   CINEMATIC EFFECTS: SHAKE, FLASHLIGHT, PARALLAX, ATTENDEES
   ========================================================= */

@keyframes stageShakeAnim {
  0% { transform: translate(0, 0) rotate(0deg); }
  15% { transform: translate(-4px, 2px) rotate(-0.5deg); }
  30% { transform: translate(4px, -3px) rotate(0.5deg); }
  45% { transform: translate(-3px, -1px) rotate(-0.3deg); }
  60% { transform: translate(3px, 2px) rotate(0.3deg); }
  75% { transform: translate(-1px, 1px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.warehouse-stage.stage-shake {
  animation: stageShakeAnim 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Inspection Luminous Spotlight - Non-obscuring */
.garage-interior.flashlight-active::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 180px at var(--flash-x, 50%) var(--flash-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 80%);
  z-index: 6;
}

/* Parallax Layers */
.parallax-bg {
  transform: translate(calc(var(--para-x, 0) * 8px), calc(var(--para-y, 0) * 8px));
  transition: transform 0.06s ease-out;
}

.parallax-fg {
  transform: translate(calc(var(--para-x, 0) * -14px), calc(var(--para-y, 0) * -14px));
  transition: transform 0.06s ease-out;
}

/* Exit Arena Button */
.btn-exit-arena {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-exit-arena:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--accent-rose);
  color: var(--accent-rose);
}

/* Depo Sahibi VIP Pod */
.owner-pod-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #ffffff;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* Attendee Ready Badge */
.attendee-ready-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}
.attendee-ready-tag.is-ready {
  background: rgba(34, 197, 94, 0.18);
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}
.attendee-ready-tag.is-waiting {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* Win Confetti Burst */
.confetti-particle {
  position: absolute;
  pointer-events: none;
  animation: confettiFall 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  z-index: 100;
}

@keyframes confettiFall {
  0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--cf-x, 0px), var(--cf-y, 160px)) scale(0.3) rotate(720deg); }
}
