@property --search-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #06060a;
  --shell: #101018;
  --panel: #14141c;
  --input: #0c0c12;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f4f4f8;
  --muted: #9a9aaa;
  --blue: #3b82f6;
  --blue-strong: #2563eb;
  --danger: #f0717e;
  --ok: #3dcf7a;
  --radius-shell: 24px;
  --radius-panel: 16px;
  --radius-box: 8px;
  --pad-shell: 20px;
  --pad-panel: 12px;
  --font: "IBM Plex Sans", "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  --display: "Outfit", "IBM Plex Sans", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-md: 0.9375rem;
  --text-lg: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  justify-content: safe center;
  min-height: 100dvh;
  padding-block: max(1.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-bottom));
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  font-family: var(--font);
  color: var(--ink);
  color-scheme: dark;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 55% at 50% -8%, rgba(59, 130, 246, 0.38), transparent 58%),
    radial-gradient(80% 50% at 0% 100%, rgba(139, 92, 246, 0.28), transparent 68%),
    radial-gradient(75% 45% at 100% 0%, rgba(56, 189, 248, 0.2), transparent 64%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}

.shell-wrap {
  position: relative;
  width: min(980px, 100%);
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius-shell);
}

.shell-aura {
  position: absolute;
  z-index: 0;
  inset: -18% -10%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 58% at 50% 42%, rgba(59, 130, 246, 0.42), transparent 68%),
    radial-gradient(ellipse 48% 42% at 18% 78%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(ellipse 42% 38% at 86% 18%, rgba(56, 189, 248, 0.22), transparent 70%);
  filter: blur(32px);
  animation: aura-breathe 8s ease-in-out infinite;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--pad-shell);
  background: rgba(17, 19, 32, 0.4);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-shell);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  animation: rise 0.4s ease-out both;
}

.shell-glow {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  opacity: 0.7;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 120, 50, 0.28);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 110, 30, 0.14), rgba(50, 70, 180, 0.1));
  color: #e8c4a8;
  font-size: 0.76rem;
}

.flame {
  width: 9px;
  height: 13px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, #ffd27a, #ff7a2a 55%, #ff4d2a);
  box-shadow: 0 0 8px rgba(255, 122, 42, 0.55);
  animation: flicker 2.4s ease-in-out infinite;
}

.lang-switch {
  display: inline-flex;
  gap: 0.1rem;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition-property: color, border-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.lang-switch button:hover {
  color: #cfcfd8;
}

.lang-switch button.active {
  color: #fff;
  border-bottom-color: var(--blue);
}

.brand {
  text-align: center;
  margin: 1.15rem 0 1.2rem;
}

.brand h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #dbe4ff;
}

.subtitle {
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: var(--text-md);
  line-height: 1.5;
  text-wrap: pretty;
}

.search {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
}

.search-field {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: 42px;
  padding-inline: 0.85rem 0.7rem;
  overflow: hidden;
  background: rgba(15, 17, 28, 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 0;
  border-radius: var(--radius-box);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.search-field::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--search-angle),
    transparent 0deg,
    transparent 200deg,
    rgba(125, 211, 252, 0.2) 230deg,
    #7dd3fc 255deg,
    #60a5fa 285deg,
    #818cf8 315deg,
    #c4b5fd 340deg,
    rgba(96, 165, 250, 0.15) 355deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: search-orbit 7s linear infinite;
  pointer-events: none;
}

.search-field > * {
  position: relative;
  z-index: 2;
}

.search-field:focus-within {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 18px rgba(59, 130, 246, 0.2);
}

.search-field:focus-within::before {
  filter: brightness(1.18) saturate(1.1);
}

.at-prefix {
  color: var(--muted);
  font-weight: 600;
  margin-inline-end: 0.35rem;
}

.search input,
.btn {
  height: 42px;
  border-radius: var(--radius-box);
  font: inherit;
}

