* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #e4e4e4;
  background: linear-gradient(135deg, #292929 0%, #171717 50%, #080808 100%);
  font-family: Arial, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-panel {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(360px, 1.5fr);
  column-gap: 48px;
  padding: 40px 48px;
  background: linear-gradient(315deg, #101010 0%, #242424 55%, #3a3a3a 100%);
  border: none;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

h1 {
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  color: #f0f0f0;
  font-size: 34px;
  text-align: left;
}

.auth-logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-button {
  padding: 12px;
  color: #9d9d9d;
  background: transparent;
  border: 2px solid #555555;
  border-radius: 14px;
  cursor: pointer;
}

.tab-button.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: #d0d0d0;
  font-weight: 700;
}

.tab-button:focus-visible,
.submit-button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(220, 220, 220, 0.25);
  outline-offset: 2px;
}

.auth-form {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.auth-form.active {
  display: grid;
}

.consent-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #a8a8a8;
  font-size: 11px;
  line-height: 1.4;
}

.consent-field input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  accent-color: #ededed;
}

.auth-status {
  grid-column: 1 / -1;
  min-height: 16px;
  margin: 0;
  color: #d0a0a0;
  font-size: 11px;
}

.form-field {
  display: grid;
  gap: 7px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #f3f3f3;
  background: rgba(8, 8, 8, 0.55);
  border: 1px solid #555555;
  border-radius: 14px;
}

input:not([type="radio"]):not([type="checkbox"]):focus {
  border-color: #bdbdbd;
}

select {
  width: 100%;
  min-height: 44px;
  padding: 10px 34px 10px 12px;
  color: #f3f3f3;
  color-scheme: dark;
  background: #171717;
  border: 1px solid #555555;
  border-radius: 14px;
}

select:focus-visible {
  border-color: #bdbdbd;
  outline: 3px solid rgba(220, 220, 220, 0.2);
  outline-offset: 2px;
}

