/* Opaque satin finishes: soft colour, a fine rim, and quiet pressed depth. */
:root {
  --satin-top: #fffafd;
  --satin-middle: #fcecf4;
  --satin-bottom: #f2dce8;
  --satin-border: #e1bace;
  --satin-ink: #452034;
  --satin-light: #ffffffa6;
  --satin-shadow: #63223f14;
}

:root[data-theme="dark"], .inner-section {
  --satin-top: #3c2837;
  --satin-middle: #2b1b29;
  --satin-bottom: #201620;
  --satin-border: #694658;
  --satin-ink: #fceaf3;
  --satin-light: #ffd4e51a;
  --satin-shadow: #00000033;
}

.satin-primary {
  --satin-top: #ffc3df;
  --satin-middle: #f58ab9;
  --satin-bottom: #e66ba5;
  --satin-border: #ed91bc;
  --satin-ink: #42122a;
  --satin-light: #fff5fc80;
  --satin-shadow: #d638852b;
}

.kick-card {
  --satin-top: #e7ffe9;
  --satin-middle: #cfefd5;
  --satin-bottom: #bde2c7;
  --satin-border: #85b88f;
  --satin-ink: #244b2d;
}
.twitch-card {
  --satin-top: #f5e9ff;
  --satin-middle: #dfc6f3;
  --satin-bottom: #cdb3e7;
  --satin-border: #a286bd;
  --satin-ink: #4c2b64;
}
.exclusive-link {
  --satin-top: #ffeaf5;
  --satin-middle: #f9deed;
  --satin-bottom: #f0cee0;
  --satin-border: #d696b5;
}
:root[data-theme="dark"] .kick-card {
  --satin-top: #2d553a;
  --satin-middle: #203b29;
  --satin-bottom: #182d20;
  --satin-border: #50795a;
  --satin-ink: #dcfadd;
}
:root[data-theme="dark"] .twitch-card {
  --satin-top: #49325f;
  --satin-middle: #33233f;
  --satin-bottom: #271b32;
  --satin-border: #795592;
  --satin-ink: #eedbff;
}
:root[data-theme="dark"] .exclusive-link {
  --satin-top: #46253c;
  --satin-middle: #301b2b;
  --satin-bottom: #22141e;
  --satin-border: #a45c83;
}

/* These rules also cover touch browsers that retain :hover after a tap. */
:root[data-theme] body .satin-surface,
:root[data-theme] body .satin-surface:hover {
  position: relative;
  color: var(--satin-ink);
  border: 1px solid var(--satin-border);
  background:
    radial-gradient(ellipse at 18% -60%, var(--satin-light), transparent 72%),
    linear-gradient(145deg, var(--satin-top), var(--satin-middle) 48%, var(--satin-bottom));
  box-shadow:
    inset 0 1px 0 var(--satin-light),
    inset 0 -1px 0 #0000000d,
    0 6px 18px var(--satin-shadow);
}

:root[data-theme] body .satin-button {
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, scale .16s ease;
}
.satin-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 28%, #ffffff30 47%, #ffffff0a 54%, transparent 72%);
  transform: translateX(-125%);
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :root[data-theme] body .satin-surface:hover {
    box-shadow: inset 0 1px 0 var(--satin-light), inset 0 -1px 0 #0000000d, 0 10px 24px var(--satin-shadow);
  }
  .satin-button:hover::before {
    animation: satin-sheen .7s cubic-bezier(.2, .6, .3, 1) both;
  }
}
@keyframes satin-sheen {
  0% { opacity: 0; transform: translateX(-125%); }
  18%, 75% { opacity: 1; }
  100% { opacity: 0; transform: translateX(125%); }
}

:root[data-theme] body .satin-button:active {
  scale: .985;
  box-shadow: inset 0 2px 5px #0000001a, inset 0 -1px 0 var(--satin-light), 0 2px 7px var(--satin-shadow);
}
:root[data-theme] body .satin-surface:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}

/* Keep the existing live sheen and More of me heartbeat independently visible. */
:root[data-kick-status="live"] .watch-live-cta::before { content: none; }
:root[data-theme][data-kick-status="live"] body .watch-live-cta {
  box-shadow: inset 0 1px 0 var(--satin-light), 0 6px 18px var(--satin-shadow), 0 0 20px #ef4c9d33;
}
:root[data-theme] body .exclusive-link.satin-surface {
  box-shadow: inset 0 1px 0 var(--satin-light), 0 6px 18px var(--satin-shadow), 0 0 14px #ff69b41f;
}

@media (prefers-reduced-motion: reduce) {
  .satin-button::before { display: none; }
  :root[data-theme] body .satin-button { transition: none; }
  :root[data-theme] body .satin-button:active { scale: 1; }
}
@media (forced-colors: active) {
  :root[data-theme] body .satin-surface,
  :root[data-theme] body .satin-surface:hover {
    background: Canvas;
    color: ButtonText;
    border: 1px solid ButtonText;
    box-shadow: none;
  }
  .satin-button::before { display: none; }
}

.club-social-card {
  --satin-top: #fff0f8;
  --satin-middle: #f5dfed;
  --satin-bottom: #ead0e2;
  --satin-border: #c98aaf;
}
:root[data-theme="dark"] .club-social-card {
  --satin-top: #4a2b43;
  --satin-middle: #332133;
  --satin-bottom: #251b28;
  --satin-border: #925679;
}
