:root {
  --bg: #d6dbe4;
  --surface: rgba(255, 255, 255, .86);
  --surface-solid: #ffffff;
  --surface-muted: #f8f8fb;
  --panel-bg:
    radial-gradient(circle at 12% 0%, rgba(111, 69, 255, .055), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(92, 171, 255, .065), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .96) 0%, rgba(249, 250, 253, .90) 54%, rgba(241, 246, 252, .88) 100%);
  --panel-inner-bg:
    linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(248, 249, 253, .80));
  --text: #15161a;
  --muted: #747782;
  --line: rgba(20, 22, 28, .10);
  --accent: #6f45ff;
  --accent-dark: #5633d8;
  --danger: #e34d6a;
  --success: #28a65a;
  --shadow: 0 24px 70px rgba(31, 35, 48, .10);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #cfd5df;
}

body {
  margin: 0;
  min-width: 1120px;
  min-height: 100%;
  position: relative;
  color: var(--text);
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    url("assets/cinema-kittens-bg.png") center top / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(226, 229, 238, .08), rgba(207, 213, 223, .18));
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 32px 48px;
}

.topbar {
  position: relative;
  z-index: 30;
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 16px 22px;
  border: 1px solid rgba(20, 22, 28, .08);
  border-radius: 28px;
  background: var(--panel-bg);
  box-shadow:
    0 22px 54px rgba(31, 35, 48, .10),
    inset 0 1px 0 rgba(255, 255, 255, .84);
  backdrop-filter: blur(18px);
}

.brand-mark,
.mini-pr {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  border-radius: 18px;
  background: linear-gradient(145deg, #7d55ff, #5f35e7);
  box-shadow: 0 14px 28px rgba(111, 69, 255, .24);
}

.brand-mark {
  width: 82px;
  height: 82px;
  color: transparent;
  font-size: 0;
  border-radius: 0;
  background: transparent url("assets/brand-kitten-sign.png") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 14px 20px rgba(66, 45, 145, .14));
}

.brand-copy {
  flex: 1;
  min-width: 0;
}

.brand-copy h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.brand-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.top-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.pixel-button {
  min-height: 46px;
  padding: 0 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  letter-spacing: -.01em;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 42%),
    linear-gradient(180deg, #835fff 0%, #6846f0 100%);
  box-shadow:
    0 16px 30px rgba(18, 22, 34, .13),
    0 5px 0 rgba(40, 43, 54, .22),
    inset 0 1px 0 rgba(255,255,255,.36),
    inset 0 -2px 0 rgba(24, 27, 38, .12);
  transform: translateY(0) translateZ(0);
  transition:
    transform .11s cubic-bezier(.2,.9,.25,1.35),
    box-shadow .11s cubic-bezier(.2,.9,.25,1.2),
    background .14s ease,
    opacity .14s ease;
  will-change: transform, box-shadow;
}

.pixel-button::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -60%;
  bottom: -60%;
  left: -80%;
  width: 42%;
  transform: rotate(22deg);
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.12) 28%,
      rgba(255,255,255,.72) 50%,
      rgba(255,255,255,.16) 72%,
      transparent 100%);
  opacity: 0;
  pointer-events: none;
}

.pixel-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.34), transparent 34%, rgba(25,28,39,.16) 100%),
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 18%, transparent 78%, rgba(25,28,39,.18) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.48),
    inset 2px 0 0 rgba(255,255,255,.20),
    inset 0 -3px 0 rgba(24,27,38,.24),
    inset -2px 0 0 rgba(24,27,38,.12);
  mix-blend-mode: soft-light;
}

.pixel-button:hover {
  transform: translateY(-7px) scale(1.035);
  box-shadow:
    0 26px 48px rgba(18, 22, 34, .18),
    0 10px 0 rgba(40, 43, 54, .18),
    0 0 0 1px rgba(255,255,255,.18),
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 0 rgba(24, 27, 38, .10);
}

.pixel-button:hover::before {
  opacity: 1;
  animation: buttonShine .58s ease-out;
}

.pixel-button:active {
  transform: translateY(5px) scale(.955);
  box-shadow:
    0 5px 12px rgba(18, 22, 34, .16),
    0 1px 0 rgba(40, 43, 54, .18),
    inset 0 4px 10px rgba(18, 22, 34, .26),
    inset 0 -1px 0 rgba(255,255,255,.12);
}

