@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-cyrillic-400.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-500.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-cyrillic-500.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-600.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-cyrillic-600.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

:root {
  --c-primary-1: #fe7338;
  --c-primary-2: #fe8856;
  --c-error: #ff3434;
  --c-text-1: #1c1c1c;
  --c-text-2: #777;
  --c-text-3: #bbb;
  --c-white: #fff;
  --c-bg: #fff;
  --c-island-1: #f4f4f4;
  --c-island-2: #eaeaea;
  --c-island-3: #dfdfdf;
  --c-stroke-7: #ddd;
  --c-stroke-1: #e9e9e9;
  --c-stroke-2: #ededed;
  --c-stroke-3: #f3f3f3;
  --c-white-15: rgba(251, 251, 251, .15);
  --c-card-hover-overlay: rgba(255, 255, 255, .5);
  --c-btn-inset-highlight: rgba(255, 255, 255, .33);
  --grad-primary: linear-gradient(to top, #fe7338 0%, #fe8856 100%);
  --ring-primary: 0 0 0 1px #fe7338;
  --inset-primary: inset 0 1px 0 rgba(255, 255, 255, .33);
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  --h1-size: 56px;
  --h1-lh: 64px;
  --h3-size: 32px;
  --h3-lh: 44px;
  --h4-size: 24px;
  --h4-lh: 32px;
  --h5-size: 20px;
  --h5-lh: 28px;
  --body-r-size: 16px;
  --body-r-lh: 24px;
  --body-s-size: 14px;
  --body-s-lh: 20px;
  --body-m-size: 18px;
  --body-m-lh: 28px;
  --btn-r-size: 18px;
  --btn-r-lh: 24px;
  --btn-s-size: 14px;
  --btn-s-lh: 20px;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --s-4: 4px;
  --s-6: 6px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-20: 20px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;
  --page-pad-x: 32px;
  --page-pad-b: 32px;
  --header-h: 80px;
  --content-width: 1440px;
  --r-4: 4px;
  --r-6: 6px;
  --r-8: 8px;
  --r-16: 16px;
  --r-24: 24px;
  --shadow-card: none;
}

*, :before, :after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-regular);
  color: var(--c-text-1);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  letter-spacing: 0;
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  padding: 0;
  list-style: none;
}

.h1 {
  font-size: var(--h1-size);
  line-height: var(--h1-lh);
  font-weight: var(--w-semibold);
}

.h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-lh);
  font-weight: var(--w-semibold);
}

.h4 {
  font-size: var(--h4-size);
  line-height: var(--h4-lh);
  font-weight: var(--w-semibold);
}

.h5 {
  font-size: var(--h5-size);
  line-height: var(--h5-lh);
  font-weight: var(--w-semibold);
}

.body-r {
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-regular);
}

.body-r-m {
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-medium);
}

.body-s {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  font-weight: var(--w-regular);
}

.body-s-m {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  font-weight: var(--w-medium);
}

.text-2 {
  color: var(--c-text-2);
}

.text-3 {
  color: var(--c-text-3);
}

.text-primary {
  color: var(--c-primary-1);
}

.text-error {
  color: var(--c-error);
}

.app-main {
  padding: var(--s-32) var(--page-pad-x) var(--page-pad-b);
}

.app-main--bare {
  padding: 0;
}

.header {
  align-items: center;
  gap: var(--s-48);
  height: var(--header-h);
  padding: var(--s-24) var(--page-pad-x);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-stroke-1);
  display: flex;
}

.header__logo {
  flex: none;
  align-items: center;
  display: flex;
}

.header__logo img {
  width: auto;
  height: 32px;
}

.header__subline {
  text-align: center;
  color: var(--c-text-1);
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  font-weight: var(--w-regular);
  flex: 1;
}

.header__right {
  align-items: center;
  gap: var(--s-12);
  flex: none;
  display: flex;
}

.header__nav {
  align-items: center;
  gap: var(--s-12);
  display: flex;
}

.header__nav a {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-2);
}

.header__nav a:hover {
  color: var(--c-text-1);
}

.header__user {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-2);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
}

.icon-btn-40 {
  width: 40px;
  height: 40px;
  padding: var(--s-8);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-8);
  color: var(--c-text-1);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.icon-btn-40:hover {
  background: var(--c-island-2);
}