.search input {
  width: 100%;
  height: 100%;
  padding: 0;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding-inline: 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition-property: transform, background-color, border-color, opacity;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.btn-ico {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: none;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--blue-strong);
  color: #fff;
  border-color: var(--blue-strong);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.btn-primary.is-loading .btn-label {
  opacity: 0;
}

.btn-primary.is-loading::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-primary {
  position: relative;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.toast {
  min-height: 0;
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-box);
  font-size: var(--text-sm);
  line-height: 1.4;
  animation: fade 0.2s ease-out;
}

.toast[hidden] {
  display: block;
  visibility: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 0;
  height: 0;
  overflow: hidden;
}

.toast.is-error {
  color: #ffb4bc;
  background: rgba(240, 113, 126, 0.1);
  border: 1px solid rgba(240, 113, 126, 0.2);
}

.toast.is-info {
  color: #c5c9d6;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.workspace.has-data {
  animation: fade-up 0.35s ease-out both;
}

.panel {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-panel);
  padding: var(--pad-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.overview {
  gap: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.section-title .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.panel h2 {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.2;
  color: #c9cddc;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  color: inherit;
  background: rgba(8, 10, 18, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-box);
  transition-property: border-color, background-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.contact-card:hover {
  border-color: rgba(42, 171, 238, 0.45);
  background: rgba(42, 171, 238, 0.08);
}

.contact-card:hover .contact-handle {
  color: #b8e9ff;
}

.contact-ico {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #229ed9;
  color: #fff;
}

.contact-ico svg {
  width: 18px;
  height: 18px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.contact-label {
  color: #9aa0b4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-handle {
  color: #c4ecff;
  font-size: var(--text-sm);
  font-weight: 700;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  min-height: 0;
  padding: 0.7rem 0.75rem;
  background: rgba(8, 10, 18, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-box);
}

.fact-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.fact-label {
  color: #9aa0b4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico-user { color: #6ea8ff; }
.ico-gift { color: #b794ff; }
.ico-cake { color: #e9a8ff; }
.ico-cal { color: #6ea8ff; }
.ico-at { color: #67e8f9; }
.ico-status { color: #4ade80; }
.ico-job { color: #fbbf24; }
.ico-badge { color: #7dd3fc; }

.fact-box {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 600;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.fact-box.empty {
  color: #7d8190;
  font-weight: 500;
}

.reg-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}

.reg-days {
  color: #7eb0ff;
  font-weight: 600;
  font-size: 0.82rem;
}

.status-cell {
  gap: 0.45rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex: 0 0 8px;
}

.fact-box.ok {
  color: var(--ok);
}

.fact-box.bad {
  color: var(--danger);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 140, 255, 0.28);
  color: #d7e4ff;
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
}

.preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
  min-height: 0;
}

.gallery-stage {
  position: relative;
  display: block;
  height: 268px;
  flex: 0 0 268px;
  background: rgba(8, 8, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-panel) - 4px);
  overflow: hidden;
}

.nav-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.nav-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-btn.prev { left: 8px; }
.nav-btn.next { right: 8px; }

.nav-btn[hidden] {
  display: none;
}

.gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  flex: 0 0 72px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-block-end: 4px;
  padding-inline-end: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 140, 190, 0.45) transparent;
}

.photos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.count-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding-inline: 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
  color: #c5d6ff;
  font-size: var(--text-xs);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gallery-stage img {
  position: absolute;
  z-index: 1;
  inset: 10px;
  margin: auto;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-box);
  outline: 1px solid oklch(1 0 0 / 0.1);
  outline-offset: -1px;
  animation: fade 0.2s ease-out;
}

.gallery-stage img[hidden] {
  display: none;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 8px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(120, 140, 190, 0.4);
  border-radius: 999px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 170, 220, 0.6);
}

.thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-box);
  overflow: hidden;
  background: #111116;
  cursor: pointer;
  transition-property: border-color, transform, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid oklch(1 0 0 / 0.1);
  outline-offset: -1px;
}

.thumb:hover {
  transform: none;
}

.thumb:active {
  transform: scale(0.96);
}

.thumb.is-active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.28);
}

.gallery-thumbs.is-placeholder {
  gap: 8px;
  padding-inline-end: 0;
}

.photos-empty {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 1rem;
  text-align: center;
  pointer-events: none;
}

.photos-empty-ico {
  width: 40px;
  height: 40px;
  margin-bottom: 0.35rem;
  stroke: #8b90a0;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photos-empty-title {
  color: #f4f4f8;
  font-size: 0.95rem;
  font-weight: 700;
}

.photos-empty-hint {
  color: #8b90a0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 16.5rem;
}

.thumb-placeholder {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 64px;
  display: grid;
  place-items: center;
  cursor: default;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thumb-placeholder svg {
  width: 18px;
  height: 18px;
  stroke: #6d7282;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photos-empty[hidden] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes flicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.72; transform: scale(0.94); }
}

@keyframes search-orbit {
  to { --search-angle: 360deg; }
}

@keyframes aura-breathe {
  0%, 100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shell,
  .workspace.has-data,
  .toast,
  .gallery-stage img,
  .flame,
  .search-field::before,
  .shell-aura {
    animation: none;
  }

  .btn,
  .thumb,
  .lang-switch button,
  .search input {
    transition: none;
  }
}

@media (max-width: 960px) {
  body {
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100dvh;
    padding: 0;
    background-attachment: scroll;
  }

  .shell-wrap {
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
  }

  .shell-aura {
    inset: 0;
    filter: blur(28px);
  }

  .shell {
    min-height: 100dvh;
    border-radius: 0;
    padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .search {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .preview {
    overflow: visible;
  }

  .gallery-stage {
    height: 280px;
    flex-basis: 280px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad-shell: 14px;
    --pad-panel: 10px;
    --radius-shell: 18px;
  }

  .topbar {
    gap: 0.5rem;
  }

  .pill {
    max-width: min(100%, 58%);
    min-width: 0;
    padding: 0.24rem 0.6rem;
    font-size: 0.68rem;
  }

  .pill span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lang-switch button {
    padding: 0.35rem 0.45rem;
    min-height: 40px;
  }

  .brand {
    margin: 0.9rem 0 1rem;
  }

  .brand h1 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .subtitle {
    font-size: var(--text-sm);
    padding-inline: 0.25rem;
  }

  .search {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .search-field {
    grid-column: 1 / -1;
    height: 44px;
  }

  .search input,
  .btn {
    height: 44px;
  }

  .btn {
    width: 100%;
    padding-inline: 0.7rem;
  }

  .facts {
    gap: 8px;
    margin-top: 10px;
  }

  .fact {
    padding: 0.6rem 0.65rem;
  }

  .gallery-stage {
    height: 240px;
    flex-basis: 240px;
  }

  .gallery-thumbs {
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    flex-basis: 68px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .pill {
    max-width: 52%;
  }

  .gallery-stage {
    height: 220px;
    flex-basis: 220px;
  }

  .thumb {
    flex-basis: 48px;
    width: 48px;
    height: 58px;
  }
}