.pixel-button:active::after {
  background:
    linear-gradient(180deg, rgba(24,27,38,.18), transparent 44%, rgba(255,255,255,.12) 100%),
    linear-gradient(90deg, rgba(24,27,38,.10), transparent 22%, transparent 80%, rgba(255,255,255,.10) 100%);
  box-shadow:
    inset 0 4px 8px rgba(24,27,38,.24),
    inset 0 -1px 0 rgba(255,255,255,.22),
    inset 1px 0 0 rgba(24,27,38,.08),
    inset -1px 0 0 rgba(255,255,255,.12);
}

.pixel-button.loading {
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(180deg, #917dff, #6a55f4);
}

.pixel-button.loading::before {
  opacity: 1;
  animation: buttonShineLoop 1.05s linear infinite;
}

.pixel-button.done {
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(180deg, #37c873, #25a95b);
  box-shadow:
    0 16px 30px rgba(18, 22, 34, .13),
    0 5px 0 rgba(40, 43, 54, .20),
    inset 0 1px 0 rgba(255,255,255,.36),
    inset 0 -2px 0 rgba(24, 27, 38, .12);
}

.login-button {
  min-width: 112px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 16px 28px rgba(18, 22, 34, .11),
    0 5px 0 rgba(40, 43, 54, .16);
}

.login-button::before {
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(111,69,255,.04) 25%,
      rgba(111,69,255,.28) 50%,
      rgba(255,255,255,.72) 62%,
      rgba(111,69,255,.08) 76%,
      transparent 100%);
}

.secondary-button,
.register-button {
  min-width: 142px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}

.secondary-button {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 42%),
    linear-gradient(180deg, #ffffff, #f7f8fb);
  box-shadow:
    inset 0 0 0 1px rgba(20,22,28,.10),
    0 14px 24px rgba(18,22,34,.10),
    0 4px 0 rgba(40,43,54,.13);
}

.register-button {
  min-width: 172px;
}

.language-picker {
  position: relative;
  z-index: 40;
  flex: 0 0 auto;
}

.language-button {
  width: 54px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), transparent 44%),
    #fff;
  box-shadow:
    inset 0 0 0 1px rgba(20,22,28,.10),
    inset 0 2px 0 rgba(255,255,255,.72),
    inset 0 -3px 0 rgba(24,27,38,.10),
    0 14px 24px rgba(18,22,34,.10),
    0 4px 0 rgba(40,43,54,.13);
  transition: transform .11s cubic-bezier(.2,.9,.25,1.35), box-shadow .11s ease;
}

.language-button:hover {
  transform: translateY(-5px) scale(1.035);
  box-shadow:
    inset 0 0 0 1px rgba(20,22,28,.10),
    inset 0 2px 0 rgba(255,255,255,.78),
    inset 0 -3px 0 rgba(24,27,38,.12),
    0 22px 36px rgba(18,22,34,.15),
    0 8px 0 rgba(40,43,54,.12);
}

.language-button:active {
  transform: translateY(3px) scale(.96);
  box-shadow:
    inset 0 4px 10px rgba(18,22,34,.16),
    0 3px 10px rgba(18,22,34,.12);
}

.language-button .fi {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(20,22,28,.10);
}

.language-menu .fi {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(20,22,28,.10);
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 100;
  width: 54px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(20,22,28,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow:
    0 24px 54px rgba(18,22,34,.16),
    inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
}

.language-menu button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  background: transparent;
  transition: transform .12s ease, background .12s ease;
}

.language-menu button:hover {
  transform: translateY(-2px) scale(1.12);
  background: rgba(111,69,255,.08);
}

.account-menu {
  position: relative;
  z-index: 45;
}

.account-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transition: transform .12s cubic-bezier(.2,.9,.25,1.35), filter .12s ease;
}

.account-button:hover {
  transform: translateY(-5px) scale(1.06);
  filter: drop-shadow(0 18px 24px rgba(18,22,34,.16));
}

.account-button:active {
  transform: translateY(3px) scale(.94);
}

.account-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.95), rgba(239,242,249,.82) 44%, rgba(219,225,238,.82) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    inset 0 -4px 8px rgba(31,35,48,.08),
    0 14px 28px rgba(18,22,34,.14),
    0 4px 0 rgba(40,43,54,.14);
  overflow: visible;
}

