* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;

  background: #ffffff;
  color: #111111;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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


/* =========================
   LANDING
========================= */

.landing {
  position: relative;

  min-height: 100svh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: 30px 22px;

  background: #ffffff;
}


/* =========================
   AMBIENT LIGHT
========================= */

.ambient {
  position: absolute;

  width: 260px;
  height: 260px;

  border-radius: 50%;

  background: #f4f4f4;

  filter: blur(70px);

  pointer-events: none;

  opacity: 0.7;
}

.ambient-one {
  top: -120px;
  left: -100px;

  animation: ambientOne 8s ease-in-out infinite;
}

.ambient-two {
  right: -120px;
  bottom: -130px;

  width: 300px;
  height: 300px;

  opacity: 0.55;

  animation: ambientTwo 10s ease-in-out infinite;
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}


/* =========================
   BRAND
========================= */

.brand-line {
  display: flex;
  align-items: baseline;
  gap: 6px;

  margin-bottom: 42px;

  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.brand-by {
  color: #999999;

  font-size: 12px;
  font-weight: 500;
}


/* =========================
   HERO COPY
========================= */

.hero-copy h1 {
  max-width: 820px;

  font-size: clamp(54px, 12vw, 108px);
  line-height: 0.94;

  letter-spacing: -0.075em;

  font-weight: 700;
}

.hero-copy h1 span {
  display: block;

  color: #8b8b8b;
}

.hero-copy p {
  margin-top: 30px;

  color: #8a8a8a;

  font-size: 17px;
  line-height: 1.5;

  letter-spacing: -0.02em;
}


/* =========================
   CTA
========================= */

.compare-button {
  margin-top: 42px;

  height: 58px;
  min-width: 174px;

  padding: 0 23px 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  border-radius: 999px;

  background: #111111;
  color: #ffffff;

  font-size: 13px;
  font-weight: 650;

  letter-spacing: 0.055em;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.13);

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.button-arrow {
  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #ffffff;
  color: #111111;

  font-size: 14px;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.compare-button:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.17);
}

.compare-button:hover .button-arrow {
  transform: rotate(45deg);
}

.compare-button:active {
  transform: scale(0.96);
}


/* =========================
   MICRO NOTE
========================= */

.micro-note {
  margin-top: 20px;

  color: #b0b0b0;

  font-size: 11px;
  font-weight: 500;

  letter-spacing: 0.01em;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .landing {
    padding: 26px 20px;
  }

  .brand-line {
    margin-bottom: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 14.5vw, 76px);

    letter-spacing: -0.075em;
  }

  .hero-copy p {
    max-width: 300px;

    margin-top: 25px;

    font-size: 16px;
  }

  .compare-button {
    margin-top: 36px;

    height: 56px;
    min-width: 166px;
  }

  .micro-note {
    margin-top: 18px;
  }

  .ambient {
    width: 200px;
    height: 200px;

    filter: blur(60px);
  }
}

/* =========================================
   WHOWINS — PREMIUM COMPARE SCREEN
========================================= */

.compare-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;

  padding: 28px 24px 60px;

  background:
    radial-gradient(
      circle at 50% 35%,
      #fafafa 0%,
      #ffffff 48%,
      #ffffff 100%
    );
}


/* subtle ambient light */

.compare-page::before {
  content: "";
  position: absolute;

  width: 420px;
  height: 420px;

  top: 20%;
  left: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: #f4f4f4;

  filter: blur(100px);

  opacity: 0.45;

  pointer-events: none;
}


/* =========================================
   HEADER
========================================= */

.compare-header {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: 1100px;

  margin: 0 auto;

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

.back-button {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(245, 245, 245, 0.9);

  border: 1px solid #eeeeee;

  color: #111111;

  font-size: 20px;

  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.05);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.back-button:hover {
  transform: translateX(-2px);

  background: #eeeeee;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08);
}

.back-button:active {
  transform: scale(0.92);
}

.mini-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mini-brand strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.mini-brand span {
  font-size: 11px;
  color: #999999;
}


/* =========================================
   CONTENT
========================================= */

.compare-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;

  margin: 0 auto;

  padding-top: 92px;

  text-align: center;
}


/* =========================================
   HEADING
========================================= */

.compare-heading {
  animation:
    compareFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.compare-kicker {
  margin-bottom: 20px;

  color: #a0a0a0;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.compare-heading h1 {
  font-size: clamp(64px, 13vw, 108px);

  line-height: 0.9;

  letter-spacing: -0.075em;

  font-weight: 700;

  color: #111111;
}

.compare-heading > p:last-child {
  margin-top: 24px;

  color: #929292;

  font-size: 16px;

  letter-spacing: -0.02em;
}


/* =========================================
   BATTLE AREA
========================================= */

.battle-area {
  width: 100%;
  max-width: 720px;

  margin: 58px auto 0;

  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  gap: 18px;
}


/* =========================================
   ACCOUNT CARD
========================================= */

.account-card {
  position: relative;

  min-height: 142px;

  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  text-align: left;

  background:
    rgba(255, 255, 255, 0.92);

  border: 1px solid #e9e9e9;

  border-radius: 24px;

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.055);

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.account-card:hover {
  transform: translateY(-4px);

  border-color: #dedede;

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.09);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #b1b1b1;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.1em;
}

.card-label {
  font-size: 9px;
}


/* =========================================
   USERNAME FIELD
========================================= */

.username-field {
  display: flex;
  align-items: center;

  width: 100%;

  margin-top: 20px;

  padding-bottom: 9px;

  border-bottom: 1.5px solid #dedede;

  transition:
    border-color 0.25s ease;
}

.account-card:focus-within .username-field {
  border-color: #111111;
}