.submit-button {
  grid-column: 1 / -1;
  min-height: 44px;
  margin-top: 4px;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #5c5c5c, #242424);
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.submit-button:hover {
  background: linear-gradient(135deg, #737373, #303030);
}

.store-page {
  min-height: 100vh;
  padding: 20px 48px;
}

.floating-toolbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  width: min(100%, 1080px);
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 10px 14px 10px 22px;
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, opacity 220ms ease;
}

.floating-toolbar.toolbar-hidden {
  opacity: 0;
  transform: translateY(calc(-100% - 24px));
  pointer-events: none;
}

.toolbar-brand {
  width: fit-content;
  text-decoration: none;
  user-select: none;
}

.brand-logo {
  display: block;
  width: clamp(112px, 13vw, 164px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
  transform: translateY(4px);
}

.brand-logo-wrap {
  position: relative;
  display: block;
  width: clamp(112px, 13vw, 164px);
  height: 52px;
  transform: translateY(4px);
}

.brand-logo-wrap .brand-logo {
  position: relative;
  transform: none;
}

.brand-sparkle {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  opacity: 0;
  pointer-events: none;
}

.toolbar-brand:hover .sparkle-one,
.toolbar-brand:focus-visible .sparkle-one {
  animation: logo-sparkle 1.8s ease-in-out infinite;
}

.toolbar-brand:hover .sparkle-two,
.toolbar-brand:focus-visible .sparkle-two {
  animation: logo-sparkle 1.8s ease-in-out 0.38s infinite;
}

.toolbar-brand:hover .sparkle-three,
.toolbar-brand:focus-visible .sparkle-three {
  animation: logo-sparkle 1.8s ease-in-out 0.76s infinite;
}

@keyframes logo-sparkle {
  0%, 12% { opacity: 0; }
  25%, 48% { opacity: 0.82; }
  64%, 100% { opacity: 0; }
}

.toolbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbar-nav a,
.logout-button {
  padding: 9px 13px;
  color: #a9a9a9;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}

.toolbar-nav a:hover,
.toolbar-nav a.active,
.logout-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.toolbar-nav a.toolbar-live-link {
  color: #ffffff;
}

.toolbar-nav a.toolbar-live-link::before {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  background: #f05a67;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(240, 90, 103, 0.58);
  content: "";
}

.logout-button {
  justify-self: end;
}

.store-content {
  width: min(100%, 1080px);
  margin: 20px auto 64px;
}

.promo-banner {
  min-height: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
  padding: 32px;
  overflow: hidden;
  background: linear-gradient(120deg, #3e3e3e 0%, #232323 55%, #111111 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.promo-banner h2 {
  margin: 0 0 8px;
  color: #f4f4f4;
  font-size: 30px;
  line-height: 1.15;
}

.promo-copy p {
  margin: 0;
  color: #929292;
  font-size: 14px;
  line-height: 1.45;
}

.promo-banner .purchase-link {
  position: relative;
  z-index: 0;
  isolation: isolate;
  flex: 0 0 auto;
  min-width: 150px;
  padding: 15px 24px;
  color: #181818;
  background: transparent;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  appearance: none;
  border: 0;
  cursor: pointer;
  transition: color 300ms ease;
}

@property --color1POSx {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 0%;
}

@property --color1POSy {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 0%;
}

@property --color2POSx {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 100%;
}

@property --color2POSy {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 0%;
}

@property --color3POSx {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 100%;
}

@property --color3POSy {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 100%;
}

@property --color4POSx {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 0%;
}

@property --color4POSy {
  inherits: false;
  syntax: "<percentage>";
  initial-value: 100%;
}

.promo-banner .purchase-link::before {
  --gradient-size: 120px;
  content: "";
  position: absolute;
  inset: -24px -36px;
  z-index: -2;
  opacity: 0;
  background-image:
    radial-gradient(
      var(--gradient-size) circle at var(--color1POSx) var(--color1POSy),
      #ff8080 0%,
      #ff616b 32%,
      rgba(255, 97, 107, 0) 100%
    ),
    radial-gradient(
      var(--gradient-size) circle at var(--color2POSx) var(--color2POSy),
      #ffe488 0%,
      #8cff85 32%,
      rgba(140, 255, 133, 0) 100%
    ),
    radial-gradient(
      var(--gradient-size) circle at var(--color3POSx) var(--color3POSy),
      #80c7ff 0%,
      #8e5cff 32%,
      rgba(142, 92, 255, 0) 100%
    ),
    radial-gradient(
      var(--gradient-size) circle at var(--color4POSx) var(--color4POSy),
      #e488ff 0%,
      #ff8080 32%,
      rgba(255, 128, 128, 0) 100%
  );
  mask-image: radial-gradient(closest-side ellipse at center, #000, #0000);
  filter: blur(9px);
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-banner .purchase-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ededed;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.promo-banner .purchase-link:hover,
.promo-banner .purchase-link:focus-visible {
  color: #111111;
}

.promo-banner .purchase-link:hover::before,
.promo-banner .purchase-link:focus-visible::before {
  opacity: 0.7;
  animation:
    glow-up-down-1 8s linear infinite,
    glow-side-side-1 8s linear -2s infinite,
    glow-up-down-2 8s linear -2s infinite,
    glow-side-side-2 8s linear infinite,
    glow-up-down-3 8s linear infinite,
    glow-side-side-3 8s linear -2s infinite,
    glow-up-down-4 8s linear -2s infinite,
    glow-side-side-4 8s linear infinite;
}

.service-tabs {
  display: grid;
  grid-template-columns: 44% 44%;
  justify-content: space-between;
  margin: 0 2% 44px;
}

.service-tab {
  min-width: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  color: #ededed;
  background: linear-gradient(135deg, #3a3a3a, #222222 55%, #141414);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.service-tab:nth-child(2) {
  background: linear-gradient(225deg, #3a3a3a, #222222 55%, #141414);
}

.service-tab:hover,
.service-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.13),
    0 0 28px rgba(255, 255, 255, 0.07),
    0 18px 34px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.service-tab > span:first-child {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.service-tab small {
  color: #858585;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-tab strong {
  overflow-wrap: anywhere;
  font-size: 17px;
}

.service-tab-price {
  flex: 0 0 auto;
  color: #f4f4f4;
  font-size: 15px;
  font-weight: 700;
}

.service-tab-price b {
  display: inline-block;
  margin-left: 7px;
  font-size: 16px;
  transition: transform 240ms ease;
}

.service-tab:hover .service-tab-price b,
.service-tab:focus-visible .service-tab-price b {
  transform: translateX(4px);
}

@keyframes glow-up-down-1 {
  0%, 100% { --color1POSy: 0%; }
  50% { --color1POSy: 100%; }
}

@keyframes glow-side-side-1 {
  0%, 100% { --color1POSx: 0%; }
  50% { --color1POSx: 100%; }
}

@keyframes glow-up-down-2 {
  0%, 100% { --color2POSy: 0%; }
  50% { --color2POSy: 100%; }
}

@keyframes glow-side-side-2 {
  0%, 100% { --color2POSx: 100%; }
  50% { --color2POSx: 0%; }
}

@keyframes glow-up-down-3 {
  0%, 100% { --color3POSy: 100%; }
  50% { --color3POSy: 0%; }
}

@keyframes glow-side-side-3 {
  0%, 100% { --color3POSx: 100%; }
  50% { --color3POSx: 0%; }
}

@keyframes glow-up-down-4 {
  0%, 100% { --color4POSy: 100%; }
  50% { --color4POSy: 0%; }
}

@keyframes glow-side-side-4 {
  0%, 100% { --color4POSx: 0%; }
  50% { --color4POSx: 100%; }
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  color: #f0f0f0;
  font-size: 24px;
}

.section-heading span {
  color: #858585;
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  perspective: 1200px;
}

.product-card {
  --price-shift-x: 0px;
  --price-shift-y: 0px;
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: clip;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 280ms ease;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.product-card:hover,
.product-card:focus-visible {
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.72),
    0 0 20px rgba(255, 255, 255, 0.38),
    0 0 42px rgba(255, 255, 255, 0.18),
    0 18px 42px rgba(0, 0, 0, 0.38);
}

.product-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.92));
  pointer-events: none;
}

.product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(0.55) saturate(0.72) blur(14px);
  transform: scale(1.1);
  transition: filter 280ms ease, transform 250ms ease;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.product-card:hover img,
.product-card:focus-visible img {
  filter: grayscale(0) saturate(1.12) blur(14px);
  transform: scale(1.13);
}

.product-card-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(241, 241, 241, 0.42);
  background: #242424;
  box-shadow: inset 0 0 46px rgba(0, 0, 0, 0.42);
  font-size: 11px;
  text-transform: uppercase;
}

.product-pack-count {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  padding: 6px 8px;
  color: #eeeeee;
  background: rgba(12, 12, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  transform: translateZ(36px);
}

.product-credit-cost {
  position: absolute;
  top: 48px;
  left: 15px;
  z-index: 2;
  color: rgba(244, 244, 244, 0.78);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  transform: translateZ(34px);
}

.checkout-payment-methods {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.checkout-payment-methods legend {
  margin-bottom: 8px;
  color: #bdbdbd;
  font-size: 13px;
  font-weight: 700;
}

.checkout-payment-methods label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  color: #eeeeee;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
}

.checkout-payment-methods label:has(input:checked) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.checkout-payment-methods label.is-unavailable {
  opacity: 0.48;
  cursor: not-allowed;
}

.checkout-payment-methods input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: #ffffff;
}

.checkout-payment-methods span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.checkout-payment-methods small {
  color: #a8a8a8;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.checkout-payment-methods-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.checkout-payment-methods-actions a {
  color: #a9a9a9;
  font-size: 12px;
  text-underline-offset: 3px;
}

.checkout-payment-methods-actions a:hover,
.checkout-payment-methods-actions a:focus-visible {
  color: #ffffff;
}

.product-price {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 8px 11px;
  color: #181818;
  background: rgba(244, 244, 244, 0.9);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transform: translate3d(var(--price-shift-x), var(--price-shift-y), 30px);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}

.product-card:hover .product-price {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  transform: translate3d(var(--price-shift-x), var(--price-shift-y), 72px) scale(1.04);
}

.product-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  padding: 9px 14px;
  color: #171717;
  background: rgba(244, 244, 244, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: none;
  transform: translate3d(
    calc(-50% + var(--price-shift-x)),
    calc(-50% + var(--price-shift-y)),
    64px
  );
  transition: opacity 180ms ease, transform 160ms ease-out;
}

.product-card:hover .product-lock,
.product-card:focus-visible .product-lock {
  opacity: 0;
  transform: translate3d(
    calc(-50% + var(--price-shift-x)),
    calc(-50% + var(--price-shift-y)),
    78px
  ) scale(1.04);
}

.product-card h3 {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 2;
  margin: 0;
  color: #f2f2f2;
  font-size: 17px;
  transform: translateZ(22px);
}

.account-content {
  width: min(100%, 980px);
  margin: 72px auto 80px;
}

.account-heading {
  margin-bottom: 48px;
}

.account-heading p {
  margin: 0 0 10px;
  color: #858585;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-heading h1 {
  margin: 0;
  color: #f2f2f2;
  font-size: 38px;
  text-align: left;
}

.settings-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: 56px;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.settings-section:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.settings-copy h2 {
  margin: 0 0 8px;
  color: #ededed;
  font-size: 20px;
}

.settings-copy p {
  max-width: 260px;
  margin: 0;
  color: #8f8f8f;
  font-size: 14px;
  line-height: 1.5;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.settings-form .full-width,
.settings-button,
.form-status {
  grid-column: 1 / -1;
}

.settings-button {
  width: fit-content;
  min-height: 44px;
  padding: 10px 18px;
  color: #171717;
  background: #ededed;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.settings-button:hover {
  background: #ffffff;
}

.promo-code-field {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.promo-code-field > label {
  display: block;
  margin-bottom: 8px;
  color: #dedede;
  font-size: 13px;
  font-weight: 700;
}

.promo-code-row {
  display: flex;
  gap: 10px;
}

.promo-code-row input {
  min-width: 0;
  flex: 1;
}

.promo-code-apply {
  min-height: 44px;
  padding: 10px 16px;
  color: #171717;
  background: #ededed;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.promo-code-apply:hover {
  background: #ffffff;
}

.promo-code-hint,
.promo-code-status {
  margin: 8px 0 0;
  color: #858585;
  font-size: 12px;
}

.promo-code-status {
  color: #b9d6bf;
}

.private-session-unavailable {
  display: grid;
  gap: 14px;
  padding: 26px 0 8px;
  color: #a6a6a6;
}

.private-session-unavailable ~ * {
  display: none !important;
}

.form-status {
  min-height: 20px;
  margin: -4px 0 0;
  color: #bdbdbd;
  font-size: 13px;
}

.form-status.error {
  color: #e09a9a;
}

.chat-page {
  min-height: 100vh;
}

.chat-shell {
  width: min(100%, 860px);
  height: min(720px, calc(100vh - 132px));
  min-height: 480px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  margin: 28px auto 0;
  overflow: hidden;
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.creator-avatar {
  width: 66px;
  height: 48px;
  display: grid;
  flex: 0 0 66px;
  place-items: center;
  background: #181818;
  border-radius: 12px;
}

.profile-placeholder {
  color: #f4f4f4;
  font-size: 18px;
  font-weight: 800;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: #8f8f8f;
  font-size: 12px;
}

.creator-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-header h1 {
  grid-row: auto;
  margin: 0 0 3px;
  color: #f2f2f2;
  font-size: 16px;
  text-align: left;
}

.chat-header p {
  margin: 0;
  color: #858585;
  font-size: 12px;
}

.message-list {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.message {
  width: fit-content;
  max-width: min(72%, 520px);
}

.message p {
  margin: 0;
  padding: 12px 15px;
  border-radius: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.message time {
  display: block;
  margin-top: 5px;
  color: #717171;
  font-size: 11px;
}

.message-creator {
  align-self: flex-start;
}

.message-creator p {
  color: #e8e8e8;
  background: #303030;
  border-bottom-left-radius: 5px;
}

.message-creator.is-style-soft p {
  color: #1d1d1d;
  background: #d7d7d7;
}

.message-creator.is-style-rose p {
  color: #351c21;
  background: #f0c8ce;
}

.message-creator.is-style-violet p {
  color: #28213f;
  background: #d7d1ed;
}

.message-creator.is-style-gold p {
  color: #352b12;
  background: #ead9a9;
}

.message-user {
  align-self: flex-end;
}

.message-user p {
  color: #171717;
  background: #ededed;
  border-bottom-right-radius: 5px;
}

.message-user time {
  text-align: right;
}

.message-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  background: #161616;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.message-composer textarea {
  width: 100%;
  min-height: 46px;
  max-height: 130px;
  padding: 12px 14px;
  resize: vertical;
  color: #f0f0f0;
  background: #252525;
  border: 1px solid #505050;
  border-radius: 14px;
}

.message-composer textarea:focus {
  border-color: #a7a7a7;
  outline: 3px solid rgba(220, 220, 220, 0.16);
}

.message-composer button {
  min-height: 46px;
  padding: 10px 18px;
  color: #171717;
  background: #ededed;
  border: 0;
  border-radius: 13px;
  font-weight: 700;
  cursor: pointer;
}

.message-composer button:hover {
  background: #ffffff;
}

.checkout-shell {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 52px auto 80px;
  overflow: hidden;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

.order-summary,
.payment-form {
  padding: 40px;
}

.order-summary {
  background: linear-gradient(145deg, #383838, #202020 62%, #151515);
}

.back-link {
  display: inline-block;
  margin-bottom: 56px;
  color: #a7a7a7;
  font-size: 13px;
  text-decoration: none;
}

.back-link:hover {
  color: #ffffff;
}

.checkout-label,
.payment-heading p {
  margin: 0 0 9px;
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.order-summary h1 {
  grid-row: auto;
  margin: 0 0 32px;
  color: #f2f2f2;
  font-size: 32px;
  line-height: 1.12;
  text-align: left;
}

.checkout-product {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.checkout-product img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  filter: grayscale(1) blur(3px);
  border-radius: 10px;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.checkout-product h2 {
  margin: 0 0 5px;
  color: #eeeeee;
  font-size: 15px;
}

.checkout-product p {
  margin: 0;
  color: #858585;
  font-size: 12px;
}

.checkout-product strong {
  color: #eeeeee;
  font-size: 14px;
}

.order-total {
  margin: 26px 0 0;
}

.order-total div {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.order-total dt,
.order-total dd {
  margin: 0;
}

.order-total dt {
  color: #939393;
}

.order-total dd {
  color: #eeeeee;
  font-weight: 700;
}

.order-total div:last-child {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 18px;
}

.payment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 18px;
}

.checkout-payment-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.checkout-payment-details[hidden] {
  display: none;
}

.payment-heading,
.payment-form .full-width,
.pay-button,
.payment-note,
.payment-form .form-status {
  grid-column: 1 / -1;
}

.payment-heading {
  margin-bottom: 10px;
}

.payment-heading h2 {
  margin: 0;
  color: #f0f0f0;
  font-size: 24px;
}

.crypto-checkout-box {
  grid-column: 1 / -1;
  padding: 18px;
  color: #d9d9d9;
  background: linear-gradient(140deg, #2f2f2f, #191919 68%, #111111);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
}

.crypto-help-button {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0;
  color: #a9a9a9;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.crypto-help-button:hover,
.crypto-help-button:focus-visible {
  color: #ffffff;
}

.crypto-help-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  color: #e9e9e9;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

.crypto-help-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.crypto-help-dialog-shell {
  padding: 24px;
}

.crypto-help-dialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.crypto-help-dialog header p {
  margin: 0 0 6px;
  color: #8e8e8e;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.crypto-help-dialog h2 {
  margin: 0;
  color: #f2f2f2;
  font-size: 21px;
}

.crypto-help-dialog header button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: #d6d6d6;
  background: #292929;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.crypto-help-dialog header button:hover {
  color: #171717;
  background: #f1f1f1;
}

.crypto-help-dialog ol {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
  padding-left: 20px;
  color: #c7c7c7;
  font-size: 14px;
  line-height: 1.5;
}

.crypto-help-dialog-shell > p {
  margin: 0;
  color: #8d8d8d;
  font-size: 12px;
}

.crypto-checkout-box strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 15px;
}

.crypto-checkout-box p {
  margin: 0;
  color: #a7a7a7;
  font-size: 13px;
  line-height: 1.5;
}

.crypto-checkout-box dl {
  margin: 18px 0 0;
}

.crypto-checkout-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-checkout-box dt,
.crypto-checkout-box dd {
  margin: 0;
  font-size: 12px;
}

.crypto-checkout-box dt {
  color: #8f8f8f;
}

.crypto-checkout-box dd {
  color: #f2f2f2;
  font-weight: 700;
  text-align: right;
}

.pay-button {
  min-height: 48px;
  margin-top: 4px;
  color: #171717;
  background: #ededed;
  border: 0;
  border-radius: 13px;
  font-weight: 700;
  cursor: pointer;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pay-button:hover {
  background: #ffffff;
}

.payment-note {
  margin: -4px 0 0;
  color: #777777;
  font-size: 11px;
  line-height: 1.45;
}

.site-flashes {
  position: fixed;
  top: 112px;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 32px), 560px);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-flash {
  margin: 0;
  padding: 12px 16px;
  color: #e8e8e8;
  background: rgba(24, 24, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  text-align: center;
}

.site-flash.error {
  color: #f0c4c4;
  border-color: rgba(224, 151, 151, 0.42);
}

.site-footer {
  width: min(calc(100% - 96px), 1080px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 20px 0 28px;
  color: #686868;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  color: #858585;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.legal-content {
  width: min(100%, 860px);
  margin: 72px auto 88px;
}

.contact-content {
  max-width: 900px;
}

.contact-form {
  max-width: 720px;
  margin-top: 24px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form small {
  display: block;
  margin-top: 8px;
  color: #858585;
  font-size: 12px;
  line-height: 1.45;
}

.legal-heading {
  margin-bottom: 46px;
}

.legal-heading p {
  margin: 0 0 9px;
  color: #858585;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-heading h1 {
  grid-row: auto;
  margin: 0;
  color: #f0f0f0;
  font-size: 38px;
  text-align: left;
}

.legal-section {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: 110px;
}

.legal-section:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-section h2 {
  margin: 0 0 18px;
  color: #e9e9e9;
  font-size: 20px;
}

.legal-section p {
  max-width: 720px;
  margin: 0 0 14px;
  color: #969696;
  font-size: 14px;
  line-height: 1.65;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section h3 {
  margin: 24px 0 8px;
  color: #dedede;
  font-size: 16px;
}

.legal-directory {
  display: grid;
  gap: 14px;
  margin: 0;
}

.legal-directory div {
  display: grid;
  grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1.5fr);
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-directory dt {
  color: #d8d8d8;
  font-weight: 700;
}

.legal-directory dd {
  margin: 0;
  color: #9b9b9b;
}

.legal-directory a {
  color: #ededed;
}

.feed-page {
  width: min(100%, 1180px);
  margin: 48px auto 88px;
}

.feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.feed-heading p {
  margin: 0 0 8px;
  color: #858585;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.feed-heading h1 {
  margin: 0;
  color: #f0f0f0;
  font-size: 38px;
}

.feed-heading > span {
  color: #858585;
  font-size: 13px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feed-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.feed-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #151515;
}

.feed-media img,
.feed-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feed-card-copy {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
}

.feed-card-copy p {
  margin: 0;
  color: #dedede;
  line-height: 1.5;
  white-space: pre-wrap;
}

.feed-card-copy time {
  color: #858585;
  font-size: 12px;
}

.feed-access-label {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #bdbdbd;
  font-size: 11px;
  font-weight: 700;
}

.feed-empty {
  padding: 64px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  text-align: center;
}

.feed-empty h2,
.feed-empty p {
  margin: 0;
}

.feed-empty h2 { color: #ededed; }
.feed-empty p { margin-top: 8px; color: #858585; }

.admin-feed-list {
  display: grid;
  gap: 12px;
}

.admin-feed-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.admin-feed-item-preview {
  width: 72px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #151515;
}

.admin-feed-item-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.admin-feed-item-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-feed-item-copy strong {
  overflow: hidden;
  color: #ededed;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-feed-item-copy span {
  color: #858585;
  font-size: 12px;
}

.guide-content {
  width: min(100%, 980px);
}

.guide-intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: #969696;
  font-size: 15px;
  line-height: 1.65;
}

.guide-heading-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.guide-heading-actions .settings-button {
  width: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
}

.guide-support-link,
.guide-inline-link {
  color: #bdbdbd;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-support-link:hover,
.guide-support-link:focus-visible,
.guide-inline-link:hover,
.guide-inline-link:focus-visible {
  color: #ffffff;
}

.guide-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.guide-index a {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 12px;
  color: #a7a7a7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.guide-index a:hover,
.guide-index a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
}

.guide-index a span,
.guide-section-title > span {
  color: #666666;
  font-size: 10px;
  font-weight: 800;
}

.guide-section {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 84px);
  scroll-margin-top: 130px;
}

.guide-section-title h2 {
  margin-top: 8px;
}

.guide-section-copy {
  min-width: 0;
  max-width: 720px;
}

.guide-section h3 {
  margin: 25px 0 12px;
  color: #d7d7d7;
  font-size: 14px;
}

.guide-section h3:first-child {
  margin-top: 0;
}

.guide-section-copy > p,
.guide-section-copy li,
.guide-directory dd,
.guide-plan-list p {
  color: #969696;
  font-size: 14px;
  line-height: 1.65;
}

.guide-section-copy > p {
  max-width: none;
}

.guide-section-copy a:not(.guide-inline-link) {
  color: #d1d1d1;
  text-underline-offset: 3px;
}

.guide-section-copy ul,
.guide-steps {
  display: grid;
  gap: 9px;
  margin: 14px 0 20px;
  padding-left: 20px;
}

.guide-section-copy li::marker {
  color: #707070;
  font-weight: 800;
}

.guide-note {
  margin-top: 22px !important;
  padding: 14px 0 14px 16px;
  color: #b1b1b1 !important;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.guide-directory,
.guide-plan-list {
  margin: 12px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-directory > div,
.guide-plan-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-directory dt,
.guide-plan-list strong {
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 700;
}

.guide-directory dd,
.guide-plan-list p {
  margin: 0;
}

.guide-plan-list > div {
  grid-template-columns: 110px 100px minmax(0, 1fr);
}

.guide-plan-list span {
  color: #adadad;
  font-size: 12px;
  font-weight: 700;
}

.guide-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.guide-contact span {
  color: #737373;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-contact a {
  color: #eeeeee;
  font-size: 14px;
  font-weight: 700;
}

.perks-content {
  width: min(100%, 1080px);
  margin: 72px auto 88px;
}

.perks-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.perks-heading p {
  margin: 0 0 9px;
  color: #858585;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.perks-heading h1 {
  grid-row: auto;
  margin: 0;
  color: #f1f1f1;
  font-size: 38px;
  text-align: left;
}

.membership-status {
  padding: 8px 12px;
  color: #ededed;
  background: #303030;
  border: 1px solid #525252;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.perks-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.perk-panel {
  position: relative;
  scroll-margin-top: 110px;
  min-width: 0;
  margin-top: 16px;
  padding: 34px 26px 26px;
  overflow: visible;
  color: #e9e9e9;
  background: linear-gradient(145deg, #353535 0%, #202020 58%, #151515 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.perk-panel:hover,
.perk-panel:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.12),
    0 0 24px rgba(255, 255, 255, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.3);
}

.floating-panel-title {
  position: absolute;
  top: -17px;
  left: 20px;
  z-index: 4;
  max-width: calc(100% - 40px);
  margin: 0;
  padding: 10px 15px;
  overflow: hidden;
  color: #f3f3f3;
  background: linear-gradient(135deg, #3f3f3f, #191919 72%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messages-perk .floating-panel-title {
  transform: rotate(-1deg);
}

.subscription-perk .floating-panel-title {
  transform: rotate(0.7deg);
}

.calendar-perk .floating-panel-title {
  transform: rotate(-0.5deg);
}

.request-perk .floating-panel-title {
  transform: rotate(0.5deg);
}

.archive-perk .floating-panel-title {
  transform: rotate(-1.2deg);
}

.events-perk .floating-panel-title {
  transform: rotate(0.8deg);
}

.messages-perk {
  grid-column: 1 / 6;
  grid-row: 1;
  min-height: 250px;
  background: linear-gradient(320deg, #161616, #292929 68%, #3c3c3c);
}

.subscription-perk {
  grid-column: 1 / 6;
  grid-row: 2;
  min-height: 230px;
  background: linear-gradient(155deg, #393939, #222222 55%, #141414);
}

.calendar-perk {
  grid-column: 6 / -1;
  grid-row: 1 / span 2;
  background: linear-gradient(215deg, #3b3b3b, #202020 52%, #121212);
}

.request-perk {
  grid-column: 1 / 9;
  grid-row: 3;
  background: linear-gradient(125deg, #3a3a3a, #232323 48%, #141414);
}

.archive-perk {
  grid-column: 9 / -1;
  grid-row: 3;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(335deg, #101010, #272727 58%, #414141);
}

.events-perk {
  grid-column: 1 / 9;
  grid-row: 4;
  background: linear-gradient(150deg, #3b3b3b, #222222 52%, #131313);
}

.perk-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.perk-panel-heading p {
  margin: 0 0 7px;
  color: #8f8f8f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-count,
.request-availability {
  padding: 6px 9px;
  color: #e7e7e7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}

.subscriber-notes {
  display: grid;
  gap: 10px;
}

.subscriber-notes article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subscriber-notes time {
  color: #737373;
  font-size: 11px;
}

.subscriber-notes p {
  margin: 0;
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.45;
}

.plan-price {
  color: #f0f0f0;
  font-size: 17px;
}

.plan-copy {
  max-width: 360px;
  margin: 0 0 24px;
  color: #929292;
  font-size: 13px;
  line-height: 1.5;
}

.credit-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 14px;
  margin: -8px 0 20px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
}

.credit-summary span {
  color: #a9a9a9;
  font-size: 12px;
}

.credit-summary strong {
  color: #f1f1f1;
  font-size: 12px;
}

.credit-summary small {
  grid-column: 1 / -1;
  color: #737373;
  font-size: 10px;
  line-height: 1.4;
}

.plan-actions,
.request-submit-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-button {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.panel-button.light {
  color: #171717;
  background: #ededed;
  border: 1px solid #ededed;
}

.panel-button.light:hover {
  background: #ffffff;
}

.panel-button.quiet {
  color: #b7b7b7;
  background: transparent;
  border: 1px solid #555555;
}

.panel-button.quiet:hover {
  color: #ffffff;
  border-color: #858585;
}

.panel-status {
  min-height: 18px;
  margin: 14px 0 0;
  color: #a0a0a0;
  font-size: 11px;
}

.panel-status.error {
  color: #d9a0a0;
}

.panel-button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.calendar-heading {
  align-items: center;
}

.calendar-controls {
  display: grid;
  grid-template-columns: 32px minmax(108px, auto) 32px;
  align-items: center;
  gap: 6px;
}

.calendar-controls button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: #d3d3d3;
  background: #292929;
  border: 1px solid #4d4d4d;
  border-radius: 9px;
  cursor: pointer;
}

.calendar-controls button:hover {
  background: #3a3a3a;
}

.calendar-controls button:disabled {
  color: #555555;
  background: #202020;
  border-color: #343434;
  cursor: not-allowed;
}

#calendar-month {
  color: #c7c7c7;
  font-size: 12px;
  text-align: center;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: #707070;
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}

.calendar-days button,
.calendar-spacer {
  aspect-ratio: 1;
}

.calendar-days button {
  min-width: 0;
  padding: 0;
  color: #bdbdbd;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 11px;
  cursor: pointer;
}

.calendar-days button:hover:not(:disabled) {
  color: #ffffff;
  border-color: #737373;
}

.calendar-days button.selected {
  color: #171717;
  background: #ededed;
  border-color: #ffffff;
  font-weight: 700;
}

.calendar-days button:disabled {
  color: #4d4d4d;
  cursor: not-allowed;
}

.calendar-time-view {
  min-height: 360px;
  animation: time-view-reveal 240ms ease-out;
}

@keyframes time-view-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

.time-view-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.time-view-heading > button {
  min-height: 36px;
  padding: 8px 11px;
  color: #bcbcbc;
  background: #292929;
  border: 1px solid #4d4d4d;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
}

.time-view-heading > button:hover {
  color: #ffffff;
  background: #373737;
}

.time-view-heading div {
  text-align: right;
}

.time-view-heading p {
  margin: 0 0 6px;
  color: #7f7f7f;
  font-size: 10px;
  text-transform: uppercase;
}

.time-view-heading h3 {
  margin: 0;
  color: #ededed;
  font-size: 16px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.time-slots button {
  min-height: 54px;
  padding: 10px;
  color: #c8c8c8;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid #505050;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
}

.time-slots button:hover {
  color: #ffffff;
  background: #343434;
  border-color: #858585;
}

.time-slots button.selected {
  color: #171717;
  background: #ededed;
  border-color: #ffffff;
  font-weight: 700;
}

.time-view-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.time-view-actions button:disabled {
  color: #777777;
  background: #343434;
  border-color: #454545;
  cursor: not-allowed;
}

.request-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.request-tags button {
  padding: 8px 11px;
  color: #9d9d9d;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid #505050;
  border-radius: 11px;
  font-size: 12px;
  cursor: pointer;
}

.request-tags button:hover {
  color: #ffffff;
  border-color: #777777;
}

.request-tags button[aria-pressed="true"] {
  color: #171717;
  background: #ededed;
  border-color: #ededed;
}

.request-form {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.request-form label {
  color: #bdbdbd;
  font-size: 12px;
}

.request-form textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
  color: #ededed;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid #505050;
  border-radius: 13px;
}

.request-form textarea:focus {
  border-color: #9c9c9c;
  outline: 3px solid rgba(255, 255, 255, 0.12);
}

.request-payment {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.request-payment legend {
  margin-bottom: 9px;
  color: #bdbdbd;
  font-size: 12px;
}

.request-payment label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid #505050;
  border-radius: 12px;
  cursor: pointer;
}

.request-payment label:has(input:checked) {
  background: rgba(255, 255, 255, 0.09);
  border-color: #a3a3a3;
}

.request-payment input {
  width: 16px;
  height: 16px;
  min-height: 0;
  flex: 0 0 16px;
  margin: 0;
  padding: 0;
  accent-color: #f1f1f1;
}

.request-payment span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.request-payment strong {
  color: #e8e8e8;
  font-size: 12px;
}

.request-payment small {
  color: #858585;
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.request-submit-row {
  justify-content: space-between;
  margin-top: 6px;
}

.request-submit-row .panel-status {
  margin: 0;
  text-align: right;
}

.request-queue {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.request-queue > header,
.queue-item-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.request-queue h3 {
  margin: 0;
  color: #e9e9e9;
  font-size: 14px;
}

.request-queue > header span,
.queue-item-heading span {
  color: #929292;
  font-size: 11px;
}

.request-queue-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.queue-empty {
  margin: 0;
  padding: 14px;
  color: #777777;
  background: rgba(0, 0, 0, 0.14);
  border-radius: 11px;
  font-size: 11px;
}

.queue-item {
  padding: 13px 14px;
  background: rgba(0, 0, 0, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.queue-item.is-closed {
  border-color: rgba(224, 151, 151, 0.28);
}

.queue-item-heading strong {
  color: #d9d9d9;
  font-size: 12px;
}

.queue-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 11px;
}

.queue-progress span {
  padding-top: 7px;
  color: #5f5f5f;
  border-top: 2px solid #444444;
  font-size: 9px;
}

.queue-progress span.active {
  color: #d6d6d6;
  border-color: #e1e1e1;
}

.queue-item-state {
  margin: 11px 0 0;
  color: #e3aaaa;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.event-list {
  display: grid;
  gap: 10px;
}

.event-list article {
  display: grid;
  grid-template-columns: 94px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-list time {
  color: #8b8b8b;
  font-size: 11px;
}

.event-list h3 {
  margin: 0 0 4px;
  color: #e8e8e8;
  font-size: 13px;
}

.event-list p {
  margin: 0;
  color: #858585;
  font-size: 11px;
  line-height: 1.4;
}

.event-rsvp {
  min-width: 92px;
  padding: 8px 10px;
  color: #c5c5c5;
  background: transparent;
  border: 1px solid #5b5b5b;
  border-radius: 10px;
  font-size: 11px;
  cursor: pointer;
}

.event-actions {
  display: grid;
  justify-items: stretch;
  gap: 7px;
}

.event-join {
  min-width: 92px;
  padding: 8px 10px;
  color: #171717;
  background: #ededed;
  border: 1px solid #ffffff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.event-join:hover,
.event-join:focus-visible {
  color: #000000;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.event-rsvp:hover,
.event-rsvp[aria-pressed="true"] {
  color: #171717;
  background: #ededed;
  border-color: #ffffff;
}

.archive-kicker {
  margin: 0;
  color: #858585;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.received-video-stack {
  position: relative;
  height: 232px;
  margin: 10px 0 16px;
}

.archive-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  color: #777777;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  font-size: 12px;
  text-align: center;
}

.received-video {
  position: absolute;
  width: 72%;
  height: 190px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transform-origin: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.received-video:nth-child(1) {
  top: 24px;
  left: 0;
  z-index: 1;
  transform: rotate(-10deg);
}

.received-video:nth-child(2) {
  top: 5px;
  left: 14%;
  z-index: 2;
  transform: rotate(3deg);
}

.received-video:nth-child(3) {
  top: 25px;
  right: 0;
  z-index: 3;
  transform: rotate(11deg);
}

.received-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(238, 238, 238, 0.58);
  background: linear-gradient(145deg, #2d2d2d, #111111 54%, #202020);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.received-video::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.9));
}

.received-video > .received-video-title {
  position: absolute;
  right: 14px;
  bottom: 13px;
  left: 14px;
  z-index: 1;
  color: #f1f1f1;
  font-size: 11px;
  font-weight: 700;
}

.received-video:hover,
.received-video:focus-visible {
  z-index: 5;
  transform: rotate(0deg) translateY(-7px) scale(1.03);
}

.received-video:hover .received-video-placeholder,
.received-video:focus-visible .received-video-placeholder {
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(145deg, #3a3a3a, #151515 54%, #2a2a2a);
}

.received-video.is-preparing,
.received-video.is-preparing:hover,
.received-video.is-preparing:focus-visible {
  cursor: wait;
  filter: saturate(0.35);
  transform: none;
}

.received-video.is-preparing small {
  max-width: 138px;
  text-align: center;
}

.protected-media-dialog {
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  color: #f1f1f1;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
}

.protected-media-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}

.protected-media-dialog-shell {
  padding: 18px;
}

.protected-media-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.protected-media-heading p {
  margin: 0 0 4px;
  color: #8c8c8c;
  font-size: 11px;
  text-transform: uppercase;
}

.protected-media-heading h2 {
  margin: 0;
  font-size: 18px;
}

.protected-media-close {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  padding: 0;
  color: #efefef;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 9px;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.protected-media-close:hover,
.protected-media-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.protected-media-stage {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.protected-media-content {
  width: 100%;
  max-height: min(68vh, 670px);
  display: grid;
  place-items: center;
}

.protected-media-element {
  width: 100%;
  max-height: min(68vh, 670px);
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.protected-media-watermark {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.protected-media-watermark span {
  position: absolute;
  top: 12%;
  left: 8%;
  color: rgba(255, 255, 255, 0.15);
  font-size: clamp(8px, 1vw, 11px);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  transform: rotate(-16deg);
  animation: protected-watermark-drift 64s ease-in-out infinite;
}

@keyframes protected-watermark-drift {
  0%, 100% { top: 12%; left: 8%; }
  25% { top: 14%; left: 62%; }
  50% { top: 78%; left: 62%; }
  75% { top: 76%; left: 8%; }
}

@media (prefers-reduced-motion: reduce) {
  .protected-media-watermark span {
    top: auto;
    right: 8%;
    bottom: 10%;
    left: auto;
    animation: none;
  }
}

.protected-media-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: #000000;
  opacity: 0;
  transition: opacity 100ms ease;
}

.capture-shield-active .protected-media-shield {
  opacity: 1;
}

.protected-media-notice,
.protected-media-alert {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.protected-media-notice {
  color: #a4a4a4;
}

.protected-media-alert {
  color: #ffffff;
}

.archive-link {
  width: fit-content;
  color: #ededed;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.archive-link:hover,
.archive-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .floating-toolbar,
  .service-tab,
  .product-card,
  .product-card img {
    transition: none;
  }

  .promo-banner .purchase-link,
  .promo-banner .purchase-link::before,
  .promo-banner .purchase-link::after,
  .calendar-time-view {
    animation: none !important;
  }
}

@media (max-width: 700px) {
  .auth-page {
    padding: 16px;
  }

  .auth-panel {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 24px 20px;
    border-radius: 22px;
  }

  h1 {
    grid-row: auto;
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
  }

  .auth-logo {
    width: min(100%, 230px);
    margin-inline: auto;
  }

  .auth-form {
    grid-template-columns: 1fr;
  }

  .submit-button {
    grid-column: auto;
  }

  .floating-toolbar {
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    padding: 10px 12px;
  }

  .store-page {
    padding: 16px;
  }

  .toolbar-nav {
    width: 100%;
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    justify-content: space-between;
    gap: 2px;
  }

  .toolbar-nav a {
    flex: 1 1 0;
    padding: 8px 6px;
    font-size: 12px;
    text-align: center;
  }

  .logout-button {
    grid-column: 2;
    grid-row: 1;
    padding-inline: 6px;
    font-size: 12px;
  }

  .store-content {
    margin-top: 16px;
  }

  .promo-banner {
    min-height: 180px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 24px;
  }

  .promo-banner h2 {
    font-size: 25px;
  }

  .service-tabs {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 0 40px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .account-content {
    margin-top: 48px;
  }

  .account-heading {
    margin-bottom: 32px;
  }

  .account-heading h1 {
    font-size: 30px;
  }

  .settings-section,
  .settings-form {
    grid-template-columns: 1fr;
  }

  .settings-section {
    gap: 24px;
  }

  .settings-form .full-width,
  .settings-button,
  .form-status {
    grid-column: auto;
  }

  .chat-shell {
    height: calc(100vh - 112px);
    min-height: 440px;
    margin-top: 16px;
    border-radius: 18px;
  }

  .message-list {
    padding: 18px 14px;
  }

  .message {
    max-width: 86%;
  }

  .message-composer {
    padding: 10px;
  }

  .message-composer button {
    padding-inline: 14px;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .order-summary,
  .payment-form {
    padding: 28px 22px;
  }

  .back-link {
    margin-bottom: 36px;
  }

  .payment-form {
    grid-template-columns: 1fr;
  }

  .payment-heading,
  .payment-form .full-width,
  .pay-button,
  .payment-note,
  .payment-form .form-status {
    grid-column: auto;
  }

  .legal-directory div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feed-page {
    margin-top: 28px;
  }

  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .feed-card-copy {
    padding: 12px;
  }

  .admin-feed-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .admin-feed-item-preview {
    width: 56px;
  }

  .admin-feed-item .admin-inline-form {
    grid-column: 2;
  }

.site-footer {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .legal-content {
    margin: 48px auto 64px;
  }

  .legal-heading h1 {
    font-size: 30px;
  }

  .guide-heading-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-index {
    grid-template-columns: 1fr;
  }

  .guide-section {
    grid-template-columns: 1fr;
    gap: 18px;
    scroll-margin-top: 150px;
  }

  .guide-section-title h2 {
    margin-bottom: 0;
  }

  .guide-directory > div,
  .guide-plan-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .guide-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .perks-content {
    margin: 48px auto 64px;
  }

  .perks-heading h1 {
    font-size: 30px;
  }

  .perks-heading {
    align-items: center;
  }

  .perks-mosaic {
    grid-template-columns: 1fr;
  }

  .messages-perk,
  .subscription-perk,
  .calendar-perk,
  .request-perk,
  .archive-perk,
  .events-perk {
    grid-column: 1;
    grid-row: auto;
  }

  .perk-panel {
    padding: 34px 18px 22px;
  }

  .calendar-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-controls {
    width: 100%;
    grid-template-columns: 32px 1fr 32px;
  }

  .time-view-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .time-view-heading div {
    text-align: left;
  }

  .time-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-submit-row .panel-status {
    text-align: left;
  }

  .request-payment {
    grid-template-columns: 1fr;
  }

  .event-list article {
    grid-template-columns: 1fr auto;
  }

  .event-list time {
    grid-column: 1 / -1;
  }

  .archive-perk {
    min-height: 360px;
  }
}

@media (min-width: 701px) and (max-width: 920px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .perks-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .messages-perk,
  .subscription-perk {
    grid-column: auto;
    grid-row: 1;
  }

  .calendar-perk,
  .request-perk,
  .events-perk {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .archive-perk {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }
}

/* Membership and private media */
.membership-dialog {
  width: min(1080px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  color: #eeeeee;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.membership-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.membership-dialog-shell {
  padding: 28px;
}

.membership-dialog-heading,
.membership-plan-name {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.membership-dialog-heading p,
.membership-plan-card > p {
  margin: 0 0 7px;
  color: #929292;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.membership-dialog-heading h2 {
  margin: 0;
  font-size: 28px;
}

.membership-dialog-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #d8d8d8;
  background: #292929;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}

.membership-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.membership-plan-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: linear-gradient(145deg, #303030, #171717 72%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
}

.membership-plan-card.current {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.membership-plan-name h3 {
  margin: 0;
  font-size: 18px;
}

.membership-plan-name strong {
  white-space: nowrap;
  font-size: 17px;
}

.membership-plan-name small {
  color: #8d8d8d;
  font-size: 10px;
}

.membership-plan-card ul {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 18px 0 22px;
  padding: 0;
  color: #c8c8c8;
  font-size: 13px;
  line-height: 1.45;
  list-style: none;
}

.membership-plan-card li::before {
  content: "\2713";
  margin-right: 8px;
  color: #ffffff;
}

.membership-plan-card > a,
.membership-plan-card > button {
  min-height: 44px;
  display: grid;
  place-items: center;
  margin-top: auto;
  padding: 10px 14px;
  color: #171717;
  background: #eeeeee;
  border: 1px solid #ffffff;
  border-radius: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.membership-plan-card > button:disabled {
  color: #8b8b8b;
  background: #222222;
  border-color: #444444;
  cursor: default;
}

.membership-dialog-note {
  margin: 20px 0 0;
  color: #7f7f7f;
  font-size: 12px;
  text-align: center;
}

.membership-account-summary {
  align-content: start;
}

.membership-account-plan,
.membership-account-credit {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 16px;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.membership-account-plan span,
.membership-account-credit span,
.membership-account-summary small {
  color: #858585;
  font-size: 11px;
}

.membership-account-plan strong,
.membership-account-credit strong {
  color: #eeeeee;
  font-size: 17px;
}

.perks-mosaic-guest .subscription-perk {
  grid-row: 1;
}

.perks-mosaic-guest .calendar-perk {
  grid-row: 1 / span 2;
}

.message-media {
  width: min(100%, 420px);
  max-height: 420px;
  display: block;
  margin-top: 6px;
  overflow: hidden;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}

.message-media.protected-media-trigger {
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.message-media-label {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #cfcfcf;
  background: linear-gradient(145deg, #2a2a2a, #101010);
  font-size: 12px;
  text-transform: capitalize;
}

.message-media img,
video.message-media {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: contain;
}

.message-media.expired {
  padding: 18px;
  color: #8d8d8d;
  border-style: dashed;
  font-size: 12px;
  text-align: center;
}

.received-video-stack {
  height: 232px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 82%);
  gap: 12px;
  padding: 14px 7px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
}

.received-video,
.received-video:nth-child(1),
.received-video:nth-child(2),
.received-video:nth-child(3) {
  position: relative;
  inset: auto;
  width: 100%;
  height: 190px;
  display: block;
  scroll-snap-align: start;
  text-decoration: none;
  transform: none;
}

.received-video:hover,
.received-video:focus-visible {
  transform: translateY(-4px);
}

.received-video small {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 7px;
  color: #d8d8d8;
  background: rgba(10, 10, 10, 0.72);
  border-radius: 7px;
  font-size: 9px;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .membership-dialog-shell {
    padding: 20px;
  }

  .membership-dialog-heading h2 {
    font-size: 23px;
  }

  .membership-plan-grid {
    grid-template-columns: 1fr;
  }

  .membership-plan-card ul {
    min-height: 0;
  }

  .membership-account-plan,
  .membership-account-credit {
    grid-column: 1 / -1;
  }
}

/* Protected livestream */
.subscriber-live-banner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 34px;
  padding: 17px 20px;
  color: #f4f4f4;
  background: linear-gradient(130deg, #323232, #151515 72%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.subscriber-live-banner:hover,
.subscriber-live-banner:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.12), 0 18px 42px rgba(0, 0, 0, 0.36);
  transform: translateY(-2px);
}

.subscriber-live-banner span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.subscriber-live-banner small {
  color: #a9a9a9;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.subscriber-live-banner strong {
  font-size: 17px;
}

.subscriber-live-banner b {
  padding: 10px 13px;
  color: #111111;
  background: #f2f2f2;
  border-radius: 10px;
  font-size: 12px;
}

.subscriber-live-dot {
  width: 11px;
  height: 11px;
  background: #f05a67;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(240, 90, 103, 0.12), 0 0 18px rgba(240, 90, 103, 0.5);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  50% { opacity: 0.55; transform: scale(0.84); }
}

.live-page {
  width: min(1500px, 100%);
  min-height: calc(100vh - 210px);
  margin: 18px auto 72px;
}

.live-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 14px;
}

.live-back-link {
  color: #a5a5a5;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.live-back-link:hover,
.live-back-link:focus-visible {
  color: #ffffff;
}

.live-stream-state,
.live-player-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bdbdbd;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-stream-state > span,
.live-player-badge > span {
  width: 8px;
  height: 8px;
  background: #727272;
  border-radius: 50%;
}

.live-stream-state.is-live,
.live-player-badge.is-live {
  color: #ffffff;
}

.live-stream-state.is-live > span,
.live-player-badge.is-live > span {
  background: #f05a67;
  box-shadow: 0 0 0 4px rgba(240, 90, 103, 0.13), 0 0 14px rgba(240, 90, 103, 0.5);
  animation: live-pulse 2s ease-in-out infinite;
}

.live-stream-state.is-reconnecting > span,
.live-player-badge.is-reconnecting > span {
  background: #e3b66b;
  box-shadow: 0 0 12px rgba(227, 182, 107, 0.42);
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
  align-items: start;
  gap: 16px;
}

.live-stage-column {
  min-width: 0;
}

.live-player {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.live-player iframe,
.live-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-player video {
  z-index: 1;
  background: #000000;
  object-fit: contain;
}

.live-unmute {
  position: absolute;
  right: 14px;
  bottom: 58px;
  z-index: 6;
  min-height: 36px;
  padding: 8px 12px;
  color: #151515;
  background: #eeeeee;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.live-unmute[hidden] {
  display: none;
}

.live-player-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 7px 10px;
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.live-watermark {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  mix-blend-mode: difference;
  opacity: 0.62;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
}

.live-layout:not([data-status="live"]) .live-watermark {
  opacity: 0;
}

.live-watermark span {
  position: absolute;
  padding: 3px 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}

.live-watermark-top-left { top: 14px; left: 16px; }
.live-watermark-top-right { top: 14px; right: 16px; }
.live-watermark-bottom-left { bottom: 14px; left: 16px; }
.live-watermark-bottom-right { right: 16px; bottom: 14px; }

.live-waiting {
  max-width: 420px;
  padding: 32px;
  color: #eeeeee;
  text-align: center;
}

.live-waiting-mark {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0 auto 20px;
  border: 2px solid #5d5d5d;
  border-top-color: #eeeeee;
  border-radius: 50%;
  animation: live-waiting-spin 900ms linear infinite;
}

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

.live-waiting strong {
  font-size: 24px;
}

.live-waiting p {
  margin: 10px 0 0;
  color: #898989;
  line-height: 1.6;
}

.live-waiting a {
  display: inline-block;
  margin-top: 18px;
  color: #e7e7e7;
  font-size: 12px;
  font-weight: 700;
}

.live-channel-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 18px 4px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.live-channel-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  overflow: hidden;
  background: #252525;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

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

.live-channel-copy {
  min-width: 0;
}

.live-channel-copy p,
.live-channel-copy h1,
.live-channel-copy > span {
  margin: 0;
}

.live-channel-copy p {
  color: #f1f1f1;
  font-size: 12px;
  font-weight: 800;
}

.live-channel-copy p span {
  margin-left: 6px;
  color: #777777;
  font-size: 10px;
  font-weight: 700;
}

.live-channel-copy h1 {
  margin-top: 5px;
  color: #f5f5f5;
  font-size: 23px;
  line-height: 1.18;
}

.live-channel-copy > span {
  display: block;
  margin-top: 7px;
  color: #929292;
  font-size: 12px;
  line-height: 1.5;
}

.live-access {
  align-self: center;
  padding: 7px 10px;
  color: #d7d7d7;
  background: #252525;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.live-player-health {
  min-height: 18px;
  margin: 10px 4px 0;
  color: #777777;
  font-size: 10px;
}

.live-player-health.is-connected {
  color: #999999;
}

.live-player-health.is-error {
  color: #d2a15c;
}

.live-chat {
  height: min(760px, calc(100vh - 148px));
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  overflow: hidden;
  background: rgba(14, 14, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

.live-chat > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.live-chat > header p,
.live-chat > header h2 {
  margin: 0;
}

.live-chat > header p {
  color: #777777;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-chat > header h2 {
  margin-top: 4px;
  font-size: 17px;
}

.live-chat > header > span {
  padding: 6px 8px;
  color: #bdbdbd;
  background: #252525;
  border-radius: 5px;
  font-size: 10px;
  text-align: center;
}

.live-chat-feed {
  position: relative;
  min-height: 0;
}

.live-chat-list {
  height: 100%;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 13px 12px 20px;
  scrollbar-color: #4a4a4a transparent;
  scrollbar-width: thin;
}

.live-chat-empty {
  align-self: center;
  margin: 34px 18px;
  color: #717171;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.live-chat-list article {
  padding: 9px 10px;
  background: transparent;
  border-left: 2px solid transparent;
  border-radius: 5px;
}

.live-chat-list article.is-creator {
  background: #282828;
  border-left-color: #f0f0f0;
}

.live-chat-list article.has-tip {
  background: rgba(75, 56, 27, 0.22);
  border-left-color: rgba(242, 198, 116, 0.62);
}

.live-chat-list article.is-top-tip {
  background: linear-gradient(120deg, rgba(115, 76, 27, 0.35), rgba(25, 25, 25, 0.2) 72%);
  border-left-color: #f2c674;
}

.live-tip-badge {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 7px;
  color: #1d160b;
  background: #f2c674;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-chat-list article > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.live-chat-list strong {
  color: #ededed;
  font-size: 11px;
}

.live-chat-list time {
  color: #666666;
  font-size: 9px;
}

.live-chat-list p {
  margin: 5px 0 0;
  color: #bdbdbd;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.live-chat-jump {
  position: absolute;
  right: 50%;
  bottom: 10px;
  z-index: 2;
  min-height: 32px;
  padding: 7px 11px;
  color: #171717;
  background: #eeeeee;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transform: translateX(50%);
}

.live-chat-form {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.live-chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.live-chat-form textarea {
  min-width: 0;
  min-height: 44px;
  max-height: 104px;
  padding: 12px;
  resize: none;
  color: #eeeeee;
  background: #151515;
  border: 1px solid #454545;
  border-radius: 7px;
  font: inherit;
  line-height: 1.4;
}

.live-chat-form textarea:focus,
.live-tip-field input:focus {
  border-color: #8d8d8d;
  outline: 2px solid rgba(255, 255, 255, 0.08);
  outline-offset: 1px;
}

.live-chat-form button {
  min-width: 62px;
  min-height: 44px;
  padding: 0 13px;
  color: #151515;
  background: #eeeeee;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, opacity 180ms ease;
}

.live-chat-form button:hover:not(:disabled) {
  background: #ffffff;
}

.live-chat-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.live-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-chat-actions > small {
  color: #777777;
  font-size: 9px;
}

.live-tip-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9a9a9a;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-tip-field input {
  width: 64px;
  min-height: 32px;
  padding: 6px 8px;
  color: #eeeeee;
  background: #151515;
  border: 1px solid #454545;
  border-radius: 6px;
  font: inherit;
}

.live-wallet-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0 12px 4px;
  color: #777777;
  font-size: 10px;
}

.live-wallet-line strong,
.live-wallet-line a {
  color: #d8d8d8;
}

.live-wallet-line a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.live-chat-status {
  min-height: 16px;
  margin: 0;
  padding: 0 12px 8px;
  color: #d98a91;
  font-size: 10px;
}

.message p a {
  color: inherit;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1100px) {
  .live-page {
    width: min(100%, 960px);
  }

  .live-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .live-chat {
    height: 560px;
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .subscriber-live-banner {
    grid-template-columns: auto 1fr;
  }

  .subscriber-live-banner b {
    grid-column: 1 / -1;
    text-align: center;
  }

  .live-page {
    width: 100%;
    margin-top: 8px;
  }

  .live-topbar {
    margin-bottom: 12px;
  }

  .live-player-badge {
    top: 9px;
    left: 9px;
    padding: 6px 8px;
  }

  .live-channel-panel {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    padding: 14px 2px;
  }

  .live-channel-avatar {
    width: 44px;
    height: 44px;
  }

  .live-channel-copy h1 {
    font-size: 20px;
  }

  .live-access {
    grid-column: 2;
    justify-self: start;
  }

  .live-player-health {
    line-height: 1.45;
  }

  .live-chat {
    height: 540px;
  }

  .live-chat > header {
    padding: 14px;
  }

  .live-chat-form,
  .live-chat-list {
    padding-right: 10px;
    padding-left: 10px;
  }

  .live-chat-actions {
    align-items: flex-end;
  }

  .live-tip-field {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-waiting-mark,
  .live-stream-state.is-live > span,
  .live-player-badge.is-live > span {
    animation: none;
  }
}

/* BTC tip wallet */
.wallet-page {
  width: min(100% - 48px, 920px);
  margin: 56px auto 90px;
}

.wallet-shell {
  display: grid;
  gap: 18px;
}

.wallet-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  color: #eeeeee;
  background: linear-gradient(135deg, #353535, #171717 72%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.wallet-summary > div {
  display: grid;
  gap: 6px;
}

.wallet-summary span,
.wallet-summary small {
  color: #949494;
  font-size: 11px;
}

.wallet-summary strong {
  font-size: 32px;
}

.wallet-summary small {
  max-width: 460px;
  line-height: 1.5;
}

.wallet-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 14px 16px;
  color: #d9d9d9;
  background: rgba(242, 198, 116, 0.09);
  border: 1px solid rgba(242, 198, 116, 0.28);
  border-radius: 12px;
  font-size: 12px;
}

.wallet-notice a {
  color: #f2c674;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wallet-deposit-form {
  align-items: end;
}

.wallet-deposit-form .field-help {
  grid-column: 1 / -1;
}

.wallet-history {
  display: grid;
  gap: 0;
}

.wallet-history article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-history article > div {
  display: grid;
  gap: 4px;
}

.wallet-history small {
  color: #757575;
  font-size: 10px;
}

.wallet-activity-amount {
  color: #b9e1c6;
  font-size: 13px;
  font-weight: 800;
}

.wallet-activity-amount.is-debit {
  color: #e6b0b3;
}

.wallet-status {
  padding: 5px 8px;
  color: #a9a9a9;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-status-paid {
  color: #b9e1c6;
  background: rgba(91, 164, 112, 0.14);
}

.wallet-status-failed,
.wallet-status-invalid,
.wallet-status-expired {
  color: #e6b0b3;
}

.wallet-account-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wallet-account-card > div {
  display: grid;
  gap: 5px;
}

.wallet-account-card span {
  color: #929292;
  font-size: 11px;
}

.wallet-account-card strong {
  color: #eeeeee;
  font-size: 22px;
}

@media (max-width: 620px) {
  .wallet-page {
    width: min(100% - 24px, 520px);
  }

  .wallet-summary,
  .wallet-account-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