.account-avatar::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 66px;
  height: 76px;
  transform: translateX(-50%);
  background: url("assets/profile-cat-avatar.png") center bottom / contain no-repeat;
  filter: saturate(1.22) contrast(1.08) drop-shadow(0 7px 10px rgba(18,22,34,.18));
  clip-path: inset(0 0 0 0 round 0 0 999px 999px);
  pointer-events: none;
}

.usage-counter {
  position: absolute;
  right: -8px;
  bottom: -5px;
  min-width: 42px;
  padding: 4px 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  border-radius: 999px;
  background: #6f45ff;
  box-shadow:
    0 8px 18px rgba(111,69,255,.28),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.usage-counter.is-warning {
  background: #d84a62;
}

.usage-counter.is-muted {
  background: #8a93a7;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  width: 280px;
  padding: 14px;
  border: 1px solid rgba(20,22,28,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow:
    0 24px 54px rgba(18,22,34,.16),
    inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
}

.account-name {
  color: var(--text);
  font-weight: 850;
  font-size: 15px;
}

.account-provider {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.account-email {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(20,22,28,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
}

.account-summary b {
  color: var(--text);
  text-align: right;
}

.account-cabinet {
  width: 100%;
  min-height: 40px;
  margin: 6px 0 8px;
  cursor: pointer;
  color: #fff;
  font-weight: 850;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 42%),
    linear-gradient(180deg, #835fff 0%, #6846f0 100%);
  box-shadow:
    0 12px 22px rgba(18, 22, 34, .12),
    0 4px 0 rgba(40,43,54,.16),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.account-logout {
  width: 100%;
  min-height: 40px;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(20,22,28,.10),
    0 10px 18px rgba(18,22,34,.08),
    0 3px 0 rgba(40,43,54,.12);
}

@keyframes buttonShine {
  from {
    left: -80%;
  }
  to {
    left: 130%;
  }
}

@keyframes buttonShineLoop {
  from {
    left: -80%;
  }
  to {
    left: 130%;
  }
}

@keyframes logoWiggle {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  28% {
    transform: translateY(-5px) rotate(-4deg) scale(1.08);
  }
  58% {
    transform: translateY(-6px) rotate(3deg) scale(1.1);
  }
  100% {
    transform: translateY(-5px) rotate(0deg) scale(1.08);
  }
}

@keyframes logoShine {
  from {
    left: -72%;
  }
  to {
    left: 132%;
  }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 220px;
  margin: 34px 0 24px;
  padding: 44px 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-art {
  display: none;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.hero-copy span {
  color: var(--accent);
}

.hero-copy p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1.15fr .9fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.pixel-card {
  height: 760px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-head,
.card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.step {
  width: 62px;
  height: 62px;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  font-weight: 800;
  border-radius: 0;
  background: transparent center / contain no-repeat;
  filter: drop-shadow(0 12px 18px rgba(63, 45, 145, .18));
  transition: transform .14s cubic-bezier(.2,.9,.25,1.35), filter .14s ease;
}

.step-1 {
  background-image: url("assets/paw-step-1.png");
}

.step-2 {
  background-image: url("assets/paw-step-2.png");
}

.step-3 {
  background-image: url("assets/paw-step-3.png");
}

.step-4 {
  background-image: url("assets/paw-step-4.png");
}

.card-title h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.main-action {
  flex: 1;
  height: 48px;
}

.media-stage {
  position: relative;
  height: 540px;
  min-height: 0;
  overflow: hidden;
  border-radius: 26px;
}

.drop-zone {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1.5px dashed rgba(111, 69, 255, .32);
  border-radius: 26px;
  background: var(--panel-inner-bg);
  text-align: center;
  cursor: pointer;
  transition:
    opacity .34s cubic-bezier(.2,.8,.2,1),
    transform .34s cubic-bezier(.2,.8,.2,1),
    filter .34s ease,
    border-color .16s ease,
    background .16s ease;
  will-change: opacity, transform, filter;
}

.drop-zone:hover {
  border-color: rgba(111, 69, 255, .62);
  background:
    radial-gradient(circle at 72% 18%, rgba(111, 69, 255, .055), transparent 32%),
    var(--panel-inner-bg);
}

.drop-zone input {
  display: none;
}

.drop-zone strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.drop-zone span {
  color: var(--muted);
  font-size: 15px;
}

.upload-button {
  width: 235px;
  margin-top: 0;
}

.upload-action-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.upload-action-row .step {
  width: 58px;
  height: 58px;
  margin-left: -8px;
  margin-right: -2px;
}

.film-icon {
  width: 176px;
  height: 154px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: url("assets/cat-logo-video.png") center / contain no-repeat;
  box-shadow: none;
  transition: transform .14s cubic-bezier(.2,.9,.25,1.35), filter .14s ease;
}

.film-icon::before {
  content: none;
}

.film-icon::after {
  content: none;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 24px;
  background: #10131d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 18px 46px rgba(31,35,48,.16);
  opacity: 0;
  transform: scale(.965) translateY(18px);
  pointer-events: none;
  transition:
    opacity .38s cubic-bezier(.2,.8,.2,1),
    transform .38s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s ease;
  will-change: opacity, transform;
}

.media-stage.has-video .drop-zone {
  opacity: 0;
  transform: scale(.975) translateY(-16px);
  filter: blur(3px);
  pointer-events: none;
}

.media-stage.has-video .video-wrap {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.media-stage.is-switching .video-wrap {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 22px 56px rgba(31,35,48,.20);
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.remove-video-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 14px;
  color: #fff;
  background: rgba(227, 77, 106, .96);
  box-shadow: 0 12px 28px rgba(95, 23, 43, .24);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

.remove-video-button:hover {
  transform: translateY(-1px) scale(1.04);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(95, 23, 43, .28);
}

.remove-video-button:active {
  transform: translateY(1px) scale(.98);
}

.caption-layer {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 92px;
  color: #fff;
  text-align: center;
  line-height: 1.12;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0,0,0,.80), 0 1px 2px rgba(0,0,0,.8);
  pointer-events: none;
}

.recognition-progress {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0 16px;
  color: #2b2d35;
  font-size: 14px;
  font-weight: 750;
  border: 1px solid rgba(20, 22, 28, .08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(247,248,252,.86));
  box-shadow:
    0 12px 26px rgba(18, 22, 34, .08),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.progress-pulse {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(111, 69, 255, .34);
  animation: progressPulse 1.05s ease-out infinite;
}

.recognition-progress.done .progress-pulse {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(40, 166, 90, .12);
  animation: none;
}

.recognition-progress.error {
  color: #8d2039;
  background: #fff0f3;
  border-color: rgba(227, 77, 106, .16);
}

.recognition-progress.error .progress-pulse {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(227, 77, 106, .12);
  animation: none;
}

.speech-language {
  min-height: 38px;
  margin-top: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  border: 1px solid rgba(20, 22, 28, .08);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(248, 249, 253, .82));
  box-shadow:
    0 14px 26px rgba(31, 35, 48, .08),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.speech-language::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(111,69,255,.12);
}

.feedback-modal,
.auth-modal,
.cabinet-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
}

.feedback-backdrop,
.auth-backdrop,
.cabinet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 24, .42);
  backdrop-filter: blur(10px);
}

.feedback-card,
.auth-card,
.cabinet-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 69, 255, .12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,248,252,.92));
  box-shadow:
    0 34px 90px rgba(20, 23, 34, .30),
    inset 0 1px 0 rgba(255,255,255,.86);
  transform: translateY(0) scale(1);
  animation: feedbackIn .22s cubic-bezier(.2,.85,.25,1.2);
}

.auth-card {
  width: min(100%, 430px);
  padding: 30px;
}

.cabinet-card {
  width: min(100%, 560px);
}

.feedback-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  box-shadow:
    inset 0 0 0 1px rgba(20,22,28,.08),
    0 10px 22px rgba(31,35,48,.10);
}

.feedback-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 44px;
  margin-bottom: 22px;
}

.feedback-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 42%),
    linear-gradient(145deg, #835fff, #6846f0);
  box-shadow:
    0 18px 34px rgba(31,35,48,.16),
    inset 0 1px 0 rgba(255,255,255,.36);
}

