:root {
  --blue: #4925fa;
  --blue-strong: #3514d6;
  --btn-fill: #4925fa;
  --btn-fill-hover: #3514d6;
  --line: rgba(255, 255, 255, 0.45);
  --line-strong: #4925fa;
  --text: #1c1216;
  --muted: rgba(28, 18, 22, 0.62);
  --panel: transparent;
  --panel-2: transparent;
  --panel-soft: rgba(255, 255, 255, 0.28);
  --input-bg: rgba(255, 255, 255, 0.38);
  --input-bg-focus: rgba(255, 255, 255, 0.55);
  --input-placeholder: rgba(28, 18, 22, 0.42);
  --glass-blur: blur(28px) saturate(190%);
  --radius-sheet: 34px;
  --radius-card: 22px;
  --radius-control: 14px;
}

html,
body.hype-app {
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
}

body.hype-app::before {
  content: "";
  position: fixed;
  left: -30%;
  right: -30%;
  bottom: -28%;
  height: 78%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 72%, rgba(73, 37, 250, 0.92) 0%, rgba(73, 37, 250, 0.55) 22%, rgba(53, 20, 214, 0.28) 46%, rgba(20, 8, 46, 0.08) 68%, transparent 82%);
  filter: blur(56px);
}

body.hype-app .app-shell {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  min-height: 100dvh;
  padding: 0;
  overflow: visible;
  background: transparent;
}

body.hype-app .studio {
  display: block;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  height: auto;
  margin: 0 auto;
  padding: calc(12px + var(--hype-top-inset, env(safe-area-inset-top, 0px))) 16px 128px;
  box-sizing: border-box;
  overflow: visible;
}

body.hype-app .screen.hype-board {
  padding: 0;
  overflow: visible;
  min-height: 0;
  flex: none;
}

.hype-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 6px 18px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 18px rgba(90, 10, 24, 0.28);
}

.hype-mark img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.22);
}

.hype-mark__name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.hype-mark__meta {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}

body.hype-app .hype-sheet,
body.hype-app .hype-more,
body.hype-app .template-card,
body.hype-app .chip,
body.hype-app .pay-sheet__panel,
body.hype-app .summary-card,
body.hype-app .payment-card,
body.hype-app .payment-method,
body.hype-app .preview-panel,
body.hype-app .color-panel,
body.hype-app .result-card,
body.hype-app .payment-flow__card,
body.hype-app .slug-step-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.22);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.16) 46%, rgba(255, 255, 255, 0.08) 100%);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    inset 1px 0 0 rgba(255, 255, 255, 0.28),
    inset -1px 0 0 rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(60, 10, 24, 0.16);
}

body.hype-app .hype-sheet::before,
body.hype-app .hype-more::before,
body.hype-app .template-card::before,
body.hype-app .pay-sheet__panel::before,
body.hype-app .summary-card::before,
body.hype-app .payment-method::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.12) 32%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 42%);
}

.hype-sheet {
  border-radius: var(--radius-sheet);
  padding: 6px 8px 8px;
  margin-bottom: 14px;
  overflow: visible;
  z-index: 4;
}

.hype-row {
  display: block;
  position: relative;
  z-index: 1;
  padding: 12px 12px 10px;
}

.hype-row + .hype-row {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.hype-row__label {
  display: block;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28, 18, 22, 0.55);
}

.hype-row--asset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
  align-items: start;
}

.hype-live-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 118px;
}

body.hype-app .hype-field__input,
body.hype-app textarea.brand-text-input,
body.hype-app .hype-asset__text {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  color: #1c1216;
  font: 600 17px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  padding: 12px 14px;
  min-height: 48px;
  outline: none;
}

body.hype-app .hype-asset__text {
  min-height: 72px;
  resize: none;
  font-size: 16px;
  text-align: center;
}

body.hype-app .hype-asset__text::placeholder {
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hype-kind {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
}

.hype-kind__btn {
  flex: 1;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.18) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 16px rgba(60, 10, 24, 0.12);
  color: rgba(28, 18, 22, 0.72);
  font: 700 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  cursor: pointer;
}

.hype-kind__btn.is-on {
  background: rgba(255, 255, 255, 0.78);
  color: #1c1216;
}

body.hype-app .hype-field__input:focus,
body.hype-app .hype-asset__text:focus {
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 0 1.5px rgba(73, 37, 250, 0.7);
}

.hype-logo-file {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #1c1216;
  font: 700 13px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  cursor: pointer;
  overflow: hidden;
}

.hype-logo-file__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  color: #4925fa;
}

.hype-logo-file.is-on {
  color: #fff;
  background: #4925fa;
  border-color: #4925fa;
}

.hype-logo-file.is-on .hype-logo-file__icon {
  color: #fff;
}

body.hype-app .hype-logo-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.hype-clear {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: #4925fa;
  font: 700 11px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  padding: 6px 4px;
}

.hype-more {
  border-radius: 26px;
  margin: 0 0 16px;
  overflow: hidden;
}

