* {
  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-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;
  color: #f4f4f4;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.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);
}

.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;
}

.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(1) blur(12px);
  transform: scale(1.1);
  transition: filter 280ms ease, transform 250ms ease;
}

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

.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;
}

.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 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: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  color: #181818;
  background: #eeeeee;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}

.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 {
  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-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;
}

.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;
}

.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-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;
  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;
}

.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;
}

.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-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;
}

.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;
  overflow: hidden;
  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);
  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 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(0.65) brightness(0.58);
  transition: filter 220ms ease, transform 220ms ease;
}

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

.received-video span {
  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 img,
.received-video:focus-visible img {
  filter: grayscale(0) brightness(0.8);
  transform: scale(1.04);
}

.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-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;
  }

.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;
  }

  .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 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, calc(100% - 48px));
  min-height: calc(100vh - 210px);
}

.live-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0 26px;
}

.live-heading p,
.live-heading h1,
.live-heading span {
  margin: 0;
}

.live-heading p {
  color: #f0717d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-heading h1 {
  margin-top: 6px;
  font-size: 34px;
}

.live-heading div > span {
  display: block;
  margin-top: 8px;
  color: #949494;
  font-size: 13px;
}

.live-access {
  padding: 8px 11px;
  color: #d7d7d7;
  background: #252525;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  min-height: 650px;
  overflow: hidden;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.live-player {
  min-width: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.live-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

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

.live-waiting p {
  color: #898989;
  line-height: 1.6;
}

.live-chat {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.live-chat > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  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: 18px;
}

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

.live-chat-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  padding: 14px;
}

.live-chat-list article {
  padding: 10px 11px;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.live-chat-list article.is-creator {
  background: #2c2c2c;
  border-color: rgba(255, 255, 255, 0.2);
}

.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-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.live-chat-form button {
  min-width: 64px;
  color: #151515;
  background: #eeeeee;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.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: 900px) {
  .live-page {
    width: min(100% - 24px, 720px);
  }

  .live-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .live-chat {
    height: 520px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 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-heading {
    align-items: flex-start;
  }

  .live-heading h1 {
    font-size: 27px;
  }

  .live-player {
    aspect-ratio: 16 / 10;
  }
}