.feedback-head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.feedback-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.feedback-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.feedback-field input,
.feedback-field textarea {
  width: 100%;
  border: 1px solid rgba(20,22,28,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 12px 24px rgba(31,35,48,.06);
  color: var(--text);
  outline: none;
}

.feedback-field input {
  height: 48px;
  padding: 0 16px;
}

.feedback-field textarea {
  min-height: 132px;
  padding: 14px 16px;
  resize: vertical;
}

.feedback-field input:focus,
.feedback-field textarea:focus {
  border-color: rgba(111,69,255,.46);
  box-shadow:
    0 0 0 4px rgba(111,69,255,.10),
    inset 0 1px 0 rgba(255,255,255,.72),
    0 12px 24px rgba(31,35,48,.06);
}

.feedback-status {
  margin: 4px 0 14px;
  padding: 12px 14px;
  color: #2b2d35;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 16px;
  background: rgba(111,69,255,.08);
}

.feedback-status.error {
  color: #8d2039;
  background: #fff0f3;
}

.feedback-submit {
  width: 100%;
  height: 50px;
}

.auth-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 44px 2px;
  margin-bottom: 22px;
  text-align: center;
}

.auth-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: transparent url("assets/brand-kitten-sign.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 16px rgba(31,35,48,.12));
}