.btn {
  justify-content: center;
  align-items: center;
  gap: var(--s-8);
  border-radius: var(--r-8);
  font-weight: var(--w-medium);
  white-space: nowrap;
  transition: filter .12s, background .12s;
  display: inline-flex;
}

.btn--regular {
  padding: var(--s-12) var(--s-16);
  font-size: var(--btn-r-size);
  line-height: var(--btn-r-lh);
}

.btn--small {
  padding: var(--s-6) var(--s-12);
  border-radius: var(--r-8);
  font-size: var(--btn-s-size);
  line-height: var(--btn-s-lh);
  font-weight: var(--w-regular);
}

.btn--primary {
  background: var(--grad-primary);
  color: var(--c-white);
  box-shadow: var(--ring-primary), var(--inset-primary);
}

.btn--primary:hover {
  filter: brightness(1.03);
}

.btn--secondary {
  background: var(--c-island-1);
  color: var(--c-text-1);
  border: 1px solid var(--c-stroke-7);
}

.btn--secondary:hover {
  background: var(--c-island-2);
}

.btn--error {
  background: var(--c-island-1);
  color: var(--c-text-1);
  border: 1px solid var(--c-stroke-7);
}

.btn--error svg {
  color: var(--c-error);
}

.btn:disabled, .btn--disabled {
  background: var(--c-stroke-3);
  color: var(--c-text-3);
  box-shadow: none;
  opacity: .5;
  cursor: not-allowed;
  filter: none;
  border: none;
}

.btn:disabled svg, .btn--disabled svg {
  color: var(--c-text-3);
}

.chip {
  align-items: center;
  gap: var(--s-8);
  padding: var(--s-4) var(--s-16);
  border-radius: var(--r-8);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-regular);
  display: inline-flex;
}

.chip--active {
  background: var(--grad-primary);
  color: var(--c-white);
  border: 1px solid var(--c-white-15);
  box-shadow: var(--inset-primary);
}

.chip--inactive {
  background: var(--c-island-2);
  color: var(--c-text-2);
  backdrop-filter: blur(10px);
}

.field {
  gap: var(--s-4);
  flex-direction: column;
  display: flex;
}

.field__label {
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-regular);
  color: var(--c-text-2);
}

.field__control {
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-6) var(--s-8) var(--s-6) var(--s-6);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-2);
  border-radius: var(--r-8);
  display: flex;
}

.field__input {
  min-width: 0;
  padding: var(--s-4) var(--s-8);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-medium);
  color: var(--c-text-1);
  background: none;
  border: none;
  outline: none;
  flex: 1;
}

.field__input::placeholder {
  color: var(--c-text-3);
  font-weight: var(--w-regular);
}

.field__adornment {
  background: var(--c-island-3);
  border-radius: var(--r-6);
  width: 28px;
  height: 28px;
  color: var(--c-text-1);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.select__control {
  position: relative;
}

.select__control select {
  appearance: none;
  width: 100%;
  padding: var(--s-4) var(--s-8);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-medium);
  color: var(--c-text-1);
  background: none;
  border: none;
  outline: none;
}

