@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-2: #0d0d14;
  --panel: rgba(18, 18, 27, 0.82);
  --panel-2: rgba(255, 255, 255, 0.055);
  --text: #f7f7fb;
  --muted: #a2a3b3;
  --muted-2: #6e7183;
  --line: rgba(255, 255, 255, 0.095);
  --accent: #9f8cff;
  --accent-2: #ffb9b0;
  --accent-3: #80d7ff;
  --danger: #ff6464;
  --good: #5dffad;
  --warning: #ffd36a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --radius-sm: 16px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(128, 112, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(255, 184, 176, 0.16), transparent 28rem),
    linear-gradient(180deg, #07070b 0%, #050509 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: rgba(159, 140, 255, 0.35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a10; }
::-webkit-scrollbar-thumb { background: #2a2b3a; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #44465f; }

.site-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.site-orbs::before,
.site-orbs::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  min-width: 340px;
  min-height: 340px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .23;
}
.site-orbs::before { left: -18vw; top: 12vh; background: #7768ff; }
.site-orbs::after { right: -16vw; bottom: -10vh; background: #ffb3aa; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 52px);
  background: rgba(7, 7, 11, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.brand b { color: var(--accent); }
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 35px rgba(159, 140, 255, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}
.nav a,
.mobile-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav a:hover,
.nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-only { display: none !important; }
.mobile-nav {
  position: fixed;
  top: 76px;
  left: 12px;
  right: 12px;
  z-index: 49;
  padding: 16px;
  background: rgba(12, 12, 18, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.mobile-nav a { display: block; padding: 14px; }

.app-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px clamp(14px, 3vw, 28px) 80px;
}

.loading-screen,
.empty-state {
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}
.loading-screen p { margin: 12px 0 0; }
.spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.12);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(28px, 4vw, 48px);
  background: #11111a;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .64;
  transform: scale(1.02);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero::before { background: linear-gradient(90deg, rgba(7,7,11,.98), rgba(7,7,11,.62) 45%, rgba(7,7,11,.18)); }
.hero::after { background: linear-gradient(0deg, #07070b 0%, rgba(7,7,11,.28) 48%, transparent); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: clamp(24px, 6vw, 72px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(159, 140, 255, 0.35);
  border-radius: 999px;
  background: rgba(159, 140, 255, 0.12);
  color: #d8d0ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero h1,
.page-title {
  margin: 18px 0 14px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: .92;
  letter-spacing: -0.08em;
}
.hero p,
.lead {
  color: #d6d6df;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
}
.hero-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.button,
.icon-button,
.pill-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
  user-select: none;
}
.button {
  min-height: 48px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  box-shadow: 0 18px 42px rgba(159, 140, 255, 0.22);
}
.button:hover,
.icon-button:hover,
.pill-button:hover { transform: translateY(-1px); }
.button.secondary {
  color: var(--text);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button.danger { background: rgba(255, 100, 100, .16); color: #ffb0b0; border: 1px solid rgba(255, 100, 100, .28); box-shadow: none; }
.button.good { background: rgba(93, 255, 173, .14); color: #b7ffd8; border: 1px solid rgba(93, 255, 173, .26); box-shadow: none; }
.button[disabled] { cursor: not-allowed; opacity: .55; transform: none; }
.icon-button {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.pill-button {
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.pill-button.active { color: #111; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

.section { margin-top: 54px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}
.section-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.045em;
}
.section-subtitle { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }

.rail,
.grid {
  display: grid;
  gap: 18px;
}
.rail { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  border-radius: 24px;
  background: #11111a;
  border: 1px solid var(--line);
  transform: translateZ(0);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(159, 140, 255, .38); box-shadow: 0 22px 50px rgba(0,0,0,.32); }
.poster {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #171724, #0c0c12);
  transition: transform .3s ease, filter .3s ease;
}
.card:hover .poster { transform: scale(1.045); filter: saturate(1.05) contrast(1.02); }
.card-gradient {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(0deg, rgba(0,0,0,.92), transparent);
}
.card-body {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.badge.accent { background: rgba(159, 140, 255, .13); border-color: rgba(159, 140, 255, .28); color: #dcd5ff; }
.badge.good { background: rgba(93, 255, 173, .12); border-color: rgba(93, 255, 173, .22); color: #b7ffd8; }
.badge.warn { background: rgba(255, 211, 106, .12); border-color: rgba(255, 211, 106, .22); color: #ffe3a5; }
.badge.danger { background: rgba(255, 100, 100, .12); border-color: rgba(255, 100, 100, .22); color: #ffc0c0; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel.pad { padding: clamp(18px, 3vw, 30px); }
.soft-panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

.form {
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; }
label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
input, textarea, select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(159, 140, 255, .66);
  background: rgba(255,255,255,.075);
  box-shadow: 0 0 0 4px rgba(159, 140, 255, .12);
}
.helper { color: var(--muted-2); font-size: 12px; line-height: 1.5; }

.auth-card {
  width: min(480px, 100%);
  margin: 38px auto;
}
.auth-card h1 { margin-top: 0; font-size: clamp(32px, 6vw, 54px); letter-spacing: -0.07em; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 12px; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #101018;
  box-shadow: var(--shadow);
}
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,7,11,.98), rgba(7,7,11,.72), rgba(7,7,11,.45));
}
.detail-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: clamp(18px, 4vw, 42px);
}
.detail-poster {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,.36);
}
.detail-title {
  margin: 12px 0 12px;
  font-size: clamp(34px, 6vw, 70px);
  line-height: .96;
  letter-spacing: -0.08em;
}

.player-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.player-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-frame iframe,
.player-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: rgba(13,13,20,.98);
}

.episode-list,
.chapter-list,
.admin-list,
.review-list {
  display: grid;
  gap: 12px;
}
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
a.list-item:hover, button.list-item:hover { background: rgba(255,255,255,.075); border-color: rgba(159,140,255,.3); transform: translateY(-1px); }
.list-title { font-weight: 900; }
.list-sub { color: var(--muted); font-size: 13px; margin-top: 3px; }

.reader {
  max-width: 920px;
  margin: 0 auto;
}
.reader-head {
  position: sticky;
  top: 86px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 18px;
  background: rgba(10,10,15,.86);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
}
.reader-pages { display: grid; gap: 0; }
.reader-pages img { width: 100%; margin: 0 auto; background: #111; }
.reader-text {
  white-space: pre-wrap;
  line-height: 1.85;
  font-size: clamp(17px, 2vw, 20px);
  padding: clamp(20px, 4vw, 42px);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-grid;
  place-items: center;
  color: #111;
  font-weight: 900;
  overflow: hidden;
}
.user-mini { display: flex; align-items: center; gap: 10px; }
.user-name { font-weight: 900; }
.review p { margin: 0; color: #d9d9e4; line-height: 1.65; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
}
.stat b { display: block; font-size: 30px; letter-spacing: -0.05em; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.tabs,
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}
.searchbar { margin: 20px 0 24px; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(18,18,27,.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--text);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.good { border-color: rgba(93,255,173,.24); }
.toast.bad { border-color: rgba(255,100,100,.28); }

.codebox {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #dcdcff;
}

@media (max-width: 1080px) {
  .rail, .grid.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-content { grid-template-columns: 190px 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .mobile-only { display: inline-flex !important; }
  .auth-area .desktop-name { display: none; }
  .app-shell { padding-top: 18px; }
  .hero { min-height: 540px; }
  .rail, .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.two, .grid.three, .form-row, .form-row.three { grid-template-columns: 1fr; }
  .detail-content { grid-template-columns: 1fr; }
  .detail-poster { width: 190px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .topbar { height: 68px; padding: 0 14px; }
  .mobile-nav { top: 70px; }
  .brand span { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .button { width: 100%; }
  .hero { min-height: 520px; border-radius: 26px; }
  .hero-content { padding: 24px; }
  .rail, .grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 18px; }
  .card-body { padding: 12px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .player-bar { align-items: flex-start; flex-direction: column; }
  .reader-head { top: 78px; align-items: flex-start; flex-direction: column; }
  .stats { grid-template-columns: 1fr; }
}

/* Упрощённая админ-панель: эпизоды и главы без JSON */
.admin-layout { align-items: start; }
.tip-list { display: grid; gap: 10px; }
.tip-list p { margin: 0; }
.builder-block {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(159, 140, 255, .18);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
}
.builder-block[hidden] { display: none !important; }
.builder-head,
.builder-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.builder-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.builder-list { display: grid; gap: 12px; }
.builder-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
}
.builder-card textarea { min-height: 96px; }
.pill-button.dangerish {
  color: #ffc0c0;
  border-color: rgba(255,100,100,.22);
  background: rgba(255,100,100,.08);
}
.pill-button.dangerish:hover {
  border-color: rgba(255,100,100,.4);
}

@media (max-width: 580px) {
  .builder-head,
  .builder-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Cloudflare R2 upload helpers */
.url-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}
.pill-button.mini {
  min-height: 46px;
  padding: 0 12px;
  white-space: nowrap;
  color: #e9e5ff;
  border-color: rgba(159, 140, 255, .28);
  background: rgba(159, 140, 255, .10);
}
.pill-button.mini[disabled] {
  opacity: .55;
  cursor: wait;
  transform: none;
}
.chapter-upload-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.chapter-upload-tools[hidden] { display: none !important; }
.r2-settings .field { margin-top: 6px; }

@media (max-width: 700px) {
  .url-tools { grid-template-columns: 1fr; }
  .pill-button.mini { width: 100%; }
}

/* Apex Cinema v3.2: studio/about, access gate and public profiles */
.about-studio {
  position: relative;
  overflow: hidden;
}
.about-studio::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 173, 190, .22), transparent 62%);
  pointer-events: none;
}
.studio-text {
  max-width: 860px;
  font-weight: 750;
}
.access-gate {
  text-align: left;
  overflow: hidden;
  position: relative;
}
.access-gate::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(159, 140, 255, .22), transparent 65%);
  pointer-events: none;
}
.user-link {
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
  transition: opacity .18s ease, transform .18s ease;
}
.user-link:hover {
  opacity: .86;
  transform: translateY(-1px);
}
.profile-public .profile-cover {
  min-height: 220px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(159, 140, 255, .20), transparent 34%),
    radial-gradient(circle at 82% 70%, rgba(255, 173, 190, .14), transparent 38%),
    var(--panel);
}
.profile-hero-row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}
.profile-hero-row .avatar {
  width: clamp(74px, 12vw, 118px);
  height: clamp(74px, 12vw, 118px);
  font-size: clamp(30px, 5vw, 48px);
  flex: 0 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
#publicProfileUrl[readonly] {
  cursor: text;
}

@media (max-width: 720px) {
  .profile-hero-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