.at-symbol {
  margin-right: 5px;

  color: #a0a0a0;

  font-size: 20px;
  font-weight: 500;
}

.username-field input {
  width: 100%;

  border: none;
  outline: none;

  background: transparent;

  color: #111111;

  font-family: inherit;

  font-size: 19px;
  font-weight: 600;

  letter-spacing: -0.03em;
}

.username-field input::placeholder {
  color: #b5b5b5;

  font-weight: 500;
}

.field-hint {
  margin-top: 12px;

  color: #b0b0b0;

  font-size: 10px;

  letter-spacing: 0.01em;
}


/* =========================================
   VS
========================================= */

.versus {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;
}

.versus span {
  display: none;
}

.versus strong {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #111111;

  color: #ffffff;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.04em;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.13);

  animation: softPulse 3s ease-in-out infinite;
}


/* =========================================
   BUTTON
========================================= */

.battle-button {
  margin-top: 36px;

  height: 58px;

  min-width: 184px;

  padding: 0 25px;

  border: none;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 15px;

  background: #111111;

  color: #ffffff;

  font-family: inherit;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.07em;

  cursor: pointer;

  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.14);

  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.button-icon {
  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #ffffff;

  color: #111111;

  font-size: 14px;

  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.battle-button:hover {
  transform: translateY(-4px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.18);
}

.battle-button:hover .button-icon {
  transform: rotate(45deg);
}

.battle-button:active {
  transform: scale(0.96);
}


/* =========================================
   ERROR
========================================= */

.error-message {
  min-height: 18px;

  margin-top: 14px;

  color: #d33;

  font-size: 12px;
}


/* =========================================
   LOADING
========================================= */

.loading-state {
  margin-top: 65px;

  text-align: center;
}

.loading-orb {
  width: 34px;
  height: 34px;

  margin: 0 auto;

  border-radius: 50%;

  border: 2px solid #eeeeee;
  border-top-color: #111111;

  animation: spin 0.75s linear infinite;
}

.loading-state p {
  margin-top: 16px;

  color: #999999;

  font-size: 13px;
}


/* =========================================
   RESULT
========================================= */

.result-state {
  width: 100%;
  max-width: 800px;

  margin: 75px auto 0;
}

.result-kicker {
  color: #999999;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.14em;
}

.result-state h2 {
  margin-top: 15px;

  font-size: 28px;

  letter-spacing: -0.045em;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .compare-page {
    padding:
      22px
      17px
      50px;
  }

  .compare-content {
    padding-top: 78px;
  }

  .compare-heading h1 {
    font-size: 68px;
  }

  .compare-heading > p:last-child {
    font-size: 15px;
  }

  .battle-area {
    grid-template-columns: 1fr;

    gap: 14px;

    max-width: 390px;

    margin-top: 48px;
  }

  .account-card {
    min-height: 136px;

    padding: 19px;

    border-radius: 22px;
  }

  .versus {
    height: 28px;
  }

  .versus strong {
    width: 38px;
    height: 38px;

    font-size: 9px;
  }

  .battle-button {
    margin-top: 30px;

    min-width: 175px;
  }
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes compareFade {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes softPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }

}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }

}

/* Hidden UI states */

.hidden {
  display: none !important;
}

/* =========================================
   PREMIUM RESULT
========================================= */

.result-state {
  width: 100%;
  max-width: 760px;

  margin: 85px auto 0;

  animation:
    resultReveal
    0.9s
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}


/* CARD */

.result-card {
  position: relative;

  padding: 42px 24px 24px;

  border: 1px solid #e9e9e9;

  border-radius: 32px;

  background:
    rgba(255, 255, 255, 0.94);

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.07);

  overflow: hidden;
}


/* subtle top glow */

.result-card::before {
  content: "";

  position: absolute;

  width: 260px;
  height: 260px;

  top: -180px;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;

  background: #f2f2f2;

  filter: blur(70px);

  pointer-events: none;
}


/* TOP */

.result-top {
  position: relative;
  z-index: 2;

  text-align: center;
}

.result-top .result-kicker {
  margin: 0;

  color: #999999;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.18em;
}

.result-top h2 {
  margin-top: 18px;

  font-size: clamp(36px, 9vw, 58px);

  line-height: 0.95;

  letter-spacing: -0.065em;

  font-weight: 700;
}

.result-top h2 span {
  color: #999999;
}

.result-description {
  margin-top: 14px;

  color: #999999;

  font-size: 13px;
}


/* SCORE BATTLE */

.score-battle {
  position: relative;

  margin: 48px auto 0;

  max-width: 560px;

  display: grid;

  grid-template-columns: 1fr 55px 1fr;

  align-items: center;
}

.score-account {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  opacity: 0.55;

  transform: scale(0.94);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.score-account.is-winner {
  opacity: 1;

  transform: scale(1);
}


/* AVATAR */

.avatar-wrap {
  position: relative;

  width: 74px;
  height: 74px;

  margin-bottom: 14px;
}

.avatar-wrap img,
.avatar-placeholder {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  object-fit: cover;

  border: 3px solid #ffffff;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12);
}

.avatar-placeholder {
  background: #eeeeee;

  color: #777777;

  font-size: 22px;
}


/* WINNER CHECK */

.winner-dot {
  position: absolute;

  right: -3px;
  bottom: -2px;

  width: 25px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #111111;

  color: #ffffff;

  border: 3px solid #ffffff;

  font-size: 10px;
  font-weight: 700;
}


.score-account strong {
  max-width: 145px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  font-size: 14px;

  letter-spacing: -0.025em;
}


.account-score {
  margin-top: 8px;

  font-size: 42px;

  line-height: 1;

  letter-spacing: -0.06em;

  font-weight: 700;
}

.score-account small {
  margin-top: 7px;

  color: #aaaaaa;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.13em;
}


/* VS */

.score-vs {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  justify-self: center;

  border-radius: 50%;

  background: #f2f2f2;

  color: #777777;

  font-size: 8px;
  font-weight: 700;
}


/* =========================================
   METRICS
========================================= */

.metrics-panel {
  margin-top: 45px;

  border-top: 1px solid #eeeeee;
}

.metric-row {
  min-height: 58px;

  display: grid;

  grid-template-columns: 1fr 150px 1fr;

  align-items: center;

  border-bottom: 1px solid #eeeeee;
}

.metric-side {
  font-size: 14px;

  font-weight: 650;

  letter-spacing: -0.02em;
}

.metric-side.left {
  text-align: left;
}

.metric-side.right {
  text-align: right;
}

.metric-name {
  text-align: center;

  color: #aaaaaa;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.12em;
}


/* =========================================
   FOOTER
========================================= */

.result-footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding-top: 20px;
}

