:root {
  --fc-blue: #2563eb;
  --fc-blue-dark: #1e3a8a;
  --fc-blue-light: #eff6ff;
  --fc-bg: #eef2f9;
  --fc-bot: #ffffff;
  --fc-text: #1e293b;
  --fc-muted: #64748b;
  --fc-border: #e2e8f0;
}

.fc-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(circle at 20% 0%, rgba(37,99,235,.06), transparent 45%),
    var(--fc-bg);
  font-family: -apple-system, "Segoe UI", "Sarabun", Tahoma, sans-serif;
  overflow: hidden;
}

/* Header */
.fc-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: linear-gradient(135deg, #3b82f6 0%, var(--fc-blue) 45%, var(--fc-blue-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(30,58,138,.25);
  z-index: 3;
  flex-shrink: 0;
}
.fc-header-close {
  cursor: pointer;
  padding-right: 40px;
  user-select: none;
  transition: filter 0.15s;
}
.fc-header-close:hover { filter: brightness(1.06); }
.fc-header-close:active { filter: brightness(0.96); }
.fc-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.55), 0 2px 6px rgba(0,0,0,.2);
}
.fc-title { font-weight: 700; font-size: 15.5px; letter-spacing: .2px; }
.fc-status { font-size: 11px; opacity: .92; display: flex; align-items: center; gap: 5px; margin-top: 1px; }
.fc-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: fc-pulse 1.8s infinite; }
@keyframes fc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* Breadcrumb */
.fc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--fc-border);
  flex-shrink: 0;
  z-index: 2;
}
.fc-hidden { display: none !important; }
.fc-crumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--fc-muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.fc-crumb:hover:not(.fc-crumb-active) { background: var(--fc-blue-light); color: var(--fc-blue); }
.fc-crumb-active { color: var(--fc-blue); font-weight: 700; cursor: default; }
.fc-crumb-sep { display: inline-flex; color: #cbd5e1; flex-shrink: 0; }

/* Body */
.fc-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-padding-bottom: 12px;
}
.fc-body::-webkit-scrollbar { width: 5px; }
.fc-body::-webkit-scrollbar-thumb { background: rgba(100,116,139,.25); border-radius: 3px; }

.fc-row { display: flex; align-items: flex-end; gap: 7px; max-width: 92%; }
.fc-row.fc-bot { align-self: flex-start; }
.fc-row.fc-user { align-self: flex-end; flex-direction: row-reverse; }
.fc-mini { width: 28px; height: 28px; border-radius: 50%; background: #fff; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.fc-bubble {
  position: relative;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  animation: fc-pop .26s cubic-bezier(.18,.89,.32,1.28);
}
@keyframes fc-pop {
  0% { opacity: 0; transform: translateY(8px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.fc-bot .fc-bubble {
  background: var(--fc-bot); color: var(--fc-text);
  border-bottom-left-radius: 5px;
  box-shadow: 0 2px 8px rgba(15,23,42,.07);
}
.fc-user .fc-bubble {
  background: linear-gradient(135deg, #3b82f6, var(--fc-blue));
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 3px 10px rgba(37,99,235,.28);
}

/* Filter chips */
.fc-filters {
  align-self: flex-start;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 0;
  animation: fc-pop .25s ease;
}
.fc-filters-label { font-size: 11.5px; color: var(--fc-muted); font-weight: 600; }
.fc-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid #bfdbfe;
  background: #fff;
  color: var(--fc-blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.fc-filter-chip:hover { background: var(--fc-blue); color: #fff; border-color: var(--fc-blue); }

/* Carousel */
.fc-carousel-wrap {
  align-self: stretch;
  margin: 0 -4px;
  animation: fc-pop .3s ease;
}
.fc-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 8px;
}
.fc-carousel-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fc-text);
}
.fc-carousel-count {
  font-size: 11px;
  color: var(--fc-muted);
  background: #fff;
  padding: 3px 8px;
  border-radius: 10px;
  border: 1px solid var(--fc-border);
}
.fc-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.fc-carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  flex: 1;
}
.fc-carousel-track::-webkit-scrollbar { display: none; }

.fc-carousel-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--fc-border);
  background: #fff;
  color: var(--fc-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
  transition: all .15s;
  z-index: 1;
}
.fc-carousel-btn:hover:not(:disabled) {
  background: var(--fc-blue);
  color: #fff;
  border-color: var(--fc-blue);
}
.fc-carousel-btn:disabled { opacity: .35; cursor: default; }

/* Cards */
.fc-cards { align-self: flex-start; display: flex; flex-direction: column; gap: 9px; width: 92%; animation: fc-pop .3s ease; }
.fc-card {
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  box-shadow: 0 2px 10px rgba(15,23,42,.06);
  border: 1px solid var(--fc-border);
  transition: transform .15s, box-shadow .15s;
}
.fc-card-slide {
  flex: 0 0 78%;
  max-width: 280px;
  scroll-snap-align: start;
  border-left: 3px solid var(--fc-blue);
  padding: 0;
  overflow: hidden;
}
.fc-card-product { border-left-color: var(--fc-blue); }
.fc-card-store { border-left-color: #0ea5e9; }
.fc-card-slide:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,.14); }

