﻿* {
  box-sizing: border-box;
}

:root {
  --bg: #050608;
  --panel: rgba(21, 22, 27, .9);
  --panel-2: rgba(255, 255, 255, .055);
  --text: #f8fafc;
  --muted: #8b90a0;
  --cyan: #16f4ff;
  --pink: #ff3b8d;
  --blue: #2b9fff;
  --line: rgba(255,255,255,.11);
  --brand-gradient: linear-gradient(90deg, #10eaff 0%, #6b7cff 45%, #c44dff 72%, #ff3b98 100%);
}

.brand-mootly {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 8%, rgba(0, 255, 255, .28), transparent 32%),
    radial-gradient(circle at 98% 42%, rgba(255, 44, 128, .24), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(105, 74, 255, .1), transparent 35%),
    #030407;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  --shell-pad-x: 16px;
  padding: 20px var(--shell-pad-x) 0;
}

.app-shell > .app {
  width: min(420px, 100%);
  margin: 0 auto;
  flex: 1;
}

.app {
  width: 100%;
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px 14px;
  margin: 0 -2px;
  background: linear-gradient(180deg, rgba(3, 4, 7, .96) 70%, rgba(3, 4, 7, 0));
  backdrop-filter: blur(10px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 800;
}

h1 strong {
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.topbar-tag {
  margin: 4px 0 0;
  color: #b8bcc8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.topbar-tag b {
  color: var(--cyan);
  font-weight: 700;
}

.topbar-tag strong {
  color: var(--pink);
  font-weight: 700;
}

.burger-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s, background .2s;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.burger-btn:hover {
  border-color: rgba(22,244,255,.35);
  background: rgba(22,244,255,.06);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(380px, 92vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 100% 0%, rgba(22,244,255,.08), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(255,59,141,.08), transparent 40%),
    #0b0c10;
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -20px 0 60px rgba(0,0,0,.45);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.drawer-head-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.drawer-head-brand-fallback {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.drawer-head-brand-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.drawer-head-brand-icon svg {
  width: 100%;
  height: 100%;
}

.drawer-head-brand-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.drawer-close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 14px 16px 28px;
}

.drawer-panel h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.setup-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.admin-link {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.admin-link:hover {
  color: var(--pink);
}

.admin-link-header {
  flex-shrink: 0;
  padding-top: 2px;
}

.drawer-panel {
  position: relative;
  z-index: 3;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.auth-tab {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.2);
  color: #d4d7e0;
  border-radius: 12px;
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.active {
  border-color: rgba(22,244,255,.45);
  background: rgba(22,244,255,.1);
  color: #fff;
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-form.hidden,
.hidden {
  display: none !important;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--pink);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
}

.handles-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.handles-list li {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 8px;
  padding: 0;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  overflow: hidden;
}

.handle-item-empty {
  padding: 12px !important;
  justify-content: center !important;
  align-items: center !important;
  color: var(--muted);
  text-align: center;
}

.handles-section-label {
  margin-bottom: 8px;
}

.selected-handle-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid rgba(22,244,255,.25);
  background: rgba(22,244,255,.06);
}

.selected-handle-banner strong {
  display: block;
  font-size: 16px;
}

.selected-handle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(22,244,255,.6);
  flex-shrink: 0;
}

.handle-item-main {
  flex: 1;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}

.handle-delete-btn {
  align-self: stretch;
  width: 42px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.handle-delete-btn:hover {
  color: #ff7a9a;
  background: rgba(255, 59, 141, .1);
}

.handle-selected-tag {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ghost-btn-danger {
  border-color: rgba(255, 59, 141, .35) !important;
  color: #ff9ab8 !important;
  background: rgba(255, 59, 141, .08) !important;
}

.account-accordion-danger summary {
  color: #ff9ab8;
}

.handle-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.handle-status.active {
  color: var(--cyan);
  background: rgba(22,244,255,.12);
}

.handle-status.pending {
  color: #f5c542;
  background: rgba(245,197,66,.12);
}

.handle-status.cancelled {
  color: var(--muted);
  background: rgba(255,255,255,.06);
}

.empty-state {
  position: relative;
  z-index: 3;
  margin-top: 28px;
  padding: 28px 18px;
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  text-align: center;
}

.empty-state h2 {
  margin: 6px 0 10px;
  font-size: 22px;
}

.empty-state .ghost-btn {
  margin-top: 14px;
}

body.landing-mode .app-shell { display: none; }


.mini-label {
  margin: 0 0 5px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.setup-hint {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.setup-grid {
  display: grid;
  gap: 9px;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(0,0,0,.35);
  border-radius: 14px;
  padding: 12px 13px;
  outline: none;
}

input:focus {
  border-color: rgba(22,244,255,.72);
}

.ghost-btn {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(22,244,255,.3);
  color: #fff;
  background: rgba(22,244,255,.08);
  padding: 12px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

.message {
  margin: 9px 0 0;
  color: var(--cyan);
  font-size: 13px;
}

.carousel-wrap {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  padding: 0 2px;
}

.carousel-stage {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.creator-card {
  position: relative;
  z-index: 2;
  padding: 18px 16px 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 15%, rgba(22,244,255,.08), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(255,59,141,.1), transparent 35%),
    rgba(14, 15, 20, .95);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 0 40px rgba(22,244,255,.06),
    0 0 40px rgba(255,59,141,.06);
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
  will-change: transform, opacity;
}

.creator-card.is-sliding {
  pointer-events: none;
}

.creator-card.slide-out-left {
  transform: translateX(-108%);
  opacity: 0;
}

.creator-card.slide-out-right {
  transform: translateX(108%);
  opacity: 0;
}

.creator-card.slide-from-right {
  transition: none;
  transform: translateX(108%);
  opacity: 0;
}

.creator-card.slide-from-left {
  transition: none;
  transform: translateX(-108%);
  opacity: 0;
}

.side-card {
  position: absolute;
  top: 48px;
  bottom: 36px;
  width: 18px;
  border-radius: 16px;
  z-index: 1;
  opacity: .85;
}

.side-card.left {
  left: -4px;
  background: linear-gradient(180deg, rgba(22,244,255,.2), rgba(22,244,255,.05));
  border: 1px solid rgba(22,244,255,.4);
  box-shadow: 0 0 20px rgba(22,244,255,.25);
}

.side-card.right {
  right: -4px;
  background: linear-gradient(180deg, rgba(255,59,141,.2), rgba(255,59,141,.05));
  border: 1px solid rgba(255,59,141,.4);
  box-shadow: 0 0 20px rgba(255,59,141,.25);
}

.creator-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--cyan) 0%, transparent 40%, transparent 60%, var(--pink) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.recommend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--cyan);
  background: rgba(22,244,255,.12);
  border: 1px solid rgba(22,244,255,.2);
  font-size: 12px;
  font-weight: 700;
}

.recommend svg {
  flex-shrink: 0;
  opacity: .9;
}

.creator-card.is-platform .recommend {
  background: linear-gradient(135deg, rgba(22, 244, 255, .2), rgba(255, 59, 141, .14));
  border-color: rgba(22, 244, 255, .35);
}

.dots {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
}

.avatar-ring {
  margin: 22px auto 16px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow:
    0 0 24px rgba(22,244,255,.25),
    0 0 24px rgba(255,59,141,.2);
}

.avatar-mark {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: #07080b;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -.08em;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #07080b;
}

.avatar-img.hidden {
  display: none;
}

.avatar-ring.has-image .avatar-mark {
  display: none;
}

.creator-card.is-loading {
  opacity: .92;
}

.creator-card.is-loading .creator-info,
.creator-card.is-loading .creator-stats,
.creator-card.is-loading .actions {
  pointer-events: none;
}

.secondary-login {
  margin-top: 0;
  margin-bottom: 8px;
  border-color: rgba(255, 59, 141, .35);
  background: rgba(255, 59, 141, .08);
}

.handle-status.completed {
  color: var(--pink);
  background: rgba(255, 59, 141, .12);
}

.handle-item {
  flex-direction: row;
  align-items: stretch !important;
  gap: 0;
  cursor: default;
  transition: border-color .2s ease, background .2s ease;
}

.handle-item.selected {
  border-color: rgba(22,244,255,.45);
  background: rgba(22,244,255,.08);
}

.handle-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.handle-meta {
  font-size: 11px;
  color: var(--muted);
}

.progress-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width .3s ease;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.package-option {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.25);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.package-option.active {
  border-color: rgba(22,244,255,.5);
  background: rgba(22,244,255,.08);
}

.package-option strong {
  display: block;
  font-size: 13px;
}

.package-option span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.handle-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.handle-stat-grid > div {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}

.handle-stat-hint {
  display: block;
  margin-bottom: 2px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(139, 144, 160, 0.85);
  text-transform: lowercase;
}

.handle-stat-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.handle-stat-grid strong {
  font-size: 16px;
}

.handle-stats {
  margin-bottom: 0;
}

.account-accordions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-accordion {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  overflow: hidden;
}

.account-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  user-select: none;
}

.account-accordion summary::-webkit-details-marker {
  display: none;
}

.account-accordion summary::after {
  content: "▾";
  color: var(--muted);
  font-size: 12px;
  transition: transform .2s ease;
}

.account-accordion:not([open]) summary::after {
  transform: rotate(-90deg);
}

.accordion-body {
  padding: 0 14px 14px;
}

.accordion-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(22,244,255,.12);
  color: var(--cyan);
  border: 1px solid rgba(22,244,255,.25);
}

.gamification-panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,59,141,.2);
  background: rgba(255,59,141,.06);
}

.gamification-panel h4 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--pink);
  letter-spacing: .02em;
}