.result-footer > span {
  color: #aaaaaa;

  font-size: 9px;
}

.share-button {
  border: none;

  padding: 10px 14px;

  border-radius: 999px;

  background: #f1f1f1;

  color: #111111;

  font-family: inherit;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.08em;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.share-button:hover {
  background: #e8e8e8;

  transform: translateY(-2px);
}

.share-button:active {
  transform: scale(0.95);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .result-state {
    margin-top: 65px;
  }

  .result-card {
    padding:
      36px
      17px
      20px;

    border-radius: 28px;
  }

  .score-battle {
    grid-template-columns:
      1fr
      34px
      1fr;

    max-width: 340px;
  }

  .avatar-wrap {
    width: 64px;
    height: 64px;
  }

  .account-score {
    font-size: 36px;
  }

  .metric-row {
    grid-template-columns:
      1fr
      120px
      1fr;
  }

  .metric-side {
    font-size: 13px;
  }

  .result-footer {
    flex-direction: column;

    align-items: center;
  }

  .result-footer > span {
    text-align: center;
  }

}


/* =========================================
   ANIMATION
========================================= */

@keyframes resultReveal {

  from {
    opacity: 0;

    transform:
      translateY(30px)
      scale(0.98);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}

/* =========================================
   WHO WINS — LANDSCAPE SHARE CARD
   ========================================= */

.ww-share-card {
  width: 1200px;
  height: 675px;
  box-sizing: border-box;
  background: #ffffff;
  color: #111111;
  border: 1px solid #e8e8e8;
  border-radius: 42px;
  padding: 42px 48px;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  box-shadow:
    0 30px 80px rgba(0,0,0,.10);
}

/* subtle background glow */

.ww-share-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: #f5f5f5;
  filter: blur(30px);
  opacity: .8;
}

.ww-share-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -180px;
  bottom: -200px;
  border-radius: 50%;
  background: #f7f7f7;
  filter: blur(35px);
}

/* header */