.auth-head h3 {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
}

.auth-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.auth-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.auth-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.auth-card.is-login .auth-field:first-of-type {
  display: none;
}

.auth-captcha-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  align-items: center;
}

.auth-captcha-question {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(20,22,28,.16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(245,242,255,.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 10px 22px rgba(31,35,48,.07);
  font-size: 16px;
  font-weight: 900;
}

.auth-captcha-refresh {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #8d6bff 0%, #6440ea 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.32),
    inset 0 -4px 0 rgba(50,25,150,.24),
    0 10px 18px rgba(31,35,48,.18);
  font-size: 20px;
  font-weight: 900;
}

.auth-captcha-refresh:hover {
  transform: translateY(-2px);
}

.auth-captcha-refresh:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 6px rgba(25,15,70,.28),
    0 4px 10px rgba(31,35,48,.16);
}

.auth-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--text);
  font-weight: 650;
  border: 1px solid rgba(20,22,28,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.86);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    0 10px 20px rgba(31,35,48,.06);
}

.auth-field input:focus {
  border-color: rgba(111,69,255,.44);
  box-shadow:
    0 0 0 4px rgba(111,69,255,.10),
    inset 0 1px 0 rgba(255,255,255,.82),
    0 10px 20px rgba(31,35,48,.06);
}

.auth-password-wrap {
  position: relative;
  display: block;
}

.auth-password-wrap input {
  padding-right: 48px;
}

.auth-eye {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 900;
}

.auth-eye.is-visible {
  color: var(--accent);
}

.auth-submit {
  width: 100%;
  height: 50px;
  margin: 10px 0 18px;
}

.auth-status {
  margin: 4px 0 12px;
  padding: 11px 13px;
  color: #2b2d35;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  border-radius: 14px;
  background: rgba(111,69,255,.08);
}

.auth-status.error {
  color: #8d2039;
  background: #fff0f3;
}

.auth-dev-link {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(20,22,28,.14);
}

.auth-providers {
  display: grid;
  gap: 10px;
}

.auth-provider {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
  text-align: left;
  border: 1px solid rgba(20,22,28,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 12px 24px rgba(31,35,48,.06);
  transition:
    transform .12s cubic-bezier(.2,.9,.25,1.35),
    box-shadow .12s ease,
    border-color .12s ease;
}

.auth-provider:hover {
  transform: translateY(-5px) scale(1.018);
  border-color: rgba(111,69,255,.20);
  box-shadow:
    0 20px 36px rgba(31,35,48,.14),
    inset 0 1px 0 rgba(255,255,255,.78);
}

.auth-provider:active {
  transform: translateY(3px) scale(.98);
  box-shadow:
    inset 0 5px 12px rgba(18,22,34,.16),
    0 4px 12px rgba(31,35,48,.10);
}

.provider-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.44),
    inset 0 -2px 0 rgba(20,22,28,.12),
    0 12px 20px rgba(18,22,34,.12);
  transition: transform .16s cubic-bezier(.2,.9,.25,1.35), filter .16s ease;
}

.auth-provider:hover .provider-logo {
  animation: logoWiggle .38s ease-out both;
  filter: drop-shadow(0 14px 20px rgba(31,35,48,.16));
}

.google-logo {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.72), transparent 32%),
    #fff;
}

.google-logo {
  color: transparent;
  font-size: 0;
}

.google-logo::before {
  content: "G";
  font-size: 22px;
  font-weight: 900;
  background: conic-gradient(from -35deg, #4285f4 0 27%, #34a853 0 45%, #fbbc05 0 69%, #ea4335 0 86%, #4285f4 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vk-logo {
  color: #fff;
  font-size: 15px;
  letter-spacing: -.06em;
  background: linear-gradient(145deg, #3194f4, #1e6fbe);
}

.yandex-logo {
  color: #e00000;
  font-size: 22px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.60), transparent 32%),
    #fff;
}