.bonus-progress {
  margin-top: 10px;
}

.bonus-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.bonus-progress-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.bonus-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transition: width .3s ease;
}

.leaderboard-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
  font-size: 12px;
}

.leaderboard-row.is-me {
  border-color: rgba(22,244,255,.35);
  background: rgba(22,244,255,.08);
}

.leaderboard-rank {
  font-weight: 800;
  color: var(--muted);
  text-align: center;
}

.leaderboard-rank.top-1 { color: #ffd700; }
.leaderboard-rank.top-2 { color: #c0c0c0; }
.leaderboard-rank.top-3 { color: #cd7f32; }

.leaderboard-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-meta {
  font-size: 10px;
  color: var(--muted);
}

.leaderboard-score {
  font-weight: 800;
  color: var(--cyan);
  font-size: 11px;
}

.leaderboard-rules {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.gamification-bar {
  padding: 8px 16px 0;
  max-width: 480px;
  margin: 0 auto;
}

.gamification-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.gamification-score {
  color: var(--cyan);
  font-weight: 800;
}

.gamification-divider {
  opacity: .4;
}

#manageHandleSection .ghost-btn {
  margin-top: 10px;
}

.upgrade-btn {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(255, 59, 141, .35);
  background: rgba(255, 59, 141, .08);
  color: #fff;
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.setup-hint code {
  color: var(--cyan);
  font-size: 11px;
}

.creator-info {
  text-align: center;
}

.creator-info h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -.04em;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verified {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  flex-shrink: 0;
}

.creator-info > p:first-of-type {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

#creatorBio {
  line-height: 1.45;
  margin-top: 12px;
  font-size: 13px;
  color: #d4d7e0;
  font-weight: 500;
}

.creator-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.creator-stat {
  flex: 1;
  max-width: 140px;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  text-align: center;
}

.creator-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.creator-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.primary-action {
  color: #fff;
  position: relative;
  background: rgba(10, 11, 16, .85);
  justify-content: flex-start;
}

.primary-action::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  box-shadow:
    0 0 18px rgba(22,244,255,.35),
    0 0 18px rgba(255,59,141,.3);
}

.primary-action::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(22,244,255,.15), rgba(255,59,141,.15));
  filter: blur(8px);
  z-index: -1;
}

.tiktok-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.tiktok-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.primary-label {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.external {
  color: #fff;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  opacity: .85;
}

.secondary-action {
  width: 100%;
  color: #e8eaef;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  justify-content: flex-start;
}

.secondary-action:disabled,
.secondary-action.is-locked {
  opacity: 0.42;
  cursor: not-allowed;
}

.secondary-action.is-done:disabled {
  opacity: 0.72;
  border-color: rgba(22, 244, 255, 0.22);
}

.actions .hidden {
  display: none;
}

.action-icon {
  width: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.secondary-action.muted .action-icon {
  color: #b0b5c0;
}

.check-icon {
  color: var(--cyan);
}

.pagination {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 22px 0 18px;
}

.pagination span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
  cursor: pointer;
  transition: all .25s ease;
}

.pagination span.active {
  width: 24px;
  height: 8px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 10px rgba(22,244,255,.4);
}

.ghost-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ghost-btn-muted {
  margin-top: 8px;
  border-color: rgba(255,255,255,.12);
  background: transparent;
  color: var(--muted);
}

.reward-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.reward-strip:hover {
  border-color: rgba(255,59,141,.3);
  background: rgba(255,59,141,.06);
}

.reward-strip p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #d8dbe3;
}

.reward-strip strong {
  color: var(--pink);
}

.reward-strip b {
  color: var(--pink);
  font-size: 20px;
  line-height: 1;
}

.gift-icon {
  color: var(--pink);
  display: grid;
  place-items: center;
}

.message.error {
  color: #ff6b8a;
}

@media (max-width: 430px) {
  .app-shell {
    --shell-pad-x: 12px;
    padding: 12px var(--shell-pad-x) 0;
  }
}

@media (max-width: 760px) {
  .gamification-bar {
    display: none !important;
  }

  .pagination {
    display: none;
  }

  .card-top {
    display: none;
  }

  .carousel-wrap {
    margin-top: 0;
    padding: 0;
  }

  .side-card {
    display: none;
  }

  .creator-card {
    padding: 14px 14px 12px;
    border-radius: 20px;
  }

  .avatar-ring {
    margin: 4px auto 10px;
    width: 84px;
    height: 84px;
  }

  .avatar-mark {
    font-size: 34px;
  }

  .creator-info h2 {
    font-size: 20px;
  }

  .creator-info > p:first-of-type {
    margin-top: 4px;
    font-size: 13px;
  }

  #creatorBio {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .creator-stats {
    margin-top: 10px;
    gap: 8px;
  }

  .creator-stat {
    padding: 8px 6px;
    border-radius: 12px;
  }

  .creator-stat strong {
    font-size: 17px;
  }

  .actions {
    margin-top: 10px;
    gap: 6px;
  }

  .primary-action,
  .secondary-action {
    min-height: 46px;
    font-size: 13px;
    border-radius: 12px;
  }
}

@media (max-height: 850px) {
  .carousel-wrap {
    margin-top: 20px;
  }

  .avatar-ring {
    margin-top: 18px;
  }
}

@media (max-height: 850px) and (max-width: 760px) {
  .carousel-wrap {
    margin-top: 0;
  }

  .avatar-ring {
    margin-top: 4px;
  }
}