.ww-share-header {
  position: relative;
  z-index: 2;

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

.ww-share-brand {
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -1.5px;
}

.ww-share-brand span {
  color: #a7a7a7;
  font-weight: 500;
  margin-left: 7px;
}

.ww-share-source {
  color: #a5a5a5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
}

/* verdict */

.ww-share-verdict {
  position: relative;
  z-index: 2;

  text-align: center;
  margin-top: 52px;
}

.ww-share-kicker {
  margin: 0 0 14px;
  color: #aaa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
}

.ww-share-title {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -3px;
}

.ww-share-title span {
  color: #aaa;
  font-weight: 600;
}

.ww-share-score {
  margin-top: 13px;
  color: #999;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* account battle */

.ww-share-duel {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  gap: 20px;

  margin-top: 38px;
}

.ww-share-person {
  height: 150px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 22px;

  padding: 20px 28px;

  border: 1px solid #e6e6e6;
  border-radius: 28px;

  background: rgba(255,255,255,.88);

  box-shadow:
    0 16px 35px rgba(0,0,0,.055);
}

.ww-share-person.winner {
  border-color: #d3d3d3;

  box-shadow:
    0 22px 45px rgba(0,0,0,.09);
}

.ww-share-avatar {
  width: 82px;
  height: 82px;
  flex-shrink: 0;

  overflow: hidden;
  border-radius: 50%;

  border: 3px solid #fff;

  box-shadow:
    0 8px 25px rgba(0,0,0,.14);
}

.ww-share-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ww-share-info {
  min-width: 0;
}

.ww-share-handle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.ww-share-person-score {
  margin-top: 7px;

  font-size: 36px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -2px;
}

.ww-share-person-score small {
  color: #aaa;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

/* winner badge */

.ww-share-winner {
  position: absolute;
  top: -10px;
  right: 18px;

  padding: 7px 11px;

  border-radius: 999px;

  background: #111;
  color: #fff;

  font-size: 8px;
  font-weight: 950;
  letter-spacing: 2px;
}

/* VS */

.ww-share-vs {
  width: 70px;
  height: 70px;

  justify-self: center;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #111;
  color: #fff;

  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;

  box-shadow:
    0 15px 30px rgba(0,0,0,.16);
}

/* advantage */

.ww-share-advantage {
  position: relative;
  z-index: 2;

  margin-top: 28px;

  padding: 15px 20px;

  border-radius: 18px;

  background: #f6f6f6;

  text-align: center;

  color: #888;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}

.ww-share-advantage strong {
  color: #111;
  font-weight: 950;
}

/* footer */

.ww-share-footer {
  position: absolute;
  z-index: 3;

  left: 48px;
  right: 48px;
  bottom: 36px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ww-share-tagline {
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.5px;
}

.ww-share-meta {
  margin-top: 6px;

  color: #aaa;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ww-share-mark {
  color: #999;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}


/* =========================================
   MOBILE PREVIEW
   ========================================= */

@media (max-width: 700px) {

  .ww-share-card {
    width: 100%;
    height: auto;
    min-height: 420px;

    border-radius: 28px;
    padding: 25px 24px;
  }

  .ww-share-brand {
    font-size: 17px;
  }

  .ww-share-source {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .ww-share-verdict {
    margin-top: 30px;
  }

  .ww-share-kicker {
    font-size: 8px;
    letter-spacing: 3px;
  }

  .ww-share-title {
    font-size: 30px;
    letter-spacing: -2px;
  }

  .ww-share-score {
    font-size: 12px;
  }

  .ww-share-duel {
    grid-template-columns: 1fr 42px 1fr;
    gap: 7px;
    margin-top: 25px;
  }

  .ww-share-person {
    height: 105px;
    padding: 12px;
    gap: 9px;
    border-radius: 18px;
  }

  .ww-share-avatar {
    width: 48px;
    height: 48px;
  }

  .ww-share-handle {
    font-size: 11px;
  }

  .ww-share-person-score {
    font-size: 24px;
  }

  .ww-share-vs {
    width: 42px;
    height: 42px;
    font-size: 7px;
  }

  .ww-share-advantage {
    margin-top: 18px;
    font-size: 9px;
  }

  .ww-share-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;

    margin-top: 22px;
  }

  .ww-share-tagline {
    font-size: 11px;
  }

  .ww-share-meta {
    font-size: 6px;
  }

  .ww-share-mark {
    font-size: 7px;
  }
}

/* =====================================================
   WHOWINS — FIXED COMPARE INPUT LAYOUT
   ===================================================== */

.compare-hero {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;

  margin: 0 auto;
  padding-top: 92px;

  text-align: center;

  animation:
    compareFade
    0.9s
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

.hero-eyebrow {
  margin-bottom: 20px;

  color: #a0a0a0;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.compare-hero h1 {
  margin: 0;

  font-size: clamp(64px, 13vw, 108px);
  line-height: 0.9;

  letter-spacing: -0.075em;

  font-weight: 700;

  color: #111111;
}

.hero-description {
  margin-top: 24px;

  color: #929292;

  font-size: 16px;

  letter-spacing: -0.02em;
}


/* =====================================================
   BATTLE
   account | VS | account
   ===================================================== */

.battle-section {
  width: 100%;
  max-width: 720px;

  margin: 58px auto 0;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);

  align-items: center;

  gap: 18px;
}


/* =====================================================
   ACCOUNT CARD
   ===================================================== */

.account-card {
  position: relative;

  min-width: 0;
  min-height: 142px;

  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  text-align: left;

  background:
    rgba(255, 255, 255, 0.92);

  border: 1px solid #e9e9e9;

  border-radius: 24px;

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.055);

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.account-card:hover {
  transform: translateY(-4px);

  border-color: #dedede;

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.09);
}


/* =====================================================
   CARD TOP
   ===================================================== */

.account-card-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  color: #b1b1b1;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.1em;
}


/* =====================================================
   USERNAME
   ===================================================== */

.username-field {
  display: flex;

  align-items: center;

  width: 100%;

  margin-top: 20px;

  padding-bottom: 9px;

  border-bottom: 1.5px solid #dedede;

  transition:
    border-color 0.25s ease;
}

.account-card:focus-within
.username-field {
  border-color: #111111;
}

.at-symbol {
  margin-right: 5px;

  color: #a0a0a0;

  font-size: 20px;
  font-weight: 500;
}

.username-field input {
  width: 100%;

  min-width: 0;

  border: none;
  outline: none;

  background: transparent;

  color: #111111;

  font-family: inherit;

  font-size: 19px;
  font-weight: 600;

  letter-spacing: -0.03em;
}

.username-field input::placeholder {
  color: #b5b5b5;

  font-weight: 500;
}

.field-hint {
  margin-top: 12px;

  color: #b0b0b0;

  font-size: 10px;

  letter-spacing: 0.01em;
}


/* =====================================================
   VS
   ===================================================== */

.versus-badge {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #111111;

  color: #ffffff;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.04em;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.13);

  animation:
    softPulse
    3s
    ease-in-out
    infinite;
}


/* =====================================================
   ERROR
   ===================================================== */

.error-message {
  grid-column: 1 / -1;

  min-height: 18px;

  margin-top: -2px;

  color: #d33;

  font-size: 12px;

  text-align: center;
}


/* =====================================================
   COMPARE BUTTON
   ===================================================== */

.battle-section > .compare-button {
  grid-column: 1 / -1;

  justify-self: center;

  margin-top: 18px;
}


/* =====================================================
   LOADING
   ===================================================== */

.loading-ring {
  width: 34px;
  height: 34px;

  margin: 0 auto;

  border-radius: 50%;

  border: 2px solid #eeeeee;
  border-top-color: #111111;

  animation:
    spin
    0.75s
    linear
    infinite;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .compare-page {
    padding:
      22px
      17px
      50px;
  }

  .compare-hero {
    padding-top: 78px;
  }

  .compare-hero h1 {
    font-size: 68px;
  }

  .hero-description {
    font-size: 15px;
  }

  /*
    KEEP TWO ACCOUNTS SIDE BY SIDE.
    VS stays in the middle.
  */

  .battle-section {

    grid-template-columns:
      minmax(0, 1fr)
      42px
      minmax(0, 1fr);

    gap: 8px;

    max-width: 390px;

    margin-top: 48px;
  }

  .account-card {
    min-height: 136px;

    padding: 17px 14px;

    border-radius: 21px;
  }

  .username-field input {
    font-size: 16px;
  }

  .at-symbol {
    font-size: 17px;
  }

  .versus-badge {
    width: 38px;
    height: 38px;

    font-size: 9px;
  }

  .battle-section > .compare-button {
    margin-top: 20px;
  }

}


/* =====================================================
   VERY SMALL PHONES
   ===================================================== */

@media (max-width: 360px) {

  .battle-section {
    grid-template-columns:
      minmax(0, 1fr)
      36px
      minmax(0, 1fr);

    gap: 5px;
  }

  .account-card {
    padding:
      15px
      10px;
  }

  .username-field input {
    font-size: 14px;
  }

  .versus-badge {
    width: 34px;
    height: 34px;

    font-size: 8px;
  }

}

/* =====================================================
   WHOWINS — PREMIUM COMPARE BEAUTY PASS
   ===================================================== */

.compare-page {
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(0,0,0,0.025),
      transparent 34%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(0,0,0,0.018),
      transparent 28%
    ),
    #fff;
}


/* -------------------------
   HEADER
------------------------- */

.compare-header {
  padding-top: 2px;
}

.back-button {
  width: 50px;
  height: 50px;

  background: rgba(248,248,248,.86);

  border: 1px solid rgba(0,0,0,.055);

  box-shadow:
    0 12px 30px rgba(0,0,0,.045);

  backdrop-filter: blur(14px);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.back-button:hover {
  transform: translateX(-3px);

  background: #f4f4f4;

  box-shadow:
    0 16px 35px rgba(0,0,0,.08);
}


/* -------------------------
   HERO
------------------------- */

.compare-content {
  padding-top: 86px;
}

.compare-heading {
  animation:
    compareFade
    1s
    cubic-bezier(.22,1,.36,1)
    both;
}

.compare-kicker {
  opacity: .72;

  letter-spacing: .24em;

  animation:
    letterFade
    1s
    .1s
    both;
}

.compare-heading h1 {
  position: relative;

  text-shadow:
    0 1px 0 rgba(255,255,255,.8);
}

.compare-heading > p:last-child {
  max-width: 520px;

  margin-left: auto;
  margin-right: auto;

  line-height: 1.55;

  opacity: .88;
}


/* -------------------------
   BATTLE AREA
------------------------- */

.battle-area {
  position: relative;

  max-width: 760px;

  margin-top: 54px;

  grid-template-columns:
    minmax(0,1fr)
    58px
    minmax(0,1fr);

  gap: 16px;
}


/* -------------------------
   ACCOUNT CARDS
------------------------- */

.account-card {
  min-height: 158px;

  padding: 22px 21px;

  border-radius: 27px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(249,249,249,.86)
    );

  border:
    1px solid rgba(0,0,0,.075);

  box-shadow:
    0 20px 55px rgba(0,0,0,.055),
    inset 0 1px 0 rgba(255,255,255,.9);

  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease;
}

.account-card::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: inherit;

  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,.7),
      transparent 38%
    );

  opacity: .7;
}

