/* Maktub Kitchen 2.0 — Our Kitchen Video, Multi-Timers & Chat Styles */
.kitchen-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mode-pills {
  display: inline-flex;
  background: var(--surface-soft);
  border-radius: var(--radius-pill);
  padding: 3px;
  border: 1px solid var(--border);
}

.mode-pills button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.mode-pills button.active {
  background: var(--primary);
  color: #fff;
}

.video-stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #1C1410;
  color: #FFFDF9;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
}

.video-stage.mode-video .video-grid {
  grid-template-columns: 1fr;
  min-height: 360px;
}

.video-stage.mode-cooking .video-grid {
  grid-template-columns: 1fr 1fr;
  max-height: 155px;
}

.video-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #2B201A;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

.video-stage.mode-cooking .video-tile {
  aspect-ratio: 16 / 9;
  max-height: 140px;
}

.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  text-align: center;
  padding: 12px;
  font-size: 0.8rem;
  color: rgba(255, 253, 249, 0.72);
}

.video-name-tag {
  position: absolute;
  bottom: 8px;
  inset-inline-start: 8px;
  background: rgba(26, 20, 17, 0.72);
  color: #FFFDF9;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.call-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.35);
}

.call-btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.call-btn.active {
  background: var(--primary);
}

.call-btn.end {
  background: var(--danger);
}

.call-btn.start {
  background: var(--secondary);
}

/* Multi-Timer Cards */
.timer-list {
  display: grid;
  gap: 8px;
}

.timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
}

.timer-digits {
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.timer-mini-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

/* Private Chat & Reactions */
.reaction-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.reaction-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  font-size: 1rem;
  cursor: pointer;
}

.chat-feed {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  padding: 4px 0;
}

.chat-bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.86rem;
  background: var(--surface-soft);
  align-self: flex-start;
}

.chat-bubble.mine {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
}

.chat-bubble img {
  border-radius: 10px;
  max-height: 160px;
  margin-top: 4px;
}