.select__chevron {
  width: 24px;
  height: 24px;
  color: var(--c-text-2);
  pointer-events: none;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.slide-card {
  gap: var(--s-8);
  flex-direction: column;
  width: 220px;
  display: flex;
}

.slide-card__thumb {
  aspect-ratio: 256 / 144;
  border: 1px solid var(--c-stroke-2);
  border-radius: var(--r-8);
  width: 100%;
  padding: var(--s-8);
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

.slide-card__thumb img {
  object-fit: cover;
  border-radius: var(--r-4);
  width: 100%;
  height: 100%;
}

.slide-card__caption {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-1);
  text-align: center;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
  display: -webkit-box;
  overflow: hidden;
}

.slide-card__overlay {
  background: var(--c-card-hover-overlay);
  backdrop-filter: blur(2px);
  border-radius: var(--r-8);
  opacity: 0;
  justify-content: center;
  align-items: center;
  transition: opacity .12s;
  display: flex;
  position: absolute;
  inset: -1px;
}

.slide-card__thumb:hover .slide-card__overlay, .slide-card.is-hover .slide-card__overlay {
  opacity: 1;
}

.slide-card__add {
  width: 40px;
  height: 40px;
  padding: var(--s-8);
  background: var(--grad-primary);
  border-radius: var(--r-8);
  color: var(--c-white);
  box-shadow: var(--ring-primary), var(--inset-primary);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.slide-card__maximize {
  width: 20px;
  height: 20px;
  color: var(--c-text-1);
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: absolute;
  bottom: 7px;
  right: 7px;
}

.edit-row {
  align-items: center;
  gap: var(--s-12);
  width: 586px;
  max-width: 100%;
  display: flex;
}

.edit-row__handle {
  width: 20px;
  height: 20px;
  color: var(--c-text-2);
  cursor: grab;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.edit-row__index {
  text-align: center;
  width: 24px;
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  color: var(--c-text-1);
  flex: none;
}

.edit-row__thumb {
  border: 1px solid var(--c-stroke-2);
  border-radius: var(--r-4);
  background: var(--c-bg);
  flex: none;
  width: 156px;
  height: 88px;
  overflow: hidden;
}

.edit-row__thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.edit-row__caption {
  width: 220px;
  min-width: 0;
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-1);
  flex: 1;
}

.edit-row__actions {
  align-items: center;
  gap: var(--s-8);
  flex: none;
  display: flex;
}

.icon-btn-20 {
  width: 20px;
  height: 20px;
  padding: var(--s-6);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-6);
  color: var(--c-text-1);
  box-sizing: content-box;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.icon-btn-20:hover {
  background: var(--c-island-2);
}

.icon-btn-20--delete {
  color: var(--c-error);
}

.cat-line {
  align-items: center;
  gap: var(--s-8);
  width: 552px;
  max-width: 100%;
  min-height: 44px;
  padding: var(--s-8);
  display: flex;
}

.cat-line--first {
  border-bottom: 1px solid var(--c-stroke-1);
}

.cat-line--second {
  padding-left: var(--s-16);
  padding-right: var(--s-8);
  border-bottom: none;
}

.cat-line--selected {
  background: var(--c-island-1);
}

.cat-line__label {
  min-width: 0;
  font-size: var(--body-m-size);
  line-height: var(--body-m-lh);
  font-weight: var(--w-regular);
  color: var(--c-text-1);
  flex: 1;
}

.cat-line__icon {
  width: 20px;
  height: 20px;
  color: var(--c-text-2);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.cat-line__check {
  color: var(--c-text-3);
}

.card {
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-1);
  border-radius: var(--r-24);
  padding: var(--s-24);
}

.panel-island {
  background: var(--c-island-1);
  border-radius: var(--r-24);
  padding: var(--s-24);
}

.modal-scrim {
  z-index: 100;
  background: rgba(28, 28, 28, .4);
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal-card {
  background: var(--c-bg);
  border-radius: var(--r-24);
  padding: var(--s-24);
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
  overflow: auto;
}

.stepper, .stepper__step {
  align-items: center;
  gap: var(--s-8);
  display: flex;
}

.stepper__dot {
  width: 24px;
  height: 24px;
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  background: var(--c-island-1);
  color: var(--c-text-2);
  border: 1px solid var(--c-stroke-7);
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.stepper__step--active .stepper__dot {
  background: var(--grad-primary);
  color: var(--c-white);
  border: 1px solid var(--c-white-15);
  box-shadow: var(--inset-primary);
}

.stepper__step--done .stepper__dot {
  background: var(--c-primary-1);
  color: var(--c-white);
  border-color: var(--c-primary-1);
}

.stepper__label {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-2);
}

.stepper__step--active .stepper__label {
  color: var(--c-text-1);
  font-weight: var(--w-medium);
}

.stepper__bar {
  background: var(--c-stroke-1);
  width: 32px;
  height: 1px;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  align-items: flex-end;
  gap: var(--s-48);
  padding: var(--s-64) var(--page-pad-x);
  background-color: var(--c-bg);
  background-image: radial-gradient(120% 90% at 85% 0, #fff 30%, rgba(255, 255, 255, 0) 70%), radial-gradient(80% 80% at 70% 60%, rgba(254, 136, 86, .16) 0%, rgba(254, 115, 56, 0) 60%), linear-gradient(#fbece4 0%, #f7f4f2 100%);
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero__col {
  z-index: 1;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  max-width: 760px;
  display: flex;
  position: relative;
}

.hero__logo img {
  width: auto;
  height: 32px;
}

.hero__bottom {
  gap: var(--s-32);
  flex-direction: column;
  display: flex;
}

.hero__headgroup {
  gap: var(--s-16);
  flex-direction: column;
  display: flex;
}

.hero__title {
  font-size: var(--h1-size);
  line-height: var(--h1-lh);
  font-weight: var(--w-semibold);
  color: var(--c-primary-1);
}

.hero__subhead {
  font-size: var(--h4-size);
  line-height: var(--h4-lh);
  font-weight: var(--w-semibold);
  color: var(--c-text-1);
}

.hero__ctas {
  align-items: center;
  gap: var(--s-8);
  display: flex;
}

.hero__pill {
  right: var(--page-pad-x);
  bottom: var(--s-64);
  z-index: 1;
  padding: var(--s-6) var(--s-12);
  background: var(--c-text-1);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-6);
  color: var(--c-white);
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  align-items: center;
  display: inline-flex;
  position: absolute;
}

.hero__pill strong {
  font-weight: var(--w-semibold);
  margin-left: 4px;
}

.login {
  min-height: 100vh;
  padding: var(--s-32);
  background-color: var(--c-bg);
  background-image: radial-gradient(120% 90% at 85% 0, #fff 30%, rgba(255, 255, 255, 0) 70%), radial-gradient(80% 80% at 30% 70%, rgba(254, 136, 86, .14) 0%, rgba(254, 115, 56, 0) 60%), linear-gradient(#fbece4 0%, #f7f4f2 100%);
  justify-content: center;
  align-items: center;
  display: flex;
}

.login__card {
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-1);
  border-radius: var(--r-24);
  width: 420px;
  max-width: 100%;
  padding: var(--s-32);
  align-items: center;
  gap: var(--s-24);
  flex-direction: column;
  display: flex;
}

.login__logo img {
  width: auto;
  height: 32px;
}

.login__heading {
  text-align: center;
  gap: var(--s-8);
  flex-direction: column;
  display: flex;
}

.login__title {
  font-size: var(--h4-size);
  line-height: var(--h4-lh);
  font-weight: var(--w-semibold);
  color: var(--c-text-1);
}

.login__subtitle {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-2);
}

.btn-google {
  justify-content: center;
  align-items: center;
  gap: var(--s-8);
  width: 100%;
  padding: var(--s-12) var(--s-16);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-8);
  color: var(--c-text-1);
  font-size: var(--btn-r-size);
  line-height: var(--btn-r-lh);
  font-weight: var(--w-medium);
  display: inline-flex;
}

.btn-google:hover {
  background: var(--c-island-2);
}

.dev-login {
  width: 100%;
  margin-top: var(--s-8);
  padding-top: var(--s-16);
  border-top: 1px dashed var(--c-stroke-1);
  gap: var(--s-8);
  flex-direction: column;
  align-items: center;
  display: flex;
}

.dev-login__hint {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-3);
}

.dev-login__row {
  gap: var(--s-8);
  display: flex;
}

.gallery {
  padding: var(--s-32) var(--page-pad-x);
  gap: var(--s-40);
  flex-direction: column;
  display: flex;
}

.gallery__section {
  gap: var(--s-16);
  flex-direction: column;
  display: flex;
}

.gallery__section > h2 {
  font-size: var(--h4-size);
  line-height: var(--h4-lh);
  font-weight: var(--w-semibold);
  color: var(--c-text-1);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--c-stroke-1);
}