.account-card:hover {
  transform:
    translateY(-5px);

  border-color:
    rgba(0,0,0,.12);

  box-shadow:
    0 28px 65px rgba(0,0,0,.085),
    inset 0 1px 0 rgba(255,255,255,1);
}


/* -------------------------
   CARD LABELS
------------------------- */

.account-card-top {
  position: relative;
  z-index: 1;

  color: #aaa;

  font-size: 9px;

  letter-spacing: .18em;
}


/* -------------------------
   INPUT
------------------------- */

.username-field {
  position: relative;
  z-index: 1;

  margin-top: 22px;

  padding-bottom: 11px;

  border-bottom:
    1px solid #dedede;

  transition:
    border-color .3s ease,
    transform .3s ease;
}

.account-card:focus-within
.username-field {
  border-bottom-color: #111;

  transform:
    translateY(-1px);
}

.username-field input {
  font-size: 20px;

  transition:
    color .25s ease;
}

.username-field input::placeholder {
  transition:
    color .25s ease;
}

.account-card:focus-within
.username-field input::placeholder {
  color: #c8c8c8;
}

.field-hint {
  position: relative;
  z-index: 1;

  opacity: .75;

  font-size: 9px;

  letter-spacing: .025em;
}


/* -------------------------
   VS BADGE
------------------------- */

.versus-badge {
  position: relative;
  z-index: 5;

  width: 58px;
  height: 58px;

  background:
    radial-gradient(
      circle at 35% 28%,
      #303030,
      #111 58%
    );

  box-shadow:
    0 15px 32px rgba(0,0,0,.18),
    0 0 0 7px rgba(0,0,0,.025);

  animation:
    versusFloat
    3.8s
    ease-in-out
    infinite;
}


/* -------------------------
   CTA
------------------------- */

.battle-button {
  margin-top: 22px;

  height: 62px;

  min-width: 190px;

  box-shadow:
    0 18px 38px rgba(0,0,0,.14);

  transition:
    transform .25s cubic-bezier(.22,1,.36,1),
    box-shadow .25s ease;
}

.battle-button:hover {
  transform:
    translateY(-3px);

  box-shadow:
    0 24px 48px rgba(0,0,0,.19);
}

.battle-button:active {
  transform:
    scale(.97);
}


/* -------------------------
   MICRO DETAIL
------------------------- */

.battle-area::after {
  content:
    "PUBLIC X DATA  ·  CONTENT  ·  ENGAGEMENT";

  position: absolute;

  left: 50%;

  bottom: -54px;

  transform:
    translateX(-50%);

  width: max-content;

  color: #b5b5b5;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: .17em;

  opacity: .75;
}


/* -------------------------
   EXTRA ANIMATIONS
------------------------- */

@keyframes versusFloat {

  0%,
  100% {
    transform:
      translateY(0)
      scale(1);
  }

  50% {
    transform:
      translateY(-5px)
      scale(1.035);
  }

}