.fc-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #f1f5f9 0%, #e8eef6 100%);
  overflow: hidden;
}
.fc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fc-card-img-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: linear-gradient(145deg, #f1f5f9 0%, #e8eef6 100%);
}
.fc-card-img--empty img { display: none; }
.fc-card-img--empty .fc-card-img-fallback,
.fc-card-img.fc-card-img--empty .fc-card-img-fallback { display: flex; }
.fc-card-img--loading {
  background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 45%, #eef2f7 90%);
  background-size: 220% 100%;
  animation: fc-img-shimmer 1.3s ease-in-out infinite;
}
.fc-card-img--loading .fc-card-img-fallback { opacity: 0.35; }
@keyframes fc-img-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.fc-card-body { padding: 12px 14px; }

.fc-card-head { display: flex; align-items: flex-start; gap: 8px; }
.fc-card-ico { display: inline-flex; color: var(--fc-blue); flex-shrink: 0; margin-top: 1px; }
.fc-card-title { font-weight: 700; font-size: 13.5px; color: var(--fc-text); line-height: 1.4; }
.fc-card-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.fc-price { font-size: 16px; font-weight: 800; color: var(--fc-blue); }
.fc-stock { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; }
.fc-stock.fc-in { color: #16a34a; }
.fc-stock.fc-out { color: #dc2626; }
.fc-card-sub { font-size: 12.5px; color: var(--fc-muted); margin-top: 6px; line-height: 1.45; }
.fc-card-addr, .fc-card-phone {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--fc-muted);
  margin-top: 6px;
  line-height: 1.45;
}
.fc-card-phone a { color: var(--fc-blue); text-decoration: none; font-weight: 600; }
.fc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.fc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, var(--fc-blue));
  text-decoration: none;
  font-weight: 700;
  transition: opacity .15s;
}
.fc-card-link-map { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.fc-card-link-alt { background: #eff6ff; color: var(--fc-blue); border: 1px solid #cfe0fd; }
.fc-card-link:hover { opacity: .92; }

/* Choices panel */
.fc-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid var(--fc-border);
  box-shadow: 0 -4px 16px rgba(15,23,42,.05);
  max-height: min(36vh, 240px);
  overflow-y: auto;
  flex-shrink: 0;
  min-height: 0;
}
.fc-choices::-webkit-scrollbar { width: 4px; }
.fc-choices::-webkit-scrollbar-thumb { background: rgba(100,116,139,.2); border-radius: 2px; }

.fc-choice-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--fc-muted);
  margin-bottom: 7px;
  padding-left: 2px;
}

.fc-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.fc-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.fc-choice-grid-featured {
  grid-template-columns: 1fr;
}

.fc-choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--fc-blue-light);
  color: var(--fc-blue);
  border: 1.5px solid #cfe0fd;
  border-radius: 22px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .16s ease;
  font-family: inherit;
  text-align: left;
}
.fc-choice:hover {
  background: linear-gradient(135deg, #3b82f6, var(--fc-blue));
  color: #fff;
  border-color: var(--fc-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.28);
}
.fc-choice:active { transform: translateY(0) scale(.98); }

/* ปุ่มเด่น — ต้อง specificity สูงกว่า .fc-choice เพื่อไม่ให้ถูกทับเป็นพื้นขาว/ตัวอักษรขาว */
.fc-root .fc-choice.fc-featured,
.fc-choice.fc-featured {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 14px 16px;
  width: 100%;
  min-height: auto;
  background: linear-gradient(135deg, #0ea5e9 0%, var(--fc-blue) 55%, var(--fc-blue-dark) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}
.fc-root .fc-choice.fc-featured .fc-ico,
.fc-root .fc-choice.fc-featured .fc-choice-label,
.fc-root .fc-choice.fc-featured .fc-choice-sub,
.fc-choice.fc-featured .fc-ico,
.fc-choice.fc-featured .fc-choice-label,
.fc-choice.fc-featured .fc-choice-sub {
  color: #fff;
}
.fc-root .fc-choice.fc-featured .fc-choice-sub,
.fc-choice.fc-featured .fc-choice-sub {
  opacity: .92;
}
.fc-root .fc-choice.fc-featured:hover,
.fc-choice.fc-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,99,235,.4);
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, var(--fc-blue-dark) 100%);
  color: #fff;
  border-color: transparent;
}