.auth-login-link {
  display: block;
  margin: 18px auto 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  border: 0;
  background: transparent;
}

.auth-login-link:hover {
  color: var(--accent);
}

.cabinet-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 44px;
  margin-bottom: 22px;
}

.cabinet-avatar {
  flex: 0 0 auto;
}

.cabinet-head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.cabinet-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cabinet-tile {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(20,22,28,.10);
  border-radius: 20px;
  background: var(--panel-inner-bg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 12px 24px rgba(31,35,48,.06);
}

.cabinet-tile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.cabinet-tile b {
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}

.cabinet-note {
  margin-top: 14px;
  padding: 13px 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  border-radius: 16px;
  background: rgba(111,69,255,.08);
}

.admin-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(20,22,28,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
}

.admin-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.admin-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.admin-search-row input {
  min-width: 0;
  padding: 12px 13px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(20,22,28,.12);
  border-radius: 12px;
  background: #fff;
}

.admin-status {
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.admin-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(20,22,28,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
}

.admin-user-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-user-row b {
  color: var(--text);
}

.admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-user-actions button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
}

@keyframes feedbackIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes progressPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(111, 69, 255, .34);
    transform: scale(.92);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(111, 69, 255, 0);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(111, 69, 255, 0);
    transform: scale(.92);
  }
}

.file-info {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.file-info p {
  margin: 0;
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  color: #8d2039;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 18px;
  background: #fff0f3;
  box-shadow: inset 0 0 0 1px rgba(227, 77, 106, .16);
}

.slider-box {
  display: block;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-inner-bg);
}

.slider-box span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.slider-box b {
  color: var(--accent);
  font-size: 18px;
}

.slider-box input {
  width: 100%;
  accent-color: var(--accent);
}

.export-row {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr 118px;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-inner-bg);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.export-row:hover {
  border-color: rgba(111, 69, 255, .18);
  box-shadow: 0 16px 34px rgba(31, 35, 48, .10);
}

.export-row:first-of-type {
  grid-template-columns: 106px 1fr 118px;
}