@keyframes letterFade {

  from {
    opacity: 0;

    letter-spacing: .38em;
  }

  to {
    opacity: .72;

    letter-spacing: .24em;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

  .compare-content {
    padding-top: 82px;
  }

  .compare-heading h1 {
    font-size: 66px;
  }

  .compare-heading > p:last-child {
    max-width: 330px;

    font-size: 14px;
  }

  .battle-area {

    grid-template-columns:
      minmax(0,1fr)
      42px
      minmax(0,1fr);

    gap: 7px;

    margin-top: 48px;
  }

  .account-card {

    min-height: 153px;

    padding:
      19px 14px;

    border-radius: 23px;
  }

  .username-field input {
    font-size: 16px;
  }

  .at-symbol {
    font-size: 18px;
  }

  .versus-badge {

    width: 42px;
    height: 42px;

    font-size: 9px;

    box-shadow:
      0 11px 25px rgba(0,0,0,.17),
      0 0 0 5px rgba(0,0,0,.025);
  }

  .battle-button {

    min-width: 184px;

    height: 59px;
  }

  .battle-area::after {

    bottom: -47px;

    font-size: 6.5px;

    letter-spacing: .12em;
  }

}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 380px) {

  .compare-heading h1 {
    font-size: 59px;
  }

  .battle-area {

    grid-template-columns:
      minmax(0,1fr)
      38px
      minmax(0,1fr);

    gap: 5px;
  }

  .account-card {

    padding:
      17px 11px;
  }

  .account-card-top {
    font-size: 8px;
  }

  .username-field input {
    font-size: 14px;
  }

  .field-hint {
    font-size: 8px;
  }

  .versus-badge {
    width: 38px;
    height: 38px;
  }

}

/* =========================================================
   WHOWINS — X POST RESULT CARD
   16:9 / LANDSCAPE / SHARE READY
   ========================================================= */

.ww-result-wrap {
  width: 100%;
  padding: 45px 0 80px;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}


/* MAIN SHARE CARD */

.ww-card {
  position: relative;

  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  box-sizing: border-box;

  border-radius: 34px;

  border: 1px solid rgba(0,0,0,.08);

  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(0,0,0,.045),
      transparent 28%
    ),
    radial-gradient(
      circle at 8% 92%,
      rgba(0,0,0,.035),
      transparent 30%
    ),
    #fff;

  color: #111;

  box-shadow:
    0 35px 90px rgba(0,0,0,.10),
    0 8px 25px rgba(0,0,0,.04);

  display: flex;
  flex-direction: column;
}


/* subtle paper/grid texture */

.ww-card::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: .35;

  background-image:
    linear-gradient(
      rgba(0,0,0,.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0,0,0,.018) 1px,
      transparent 1px
    );

  background-size:
    32px 32px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.8),
      transparent 80%
    );
}


/* =========================================================
   TOP
   ========================================================= */

.ww-top {
  position: relative;
  z-index: 2;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding:
    25px 34px 0;
}


.ww-logo-text {
  font-size: 20px;

  font-weight: 900;

  letter-spacing: -.055em;
}


.ww-by {
  margin-left: 6px;

  color: #a0a0a0;

  font-size: 15px;

  font-weight: 600;
}


.ww-label {
  color: #aaa;

  font-size: 9px;

  font-weight: 850;

  letter-spacing: .22em;
}


/* =========================================================
   VERDICT
   ========================================================= */

.ww-head {
  position: relative;
  z-index: 2;

  text-align: center;

  padding:
    28px 30px 18px;
}


.ww-kicker {
  margin: 0 0 10px;

  color: #aaa;

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .28em;
}


.ww-headline {
  margin: 0;

  font-size:
    clamp(34px, 4vw, 54px);

  line-height: .95;

  font-weight: 950;

  letter-spacing: -.075em;
}


.ww-headline .muted {
  color: #a0a0a0;
}


.ww-sub {
  margin: 11px 0 0;

  color: #969696;

  font-size: 13px;

  letter-spacing: .035em;
}


/* =========================================================
   DUEL
   ========================================================= */

.ww-duel {
  position: relative;
  z-index: 2;

  flex: 1;

  min-height: 0;

  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    76px
    minmax(0,1fr);

  align-items: center;

  gap: 20px;

  padding:
    0 38px;
}


/* ACCOUNT */

.ww-person {
  position: relative;

  height: 100%;

  max-height: 210px;

  box-sizing: border-box;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  padding: 20px;

  border-radius: 27px;

  border: 1px solid rgba(0,0,0,.075);

  background:
    rgba(255,255,255,.78);

  box-shadow:
    0 15px 38px rgba(0,0,0,.045);

  transition:
    transform .3s ease;
}


.ww-person.winner {
  transform:
    translateY(-5px);

  border-color:
    rgba(0,0,0,.15);

  box-shadow:
    0 22px 45px rgba(0,0,0,.09);
}


/* WINNER PILL */

.ww-win {
  position: absolute;

  top: 13px;
  right: 13px;

  padding:
    6px 10px;

  border-radius: 999px;

  background: #111;

  color: #fff;

  font-size: 7px;

  font-weight: 950;

  letter-spacing: .16em;
}


/* AVATAR */

.ww-avatar {
  width: 70px;
  height: 70px;

  margin-bottom: 12px;

  overflow: hidden;

  flex-shrink: 0;

  border-radius: 50%;

  border: 2px solid #fff;

  background: #eee;

  box-shadow:
    0 10px 25px rgba(0,0,0,.12);
}


.ww-avatar img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


.ww-avatar-fallback {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  color: #777;

  font-size: 24px;
  font-weight: 900;
}


.ww-handle {
  max-width: 90%;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  font-size: 16px;

  font-weight: 900;

  letter-spacing: -.035em;
}


