:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg: #f7f3ed;
  --paper: #ffffff;
  --paper-soft: rgba(255,255,255,.88);
  --ink: #102a61;
  --muted: #667086;
  --line: rgba(16,42,97,.08);

  --accent: #8B3CF6;
  --accent-2: #C084FC;
  --accent-soft: #EFE4FF;
  --accent-deep: #5B21B6;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --shadow-panel: 0 18px 46px rgba(18,32,61,.09);
  --shadow-card: 0 26px 70px rgba(18,32,61,.22);
  --shadow-strong: 0 34px 100px rgba(18,32,61,.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}

button {
  font: inherit;
}

.app {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 4%, rgba(255,255,255,.92) 0 12%, transparent 28%),
    radial-gradient(circle at 92% 100%, color-mix(in srgb, var(--accent) 12%, transparent) 0 15%, transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, #ffffff 52%, var(--bg)), var(--bg));
  transition: background .28s ease;
}

.app[data-stage="hashtag"] {
  --accent: #8B3CF6;
  --accent-2: #C084FC;
  --accent-soft: #EFE4FF;
  --accent-deep: #5B21B6;
}

.app[data-stage="profile"] {
  --accent: #F15A24;
  --accent-2: #FF9D44;
  --accent-soft: #FFE6C8;
  --accent-deep: #BA3B05;
}

.app[data-stage="video"] {
  --accent: #E5252A;
  --accent-2: #FF7376;
  --accent-soft: #FFD8DB;
  --accent-deep: #B91C1C;
}

.app[data-stage="result"] {
  --accent: #1F63F2;
  --accent-2: #53A9FF;
  --accent-soft: #DBEEFF;
  --accent-deep: #102A61;
}

.root {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #102a61;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand mark {
  background: transparent;
  color: #245df4;
  padding: 0;
}

.brand .brand-360 {
  color: var(--accent);
}

.brand-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-icon path {
  stroke: var(--accent);
  transition: stroke .28s ease;
}

.shell {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 250px;
  gap: 26px;
  padding: 28px;
}

.panel {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  box-shadow: var(--shadow-panel);
}

.left {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 26px;
  min-width: 0;
}

.logo-box {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.menu-box {
  padding: 22px;
}

.menu {
  display: grid;
  gap: 10px;
}

.menu-item {
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: #5c6374;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.menu-item svg {
  width: 20px;
  height: 20px;
}

.menu-item.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 24%, transparent);
}

.main {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.right .panel {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-weight: 800;
  padding: 0 18px;
}

/* Intro */
.intro-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 42px);
}

.intro {
  width: min(100%, 1080px);
  height: min(100%, 860px);
  display: grid;
  grid-template-rows: clamp(112px, 22vh, 230px) auto auto 1fr auto;
  gap: clamp(16px, 2vh, 24px);
}

.mobile-brand {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 78%, rgba(255,255,255,.72), transparent 20%),
    radial-gradient(circle at 88% 20%, rgba(255,255,255,.48), transparent 19%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.32) 1px, transparent 2px),
    linear-gradient(135deg, rgba(255,255,255,.16) 0 2px, transparent 2px);
  background-size: 44px 44px, 112px 112px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(30px, 2.55vw, 44px);
  line-height: 1.06;
  letter-spacing: -.06em;
}

.intro h1 span {
  color: var(--accent);
}

.intro-copy {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.intro-copy p {
  margin: 0;
  color: #202631;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.55;
}

.todo {
  align-self: start;
  border-radius: 22px;
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  background: color-mix(in srgb, #ffffff 76%, var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
}

.todo h2 {
  margin: 0;
  font-size: clamp(24px, 1.8vw, 30px);
  letter-spacing: -.045em;
}

.todo-list {
  display: grid;
  gap: 8px;
  color: #222733;
  font-size: clamp(14px, .98vw, 16px);
  line-height: 1.42;
}

.cta {
  height: 58px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 24%, transparent);
}

/* Mobile game */
.mobile-game {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #080c18;
}

.mobile-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.mobile-full-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  transform-origin: 50% 70%;
}

.mobile-background,
.mobile-background img,
.mobile-background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mobile-background img,
.mobile-background video {
  filter: saturate(1.04) contrast(1.02);
}

.mobile-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,12,24,.34) 0%, rgba(8,12,24,.08) 28%, rgba(8,12,24,.18) 55%, rgba(8,12,24,.66) 100%);
}

.floating-header {
  position: fixed;
  z-index: 40;
  top: calc(var(--safe-top) + 0px);
  left: 0;
  right: 0;
  height: clamp(48px, 8dvh, 64px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 clamp(8px, 2.7vw, 14px);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(-112%);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  pointer-events: none;
}

.floating-header.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


/* v11: mobile hidden header mirrors kariyerlab360-card-game-v7 topbar proportions */
.floating-header .logo {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  color: #102a61;
  font-weight: 880;
  font-size: clamp(19px, 5vw, 26px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: none;
}

.floating-header .logo span {
  color: #f58220;
  letter-spacing: -0.055em;
}

.floating-header .user-area {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1.7vw, 10px);
  min-width: 0;
}

.floating-header .avatar {
  width: clamp(31px, 8.8vw, 40px);
  height: clamp(31px, 8.8vw, 40px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 850;
  font-size: 13px;
  border: 2px solid rgba(255,255,255,.94);
  background: linear-gradient(135deg, rgba(245,130,32,.95), rgba(16,42,97,.95));
  box-shadow: 0 8px 18px rgba(18, 32, 61, .14);
}

.floating-header .exit-button {
  height: clamp(35px, 6.8dvh, 42px);
  padding: 0 clamp(10px, 3vw, 15px);
  border-radius: 15px;
  border: 1px solid rgba(15, 34, 72, .08);
  background: rgba(255,255,255,.88);
  color: #0f2248;
  box-shadow: 0 8px 18px rgba(18, 32, 61, .06);
  cursor: pointer;
  user-select: none;
  font-size: clamp(12px, 3vw, 14px);
  font-weight: 750;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
}

.floating-header .exit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(18, 32, 61, .10);
}

@media (max-height: 570px) and (max-width: 899px) {
  .floating-header {
    height: 40px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .floating-header .avatar {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .floating-header .exit-button {
    height: 30px;
    border-radius: 11px;
    padding: 0 9px;
  }
}


/* Mobile floating header uses the v7 logo/user-area proportions below. */

.mobile-actions-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, #102a61, #245df4);
  box-shadow: 0 7px 14px rgba(16,42,97,.18);
}

.exit-btn {
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  background: linear-gradient(135deg, #ef4444, #ff7272);
  box-shadow: 0 7px 14px rgba(239,68,68,.22);
}

.mini-header {
  position: fixed;
  z-index: 34;
  top: calc(var(--safe-top) + 14px);
  left: 22px;
  right: 22px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.02em;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 4px 16px rgba(0,0,0,.48);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.floating-header.visible + .mini-header {
  opacity: 0;
  transform: translateY(-8px);
}

.mobile-hot-zone {
  position: fixed;
  z-index: 33;
  top: 0;
  left: 0;
  right: 0;
  height: 15vh;
  opacity: 0;
  border: 0;
  background: transparent;
}

.mobile-content {
  position: absolute;
  z-index: 6;
  left: 20px;
  right: 20px;
  bottom: calc(var(--safe-bottom) + 158px);
  display: grid;
  gap: 16px;
  pointer-events: none;
}

.mobile-question {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(21px, 5.7vw, 28px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-shadow: 0 5px 20px rgba(0,0,0,.42);
}

.vertical-tags {
  display: grid;
  gap: 11px;
}

.big-tag {
  min-height: 60px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  color: #fff;
  text-align: center;
  font-size: clamp(18px, 4.9vw, 22px);
  font-weight: 900;
  letter-spacing: -.035em;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.mobile-profile-panel {
  color: #fff;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.profile-card-line,
.profile-description {
  border-radius: 22px;
  background: rgba(18,22,32,.62);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

.profile-card-line {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.profile-name {
  display: grid;
  gap: 4px;
}

.profile-name strong {
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1;
  letter-spacing: -.05em;
}

.profile-name small {
  font-size: 13px;
  font-weight: 800;
  opacity: .92;
}

.profile-role {
  align-self: flex-start;
  border-radius: 999px;
  padding: 9px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.profile-description {
  padding: 14px 16px;
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 1.42;
}

.mobile-video-title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(28px, 7.4vw, 42px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.05em;
  text-shadow: 0 5px 24px rgba(0,0,0,.55);
  pointer-events: none;
}

.play-btn {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  cursor: pointer;
  transition: opacity .16s ease, transform .16s ease;
}

.play-btn svg {
  width: 38px;
  height: 38px;
  margin-left: 4px;
}

.reactions {
  position: fixed;
  z-index: 24;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-bottom) + 62px);
  display: flex;
  justify-content: center;
  gap: 24px;
}

.react {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.05));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.28),
    inset 0 -10px 18px rgba(0,0,0,.22),
    0 20px 42px rgba(0,0,0,.34);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.react::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.02));
}

.react svg {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
}

.react:active {
  transform: translateY(2px) scale(.96);
}

.react.like.selected {
  background: linear-gradient(180deg, rgba(115,255,170,.42), rgba(34,197,94,.96));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.28),
    inset 0 -10px 18px rgba(0,0,0,.20),
    0 22px 44px rgba(34,197,94,.36),
    0 0 0 7px rgba(34,197,94,.16);
}

.react.dislike.selected {
  background: linear-gradient(180deg, rgba(255,165,165,.42), rgba(239,68,68,.96));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.28),
    inset 0 -10px 18px rgba(0,0,0,.20),
    0 22px 44px rgba(239,68,68,.36),
    0 0 0 7px rgba(239,68,68,.16);
}

.corner-icon {
  position: fixed;
  z-index: 23;
  top: calc(var(--safe-top) + 58px);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: .22;
  transform: scale(.88);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.corner-icon svg {
  width: 24px;
  height: 24px;
}

.corner-icon.left {
  left: 18px;
}

.corner-icon.right {
  right: 18px;
}

.corner-icon.active {
  opacity: 1;
  transform: scale(1);
}

.corner-icon.like.active {
  background: rgba(34,197,94,.90);
}

.corner-icon.dislike.active {
  background: rgba(239,68,68,.90);
}

.mobile-progress-wrap {
  position: fixed;
  z-index: 30;
  left: 14px;
  right: 14px;
  bottom: calc(var(--safe-bottom) + 12px);
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .24s ease;
}

/* Desktop game */
.desktop-game {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 26px;
}

.desktop-top {
  display: grid;
  gap: 13px;
}

.desktop-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: color-mix(in srgb, #fff 68%, var(--accent-soft));
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.desktop-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.desktop-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16,42,97,.11);
}

.desktop-carousel {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: min(100%, 960px);
  height: min(72vh, 720px);
}

.desktop-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(29vw, 390px);
  height: min(72vh, 720px);
  max-height: 720px;
  transform: translate(-50%, -50%);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #101827;
  touch-action: none;
  user-select: none;
}

.desktop-card.preview {
  width: min(23vw, 310px);
  height: min(62vh, 620px);
  opacity: .32;
  filter: blur(2px) saturate(.75);
  box-shadow: 0 18px 48px rgba(18,32,61,.14);
  pointer-events: none;
}

.desktop-card.prev {
  transform: translate(-150%, -50%) scale(.88);
}

.desktop-card.next {
  transform: translate(50%, -50%) scale(.88);
}

.desktop-card.active {
  z-index: 5;
  cursor: grab;
}

.desktop-card.active:active {
  cursor: grabbing;
}

.desktop-media,
.desktop-media img,
.desktop-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,12,24,.28) 0%, rgba(8,12,24,.08) 30%, rgba(8,12,24,.20) 58%, rgba(8,12,24,.70) 100%);
}

.desktop-content {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 136px;
  display: grid;
  gap: 14px;
  pointer-events: none;
}

.desktop-question {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-shadow: 0 5px 20px rgba(0,0,0,.42);
}

.desktop-tags {
  display: grid;
  gap: 10px;
}

.desktop-tags .big-tag {
  min-height: 48px;
  font-size: clamp(14px, 1.25vw, 18px);
}

.desktop-reactions {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.desktop-reactions .react {
  width: 70px;
  height: 70px;
}

.desktop-corner {
  position: absolute;
  top: 18px;
  z-index: 5;
}

.desktop-corner.left {
  left: 18px;
}

.desktop-corner.right {
  right: 18px;
}

.desktop-profile-panel {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 132px;
  display: grid;
  gap: 10px;
  color: #fff;
}

.desktop-video-title {
  position: absolute;
  z-index: 4;
  top: 42px;
  left: 24px;
  right: 24px;
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -.05em;
  text-shadow: 0 5px 24px rgba(0,0,0,.55);
}

.desktop-play {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  cursor: pointer;
}

.desktop-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.desktop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.desktop-footer button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.preview-mini-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
}

/* Results */
.result-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 34px;
}

.result {
  width: min(100%, 780px);
  display: grid;
  gap: 16px;
  background: rgba(255,255,255,.94);
  border-radius: 28px;
  box-shadow: var(--shadow-panel);
  padding: 32px;
}

.result h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -.06em;
}

.result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  border-radius: 18px;
  padding: 16px;
  background: color-mix(in srgb, #fff 72%, var(--accent-soft));
  border: 1px solid var(--line);
}

.metric b {
  display: block;
  font-size: 28px;
}

.answers {
  max-height: 220px;
  overflow: auto;
  border-radius: 18px;
  padding: 14px;
  background: #091121;
  color: #dbe6ff;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  top: calc(var(--safe-top) + 16px);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(0,0,0,.64);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  transition: opacity .18s ease;
}

.toast.show {
  opacity: 1;
}

.card-no-select,
.card-no-select * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