.hype-more summary {
  position: relative;
  z-index: 1;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hype-more summary::-webkit-details-marker {
  display: none;
}

.hype-more .brand-workbench,
.hype-more .slider-panel,
.hype-more .preview-panel,
.hype-more .color-panel {
  position: relative;
  z-index: 1;
  margin: 0 10px 10px;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
}

body.hype-app .preview-panel__label {
  margin: 0 4px 8px;
  color: rgba(28, 18, 22, 0.55);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.hype-app .preview-canvas,
body.hype-app .preview-canvas-wrap {
  position: relative;
  height: 220px;
  min-height: 220px;
  border-radius: 28px;
  background: rgba(12, 8, 10, 0.72);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.hype-app .color-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.hype-app .color-row {
  min-height: 0;
  padding: 12px 6px 10px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.hype-app .color-row__main {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 8px;
}

body.hype-app .color-row__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  order: -1;
  width: 100%;
  gap: 0;
}

body.hype-app .color-row__name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

body.hype-app .color-row__hex {
  width: 76px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font: 700 11px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  color: #1c1216;
}

body.hype-app .color-row input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(60, 10, 24, 0.16);
  cursor: pointer;
}

body.hype-app .color-row input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

body.hype-app .color-row input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}

body.hype-app .color-row__strip {
  display: none;
}

body.hype-app .emojix-watermark {
  display: none !important;
}

body.hype-app .hype-run {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 7;
}

body.hype-app .checkout-preview {
  position: relative;
}

body.hype-app .hype-run__band {
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  overflow: hidden;
  opacity: 0.42;
}

body.hype-app .hype-run__band:nth-child(1) { top: 18%; }
body.hype-app .hype-run__band:nth-child(2) { top: 46%; }
body.hype-app .hype-run__band:nth-child(3) { top: 74%; }

body.hype-app .hype-run__track {
  display: flex;
  width: max-content;
  animation: hype-run 9s linear infinite;
}

body.hype-app .hype-run__band:nth-child(2) .hype-run__track {
  animation-duration: 12s;
  animation-direction: reverse;
}

body.hype-app .hype-run__band:nth-child(3) .hype-run__track {
  animation-duration: 10s;
}

body.hype-app .hype-run__track span {
  color: #fff;
  font: 700 8px/14px -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
}

body.hype-app .checkout-preview-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding: 8px 0 0;
}

body.hype-app .checkout-preview-stage {
  width: auto;
  height: auto;
  flex: none;
  aspect-ratio: 1;
}

body.hype-app .checkout-preview-strip__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 10px 0 0;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 700 13px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  cursor: pointer;
}

@keyframes hype-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.hype-app .hype-brand-mark {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  transform-origin: center center;
  font: 800 16px/0.95 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  letter-spacing: -0.04em;
  text-align: center;
}

body.hype-app .hype-brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

body.hype-app .chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  margin: 0 0 14px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  scrollbar-width: none;
}

body.hype-app .chip-row::-webkit-scrollbar {
  display: none;
}

body.hype-app .chip {
  border-radius: 10px;
  min-height: 34px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.62);
  color: #1c1216;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.hype-app .chip.is-active,