/* SCORE */

.ww-score {
  margin-top: 8px;

  font-size: 52px;

  line-height: .9;

  font-weight: 950;

  letter-spacing: -.085em;
}


.ww-score small {
  margin-left: 4px;

  color: #aaa;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0;
}


/* VS */

.ww-vs {
  width: 64px;
  height: 64px;

  justify-self: center;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #111;

  color: #fff;

  font-size: 9px;

  font-weight: 950;

  letter-spacing: .16em;

  box-shadow:
    0 15px 30px rgba(0,0,0,.18);
}


/* =========================================================
   PERFORMANCE ADVANTAGE
   ========================================================= */

.ww-margin {
  position: relative;
  z-index: 2;

  flex-shrink: 0;

  margin:
    0 38px 18px;

  padding:
    12px 20px;

  border-radius: 999px;

  background: #f5f5f5;

  color: #777;

  text-align: center;

  font-size: 11px;

  letter-spacing: .015em;
}


.ww-margin strong {
  color: #111;

  font-weight: 950;
}


/* =========================================================
   BREAKDOWN
   ========================================================= */

.ww-breakdown {
  position: relative;
  z-index: 2;

  flex-shrink: 0;

  margin:
    0 38px;

  border:
    1px solid rgba(0,0,0,.075);

  border-radius: 22px;

  overflow: hidden;

  background:
    rgba(249,249,249,.72);
}


.ww-break-head,
.ww-break-row {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    100px
    100px;

  align-items: center;
}


.ww-break-head {
  min-height: 35px;

  padding:
    0 16px;

  border-bottom:
    1px solid rgba(0,0,0,.065);

  color: #aaa;

  font-size: 7px;

  font-weight: 900;

  letter-spacing: .16em;

  text-align: right;
}


.ww-break-head span:first-child {
  text-align: left;
}


.ww-break-row {
  min-height: 39px;

  padding:
    0 16px;

  border-bottom:
    1px solid rgba(0,0,0,.045);
}


.ww-break-row:last-child {
  border-bottom: none;
}


.ww-metric {
  color: #777;

  font-size: 8px;

  font-weight: 850;

  letter-spacing: .14em;
}


.ww-val {
  color: #999;

  text-align: right;

  font-size: 10px;

  font-weight: 750;
}


.ww-val.better {
  color: #111;

  font-weight: 950;
}


/* =========================================================
   FOOTER
   ========================================================= */

.ww-footer {
  position: relative;
  z-index: 2;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding:
    18px 38px 23px;
}


.ww-footer strong {
  display: block;

  font-size: 13px;

  font-weight: 900;

  letter-spacing: -.035em;
}


.ww-footer span {
  display: block;

  margin-top: 4px;

  color: #aaa;

  font-size: 7px;

  font-weight: 800;

  letter-spacing: .14em;

  text-transform: uppercase;
}


.ww-share {
  flex-shrink: 0;

  border: none;

  outline: none;

  cursor: pointer;

  padding:
    13px 19px;

  border-radius: 999px;

  background: #111;

  color: #fff;

  font-family: inherit;

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .13em;

  box-shadow:
    0 12px 28px rgba(0,0,0,.16);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}


.ww-share:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 18px 35px rgba(0,0,0,.2);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .ww-result-wrap {
    padding:
      30px 0 55px;

    overflow-x: auto;

    justify-content: flex-start;
  }

  /*
    Keep the CARD landscape.
    Don't stack it on mobile.
  */

  .ww-card {

    width: 760px;

    min-width: 760px;

    aspect-ratio: 16 / 9;

    border-radius: 28px;
  }

}


/* =========================================================
   VERY SMALL
========================================================= */

@media (max-width: 420px) {

  .ww-card {
    width: 700px;

    min-width: 700px;
  }

}

/* =====================================================
   WHOWINS RESULT — RESPONSIVE WEBSITE CARD
   ===================================================== */

.ww-result-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 28px 0 70px;
  box-sizing: border-box;
}

.ww-card {
  width: min(100%, 760px);
  max-width: 760px;

  overflow: hidden;
  box-sizing: border-box;

  border: 1px solid rgba(0,0,0,.08);
  border-radius: 30px;

  background: #fff;

  color: #111;

  box-shadow:
    0 30px 80px rgba(0,0,0,.08),
    0 5px 20px rgba(0,0,0,.04);
}


/* -------------------------
   RESULT TOP
------------------------- */

.ww-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 25px 28px 0;
}