.gallery__row {
  align-items: flex-start;
  gap: var(--s-24);
  flex-wrap: wrap;
  display: flex;
}

.gallery__group {
  gap: var(--s-8);
  flex-direction: column;
  display: flex;
}

.gallery__caption {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  color: var(--c-text-2);
}

.row {
  align-items: center;
  display: flex;
}

.col {
  flex-direction: column;
  display: flex;
}

.gap-8 {
  gap: var(--s-8);
}

.gap-12 {
  gap: var(--s-12);
}

.gap-16 {
  gap: var(--s-16);
}

.gap-24 {
  gap: var(--s-24);
}

.muted {
  color: var(--c-text-2);
}

.flag {
  flex: none;
  width: 20px;
  height: 20px;
}

.brand-logo-sm {
  width: auto;
  height: 20px;
}

.step-page {
  gap: var(--s-32);
  flex-direction: column;
  display: flex;
}

.step-page__head {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-24);
  display: flex;
}

.step-page__footer {
  justify-content: flex-end;
  display: flex;
}

.settings-card {
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-1);
  border-radius: var(--r-24);
  padding: var(--s-24);
  gap: var(--s-24);
  flex-direction: column;
  display: flex;
}

.settings-card__row {
  align-items: flex-start;
  gap: var(--s-24);
  display: flex;
}