body.hype-app .chip-group--active .chip {
  background: rgba(73, 37, 250, 0.82);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

body.hype-app .category-bulk-toggle {
  width: 36px;
  height: 22px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.hype-app .category-bulk-toggle.is-on {
  background: rgba(73, 37, 250, 0.85);
  border-color: rgba(255, 255, 255, 0.45);
}

body.hype-app .template-board,
body.hype-app .template-board__head {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.hype-app .template-board__title,
body.hype-app .templates-re-heading__title {
  margin: 4px 4px 0;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 12px rgba(70, 8, 20, 0.35);
}

body.hype-app .template-board__meta,
body.hype-app .templates-re-heading__meta {
  margin: 0 4px 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
}

body.hype-app .templates-re-sep {
  background: rgba(255, 255, 255, 0.35);
  height: 1px;
  margin: 18px 8px 8px;
}

body.hype-app .templates-re-heading {
  grid-column: 1 / -1;
}

body.hype-app .template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.hype-app .template-card {
  border-radius: var(--radius-card);
  padding: 8px 8px 12px;
  color: #1c1216;
  text-align: left;
  overflow: hidden;
}

body.hype-app .template-card.is-selected {
  border-color: rgba(73, 37, 250, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 3px rgba(73, 37, 250, 0.35),
    0 16px 32px rgba(73, 37, 250, 0.18);
}

body.hype-app .chip-row,
body.hype-app .template-board__head {
  display: none;
}

body.hype-app .template-card__title {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding: 0 4px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #1c1216;
  text-align: center;
}

body.hype-app .template-card__meta {
  display: none;
}

body.hype-app .template-card__thumb {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  background: rgba(12, 8, 10, 0.72);
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.buy-dock {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.78;
}

.buy-dock.is-ready {
  opacity: 1;
}

.buy-dock__orb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  color: #fff;
  font: 700 16px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  background: rgba(16, 10, 12, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.buy-dock__rect {
  margin-left: -16px;
  padding: 15px 20px 15px 28px;
  border-radius: 18px;
  color: #fff;
  font: 700 15px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  letter-spacing: -0.03em;
  background: #4925fa;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 24px rgba(73, 37, 250, 0.32);
}

body.checkout-mode .buy-dock,
body.result-mode .buy-dock {
  display: none;
}

body.hype-app.checkout-mode,
body.hype-app.result-mode,
body.hype-app.topup-mode {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

html:has(body.hype-app.checkout-mode),
html:has(body.hype-app.result-mode),
html:has(body.hype-app.topup-mode) {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

body.hype-app .pay-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    calc(12px + var(--hype-top-inset, env(safe-area-inset-top, 0px)))
    16px
    calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow: hidden;
  overscroll-behavior: none;
  background: rgba(8, 14, 20, 0.62);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
}

body.hype-app .pay-sheet.hidden {
  display: none;
}

body.hype-app .pay-sheet__panel {
  width: min(520px, 100%);
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 28px;
  padding: 10px 14px 18px;
  box-sizing: border-box;
}

.pay-sheet__bar,
.pay-sheet__title,
.pay-sheet__text,
body.hype-app .summary-card,
body.hype-app .payment-card,
body.hype-app .payment-method,
body.hype-app .bottom-cta,
body.hype-app .result-card {
  position: relative;
  z-index: 1;
}

.pay-sheet__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 6px 10px;
}

.pay-sheet__title,
body.hype-app .summary-card__title,
body.hype-app .payment-card__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #1c1216;
}

.pay-sheet__title {
  font-size: 22px;
}

.pay-sheet__text {
  margin-top: 4px;
  color: rgba(28, 18, 22, 0.62);
  font-size: 13px;
}

.pay-sheet__close,
body.hype-app .ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #1c1216;
  border-radius: 14px;
  padding: 8px 12px;
  font: 700 13px -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

body.hype-app .payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

body.hype-app .payment-method {
  border-radius: 18px;
  color: #1c1216;
  text-align: left;
}

body.hype-app .payment-method.is-selected {
  border-color: rgba(73, 37, 250, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 3px rgba(73, 37, 250, 0.28);
}

body.hype-app .summary-card,
body.hype-app .payment-card {
  border-radius: 22px;
  padding: 14px;
  margin-bottom: 10px;
}

body.hype-app .primary-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  background: #4925fa;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 20px rgba(73, 37, 250, 0.28);
}

body.hype-app .color-row,
body.hype-app .slider-field,
body.hype-app .brand-font-trigger {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

body.hype-app .brand-font-popover {
  z-index: 30;
  max-height: none;
  overflow: visible;
  border-radius: 16px;
  background: rgba(255, 248, 250, 0.96);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(40, 0, 16, 0.18);
}

body.hype-app .brand-font-popover button {
  font-size: 18px;
  line-height: 1.15;
  padding: 8px 12px;
}

body.hype-app .brand-text-row__side {
  position: relative;
  z-index: 2;
  margin: 0 12px 10px;
}

body.hype-app .field-attention-flash {
  animation: hype-flash 0.9s ease;
}

@keyframes hype-flash {
  30% {
    box-shadow: 0 0 0 4px rgba(73, 37, 250, 0.4);
  }
}

@media (min-width: 840px) {
  body.hype-app .template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.hype-app #previewCanvas.hype-live {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  min-height: 118px;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(12, 8, 10, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.hype-app #previewCanvas.hype-live.is-brand-loading::after {
  content: "";
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: hype-spin 0.7s linear infinite;
  pointer-events: none;
}

@keyframes hype-spin {
  to {
    transform: rotate(360deg);
  }
}

.hype-catalog-switch {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
}

.hype-catalog-switch__btn {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.18) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 16px rgba(60, 10, 24, 0.12);
  color: rgba(28, 18, 22, 0.72);
  font: 700 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  cursor: pointer;
}

.hype-catalog-switch__btn.is-on {
  background: rgba(255, 255, 255, 0.78);
  color: #1c1216;
}

body.hype-app .hype-color {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(22, 8, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.hype-app .hype-color__title {
  margin: 2px 6px 10px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.hype-app .hype-color .color-panel {
  margin: 0;
  padding: 0;
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.hype-app .hype-color .color-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.hype-app .hype-color .color-row {
  min-height: 0;
  padding: 14px 8px 12px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.hype-app .hype-color .color-row__main {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 10px;
}

body.hype-app .hype-color .color-row__name {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
}

body.hype-app .hype-color .color-row__controls {
  flex-direction: column;
  align-items: center;
  order: -1;
  width: auto;
  gap: 0;
}

body.hype-app .hype-color .color-row__hex {
  display: none;
}

body.hype-app .hype-color .color-row input[type="color"] {
  width: 48px;
  height: 48px;
}

body.hype-app .hype-color .color-row__mode-btn,
body.hype-app .hype-color .color-row__strip,
body.hype-app .hype-color .color-row__fill-panel {
  display: none;
}

body.hype-app .hype-size {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.hype-app .hype-size__label {
  flex: 1;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

body.hype-app .hype-size__value {
  min-width: 48px;
  color: #fff;
  text-align: center;
  font: 700 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
}

body.hype-app .hype-size__btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1c1216;
  font: 700 22px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  cursor: pointer;
}

body.hype-app #checkoutScreen.pay-sheet,
body.hype-app #resultScreen.pay-sheet {
  align-items: flex-start;
  justify-content: center;
  padding:
    calc(12px + var(--hype-top-inset, env(safe-area-inset-top, 0px)))
    16px
    calc(16px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  background: rgba(8, 14, 20, 0.62);
}

body.hype-app.result-mode .result-card {
  margin: 0;
  width: 100%;
  max-width: none;
}

body.hype-app #checkoutScreen .pay-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.hype-app .hype-pay.pay-sheet__panel {
  position: relative;
  z-index: 1;
  background: #1c1033;
  background-image: none;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 8px 16px 16px;
}

body.hype-app .hype-pay.pay-sheet__panel::before,
body.hype-app .hype-pay .summary-card::before,
body.hype-app .hype-pay .payment-method::before {
  display: none;
}

body.hype-app .hype-pay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 2px 12px;
}

body.hype-app .hype-pay__kicker {
  color: #fff;
  font: 700 13px -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.hype-app .hype-pay__x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 500 22px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  cursor: pointer;
}

body.hype-app .hype-pay .summary-card {
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.hype-app .hype-ticket__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

body.hype-app .summary-share-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none;
}

body.hype-app .summary-share-btn.is-ready {
  background: #4925fa;
  color: #fff;
}

body.hype-app .summary-share-btn svg {
  display: block;
}

body.hype-app .share-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
  justify-content: center;
}

body.hype-app .share-preview-modal.hidden {
  display: none;
}

body.hype-app .share-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 4, 18, 0.72);
}

body.hype-app .share-preview-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(92vh, 760px);
  border-radius: 22px 22px 0 0;
  background: #12081f;
  border: 1px solid rgba(228, 220, 255, 0.16);
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

body.hype-app .share-preview-modal__media {
  position: relative;
  min-height: 280px;
  max-height: 58vh;
  background: #0c0616;
  display: grid;
  place-items: center;
  overflow: hidden;
}

body.hype-app .share-preview-modal__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(228, 220, 255, 0.92);
  font-size: 14px;
  z-index: 2;
}

body.hype-app .share-preview-modal__status.hidden {
  display: none;
}

body.hype-app .share-preview-modal__video,
body.hype-app .share-preview-modal__poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0c0616;
}

body.hype-app .share-preview-modal__footer {
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 10px;
}

body.hype-app .share-preview-modal__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

body.hype-app .share-preview-modal__text {
  font-size: 13px;
  line-height: 1.4;
  color: #b3a6c9;
}

body.hype-app .share-preview-modal__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

body.hype-app .share-preview-modal__brand.hidden {
  display: none;
}

body.hype-app .share-preview-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.hype-app .share-preview-modal__actions .primary-btn {
  background: #4925fa;
  color: #fff;
  border: 0;
  border-radius: 14px;
  min-height: 44px;
}

body.hype-app .hype-ticket__name {
  color: #fff;
  font: 700 18px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
}

body.hype-app .hype-ticket__count,
body.hype-app .hype-ticket__per,
body.hype-app .hype-ticket__logo {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

body.hype-app .hype-ticket__count {
  margin-top: 8px;
}

body.hype-app .hype-ticket__per {
  margin-top: 8px;
  margin-bottom: 12px;
}

body.hype-app .hype-ticket__sum {
  color: #fff;
  font: 700 28px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

body.hype-app .hype-pay__label,
body.hype-app .hype-pay-group__label {
  margin: 0 2px 8px;
  color: rgba(255, 255, 255, 0.5);
  font: 700 11px -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.hype-app .hype-pay-group + .hype-pay-group {
  margin-top: 12px;
}

body.hype-app .hype-pay .payment-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.hype-app .hype-pay-account {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 8px;
}

body.hype-app .hype-pay-account .hype-pay-group__label {
  margin: 0;
  white-space: nowrap;
}

body.hype-app .hype-pay-account .hype-pay__sum {
  color: #fff;
  font: 600 12px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  white-space: nowrap;
}

body.hype-app .hype-pay .payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin: 0 0 6px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

body.hype-app .hype-pay .payment-method.is-selected {
  background: #4925fa;
  border-color: transparent;
  box-shadow: none;
}

body.hype-app .hype-pay .payment-method__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
}

body.hype-app .hype-pay .payment-method__title {
  flex: 1;
  color: #fff;
  font: 600 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
}

body.hype-app .hype-pay .payment-method__mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

body.hype-app .hype-pay .payment-method.is-selected .payment-method__mark {
  border-color: #fff;
  background: #fff;
  box-shadow: inset 0 0 0 4px #4925fa;
}

body.hype-app .hype-pay__hint,
body.hype-app .hype-pay__balance,
body.hype-app .hype-pay__balance.payment-balance--active {
  margin: 8px 2px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.4;
  box-shadow: none;
}

body.hype-app .hype-pay__balance.is-hidden {
  display: none;
}

body.hype-app .hype-pay__go {
  width: 100%;
  margin-top: 14px;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #1c1216;
  font: 700 16px -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  cursor: pointer;
}

body.hype-app .hype-result .pay-sheet__title,
body.hype-app .hype-result .pay-sheet__text,
body.hype-app .hype-result .pay-sheet__close {
  color: #fff;
}

body.hype-app .hype-result .pay-sheet__text {
  color: rgba(255, 255, 255, 0.62);
}

body.hype-app .hype-result .pay-sheet__close {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.hype-app .hype-result__mark {
  width: 72px;
  height: 72px;
  margin: 4px auto 14px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

body.hype-app .hype-result__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.hype-app .hype-result .result-card,
body.hype-app .hype-result .slug-step-card,
body.hype-app .hype-result .result-queue-diy-banner {
  background: transparent;
  box-shadow: none;
  border: 0;
  color: #fff;
}

body.hype-app .hype-result .slug-step-card__lead {
  color: #fff;
  font: 600 13px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
}

body.hype-app .hype-result .slug-step-card__url-box {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

body.hype-app .hype-result .slug-step-card__url-link {
  color: #fff;
}

body.hype-app .hype-result .result-card__text,
body.hype-app .hype-result .result-card__title {
  color: #fff;
}

body.hype-app .hype-result .slug-step-card__eyebrow,
body.hype-app .hype-result .slug-step-card__foot-note,
body.hype-app .hype-result .slug-step-card__status,
body.hype-app .hype-result .inline-hint,
body.hype-app .hype-result .payment-flow__text,
body.hype-app .hype-result .payment-flow__title {
  color: rgba(255, 255, 255, 0.82);
}

body.hype-app .hype-result .slug-step-card__input,
body.hype-app .hype-result .text-input {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.hype-app .hype-result .slug-step-card__input::placeholder,
body.hype-app .hype-result .text-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

body.hype-app .hype-result .result-actions,
body.hype-app .hype-result .payment-flow__actions,
body.hype-app .hype-result .result-payment-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

body.hype-app .hype-result .result-actions .primary-btn,
body.hype-app .hype-result .payment-flow__actions .primary-btn,
body.hype-app .hype-result .result-payment-actions .primary-btn,
body.hype-app .hype-result .slug-step-card__url-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #1c1216;
  font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  text-decoration: none;
  text-align: center;
}

body.hype-app .hype-result .result-actions .ghost-btn,
body.hype-app .hype-result .payment-flow__actions .ghost-btn,
body.hype-app .hype-result .result-payment-actions .ghost-btn,
body.hype-app .hype-result #restartBtn {
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.72);
}

body.hype-app .hype-result #resultQueueDiyBanner {
  display: none !important;
}

body.hype-app .hype-result #resultBotStartBanner:not(.hidden) {
  display: block;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.hype-app .hype-result #resultBotStartBanner .result-queue-diy-banner__text,
body.hype-app .hype-result #resultBotStartBanner .result-queue-diy-banner__eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

body.hype-app .hype-result #resultBotStartBannerBtn {
  margin-top: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #1c1216;
  font: 700 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
}

body.hype-app .hype-pay__go:disabled {
  opacity: 0.45;
  cursor: default;
}

body.hype-app {
  --hype-bg: #12081f;
  --hype-card: #1c1033;
  --hype-line: rgba(255, 255, 255, 0.06);
  --hype-muted: #b3a6c9;
  --hype-blue: #4925fa;
  --hype-nav: #2a1650;
  --hype-nav-on: #4925fa;
}

body.hype-app .studio {
  padding-bottom: calc(168px + env(safe-area-inset-bottom));
}

body.hype-app .hype-mark {
  display: block;
  margin: 8px 0 12px;
  text-shadow: none;
}

body.hype-app .hype-mark__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 716 / 168;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #0c0616;
}

body.hype-app .hype-mark__title {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  font-size: clamp(24px, 6.6vw, 30px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.038em;
  background-image: linear-gradient(
    90deg,
    #b7d5d8 0%,
    #b4bac2 8%,
    #d5d9df 30%,
    #eceff2 50%,
    #d5d9df 70%,
    #b4bac2 92%,
    #b7d5d8 100%
  );
  background-size: 120% 100%;
  background-position: 50% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hypeSilverSides 11s ease-in-out infinite;
}

@keyframes hypeSilverSides {
  0%, 60% { background-position: 50% 0; }
  76% { background-position: 0% 0; }
  92% { background-position: 100% 0; }
  100% { background-position: 50% 0; }
}

body.hype-app .hype-mark img.hype-mark__banner {
  width: 100%;
  height: auto;
  aspect-ratio: 716 / 168;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  background: #0c0616;
  box-shadow: none;
}

body.hype-app .hype-mark__name,
body.hype-app .hype-row__label,
body.hype-app .hype-color__title,
body.hype-app .hype-size__label,
body.hype-app .template-board__title,
body.hype-app .template-card__title,
body.hype-app .hype-kind__btn,
body.hype-app .hype-catalog-switch__btn,
body.hype-app .hype-logo-file,
body.hype-app .buy-dock__orb,
body.hype-app .buy-dock__rect {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, system-ui, sans-serif;
  letter-spacing: -0.02em;
  text-transform: none;
}

body.hype-app .hype-mark__name {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

body.hype-app .hype-mark__meta,
body.hype-app .hype-row__label,
body.hype-app .hype-color__title,
body.hype-app .template-board__title {
  color: var(--hype-muted);
  font-size: 15px;
  font-weight: 600;
}

body.hype-app .hype-sheet,
body.hype-app .hype-color,
body.hype-app .template-card,
body.hype-app .hype-hub__group,
body.hype-app .hype-hub__link {
  background: var(--hype-card) !important;
  background-image: none !important;
  border: 1px solid var(--hype-line) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  color: #fff;
}

body.hype-app .hype-sheet::before,
body.hype-app .template-card::before,
body.hype-app .hype-color::before {
  display: none !important;
}

body.hype-app .hype-sheet,
body.hype-app .hype-color {
  border-radius: 22px;
}

body.hype-app .hype-field__input,
body.hype-app textarea.brand-text-input {
  background: #12081f;
  color: #fff;
  border: 0;
  border-radius: 14px;
}

body.hype-app .hype-field__input::placeholder,
body.hype-app textarea.brand-text-input::placeholder {
  color: rgba(142, 174, 174, 0.9);
}

body.hype-app .hype-kind__btn,
body.hype-app .hype-catalog-switch__btn,
body.hype-app .hype-logo-file,
body.hype-app .hype-size__btn {
  background: #12081f;
  color: #fff;
  border: 0;
  box-shadow: none;
}

body.hype-app .hype-kind__btn.is-on,
body.hype-app .hype-catalog-switch__btn.is-on {
  background: var(--hype-blue);
  color: #fff;
}

body.hype-app .hype-color .color-row__name,
body.hype-app .template-card__title,
body.hype-app .hype-size__value {
  color: #fff;
}

body.hype-app .template-card {
  border-radius: 18px;
  text-align: center;
}

body.hype-app .template-card.is-selected {
  border-color: var(--hype-blue) !important;
  box-shadow: 0 0 0 2px var(--hype-blue) !important;
}

body.hype-app .template-card__thumb,
body.hype-app #previewCanvas.hype-live,
body.hype-app .preview-canvas {
  background: #12081f;
}

body.hype-app .buy-dock {
  right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 35;
}

body.hype-app .buy-dock__orb {
  background: #12081f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.hype-app .buy-dock__rect {
  background: var(--hype-blue);
  border: 0;
  box-shadow: none;
}

body.hype-app.checkout-mode .hype-nav,
body.hype-app.result-mode .hype-nav,
body.hype-app.topup-mode .hype-nav,
body.hype-app.checkout-mode .buy-dock,
body.hype-app.result-mode .buy-dock,
body.hype-app.topup-mode .buy-dock {
  display: none !important;
}

.hype-hub {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: calc(28px + var(--hype-top-inset, env(safe-area-inset-top, 0px))) 18px calc(120px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}

.hype-hub__top {
  display: flex;
  justify-content: flex-start;
}

.hype-hub__mini,
.hype-hub__avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--hype-blue);
  color: #fff;
  font-weight: 700;
}

.hype-hub__mini {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.hype-hub__avatar {
  width: 92px;
  height: 92px;
  margin: 18px auto 14px;
  font-size: 34px;
}

.hype-hub__mini img,
.hype-hub__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hype-hub__kicker {
  margin-top: 28px;
  color: var(--hype-muted);
  font-size: 16px;
  font-weight: 600;
}

.hype-hub__sum {
  margin-top: 6px;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hype-hub__cur {
  margin-left: 6px;
  color: #9aa8b8;
  font-size: 36px;
  font-weight: 600;
}

.hype-hub__glyph {
  width: 64px;
  height: 64px;
  margin: 28px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1c1033;
  color: #7eb6e8;
}

.hype-hub__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hype-hub__lead {
  margin: 12px auto 0;
  max-width: 320px;
  color: var(--hype-muted);
  font-size: 16px;
  line-height: 1.35;
}

.hype-hub__name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hype-hub__handle {
  margin-top: 4px;
  color: var(--hype-muted);
  font-size: 16px;
}

.hype-hub__section {
  margin: 28px 4px 10px;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
}

.hype-hub__note {
  margin: 8px 4px 0;
  color: var(--hype-muted);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.hype-hub__note.is-ok {
  color: #9af6ff;
}

.hype-hub__note.is-error {
  color: #ff8d9a;
}

.hype-field {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hype-field input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12081f;
  color: #fff;
  font: inherit;
  font-size: 15px;
  padding: 0 12px;
}

.hype-field button {
  flex: none;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: var(--hype-blue);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.hype-pack {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hype-pack:last-child {
  border-bottom: 0;
}

.hype-pack strong {
  display: block;
  font-size: 16px;
}

.hype-pack small {
  display: block;
  margin-top: 2px;
  color: var(--hype-muted);
  font-size: 13px;
}

.hype-pack__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.hype-pack__actions a,
.hype-pack__actions button {
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 0;
  background: #243447;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.hype-pack__actions .is-danger {
  background: rgba(255, 90, 110, 0.18);
  color: #ffb4be;
}

.hype-pack__rename {
  width: 100%;
  height: 40px;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12081f;
  color: #fff;
  font: inherit;
  font-size: 15px;
  padding: 0 10px;
}

.hype-hub__group,
.hype-hub__link {
  border-radius: 18px;
  text-align: left;
}

.hype-topup-open {
  display: block;
  width: 100%;
  margin-top: 22px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--hype-blue);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
}

.hype-topup__sums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.hype-topup__sum {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12081f;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.hype-topup__sum.is-on {
  background: var(--hype-blue);
  border-color: transparent;
}

.hype-topup__field {
  display: block;
  margin-bottom: 14px;
}

.hype-topup__field span {
  display: block;
  margin: 0 0 6px;
  color: var(--hype-muted);
  font-size: 13px;
}

.hype-topup__field input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12081f;
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 0 12px;
}

.hype-hub__link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  color: #fff;
  cursor: pointer;
}

.hype-hub__link-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #243447;
  color: #7eb6e8;
  flex: none;
}

.hype-hub__link-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.hype-hub__link-copy strong {
  font-size: 16px;
}

.hype-hub__link-copy small,
.hype-hub__row-side {
  color: var(--hype-muted);
  font-size: 14px;
}

.hype-hub__chev,
.hype-hub__row-side i {
  color: #6f8194;
  font-style: normal;
  font-size: 22px;
}

.hype-hub__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #fff;
  font: 600 16px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, sans-serif;
  text-align: left;
}

.hype-hub__row:last-child {
  border-bottom: 0;
}

button.hype-hub__row {
  cursor: pointer;
}

form.hype-hub__row {
  margin: 0;
  width: 100%;
}

.hype-hub__row:has(.hype-row-copy) {
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#hypeRefCopy {
  border-bottom: 0;
}

.hype-row-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.hype-row-copy small {
  color: var(--hype-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.hype-row-copy small.is-ok {
  color: #9af6ff;
}

.hype-row-copy small.is-error {
  color: #ff8d9a;
}

.hype-hub__row--promo .hype-hub__row-side {
  flex: none;
}

.hype-promo-field {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 168px;
  height: 36px;
  padding: 0 4px 0 12px;
  border-radius: 12px;
  background: #12081f;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hype-promo-field input {
  width: auto;
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.hype-promo-field input::placeholder {
  color: rgba(142, 174, 174, 0.9);
  font-weight: 500;
}

.hype-promo-field button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--hype-blue);
  color: #fff;
  cursor: pointer;
}

#hypeRefCopy:disabled {
  cursor: default;
}

#hypeRefCopy:disabled .hype-hub__row-side b,
#hypeRefCopy:disabled .hype-hub__row-side i {
  color: var(--hype-muted);
}

.hype-hub__row-side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hype-hub__row-side b {
  font-weight: 600;
  color: var(--hype-muted);
}

.hype-nav {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  width: min(318px, calc(100% - 36px));
  height: 64px;
  padding: 5px;
  border-radius: 999px;
  background: #111214;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.hype-nav__btn {
  display: flex;
  flex: 1 1 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font: 700 15px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, sans-serif;
  cursor: pointer;
}

.hype-nav__btn span {
  display: none;
}

.hype-nav__btn svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.hype-nav__btn.is-on {
  flex: 1.65 1 0;
  background: #fff;
  color: #111;
}

.hype-nav__btn.is-on span {
  display: inline;
}

body.hype-app .hype-sheet {
  padding: 2px 10px 8px;
  margin-bottom: 8px;
}

body.hype-app .hype-row {
  padding: 8px 2px;
}

body.hype-app .hype-row__label {
  margin-bottom: 4px;
  font-size: 13px;
}

body.hype-app .hype-field__input,
body.hype-app textarea.brand-text-input {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}

body.hype-app .hype-asset__text {
  min-height: 52px;
  font-size: 14px;
}

body.hype-app .hype-kind {
  margin: 8px 0 0;
  gap: 6px;
}

body.hype-app .hype-kind__btn {
  min-height: 34px;
  border-radius: 12px;
  font-size: 14px;
}

body.hype-app .hype-row--asset {
  display: block;
}

body.hype-app .hype-asset-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

body.hype-app .hype-row--asset .hype-row__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.hype-app .hype-row--asset .hype-asset__text {
  flex: 1 1 auto;
  min-height: 52px;
  overflow: hidden;
  padding-top: 14px;
  padding-bottom: 14px;
}

body.hype-app .hype-live-col {
  position: relative;
  width: auto;
  height: 100%;
  display: flex;
}

body.hype-app #previewCanvas.hype-live,
body.hype-app .hype-live.preview-canvas {
  width: auto;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
}

body.hype-app .hype-row--asset .hype-clear {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 2;
}

body.hype-app .hype-logo-file {
  min-height: 34px;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 14px;
}

body.hype-app .hype-color {
  margin: 0 0 8px;
  padding: 10px;
  border-radius: 18px;
}

body.hype-app .hype-color__title {
  margin: 0 2px 6px;
  font-size: 13px;
}

body.hype-app .hype-color .color-rows {
  gap: 6px;
}

body.hype-app .hype-color .color-row {
  padding: 8px 6px;
  border-radius: 14px;
}

body.hype-app .hype-color .color-row__main {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.hype-app .hype-color .color-row__controls {
  order: 0;
  width: auto;
}

body.hype-app .hype-color .color-row input[type="color"] {
  width: 28px;
  height: 28px;
  border-width: 1.5px;
  box-shadow: none;
}

body.hype-app .hype-color .color-row__name {
  font-size: 13px;
}

body.hype-app .hype-size {
  margin-top: 6px;
  min-height: 36px;
  padding: 3px 6px 3px 12px;
  border-radius: 12px;
  gap: 8px;
}

body.hype-app .hype-size__btn {
  width: 28px;
  height: 28px;
  font-size: 18px;
}

.hype-nav {
  bottom: calc(12px + env(safe-area-inset-bottom));
}

body.hype-app .buy-dock {
  bottom: calc(106px + env(safe-area-inset-bottom));
}

body.hype-app .buy-dock:not(.is-picked) {
  display: none;
}

body.hype-app .hype-color .color-row,
body.hype-app .hype-size {
  background: #12081f;
}

body.hype-app .hype-size__btn {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  background: #243447;
}

body.hype-app .hype-size__btn svg {
  display: block;
}

.hype-ref-url {
  display: block;
  margin-top: 2px;
  max-width: 100%;
  color: #8fb7d6;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  word-break: break-all;
}

.hype-ref-url:empty {
  display: none;
}

#hypeBalance .hype-hub__top {
  height: 42px;
  min-height: 42px;
}

#hypeBalanceAvatar {
  display: none;
}

.hype-hub__row--ref {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.hype-ref-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

#hypeRefUrl.hype-ref-url {
  display: block;
  width: 100%;
  margin: 0;
  color: #d5e6f5;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  word-break: break-all;
}

#hypeRefUrl.hype-ref-url:empty {
  display: none;
}

body.hype-app .hype-live-col {
  align-self: start;
  height: auto;
  min-width: 88px;
  min-height: 88px;
}

body.hype-app #previewCanvas.hype-live,
body.hype-app .hype-live.preview-canvas {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
}

body.hype-app .pay-sheet,
body.hype-app #checkoutScreen.pay-sheet,
body.hype-app #resultScreen.pay-sheet,
body.hype-app #topupScreen.pay-sheet {
  padding-top: calc(36px + var(--hype-top-inset, env(safe-area-inset-top, 0px)));
}

body.hype-app .hype-row + .hype-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.hype-app .hype-field__input,
body.hype-app textarea.brand-text-input,
body.hype-app .hype-asset__text,
body.hype-app #previewCanvas.hype-live,
body.hype-app .hype-live.preview-canvas,
body.hype-app .hype-color .color-row,
body.hype-app .hype-size {
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body.hype-app .hype-field__input:focus,
body.hype-app .hype-asset__text:focus {
  background: #12081f;
  box-shadow: inset 0 0 0 1.5px rgba(73, 37, 250, 0.7);
}

body.hype-app .brand-text-row__side {
  margin: 4px 2px 6px;
}

body.hype-app .brand-font-trigger {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #12081f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

body.hype-app .brand-font-trigger__icon {
  background: rgba(73, 37, 250, 0.16);
  color: #9af6ff;
}

body.hype-app .brand-font-trigger__chevron {
  border-color: #c5e4e4;
  opacity: 1;
}

body.hype-app .brand-font-popover {
  background: #1c1033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.hype-app .brand-font-popover button {
  color: #fff;
}

body.hype-app .brand-font-popover button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

body.hype-app .brand-font-popover button.is-selected {
  background: #4925fa;
  color: #fff;
}



/* Remoji: purple fills need light type */
body.hype-app .primary-btn,
body.hype-app .buy-dock__rect,
body.hype-app .hype-kind__btn.is-on,
body.hype-app .hype-catalog-switch__btn.is-on,
body.hype-app .hype-field button,
body.hype-app .hype-topup-open,
body.hype-app .hype-topup__sum.is-on,
body.hype-app .hype-promo-field button,
body.hype-app .brand-font-popover button.is-selected,
body.hype-app .hype-pay .payment-method.is-selected .payment-method__title,
body.hype-app .hype-logo-file.is-on,
body.hype-app .hype-logo-file.is-on .hype-logo-file__icon,
.hype-hub__mini,
.hype-hub__avatar {
  color: #ffffff;
}

body.hype-app .hype-pay .payment-method.is-selected .payment-method__icon,
body.hype-app .hype-pay .payment-method.is-selected .payment-method__mark {
  color: #ffffff;
  border-color: #ffffff;
}

body.hype-app .hype-pay .payment-method.is-selected .payment-method__mark {
  background: #ffffff;
  box-shadow: inset 0 0 0 4px #4925fa;
}

.em-balance,
.em-profile {
  text-align: left;
}

.em-kicker,
.em-card__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.em-balance__card,
.em-card,
.em-stat {
  background: rgba(73, 37, 250, 0.06);
  border: 1px solid rgba(73, 37, 250, 0.22);
  border-radius: 22px;
}

.em-balance__card {
  margin-top: 14px;
  padding: 18px 18px 16px;
}

.em-balance__sum {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.em-balance__sum small {
  margin-top: 8px;
  color: #4925fa;
  font-size: 22px;
  font-weight: 650;
}

.em-balance__card p,
.em-card > small,
.em-ref small {
  display: block;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.35;
}

.em-balance .hype-topup-open {
  width: auto;
  min-width: 168px;
  height: 44px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 999px;
}

.em-id {
  display: flex;
  align-items: center;
  gap: 14px;
}

.em-profile .hype-hub__avatar {
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 18px;
  background: #4925fa;
  color: #ffffff;
  font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(73, 37, 250, 0.45);
}

.em-profile .hype-hub__name {
  font-size: 24px;
  text-align: left;
}

.em-profile .hype-hub__handle {
  margin-top: 2px;
  text-align: left;
}

.em-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.em-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 76px;
  padding: 12px;
  color: #fff;
  text-align: left;
}

button.em-stat {
  cursor: pointer;
  font: inherit;
}

.em-stat span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
}

.em-stat b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.em-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  color: #fff;
  text-align: left;
}

button.em-card {
  cursor: pointer;
  font: inherit;
}

.em-card .hype-promo-field {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border-radius: 14px;
  background: #12081f;
}

.em-ref__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.em-ref__row b {
  color: #4925fa;
  font-size: 14px;
}

.em-profile .hype-hub__section {
  margin-top: 22px;
}

.em-balance__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.em-balance__spent {
  flex: none;
  margin-bottom: 4px;
  text-align: right;
}

.em-balance__spent span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 650;
}

.em-balance__spent b {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.em-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.em-picks button {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #1c1033;
  color: #fff;
  font: 700 14px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, sans-serif;
  cursor: pointer;
}

.em-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.em-steps li {
  padding: 10px 10px 12px;
  border-radius: 16px;
  background: rgba(73, 37, 250, 0.06);
  border: 1px solid rgba(73, 37, 250, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.em-steps b {
  display: block;
  margin-bottom: 4px;
  color: #4925fa;
  font-size: 13px;
}

.em-packs__empty {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  background: #1c1033;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.35;
}

.em-packs__empty.hidden,
.em-packs .hype-hub__group:empty {
  display: none;
}

body.hype-app.topup-mode .pay-sheet,
body.hype-app.checkout-mode .pay-sheet {
  align-items: flex-end;
  padding: 0;
}

body.hype-app.topup-mode .hype-pay.pay-sheet__panel,
body.hype-app.checkout-mode .hype-pay.pay-sheet__panel {
  width: min(560px, 100%);
  max-height: min(86dvh, 100%);
  border-radius: 28px 28px 0 0;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(73, 37, 250, 0.14), transparent 90px),
    #12081f;
}

body.hype-app .hype-topup__sums {
  display: flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

body.hype-app .hype-topup__sum {
  flex: 1;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

body.hype-app .hype-topup__sum.is-on {
  background: #4925fa;
  color: #ffffff;
}

body.hype-app .hype-topup__field input {
  height: 64px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  font-size: 40px;
  text-align: left;
  letter-spacing: -0.04em;
}

body.hype-app .hype-pay .payment-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.hype-app .hype-pay-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.hype-app .hype-pay-group__label,
body.hype-app .hype-pay-account {
  grid-column: 1 / -1;
}

body.hype-app .hype-pay .payment-method {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 86px;
  margin: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

body.hype-app .hype-pay .payment-method__mark {
  align-self: flex-end;
}

body.hype-app .hype-pay .payment-method.is-selected {
  background: rgba(73, 37, 250, 0.1);
  border-color: #4925fa;
  box-shadow: none;
}

body.hype-app .hype-pay .payment-method.is-selected .payment-method__title,
body.hype-app .hype-pay .payment-method.is-selected .payment-method__icon {
  color: #fff;
}

body.hype-app .hype-pay__go {
  border-radius: 999px;
  background: #4925fa;
  color: #ffffff;
}

body.hype-app .em-studio {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 8px;
  align-items: stretch;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0;
}

body.hype-app .em-stage {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

body.hype-app .em-stage .hype-live-col,
body.hype-app .em-stage #previewCanvas.hype-live,
body.hype-app .em-stage .hype-live.preview-canvas {
  width: 112px !important;
  height: 112px !important;
  min-width: 112px !important;
  min-height: 112px !important;
  aspect-ratio: 1 !important;
  border-radius: 22px !important;
  overflow: hidden;
}

body.hype-app .em-stage #previewCanvas.hype-live {
  border: 1px solid rgba(73, 37, 250, 0.4) !important;
  box-shadow: none;
}

body.hype-app .em-name {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

body.hype-app .em-name .hype-row__label {
  display: none;
}

body.hype-app .em-name__line {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

body.hype-app .em-name .hype-field__input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
}

body.hype-app .em-studio .hype-kind {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 6px;
  background: transparent;
}

body.hype-app .em-studio .hype-kind__btn {
  flex: 1;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: #1c1033;
  color: #fff;
  font-size: 13px;
}

body.hype-app .em-studio .hype-kind__btn.is-on {
  background: #4925fa;
  color: #ffffff;
  box-shadow: none;
}

body.hype-app .em-phrase {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

body.hype-app .em-phrase .hype-row__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: stretch;
  margin-top: 0;
}

body.hype-app .em-phrase .hype-logo-file {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0 12px;
  border-radius: 14px;
}

body.hype-app .em-phrase .hype-asset__text {
  min-height: 48px;
  padding-top: 8px;
  padding-bottom: 8px;
}

body.hype-app .em-studio .brand-text-row__side {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

body.hype-app .em-studio .brand-font-trigger {
  width: 100%;
  max-width: none;
  min-height: 40px;
  justify-content: space-between;
}

body.hype-app .em-studio .brand-font-trigger__icon {
  display: none;
}

body.hype-app .hype-color {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.hype-app .hype-color__title {
  display: none;
}

body.hype-app .hype-color .color-panel {
  flex: 1;
  min-width: 0;
}

body.hype-app .hype-color .color-row,
body.hype-app .hype-size {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.hype-app .hype-color .color-row__hex {
  display: none;
}

body.hype-app .hype-color .color-row {
  padding: 0;
}

body.hype-app .hype-color .color-row__controls {
  order: -1;
}

body.hype-app .hype-color .color-row__main {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

body.hype-app .hype-color .color-row__name {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

body.hype-app .hype-color .color-row input[type="color"] {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

body.hype-app .hype-size {
  flex: none;
  align-self: flex-start;
  width: max-content;
  margin: 1px 0 0;
  padding: 2px 6px 2px 10px;
  border-radius: 999px;
  background: #1c1033 !important;
}

body.hype-app .hype-catalog-switch {
  width: 100%;
  justify-content: flex-start;
  gap: 6px;
  margin: 10px 0 8px;
  padding: 0;
  background: transparent;
}

body.hype-app .hype-catalog-switch::before {
  content: "Каталог";
  margin-right: auto;
  color: #fff;
  font: 700 18px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, sans-serif;
  letter-spacing: -0.03em;
}

body.hype-app .hype-catalog-switch__btn {
  flex: none;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

body.hype-app .hype-catalog-switch__btn.is-on {
  background: #4925fa;
  color: #ffffff;
  box-shadow: none;
}

body.hype-app .template-card {
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  box-shadow: none !important;
}

body.hype-app .template-card__title {
  margin-top: 4px;
  font-size: 11px;
}

body.hype-app .template-card__thumb {
  border-radius: 16px;
}

body.hype-app .template-card.is-selected {
  box-shadow: none !important;
}

body.hype-app .template-card.is-selected .template-card__thumb {
  border-color: transparent;
  box-shadow: none;
}

body.hype-app .template-card.is-selected .template-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #e4dcff;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 4;
}