.ww-brand {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.ww-brand span {
  margin-left: 5px;
  color: #aaa;
  font-weight: 500;
}

.ww-source {
  color: #aaa;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
}


/* -------------------------
   VERDICT
------------------------- */

.ww-head {
  text-align: center;

  padding:
    42px 20px 24px;
}

.ww-kicker {
  margin: 0 0 12px;

  color: #aaa;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: .25em;
}

.ww-headline {
  margin: 0;

  font-size:
    clamp(34px, 7vw, 58px);

  line-height: .95;

  letter-spacing: -.075em;

  font-weight: 950;
}

.ww-muted {
  color: #aaa;
}

.ww-sub {
  margin: 13px 0 0;

  color: #909090;

  font-size: 12px;

  letter-spacing: .03em;
}


/* -------------------------
   DUEL
------------------------- */

.ww-duel {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    56px
    minmax(0,1fr);

  align-items: center;

  gap: 10px;

  margin:
    0 24px 24px;
}

.ww-person {
  position: relative;

  min-width: 0;

  text-align: center;

  padding:
    23px 10px 20px;

  border:
    1px solid rgba(0,0,0,.08);

  border-radius: 25px;

  background: #fff;

  box-shadow:
    0 14px 34px rgba(0,0,0,.05);
}

.ww-person.winner {
  transform: translateY(-5px);

  border-color:
    rgba(0,0,0,.18);

  box-shadow:
    0 20px 42px rgba(0,0,0,.10);
}


/* WINNER */

.ww-win {
  position: absolute;

  right: 10px;
  top: 9px;

  padding:
    6px 8px;

  border-radius: 999px;

  background: #111;

  color: #fff;

  font-size: 6px;

  font-weight: 950;

  letter-spacing: .13em;
}


/* AVATAR */

.ww-avatar {
  width: 66px;
  height: 66px;

  margin:
    0 auto 12px;

  overflow: hidden;

  border-radius: 50%;

  background: #eee;

  border: 2px solid #fff;

  box-shadow:
    0 8px 22px rgba(0,0,0,.12);
}

.ww-avatar img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.ww-avatar-fallback {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  color: #777;

  font-size: 22px;
  font-weight: 900;
}


/* HANDLE */

.ww-handle {
  display: block;

  max-width: 100%;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  font-size: 14px;

  font-weight: 900;
}


/* SCORE */

.ww-score {
  margin-top: 8px;

  font-size: 38px;

  line-height: 1;

  font-weight: 950;

  letter-spacing: -.08em;
}

.ww-score small {
  color: #aaa;

  font-size: 9px;

  margin-left: 3px;

  letter-spacing: 0;
}


/* VS */

.ww-vs {
  width: 56px;
  height: 56px;

  justify-self: center;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #111;

  color: #fff;

  font-size: 9px;

  font-weight: 950;

  letter-spacing: .13em;

  box-shadow:
    0 12px 28px rgba(0,0,0,.16);
}


/* -------------------------
   ADVANTAGE
------------------------- */

.ww-margin {
  margin:
    0 24px 24px;

  padding:
    13px 15px;

  border-radius: 16px;

  background: #f6f6f6;

  color: #777;

  text-align: center;

  font-size: 11px;
}

.ww-margin strong {
  color: #111;
  font-weight: 950;
}


/* -------------------------
   BREAKDOWN
------------------------- */

.ww-breakdown {
  margin:
    0 24px;

  overflow: hidden;

  border:
    1px solid rgba(0,0,0,.075);

  border-radius: 23px;

  background: #fafafa;
}

.ww-break-head {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    75px
    75px;

  padding:
    13px 15px;

  border-bottom:
    1px solid rgba(0,0,0,.07);

  color: #aaa;

  font-size: 7px;

  font-weight: 900;

  letter-spacing: .13em;
}

.ww-break-head span:not(:first-child) {
  text-align: right;
}

.ww-row {
  padding: 15px;

  border-bottom:
    1px solid rgba(0,0,0,.05);
}

.ww-row:last-child {
  border-bottom: 0;
}

.ww-row-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 9px;
}

.ww-metric {
  color: #777;

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .12em;
}

.ww-values {
  display: flex;

  gap: 7px;

  color: #aaa;

  font-size: 10px;
}

.ww-values b {
  color: #777;
}

.ww-values b.better {
  color: #111;
  font-weight: 950;
}

.ww-bars {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 7px;
}

.ww-track {
  height: 5px;

  overflow: hidden;

  border-radius: 99px;

  background: #e6e6e6;
}

.ww-fill {
  height: 100%;

  border-radius: 99px;

  background: #111;
}

.ww-fill.right {
  margin-left: auto;
}


/* -------------------------
   FOOTER
------------------------- */

.ww-footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding:
    24px 28px 28px;
}

.ww-footer strong {
  display: block;

  font-size: 13px;

  font-weight: 900;
}

.ww-footer span {
  display: block;

  margin-top: 5px;

  color: #aaa;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: .08em;

  text-transform: uppercase;
}

.ww-share {
  border: 0;

  border-radius: 999px;

  padding:
    13px 17px;

  background: #111;

  color: #fff;

  cursor: pointer;

  font: inherit;

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .12em;

  box-shadow:
    0 11px 25px rgba(0,0,0,.14);
}


/* =====================================================
   MOBILE — IMPORTANT
   ===================================================== */

@media (max-width: 560px) {

  .ww-result-wrap {
    padding:
      22px 0 55px;
  }

  .ww-card {
    width: 100%;
    max-width: 100%;

    border-radius: 25px;
  }

  .ww-top {
    padding:
      21px 18px 0;
  }

  .ww-brand {
    font-size: 15px;
  }

  .ww-source {
    font-size: 7px;
  }

  .ww-head {
    padding:
      35px 15px 21px;
  }

  .ww-headline {
    font-size: 39px;
  }

  .ww-sub {
    font-size: 11px;
  }

  .ww-duel {

    grid-template-columns:
      minmax(0,1fr)
      46px
      minmax(0,1fr);

    gap: 6px;

    margin:
      0 12px 20px;
  }

  .ww-person {
    padding:
      19px 7px 17px;

    border-radius: 21px;
  }

  .ww-avatar {
    width: 55px;
    height: 55px;
  }

  .ww-handle {
    font-size: 12px;
  }

  .ww-score {
    font-size: 31px;
  }

  .ww-vs {
    width: 46px;
    height: 46px;

    font-size: 8px;
  }

  .ww-margin {
    margin:
      0 12px 20px;

    font-size: 9px;
  }

  .ww-breakdown {
    margin:
      0 12px;
  }

  .ww-break-head {
    grid-template-columns:
      minmax(0,1fr)
      58px
      58px;

    padding:
      12px;
  }

  .ww-row {
    padding:
      13px 12px;
  }

  .ww-footer {
    padding:
      20px 16px 23px;
  }

  .ww-footer strong {
    font-size: 11px;
  }

  .ww-share {
    padding:
      12px 14px;

    font-size: 7px;
  }
}