.settings-card__divider {
  background: var(--c-stroke-1);
  align-self: stretch;
  width: 1px;
}

.settings-field {
  gap: var(--s-8);
  flex-direction: column;
  display: flex;
}

.settings-field--name {
  width: 500px;
  max-width: 100%;
}

.lang-pill, .brand-pill {
  justify-content: center;
  align-items: center;
  gap: var(--s-8);
  border-radius: var(--r-8);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  color: var(--c-text-1);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-medium);
  transition: filter .12s, background .12s;
  display: inline-flex;
}

.lang-pill {
  padding: var(--s-12) var(--s-16);
}

.lang-pill__flag {
  font-size: 18px;
  line-height: 1;
}

.lang-pill--active, .brand-pill--active {
  background: var(--grad-primary);
  color: var(--c-white);
  border: 1px solid var(--c-white-15);
  box-shadow: var(--inset-primary);
}

.brand-pill {
  width: 160px;
  height: 48px;
  padding: var(--s-8) var(--s-12);
}

.brand-pill__logo {
  width: auto;
  max-height: 20px;
}

.brand-pill--active .brand-pill__logo {
  filter: brightness(0) invert();
}

.template-layout {
  align-items: stretch;
  gap: var(--s-24);
  min-height: 520px;
  display: flex;
}

.template-list {
  gap: var(--s-24);
  flex-direction: column;
  flex: 1;
  display: flex;
}

.template-list__chips {
  gap: var(--s-8);
  flex-wrap: wrap;
  display: flex;
}

.template-list__footer {
  margin-top: auto;
}

.template-chip {
  padding: var(--s-6) var(--s-12);
  border-radius: var(--r-8);
  background: var(--c-island-2);
  color: var(--c-text-1);
  font-size: var(--btn-s-size);
  line-height: var(--btn-s-lh);
  font-weight: var(--w-regular);
  align-items: center;
  transition: filter .12s, background .12s;
  display: inline-flex;
}

.template-chip:hover {
  background: var(--c-stroke-7);
}

.template-chip--active {
  background: var(--grad-primary);
  color: var(--c-white);
  border: 1px solid var(--c-white-15);
  box-shadow: var(--inset-primary);
}

.template-chip--active:hover {
  filter: brightness(1.03);
  background: var(--grad-primary);
}

.template-preview {
  gap: var(--s-16);
  flex-direction: column;
  width: 452px;
  max-width: 45%;
  display: flex;
}

.eyebrow {
  color: var(--c-primary-1);
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  font-weight: var(--w-medium);
}

