/* ===================================================================
   GEMINI AI TUTOR - GOOGLE GEMINI AUTHENTIC UI DESIGN SYSTEM
   Dark Theme (#131314), Smooth Typography, Floating Pill Input,
   Photos Support, Responsive Sidebar, Suggestion Cards
   =================================================================== */

:root {
  --bg-main: #131314;
  --bg-sidebar: #1e1f20;
  --bg-surface: #282a2c;
  --bg-hover: #333538;
  --border-subtle: #2d2f31;
  --border-focus: #4b4e52;
  --text-primary: #f1f3f4;
  --text-secondary: #c4c7c5;
  --text-muted: #8e918f;
  --gemini-blue: #4285f4;
  --gemini-purple: #9b72cb;
  --gemini-pink: #d96570;
  --gemini-gradient: linear-gradient(135deg, #4285f4 0%, #9b72cb 50%, #d96570 100%);
  --gemini-gradient-text: linear-gradient(90deg, #4285f4, #9b72cb, #d96570);
  --font-family: 'Outfit', 'Google Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --sidebar-width: 270px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ================== APP LAYOUT ================== */
.gemini-app {
  display: flex;
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

/* ================== SIDEBAR ================== */
.gemini-sidebar {
  width: var(--sidebar-width);
  height: 100%;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), width 0.3s cubic-bezier(0.2, 0, 0, 1);
  z-index: 50;
  user-select: none;
}

.gemini-sidebar.collapsed {
  transform: translateX(-100%);
  position: absolute;
}

.sidebar-top {
  padding: 16px 16px 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.sidebar-menu-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.sidebar-menu-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.new-chat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background-color: #1a1a1c;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.new-chat-btn:hover {
  background-color: var(--bg-surface);
  border-color: var(--border-focus);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.new-chat-btn i {
  color: var(--gemini-purple);
  font-size: 1rem;
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

.sidebar-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 10px 12px 6px;
  font-weight: 600;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-item:hover, .recent-item.active {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.recent-item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.recent-item-title i {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.recent-del-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 6px;
  border-radius: 50%;
  display: none;
}

.recent-item:hover .recent-del-btn {
  display: block;
}
.recent-del-btn:hover {
  color: #f87171;
}

.sidebar-bottom {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--text-secondary);
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.sidebar-link-btn:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.sidebar-link-btn i {
  font-size: 1rem;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
}

/* ================== MAIN CHAT CONTAINER ================== */
.gemini-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-main);
}

/* Header */
.gemini-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(19, 19, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 20;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gemini-sparkle-icon {
  background: var(--gemini-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.25rem;
}

.model-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.model-pill span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.topbar-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.topbar-btn.home-btn {
  background: rgba(66, 133, 244, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(66, 133, 244, 0.25);
}
.topbar-btn.home-btn:hover {
  background: rgba(66, 133, 244, 0.2);
  color: #fff;
}

/* ================== CHAT CONTENT STREAM ================== */
.chat-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 140px;
  scroll-behavior: smooth;
  display: flex;
  justify-content: center;
}

.chat-scroll-area::-webkit-scrollbar {
  width: 8px;
}
.chat-scroll-area::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

.chat-container {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
}

/* Welcome Screen */
.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 55vh;
  padding: 40px 0 20px;
  animation: fadeIn 0.4s ease;
}

.greeting-text {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.greeting-text .gradient-text {
  background: var(--gemini-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.greeting-sub {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 40px;
}

/* Suggestion Cards Grid */
.suggestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  width: 100%;
}

.suggestion-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 16px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
}

.suggestion-card:hover {
  transform: translateY(-3px);
  background: var(--bg-surface);
  border-color: var(--border-focus);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.suggestion-card p {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.45;
  font-weight: 500;
}

.suggestion-card .card-icon {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gemini-purple);
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.suggestion-card:hover .card-icon {
  background: rgba(155, 114, 203, 0.2);
  transform: scale(1.1);
}

/* ================== CHAT MESSAGES ================== */
.messages-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding-top: 10px;
}

.chat-turn {
  display: flex;
  gap: 16px;
  width: 100%;
  animation: messageFadeIn 0.25s ease-out;
}

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

.chat-turn.user-turn {
  justify-content: flex-end;
}

.turn-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.chat-turn.bot-turn .turn-avatar {
  background: #1e1f20 url('image/logo_1.png') center/cover no-repeat;
  border: 1.5px solid rgba(155, 114, 203, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.turn-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.turn-content-wrap {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.chat-turn.user-turn .turn-content-wrap {
  align-items: flex-end;
}

.user-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: 20px 20px 6px 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.msg-attached-image {
  max-width: 100%;
  max-height: 240px;
  border-radius: 12px;
  margin-bottom: 8px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.msg-attached-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.bot-content {
  color: var(--text-primary);
  font-size: 0.96rem;
  line-height: 1.7;
  word-break: break-word;
}

.bot-content p {
  margin-bottom: 12px;
}
.bot-content p:last-child {
  margin-bottom: 0;
}

.bot-content strong {
  color: #fff;
  font-weight: 600;
}

.bot-content ul, .bot-content ol {
  margin: 10px 0 14px 24px;
}

.bot-content li {
  margin-bottom: 6px;
}

.bot-content code {
  background: #1e1f20;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #f472b6;
  font-family: 'Consolas', monospace;
  border: 1px solid rgba(255,255,255,0.08);
}

.bot-content pre {
  background: #18191a;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: 12px 0 16px;
}

.bot-content pre code {
  background: transparent;
  padding: 0;
  border: none;
  color: #e2e8f0;
}

/* Turn actions (Copy, TTS) */
.turn-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.turn-action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 16px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.turn-action-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* Typing pulse indicator */
.gemini-typing-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}
.gemini-typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gemini-purple);
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.gemini-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.gemini-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ================== BOTTOM FLOATING INPUT BAR ================== */
.gemini-input-dock {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 16px;
  background: linear-gradient(180deg, rgba(19,19,20,0) 0%, rgba(19,19,20,0.85) 25%, #131314 100%);
  pointer-events: none;
  z-index: 30;
}

.gemini-input-pill {
  width: 100%;
  max-width: 820px;
  background-color: var(--bg-sidebar);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 8px 12px 8px 16px;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gemini-input-pill:focus-within {
  border-color: var(--gemini-purple);
  box-shadow: 0 0 0 3px rgba(155, 114, 203, 0.2), 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Image preview tray above text input */
.gemini-img-preview-tray {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

.preview-thumb-box {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-focus);
  flex-shrink: 0;
}

.preview-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: background 0.2s;
}
.preview-remove-btn:hover {
  background: #ef4444;
}

.preview-info-box {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  overflow: hidden;
}

.preview-file-name {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-file-hint {
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* Input Row */
.input-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}

/* Photos icon button */
.photo-attach-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.photo-attach-btn:hover {
  background: var(--bg-hover);
  color: #60a5fa;
}

.photo-attach-btn.has-photo {
  color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
}

.gemini-textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-family: inherit;
  resize: none;
  max-height: 180px;
  min-height: 24px;
  padding: 8px 4px 10px 4px;
  outline: none;
  line-height: 1.5;
}

.gemini-textarea::placeholder {
  color: var(--text-muted);
}

/* Circular Send Button */
.gemini-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gemini-send-btn.active {
  background: var(--gemini-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.35);
  transform: scale(1.05);
}

.input-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  pointer-events: auto;
}

/* ================== DRAG & DROP OVERLAY ================== */
.drag-drop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 19, 20, 0.88);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border: 3px dashed var(--gemini-purple);
  animation: fadeIn 0.15s ease;
}

.drag-drop-overlay.active {
  display: flex;
}

.drag-drop-icon {
  font-size: 4rem;
  color: var(--gemini-purple);
  margin-bottom: 16px;
  animation: bounce 1.5s infinite;
}

.drag-drop-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.drag-drop-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ================== SETTINGS MODAL ================== */
.gemini-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.gemini-modal {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-focus);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  animation: modalPop 0.25s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

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

.modal-header h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-btn:hover {
  background: var(--bg-hover);
  color: #fff;
}

.modal-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.modal-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: monospace;
  font-size: 0.85rem;
  outline: none;
}
.modal-input:focus {
  border-color: var(--gemini-purple);
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.modal-btn {
  padding: 9px 18px;
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.modal-btn.primary {
  background: var(--gemini-gradient);
  color: #fff;
}
.modal-btn.secondary {
  background: var(--bg-hover);
  color: var(--text-secondary);
}

/* Lightbox Modal */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.image-lightbox.open {
  display: flex;
}
.image-lightbox img {
  max-width: 90%;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 768px) {
  .gemini-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.7);
  }
  .gemini-sidebar.open-mobile {
    transform: translateX(0);
  }
  .sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 40;
    display: none;
  }
  .sidebar-backdrop.active {
    display: block;
  }
  .greeting-text {
    font-size: 2.1rem;
  }
  .greeting-sub {
    font-size: 1.15rem;
    margin-bottom: 24px;
  }
  .suggestion-grid {
    grid-template-columns: 1fr;
  }
  .turn-content-wrap {
    max-width: 90%;
  }
  .gemini-input-dock {
    padding: 8px 12px 12px;
  }
}