.fc-tile {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-radius: 14px;
  padding: 12px 13px;
  width: 100%;
  min-height: 72px;
}
.fc-tile .fc-ico { color: var(--fc-blue); }
.fc-tile:hover .fc-ico { color: #fff; }
.fc-choice-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-choice-label { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.fc-choice-sub { font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.2; }
.fc-tile:hover .fc-choice-sub { opacity: .9; }

.fc-ico { display: inline-flex; flex-shrink: 0; }
.fc-svg { display: block; }

/* Typing */
.fc-typing { display: flex; gap: 4px; padding: 12px 16px !important; }
.fc-typing span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: fc-blink 1.2s infinite; }
.fc-typing span:nth-child(2) { animation-delay: .2s; }
.fc-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes fc-blink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }

/* Widget (ปุ่มลอย + หน้าต่างแชท) */
#fc-launcher-wrap {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999998;
}
#fc-launcher-wrap.fc-launcher-wrap-active #fc-launcher-teaser {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
}

#fc-launcher-teaser {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  left: auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: max-content;
  max-width: min(260px, calc(100vw - 100px));
  padding: 10px 12px 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  font-family: -apple-system, "Segoe UI", "Sarabun", Tahoma, sans-serif;
  line-height: 1.35;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  animation: fc-teaser-pop 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.2);
}
#fc-launcher-teaser::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 22px;
  left: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 7px 0 7px;
  border-color: #fff transparent transparent transparent;
  background: transparent;
  transform: none;
  box-shadow: none;
  filter: drop-shadow(0 1px 0 #e2e8f0);
}
#fc-launcher-teaser:hover {
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.16);
  border-color: #cfe0fd;
}
#fc-launcher-teaser.fc-teaser-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
}
#fc-launcher-teaser .fc-teaser-body {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}
#fc-launcher-teaser .fc-teaser-dismiss {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: -2px -2px 0 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}
#fc-launcher-teaser .fc-teaser-dismiss:hover {
  color: #64748b;
  background: #f1f5f9;
}
#fc-launcher-teaser .fc-teaser-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
#fc-launcher-teaser .fc-teaser-cursor {
  color: var(--fc-blue);
  font-weight: 300;
  animation: fc-teaser-blink 0.9s step-end infinite;
  margin-left: 1px;
}
@keyframes fc-teaser-pop {
  0% { opacity: 0; transform: translateY(8px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fc-teaser-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#fc-launcher {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  padding: 3px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#fc-launcher:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.45);
}
#fc-launcher:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 3px;
}
#fc-launcher img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
#fc-launcher .fc-launcher-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.5);
  animation: fc-launcher-ring 2s ease-out infinite;
  pointer-events: none;
}
#fc-launcher.fc-launcher-active .fc-launcher-pulse {
  display: none;
}
@keyframes fc-launcher-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.25); opacity: 0; }
}

#fc-widget {
  position: fixed;
  bottom: 96px;
  right: 22px;
  z-index: 999999;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 130px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(15, 23, 42, 0.35);
  display: none;
  background: #fff;
  animation: fc-widget-in 0.28s cubic-bezier(0.18, 0.89, 0.32, 1.2);
  isolation: isolate;
}
#fc-widget.fc-open {
  display: block;
}
@keyframes fc-widget-in {
  0% { opacity: 0; transform: translateY(16px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

#fc-widget-close {
  position: absolute;
  top: 11px;
  right: 10px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.92;
  transition: opacity 0.15s, transform 0.15s;
}
#fc-widget-close svg {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.35));
}
#fc-widget-close:hover {
  opacity: 1;
  transform: scale(1.08);
  background: transparent;
  color: #fff;
  box-shadow: none;
}
#fc-widget-close:active {
  transform: scale(0.94);
  opacity: 0.8;
}
#fc-widget-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
  border-radius: 4px;
}

#fc-location-prompt {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 6;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 24%, #fff 100%);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
#fc-location-prompt.fc-location-prompt-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.fc-location-prompt-inner {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
}
.fc-location-prompt-text {
  margin: 0 0 12px;
  font: 500 13px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #334155;
  text-align: center;
}
.fc-location-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-location-confirm,
.fc-location-cancel {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font: 600 14px/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif;
  cursor: pointer;
}
.fc-location-confirm {
  background: #2563eb;
  color: #fff;
}
.fc-location-confirm:active {
  transform: scale(0.98);
}
.fc-location-cancel {
  background: #f1f5f9;
  color: #475569;
}

@media (max-width: 480px) {
  #fc-launcher-wrap {
    bottom: 16px;
    right: 16px;
  }
  #fc-launcher-teaser {
    max-width: min(220px, calc(100vw - 88px));
    padding: 8px 10px 8px 12px;
    font-size: 12px;
    border-radius: 14px;
  }
  #fc-launcher {
    width: 58px;
    height: 58px;
  }
  #fc-widget {
    bottom: 84px;
    right: 16px;
    left: 16px;
    width: auto;
    height: min(560px, calc(100vh - 100px));
  }
}

@media (max-width: 380px) {
  .fc-card-slide { flex: 0 0 85%; }
  .fc-carousel-btn { width: 28px; height: 28px; }
}