.template-preview__empty {
  text-align: center;
  color: var(--c-text-1);
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.template-preview__list {
  gap: var(--s-16);
  border-top: 1px solid var(--c-stroke-1);
  border-bottom: 1px solid var(--c-stroke-1);
  padding: var(--s-16) 0;
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow-y: auto;
}

.template-preview__list::-webkit-scrollbar {
  width: 4px;
}

.template-preview__list::-webkit-scrollbar-track {
  background: var(--c-stroke-2);
}

.template-preview__list::-webkit-scrollbar-thumb {
  background: var(--c-stroke-7);
  border-radius: var(--r-4);
}

.template-preview__footer {
  gap: var(--s-8);
  display: flex;
}

.constructor {
  align-items: stretch;
  gap: var(--s-24);
  min-height: 560px;
  display: flex;
}

.library {
  gap: var(--s-16);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.library__head {
  align-items: flex-start;
  gap: var(--s-24);
  display: flex;
}

.library__help {
  flex: 1;
  max-width: 476px;
}

.tabbar {
  align-items: center;
  gap: var(--s-8);
  display: flex;
}

.tabbar--sub {
  margin-top: calc(-1 * var(--s-8));
}

.tabbar__scroll {
  align-items: center;
  gap: var(--s-8);
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
}

.tabbar__scroll::-webkit-scrollbar {
  display: none;
}

.tabbar__arrow {
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-8);
  width: 32px;
  height: 32px;
  color: var(--c-text-1);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.tabbar__arrow:hover {
  background: var(--c-island-2);
}

.tabbar__arrow-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.tabbar__arrow-icon--left {
  transform: scaleX(-1);
}

.library .chip {
  cursor: pointer;
  flex: none;
}

.chip--sub {
  font-size: var(--btn-s-size);
  line-height: var(--btn-s-lh);
  padding: var(--s-4) var(--s-12);
}

.library-grid .slide-card {
  width: auto;
}

.library-grid {
  gap: var(--s-16);
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  align-content: start;
  display: grid;
  overflow-y: auto;
}

.library__empty {
  padding: var(--s-24) 0;
  grid-column: 1 / -1;
}

.deck {
  gap: var(--s-16);
  flex-direction: column;
  flex: none;
  width: 612px;
  max-width: 46%;
  display: flex;
}

.deck__controls {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-12);
  display: flex;
}

.deck__clear {
  margin-left: auto;
}

.deck__body {
  border-top: 1px solid var(--c-stroke-1);
  border-bottom: 1px solid var(--c-stroke-1);
  min-height: 0;
  padding: var(--s-16) 0;
  flex: 1;
}

.deck__body--empty {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.deck__empty-text {
  color: var(--c-text-1);
}

.deck__list {
  gap: var(--s-16);
  flex-direction: column;
  display: flex;
  overflow-y: auto;
}

.deck__list::-webkit-scrollbar {
  width: 4px;
}

.deck__list::-webkit-scrollbar-track {
  background: var(--c-stroke-2);
}

.deck__list::-webkit-scrollbar-thumb {
  background: var(--c-stroke-7);
  border-radius: var(--r-4);
}

.deck__footer {
  gap: var(--s-8);
  display: flex;
}

.deck-row__reorder {
  cursor: default;
  flex-direction: column;
  gap: 0;
}

.deck-row__grip {
  width: 16px;
  height: 16px;
  color: var(--c-text-3);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.deck-row__move {
  width: 16px;
  height: 12px;
  color: var(--c-text-2);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.deck-row__move:disabled {
  color: var(--c-text-3);
  opacity: .4;
  cursor: default;
}

.deck-row__move-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
}

.deck-row__move-icon--up {
  transform: scaleY(-1);
}

.slide-detail {
  gap: var(--s-16);
  flex-direction: column;
  display: flex;
}

.slide-detail__art {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--c-stroke-2);
  border-radius: var(--r-16);
  background: var(--c-island-1);
  width: 100%;
  overflow: hidden;
}

.slide-detail__art img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.slide-detail__foot {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-16);
  display: flex;
}

.modal__title {
  text-align: center;
  margin-bottom: var(--s-24);
}

.upload-form {
  gap: var(--s-24);
  flex-direction: column;
  display: flex;
}

.file-sel {
  gap: var(--s-4);
  flex-direction: column;
  display: flex;
}

.file-sel__box {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-16);
  background: var(--c-island-1);
  border-radius: var(--r-8);
  padding: var(--s-16);
  min-height: 76px;
  display: flex;
}

.file-sel__add {
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-8);
  width: 40px;
  height: 40px;
  color: var(--c-text-1);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.upload-form__footer {
  justify-content: flex-end;
  gap: var(--s-12);
  display: flex;
}

.preview {
  gap: var(--s-16);
  flex-direction: column;
  width: 1012px;
  max-width: 100%;
  display: flex;
}

.preview__art {
  aspect-ratio: 1012 / 576;
  border-radius: var(--r-16);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-2);
  width: 100%;
  overflow: hidden;
}

.preview__art img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.preview__art--empty {
  justify-content: center;
  align-items: center;
  display: flex;
}

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

.pager {
  align-items: center;
  gap: var(--s-12);
  display: flex;
}