@media (max-width: 899px) {
  .shell {
    display: block;
    padding: 0;
  }

  .left,
  .right {
    display: none;
  }

  .main {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .intro-wrap {
    padding: calc(var(--safe-top) + 18px) 18px calc(var(--safe-bottom) + 18px);
  }

  .intro {
    width: 100%;
    height: 100%;
    grid-template-rows: auto clamp(96px, 16vh, 132px) auto auto 1fr auto;
    gap: 16px;
  }

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

  .mobile-brand .brand {
    font-size: 22px;
  }

  .mobile-brand .brand-icon {
    width: 34px;
    height: 34px;
  }

  .intro h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .intro-copy p {
    font-size: 15px;
  }

  .todo {
    padding: 16px;
  }

  .todo-list {
    font-size: 14px;
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .mobile-content {
    bottom: calc(var(--safe-bottom) + 142px);
    gap: 12px;
  }

  .mobile-question {
    font-size: clamp(20px, 5.3vw, 25px);
  }

  .vertical-tags {
    gap: 8px;
  }

  .big-tag {
    min-height: 46px;
    padding: 9px 14px;
    font-size: clamp(15px, 4.2vw, 18px);
  }

  .react {
    width: 72px;
    height: 72px;
  }

  .reactions {
    bottom: calc(var(--safe-bottom) + 58px);
  }
}


/* v10 mobile refinement: compact hidden header + direct text over the image */
@media (max-width: 899px) {
  .mobile-game,
  .mobile-stage,
  .mobile-full-card,
  .mobile-background {
    width: 100vw;
    height: 100dvh;
  }

  .mobile-background img,
  .mobile-background video {
    width: 100vw;
    height: 100dvh;
    object-fit: cover;
  }

  .mini-header strong,
  .mini-header span {
    background: transparent;
    color: #fff;
  }

  .floating-header .brand mark {
    color: #245df4;
  }

  .floating-header .brand .brand-360 {
    color: var(--accent);
  }
}


/* v11 final mobile hashtag layout */
@media (max-width: 899px) {
  .app[data-stage="hashtag"] .mini-header {
    top: calc(var(--safe-top) + 14px);
    left: 22px;
    right: 22px;
    min-height: 28px;
    color: #fff;
    font-size: clamp(15px, 4.1vw, 17px);
    font-weight: 900;
    letter-spacing: -.025em;
    text-shadow: 0 4px 16px rgba(0,0,0,.52);
  }

  .app[data-stage="hashtag"] .mobile-content {
    top: calc(var(--safe-top) + clamp(86px, 12.6dvh, 112px));
    bottom: auto;
    left: 22px;
    right: 22px;
    gap: 0;
    align-content: start;
  }

  .app[data-stage="hashtag"] .mobile-question {
    max-width: 86%;
    margin: 0 auto;
    color: rgba(255,255,255,.96);
    font-size: clamp(18px, 4.7vw, 21px);
    font-weight: 330;
    line-height: 1.22;
    letter-spacing: -.018em;
    text-shadow: 0 4px 18px rgba(0,0,0,.48);
  }

  .app[data-stage="hashtag"] .vertical-tags {
    margin-top: clamp(36px, 7.2dvh, 62px);
    gap: clamp(10px, 1.6dvh, 14px);
  }

  .app[data-stage="hashtag"] .big-tag {
    min-height: clamp(58px, 7.2dvh, 68px);
    padding: 13px 20px;
    font-size: clamp(18px, 4.9vw, 23px);
    font-weight: 900;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(14px);
    box-shadow:
      0 14px 30px rgba(0,0,0,.18),
      inset 0 1px 0 rgba(255,255,255,.16);
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .app[data-stage="hashtag"] .mobile-content {
    top: calc(var(--safe-top) + 74px);
    bottom: auto;
  }

  .app[data-stage="hashtag"] .mobile-question {
    font-size: clamp(16px, 4.3vw, 19px);
  }

  .app[data-stage="hashtag"] .vertical-tags {
    margin-top: 26px;
    gap: 8px;
  }

  .app[data-stage="hashtag"] .big-tag {
    min-height: 50px;
    padding: 10px 16px;
    font-size: clamp(15px, 4.2vw, 19px);
  }
}

/* Desktop hashtag cards also use the transparent premium tag style, not color-filled chips. */
@media (min-width: 900px) {
  .desktop-tags .big-tag {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(14px);
    text-shadow: 0 4px 18px rgba(0,0,0,.55);
  }
}


/* v12 final hashtag spacing + adaptive tag width fix */
@media (max-width: 899px) {
  .app[data-stage="hashtag"] .mobile-question {
    font-size: clamp(18px, 4.65vw, 21px);
    font-weight: 360;
    line-height: 1.24;
    letter-spacing: -.012em;
  }

  .app[data-stage="hashtag"] .vertical-tags {
    margin-top: clamp(50px, 8.6dvh, 76px);
    gap: clamp(12px, 1.95dvh, 16px);
    justify-items: center;
  }

  .app[data-stage="hashtag"] .big-tag {
    width: max-content;
    min-width: min(74vw, 360px);
    max-width: min(92vw, 430px);
    min-height: clamp(60px, 7.6dvh, 70px);
    padding: 13px clamp(20px, 5vw, 28px);
    font-size: clamp(18px, 4.55vw, 22px);
    font-weight: 860;
    line-height: 1.08;
    letter-spacing: -.014em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 380px) {
  .app[data-stage="hashtag"] .big-tag {
    min-width: 78vw;
    max-width: 92vw;
    font-size: clamp(16px, 4.5vw, 19px);
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (min-width: 381px) and (max-width: 520px) {
  .app[data-stage="hashtag"] .big-tag {
    min-width: min(76vw, 380px);
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .app[data-stage="hashtag"] .vertical-tags {
    margin-top: 34px;
    gap: 10px;
  }

  .app[data-stage="hashtag"] .big-tag {
    min-height: 52px;
    font-size: clamp(16px, 4.25vw, 19px);
  }
}

@media (min-width: 900px) {
  .desktop-tags {
    justify-items: center;
  }

  .desktop-tags .big-tag {
    width: max-content;
    min-width: min(70%, 300px);
    max-width: 92%;
    padding-left: 22px;
    padding-right: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* v13: hashtag stage sequential premium entrance animation */
@keyframes kl360BgReveal {
  from {
    opacity: .78;
    transform: scale(1.035);
    filter: saturate(.92) contrast(.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1.04) contrast(1.02);
  }
}

@keyframes kl360FadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kl360QuestionIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes kl360TagIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.965);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes kl360ReactionPop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.88);
    filter: blur(4px);
  }
  68% {
    opacity: 1;
    transform: translateY(-2px) scale(1.035);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes kl360ProgressIn {
  from {
    opacity: 0;
    transform: translateY(8px) scaleX(.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleX(1);
  }
}

@media (max-width: 899px) {
  .app[data-stage="hashtag"] .mobile-background img,
  .app[data-stage="hashtag"] .mobile-background video {
    transform-origin: center center;
    animation: kl360BgReveal .62s cubic-bezier(.19,.84,.22,1) both;
    will-change: transform, opacity, filter;
  }

  .app[data-stage="hashtag"] .mini-header {
    animation: kl360FadeDown .38s cubic-bezier(.2,.82,.2,1) .24s both;
    will-change: transform, opacity;
  }

  .app[data-stage="hashtag"] .mobile-question {
    opacity: 0;
    animation: kl360QuestionIn .46s cubic-bezier(.2,.82,.2,1) .44s both;
    will-change: transform, opacity, filter;
  }

  .app[data-stage="hashtag"] .big-tag {
    opacity: 0;
    animation: kl360TagIn .48s cubic-bezier(.2,.86,.18,1) both;
    will-change: transform, opacity, filter;
  }

  .app[data-stage="hashtag"] .big-tag:nth-child(1) { animation-delay: .66s; }
  .app[data-stage="hashtag"] .big-tag:nth-child(2) { animation-delay: .81s; }
  .app[data-stage="hashtag"] .big-tag:nth-child(3) { animation-delay: .96s; }
  .app[data-stage="hashtag"] .big-tag:nth-child(4) { animation-delay: 1.11s; }

  .app[data-stage="hashtag"] .reactions .react {
    opacity: 0;
    animation: kl360ReactionPop .42s cubic-bezier(.18,.88,.18,1) 1.30s both;
    will-change: transform, opacity, filter;
  }

  .app[data-stage="hashtag"] .reactions .react.like {
    animation-delay: 1.36s;
  }

  .app[data-stage="hashtag"] .mobile-progress-wrap {
    transform-origin: center bottom;
    animation: kl360ProgressIn .36s ease 1.42s both;
    will-change: transform, opacity;
  }

  .app[data-stage="hashtag"] .corner-icon.active {
    animation: kl360ReactionPop .34s cubic-bezier(.18,.88,.18,1) 1.22s both;
  }
}

@media (min-width: 900px) {
  .app[data-stage="hashtag"] .desktop-card.active .desktop-media img,
  .app[data-stage="hashtag"] .desktop-card.active .desktop-media video {
    transform-origin: center center;
    animation: kl360BgReveal .62s cubic-bezier(.19,.84,.22,1) both;
  }

  .app[data-stage="hashtag"] .desktop-card.active .desktop-question {
    opacity: 0;
    animation: kl360QuestionIn .46s cubic-bezier(.2,.82,.2,1) .34s both;
  }

  .app[data-stage="hashtag"] .desktop-card.active .big-tag {
    opacity: 0;
    animation: kl360TagIn .48s cubic-bezier(.2,.86,.18,1) both;
  }

  .app[data-stage="hashtag"] .desktop-card.active .big-tag:nth-child(1) { animation-delay: .55s; }
  .app[data-stage="hashtag"] .desktop-card.active .big-tag:nth-child(2) { animation-delay: .70s; }
  .app[data-stage="hashtag"] .desktop-card.active .big-tag:nth-child(3) { animation-delay: .85s; }
  .app[data-stage="hashtag"] .desktop-card.active .big-tag:nth-child(4) { animation-delay: 1.00s; }

  .app[data-stage="hashtag"] .desktop-card.active .desktop-reactions .react {
    opacity: 0;
    animation: kl360ReactionPop .42s cubic-bezier(.18,.88,.18,1) 1.18s both;
  }

  .app[data-stage="hashtag"] .desktop-card.active .desktop-reactions .react.like {
    animation-delay: 1.24s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app[data-stage="hashtag"] .mobile-background img,
  .app[data-stage="hashtag"] .mobile-background video,
  .app[data-stage="hashtag"] .mini-header,
  .app[data-stage="hashtag"] .mobile-question,
  .app[data-stage="hashtag"] .big-tag,
  .app[data-stage="hashtag"] .reactions .react,
  .app[data-stage="hashtag"] .mobile-progress-wrap,
  .app[data-stage="hashtag"] .desktop-card.active .desktop-media img,
  .app[data-stage="hashtag"] .desktop-card.active .desktop-media video,
  .app[data-stage="hashtag"] .desktop-card.active .desktop-question,
  .app[data-stage="hashtag"] .desktop-card.active .desktop-reactions .react {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* v14: premium selection pulse; no flying heart animation */
@keyframes kl360SelectionPulse {
  0% {
    transform: scale(1);
  }
  34% {
    transform: scale(.94);
  }
  68% {
    transform: scale(1.075);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes kl360SelectionRing {
  0% {
    opacity: .44;
    transform: scale(.72);
  }
  72% {
    opacity: .10;
    transform: scale(1.62);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

.react.pulse {
  animation: kl360SelectionPulse .46s cubic-bezier(.2,.88,.18,1) both;
}

.react.pulse::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,.72);
  box-shadow:
    0 0 0 8px rgba(255,255,255,.08),
    0 18px 34px rgba(0,0,0,.18);
  animation: kl360SelectionRing .54s cubic-bezier(.18,.82,.2,1) both;
}

.react.like.pulse::after {
  border-color: rgba(74, 222, 128, .76);
  box-shadow:
    0 0 0 8px rgba(34,197,94,.12),
    0 18px 34px rgba(34,197,94,.22);
}

.react.dislike.pulse::after {
  border-color: rgba(248, 113, 113, .76);
  box-shadow:
    0 0 0 8px rgba(239,68,68,.12),
    0 18px 34px rgba(239,68,68,.22);
}

.corner-icon {
  color: #fff;
}

.corner-icon.pulse {
  animation: kl360SelectionPulse .42s cubic-bezier(.2,.88,.18,1) both;
}

.corner-icon.like.active {
  background: rgba(34,197,94,.90);
  box-shadow:
    0 12px 28px rgba(0,0,0,.24),
    0 0 0 6px rgba(34,197,94,.14);
}

.corner-icon.dislike.active {
  background: rgba(239,68,68,.90);
  box-shadow:
    0 12px 28px rgba(0,0,0,.24),
    0 0 0 6px rgba(239,68,68,.14);
}

@media (prefers-reduced-motion: reduce) {
  .react.pulse,
  .corner-icon.pulse {
    animation: none !important;
  }

  .react.pulse::after {
    animation: none !important;
    opacity: 0 !important;
  }
}


/* v15 premium intro page: aligned with v7 proportions and interests-module colors */
.premium-intro {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 10%, rgba(139,60,246,.12) 0 17%, transparent 37%),
    radial-gradient(circle at 90% 12%, rgba(245,130,32,.12) 0 15%, transparent 34%),
    radial-gradient(circle at 82% 92%, rgba(229,37,42,.10) 0 15%, transparent 33%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,243,237,.96));
}

.premium-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .52;
  background-image:
    linear-gradient(135deg, rgba(16,42,97,.045) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.70) 1px, transparent 2px);
  background-size: 92px 92px, 34px 34px;
}

.intro-topbar {
  position: relative;
  z-index: 3;
  height: clamp(48px, 8dvh, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 clamp(2px, .6vw, 8px);
}

.intro-topbar .logo {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  color: #102a61;
  font-weight: 880;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.intro-topbar .logo span {
  color: #f58220;
  letter-spacing: -0.055em;
}

.intro-topbar .user-area {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1vw, 12px);
  min-width: 0;
}

.intro-topbar .avatar {
  width: clamp(36px, 3.2vw, 42px);
  height: clamp(36px, 3.2vw, 42px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 850;
  font-size: 13px;
  border: 2px solid rgba(255,255,255,.94);
  background: linear-gradient(135deg, rgba(245,130,32,.95), rgba(16,42,97,.95));
  box-shadow: 0 8px 18px rgba(18, 32, 61, .14);
}

.intro-topbar .exit-button {
  height: clamp(36px, 3.3vw, 42px);
  padding: 0 clamp(12px, 1.2vw, 16px);
  border-radius: 15px;
  border: 1px solid rgba(15, 34, 72, .08);
  background: rgba(255,255,255,.88);
  color: #0f2248;
  box-shadow: 0 8px 18px rgba(18, 32, 61, .06);
  cursor: pointer;
  user-select: none;
  font-size: clamp(12px, .9vw, 14px);
  font-weight: 750;
  white-space: nowrap;
}

.intro-stage-card {
  position: relative;
  z-index: 2;
  height: calc(100% - clamp(48px, 8dvh, 64px));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
  padding: clamp(10px, 2vw, 24px) clamp(0px, 1vw, 12px) clamp(4px, 1vw, 10px);
}

.intro-copy-block {
  max-width: 610px;
  display: grid;
  gap: clamp(14px, 1.5vh, 20px);
}

.intro-eyebrow {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 8px 14px;
  color: #5B21B6;
  background: rgba(139,60,246,.10);
  border: 1px solid rgba(139,60,246,.14);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intro-copy-block h1 {
  margin: 0;
  max-width: 620px;
  color: #102a61;
  font-size: clamp(40px, 4.7vw, 72px);
  line-height: .96;
  letter-spacing: -.075em;
  font-weight: 930;
}

.intro-main-text {
  margin: 0;
  max-width: 590px;
  color: #263247;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.55;
  font-weight: 520;
}

.intro-trust {
  margin: 0;
  max-width: 560px;
  color: #667086;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.44;
  font-weight: 640;
}

.intro-stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.intro-stage-pills span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 14px;
  color: #17223b;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(16,42,97,.08);
  box-shadow: 0 10px 24px rgba(18,32,61,.06);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 850;
}

.intro-stage-pills b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #8B3CF6, #F58220);
  box-shadow: 0 8px 16px rgba(139,60,246,.18);
  font-size: 13px;
  font-style: normal;
}

.intro-stage-pills span:nth-child(2) b {
  background: linear-gradient(135deg, #F15A24, #FF9D44);
}

.intro-stage-pills span:nth-child(3) b {
  background: linear-gradient(135deg, #E5252A, #FF7376);
}

.intro-meta-line {
  color: #667086;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .01em;
}

.intro-cta {
  width: min(100%, 260px);
  height: 58px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  cursor: pointer;
  font-weight: 930;
  font-size: 16px;
  letter-spacing: -.01em;
  background:
    linear-gradient(135deg, #8B3CF6 0%, #F58220 58%, #E5252A 115%);
  box-shadow:
    0 18px 38px rgba(139,60,246,.20),
    0 10px 22px rgba(245,130,32,.13);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.intro-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow:
    0 22px 46px rgba(139,60,246,.24),
    0 12px 26px rgba(245,130,32,.17);
}

.intro-cta:active {
  transform: translateY(1px) scale(.985);
}

.intro-visual {
  position: relative;
  height: min(68vh, 650px);
  min-height: 470px;
  display: grid;
  place-items: center;
}

.preview-card {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.70);
  background: rgba(255,255,255,.54);
  backdrop-filter: blur(18px);
  box-shadow:
    0 34px 90px rgba(18,32,61,.20),
    inset 0 1px 0 rgba(255,255,255,.64);
}

.preview-tags {
  z-index: 3;
  width: min(76%, 370px);
  height: min(92%, 590px);
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  color: #fff;
  transform: rotate(-1.8deg);
  background:
    linear-gradient(180deg, rgba(8,12,24,.18), rgba(8,12,24,.62)),
    radial-gradient(circle at 25% 16%, rgba(139,60,246,.56), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(245,130,32,.38), transparent 36%),
    linear-gradient(145deg, #15203a, #0b1020);
}

.preview-tags::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .62;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 34%, rgba(229,37,42,.22), transparent 25%);
  background-size: 46px 46px, auto;
}

.preview-mini-title {
  font-size: 15px;
  font-weight: 920;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.preview-question {
  align-self: start;
  justify-self: center;
  width: 86%;
  text-align: center;
  color: rgba(255,255,255,.90);
  font-size: 17px;
  font-weight: 360;
  line-height: 1.25;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.preview-tags-list {
  align-self: center;
  display: grid;
  gap: 12px;
}

.preview-tags-list span {
  justify-self: center;
  width: max-content;
  max-width: 100%;
  min-width: 72%;
  min-height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.015em;
  text-shadow: 0 4px 18px rgba(0,0,0,.52);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.preview-reactions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.preview-reactions em {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-style: normal;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.18),
    inset 0 -9px 16px rgba(0,0,0,.22),
    0 14px 26px rgba(0,0,0,.22);
}

.preview-profile {
  z-index: 2;
  width: min(58%, 300px);
  height: min(62%, 420px);
  right: 1%;
  top: 5%;
  padding: 22px;
  transform: rotate(9deg);
  background:
    radial-gradient(circle at 42% 20%, rgba(255,157,68,.38), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
}

.preview-avatar {
  width: 90px;
  height: 90px;
  margin: 22px auto 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 38% 34%, rgba(255,255,255,.80), transparent 30%),
    linear-gradient(135deg, #F15A24, #FF9D44);
  box-shadow: 0 18px 36px rgba(241,90,36,.20);
}

.preview-lines {
  display: grid;
  gap: 10px;
}

.preview-lines i {
  height: 12px;
  border-radius: 999px;
  background: rgba(16,42,97,.14);
}

.preview-lines i:nth-child(1) { width: 78%; }
.preview-lines i:nth-child(2) { width: 92%; }
.preview-lines i:nth-child(3) { width: 58%; }

.preview-profile-chip {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #F15A24, #FF9D44);
  font-size: 13px;
  font-weight: 900;
}

.preview-video {
  z-index: 1;
  width: min(52%, 280px);
  height: min(56%, 380px);
  left: 4%;
  bottom: 5%;
  transform: rotate(-10deg);
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.22), transparent 24%),
    linear-gradient(145deg, #E5252A, #102a61);
}

.preview-play {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 18px 42px rgba(0,0,0,.22);
  font-size: 24px;
}

.preview-video-title {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

@keyframes introPreviewFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-8px) rotate(var(--r)); }
}

.preview-tags { --r: -1.8deg; animation: introPreviewFloat 5.8s ease-in-out infinite; }
.preview-profile { --r: 9deg; animation: introPreviewFloat 6.4s ease-in-out .4s infinite; }
.preview-video { --r: -10deg; animation: introPreviewFloat 6.1s ease-in-out .7s infinite; }

@media (max-width: 899px) {
  .main .premium-intro,
  .premium-intro {
    border-radius: 0;
  }

  .premium-intro {
    height: 100dvh;
    padding: calc(var(--safe-top) + 8px) 18px calc(var(--safe-bottom) + 16px);
  }

  .intro-topbar {
    height: clamp(48px, 8dvh, 62px);
    padding: 0;
  }

  .intro-topbar .logo {
    font-size: clamp(21px, 5.6vw, 27px);
  }

  .intro-topbar .avatar {
    width: clamp(32px, 8.6vw, 39px);
    height: clamp(32px, 8.6vw, 39px);
    font-size: 12px;
  }

  .intro-topbar .exit-button {
    height: clamp(34px, 6.6dvh, 40px);
    padding: 0 12px;
    font-size: 12px;
  }

  .intro-stage-card {
    height: calc(100% - clamp(48px, 8dvh, 62px));
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(205px, 1fr);
    align-items: start;
    gap: 14px;
    padding: 8px 0 0;
  }

  .intro-copy-block {
    max-width: 100%;
    gap: 11px;
  }

  .intro-eyebrow {
    padding: 7px 12px;
    font-size: 11px;
  }

  .intro-copy-block h1 {
    font-size: clamp(36px, 9.8vw, 48px);
    line-height: .98;
    letter-spacing: -.07em;
  }

  .intro-main-text {
    font-size: 15px;
    line-height: 1.42;
  }

  .intro-trust {
    font-size: 13px;
    line-height: 1.34;
  }

  .intro-stage-pills {
    gap: 8px;
  }

  .intro-stage-pills span {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .intro-stage-pills b {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .intro-meta-line {
    font-size: 12px;
  }

  .intro-cta {
    width: 100%;
    height: 54px;
    border-radius: 17px;
    margin-top: 2px;
  }

  .intro-visual {
    width: 100%;
    height: 100%;
    min-height: 210px;
    max-height: 330px;
    align-self: end;
  }

  .preview-tags {
    width: min(74vw, 292px);
    height: min(100%, 318px);
    border-radius: 26px;
    padding: 16px;
  }

  .preview-mini-title {
    font-size: 12px;
  }

  .preview-question {
    font-size: 12px;
  }

  .preview-tags-list {
    gap: 8px;
  }

  .preview-tags-list span {
    min-height: 34px;
    min-width: 72%;
    padding: 0 13px;
    font-size: 12px;
  }

  .preview-reactions em {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .preview-profile {
    width: 44vw;
    height: 52%;
    right: -4%;
    top: 2%;
    border-radius: 24px;
    padding: 14px;
  }

  .preview-avatar {
    width: 58px;
    height: 58px;
    border-radius: 22px;
    margin: 12px auto 14px;
  }

  .preview-profile-chip {
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 30px;
    font-size: 10px;
  }

  .preview-video {
    width: 41vw;
    height: 48%;
    left: -4%;
    bottom: 0;
    border-radius: 24px;
  }

  .preview-play {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }

  .preview-video-title {
    left: 12px;
    right: 12px;
    bottom: 14px;
    font-size: 10px;
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .premium-intro {
    padding-top: calc(var(--safe-top) + 6px);
  }

  .intro-stage-card {
    gap: 8px;
  }

  .intro-copy-block {
    gap: 8px;
  }

  .intro-copy-block h1 {
    font-size: clamp(30px, 8.8vw, 40px);
  }

  .intro-main-text,
  .intro-trust {
    font-size: 12.8px;
  }

  .intro-stage-pills span {
    min-height: 30px;
    font-size: 11px;
  }

  .intro-meta-line {
    display: none;
  }

  .intro-cta {
    height: 48px;
  }

  .intro-visual {
    max-height: 245px;
  }

  .preview-tags {
    height: 238px;
  }

  .preview-tags-list span {
    min-height: 26px;
    font-size: 10px;
  }

  .preview-question {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-tags,
  .preview-profile,
  .preview-video {
    animation: none !important;
  }
}


/* v16 video-section intro page */
.premium-intro.video-intro {
  background:
    radial-gradient(circle at 12% 10%, rgba(229,37,42,.12) 0 17%, transparent 37%),
    radial-gradient(circle at 92% 18%, rgba(255,115,118,.14) 0 16%, transparent 36%),
    radial-gradient(circle at 78% 92%, rgba(16,42,97,.12) 0 16%, transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(247,243,237,.96));
}

.video-intro .intro-eyebrow {
  color: #B91C1C;
  background: rgba(229,37,42,.10);
  border-color: rgba(229,37,42,.14);
}

.video-intro .intro-copy-block h1 {
  max-width: 680px;
}

.video-intro .intro-stage-pills span.active {
  background: rgba(229,37,42,.10);
  border-color: rgba(229,37,42,.20);
  color: #B91C1C;
}

.intro-stage-pills span.active {
  background: rgba(139,60,246,.10);
  border-color: rgba(139,60,246,.20);
  color: #5B21B6;
}

.intro-stage-pills span.done {
  opacity: .82;
}

.video-cta {
  background:
    linear-gradient(135deg, #E5252A 0%, #FF7376 56%, #102a61 120%);
  box-shadow:
    0 18px 38px rgba(229,37,42,.20),
    0 10px 22px rgba(16,42,97,.10);
}

.video-intro-visual {
  position: relative;
  height: min(70vh, 670px);
  min-height: 500px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.video-main-card {
  position: relative;
  z-index: 4;
  width: min(68%, 370px);
  height: min(94%, 610px);
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow:
    0 38px 100px rgba(18,32,61,.26),
    inset 0 1px 0 rgba(255,255,255,.50);
  background: #0b1020;
  transform: rotate(-1.5deg);
}

.video-main-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.23), transparent 18%),
    radial-gradient(circle at 35% 20%, rgba(255,115,118,.42), transparent 24%),
    radial-gradient(circle at 82% 88%, rgba(16,42,97,.70), transparent 36%),
    linear-gradient(145deg, #E5252A, #0b1020 76%);
}

.video-main-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .46;
  background:
    linear-gradient(180deg, rgba(8,12,24,.10), rgba(8,12,24,.72)),
    radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 2px);
  background-size: auto, 36px 36px;
}

.video-main-top {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.32);
}

.video-main-top span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.video-main-top small {
  font-size: 12px;
  font-weight: 900;
  opacity: .90;
}

.video-main-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 45%;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #fff;
  font-size: 30px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 24px 60px rgba(0,0,0,.30);
}

.video-main-bottom {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 24px;
  display: grid;
  gap: 12px;
  color: #fff;
}

.video-main-bottom h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-shadow: 0 5px 20px rgba(0,0,0,.42);
}

.video-main-bottom p {
  margin: 0 auto;
  max-width: 90%;
  text-align: center;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.38;
  color: rgba(255,255,255,.84);
  text-shadow: 0 5px 18px rgba(0,0,0,.38);
}

.video-main-reactions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 2px;
}

.video-main-reactions em {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-style: normal;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.18),
    inset 0 -9px 16px rgba(0,0,0,.22),
    0 14px 28px rgba(0,0,0,.22);
}

.video-ghost-card {
  position: absolute;
  z-index: 1;
  width: min(50%, 285px);
  height: min(70%, 455px);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.20), transparent 20%),
    linear-gradient(145deg, rgba(229,37,42,.72), rgba(16,42,97,.86));
  border: 1px solid rgba(255,255,255,.50);
  box-shadow: 0 24px 70px rgba(18,32,61,.16);
  opacity: .36;
  filter: blur(1.5px) saturate(.78);
}

.video-ghost-left {
  left: 8%;
  bottom: 8%;
  transform: rotate(-11deg) scale(.90);
}

.video-ghost-right {
  right: 7%;
  top: 6%;
  transform: rotate(10deg) scale(.88);
}

.video-ghost-play {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
}

@keyframes videoMainFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-8px) rotate(-1.5deg); }
}

@keyframes videoGhostFloatLeft {
  0%, 100% { transform: translateY(0) rotate(-11deg) scale(.90); }
  50% { transform: translateY(7px) rotate(-11deg) scale(.90); }
}

@keyframes videoGhostFloatRight {
  0%, 100% { transform: translateY(0) rotate(10deg) scale(.88); }
  50% { transform: translateY(-7px) rotate(10deg) scale(.88); }
}

.video-main-card { animation: videoMainFloat 5.7s ease-in-out infinite; }
.video-ghost-left { animation: videoGhostFloatLeft 6.2s ease-in-out .2s infinite; }
.video-ghost-right { animation: videoGhostFloatRight 6.4s ease-in-out .5s infinite; }

@media (max-width: 899px) {
  .video-intro .intro-stage-card {
    grid-template-rows: auto minmax(225px, 1fr);
  }

  .video-intro .intro-copy-block h1 {
    font-size: clamp(34px, 9.4vw, 46px);
  }

  .video-intro-visual {
    width: 100%;
    height: 100%;
    min-height: 230px;
    max-height: 350px;
    align-self: end;
  }

  .video-main-card {
    width: min(58vw, 245px);
    height: min(100%, 335px);
    border-radius: 28px;
  }

  .video-main-top {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .video-main-top span {
    font-size: 10px;
  }

  .video-main-top small {
    font-size: 10px;
  }

  .video-main-play {
    width: 62px;
    height: 62px;
    font-size: 21px;
  }

  .video-main-bottom {
    left: 15px;
    right: 15px;
    bottom: 16px;
    gap: 8px;
  }

  .video-main-bottom h3 {
    font-size: 16px;
  }

  .video-main-bottom p {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .video-main-reactions {
    gap: 13px;
  }

  .video-main-reactions em {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .video-ghost-card {
    width: min(43vw, 185px);
    height: 72%;
    border-radius: 25px;
  }

  .video-ghost-left {
    left: 0;
    bottom: 4%;
  }

  .video-ghost-right {
    right: 0;
    top: 0;
  }

  .video-ghost-play {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .video-intro-visual {
    max-height: 248px;
  }

  .video-main-card {
    width: min(50vw, 205px);
    height: 236px;
  }

  .video-main-bottom p {
    display: none;
  }

  .video-main-bottom h3 {
    font-size: 13px;
  }

  .video-main-reactions em {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-main-card,
  .video-ghost-left,
  .video-ghost-right {
    animation: none !important;
  }
}


/* v17 video cards: autoplay short-video flow; no play button */
.play-btn,
.desktop-play,
.video-main-play,
.video-ghost-play,
.preview-play {
  display: none !important;
}

@media (max-width: 899px) {
  .app[data-stage="video"] .mobile-content {
    top: calc(var(--safe-top) + clamp(86px, 12.4dvh, 112px));
    bottom: auto;
    left: 22px;
    right: 22px;
    gap: 0;
    align-content: start;
  }

  .app[data-stage="video"] .mobile-question.video-thin-question {
    max-width: 86%;
    margin: 0 auto;
    color: rgba(255,255,255,.96);
    text-align: center;
    font-size: clamp(18px, 4.65vw, 21px);
    font-weight: 360;
    line-height: 1.24;
    letter-spacing: -.012em;
    text-shadow: 0 4px 18px rgba(0,0,0,.50);
    animation: kl360QuestionIn .46s cubic-bezier(.2,.82,.2,1) .28s both;
  }

  .mobile-video-caption {
    position: fixed;
    z-index: 15;
    left: 26px;
    right: 26px;
    bottom: calc(var(--safe-bottom) + 158px);
    display: grid;
    place-items: center;
    pointer-events: none;
    animation: kl360TagIn .48s cubic-bezier(.2,.86,.18,1) .62s both;
  }

  .mobile-video-caption span {
    max-width: min(92vw, 430px);
    min-width: min(72vw, 340px);
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 12px 20px;
    border-radius: 24px;
    color: #fff;
    text-align: center;
    font-size: clamp(17px, 4.4vw, 21px);
    font-weight: 760;
    line-height: 1.14;
    letter-spacing: -.026em;
    text-shadow: 0 4px 18px rgba(0,0,0,.55);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(14px);
    box-shadow:
      0 14px 30px rgba(0,0,0,.18),
      inset 0 1px 0 rgba(255,255,255,.16);
  }

  .app[data-stage="video"] .reactions .react {
    animation: kl360ReactionPop .42s cubic-bezier(.18,.88,.18,1) .92s both;
  }

  .app[data-stage="video"] .reactions .react.like {
    animation-delay: .98s;
  }

  .app[data-stage="video"] .mobile-progress-wrap {
    animation: kl360ProgressIn .36s ease 1.02s both;
  }

  .app[data-stage="video"] .mobile-background video {
    transform-origin: center center;
    animation: kl360BgReveal .62s cubic-bezier(.19,.84,.22,1) both;
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .app[data-stage="video"] .mobile-content {
    top: calc(var(--safe-top) + 74px);
  }

  .mobile-video-caption {
    bottom: calc(var(--safe-bottom) + 146px);
  }

  .mobile-video-caption span {
    min-height: 48px;
    font-size: clamp(15px, 4.1vw, 18px);
    border-radius: 20px;
  }
}

@media (min-width: 900px) {
  .app[data-stage="video"] .desktop-card.active .desktop-media video {
    transform-origin: center center;
    animation: kl360BgReveal .62s cubic-bezier(.19,.84,.22,1) both;
  }

  .desktop-video-question-wrap {
    position: absolute;
    z-index: 5;
    top: 84px;
    left: 24px;
    right: 24px;
    display: grid;
    place-items: center;
    pointer-events: none;
  }

  .desktop-video-question-wrap .desktop-question.video-thin-question {
    max-width: 86%;
    margin: 0 auto;
    color: rgba(255,255,255,.96);
    text-align: center;
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 360;
    line-height: 1.24;
    letter-spacing: -.012em;
    text-shadow: 0 4px 18px rgba(0,0,0,.50);
    animation: kl360QuestionIn .46s cubic-bezier(.2,.82,.2,1) .28s both;
  }

  .desktop-video-caption {
    position: absolute;
    z-index: 6;
    left: 26px;
    right: 26px;
    bottom: 126px;
    display: grid;
    place-items: center;
    pointer-events: none;
    animation: kl360TagIn .48s cubic-bezier(.2,.86,.18,1) .58s both;
  }

  .desktop-video-caption span {
    max-width: 100%;
    min-width: 72%;
    min-height: 54px;
    display: grid;
    place-items: center;
    padding: 12px 18px;
    border-radius: 22px;
    color: #fff;
    text-align: center;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 760;
    line-height: 1.14;
    letter-spacing: -.024em;
    text-shadow: 0 4px 18px rgba(0,0,0,.55);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(14px);
    box-shadow:
      0 14px 30px rgba(0,0,0,.18),
      inset 0 1px 0 rgba(255,255,255,.16);
  }

  .app[data-stage="video"] .desktop-card.active .desktop-reactions .react {
    animation: kl360ReactionPop .42s cubic-bezier(.18,.88,.18,1) .90s both;
  }

  .app[data-stage="video"] .desktop-card.active .desktop-reactions .react.like {
    animation-delay: .96s;
  }
}

/* v17 video intro: clearer, lighter, more fun flow design */
.premium-intro.video-intro {
  background:
    radial-gradient(circle at 10% 10%, rgba(229,37,42,.13) 0 16%, transparent 36%),
    radial-gradient(circle at 84% 18%, rgba(255,157,68,.14) 0 15%, transparent 34%),
    radial-gradient(circle at 82% 92%, rgba(139,60,246,.10) 0 16%, transparent 33%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,243,237,.96));
}

.video-intro .intro-copy-block h1 {
  max-width: 640px;
  color: #102a61;
}

.video-intro .intro-main-text {
  max-width: 570px;
}

.fun-video-flow {
  position: relative;
  height: min(70vh, 670px);
  min-height: 500px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.flow-video-card {
  position: absolute;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.62);
  box-shadow:
    0 36px 92px rgba(18,32,61,.22),
    inset 0 1px 0 rgba(255,255,255,.44);
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.16), transparent 18%),
    linear-gradient(145deg, #E5252A, #102a61 80%);
}

.flow-card-main {
  z-index: 4;
  width: min(68%, 370px);
  height: min(94%, 610px);
  transform: rotate(-1.5deg);
}

.flow-card-left,
.flow-card-right {
  z-index: 1;
  width: min(48%, 280px);
  height: min(68%, 440px);
  opacity: .34;
  filter: blur(1.2px) saturate(.78);
}

.flow-card-left {
  left: 7%;
  bottom: 8%;
  transform: rotate(-12deg) scale(.90);
}

.flow-card-right {
  right: 6%;
  top: 6%;
  transform: rotate(10deg) scale(.88);
}

.flow-motion-lines {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px;
  opacity: .78;
}

.flow-motion-lines i {
  display: block;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.20), rgba(255,255,255,.04));
  transform: translateX(-12%);
  animation: flowLine 2.2s ease-in-out infinite;
}

.flow-motion-lines i:nth-child(2) {
  width: 82%;
  animation-delay: .18s;
}

.flow-motion-lines i:nth-child(3) {
  width: 64%;
  animation-delay: .36s;
}

.flow-motion-lines i:nth-child(4) {
  width: 90%;
  animation-delay: .54s;
}

.flow-motion-lines.strong i {
  height: 46px;
}

.flow-topline {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-shadow: 0 5px 18px rgba(0,0,0,.34);
}

.flow-topline strong {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.flow-topline small {
  font-size: 12px;
  font-weight: 900;
  opacity: .90;
}

.flow-center-copy {
  position: absolute;
  z-index: 3;
  top: 86px;
  left: 28px;
  right: 28px;
  color: rgba(255,255,255,.94);
  text-align: center;
  font-size: 20px;
  font-weight: 360;
  line-height: 1.24;
  letter-spacing: -.018em;
  text-shadow: 0 4px 18px rgba(0,0,0,.46);
}

.flow-caption {
  position: absolute;
  z-index: 3;
  left: 26px;
  right: 26px;
  bottom: 110px;
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  text-align: center;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -.026em;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.flow-reactions {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.flow-reactions em {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-style: normal;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.18),
    inset 0 -9px 16px rgba(0,0,0,.22),
    0 14px 28px rgba(0,0,0,.22);
}

.flow-word {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #102a61;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(16,42,97,.08);
  box-shadow: 0 12px 28px rgba(18,32,61,.10);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.flow-word-one {
  left: 7%;
  top: 18%;
  transform: rotate(-8deg);
}

.flow-word-two {
  right: 8%;
  bottom: 18%;
  transform: rotate(7deg);
}

.flow-video-card span {
  position: absolute;
  left: 22px;
  top: 20px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
}

@keyframes flowLine {
  0%, 100% {
    transform: translateX(-12%);
    opacity: .70;
  }
  50% {
    transform: translateX(12%);
    opacity: 1;
  }
}

@media (max-width: 899px) {
  .video-intro .intro-copy-block h1 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .fun-video-flow {
    width: 100%;
    height: 100%;
    min-height: 230px;
    max-height: 350px;
    align-self: end;
  }

  .flow-card-main {
    width: min(58vw, 245px);
    height: min(100%, 335px);
    border-radius: 28px;
  }

  .flow-card-left,
  .flow-card-right {
    width: min(43vw, 185px);
    height: 72%;
    border-radius: 25px;
  }

  .flow-card-left {
    left: 0;
    bottom: 4%;
  }

  .flow-card-right {
    right: 0;
    top: 0;
  }

  .flow-topline {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .flow-topline strong,
  .flow-topline small {
    font-size: 9px;
  }

  .flow-motion-lines {
    gap: 12px;
    padding: 22px;
  }

  .flow-motion-lines i {
    height: 24px;
  }

  .flow-motion-lines.strong i {
    height: 32px;
  }

  .flow-center-copy {
    top: 52px;
    left: 18px;
    right: 18px;
    font-size: 14px;
  }

  .flow-caption {
    left: 16px;
    right: 16px;
    bottom: 70px;
    min-height: 42px;
    border-radius: 18px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .flow-reactions {
    bottom: 16px;
    gap: 13px;
  }

  .flow-reactions em {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .flow-word {
    height: 32px;
    padding: 0 11px;
    font-size: 10px;
  }

  .flow-word-one {
    left: 0;
    top: 11%;
  }

  .flow-word-two {
    right: 0;
    bottom: 13%;
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .fun-video-flow {
    max-height: 248px;
  }

  .flow-card-main {
    width: min(50vw, 205px);
    height: 236px;
  }

  .flow-center-copy {
    font-size: 12px;
    top: 46px;
  }

  .flow-caption {
    bottom: 56px;
    min-height: 34px;
    font-size: 11px;
  }

  .flow-reactions em {
    width: 33px;
    height: 33px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-motion-lines i {
    animation: none !important;
  }
}

/* v19 profile-card overlay: AP master visual + code-driven multilingual content */
.app[data-stage="profile"] {
  --profile-frame-ratio: 0.5581395349; /* 768 / 1376 */
  --profile-accent-a: #d63cf6;
  --profile-accent-b: #ff8a3d;
  --profile-accent-c: #8d5cff;
}

.app[data-stage="profile"] .mobile-overlay,
.app[data-stage="profile"] .desktop-media::after {
  display: none;
}

.app[data-stage="profile"] .mobile-background img {
  object-fit: contain;
  object-position: center center;
  filter: saturate(1.02) contrast(1.01);
}

.app[data-stage="profile"] .mobile-content {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: min(100vw, 55.81395349dvh);
  height: min(100dvh, 179.1666667vw);
  transform: translate(-50%, -50%);
  display: block;
  pointer-events: none;
  z-index: 9;
}

.app[data-stage="profile"] .mini-header strong {
  color: rgba(255,255,255,.96);
}

.profile-overlay {
  position: absolute;
  inset: 0;
  z-index: 9;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 8px 28px rgba(0,0,0,.52);
}

.profile-metric-labels {
  position: absolute;
  top: 21.35%;
  left: 45.2%;
  right: 8.6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  text-align: center;
  gap: 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(9px, 2.85vw, 12px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.01em;
}

.profile-copy-zone {
  position: absolute;
  top: 34.2%;
  left: 14.8%;
  right: 14.8%;
  min-height: 25.6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(5px, 1.35vw, 8px);
  pointer-events: none;
}

.profile-category {
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.80);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(10px);
  font-size: clamp(8px, 2.35vw, 10px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.profile-overlay-name {
  margin: 0;
  max-width: 100%;
  color: #fff;
  font-size: clamp(24px, 7.2vw, 34px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-overlay-role {
  max-width: 100%;
  color: rgba(255,255,255,.84);
  font-size: clamp(13px, 3.7vw, 17px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.025em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-overlay-bio {
  margin: clamp(5px, 1.4vw, 9px) 0 0;
  max-width: 94%;
  color: rgba(255,255,255,.78);
  font-size: clamp(13px, 3.85vw, 16px);
  font-weight: 430;
  line-height: 1.34;
  letter-spacing: -.026em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(7px, 2.1vw, 10px);
  margin-top: clamp(6px, 1.9vw, 10px);
  max-width: 100%;
}

.profile-chip {
  min-height: clamp(28px, 7.2vw, 34px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0 clamp(12px, 3.4vw, 16px);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.105);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 12px 26px rgba(0,0,0,.12);
  font-size: clamp(11px, 3.15vw, 14px);
  font-weight: 720;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.profile-action-row {
  position: absolute;
  top: 70.65%;
  left: 15.5%;
  right: 15.5%;
  height: 5.35%;
  display: flex;
  align-items: stretch;
  gap: 4.2%;
  pointer-events: none;
}

.profile-answer {
  pointer-events: auto;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.8vw, 9px);
  padding: 0 clamp(8px, 2.4vw, 14px);
  color: #fff;
  font-family: inherit;
  font-size: clamp(11px, 3.45vw, 15px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -.035em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease, border-color .16s ease;
}

.profile-answer-symbol {
  flex: 0 0 auto;
  font-size: 1.05em;
  line-height: 1;
  opacity: .96;
}

.profile-answer.like {
  background: linear-gradient(135deg, rgba(218,38,172,.92), rgba(255,132,49,.92));
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 14px 30px rgba(218,38,172,.18), inset 0 1px 0 rgba(255,255,255,.28);
}

.profile-answer.dislike {
  background: rgba(10,13,24,.24);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 12px 26px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(13px);
}

.profile-answer:active {
  transform: scale(.97) translateY(1px);
}

.profile-answer.selected {
  filter: saturate(1.12) brightness(1.08);
  box-shadow: 0 0 0 3px rgba(255,255,255,.14), 0 18px 38px rgba(217,70,239,.24), inset 0 1px 0 rgba(255,255,255,.30);
}

.profile-answer.pulse {
  animation: kl360SelectionPulse .38s ease both;
}

@media (max-width: 380px) {
  .profile-copy-zone {
    top: 35%;
    gap: 5px;
  }

  .profile-overlay-bio {
    -webkit-line-clamp: 2;
  }

  .profile-chip {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 900px) {
  .app[data-stage="profile"] .desktop-card {
    border-radius: 34px;
    background: #090d18;
  }

  .app[data-stage="profile"] .desktop-media img {
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.02) contrast(1.01);
  }

  .desktop-profile-panel {
    position: absolute;
    inset: 0;
    left: 0;
    right: auto;
    bottom: auto;
    display: block;
    padding: 0;
    gap: 0;
    pointer-events: none;
    color: #fff;
  }

  .desktop-profile-panel .profile-metric-labels {
    top: 21.45%;
    left: 45.2%;
    right: 8.6%;
    font-size: clamp(8px, .82vw, 10px);
  }

  .desktop-profile-panel .profile-copy-zone {
    top: 34.4%;
    left: 14.8%;
    right: 14.8%;
    min-height: 25.4%;
    gap: 7px;
  }

  .desktop-profile-panel .profile-category {
    font-size: clamp(7px, .58vw, 9px);
    padding: 5px 9px;
  }

  .desktop-profile-panel .profile-overlay-name {
    font-size: clamp(23px, 2vw, 31px);
  }

  .desktop-profile-panel .profile-overlay-role {
    font-size: clamp(12px, 1.05vw, 15px);
  }

  .desktop-profile-panel .profile-overlay-bio {
    font-size: clamp(12px, 1vw, 15px);
    line-height: 1.33;
    max-width: 96%;
  }

  .desktop-profile-panel .profile-chip {
    min-height: 30px;
    padding: 0 13px;
    font-size: clamp(10px, .82vw, 12px);
  }

  .desktop-profile-panel .profile-action-row {
    top: 70.7%;
    left: 15.5%;
    right: 15.5%;
    height: 5.3%;
    gap: 4.2%;
  }

  .desktop-profile-panel .profile-answer {
    font-size: clamp(10px, .86vw, 13px);
    padding-left: 8px;
    padding-right: 8px;
  }
}


/* v21 desktop üçlü kart sahnesi: mobil kart mantığı korunur, masaüstünde üç kart yan yana görünür. */
@media (min-width: 900px) {
  .shell.game-shell-layout {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    background:
      radial-gradient(circle at 12% 8%, rgba(255,255,255,.74), transparent 25%),
      radial-gradient(circle at 92% 92%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 32%);
  }

  .shell.game-shell-layout .right {
    display: none;
  }

  .shell.game-shell-layout .left {
    gap: 14px;
    min-width: 0;
  }

  .shell.game-shell-layout .logo-box {
    height: 74px;
    padding: 0;
    border-radius: 24px;
  }

  .shell.game-shell-layout .brand {
    gap: 0;
    font-size: 0;
  }

  .shell.game-shell-layout .brand-icon {
    width: 40px;
    height: 40px;
  }

  .shell.game-shell-layout .menu-box {
    padding: 12px 8px;
    border-radius: 24px;
  }

  .shell.game-shell-layout .menu {
    gap: 8px;
  }

  .shell.game-shell-layout .menu-item {
    width: 100%;
    height: 58px;
    justify-content: center;
    padding: 0;
    border-radius: 18px;
  }

  .shell.game-shell-layout .menu-item span {
    display: none;
  }

  .shell.game-shell-layout .menu-item svg {
    width: 22px;
    height: 22px;
  }

  .shell.game-shell-layout .main {
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62)),
      color-mix(in srgb, var(--accent-soft) 18%, #fff);
    border: 1px solid rgba(255,255,255,.76);
    box-shadow: 0 24px 72px rgba(18,32,61,.12);
  }

  .desktop-game {
    padding: clamp(18px, 2vw, 28px);
    gap: clamp(14px, 1.8vh, 20px);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .desktop-top-row {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
  }

  .desktop-progress {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    height: 8px;
    background: rgba(16,42,97,.10);
  }

  .desktop-carousel {
    border-radius: 28px;
    background:
      radial-gradient(circle at 50% 42%, rgba(255,255,255,.80), transparent 32%),
      radial-gradient(circle at 16% 62%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 26%),
      radial-gradient(circle at 84% 34%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 24%);
    border: 1px solid rgba(255,255,255,.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
    padding: clamp(12px, 1.5vw, 22px);
  }

  .carousel-track {
    width: min(100%, 1180px);
    height: min(74vh, 740px);
    min-height: 520px;
  }

  .desktop-card {
    width: clamp(310px, 27vw, 395px);
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: clamp(26px, 2vw, 34px);
    background: #090d18;
    box-shadow:
      0 34px 92px rgba(18,32,61,.25),
      0 0 0 1px rgba(255,255,255,.12),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  .desktop-card.active {
    left: 50%;
    z-index: 6;
    transform: translate(-50%, -50%) scale(1);
  }

  .desktop-card.preview {
    width: clamp(230px, 20vw, 305px);
    height: auto;
    aspect-ratio: 9 / 16;
    opacity: .58;
    filter: blur(1.1px) saturate(.86) contrast(.92);
    box-shadow:
      0 22px 58px rgba(18,32,61,.17),
      0 0 0 1px rgba(255,255,255,.10);
    pointer-events: auto;
    cursor: pointer;
    transition: opacity .18s ease, filter .18s ease, transform .18s ease, box-shadow .18s ease;
  }

  .desktop-card.preview:hover {
    opacity: .74;
    filter: blur(.6px) saturate(.94) contrast(.96);
    box-shadow:
      0 26px 66px rgba(18,32,61,.20),
      0 0 0 1px rgba(255,255,255,.16);
  }

  .desktop-card.prev {
    left: 18.5%;
    transform: translate(-50%, -50%) scale(.91) rotate(-1.2deg);
  }

  .desktop-card.prev:hover {
    transform: translate(-50%, -50%) scale(.94) rotate(-.8deg);
  }

  .desktop-card.next {
    left: 81.5%;
    transform: translate(-50%, -50%) scale(.91) rotate(1.2deg);
  }

  .desktop-card.next:hover {
    transform: translate(-50%, -50%) scale(.94) rotate(.8deg);
  }

  .preview-mini-overlay {
    background:
      linear-gradient(180deg, rgba(8,12,24,.18), rgba(8,12,24,.46)),
      rgba(255,255,255,.04);
  }

  .desktop-media::after {
    background:
      linear-gradient(180deg, rgba(8,12,24,.24) 0%, rgba(8,12,24,.08) 30%, rgba(8,12,24,.18) 58%, rgba(8,12,24,.66) 100%);
  }

  .app[data-stage="profile"] .desktop-card.preview .desktop-media img,
  .app[data-stage="profile"] .desktop-card.active .desktop-media img {
    object-fit: cover;
    object-position: center center;
  }

  .desktop-content {
    left: clamp(18px, 1.7vw, 24px);
    right: clamp(18px, 1.7vw, 24px);
    bottom: clamp(122px, 10.5vh, 150px);
    gap: 12px;
  }

  .desktop-question {
    font-size: clamp(20px, 1.55vw, 25px);
  }

  .desktop-tags {
    gap: 9px;
  }

  .desktop-tags .big-tag {
    min-height: clamp(44px, 5.2vh, 54px);
    font-size: clamp(15px, 1.15vw, 18px);
    padding-left: 18px;
    padding-right: 18px;
  }

  .desktop-reactions {
    bottom: clamp(24px, 3.8vh, 34px);
    gap: 20px;
  }

  .desktop-reactions .react {
    width: clamp(62px, 5vw, 72px);
    height: clamp(62px, 5vw, 72px);
  }

  .desktop-corner {
    top: 18px;
  }

  .desktop-footer {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    min-height: 38px;
  }

  .desktop-footer button {
    min-width: 128px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(16,42,97,.08);
    box-shadow: 0 8px 18px rgba(18,32,61,.06);
  }

  .desktop-footer span {
    color: rgba(102,112,134,.78);
  }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .desktop-card {
    width: clamp(292px, 30vw, 360px);
  }

  .desktop-card.preview {
    width: clamp(205px, 22vw, 250px);
  }

  .desktop-card.prev {
    left: 16%;
  }

  .desktop-card.next {
    left: 84%;
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .desktop-game {
    padding: 14px;
    gap: 12px;
  }

  .carousel-track {
    height: min(70vh, 640px);
    min-height: 430px;
  }

  .desktop-card {
    width: clamp(260px, 24vw, 330px);
  }

  .desktop-card.preview {
    width: clamp(190px, 18vw, 235px);
  }

  .desktop-reactions .react {
    width: 60px;
    height: 60px;
  }
}


/* v22: desktop üçlü kartlarda aktif kart da yan kartlarla aynı ölçüde kalır.
   Yan kart mantığı korunur; yalnızca ortadaki kartın büyütülmesi kaldırılır. */
@media (min-width: 900px) {
  .carousel-track {
    width: min(100%, 1180px);
    height: min(72vh, 690px);
    min-height: 500px;
  }

  .desktop-card,
  .desktop-card.preview {
    width: clamp(260px, 22vw, 330px);
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: clamp(24px, 1.8vw, 32px);
  }

  .desktop-card.active {
    left: 50%;
    z-index: 6;
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 30px 86px rgba(18,32,61,.26),
      0 0 0 1px rgba(255,255,255,.13),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  .desktop-card.preview {
    opacity: .56;
    filter: blur(1.05px) saturate(.84) contrast(.92);
    box-shadow:
      0 22px 58px rgba(18,32,61,.17),
      0 0 0 1px rgba(255,255,255,.10);
  }

  .desktop-card.prev {
    left: 20.5%;
    transform: translate(-50%, -50%) scale(1) rotate(-.8deg);
  }

  .desktop-card.next {
    left: 79.5%;
    transform: translate(-50%, -50%) scale(1) rotate(.8deg);
  }

  .desktop-card.prev:hover {
    transform: translate(-50%, -50%) scale(1.015) rotate(-.45deg);
  }

  .desktop-card.next:hover {
    transform: translate(-50%, -50%) scale(1.015) rotate(.45deg);
  }

  .desktop-content {
    left: clamp(16px, 1.4vw, 22px);
    right: clamp(16px, 1.4vw, 22px);
    bottom: clamp(104px, 9.4vh, 132px);
    gap: 10px;
  }

  .desktop-question {
    font-size: clamp(18px, 1.35vw, 23px);
  }

  .desktop-tags {
    gap: 8px;
  }

  .desktop-tags .big-tag {
    min-height: clamp(40px, 4.8vh, 50px);
    font-size: clamp(13px, 1.02vw, 16px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .desktop-reactions {
    bottom: clamp(22px, 3.4vh, 30px);
    gap: 18px;
  }

  .desktop-reactions .react {
    width: clamp(58px, 4.5vw, 66px);
    height: clamp(58px, 4.5vw, 66px);
  }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .desktop-card,
  .desktop-card.preview {
    width: clamp(220px, 24vw, 270px);
  }

  .desktop-card.prev {
    left: 18.5%;
  }

  .desktop-card.next {
    left: 81.5%;
  }

  .desktop-question {
    font-size: clamp(16px, 1.45vw, 20px);
  }

  .desktop-tags .big-tag {
    min-height: 38px;
    font-size: 13px;
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .carousel-track {
    height: min(69vh, 620px);
    min-height: 420px;
  }

  .desktop-card,
  .desktop-card.preview {
    width: clamp(220px, 20vw, 280px);
  }

  .desktop-content {
    bottom: 94px;
  }

  .desktop-reactions .react {
    width: 56px;
    height: 56px;
  }
}

/* v23: Desktop profil kartlarında yazı ve buton ölçekleri aktif kartın 9:16 boyutuna göre sakinleştirildi.
   Mobil tasarıma dokunmaz; sadece desktop aktif profil overlay alanını küçültür ve çakışmaları önler. */
@media (min-width: 900px) {
  .desktop-card.active .profile-overlay-desktop .profile-metric-labels {
    top: 21.35%;
    left: 45.2%;
    right: 8.6%;
    font-size: clamp(5.8px, .48vw, 7.4px);
    font-weight: 520;
    color: rgba(255,255,255,.58);
    letter-spacing: -.02em;
  }

  .desktop-card.active .profile-overlay-desktop .profile-copy-zone {
    top: 35.1%;
    left: 15.2%;
    right: 15.2%;
    min-height: 23.2%;
    justify-content: center;
    gap: clamp(3px, .36vw, 5px);
  }

  .desktop-card.active .profile-overlay-desktop .profile-category {
    padding: 3px 7px;
    font-size: clamp(5.8px, .46vw, 7.2px);
    font-weight: 780;
    letter-spacing: .12em;
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.115);
  }

  .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(15px, 1.22vw, 20px);
    line-height: 1.02;
    letter-spacing: -.05em;
    max-width: 100%;
  }

  .desktop-card.active .profile-overlay-desktop .profile-overlay-role {
    font-size: clamp(8.4px, .68vw, 11px);
    line-height: 1.1;
    font-weight: 620;
    color: rgba(255,255,255,.78);
  }

  .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    margin-top: clamp(3px, .36vw, 5px);
    max-width: 96%;
    font-size: clamp(8px, .64vw, 10.5px);
    line-height: 1.24;
    letter-spacing: -.02em;
    color: rgba(255,255,255,.72);
    -webkit-line-clamp: 2;
  }

  .desktop-card.active .profile-overlay-desktop .profile-chip-row {
    gap: clamp(4px, .42vw, 6px);
    margin-top: clamp(4px, .42vw, 6px);
    max-width: 100%;
  }

  .desktop-card.active .profile-overlay-desktop .profile-chip {
    min-height: clamp(17px, 1.45vw, 23px);
    padding: 0 clamp(6px, .62vw, 9px);
    font-size: clamp(7px, .58vw, 9px);
    font-weight: 650;
    letter-spacing: -.02em;
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.082);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 7px 16px rgba(0,0,0,.10);
  }

  .desktop-card.active .profile-overlay-desktop .profile-action-row {
    top: 70.85%;
    left: 15.5%;
    right: 15.5%;
    height: 5.18%;
    gap: 4.2%;
  }

  .desktop-card.active .profile-overlay-desktop .profile-answer {
    gap: 0;
    padding: 0 clamp(4px, .42vw, 7px);
    font-size: clamp(7.2px, .58vw, 9.2px);
    font-weight: 780;
    letter-spacing: -.045em;
    white-space: nowrap;
  }

  .desktop-card.active .profile-overlay-desktop .profile-answer-symbol {
    display: none;
  }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(14px, 1.45vw, 17px);
  }

  .desktop-card.active .profile-overlay-desktop .profile-overlay-role {
    font-size: 8px;
  }

  .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    font-size: 7.6px;
    line-height: 1.2;
  }

  .desktop-card.active .profile-overlay-desktop .profile-chip {
    min-height: 17px;
    font-size: 7px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .desktop-card.active .profile-overlay-desktop .profile-answer {
    font-size: 7px;
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .desktop-card.active .profile-overlay-desktop .profile-copy-zone {
    top: 35.6%;
    gap: 3px;
  }

  .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(13px, 1.08vw, 17px);
  }

  .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    -webkit-line-clamp: 2;
  }

  .desktop-card.active .profile-overlay-desktop .profile-action-row {
    top: 71.05%;
  }
}


/* v26: desktop header + collapsible sidebar + right-side test area. Mobile game/intro geometry is preserved. */
.app[data-stage="home"] {
  --accent: #7C3AED;
  --accent-2: #F97316;
  --accent-soft: #EFE4FF;
  --accent-deep: #4C1D95;
}

.home-screen {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 64px);
  overflow: hidden;
}

.home-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  max-width: 600px;
}

.home-eyebrow {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent-soft) 72%, #fff);
  border: 1px solid rgba(16,42,97,.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-copy h1 {
  margin: 0;
  color: #102a61;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: .96;
  letter-spacing: -.072em;
}

.home-copy p {
  margin: 0;
  color: #4f5d78;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.48;
  letter-spacing: -.02em;
}

.home-trust {
  color: #667086;
  font-size: 14px;
  font-weight: 720;
}

.home-stage-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.home-stage-item {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(16,42,97,.07);
  box-shadow: 0 14px 34px rgba(18,32,61,.07);
}

.home-stage-item i {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-style: normal;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 22%, transparent);
  font-weight: 950;
}

.home-stage-item strong,
.home-stage-item span {
  display: block;
}

.home-stage-item strong {
  color: #102a61;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.home-stage-item span {
  margin-top: 3px;
  color: #667086;
  font-size: 13px;
  font-weight: 650;
}

.home-cta {
  width: max-content;
  min-width: 210px;
  height: 58px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 22px 44px color-mix(in srgb, var(--accent) 26%, transparent);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
  cursor: pointer;
}

.home-preview {
  position: relative;
  min-height: min(72vh, 680px);
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.home-preview-card {
  position: absolute;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  background: #09101f;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 90px rgba(18,32,61,.22), inset 0 1px 0 rgba(255,255,255,.18);
}

.home-preview-card img,
.home-preview-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,24,.10), rgba(8,12,24,.40));
}

.home-preview-main {
  z-index: 3;
  width: clamp(250px, 24vw, 340px);
  transform: translateY(0) rotate(-1deg);
}

.home-preview-left,
.home-preview-right {
  z-index: 1;
  width: clamp(190px, 18vw, 270px);
  opacity: .66;
  filter: blur(.7px) saturate(.88);
}

.home-preview-left {
  left: 4%;
  transform: translateY(18px) rotate(-7deg);
}

.home-preview-right {
  right: 4%;
  transform: translateY(-10px) rotate(7deg);
}

.home-preview-tags {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 26px;
  display: grid;
  gap: 10px;
}

.home-preview-tags span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 880;
}

.home-preview-play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
}

@media (min-width: 900px) {
  .shell.desktop-app-shell,
  .shell.desktop-app-shell.game-shell-layout {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 76px minmax(0, 1fr);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    background:
      radial-gradient(circle at 10% 4%, rgba(255,255,255,.76), transparent 26%),
      radial-gradient(circle at 92% 96%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34%),
      linear-gradient(180deg, color-mix(in srgb, #ffffff 56%, var(--bg)), var(--bg));
  }

  .desktop-header {
    min-width: 0;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    border-radius: 26px;
  }

  .desktop-menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent-soft) 64%, #fff);
    cursor: pointer;
  }

  .desktop-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-deep);
  }

  .desktop-header-brand .brand {
    font-size: 22px;
  }

  .desktop-header-brand .brand-icon {
    width: 34px;
    height: 34px;
  }

  .desktop-header-context {
    min-width: 0;
    display: grid;
    gap: 2px;
    justify-items: start;
  }

  .desktop-header-context strong {
    color: #102a61;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.02em;
  }

  .desktop-header-context span {
    color: #667086;
    font-size: 12px;
    font-weight: 700;
  }

  .desktop-ghost-button {
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: #667086;
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(16,42,97,.08);
    font-size: 13px;
    font-weight: 800;
  }

  .desktop-body {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 16px;
    transition: grid-template-columns .22s ease;
  }

  .desktop-app-shell.sidebar-collapsed .desktop-body {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .desktop-sidebar {
    min-height: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 28px;
    overflow: hidden;
  }

  .desktop-nav {
    display: grid;
    gap: 10px;
  }

  .desktop-nav-item {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 0;
    border-radius: 17px;
    color: #5c6374;
    background: transparent;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -.01em;
    cursor: pointer;
    text-align: left;
  }

  .desktop-nav-item svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
  }

  .desktop-nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 24%, transparent);
  }

  .desktop-nav-item:disabled {
    opacity: .42;
    cursor: not-allowed;
  }

  .desktop-sidebar-note {
    align-self: end;
    padding: 14px;
    border-radius: 20px;
    color: #667086;
    background: rgba(255,255,255,.56);
    border: 1px solid rgba(16,42,97,.06);
    font-size: 12px;
    line-height: 1.35;
  }

  .desktop-sidebar-note b,
  .desktop-sidebar-note span {
    display: block;
  }

  .desktop-sidebar-note b {
    margin-bottom: 5px;
    color: #102a61;
    font-size: 13px;
  }

  .desktop-app-shell.sidebar-collapsed .desktop-header-brand .brand span,
  .desktop-app-shell.sidebar-collapsed .desktop-nav-item span,
  .desktop-app-shell.sidebar-collapsed .desktop-sidebar-note,
  .desktop-app-shell.sidebar-collapsed .desktop-header-context span {
    display: none;
  }

  .desktop-app-shell.sidebar-collapsed .desktop-sidebar {
    padding: 14px 10px;
  }

  .desktop-app-shell.sidebar-collapsed .desktop-nav-item {
    justify-content: center;
    padding: 0;
  }

  .desktop-main.main,
  .shell.game-shell-layout .main.desktop-main {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.64)),
      color-mix(in srgb, var(--accent-soft) 18%, #fff);
    border: 1px solid rgba(255,255,255,.76);
    box-shadow: 0 24px 72px rgba(18,32,61,.12);
  }

  .desktop-main .premium-intro {
    min-height: 100%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .desktop-main .intro-topbar {
    display: none;
  }

  .desktop-main .intro-stage-card {
    min-height: 100%;
  }

  .desktop-game {
    height: 100%;
  }

  .desktop-carousel {
    min-height: 0;
  }

  .carousel-track {
    height: min(68vh, 650px);
    min-height: 430px;
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .desktop-body {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .desktop-sidebar {
    padding: 14px 10px;
  }

  .desktop-nav-item {
    justify-content: center;
    padding: 0;
  }

  .desktop-nav-item span,
  .desktop-sidebar-note {
    display: none;
  }

  .desktop-header-brand .brand {
    font-size: 0;
    gap: 0;
  }
}

@media (max-width: 899px) {
  .desktop-header,
  .desktop-sidebar,
  .desktop-header-actions,
  .desktop-header-context {
    display: none !important;
  }

  .desktop-body {
    display: block;
    width: 100%;
    height: 100%;
  }

  .desktop-main.main {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: 0;
  }

  .home-screen {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
    padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 24px);
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 12%, rgba(139,60,246,.16), transparent 32%),
      radial-gradient(circle at 92% 92%, rgba(249,115,22,.16), transparent 34%),
      linear-gradient(180deg, #fff, #f7f3ed);
  }

  .home-copy {
    max-width: none;
    gap: 14px;
  }

  .home-copy h1 {
    font-size: clamp(36px, 10.5vw, 50px);
    line-height: .98;
  }

  .home-copy p {
    font-size: 15px;
  }

  .home-stage-list {
    gap: 8px;
  }

  .home-stage-item {
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 19px;
  }

  .home-stage-item i {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .home-cta {
    width: 100%;
    height: 56px;
  }

  .home-preview {
    min-height: 240px;
    order: -1;
  }

  .home-preview-main {
    width: min(42vw, 178px);
    border-radius: 24px;
  }

  .home-preview-left,
  .home-preview-right {
    width: min(32vw, 136px);
    border-radius: 22px;
  }

  .home-preview-left { left: 10%; }
  .home-preview-right { right: 10%; }

  .home-preview-tags span {
    min-height: 28px;
    font-size: 10px;
  }
}

@media (max-height: 740px) and (max-width: 899px) {
  .home-screen {
    align-content: start;
    gap: 14px;
  }

  .home-preview {
    min-height: 188px;
  }

  .home-stage-item:nth-child(3) {
    display: none;
  }
}


/* v27: desktop home CTA visibility + shell-safe home layout. Mobile card/game behavior is unchanged. */
@media (min-width: 900px) {
  .app[data-stage="home"] .desktop-main.main {
    overflow: auto;
  }

  .app[data-stage="home"] .home-screen {
    min-height: 100%;
    height: auto;
    grid-template-columns: minmax(340px, .92fr) minmax(320px, 1.08fr);
    gap: clamp(20px, 3vw, 42px);
    align-items: center;
    padding: clamp(24px, 3.2vw, 44px);
  }

  .app[data-stage="home"] .home-copy {
    gap: clamp(10px, 1.35vh, 16px);
    max-width: 560px;
    position: relative;
    z-index: 5;
  }

  .app[data-stage="home"] .home-eyebrow {
    font-size: 11px;
    padding: 7px 11px;
  }

  .app[data-stage="home"] .home-copy h1 {
    font-size: clamp(34px, 3.55vw, 56px);
    line-height: 1;
    letter-spacing: -.058em;
  }

  .app[data-stage="home"] .home-copy p {
    max-width: 520px;
    font-size: clamp(15px, 1.04vw, 18px);
    line-height: 1.42;
  }

  .app[data-stage="home"] .home-trust {
    font-size: 13px;
  }

  .app[data-stage="home"] .home-stage-list {
    gap: 8px;
    margin-top: 2px;
  }

  .app[data-stage="home"] .home-stage-item {
    min-height: 56px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .app[data-stage="home"] .home-stage-item i {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    font-size: 15px;
  }

  .app[data-stage="home"] .home-stage-item strong {
    font-size: 14px;
  }

  .app[data-stage="home"] .home-stage-item span {
    font-size: 12px;
    margin-top: 2px;
  }

  .app[data-stage="home"] .home-cta {
    display: inline-grid;
    place-items: center;
    width: max-content;
    min-width: 250px;
    height: 56px;
    margin-top: 8px;
    position: relative;
    z-index: 8;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .app[data-stage="home"] .home-preview {
    min-height: min(62vh, 590px);
    max-height: 620px;
  }

  .app[data-stage="home"] .home-preview-main {
    width: clamp(220px, 20vw, 310px);
  }

  .app[data-stage="home"] .home-preview-left,
  .app[data-stage="home"] .home-preview-right {
    width: clamp(170px, 15.5vw, 240px);
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .app[data-stage="home"] .home-screen {
    padding: 22px 30px;
    align-items: center;
  }

  .app[data-stage="home"] .home-copy {
    gap: 9px;
  }

  .app[data-stage="home"] .home-copy h1 {
    font-size: clamp(30px, 3.2vw, 46px);
  }

  .app[data-stage="home"] .home-copy p {
    font-size: 14px;
  }

  .app[data-stage="home"] .home-stage-item {
    min-height: 50px;
    padding: 8px 11px;
  }

  .app[data-stage="home"] .home-cta {
    height: 52px;
    min-width: 240px;
  }

  .app[data-stage="home"] .home-preview {
    min-height: 480px;
  }
}

/* v28: Desktop hashtag cards are slightly smaller so their bottom clears the footer/navigation band.
   The active center card gets a subtle 3D foreground treatment without breaking the equal-card layout. */
@media (min-width: 900px) {
  .app[data-stage="hashtag"] .desktop-game {
    padding: clamp(14px, 1.55vw, 22px) clamp(18px, 2vw, 28px) clamp(12px, 1.4vw, 18px);
    gap: clamp(10px, 1.25vh, 15px);
  }

  .app[data-stage="hashtag"] .desktop-top {
    gap: 9px;
  }

  .app[data-stage="hashtag"] .desktop-carousel {
    align-items: center;
    padding: clamp(10px, 1.1vw, 16px);
    perspective: 1200px;
  }

  .app[data-stage="hashtag"] .carousel-track {
    height: min(64vh, 600px);
    min-height: 390px;
    max-height: calc(100vh - 238px);
    perspective: 1200px;
  }

  .app[data-stage="hashtag"] .desktop-card,
  .app[data-stage="hashtag"] .desktop-card.preview {
    width: clamp(220px, 18.4vw, 292px);
    aspect-ratio: 9 / 16;
    height: auto;
    transform-style: preserve-3d;
  }

  .app[data-stage="hashtag"] .desktop-card.active {
    transform: translate(-50%, -50%) scale(1) rotateX(0deg) translateZ(34px);
    box-shadow:
      0 34px 88px rgba(18,32,61,.30),
      0 18px 42px color-mix(in srgb, var(--accent) 16%, transparent),
      0 0 0 1px rgba(255,255,255,.16),
      inset 0 1px 0 rgba(255,255,255,.18);
  }

  .app[data-stage="hashtag"] .desktop-card.active::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background:
      radial-gradient(circle at 48% 20%, rgba(255,255,255,.18), transparent 28%),
      linear-gradient(115deg, rgba(255,255,255,.11), transparent 34%, rgba(255,255,255,.04) 62%, transparent 86%);
    mix-blend-mode: screen;
    opacity: .78;
  }

  .app[data-stage="hashtag"] .desktop-card.prev {
    left: 21.2%;
    transform: translate(-50%, -50%) scale(.96) rotateY(7deg) rotate(-.7deg) translateZ(-24px);
  }

  .app[data-stage="hashtag"] .desktop-card.next {
    left: 78.8%;
    transform: translate(-50%, -50%) scale(.96) rotateY(-7deg) rotate(.7deg) translateZ(-24px);
  }

  .app[data-stage="hashtag"] .desktop-card.preview {
    opacity: .50;
    filter: blur(1.15px) saturate(.82) contrast(.90);
  }

  .app[data-stage="hashtag"] .desktop-card.prev:hover {
    transform: translate(-50%, -50%) scale(.985) rotateY(4deg) rotate(-.35deg) translateZ(-10px);
  }

  .app[data-stage="hashtag"] .desktop-card.next:hover {
    transform: translate(-50%, -50%) scale(.985) rotateY(-4deg) rotate(.35deg) translateZ(-10px);
  }

  .app[data-stage="hashtag"] .desktop-content {
    left: clamp(15px, 1.25vw, 20px);
    right: clamp(15px, 1.25vw, 20px);
    bottom: clamp(92px, 8.1vh, 118px);
    gap: 8px;
  }

  .app[data-stage="hashtag"] .desktop-question {
    font-size: clamp(16px, 1.13vw, 20px);
    line-height: 1.12;
  }

  .app[data-stage="hashtag"] .desktop-tags {
    gap: 7px;
  }

  .app[data-stage="hashtag"] .desktop-tags .big-tag {
    min-height: clamp(34px, 4.1vh, 43px);
    padding-left: 14px;
    padding-right: 14px;
    font-size: clamp(12px, .9vw, 14.5px);
    border-radius: 18px;
  }

  .app[data-stage="hashtag"] .desktop-reactions {
    bottom: clamp(16px, 2.35vh, 22px);
    gap: 16px;
  }

  .app[data-stage="hashtag"] .desktop-reactions .react {
    width: clamp(50px, 3.8vw, 58px);
    height: clamp(50px, 3.8vw, 58px);
  }

  .app[data-stage="hashtag"] .desktop-footer {
    min-height: 32px;
  }

  .app[data-stage="hashtag"] .desktop-footer button {
    height: 34px;
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .app[data-stage="hashtag"] .carousel-track {
    height: min(61vh, 520px);
    min-height: 350px;
    max-height: calc(100vh - 216px);
  }

  .app[data-stage="hashtag"] .desktop-card,
  .app[data-stage="hashtag"] .desktop-card.preview {
    width: clamp(196px, 17vw, 244px);
  }

  .app[data-stage="hashtag"] .desktop-content {
    bottom: 82px;
  }

  .app[data-stage="hashtag"] .desktop-tags .big-tag {
    min-height: 32px;
    font-size: 12px;
  }

  .app[data-stage="hashtag"] .desktop-reactions .react {
    width: 48px;
    height: 48px;
  }
}

/* v29: Unified desktop card geometry for hashtag, profile and video.
   Same safe card size, same 3D center emphasis, same footer clearance. Mobile rules are untouched. */
@media (min-width: 900px) {
  .app[data-stage="hashtag"] .desktop-game,
  .app[data-stage="profile"] .desktop-game,
  .app[data-stage="video"] .desktop-game {
    padding: clamp(14px, 1.55vw, 22px) clamp(18px, 2vw, 28px) clamp(12px, 1.35vw, 18px) !important;
    gap: clamp(10px, 1.2vh, 15px) !important;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .app[data-stage="hashtag"] .desktop-top,
  .app[data-stage="profile"] .desktop-top,
  .app[data-stage="video"] .desktop-top {
    gap: 9px !important;
  }

  .app[data-stage="hashtag"] .desktop-carousel,
  .app[data-stage="profile"] .desktop-carousel,
  .app[data-stage="video"] .desktop-carousel {
    align-items: center !important;
    padding: clamp(10px, 1.1vw, 16px) !important;
    perspective: 1200px !important;
    overflow: hidden !important;
  }

  .app[data-stage="hashtag"] .carousel-track,
  .app[data-stage="profile"] .carousel-track,
  .app[data-stage="video"] .carousel-track {
    width: min(100%, 1180px) !important;
    height: min(64vh, 600px) !important;
    min-height: 390px !important;
    max-height: calc(100vh - 238px) !important;
    perspective: 1200px !important;
  }

  .app[data-stage="hashtag"] .desktop-card,
  .app[data-stage="hashtag"] .desktop-card.preview,
  .app[data-stage="profile"] .desktop-card,
  .app[data-stage="profile"] .desktop-card.preview,
  .app[data-stage="video"] .desktop-card,
  .app[data-stage="video"] .desktop-card.preview {
    width: clamp(220px, 18.4vw, 292px) !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: clamp(22px, 1.65vw, 30px) !important;
    transform-style: preserve-3d !important;
  }

  .app[data-stage="hashtag"] .desktop-card.active,
  .app[data-stage="profile"] .desktop-card.active,
  .app[data-stage="video"] .desktop-card.active {
    left: 50% !important;
    z-index: 8 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: translate(-50%, -50%) scale(1) rotateX(0deg) translateZ(34px) !important;
    box-shadow:
      0 34px 88px rgba(18,32,61,.30),
      0 18px 42px color-mix(in srgb, var(--accent) 16%, transparent),
      0 0 0 1px rgba(255,255,255,.16),
      inset 0 1px 0 rgba(255,255,255,.18) !important;
  }

  .app[data-stage="hashtag"] .desktop-card.active::before,
  .app[data-stage="profile"] .desktop-card.active::before,
  .app[data-stage="video"] .desktop-card.active::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background:
      radial-gradient(circle at 48% 18%, rgba(255,255,255,.16), transparent 27%),
      linear-gradient(115deg, rgba(255,255,255,.09), transparent 34%, rgba(255,255,255,.035) 62%, transparent 86%);
    mix-blend-mode: screen;
    opacity: .72;
  }

  .app[data-stage="hashtag"] .desktop-card.preview,
  .app[data-stage="profile"] .desktop-card.preview,
  .app[data-stage="video"] .desktop-card.preview {
    opacity: .50 !important;
    filter: blur(1.15px) saturate(.82) contrast(.90) !important;
    box-shadow:
      0 20px 54px rgba(18,32,61,.15),
      0 0 0 1px rgba(255,255,255,.10) !important;
  }

  .app[data-stage="hashtag"] .desktop-card.prev,
  .app[data-stage="profile"] .desktop-card.prev,
  .app[data-stage="video"] .desktop-card.prev {
    left: 21.2% !important;
    transform: translate(-50%, -50%) scale(.96) rotateY(7deg) rotate(-.7deg) translateZ(-24px) !important;
  }

  .app[data-stage="hashtag"] .desktop-card.next,
  .app[data-stage="profile"] .desktop-card.next,
  .app[data-stage="video"] .desktop-card.next {
    left: 78.8% !important;
    transform: translate(-50%, -50%) scale(.96) rotateY(-7deg) rotate(.7deg) translateZ(-24px) !important;
  }

  .app[data-stage="hashtag"] .desktop-card.prev:hover,
  .app[data-stage="profile"] .desktop-card.prev:hover,
  .app[data-stage="video"] .desktop-card.prev:hover {
    transform: translate(-50%, -50%) scale(.985) rotateY(4deg) rotate(-.35deg) translateZ(-10px) !important;
    opacity: .68 !important;
  }

  .app[data-stage="hashtag"] .desktop-card.next:hover,
  .app[data-stage="profile"] .desktop-card.next:hover,
  .app[data-stage="video"] .desktop-card.next:hover {
    transform: translate(-50%, -50%) scale(.985) rotateY(-4deg) rotate(.35deg) translateZ(-10px) !important;
    opacity: .68 !important;
  }

  .app[data-stage="hashtag"] .desktop-footer,
  .app[data-stage="profile"] .desktop-footer,
  .app[data-stage="video"] .desktop-footer {
    min-height: 32px !important;
  }

  .app[data-stage="hashtag"] .desktop-footer button,
  .app[data-stage="profile"] .desktop-footer button,
  .app[data-stage="video"] .desktop-footer button {
    height: 34px !important;
  }

  /* Hashtag content scale inside the common desktop card */
  .app[data-stage="hashtag"] .desktop-content {
    left: clamp(15px, 1.25vw, 20px) !important;
    right: clamp(15px, 1.25vw, 20px) !important;
    bottom: clamp(92px, 8.1vh, 118px) !important;
    gap: 8px !important;
  }

  .app[data-stage="hashtag"] .desktop-question {
    font-size: clamp(16px, 1.13vw, 20px) !important;
    line-height: 1.12 !important;
  }

  .app[data-stage="hashtag"] .desktop-tags {
    gap: 7px !important;
  }

  .app[data-stage="hashtag"] .desktop-tags .big-tag {
    min-height: clamp(34px, 4.1vh, 43px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: clamp(12px, .9vw, 14.5px) !important;
    border-radius: 18px !important;
  }

  .app[data-stage="hashtag"] .desktop-reactions,
  .app[data-stage="video"] .desktop-reactions {
    bottom: clamp(16px, 2.35vh, 22px) !important;
    gap: 16px !important;
  }

  .app[data-stage="hashtag"] .desktop-reactions .react,
  .app[data-stage="video"] .desktop-reactions .react {
    width: clamp(50px, 3.8vw, 58px) !important;
    height: clamp(50px, 3.8vw, 58px) !important;
  }

  /* Profile overlay scale for the same safe desktop card size */
  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-metric-labels {
    top: 21.35% !important;
    left: 45.2% !important;
    right: 8.6% !important;
    font-size: clamp(5.6px, .44vw, 7px) !important;
    color: rgba(255,255,255,.56) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-copy-zone {
    top: 35.3% !important;
    left: 15.2% !important;
    right: 15.2% !important;
    min-height: 22.8% !important;
    gap: clamp(2.6px, .30vw, 4.4px) !important;
    justify-content: center !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-category {
    padding: 2.5px 6.5px !important;
    font-size: clamp(5.3px, .40vw, 6.8px) !important;
    letter-spacing: .11em !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(13px, 1.02vw, 17.5px) !important;
    line-height: 1.01 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-role {
    font-size: clamp(7.2px, .56vw, 9.6px) !important;
    line-height: 1.08 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    margin-top: clamp(2px, .24vw, 4px) !important;
    font-size: clamp(7px, .54vw, 9px) !important;
    line-height: 1.18 !important;
    max-width: 96% !important;
    -webkit-line-clamp: 2 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-chip-row {
    gap: clamp(3px, .32vw, 5px) !important;
    margin-top: clamp(3px, .32vw, 5px) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-chip {
    min-height: clamp(15px, 1.20vw, 20px) !important;
    padding: 0 clamp(5px, .52vw, 8px) !important;
    font-size: clamp(6.1px, .48vw, 8px) !important;
    font-weight: 650 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-action-row {
    top: 70.9% !important;
    left: 15.5% !important;
    right: 15.5% !important;
    height: 5.1% !important;
    gap: 4.2% !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-answer {
    font-size: clamp(6.4px, .50vw, 8.2px) !important;
    font-weight: 780 !important;
    padding: 0 clamp(3px, .35vw, 6px) !important;
    white-space: nowrap !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-answer-symbol {
    display: none !important;
  }

  /* Video content scale inside the common desktop card */
  .app[data-stage="video"] .desktop-video-question-wrap {
    top: clamp(48px, 6.2vh, 70px) !important;
    left: 20px !important;
    right: 20px !important;
  }

  .app[data-stage="video"] .desktop-video-question-wrap .desktop-question.video-thin-question {
    max-width: 92% !important;
    font-size: clamp(13px, .96vw, 16px) !important;
    line-height: 1.18 !important;
  }

  .app[data-stage="video"] .desktop-video-caption {
    left: 20px !important;
    right: 20px !important;
    bottom: clamp(88px, 7.8vh, 112px) !important;
  }

  .app[data-stage="video"] .desktop-video-caption span {
    min-height: clamp(36px, 4.5vh, 48px) !important;
    padding: 8px 12px !important;
    border-radius: 18px !important;
    font-size: clamp(11.5px, .86vw, 14px) !important;
    line-height: 1.12 !important;
  }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .app[data-stage="hashtag"] .desktop-card,
  .app[data-stage="hashtag"] .desktop-card.preview,
  .app[data-stage="profile"] .desktop-card,
  .app[data-stage="profile"] .desktop-card.preview,
  .app[data-stage="video"] .desktop-card,
  .app[data-stage="video"] .desktop-card.preview {
    width: clamp(200px, 20vw, 252px) !important;
  }

  .app[data-stage="hashtag"] .desktop-card.prev,
  .app[data-stage="profile"] .desktop-card.prev,
  .app[data-stage="video"] .desktop-card.prev {
    left: 19.2% !important;
  }

  .app[data-stage="hashtag"] .desktop-card.next,
  .app[data-stage="profile"] .desktop-card.next,
  .app[data-stage="video"] .desktop-card.next {
    left: 80.8% !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(12.5px, 1.22vw, 15.5px) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-role {
    font-size: 7px !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    font-size: 6.9px !important;
    line-height: 1.16 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-chip {
    min-height: 15px !important;
    font-size: 6.1px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-answer {
    font-size: 6px !important;
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .app[data-stage="hashtag"] .carousel-track,
  .app[data-stage="profile"] .carousel-track,
  .app[data-stage="video"] .carousel-track {
    height: min(61vh, 520px) !important;
    min-height: 350px !important;
    max-height: calc(100vh - 216px) !important;
  }

  .app[data-stage="hashtag"] .desktop-card,
  .app[data-stage="hashtag"] .desktop-card.preview,
  .app[data-stage="profile"] .desktop-card,
  .app[data-stage="profile"] .desktop-card.preview,
  .app[data-stage="video"] .desktop-card,
  .app[data-stage="video"] .desktop-card.preview {
    width: clamp(196px, 17vw, 244px) !important;
  }

  .app[data-stage="hashtag"] .desktop-content {
    bottom: 82px !important;
  }

  .app[data-stage="hashtag"] .desktop-tags .big-tag {
    min-height: 32px !important;
    font-size: 12px !important;
  }

  .app[data-stage="hashtag"] .desktop-reactions .react,
  .app[data-stage="video"] .desktop-reactions .react {
    width: 48px !important;
    height: 48px !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-copy-zone {
    top: 35.8% !important;
    gap: 2.4px !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(12px, .98vw, 15px) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    font-size: 6.8px !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-action-row {
    top: 71.1% !important;
  }

  .app[data-stage="video"] .desktop-video-question-wrap {
    top: 44px !important;
  }

  .app[data-stage="video"] .desktop-video-caption {
    bottom: 82px !important;
  }

  .app[data-stage="video"] .desktop-video-caption span {
    min-height: 34px !important;
    font-size: 11px !important;
  }
}


/* v30: 36 hashtag cards + cleaned selection feedback.
   Mobile hashtag layout remains unchanged; desktop hashtag question is now a thin top overlay. */
@media (min-width: 900px) {
  .app[data-stage="hashtag"] .desktop-hashtag-question {
    position: absolute !important;
    z-index: 6 !important;
    top: clamp(44px, 5.9vh, 68px) !important;
    left: clamp(18px, 1.55vw, 24px) !important;
    right: clamp(18px, 1.55vw, 24px) !important;
    margin: 0 !important;
    color: rgba(255,255,255,.94) !important;
    text-align: center !important;
    font-size: clamp(14px, 1.02vw, 17px) !important;
    font-weight: 300 !important;
    line-height: 1.22 !important;
    letter-spacing: -.012em !important;
    text-shadow: 0 5px 20px rgba(0,0,0,.46) !important;
    pointer-events: none !important;
  }

  .app[data-stage="hashtag"] .desktop-hashtag-content {
    top: auto !important;
    bottom: clamp(92px, 8.1vh, 118px) !important;
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .app[data-stage="hashtag"] .desktop-hashtag-question {
    top: 38px !important;
    font-size: clamp(12.5px, .92vw, 15px) !important;
  }

  .app[data-stage="hashtag"] .desktop-hashtag-content {
    bottom: 82px !important;
  }
}

/* Selection state is shown only on the reaction buttons; corner badges are no longer used. */
.corner-icon,
.desktop-corner {
  display: none !important;
}

/* v31: profile stage data-ready refinement
   - 36 profile cards are loaded from data/content.js
   - category label is not shown during the test
   - metric labels are aligned directly under 1000 / 1M / 100
   - profile actions follow the neutral -> green/red selection logic used by hashtag cards */
.app[data-stage="profile"] .profile-category {
  display: none !important;
}

.app[data-stage="profile"] .profile-metric-labels {
  top: 19.65% !important;
  left: 45.2% !important;
  right: 8.6% !important;
  color: rgba(255,255,255,.66) !important;
  font-size: clamp(7px, 2.25vw, 10px) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -.025em !important;
  text-shadow: 0 4px 16px rgba(0,0,0,.42) !important;
}

.app[data-stage="profile"] .profile-copy-zone {
  top: 31.2% !important;
  left: 14.8% !important;
  right: 14.8% !important;
  min-height: 29.5% !important;
  justify-content: flex-start !important;
  gap: clamp(5px, 1.55vw, 9px) !important;
}

.app[data-stage="profile"] .profile-overlay-name {
  font-size: clamp(25px, 7.0vw, 35px) !important;
  font-weight: 880 !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.app[data-stage="profile"] .profile-overlay-role {
  font-size: clamp(13px, 3.55vw, 16.5px) !important;
  font-weight: 620 !important;
  color: rgba(255,255,255,.88) !important;
}

.app[data-stage="profile"] .profile-overlay-bio {
  font-size: clamp(12.2px, 3.45vw, 15.2px) !important;
  line-height: 1.32 !important;
  color: rgba(255,255,255,.80) !important;
  max-width: 98% !important;
  -webkit-line-clamp: 3 !important;
}

.app[data-stage="profile"] .profile-chip {
  color: rgba(255,255,255,.92) !important;
  background: rgba(255,255,255,.115) !important;
  border-color: rgba(255,255,255,.22) !important;
}

.app[data-stage="profile"] .profile-answer {
  color: rgba(255,255,255,.94) !important;
  background: rgba(14,18,31,.24) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.13) !important;
  backdrop-filter: blur(14px) !important;
  font-weight: 800 !important;
  text-shadow: 0 4px 14px rgba(0,0,0,.34) !important;
}

.app[data-stage="profile"] .profile-answer-symbol {
  display: none !important;
}

.app[data-stage="profile"] .profile-answer.like.selected {
  background: linear-gradient(135deg, rgba(22,163,74,.96), rgba(34,197,94,.94)) !important;
  border-color: rgba(187,247,208,.72) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(22,163,74,.32), inset 0 1px 0 rgba(255,255,255,.28) !important;
  filter: none !important;
}

.app[data-stage="profile"] .profile-answer.dislike.selected {
  background: linear-gradient(135deg, rgba(220,38,38,.96), rgba(248,80,80,.94)) !important;
  border-color: rgba(254,202,202,.70) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(220,38,38,.30), inset 0 1px 0 rgba(255,255,255,.25) !important;
  filter: none !important;
}

@media (min-width: 900px) {
  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-metric-labels {
    top: 19.65% !important;
    left: 45.2% !important;
    right: 8.6% !important;
    font-size: clamp(4.9px, .39vw, 6.2px) !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.62) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-copy-zone {
    top: 31.2% !important;
    left: 15.2% !important;
    right: 15.2% !important;
    min-height: 29.8% !important;
    justify-content: flex-start !important;
    gap: clamp(2.8px, .30vw, 4.8px) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(14.2px, 1.10vw, 18.2px) !important;
    font-weight: 860 !important;
    line-height: 1.03 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-role {
    font-size: clamp(7.6px, .58vw, 9.9px) !important;
    font-weight: 610 !important;
    line-height: 1.1 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    margin-top: clamp(2px, .22vw, 3.8px) !important;
    font-size: clamp(7.1px, .54vw, 9.1px) !important;
    line-height: 1.20 !important;
    max-width: 98% !important;
    -webkit-line-clamp: 3 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-chip-row {
    gap: clamp(3px, .30vw, 5px) !important;
    margin-top: clamp(3px, .30vw, 5px) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-chip {
    min-height: clamp(15px, 1.20vw, 20px) !important;
    padding: 0 clamp(5px, .52vw, 8px) !important;
    font-size: clamp(6.0px, .47vw, 7.9px) !important;
    font-weight: 650 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-action-row {
    top: 70.65% !important;
    left: 15.5% !important;
    right: 15.5% !important;
    height: 5.35% !important;
    gap: 4.2% !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-answer {
    font-size: clamp(6.8px, .52vw, 8.8px) !important;
    font-weight: 790 !important;
    padding: 0 clamp(4px, .38vw, 6px) !important;
    white-space: nowrap !important;
  }
}

/* v32: Profile content uses XLSX profile text directly; no category/interest chips on cards.
   Profile buttons start with equal neutral weight. Video captions use hook + explanation + 3 chips. */
.profile-overlay .profile-copy-zone {
  top: 32.6% !important;
  left: 14.8% !important;
  right: 14.8% !important;
  min-height: 29.5% !important;
  justify-content: flex-start !important;
  gap: clamp(7px, 1.75vw, 11px) !important;
}

.profile-overlay .profile-overlay-name {
  font-size: clamp(24px, 7.1vw, 34px) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
  white-space: nowrap !important;
}

.profile-overlay .profile-overlay-bio {
  margin: 0 !important;
  max-width: 100% !important;
  color: rgba(255,255,255,.86) !important;
  font-size: clamp(12px, 3.28vw, 15px) !important;
  font-weight: 470 !important;
  line-height: 1.26 !important;
  letter-spacing: -.026em !important;
  -webkit-line-clamp: 5 !important;
}

.profile-overlay .profile-overlay-role,
.profile-overlay .profile-chip-row,
.profile-overlay .profile-chip,
.profile-overlay .profile-category {
  display: none !important;
}

.profile-overlay .profile-action-row {
  top: 70.65% !important;
}

.profile-overlay .profile-answer,
.profile-overlay .profile-answer.like,
.profile-overlay .profile-answer.dislike {
  color: rgba(255,255,255,.94) !important;
  background: rgba(14,18,32,.30) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.13) !important;
  backdrop-filter: blur(13px) !important;
  filter: none !important;
}

.profile-overlay .profile-answer.like.selected {
  color: #fff !important;
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  border-color: rgba(255,255,255,.34) !important;
  box-shadow: 0 16px 34px rgba(22,163,74,.30), inset 0 1px 0 rgba(255,255,255,.25) !important;
}

.profile-overlay .profile-answer.dislike.selected {
  color: #fff !important;
  background: linear-gradient(135deg, #dc2626, #ef4444) !important;
  border-color: rgba(255,255,255,.34) !important;
  box-shadow: 0 16px 34px rgba(220,38,38,.28), inset 0 1px 0 rgba(255,255,255,.25) !important;
}

.profile-overlay .profile-answer-symbol {
  display: none !important;
}

.video-caption {
  pointer-events: none;
}

.video-caption-box {
  max-width: min(92vw, 430px);
  min-width: min(72vw, 340px);
  display: grid;
  gap: 7px;
  padding: 14px 16px 13px;
  border-radius: 24px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(10,14,26,.66), rgba(10,14,26,.42)),
    rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.16);
}

.video-caption-box strong {
  display: block;
  color: rgba(255,255,255,.98);
  font-size: clamp(17px, 4.2vw, 21px);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
}

.video-caption-box p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(12px, 3.15vw, 14px);
  font-weight: 470;
  line-height: 1.24;
  letter-spacing: -.018em;
  text-shadow: 0 4px 16px rgba(0,0,0,.48);
}

.video-caption-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.video-caption-tags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  font-size: clamp(10px, 2.65vw, 12px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -.012em;
}

@media (max-width: 899px) {
  .mobile-video-caption {
    bottom: calc(var(--safe-bottom) + 142px) !important;
    left: 22px !important;
    right: 22px !important;
    place-items: center !important;
  }

  .app[data-stage="video"] .mobile-question.video-thin-question {
    font-weight: 300 !important;
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .profile-overlay .profile-copy-zone {
    top: 33.1% !important;
    gap: 5px !important;
  }

  .profile-overlay .profile-overlay-name {
    font-size: clamp(21px, 6vw, 28px) !important;
  }

  .profile-overlay .profile-overlay-bio {
    font-size: clamp(10.5px, 2.8vw, 13px) !important;
    line-height: 1.18 !important;
    -webkit-line-clamp: 4 !important;
  }

  .mobile-video-caption {
    bottom: calc(var(--safe-bottom) + 134px) !important;
  }

  .video-caption-box {
    padding: 11px 13px 10px !important;
    border-radius: 20px !important;
    gap: 5px !important;
  }

  .video-caption-box strong {
    font-size: clamp(15px, 3.8vw, 18px) !important;
  }

  .video-caption-box p {
    font-size: clamp(10.5px, 2.65vw, 12.5px) !important;
  }

  .video-caption-tags span {
    min-height: 21px !important;
    font-size: 10px !important;
  }
}

@media (min-width: 900px) {
  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-copy-zone {
    top: 33.2% !important;
    left: 15.2% !important;
    right: 15.2% !important;
    min-height: 31% !important;
    gap: clamp(4px, .36vw, 6px) !important;
    justify-content: flex-start !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(15px, 1.20vw, 20px) !important;
    line-height: 1.02 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    margin-top: 0 !important;
    font-size: clamp(7.3px, .56vw, 9.4px) !important;
    line-height: 1.20 !important;
    max-width: 100% !important;
    -webkit-line-clamp: 5 !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-action-row {
    top: 70.85% !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-answer {
    background: rgba(14,18,32,.30) !important;
    border: 1px solid rgba(255,255,255,.34) !important;
    box-shadow: 0 12px 26px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.13) !important;
    color: rgba(255,255,255,.94) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-answer.like.selected {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    box-shadow: 0 16px 34px rgba(22,163,74,.30), inset 0 1px 0 rgba(255,255,255,.25) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-answer.dislike.selected {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    box-shadow: 0 16px 34px rgba(220,38,38,.28), inset 0 1px 0 rgba(255,255,255,.25) !important;
  }

  .app[data-stage="video"] .desktop-video-caption {
    bottom: 92px !important;
    left: 22px !important;
    right: 22px !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-box {
    max-width: 100% !important;
    min-width: 76% !important;
    padding: 11px 13px 10px !important;
    border-radius: 18px !important;
    gap: 5px !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-box strong {
    font-size: clamp(12px, .95vw, 16px) !important;
    line-height: 1.08 !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-box p {
    font-size: clamp(8px, .62vw, 10.2px) !important;
    line-height: 1.20 !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-tags span {
    min-height: clamp(17px, 1.24vw, 22px) !important;
    padding: 0 clamp(5px, .42vw, 8px) !important;
    font-size: clamp(6.8px, .52vw, 8.8px) !important;
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-copy-zone {
    top: 33.8% !important;
    gap: 3px !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-name {
    font-size: clamp(13px, 1vw, 16px) !important;
  }

  .app[data-stage="profile"] .desktop-card.active .profile-overlay-desktop .profile-overlay-bio {
    font-size: 6.8px !important;
    line-height: 1.14 !important;
    -webkit-line-clamp: 4 !important;
  }

  .app[data-stage="video"] .desktop-video-caption {
    bottom: 78px !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-box {
    padding: 9px 11px !important;
    gap: 4px !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-box strong {
    font-size: 11px !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-box p {
    font-size: 7.6px !important;
  }

  .app[data-stage="video"] .desktop-video-caption .video-caption-tags span {
    min-height: 16px !important;
    font-size: 6.4px !important;
  }
}

/* Mobil ana sayfada küçük ekranlar için dikey kaydırma */
@media (max-width: 899px) {
  .app[data-stage="home"] {
    overflow: hidden;
  }

  .app[data-stage="home"] .root {
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .app[data-stage="home"] .home-screen {
    height: auto;
    min-height: 100dvh;
    align-content: start;
    overflow: visible;
    padding-bottom: calc(var(--safe-bottom) + 36px);
  }
}