.export-row p {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.file-icon {
  width: 92px;
  height: 76px;
  position: relative;
  overflow: visible;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  font-weight: 800;
  border-radius: 0;
  background: transparent center / contain no-repeat;
  letter-spacing: -.03em;
  box-shadow: none;
}

.file-icon.pr {
  background:
    radial-gradient(circle at 26% 18%, rgba(255,255,255,.32), transparent 22%),
    linear-gradient(145deg, #32206f 0%, #6d42f0 62%, #9b78ff 100%);
}

.file-icon.pr::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -11px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  transform: rotate(12deg);
}

.file-icon.srt {
  color: #fff;
  font-size: 12px;
  background:
    linear-gradient(#ffffff, #ffffff) 12px 12px / 24px 3px no-repeat,
    linear-gradient(#ffffff, #ffffff) 12px 21px / 20px 3px no-repeat,
    linear-gradient(#ffffff, #ffffff) 12px 30px / 24px 3px no-repeat,
    linear-gradient(145deg, #2b2241, #5a2a78);
}

.file-icon.srt::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.20);
}

.file-icon.srt::after {
  content: "SRT";
  position: relative;
  z-index: 1;
  margin-top: 1px;
  color: #ffb24c;
  font-size: 12px;
  font-weight: 900;
}

.file-icon.dr {
  color: transparent;
  background: url("assets/davinci-resolve-logo.png") center / contain no-repeat;
  border: 0;
  border-radius: 14px;
  box-shadow:
    0 10px 22px rgba(31,35,48,.12);
}

.file-icon.dr::before {
  content: none;
}

.file-icon.dr::after {
  content: none;
}

.file-icon.txt {
  background:
    linear-gradient(135deg, transparent 0 73%, #e8ecf6 74% 100%),
    linear-gradient(#b5c0d6, #b5c0d6) 13px 15px / 23px 2px no-repeat,
    linear-gradient(#c8d0e0, #c8d0e0) 13px 25px / 27px 2px no-repeat,
    linear-gradient(#d4dae7, #d4dae7) 13px 35px / 20px 2px no-repeat,
    linear-gradient(180deg, #fff, #f6f8fc);
  box-shadow: inset 0 0 0 1px var(--line);
}

.file-icon.txt::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  border-top: 13px solid #eef2f8;
  border-left: 13px solid transparent;
  filter: drop-shadow(-1px 1px 0 rgba(20,22,28,.08));
}

.file-icon.xml {
  color: #ffffff;
  font-size: 11px;
  background:
    radial-gradient(circle at 27% 20%, rgba(255,255,255,.30), transparent 22%),
    linear-gradient(145deg, #123a62, #176ca0 62%, #2ab6df);
}

.file-icon.xml::before {
  content: none;
}

.file-icon.xml::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  transform: rotate(12deg);
}

.file-icon.premiere {
  color: #a9a2ff;
  font-size: 23px;
  letter-spacing: -.08em;
  background:
    linear-gradient(135deg, rgba(255,255,255,.20), transparent 24%),
    linear-gradient(315deg, rgba(0,0,0,.18), transparent 28%),
    #07006b;
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,.16),
    inset -3px -3px 0 rgba(0,0,0,.28),
    0 10px 22px rgba(31,35,48,.12);
}

.file-icon.premiere::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 12px;
  border-top: 1px solid rgba(255,255,255,.16);
  border-left: 1px solid rgba(255,255,255,.12);
  border-right: 1px solid rgba(0,0,0,.16);
  border-bottom: 1px solid rgba(0,0,0,.22);
  pointer-events: none;
}

.file-icon,
.file-icon.premiere,
.file-icon.dr,
.file-icon.txt,
.file-icon.xml {
  width: 92px;
  height: 76px;
  position: relative;
  overflow: visible;
  color: transparent;
  font-size: 0;
  border: 0;
  border-radius: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: none;
  transition: transform .14s cubic-bezier(.2,.9,.25,1.35), filter .14s ease;
}

.file-icon::before,
.file-icon::after,
.file-icon.premiere::before,
.file-icon.premiere::after,
.file-icon.dr::before,
.file-icon.dr::after,
.file-icon.txt::before,
.file-icon.txt::after,
.file-icon.xml::before,
.file-icon.xml::after {
  content: none !important;
}

.file-icon.premiere {
  background: transparent url("assets/cat-logo-premiere.png") center / contain no-repeat;
  width: 106px;
  height: 88px;
  margin-left: -7px;
  filter: drop-shadow(0 10px 16px rgba(27, 21, 80, .16));
}

.file-icon.dr {
  background: transparent url("assets/cat-logo-davinci.png") center / contain no-repeat;
}

.file-icon.txt {
  background: transparent url("assets/cat-logo-text.png") center / contain no-repeat;
}

.file-icon.xml {
  background: transparent url("assets/cat-logo-xml.png") center / contain no-repeat;
}

.step::before,
.film-icon::before,
.file-icon::before {
  content: "" !important;
  position: absolute;
  z-index: 2;
  top: -28%;
  bottom: -28%;
  left: -72%;
  width: 34%;
  transform: rotate(20deg);
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.08) 24%,
      rgba(255,255,255,.72) 50%,
      rgba(255,255,255,.12) 76%,
      transparent 100%);
}

.card-head:hover .step,
.upload-action-row:hover .step,
.drop-zone:hover .film-icon,
.export-row:hover .file-icon {
  animation: logoWiggle .38s ease-out both;
  filter:
    drop-shadow(0 15px 22px rgba(31, 35, 48, .18))
    drop-shadow(0 0 16px rgba(111, 69, 255, .14));
}

.card-head:hover .step::before,
.upload-action-row:hover .step::before,
.drop-zone:hover .film-icon::before,
.export-row:hover .file-icon::before {
  opacity: 0;
  animation: none;
}

.card-head:hover .main-action,
.upload-action-row:hover .upload-button,
.export-row:hover .small {
  transform: translateY(-7px) scale(1.035);
  box-shadow:
    0 26px 48px rgba(18, 22, 34, .18),
    0 10px 0 rgba(40, 43, 54, .18),
    0 0 0 1px rgba(255,255,255,.18),
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 0 rgba(24, 27, 38, .10);
}

.card-head:hover .main-action::before,
.upload-action-row:hover .upload-button::before,
.export-row:hover .small::before {
  opacity: 1;
  animation: buttonShine .58s ease-out;
}

.small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.hidden {
  display: none !important;
}