.pager__arrow {
  width: 20px;
  height: 20px;
  color: var(--c-text-1);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.pager__arrow:disabled {
  color: var(--c-text-3);
  opacity: .5;
  cursor: default;
}

.pager__arrow-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.pager__arrow-icon--left {
  transform: scaleX(-1);
}

.pager__nums {
  align-items: center;
  gap: var(--s-6);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  display: inline-flex;
}

.pager__cur {
  color: var(--c-text-1);
}

.pager__sep {
  color: var(--c-stroke-7);
}

.pager__total {
  color: var(--c-primary-1);
}

.icon-btn-32 {
  width: 32px;
  height: 32px;
  padding: var(--s-6);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-6);
  color: var(--c-text-1);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.icon-btn-32:hover {
  background: var(--c-island-2);
}

.success {
  align-items: stretch;
  gap: var(--s-32);
  min-height: 520px;
  display: flex;
}

.success__left {
  justify-content: space-between;
  gap: var(--s-24);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.success__head {
  gap: var(--s-12);
  flex-direction: column;
  display: flex;
}

.success__hooray {
  color: var(--c-primary-2);
}

.success__illust {
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.success__illust-emoji {
  font-size: 96px;
  line-height: 1;
}

.success__actions {
  gap: var(--s-24);
  flex-direction: column;
  display: flex;
}

.success__doc-icon {
  width: 28px;
  height: 28px;
  padding: var(--s-4);
  background: var(--c-island-3);
  border-radius: var(--r-6);
  color: var(--c-text-2);
  margin-right: var(--s-8);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.success__filename {
  color: var(--c-text-3);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.success__buttons {
  gap: var(--s-12);
  display: flex;
}

.success__note {
  margin-top: calc(-1 * var(--s-12));
}

.success__right {
  gap: var(--s-16);
  flex-direction: column;
  flex: none;
  width: 612px;
  max-width: 46%;
  display: flex;
}

.success__preview {
  border-radius: var(--r-4);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-2);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.success__preview img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.success__preview--empty {
  justify-content: center;
  align-items: center;
  display: flex;
}

.success__pager-row {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.admin-lib {
  align-items: stretch;
  gap: var(--s-24);
  margin-top: var(--s-32);
  display: flex;
}

.admin-lib__main {
  gap: var(--s-24);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.admin-lib__tabs {
  gap: var(--s-8);
  flex-wrap: wrap;
  display: flex;
}

.admin-lib__tabs .chip {
  cursor: pointer;
}

.admin-lib__grid {
  gap: var(--s-16);
  grid-template-columns: repeat(5, 1fr);
  align-content: start;
  display: grid;
}

.admin-lib__grid .slide-card {
  width: auto;
}

.admin-lib__empty {
  padding: var(--s-24) 0;
  grid-column: 1 / -1;
}

.admin-lib__rail {
  gap: var(--s-8);
  flex-direction: column;
  flex: none;
  width: 188px;
  display: flex;
}

.rail-cell {
  justify-content: center;
  align-items: center;
  gap: var(--s-12);
  background: var(--c-island-1);
  border-radius: var(--r-16);
  padding: var(--s-24) var(--s-12);
  text-align: center;
  color: var(--c-text-1);
  cursor: pointer;
  flex-direction: column;
  text-decoration: none;
  display: flex;
}

.rail-cell:first-child {
  flex: 1;
}

.rail-cell:hover {
  background: var(--c-island-2);
}

.rail-cell__add {
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-8);
  width: 40px;
  height: 40px;
  color: var(--c-text-1);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.rail-cell__label {
  font-size: var(--body-s-size);
  line-height: var(--body-s-lh);
  font-weight: var(--w-medium);
}

.slide-card__overlay--admin {
  gap: var(--s-12);
}

.slide-card__edit {
  background: var(--grad-primary);
  border-radius: var(--r-8);
  width: 40px;
  height: 40px;
  color: var(--c-white);
  box-shadow: var(--ring-primary), var(--inset-primary);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.slide-card__delete {
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-8);
  width: 40px;
  height: 40px;
  color: var(--c-error);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.slide-card__delete:hover {
  background: var(--c-island-1);
}

.admin-modal {
  gap: var(--s-16);
  flex-direction: column;
  width: 940px;
  display: flex;
}

.admin-modal__top {
  gap: var(--s-12);
  display: flex;
}

.admin-modal__top > .field {
  flex: 1;
  min-width: 0;
}

.admin-modal__brands {
  gap: var(--s-8);
  display: flex;
}

.brand-tab {
  padding: var(--s-12) var(--s-16);
  border-radius: var(--r-8);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  color: var(--c-text-2);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  font-weight: var(--w-medium);
  text-align: center;
  cursor: pointer;
  flex: 1;
}

.brand-tab--active {
  background: var(--grad-primary);
  color: var(--c-white);
  border: 1px solid var(--c-white-15);
  box-shadow: var(--inset-primary);
}

.admin-modal__langs {
  align-items: stretch;
  gap: var(--s-24);
  display: flex;
}

.admin-modal__col {
  gap: var(--s-16);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.admin-modal__col-head {
  text-align: center;
  color: var(--c-text-1);
}

.admin-modal__divider {
  background: var(--c-stroke-1);
  align-self: stretch;
  width: 1px;
}

.admin-modal__brandonly {
  align-items: center;
  gap: var(--s-8);
  cursor: pointer;
  display: inline-flex;
}

.admin-modal__footer {
  justify-content: flex-end;
  gap: var(--s-12);
  display: flex;
}

.file-sel__input {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.file-sel__box--inert {
  cursor: default;
}

.checkbox {
  width: 24px;
  height: 24px;
  accent-color: var(--c-primary-1);
  cursor: pointer;
  flex: none;
}

.cat-manager {
  margin-top: var(--s-32);
  justify-content: center;
  display: flex;
}

.cat-manager__card {
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-1);
  border-radius: var(--r-24);
  width: 600px;
  max-width: 100%;
  padding: var(--s-24);
  gap: var(--s-16);
  flex-direction: column;
  display: flex;
}

.cat-manager__title {
  text-align: center;
}

.cat-manager__tree {
  gap: 0;
  max-height: 420px;
  overflow-y: auto;
}

.cat-manager__footer {
  gap: var(--s-12);
  display: flex;
}

.cat-manager__footer > .btn {
  flex: 1;
  justify-content: center;
}

.cat-line__label-btn {
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.cat-line__label-btn:disabled {
  cursor: default;
}

.cat-line__actions {
  align-items: center;
  gap: var(--s-6);
  flex: none;
  display: inline-flex;
}

.cat-icon-btn {
  border-radius: var(--r-6);
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  width: 20px;
  height: 20px;
  color: var(--c-text-2);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.cat-icon-btn:hover {
  background: var(--c-island-2);
}

.cat-icon-btn--delete {
  color: var(--c-error);
}

.cat-chevron {
  color: var(--c-text-2);
  background: none;
  border: none;
  transition: transform .15s;
}

.cat-chevron--open {
  transform: rotate(180deg);
}

.cat-add-row {
  justify-content: center;
  align-items: center;
  gap: var(--s-8);
  width: 100%;
  margin-top: var(--s-8);
  padding: var(--s-8);
  background: var(--c-island-1);
  border-radius: var(--r-8);
  color: var(--c-text-2);
  font-size: var(--body-r-size);
  line-height: var(--body-r-lh);
  cursor: pointer;
  display: flex;
}

.cat-add-row:hover {
  background: var(--c-island-2);
}

.cat-add-row--sub {
  margin-left: var(--s-16);
  width: calc(100% - var(--s-16));
}

.cat-name-modal {
  gap: var(--s-16);
  flex-direction: column;
  width: 420px;
  display: flex;
}

.cat-name-modal__footer {
  gap: var(--s-12);
  display: flex;
}

.cat-name-modal__footer > .btn {
  flex: 1;
  justify-content: center;
}

.tmpl-list {
  gap: var(--s-8);
  margin-top: var(--s-24);
  flex-direction: column;
  display: flex;
}

.tmpl-row {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-16);
  background: var(--c-bg);
  border: 1px solid var(--c-stroke-1);
  border-radius: var(--r-16);
  padding: var(--s-16) var(--s-24);
  display: flex;
}

.tmpl-row__meta {
  gap: var(--s-4);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.tmpl-row__actions {
  gap: var(--s-8);
  flex: none;
  display: inline-flex;
}

.tmpl-save {
  gap: var(--s-16);
  flex-direction: column;
  width: 600px;
  display: flex;
}

.tmpl-save__cat {
  align-items: center;
  gap: var(--s-8);
  display: flex;
}

.tmpl-save__cat > .select__control {
  flex: 1;
  min-width: 0;
}

.tmpl-save__add-cat {
  background: var(--c-island-1);
  border: 1px solid var(--c-stroke-7);
  border-radius: var(--r-8);
  width: 40px;
  height: 40px;
  color: var(--c-text-1);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.tmpl-save__add-cat:hover {
  background: var(--c-island-2);
}

.tmpl-save__footer {
  gap: var(--s-12);
  display: flex;
}

.tmpl-save__footer > .btn {
  flex: 1;
  justify-content: center;
}
