:root {
  --rewards-bg: #05060b;
  --rewards-panel: rgba(15, 18, 28, 0.86);
  --rewards-panel-strong: #10141f;
  --rewards-line: rgba(255, 255, 255, 0.1);
  --rewards-text: #f8f7fb;
  --rewards-muted: #9ea5b5;
  --rewards-pink: #f47ce9;
  --rewards-cyan: #24d9ef;
  --rewards-gold: #f3c378;
  --rewards-success: #68e0b0;
  --rewards-danger: #ff7e91;
  --rewards-radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.rewards-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--rewards-text);
  background: var(--rewards-bg);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

button, input { font: inherit; }

/* Native dropdowns stay legible across customer, profile and error-report views. */
.rewards-page select {
  color-scheme: dark;
  background-color: #070910 !important;
  color: #fff !important;
}
.rewards-page select option,
.rewards-page select optgroup {
  background: #070910 !important;
  color: #fff !important;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.rewards-atmosphere,
.rewards-grid,
.rewards-orb { position: fixed; inset: 0; pointer-events: none; }
.rewards-atmosphere { z-index: -1; overflow: hidden; background: radial-gradient(circle at 50% -15%, rgba(52, 58, 94, .24), transparent 42%); }
.rewards-grid { opacity: .17; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
.rewards-orb { width: 42vw; height: 42vw; border-radius: 50%; filter: blur(130px); opacity: .13; }
.rewards-orb--pink { top: 8%; left: -22%; background: var(--rewards-pink); }
.rewards-orb--cyan { top: 15%; right: -24%; left: auto; background: var(--rewards-cyan); }

.rewards-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 clamp(20px, 4vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 6, 11, .76);
  backdrop-filter: blur(24px) saturate(130%);
}

.rewards-brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.rewards-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.17); border-radius: 15px; background: linear-gradient(145deg, rgba(244,124,233,.13), rgba(36,217,239,.08)); font-family: "Space Grotesk"; font-weight: 700; }
.rewards-brand strong, .rewards-brand small { display: block; letter-spacing: .24em; }
.rewards-brand strong { font: 700 13px/1 "Space Grotesk"; }
.rewards-brand small { margin-top: 5px; color: var(--rewards-muted); font-size: 7px; }
.rewards-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); color: #c2c6d1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rewards-nav a, .rewards-menu-link { transition: color .2s ease; }
.rewards-nav a:hover, .rewards-menu-link:hover { color: #fff; }
.rewards-header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.rewards-menu-link { color: var(--rewards-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }

.rewards-mobile-menu-toggle,
.rewards-mobile-menu-close {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(244,124,233,.28);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font: 800 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rewards-mobile-menu-toggle {
  gap: 8px;
  padding: 0 13px;
}

.rewards-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(2, 4, 12, .66);
  backdrop-filter: blur(12px);
}

.rewards-mobile-menu-shell {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  z-index: 95;
  width: min(92vw, 520px);
  max-height: calc(100dvh - 28px);
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(244,124,233,.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(244,124,233,.2), transparent 38%),
    radial-gradient(circle at bottom right, rgba(36,217,239,.18), transparent 42%),
    rgba(13,15,24,.96);
  box-shadow: 0 28px 90px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: translate(-50%, -10px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.rewards-mobile-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.rewards-mobile-menu-head strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.15;
}

.rewards-mobile-menu-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.rewards-mobile-menu-grid a,
.rewards-mobile-menu-grid button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(244,124,233,.09));
  color: #fff;
  text-align: left;
}

.rewards-mobile-menu-grid a:hover,
.rewards-mobile-menu-grid button:hover {
  border-color: rgba(36,217,239,.45);
  background: linear-gradient(135deg, rgba(244,124,233,.16), rgba(36,217,239,.13));
}

.rewards-mobile-menu-grid .material-symbols-outlined {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  color: var(--rewards-cyan);
}

.rewards-mobile-menu-grid strong {
  font-size: 14px;
  line-height: 1.15;
}

.rewards-mobile-menu-grid small {
  margin-top: 4px;
  color: var(--rewards-muted);
  font-size: 12px;
  line-height: 1.35;
}

body.aura-mobile-menu-open .rewards-mobile-menu-shell {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

html.aura-mobile-menu-locked,
body.aura-mobile-menu-open {
  overflow: hidden !important;
}

.rewards-header .aura-music-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.rewards-header .aura-music-toggle,
.rewards-header .aura-music-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(244,124,233,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #edf0f7;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rewards-header .aura-music-toggle {
  gap: 8px;
  min-width: 78px;
  padding: 0 13px;
  font: 800 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rewards-header .aura-music-skip { width: 42px; padding: 0; }
.rewards-header .aura-music-toggle:hover,
.rewards-header .aura-music-skip:hover {
  border-color: rgba(36,217,239,.5);
  background: rgba(36,217,239,.09);
  transform: translateY(-1px);
}
.rewards-header .aura-music-toggle.is-playing {
  border-color: rgba(36,217,239,.55);
  background: linear-gradient(120deg, rgba(244,124,233,.16), rgba(36,217,239,.13));
  box-shadow: 0 0 22px rgba(36,217,239,.09);
}
.rewards-header .aura-music-toggle-visual {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  height: 14px;
}
.rewards-header .aura-music-toggle-visual span {
  display: block;
  width: 2px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to top, var(--rewards-pink), var(--rewards-cyan));
}
.rewards-header .aura-music-toggle-visual span:nth-child(2) { height: 11px; }
.rewards-header .aura-music-toggle.is-playing .aura-music-toggle-visual span { animation: rewards-music-bars .8s ease-in-out infinite alternate; }
.rewards-header .aura-music-toggle.is-playing .aura-music-toggle-visual span:nth-child(2) { animation-delay: -.25s; }
.rewards-header .aura-music-toggle.is-playing .aura-music-toggle-visual span:nth-child(3) { animation-delay: -.5s; }

@keyframes rewards-music-bars {
  to { height: 14px; }
}

.rewards-icon-button,
.rewards-profile-button {
  border: 1px solid var(--rewards-line);
  background: rgba(255,255,255,.045);
  cursor: pointer;
}
.rewards-icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 14px; }
.rewards-icon-button .material-symbols-outlined { font-size: 19px; }
.rewards-profile-button { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 5px 14px 5px 6px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.rewards-avatar { display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--rewards-pink), var(--rewards-cyan)); color: #070912; font-size: 10px; }
.rewards-avatar img { width: 100%; height: 100%; object-fit: cover; }

.rewards-main { width: min(1500px, calc(100% - 40px)); min-height: calc(100vh - 150px); margin: 0 auto; }
.rewards-auth { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .75fr); align-items: center; gap: clamp(40px, 8vw, 130px); min-height: calc(100vh - 80px); padding: 80px 0; }
.rewards-eyebrow, .rewards-login-kicker, .rewards-panel-heading span, .rewards-section-heading > div > span { color: var(--rewards-cyan); font-size: 11px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.rewards-auth-copy h1, .rewards-hero-copy h1 { max-width: 800px; margin: 20px 0; font: 700 clamp(52px, 7vw, 112px)/.88 "Space Grotesk"; letter-spacing: -.065em; }
.rewards-auth-copy h1 em, .rewards-hero-copy h1 em { color: transparent; background: linear-gradient(95deg, var(--rewards-pink), #c693ff 50%, var(--rewards-cyan)); background-clip: text; font-style: normal; }
.rewards-auth-copy > p, .rewards-hero-copy > p { max-width: 660px; color: var(--rewards-muted); font-size: clamp(16px, 1.4vw, 20px); }
.rewards-auth-benefits { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.rewards-auth-benefits span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--rewards-line); border-radius: 99px; background: rgba(255,255,255,.035); color: #dfe2eb; font-size: 12px; font-weight: 700; }
.rewards-auth-benefits i { color: var(--rewards-pink); font-size: 17px; font-style: normal; }

.rewards-login-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(24,27,42,.92), rgba(9,12,20,.96));
  box-shadow: 0 30px 100px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.06);
}
.rewards-login-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--rewards-pink), var(--rewards-cyan)); }
.rewards-login-card h2 { margin: 10px 0; font: 700 clamp(28px, 3vw, 42px)/1.05 "Space Grotesk"; letter-spacing: -.04em; }
.rewards-login-card > p { color: var(--rewards-muted); }
.rewards-login-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 28px; border: 0; border-radius: 15px; cursor: pointer; font-weight: 800; }
.rewards-login-button--discord { background: #5865f2; color: #fff; box-shadow: 0 14px 35px rgba(88,101,242,.25); }
.rewards-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: #777e8d; font-size: 11px; }
.rewards-divider::before, .rewards-divider::after { content: ""; flex: 1; height: 1px; background: var(--rewards-line); }
.rewards-email-form label, .rewards-account-panel label { display: block; margin-bottom: 8px; color: #d8dbe4; font-size: 12px; font-weight: 700; }
.rewards-email-row { display: flex; gap: 8px; }
.rewards-email-row input { min-width: 0; flex: 1; height: 50px; padding: 0 16px; border: 1px solid var(--rewards-line); border-radius: 14px; outline: none; background: rgba(255,255,255,.04); color: #fff; }
.rewards-email-row input:focus { border-color: var(--rewards-cyan); box-shadow: 0 0 0 3px rgba(36,217,239,.1); }
.rewards-email-row button { min-height: 50px; padding: 0 18px; border: 0; border-radius: 14px; background: linear-gradient(100deg, var(--rewards-pink), var(--rewards-cyan)); color: #090b12; cursor: pointer; font-weight: 800; }
.rewards-privacy { margin: 18px 0 0; font-size: 11px; }
.rewards-message { min-height: 22px; margin-top: 12px; color: var(--rewards-cyan); font-size: 12px; }
.rewards-message.is-error { color: var(--rewards-danger); }
.rewards-toast { position: fixed; top: max(88px, env(safe-area-inset-top)); right: 24px; z-index: 1000001; max-width: min(390px, calc(100% - 32px)); padding: 14px 18px; border: 1px solid rgba(36,217,239,.3); border-radius: 15px; background: rgba(12,17,25,.96); box-shadow: 0 20px 60px rgba(0,0,0,.4); color: #dffcff; font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(-15px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.rewards-toast.is-visible { opacity: 1; transform: translateY(0); }
.rewards-toast.is-error { border-color: rgba(255,126,145,.35); color: #ffb3bf; }

.rewards-dashboard { position: relative; isolation: isolate; padding: 48px 0 100px; }
.rewards-dashboard.has-profile-background::before,
.rewards-dashboard.has-profile-background::after { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; }
.rewards-dashboard.has-profile-background::before { background: var(--profile-background-image, none) center top / cover fixed no-repeat; opacity: .42; filter: saturate(1.08) contrast(1.03); }
.rewards-dashboard.has-profile-background::after { z-index: -1; background: linear-gradient(180deg, rgba(5,6,11,.46), rgba(5,6,11,.68)); }
.rewards-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; min-height: 390px; overflow: hidden; padding: clamp(34px, 6vw, 82px); border: 1px solid var(--rewards-line); border-radius: var(--rewards-radius); background: radial-gradient(circle at 78% 42%, rgba(36,217,239,.13), transparent 25%), radial-gradient(circle at 62% 80%, rgba(244,124,233,.15), transparent 30%), linear-gradient(135deg, #10131e, #080a11); }
.rewards-hero::after { content: "17"; position: absolute; right: 20%; bottom: -35%; color: rgba(255,255,255,.018); font: 800 420px/1 "Space Grotesk"; }
.rewards-hero-copy { position: relative; z-index: 1; }
.rewards-hero-copy h1 { max-width: 880px; font-size: clamp(40px, 5vw, 78px); line-height: .98; }
.rewards-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rewards-hero-actions .rewards-secondary-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.rewards-hero-actions .material-symbols-outlined { font-size: 19px; }
.rewards-edit-profile-cta { position: relative; overflow: hidden; border-color: rgba(244,124,233,.38); background: linear-gradient(115deg,rgba(244,124,233,.18),rgba(36,217,239,.11)); box-shadow: 0 10px 30px rgba(244,124,233,.1); font: inherit; cursor: pointer; }
.rewards-edit-profile-cta::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--rewards-pink),var(--rewards-cyan)); }
.rewards-edit-profile-cta > span:not(.material-symbols-outlined) { display: grid; gap: 1px; text-align: left; }
.rewards-edit-profile-cta small { color: var(--rewards-cyan); font-size: 8px; letter-spacing: .06em; text-transform: none; }
.rewards-profile-preview-cta { cursor: pointer; }
.rewards-points-hub-cta { position: relative; overflow: hidden; border-color: rgba(36,217,239,.34); background: linear-gradient(115deg,rgba(36,217,239,.12),rgba(244,124,233,.1)); cursor: pointer; }
.rewards-points-hub-cta::after { content: ""; position: absolute; top: -70%; left: -25%; width: 35%; height: 240%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); transform: rotate(18deg); transition: left .5s ease; }
.rewards-points-hub-cta:hover::after { left: 115%; }
.rewards-points-hub-cta > span:not(.material-symbols-outlined) { display: grid; gap: 1px; text-align: left; }
.rewards-points-hub-cta small { color: var(--rewards-cyan); font-size: 8px; letter-spacing: .05em; text-transform: none; }
.rewards-primary-cta, .rewards-secondary-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rewards-primary-cta { background: linear-gradient(100deg, var(--rewards-pink), var(--rewards-cyan)); color: #080a11; }
.rewards-secondary-cta { border: 1px solid var(--rewards-line); background: rgba(255,255,255,.035); }
.rewards-tier-card { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; min-width: 310px; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(9,12,19,.68); backdrop-filter: blur(20px); }
.rewards-tier-ring { position: relative; display: grid; place-items: center; width: 100px; height: 100px; border: 1px solid rgba(244,124,233,.55); border-radius: 50%; background: radial-gradient(circle, rgba(244,124,233,.13), transparent 62%); box-shadow: 0 0 45px rgba(244,124,233,.12), inset 0 0 25px rgba(36,217,239,.07); }
.rewards-tier-ring::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: inherit; }
.rewards-tier-emblem { position: relative; z-index: 1; display: block; width: 94px; height: 94px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.42)); transition: transform .35s ease, filter .35s ease; }
.rewards-tier-card:hover .rewards-tier-emblem { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 10px 22px rgba(244,124,233,.28)); }
.rewards-tier-ring > .material-symbols-outlined { position: relative; color: #fff; font-size: 35px; font-variation-settings: "FILL" 1,"wght" 500; filter: drop-shadow(0 0 12px rgba(244,124,233,.45)); }
.rewards-tier-ring > small { position: absolute; z-index: 2; right: 10px; bottom: -5px; left: 10px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(7,9,15,.88); color: #fff; font: 800 8px "Space Grotesk"; letter-spacing: .2em; text-align: center; box-shadow: 0 5px 14px rgba(0,0,0,.35); backdrop-filter: blur(8px); }
.rewards-tier-ring[data-tier="focus"] { border-color: rgba(36,217,239,.6); background: radial-gradient(circle,rgba(36,217,239,.2),transparent 65%); }
.rewards-tier-ring[data-tier="focus"] > .material-symbols-outlined { color: #8bf4ff; filter: drop-shadow(0 0 13px rgba(36,217,239,.6)); }
.rewards-tier-ring[data-tier="icon"] { border-color: rgba(175,133,255,.65); background: radial-gradient(circle,rgba(175,133,255,.24),transparent 65%); }
.rewards-tier-ring[data-tier="icon"] > .material-symbols-outlined { color: #d4b9ff; filter: drop-shadow(0 0 14px rgba(175,133,255,.65)); }
.rewards-tier-ring[data-tier="legend"] { border-color: rgba(243,195,120,.75); background: radial-gradient(circle,rgba(243,195,120,.25),transparent 65%); box-shadow: 0 0 48px rgba(243,195,120,.18),inset 0 0 25px rgba(243,195,120,.08); }
.rewards-tier-ring[data-tier="legend"] > .material-symbols-outlined { color: #ffe1a6; filter: drop-shadow(0 0 14px rgba(243,195,120,.75)); }
.rewards-tier-card small, .rewards-metric small { color: var(--rewards-muted); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.rewards-tier-card > div:last-child > small { display: inline-flex; align-items: center; gap: 5px; }
.rewards-tier-card > div:last-child > small .material-symbols-outlined { color: var(--rewards-pink); font-size: 15px; }
.rewards-tier-card strong { display: block; margin-top: 4px; font: 700 27px "Space Grotesk"; }
.rewards-tier-card p { margin: 2px 0 0; color: var(--rewards-muted); font-size: 12px; }
.rewards-tier-card .rewards-live-note { display: flex; align-items: flex-start; gap: 6px; max-width: 230px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); color: #c8cedb; font-size: 10px; line-height: 1.45; }
.rewards-live-note .material-symbols-outlined { flex: 0 0 auto; color: var(--rewards-cyan); font-size: 15px; }

.rewards-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.rewards-metric { display: flex; align-items: center; gap: 18px; min-height: 145px; padding: 28px; border: 1px solid var(--rewards-line); border-radius: 23px; background: var(--rewards-panel); }
.rewards-metric--primary { border-color: rgba(36,217,239,.22); background: linear-gradient(135deg, rgba(36,217,239,.1), rgba(244,124,233,.05)), var(--rewards-panel); }
.rewards-metric > .material-symbols-outlined { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.055); color: var(--rewards-cyan); }
.rewards-metric strong { display: block; margin: 4px 0 0; font: 700 36px "Space Grotesk"; }
.rewards-metric p { margin: 0; color: var(--rewards-muted); font-size: 11px; }

.rewards-progress-card, .rewards-panel, .rewards-reward-section, .rewards-account-panel { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--rewards-line); border-radius: 25px; background: var(--rewards-panel); }
.rewards-progress-card { margin-bottom: 18px; }
.rewards-section-heading, .rewards-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.rewards-heading-with-icon { display: flex; align-items: center; gap: 15px; min-width: 0; }
.rewards-heading-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid rgba(36,217,239,.22); border-radius: 15px; background: linear-gradient(145deg,rgba(244,124,233,.12),rgba(36,217,239,.1)); color: var(--rewards-cyan); box-shadow: 0 10px 28px rgba(36,217,239,.08); }
.rewards-section-heading h2, .rewards-panel-heading h2, .rewards-account-panel h2 { margin: 3px 0 0; font: 700 clamp(23px, 2vw, 32px) "Space Grotesk"; letter-spacing: -.035em; }
.rewards-section-heading p { margin: 6px 0 0; color: var(--rewards-muted); font-size: 13px; }
.rewards-progress-track { height: 10px; margin: 26px 0 12px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.075); }
.rewards-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rewards-pink), var(--rewards-cyan)); box-shadow: 0 0 20px rgba(36,217,239,.32); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.rewards-progress-card > p { margin: 0; color: var(--rewards-muted); font-size: 12px; }
.rewards-content-grid { --rewards-timeline-height: clamp(520px, 62vh, 720px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.rewards-panel-heading > .material-symbols-outlined { color: var(--rewards-pink); }

.rewards-list, .rewards-mission-list { display: grid; gap: 10px; margin-top: 24px; }
.rewards-panel--activity,
.rewards-panel--missions { display: flex; flex-direction: column; min-height: 0; height: var(--rewards-timeline-height); }
.rewards-panel--activity .rewards-list,
.rewards-panel--missions .rewards-mission-list { align-content: start; grid-auto-rows: max-content; flex: 1 1 auto; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-right: 7px; scrollbar-color: rgba(244,124,233,.6) rgba(255,255,255,.04); scrollbar-gutter: stable; scrollbar-width: thin; }
.rewards-panel--activity .rewards-list::-webkit-scrollbar,
.rewards-panel--missions .rewards-mission-list::-webkit-scrollbar { width: 6px; }
.rewards-panel--activity .rewards-list::-webkit-scrollbar-track,
.rewards-panel--missions .rewards-mission-list::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.04); }
.rewards-panel--activity .rewards-list::-webkit-scrollbar-thumb,
.rewards-panel--missions .rewards-mission-list::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(var(--rewards-pink),var(--rewards-cyan)); }
.rewards-list-item, .rewards-mission { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 68px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 17px; background: rgba(255,255,255,.025); }
.rewards-mission > div { min-width: 0; }
.rewards-list-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(36,217,239,.08); color: var(--rewards-cyan); }
.rewards-list-item strong, .rewards-mission strong { display: block; font-size: 13px; }
.rewards-list-item small, .rewards-mission small { color: var(--rewards-muted); font-size: 10px; }
.rewards-redemption-copy { min-width: 0; }
.rewards-redemption-copy p { margin: 6px 0 0; color: var(--rewards-muted); font-size: 11px; line-height: 1.5; }
.rewards-redemption-copy a { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--rewards-cyan); font-size: 11px; font-weight: 800; text-decoration: none; }
.rewards-redemption-copy a:hover { color: #fff; }
.rewards-redemption-copy a .material-symbols-outlined { font-size: 15px; }
.rewards-list-icon--collection { background: linear-gradient(135deg, rgba(244,124,233,.2), rgba(36,217,239,.15)); color: #f49cea; }
.rewards-points-change { color: var(--rewards-success); font: 700 13px "Space Grotesk"; }
.rewards-points-change.is-negative { color: var(--rewards-pink); }
.rewards-empty { display: grid; place-items: center; min-height: 180px; padding: 28px; border: 1px dashed rgba(255,255,255,.11); border-radius: 18px; color: var(--rewards-muted); text-align: center; }
.rewards-empty .material-symbols-outlined { display: block; margin-bottom: 8px; color: #606979; font-size: 32px; }

.rewards-reward-section { margin-top: 18px; }
.rewards-text-button { align-self: center; padding: 10px 15px; border: 1px solid var(--rewards-line); border-radius: 12px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.customer-activity-header {
  display: grid;
  grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px;
  padding: clamp(15px, 1.6vw, 22px);
  border: 1px solid rgba(36,217,239,.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(36,217,239,.08), rgba(244,124,233,.055)), rgba(10,13,21,.82);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.customer-activity-header[hidden] { display: none !important; }
.customer-activity-header__copy h2 { margin: 5px 0 0; font: 800 clamp(20px, 1.8vw, 28px)/1 "Space Grotesk"; letter-spacing: 0; }
.customer-activity-header__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.customer-activity-header__items article { min-height: 104px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.035); }
.customer-activity-header__items .material-symbols-outlined { color: var(--rewards-cyan); font-size: 22px; }
.customer-activity-header__items small { display: block; margin-top: 7px; color: var(--rewards-muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.customer-activity-header__items strong { display: block; margin-top: 4px; color: #fff; font: 800 15px "Space Grotesk"; }
.customer-activity-header__items p { margin: 5px 0 0; color: #b7bece; font-size: 10px; line-height: 1.4; }
.reward-wheel-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(480px, 700px);
  grid-template-areas:
    "copy stage"
    "prizes stage";
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(244,124,233,.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(244,124,233,.17), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(36,217,239,.13), transparent 32%),
    linear-gradient(145deg, rgba(12,15,25,.98), rgba(7,9,15,.96));
  box-shadow: 0 28px 90px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.05);
}
.reward-wheel-section::after {
  content: "";
  position: absolute;
  inset: auto -110px -130px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(243,195,120,.12);
  filter: blur(80px);
  pointer-events: none;
}
.reward-wheel-copy,
.reward-wheel-stage,
.reward-wheel-prizes { position: relative; z-index: 1; min-width: 0; }
.reward-wheel-copy { grid-area: copy; align-self: end; }
.reward-wheel-copy h2 { margin: 8px 0 12px; font: 750 clamp(34px, 3.7vw, 58px)/.96 "Space Grotesk"; letter-spacing: -.04em; }
.reward-wheel-copy p { max-width: 560px; margin: 0; color: #d6dbe7; font-size: clamp(14px, 1vw, 16px); line-height: 1.7; }
.reward-wheel-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.reward-wheel-meta span { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.04); color: #dce1ec; font-size: 11px; font-weight: 800; }
.reward-wheel-meta strong { color: var(--rewards-cyan); }
.reward-wheel-meta [data-wheel-cooldown].is-countdown {
  border-color: rgba(243,195,120,.4);
  background: rgba(243,195,120,.1);
  color: #ffe3ae;
  font-size: 12px;
  letter-spacing: .08em;
}
.reward-wheel-stage {
  grid-area: stage;
  display: grid;
  place-items: center;
  min-height: clamp(620px, 45vw, 740px);
}
.reward-wheel-stage-result {
  position: absolute;
  z-index: 5;
  top: clamp(18px, 3vw, 42px);
  left: 50%;
  display: grid;
  width: min(88%, 560px);
  gap: 8px;
  transform: translateX(-50%);
  padding: clamp(17px, 2vw, 25px) clamp(18px, 2.6vw, 32px);
  border: 1px solid rgba(36,217,239,.36);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(36,217,239,.12), rgba(244,124,233,.07)), rgba(5,8,15,.86);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 42px rgba(36,217,239,.15), inset 0 1px rgba(255,255,255,.08);
  color: #fff;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(18px);
}
.reward-wheel-stage-result[hidden] { display: none !important; }
.reward-wheel-stage-result strong {
  color: #fff;
  font: 900 clamp(28px, 3.2vw, 50px)/.96 "Space Grotesk";
  letter-spacing: 0;
}
.reward-wheel-stage-result span {
  color: #dce6f4;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 650;
  line-height: 1.45;
}
.reward-wheel-stage-result[data-result-tone="win"] {
  border-color: rgba(243,195,120,.58);
  background: linear-gradient(135deg, rgba(243,195,120,.2), rgba(244,124,233,.1)), rgba(12,8,16,.9);
  box-shadow: 0 26px 82px rgba(0,0,0,.5), 0 0 54px rgba(243,195,120,.2), inset 0 1px rgba(255,255,255,.1);
}
.reward-wheel-stage-result[data-result-tone="win"] strong { color: #ffe7b6; }
.reward-wheel-stage-result[data-result-tone="demo"] {
  border-color: rgba(244,124,233,.46);
  background: linear-gradient(135deg, rgba(244,124,233,.15), rgba(36,217,239,.1)), rgba(7,8,17,.9);
}
.reward-wheel-stage-result[data-result-tone="no-win"] strong { color: #bff8ff; }
.reward-wheel-pointer {
  position: absolute;
  z-index: 3;
  top: 22px;
  width: 0;
  height: 0;
  border-right: 18px solid transparent;
  border-left: 18px solid transparent;
  border-top: 34px solid var(--rewards-gold);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)) drop-shadow(0 0 12px rgba(243,195,120,.45));
}
.reward-wheel-disc {
  --wheel-rotation: 0deg;
  --wheel-gradient: conic-gradient(#f47ce9 0 45deg, #151925 45deg 90deg, #24d9ef 90deg 135deg, #151925 135deg 180deg, #f3c378 180deg 225deg, #151925 225deg 270deg, #9b75ff 270deg 315deg, #151925 315deg 360deg);
  position: relative;
  width: min(100%, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: var(--wheel-gradient);
  box-shadow: 0 32px 100px rgba(0,0,0,.5), 0 0 0 18px rgba(255,255,255,.035), 0 0 80px rgba(36,217,239,.12), inset 0 0 0 14px rgba(5,6,11,.48);
  transform: rotate(var(--wheel-rotation));
  transition: transform 8.4s cubic-bezier(.12,.72,.16,1);
}
.reward-wheel-disc::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: inherit;
  background: radial-gradient(circle, rgba(10,12,20,.98), rgba(10,12,20,.88));
  box-shadow: inset 0 0 35px rgba(0,0,0,.55);
}
.reward-wheel-disc::after {
  content: "";
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36,217,239,.24);
  border-radius: inherit;
  background: radial-gradient(circle, rgba(9,12,20,.78), rgba(9,12,20,.32) 58%, rgba(9,12,20,0) 72%);
  box-shadow: 0 0 30px rgba(36,217,239,.12);
}
.reward-wheel-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.reward-wheel-labels text {
  fill: #fff;
  font: 950 13px/1 "Space Grotesk";
  letter-spacing: .08em;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke fill;
  stroke: rgba(4,6,12,.8);
  stroke-width: 3.4px;
  stroke-linejoin: round;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 7px rgba(0,0,0,.62));
}
.reward-wheel-spin {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(168px, 16vw, 230px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  font: 950 13px/1.08 "Space Grotesk";
  letter-spacing: .08em;
  text-transform: uppercase;
}
.reward-wheel-spin::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,217,239,.18), rgba(244,124,233,.08) 45%, rgba(0,0,0,0) 70%);
  filter: blur(10px);
}
.reward-wheel-spin-logo {
  position: relative;
  z-index: 1;
  width: 126%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.48)) drop-shadow(0 0 18px rgba(36,217,239,.18));
  pointer-events: none;
}
.reward-wheel-spin-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.reward-wheel-spin:disabled { cursor: wait; filter: grayscale(.35); opacity: .78; }
.reward-wheel-section.is-win .reward-wheel-disc { box-shadow: 0 30px 100px rgba(0,0,0,.48), 0 0 0 14px rgba(243,195,120,.075), 0 0 70px rgba(243,195,120,.18), inset 0 0 0 12px rgba(5,6,11,.48); }
.reward-wheel-prizes { grid-area: prizes; align-self: start; display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.reward-wheel-prizes > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.reward-wheel-prizes article { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 11px; align-items: start; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.03); }
.reward-wheel-prizes article > .material-symbols-outlined { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(36,217,239,.09); color: var(--rewards-cyan); }
.reward-wheel-prizes strong,
.reward-wheel-prizes small { display: block; }
.reward-wheel-prizes strong { color: #fff; font-size: 14px; }
.reward-wheel-prizes small { margin-top: 2px; color: var(--rewards-gold); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.reward-wheel-prizes p { margin: 5px 0 0; color: var(--rewards-muted); font-size: 10px; line-height: 1.45; }
.rewards-collection {
  margin: 18px 0;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  background: rgba(15,18,28,.78);
}
.rewards-collection[hidden] { display: none !important; }
.rewards-collection .rewards-section-heading > strong {
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(243,195,120,.28);
  border-radius: 999px;
  color: #ffe0a2;
  font: 900 14px "Space Grotesk";
}
.rewards-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px;
  margin-top: 22px;
}

.rewards-collection-milestones { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.rewards-collection-milestones:empty { display: none; }
.rewards-collection-milestones > h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: 0; }
.rewards-collection-milestones p { margin: 6px 0; color: var(--rewards-muted); line-height: 1.55; }
.rewards-collection-milestones ol { padding: 0; margin: 20px 0 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
.rewards-collection-milestones li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); min-width: 0; }
.rewards-collection-milestones li:last-child { grid-column: 1 / -1; }
.rewards-collection-milestones li > div { min-width: 0; overflow-wrap: anywhere; }
.rewards-collection-milestones li > span { flex: 0 0 28px; color: #b1a7b9; }
.rewards-collection-milestones li.is-earned > span, .rewards-collection-milestones li.is-earned small { color: #74e0c1; }
.rewards-collection-milestones li strong { font-size: 15px; letter-spacing: 0; }
.rewards-collection-milestones li p { font-size: 14px; }
.rewards-collection-milestones li small { font-size: 12px; }
@media (max-width: 640px) { .rewards-collection-milestones ol { grid-template-columns: 1fr; } }

.community-frame-picker [data-collection-frame][hidden] { display: none !important; }
.community-public-profile[data-selected-frame="collection-spark"] .community-public-hero,
.rewards-dashboard[data-selected-frame="collection-spark"] .rewards-hero,
.community-studio-preview-canvas[data-selected-frame="collection-spark"] .community-studio-preview-card { border: 2px solid #74e0c1; box-shadow: inset 0 0 0 5px rgba(116,224,193,.1); }
.community-public-profile[data-selected-frame="collection-diamond"] .community-public-hero,
.rewards-dashboard[data-selected-frame="collection-diamond"] .rewards-hero,
.community-studio-preview-canvas[data-selected-frame="collection-diamond"] .community-studio-preview-card { border: 2px solid #f3c378; box-shadow: inset 0 0 0 5px rgba(99,215,240,.22), inset 0 0 0 6px #63d7f0; }
.rewards-collectible {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  min-height: 150px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  color: #cbd1df;
}
.rewards-collectible-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0,0,0,.2);
}
.rewards-collectible > .material-symbols-outlined,
.rewards-collectible > .rewards-collectible-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.55);
}
.rewards-collectible strong,
.rewards-collectible small { display: block; }
.rewards-collectible strong { color: #f5f7ff; font-size: 16px; overflow-wrap: anywhere; }
.rewards-collectible small { margin-top: 4px; color: var(--rewards-muted); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.rewards-collectible p { margin: 8px 0 0; color: #b9c0cf; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.rewards-collectible.is-owned {
  border-color: rgba(243,195,120,.24);
  background: linear-gradient(140deg, rgba(243,195,120,.11), rgba(36,217,239,.055)), rgba(255,255,255,.035);
}
.rewards-collectible.is-owned > .material-symbols-outlined,
.rewards-collectible.is-owned > .rewards-collectible-mark {
  background: linear-gradient(135deg, rgba(244,124,233,.2), rgba(36,217,239,.18));
  color: #ffe3ae;
}
.rewards-reward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.rewards-reward-card { position: relative; min-height: 260px; overflow: hidden; padding: 24px; border: 1px solid rgba(255,255,255,.09); border-radius: 21px; background: linear-gradient(145deg, #151925, #0d1018); }
.rewards-reward-card.has-image { min-height: 430px; padding: 0; }
.rewards-reward-image { width: 100%; height: 190px; object-fit: cover; border-bottom: 1px solid var(--rewards-line); }
.rewards-reward-content { padding: 24px; }
.rewards-reward-card.has-image .rewards-reward-content > h3 { margin-top: 14px; }
.rewards-reward-card::after { content: ""; position: absolute; right: -55px; bottom: -75px; width: 170px; height: 170px; border-radius: 50%; background: var(--card-accent, var(--rewards-pink)); filter: blur(70px); opacity: .13; }
.rewards-reward-card > * { position: relative; z-index: 1; }
.rewards-reward-card .material-symbols-outlined { color: var(--card-accent, var(--rewards-pink)); font-size: 31px; }
.rewards-reward-card h3 { margin: 26px 0 8px; font: 700 20px "Space Grotesk"; }
.rewards-reward-card p { color: var(--rewards-muted); font-size: 12px; }
.rewards-reward-footer { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rewards-mission-image { width: 48px; height: 48px; border: 1px solid var(--rewards-line); border-radius: 15px; object-fit: cover; }
.rewards-mission.is-complete { border-color: rgba(36,217,239,.3); background: linear-gradient(135deg, rgba(36,217,239,.1), rgba(255,255,255,.025)); }
.rewards-mission.is-complete strong { text-decoration: line-through; text-decoration-color: rgba(36,217,239,.5); }
.rewards-mission-complete { display: inline-flex; align-items: center; gap: 5px; color: var(--rewards-cyan); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rewards-mission-complete .material-symbols-outlined { font-size: 18px; }
.rewards-mission-period { display: inline-flex; width: fit-content; margin-bottom: 7px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: var(--rewards-muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.rewards-mission-period.is-daily { border-color: rgba(36,217,239,.28); background: rgba(36,217,239,.08); color: var(--rewards-cyan); }
.rewards-mission-period.is-weekly { border-color: rgba(244,124,233,.28); background: rgba(244,124,233,.08); color: var(--rewards-pink); }
.rewards-mission-period.is-seasonal { border-color: rgba(255,201,107,.28); background: rgba(255,201,107,.08); color: #ffd994; }
.rewards-community-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.rewards-community-profiles { scroll-margin-top: 110px; }
.rewards-community-profiles .rewards-community-profile-grid { grid-template-columns: 1fr; gap: 14px; }
.rewards-community-profile-card { padding: 18px; border: 1px solid var(--rewards-line); border-radius: 22px; background: rgba(255,255,255,.025); }
.rewards-community-profiles .rewards-community-profile-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr); align-items: start; gap: 18px; padding: 20px; }
.rewards-community-profile-head { display: flex; align-items: center; gap: 12px; }
.rewards-community-profiles .rewards-community-profile-head { grid-column: 1; }
.rewards-community-profile-head strong, .rewards-community-profile-head small { display: block; }
.rewards-community-profile-head small { margin-top: 4px; color: var(--rewards-muted); font-size: 10px; }
.rewards-community-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(244,124,233,.35); }
.rewards-community-profiles .rewards-community-avatar { width: 64px; height: 64px; }
.rewards-community-avatar.is-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, rgba(244,124,233,.25), rgba(36,217,239,.18)); color: white; font-weight: 800; }
.rewards-community-review-form { display: grid; gap: 10px; margin-top: 16px; }
.rewards-community-profiles .rewards-community-review-form { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
.rewards-community-review-form label { display: grid; gap: 6px; color: var(--rewards-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rewards-community-review-form select, .rewards-community-review-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--rewards-line); border-radius: 13px; background: rgba(0,0,0,.22); color: white; font: inherit; text-transform: none; letter-spacing: 0; }
.rewards-community-review-form textarea { min-height: 78px; resize: vertical; }
.rewards-community-review-form button { min-height: 42px; border: 0; border-radius: 13px; background: linear-gradient(120deg, var(--rewards-pink), var(--rewards-cyan)); color: #071018; font-weight: 900; }
.rewards-community-profile-done { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px; border-radius: 14px; background: rgba(36,217,239,.09); color: var(--rewards-cyan); font-size: 11px; }
.rewards-community-profiles .rewards-community-profile-done { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
.rewards-community-optin { display: flex !important; align-items: center; gap: 10px; margin-top: 14px; color: var(--rewards-muted); font-size: 12px; }
.rewards-community-optin input { width: 18px; height: 18px; accent-color: var(--rewards-pink); }
@media (max-width: 920px) { .rewards-community-profile-grid, .rewards-community-profiles .rewards-community-profile-grid { grid-template-columns: 1fr; } .rewards-community-profiles .rewards-community-profile-card { grid-template-columns: 1fr; } .rewards-community-profiles .rewards-community-review-form, .rewards-community-profiles .rewards-community-profile-done { grid-column: 1; grid-row: auto; margin-top: 14px; } }
.rewards-reward-cost { font: 700 14px "Space Grotesk"; }
.rewards-redeem-button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: linear-gradient(100deg, var(--rewards-pink), var(--rewards-cyan)); color: #080a11; cursor: pointer; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.rewards-redeem-button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .45; }
.rewards-redemptions { margin-top: 18px; }

.rewards-model-reviews { margin-top: 18px; }
.rewards-model-reviews > .rewards-section-heading > .material-symbols-outlined { color: var(--rewards-cyan); font-size: 34px; }
.rewards-model-review-grid, .rewards-model-review-history { display: grid; gap: 14px; margin-top: 24px; }
.rewards-model-review-card { display: grid; grid-template-columns: minmax(170px,.5fr) minmax(0,1fr); gap: 22px; padding: 22px; border: 1px solid rgba(36,217,239,.16); border-radius: 21px; background: linear-gradient(135deg, rgba(36,217,239,.055), rgba(244,124,233,.035)); }
.rewards-model-review-card h3 { margin: 6px 0; font: 700 22px "Space Grotesk"; }
.rewards-model-review-card p { margin: 0; color: var(--rewards-muted); font-size: 12px; }
.rewards-model-review-form { display: grid; gap: 12px; }
.rewards-model-review-form label { display: grid; gap: 7px; color: #d8dbe4; font-size: 11px; font-weight: 700; }
.rewards-model-review-form select, .rewards-model-review-form textarea { width: 100%; border: 1px solid var(--rewards-line); border-radius: 13px; outline: none; background: rgba(255,255,255,.04); color: #fff; font: inherit; }
.rewards-model-review-form select { min-height: 46px; padding: 0 13px; }
.rewards-model-review-form textarea { min-height: 86px; padding: 13px; resize: vertical; }
.rewards-model-review-form select:focus, .rewards-model-review-form textarea:focus { border-color: var(--rewards-cyan); box-shadow: 0 0 0 3px rgba(36,217,239,.1); }
.rewards-model-review-form option { background: #10131e; }
.rewards-model-review-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.rewards-model-review-submit { justify-self: start; min-height: 44px; padding: 0 18px; border: 0; border-radius: 13px; background: linear-gradient(100deg,var(--rewards-pink),var(--rewards-cyan)); color: #080a11; cursor: pointer; font-weight: 800; }
.rewards-model-review-history-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border: 1px solid var(--rewards-line); border-radius: 16px; background: rgba(255,255,255,.025); }
.rewards-model-review-history-item strong, .rewards-model-review-history-item small { display: block; }
.rewards-model-review-history-item small { margin-top: 3px; color: var(--rewards-muted); font-size: 10px; }
.rewards-review-status { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: rgba(244,124,233,.09); color: #f7b4ef; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rewards-review-status.is-published { background: rgba(36,217,239,.1); color: #9af4ff; }

.rewards-account-panel { display: grid; grid-template-columns: 1fr minmax(320px, .7fr) auto; align-items: end; gap: 30px; margin-top: 18px; }
.rewards-account-panel p { margin: 4px 0 0; color: var(--rewards-muted); font-size: 12px; }
.rewards-logout-button { min-height: 50px; padding: 0 18px; border: 1px solid rgba(255,126,145,.25); border-radius: 14px; background: rgba(255,126,145,.06); color: #ff9aaa; cursor: pointer; font-weight: 800; }

.rewards-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; padding: 20px clamp(20px, 4vw, 72px); border-top: 1px solid var(--rewards-line); color: var(--rewards-muted); font-size: 11px; }
.rewards-footer span { color: #fff; font-weight: 800; letter-spacing: .18em; }

@media (max-width: 980px) {
  .rewards-header { grid-template-columns: 1fr auto; }
  .rewards-nav { display: none; }
  .rewards-mobile-menu-toggle,
  .rewards-mobile-menu-close {
    display: inline-flex;
  }
  .rewards-auth { grid-template-columns: 1fr; padding: 70px 0; }
  .rewards-auth-copy { text-align: center; }
  .rewards-auth-copy > p { margin-right: auto; margin-left: auto; }
  .rewards-auth-benefits { justify-content: center; }
  .rewards-login-card { width: min(620px, 100%); margin: 0 auto; }
  .rewards-hero { grid-template-columns: 1fr; }
  .rewards-tier-card { width: min(420px, 100%); }
  .rewards-metrics { grid-template-columns: 1fr; }
  .rewards-metric { min-height: 112px; }
  .rewards-content-grid { grid-template-columns: 1fr; }
  .rewards-reward-grid { grid-template-columns: repeat(2, 1fr); }
  .customer-activity-header { grid-template-columns: 1fr; }
  .customer-activity-header__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reward-wheel-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "stage"
      "prizes";
    gap: 28px;
  }
  .reward-wheel-stage {
    min-height: min(84vw, 620px);
  }
  .reward-wheel-stage-result {
    top: 0;
    width: min(94%, 520px);
  }
  .reward-wheel-prizes > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rewards-account-panel { grid-template-columns: 1fr; align-items: stretch; }
  .rewards-model-review-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rewards-header { min-height: 66px; padding: 10px 14px; grid-template-columns: minmax(0,1fr); gap: 8px; }
  .rewards-brand strong { font-size: 11px; }
  .rewards-brand small, .rewards-menu-link, .rewards-profile-button > span:last-child { display: none; }
  .rewards-header-actions { gap: 6px; width: 100%; min-width: 0; justify-content: space-between; flex-wrap: wrap; }
  .rewards-header .aura-music-toggle { min-width: 42px; padding: 0 8px; }
  .rewards-header .aura-music-toggle-label { display: none; }
  .rewards-header .rewards-profile-button { width: 42px; padding: 5px; justify-content: center; }
  .rewards-mobile-menu-toggle {
    width: 46px;
    padding: 0;
  }
  .rewards-mobile-menu-toggle > span:last-child {
    display: none;
  }
  .rewards-main { width: min(100% - 24px, 1500px); }
  .rewards-auth { min-height: auto; padding: 55px 0; }
  .rewards-auth-copy h1 { font-size: clamp(45px, 15vw, 68px); }
  .rewards-auth-benefits { display: grid; }
  .rewards-login-card { padding: 26px 20px; }
  .rewards-email-row { flex-direction: column; }
  .rewards-dashboard { padding-top: 18px; }
  .rewards-hero { min-height: 0; padding: 30px 22px; }
  .rewards-hero-copy h1 { font-size: 42px; }
  .rewards-tier-card { min-width: 0; padding: 18px; }
  .rewards-tier-ring { width: 76px; height: 76px; }
  .rewards-tier-emblem { width: 72px; height: 72px; }
  .rewards-metric { padding: 21px; }
  .rewards-section-heading { align-items: flex-start; flex-direction: column; }
  .customer-activity-header__items { grid-template-columns: 1fr; }
  .customer-activity-header__items article { min-height: 0; }
  .rewards-collection-grid { grid-template-columns: 1fr; }
  .reward-wheel-section {
    padding: 18px;
    border-radius: 24px;
  }
  .reward-wheel-copy h2 {
    font-size: 30px;
  }
  .reward-wheel-copy p {
    font-size: 12px;
  }
  .reward-wheel-meta {
    gap: 7px;
    margin-top: 15px;
  }
  .reward-wheel-meta span {
    min-height: 30px;
    font-size: 9px;
  }
  .reward-wheel-stage {
    min-height: min(112vw, 480px);
  }
  .reward-wheel-stage-result {
    top: -6px;
    width: min(96%, 420px);
    padding: 14px 15px;
    border-radius: 18px;
  }
  .reward-wheel-stage-result strong {
    font-size: clamp(23px, 7vw, 32px);
  }
  .reward-wheel-stage-result span {
    font-size: 12px;
  }
  .reward-wheel-disc {
    width: min(100%, 460px);
  }
  .reward-wheel-labels text {
    font-size: 9.5px;
    letter-spacing: .05em;
    stroke-width: 2.6px;
  }
  .reward-wheel-spin {
    width: 142px;
    font-size: 10px;
  }
  .reward-wheel-spin-logo {
    width: 128%;
  }
  .reward-wheel-prizes > div {
    grid-template-columns: 1fr;
  }
  .rewards-reward-grid { grid-template-columns: 1fr; }
  .rewards-reward-card { min-height: 235px; }
  .rewards-list-item { grid-template-columns: auto 1fr; }
  .rewards-model-review-details { grid-template-columns: 1fr; }
  .rewards-points-change { grid-column: 2; }
  .rewards-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .rewards-icon-button[data-rewards-refresh] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reward-wheel-disc { transition: none !important; }
}

/* Community customer profiles */
.community-profile-studio { display: block; padding: clamp(20px, 3vw, 38px); }
.community-studio-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.community-studio-heading h2 { margin: 5px 0; font: 700 clamp(26px, 4vw, 42px)/1.05 "Space Grotesk"; }
.community-completion { display: flex; align-items: center; gap: 13px; min-width: min(100%, 290px); padding: 13px 16px; border: 1px solid rgba(36,217,239,.18); border-radius: 20px; background: rgba(36,217,239,.045); }
.community-completion-ring { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--rewards-cyan) var(--completion, 0deg), rgba(255,255,255,.08) 0); font: 700 12px "Space Grotesk"; box-shadow: inset 0 0 0 7px #111622; }
.community-completion strong, .community-completion small { display: block; }
.community-completion small { margin-top: 4px; color: var(--rewards-muted); font-size: 10px; }
.community-profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.community-editor-card { min-width: 0; padding: 22px; border: 1px solid var(--rewards-line); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.014)); }
.community-editor-card--media, .community-favorites-editor, .community-profile-extras, .community-profile-actions, .community-unsaved-notice, .community-form-message { grid-column: 1 / -1; }
.community-cloud-editor { grid-column: 1 / -1; }
.community-cloud-intro { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; padding: 15px 17px; border: 1px solid rgba(36,217,239,.2); border-radius: 18px; background: linear-gradient(135deg, rgba(36,217,239,.08), rgba(244,124,233,.05)); }
.community-cloud-intro > span { color: var(--profile-glow, #24d9ef); }
.community-cloud-intro p { margin: 0; color: #c9cdd8; font-size: 13px; line-height: 1.65; }
.community-cloud-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.community-cloud-fields label { display: grid; gap: 7px; color: #d9dce5; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.community-cloud-fields label small { color: #737987; font-size: 9px; }
.community-cloud-fields input { min-width: 0; width: 100%; padding: 14px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #080b12; color: #fff; font: inherit; letter-spacing: normal; text-transform: none; }
.community-cloud-fields input:focus { outline: none; border-color: rgba(36,217,239,.55); box-shadow: 0 0 0 3px rgba(36,217,239,.08); }
.community-cloud-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.community-cloud-actions .community-save-button { width: auto; }
.community-cloud-actions > small { color: #8f95a3; font-size: 11px; line-height: 1.5; }
.community-cloud-list { display: grid; gap: 10px; margin-top: 18px; }
.community-cloud-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(5,8,14,.58); }
.community-cloud-item > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(36,217,239,.1); color: #24d9ef; }
.community-cloud-item strong, .community-cloud-item small { display: block; }
.community-cloud-item strong { color: #fff; }
.community-cloud-item small { margin-top: 4px; color: #8f95a3; font-size: 11px; }
.community-cloud-item > div:last-child { display: flex; gap: 8px; }
.community-cloud-item button { min-height: 40px; padding: 0 13px; border: 1px solid rgba(36,217,239,.25); border-radius: 12px; background: rgba(36,217,239,.08); color: #c8f9ff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.community-cloud-item button.is-danger { border-color: rgba(255,133,154,.25); background: rgba(255,133,154,.08); color: #ff9bae; }
.community-cloud-empty { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px dashed rgba(255,255,255,.12); border-radius: 16px; color: #8f95a3; font-size: 12px; }
@media (max-width: 800px) { .community-cloud-fields { grid-template-columns: 1fr; } .community-cloud-actions, .community-cloud-item { align-items: stretch; } .community-cloud-actions { flex-direction: column; } .community-cloud-actions .community-save-button { width: 100%; } .community-cloud-item { grid-template-columns: auto 1fr; } .community-cloud-item > div:last-child { grid-column: 1 / -1; } }
.community-editor-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.community-editor-title > .material-symbols-outlined { color: var(--rewards-cyan); }
.community-editor-title strong, .community-editor-title small { display: block; }
.community-editor-title strong { font: 700 18px "Space Grotesk"; }
.community-editor-title small { margin-top: 4px; color: var(--rewards-muted); font-size: 10px; }
.community-banner-preview { position: relative; height: clamp(150px, 20vw, 260px); overflow: hidden; border: 1px solid rgba(244,124,233,.2); border-radius: 21px; background: radial-gradient(circle at 72% 25%, rgba(36,217,239,.25), transparent 35%), radial-gradient(circle at 20% 80%, rgba(244,124,233,.24), transparent 40%), #090c14; }
.community-banner-preview img { width: 100%; height: 100%; object-fit: cover; }
.community-banner-preview > span { position: absolute; bottom: 16px; left: 18px; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.community-banner-preview > strong { position: absolute; right: clamp(18px,4vw,42px); bottom: clamp(18px,3vw,34px); max-width: 70%; color: #fff; font: 800 clamp(20px,3.5vw,46px)/.98 "Space Grotesk",sans-serif; letter-spacing: -.04em; text-align: right; text-shadow: 0 3px 22px rgba(0,0,0,.8); }
.community-media-control--background { position: relative; overflow: hidden; }
.community-background-preview { grid-column: 1 / -1; position: relative; min-height: 116px; overflow: hidden; margin: -8px -8px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: radial-gradient(circle at 72% 25%,rgba(36,217,239,.2),transparent 42%),radial-gradient(circle at 20% 80%,rgba(244,124,233,.2),transparent 44%),#080b12; }
.community-background-preview.has-image { background: linear-gradient(rgba(5,7,12,.18),rgba(5,7,12,.38)),var(--background-preview-image) center / cover no-repeat; }
.community-background-preview > span { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(5,7,12,.7); color: #e8eaf0; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.community-background-preview i { color: var(--rewards-cyan); font-size: 14px; }
.community-avatar-editor { display: flex; align-items: center; gap: 16px; margin: -38px 18px 0; position: relative; z-index: 2; }
.community-avatar-editor p { max-width: 650px; margin: 5px 0 0; color: var(--rewards-muted); font-size: 10px; }
.community-avatar-preview { display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; flex: 0 0 auto; border: 5px solid #11141f; border-radius: 50%; background: linear-gradient(135deg, var(--rewards-pink), var(--rewards-cyan)); color: #070912; font: 800 18px "Space Grotesk"; }
.community-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.community-media-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; width: min(1180px,100%); margin: 24px auto 0; }
.community-file-button, .community-subtle-button, .community-save-button, .community-profile-open { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border: 1px solid var(--rewards-line); border-radius: 13px; background: rgba(255,255,255,.035); color: #e8eaf0; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.community-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.community-save-button { border: 0; background: linear-gradient(105deg, var(--rewards-pink), var(--rewards-cyan)); color: #071018; }
.community-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.community-form-grid label:not(.community-toggle), .community-editor-card fieldset { display: grid; gap: 7px; color: #d9dce5; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.community-form-grid .is-wide { grid-column: 1 / -1; }
.community-form-grid input, .community-form-grid select, .community-form-grid textarea { width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid var(--rewards-line); border-radius: 13px; outline: none; background: rgba(0,0,0,.2); color: white; font: 500 13px "Manrope"; letter-spacing: 0; text-transform: none; }
.community-form-grid textarea { resize: vertical; }
.community-form-grid input:focus, .community-form-grid select:focus, .community-form-grid textarea:focus { border-color: var(--rewards-cyan); box-shadow: 0 0 0 3px rgba(36,217,239,.08); }
.community-form-grid option { background: #10131e; }
.community-form-grid label > small { justify-self: end; color: var(--rewards-muted); font-size: 9px; }
.community-editor-card fieldset { margin: 17px 0 0; padding: 0; border: 0; }
.community-chip-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.community-chip-picker label { cursor: pointer; }
.community-chip-picker input { position: absolute; opacity: 0; pointer-events: none; }
.community-chip-picker span { display: inline-flex; min-height: 38px; align-items: center; padding: 0 13px; border: 1px solid var(--rewards-line); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--rewards-muted); font-size: 10px; text-transform: none; transition: .2s ease; }
.community-chip-picker input:checked + span { border-color: rgba(244,124,233,.55); background: rgba(244,124,233,.13); color: white; box-shadow: 0 0 18px rgba(244,124,233,.08); }
.community-toggle { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--rewards-line); border-radius: 13px; color: var(--rewards-muted); font-size: 11px; }
.community-toggle input { width: 18px; height: 18px; accent-color: var(--rewards-pink); }
.community-visibility-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.community-visibility-item { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; align-items: center; padding: 11px; border: 1px solid var(--rewards-line); border-radius: 14px; background: rgba(0,0,0,.15); }
.community-visibility-item span { font-size: 10px; font-weight: 700; }
.community-visibility-item i { color: var(--rewards-muted); font-size: 8px; font-style: normal; }
.community-visibility-item input { grid-row: 1 / 3; grid-column: 2; width: 17px; height: 17px; accent-color: var(--rewards-cyan); }
.community-favorite-selected { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.community-favorite-card { overflow: hidden; border: 1px solid var(--rewards-line); border-radius: 16px; background: rgba(0,0,0,.18); }
.community-favorite-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.community-favorite-card > div { display: grid; gap: 6px; padding: 10px; }
.community-favorite-card strong { overflow: hidden; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.community-favorite-card label { color: var(--rewards-muted); font-size: 8px; }
.community-favorite-card button { justify-self: start; padding: 0; border: 0; background: transparent; color: var(--rewards-danger); cursor: pointer; font-size: 8px; }
.community-favorite-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; max-height: 460px; margin-top: 15px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--rewards-pink) transparent; }
.community-gallery-choice { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--rewards-line); border-radius: 15px; background: #090c13; color: white; cursor: pointer; }
.community-gallery-choice img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .72; }
.community-gallery-choice span { display: block; overflow: hidden; padding: 8px; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.community-gallery-choice i { position: absolute; top: 8px; right: 8px; font-size: 20px; }
.community-gallery-choice.is-selected { border-color: var(--rewards-cyan); box-shadow: inset 0 0 0 2px var(--rewards-cyan); }
.community-gallery-choice.is-selected img { opacity: 1; }
.community-profile-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.community-achievement-list, .community-notification-list { display: grid; gap: 9px; margin-top: 13px; }
.community-achievement-list > span, .community-notification-list > button { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 12px; border: 1px solid var(--rewards-line); border-radius: 14px; background: rgba(255,255,255,.022); color: #fff; text-align: left; }
.community-achievement-list i { color: var(--rewards-gold); }
.community-notification-list > button { display: grid; cursor: pointer; }
.community-notification-list small { color: var(--rewards-muted); }
.community-notification-list .is-read { opacity: .55; }
.community-friend-request { display: grid; gap: 9px; padding: 12px; border: 1px solid rgba(244,124,233,.25); border-radius: 14px; background: rgba(244,124,233,.07); }
.community-friend-request strong,.community-friend-request small { display: block; }
.community-friend-request small { margin-top: 3px; color: var(--rewards-muted); font-size: 10px; }
.community-friend-request > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.community-friend-request button { min-height: 36px; border: 1px solid var(--rewards-line); border-radius: 10px; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; font-weight: 800; }
.community-friend-request p { margin: 3px 0 0; color: var(--rewards-muted); font-size: 10px; }
.community-friend-request button .material-symbols-outlined { margin-right: 4px; font-size: 15px; vertical-align: -3px; }
.rewards-friend-requests { display: grid; gap: 10px; width: min(560px,100%); margin: 14px 0 18px auto; }
.rewards-friend-requests[hidden] { display: none; }
.community-friend-request--prominent { position: relative; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 15px; overflow: hidden; padding: 16px; border-color: rgba(244,124,233,.4); border-radius: 20px; background: linear-gradient(125deg,rgba(244,124,233,.15),rgba(36,217,239,.08) 68%,rgba(10,13,21,.94)); box-shadow: 0 18px 55px rgba(0,0,0,.28),0 0 30px rgba(244,124,233,.08); animation: communityFriendRequestIn .42s cubic-bezier(.2,.75,.25,1) both; }
.community-friend-request--prominent::after { content: ""; position: absolute; inset: auto -40px -55px auto; width: 150px; height: 100px; border-radius: 50%; background: rgba(36,217,239,.12); filter: blur(24px); pointer-events: none; }
.community-friend-request--prominent > .material-symbols-outlined { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(36,217,239,.28); border-radius: 15px; background: rgba(36,217,239,.1); color: var(--rewards-cyan); font-size: 25px; box-shadow: inset 0 0 20px rgba(36,217,239,.08); }
.community-friend-request--prominent > div:first-of-type small { color: var(--rewards-pink); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.community-friend-request--prominent > div:first-of-type strong { margin-top: 4px; color: #fff; font: 700 16px "Space Grotesk",sans-serif; }
.community-friend-request--prominent > div:first-of-type p { font-size: 11px; }
.community-friend-request--prominent > div:last-child { display: flex; grid-template-columns: none; gap: 8px; position: relative; z-index: 1; }
.community-friend-request--prominent button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; }
.community-friend-request--prominent .is-accept { border-color: rgba(36,217,239,.4); background: linear-gradient(110deg,var(--rewards-pink),var(--rewards-cyan)); color: #071018; }
.community-friend-request--prominent .is-decline { background: rgba(7,9,15,.5); color: #d6dae4; }
@keyframes communityFriendRequestIn { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 700px) {
  .rewards-friend-requests { width: 100%; margin-top: 12px; }
  .community-friend-request--prominent { grid-template-columns: 42px minmax(0,1fr); }
  .community-friend-request--prominent > .material-symbols-outlined { width: 42px; height: 42px; }
  .community-friend-request--prominent > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
}
.community-empty-inline { padding: 13px; border: 1px dashed var(--rewards-line); border-radius: 14px; color: var(--rewards-muted); font-size: 10px; text-align: center; }
.community-profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.community-media-control { display: grid; grid-template-columns: 46px minmax(0,1fr); align-content: start; align-items: center; gap: 8px 13px; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018)); }
.community-media-control > .material-symbols-outlined { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(36,217,239,.2); border-radius: 14px; background: rgba(36,217,239,.08); color: var(--rewards-cyan); font-size: 24px; }
.community-media-control > div:nth-child(2) strong,.community-media-control > div:nth-child(2) small { display: block; }
.community-media-control > div:nth-child(2) strong { color: #fff; font-size: 14px; }
.community-media-control > div:nth-child(2) small { margin-top: 2px; color: var(--rewards-muted); font-size: 10px; }
.community-media-control > div:last-child { grid-column: 1 / -1; margin-top: 6px; }
.community-media-buttons { display: grid; gap: 8px; }
.community-media-control .community-file-button,.community-media-control .community-subtle-button { width: 100%; justify-content: center; margin: 0; }
.community-media-control .community-subtle-button { display: inline-flex; align-items: center; gap: 6px; color: #ffabb9; }
.community-media-control .community-subtle-button .material-symbols-outlined { font-size: 16px; }
.community-media-control .community-file-button .material-symbols-outlined { margin-right: 6px; font-size: 17px; }
.community-theme-editor { grid-column: 1 / -1; }
.community-theme-presets { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.community-theme-presets label { cursor: pointer; }
.community-theme-presets input { position: absolute; opacity: 0; pointer-events: none; }
.community-theme-presets span { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; min-height: 74px; padding: 12px; border: 1px solid var(--rewards-line); border-radius: 16px; background: rgba(255,255,255,.025); transition: .2s ease; }
.community-theme-presets i { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#f47ce9,#24d9ef); box-shadow: 0 0 18px rgba(244,124,233,.24); }
.community-theme-presets label:nth-child(2) i { background: linear-gradient(135deg,#668cff,#a777ff); }
.community-theme-presets label:nth-child(3) i { background: linear-gradient(135deg,#f3c378,#e783a9); }
.community-theme-presets label:nth-child(4) i { background: linear-gradient(135deg,#32e0c4,#5fcf80); }
.community-theme-presets label:nth-child(5) i { background: linear-gradient(135deg,#ff7db8,#ffd1e8); }
.community-theme-presets label:nth-child(6) i { background: linear-gradient(135deg,#f7c779,#fff1bf); }
.community-theme-presets label:nth-child(7) i { background: linear-gradient(135deg,#d36cff,#57d9ff); }
.community-theme-presets label:nth-child(8) i { background: linear-gradient(135deg,#9be8ff,#ffffff); }
.community-theme-presets strong,.community-theme-presets small { display: block; }
.community-theme-presets strong { color: #fff; font-size: 11px; }
.community-theme-presets small { color: var(--rewards-muted); font-size: 9px; }
.community-theme-presets input:checked + span { border-color: var(--rewards-cyan); background: rgba(36,217,239,.08); box-shadow: 0 0 0 2px rgba(36,217,239,.08),0 14px 35px rgba(0,0,0,.22); transform: translateY(-2px); }
.community-theme-colors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.community-theme-colors label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 10px 12px; border: 1px solid var(--rewards-line); border-radius: 15px; color: #d9dce5; font-size: 10px; font-weight: 800; }
.community-theme-colors input { width: 44px; height: 32px; padding: 0; overflow: hidden; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }

.community-privacy-choices { margin: 0; padding: 0; border: 0; }
.community-privacy-choices legend { margin-bottom: 10px; color: #d8dbe4; font-size: 12px; font-weight: 700; }
.community-privacy-choices > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.community-privacy-choices label { position: relative; display: grid !important; grid-template-columns: 38px 1fr; align-items: center; gap: 3px 10px; min-height: 112px; margin: 0 !important; padding: 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(255,255,255,.025); cursor: pointer; transition: border-color .2s ease,background .2s ease,transform .2s ease; }
.community-privacy-choices label:hover { border-color: rgba(244,124,233,.35); transform: translateY(-2px); }
.community-privacy-choices input { position: absolute; opacity: 0; pointer-events: none; }
.community-privacy-choices .material-symbols-outlined { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.055); color: var(--rewards-muted); font-size: 20px; }
.community-privacy-choices strong,.community-privacy-choices small { display: block; }
.community-privacy-choices strong { color: #f5f5f8; font-size: 12px; line-height: 1.3; }
.community-privacy-choices small { color: var(--rewards-muted); font-size: 10px; line-height: 1.4; }
.community-privacy-choices label:has(input:checked) { border-color: rgba(36,217,239,.42); background: linear-gradient(135deg,rgba(244,124,233,.12),rgba(36,217,239,.09)); box-shadow: inset 0 0 0 1px rgba(244,124,233,.1),0 12px 34px rgba(36,217,239,.06); }
.community-privacy-choices label:has(input:checked) .material-symbols-outlined { background: linear-gradient(135deg,var(--rewards-pink),var(--rewards-cyan)); color: #070912; }
.community-editor-card--privacy.is-publish-target { border-color: rgba(36,217,239,.58); box-shadow: 0 0 0 3px rgba(36,217,239,.08),0 22px 58px rgba(36,217,239,.1); }
.community-publish-dialog { position: fixed; width: min(520px,calc(100vw - 28px)); padding: 34px; overflow: hidden; border: 1px solid rgba(244,124,233,.36); border-radius: 26px; background: linear-gradient(145deg,rgba(22,18,34,.98),rgba(8,17,28,.98)); color: #f7f7fb; box-shadow: 0 28px 100px rgba(0,0,0,.62),0 0 70px rgba(36,217,239,.09); }
.community-publish-dialog::backdrop { background: rgba(2,4,10,.76); backdrop-filter: blur(9px); }
.community-publish-dialog__glow { position: absolute; inset: -45% -25% auto 35%; height: 240px; border-radius: 50%; background: radial-gradient(circle,rgba(244,124,233,.2),rgba(36,217,239,.08) 48%,transparent 72%); pointer-events: none; }
.community-publish-dialog__icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border: 1px solid rgba(36,217,239,.34); border-radius: 18px; background: linear-gradient(135deg,rgba(244,124,233,.2),rgba(36,217,239,.15)); color: var(--rewards-cyan); box-shadow: 0 14px 35px rgba(36,217,239,.1); }
.community-publish-dialog__icon .material-symbols-outlined { font-size: 29px; }
.community-publish-dialog h2 { position: relative; margin: 8px 0 10px; font: 700 clamp(25px,4vw,36px)/1.05 "Space Grotesk"; letter-spacing: -.045em; }
.community-publish-dialog p { position: relative; margin: 0; color: #b9bdc9; font-size: 14px; line-height: 1.65; }
.community-publish-dialog__actions { position: relative; display: grid; grid-template-columns: minmax(120px,.7fr) minmax(190px,1.3fr); gap: 12px; margin-top: 26px; }
.community-publish-dialog__actions button { min-height: 50px; justify-content: center; }
.community-toggle { min-height: 58px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.022); }
.community-toggle:has(input:checked) { border-color: rgba(36,217,239,.3); background: rgba(36,217,239,.07); }
.community-visibility-item { cursor: pointer; transition: border-color .2s ease,background .2s ease; }
.community-visibility-item:has(input:checked) { border-color: rgba(244,124,233,.32); background: rgba(244,124,233,.07); }

body.rewards-page .seventeen-chat.is-floating { top: 94px; right: clamp(14px,2vw,28px); z-index: 90; }
.community-form-message { min-height: 22px; margin: -7px 0 0; color: var(--rewards-success); font-size: 11px; }
.community-form-message.is-error { color: var(--rewards-danger); }
.community-profile-open { width: 100%; margin-top: 13px; gap: 7px; color: var(--rewards-cyan); }
.rewards-community-profiles .community-profile-open { grid-column: 1; width: fit-content; min-width: 170px; margin-top: 0; }
.community-profile-open .material-symbols-outlined { font-size: 16px; }

.rewards-dashboard.is-viewing-public-profile > :not([data-public-profile-view]) { display: none !important; }
.community-public-profile { --profile-accent: var(--rewards-pink); --profile-glow: var(--rewards-cyan); --profile-surface: #111622; position: relative; isolation: isolate; display: grid; gap: 18px; padding: clamp(12px,2vw,24px); overflow: hidden; border-radius: 30px; background: radial-gradient(circle at 12% 8%,color-mix(in srgb,var(--profile-accent) 18%,transparent),transparent 32%),radial-gradient(circle at 88% 28%,color-mix(in srgb,var(--profile-glow) 14%,transparent),transparent 36%),#080b12; }
.community-public-profile::before { content:""; position: absolute; z-index: -2; inset: 0; background: var(--profile-background-image,none) center/cover fixed; opacity: .48; filter: saturate(1.08); }
.community-public-profile::after { content:""; position: absolute; z-index: -1; inset: 0; background: rgba(5,7,12,.52); backdrop-filter: blur(1px); }
.community-back-link { display: inline-flex; align-items: center; gap: 7px; width: max-content; color: var(--rewards-cyan); font-size: 11px; font-weight: 800; }
.community-public-hero { position: relative; overflow: hidden; min-height: 410px; border: 1px solid rgba(244,124,233,.2); border-radius: 30px; background: #0c1019; }
.community-public-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .56; }
.community-public-banner.is-placeholder { background: radial-gradient(circle at 80% 20%, rgba(36,217,239,.25), transparent 40%), radial-gradient(circle at 18% 90%, rgba(244,124,233,.3), transparent 45%), #080b12; }
.community-public-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, rgba(5,6,11,.95)); }
.community-public-identity { position: absolute; z-index: 2; right: clamp(22px,4vw,60px); bottom: clamp(24px,4vw,50px); left: clamp(22px,4vw,60px); display: flex; align-items: flex-end; gap: 20px; }
.community-public-avatar { display: grid; place-items: center; width: 108px; height: 108px; flex: 0 0 auto; border: 5px solid #0b0e16; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg,var(--rewards-pink),var(--rewards-cyan)); color: #071018; font: 800 22px "Space Grotesk"; }
.community-public-identity h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 3px 0; font: 700 clamp(32px,5vw,64px)/1 "Space Grotesk"; }
.community-profile-reward-badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 12px 8px 8px; border: 1px solid rgba(255,205,107,.3); border-radius: 999px; background: linear-gradient(135deg,rgba(13,18,30,.96),rgba(35,25,18,.92)); box-shadow: 0 10px 28px rgba(0,0,0,.32),0 0 22px rgba(255,197,91,.1); color: #f6d99b; font: 800 12px/1.15 "Space Grotesk",sans-serif; letter-spacing: .04em; vertical-align: middle; }
.community-profile-reward-badge img { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; transform: scale(1.16); clip-path: circle(43% at 50% 50%); filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.community-profile-reward-badge.is-compact { padding: 4px 10px 4px 4px; font-size: 10px; }
.community-profile-reward-badge.is-compact img { width: 38px; height: 38px; }
.community-profile-reward-badge.is-vip { border-color: rgba(255,205,107,.62); box-shadow: 0 12px 36px rgba(0,0,0,.38),0 0 28px rgba(255,197,91,.2); color: #ffe7ad; letter-spacing: .18em; }
.community-public-vip-badge { position: absolute; z-index: 3; top: clamp(20px,3vw,42px); right: clamp(20px,3vw,42px); }
.community-public-hero.has-vip .community-public-banner-title { top: clamp(92px,9vw,124px); }
.rewards-earned-profile-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rewards-earned-profile-badges[hidden] { display: none; }
.community-public-rewards > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 14px; margin-top: 16px; }
.community-public-rewards article { min-width: 0; padding: 16px; border: 1px solid rgba(255,205,107,.16); border-radius: 20px; background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,194,75,.025)); }
.community-public-rewards article p { margin: 14px 0 7px; color: #d7d8df; line-height: 1.55; }
.community-public-rewards article small { color: #969aa6; }
.community-public-identity p { margin: 7px 0; color: #d4d6de; }
.community-public-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.community-public-meta span, .community-public-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(5,6,11,.5); font-size: 9px; font-weight: 700; }
.community-public-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.community-public-card { padding: clamp(20px,3vw,30px); border: 1px solid color-mix(in srgb,var(--profile-accent) 22%,rgba(255,255,255,.08)); border-radius: 24px; background: color-mix(in srgb,var(--profile-surface) 88%,transparent); box-shadow: 0 18px 50px rgba(0,0,0,.24); backdrop-filter: blur(16px); }
.community-social-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; border: 1px solid color-mix(in srgb,var(--profile-accent) 28%,transparent); border-radius: 18px; background: color-mix(in srgb,var(--profile-surface) 88%,transparent); }
.community-social-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 1px solid color-mix(in srgb,var(--profile-glow) 32%,transparent); border-radius: 13px; background: color-mix(in srgb,var(--profile-glow) 10%,transparent); color: #fff; cursor: pointer; font-weight: 800; }
.community-social-button.is-primary { border: 0; background: linear-gradient(110deg,var(--profile-accent),var(--profile-glow)); color: #071018; }
.community-social-button.is-pending { border-color: rgba(243,195,120,.38); background: rgba(243,195,120,.1); color: #f3c378; }
.community-social-button.is-following { border-color: rgba(36,217,239,.38); background: rgba(36,217,239,.1); color: #c8fbff; }
.community-friend-list { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.community-friend-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 5px 10px 5px 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(0,0,0,.2); font-size: 9px; }
.community-friend-chip img,.community-friend-chip i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg,var(--profile-accent),var(--profile-glow)); color: #071018; font-style: normal; }
.community-guestbook-form { display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; margin-top: 15px; }
.community-guestbook-form select,.community-guestbook-form textarea { min-height: 46px; padding: 11px 12px; border: 1px solid var(--rewards-line); border-radius: 13px; background: rgba(0,0,0,.3); color: #fff; font: inherit; }
.community-guestbook-form button { min-height: 46px; padding: 0 17px; border: 0; border-radius: 13px; background: linear-gradient(110deg,var(--profile-accent),var(--profile-glow)); color: #071018; cursor: pointer; font-weight: 900; }
.community-public-card > p { color: #c0c4cf; }
.community-public-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.community-public-achievement { display: flex; gap: 11px; margin-top: 13px; }
.community-public-achievement i { color: var(--rewards-gold); }
.community-public-achievement strong, .community-public-achievement small { display: block; }
.community-public-achievement small { color: var(--rewards-muted); }
.community-public-favorites > div { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 15px; }
.community-public-favorites a { overflow: hidden; border: 1px solid var(--rewards-line); border-radius: 16px; }
.community-public-favorites img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.community-public-favorites strong { display: block; overflow: hidden; padding: 10px; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.community-public-activity, .community-public-reviews { display: grid; gap: 10px; margin-top: 14px; }
.community-public-activity > span { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.community-public-activity i { width: 7px; height: 7px; border-radius: 50%; background: var(--rewards-cyan); box-shadow: 0 0 10px var(--rewards-cyan); }
.community-public-activity strong { display: block; line-height: 1.35; }
.community-public-activity p { margin: 4px 0 0; color: var(--rewards-muted); font-size: 12px; line-height: 1.5; }
.community-public-activity small { color: var(--rewards-muted); }
.community-public-reviews { grid-template-columns: repeat(2,1fr); }
.community-public-reviews blockquote { margin: 0; padding: 15px; border: 1px solid var(--rewards-line); border-radius: 16px; }
.community-public-reviews blockquote strong { color: var(--rewards-gold); }
.community-public-reviews blockquote p { margin: 7px 0; }
.community-public-reviews blockquote small { color: var(--rewards-muted); }
.community-public-safety { display: flex; justify-content: flex-end; gap: 10px; }
.community-public-safety button { border: 0; background: transparent; color: var(--rewards-muted); cursor: pointer; font-size: 9px; text-decoration: underline; }
.community-preview-note { color: var(--rewards-cyan); text-align: center; }

.community-cropper { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(2,3,7,.82); backdrop-filter: blur(16px); }
.community-cropper-card { width: min(780px,100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: clamp(20px,4vw,30px); border: 1px solid rgba(244,124,233,.35); border-radius: 24px; background: #111520; box-shadow: 0 30px 90px rgba(0,0,0,.65); scrollbar-color: rgba(36,217,239,.48) transparent; }
.community-cropper-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.community-cropper-head h3 { margin: 7px 0 5px; font: 700 clamp(22px,4vw,32px)/1.1 "Space Grotesk",sans-serif; }
.community-cropper-head p { margin: 0; color: var(--rewards-muted); font-size: 12px; }
.community-cropper-close { display: grid; place-items: center; width: 42px; min-width: 42px; padding: 0 !important; border-radius: 50% !important; }
.community-cropper-preview { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 5 / 2; overflow: hidden; margin: 20px 0; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #05060b; box-shadow: inset 0 0 30px rgba(0,0,0,.55); }
.community-cropper-preview.is-avatar { width: min(360px,100%); aspect-ratio: 1; margin-right: auto; margin-left: auto; border-radius: 50%; }
.community-cropper-preview.is-background { aspect-ratio: 8 / 5; }
.community-cropper-preview canvas { display: block; width: 100%; height: 100%; }
.community-cropper-grid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,transparent 33.1%,rgba(255,255,255,.15) 33.3%,rgba(255,255,255,.15) 33.6%,transparent 33.8%,transparent 66.2%,rgba(255,255,255,.15) 66.4%,rgba(255,255,255,.15) 66.7%,transparent 66.9%),linear-gradient(transparent 33.1%,rgba(255,255,255,.15) 33.3%,rgba(255,255,255,.15) 33.6%,transparent 33.8%,transparent 66.2%,rgba(255,255,255,.15) 66.4%,rgba(255,255,255,.15) 66.7%,transparent 66.9%); opacity: .55; }
.community-cropper-controls { display: grid; gap: 13px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(0,0,0,.18); }
.community-cropper-card label { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 14px; margin: 0; color: var(--rewards-muted); font-size: 11px; }
.community-cropper-card label > span { display: flex; align-items: center; gap: 7px; color: #eef1f7; font-weight: 700; }
.community-cropper-card label i { color: var(--rewards-cyan); font-size: 18px; font-style: normal; }
.community-cropper-card output { margin-left: auto; color: var(--rewards-cyan); font-variant-numeric: tabular-nums; }
.community-cropper-card input[type="range"] { width: 100%; accent-color: var(--rewards-cyan); cursor: ew-resize; }
.community-cropper-actions { display: grid; grid-template-columns: auto 1fr auto auto; gap: 9px; margin-top: 18px; }
.community-cropper-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.community-cropper-card button { min-height: 42px; padding: 0 15px; border: 1px solid var(--rewards-line); border-radius: 12px; background: rgba(255,255,255,.05); color: white; cursor: pointer; }
.community-cropper-card [data-crop-save] { border: 0; background: linear-gradient(105deg,var(--rewards-pink),var(--rewards-cyan)); color: #071018; font-weight: 800; }

body.is-points-hub-open { overflow: hidden; }
.rewards-points-dialog { width: min(1220px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 1px solid rgba(244,124,233,.32); border-radius: 30px; background: #090c14; color: var(--rewards-text); box-shadow: 0 35px 110px rgba(0,0,0,.78),0 0 50px rgba(36,217,239,.08); }
.rewards-points-dialog::backdrop { background: rgba(2,3,7,.82); backdrop-filter: blur(14px); }
.rewards-points-hub { max-height: calc(100dvh - 34px); overflow-y: auto; padding: clamp(22px,4vw,46px); scrollbar-width: thin; scrollbar-color: var(--rewards-pink) rgba(255,255,255,.035); background: radial-gradient(circle at 8% 2%,rgba(244,124,233,.13),transparent 28%),radial-gradient(circle at 96% 18%,rgba(36,217,239,.1),transparent 28%),#090c14; }
.rewards-points-hub::-webkit-scrollbar { width: 7px; }
.rewards-points-hub::-webkit-scrollbar-thumb { border-radius: 99px; background: linear-gradient(var(--rewards-pink),var(--rewards-cyan)); }
.rewards-points-hub-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.rewards-points-hub-head h2 { margin: 8px 0 7px; font: 700 clamp(30px,4vw,50px)/1 "Space Grotesk"; letter-spacing: -.045em; }
.rewards-points-hub-head p { max-width: 700px; margin: 0; color: var(--rewards-muted); font-size: 14px; }
.rewards-points-hub-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 30px 0 18px; }
.rewards-points-hub-summary article { position: relative; min-height: 150px; overflow: hidden; padding: 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018)); }
.rewards-points-hub-summary article::after { content: ""; position: absolute; right: -25px; bottom: -38px; width: 100px; height: 100px; border-radius: 50%; background: var(--rewards-pink); opacity: .09; filter: blur(30px); }
.rewards-points-hub-summary article:nth-child(even)::after { background: var(--rewards-cyan); }
.rewards-points-hub-summary .material-symbols-outlined { color: var(--rewards-cyan); font-size: 25px; }
.rewards-points-hub-summary small,.rewards-points-hub-summary strong,.rewards-points-hub-summary p { display: block; position: relative; z-index: 1; }
.rewards-points-hub-summary small { margin-top: 14px; color: var(--rewards-muted); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.rewards-points-hub-summary strong { margin-top: 3px; font: 700 clamp(22px,2vw,30px) "Space Grotesk"; }
.rewards-points-hub-summary p { margin: 3px 0 0; color: var(--rewards-muted); font-size: 10px; }
.rewards-hub-section { margin-top: 18px; padding: clamp(20px,3vw,30px); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: rgba(14,18,28,.78); }
.rewards-hub-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.rewards-hub-section-heading > div { display: flex; align-items: center; gap: 13px; }
.rewards-hub-section-heading > div > .material-symbols-outlined { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid rgba(36,217,239,.23); border-radius: 14px; background: linear-gradient(135deg,rgba(244,124,233,.12),rgba(36,217,239,.1)); color: var(--rewards-cyan); }
.rewards-hub-section-heading small { color: var(--rewards-pink); font-size: 8px; font-weight: 900; letter-spacing: .2em; }
.rewards-hub-section-heading h3 { margin: 2px 0; font: 700 clamp(20px,2vw,28px) "Space Grotesk"; }
.rewards-hub-section-heading p { margin: 0; color: var(--rewards-muted); font-size: 11px; }
.rewards-hub-section-heading > span { align-self: center; padding: 7px 10px; border: 1px solid rgba(36,217,239,.2); border-radius: 999px; color: var(--rewards-cyan); font-size: 9px; font-weight: 800; }
.rewards-source-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 16px; }
.rewards-source-filters button { min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--rewards-muted); cursor: pointer; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.rewards-source-filters button[aria-pressed="true"] { border-color: rgba(36,217,239,.38); background: rgba(36,217,239,.12); color: var(--rewards-cyan); }
.rewards-source-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.rewards-source-card { padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.025); }
.rewards-source-card-head { display: grid; grid-template-columns: 42px 1fr auto; align-items: start; gap: 12px; }
.rewards-source-card-head > .material-symbols-outlined { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(36,217,239,.09); color: var(--rewards-cyan); }
.rewards-source-card h4,.rewards-hub-mission h4,.rewards-hub-reward h4 { margin: 0; font: 700 15px "Space Grotesk"; }
.rewards-source-card p,.rewards-hub-mission p,.rewards-hub-reward p { margin: 4px 0 0; color: var(--rewards-muted); font-size: 10px; line-height: 1.55; }
.rewards-source-card-head > strong { color: var(--rewards-success); font: 700 13px "Space Grotesk"; white-space: nowrap; }
.rewards-source-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rewards-source-meta span { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.045); color: #dce1ec; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.rewards-source-meta span.is-available { background: rgba(36,217,239,.1); color: var(--rewards-cyan); }
.rewards-source-meta span.is-completed { background: rgba(104,224,176,.1); color: var(--rewards-success); }
.rewards-source-meta span.is-limited { background: rgba(255,181,107,.1); color: #ffd29a; }
.rewards-source-requirement { display: flex; align-items: flex-start; gap: 7px; margin-top: 11px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(5,8,15,.45); color: var(--rewards-muted); font-size: 10px; line-height: 1.45; }
.rewards-source-requirement .material-symbols-outlined { flex: 0 0 auto; color: var(--rewards-cyan); font-size: 15px; }
.rewards-source-status { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; color: #d9dce6; font-size: 9px; font-weight: 700; }
.rewards-source-track,.rewards-hub-progress { height: 7px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.rewards-source-track span,.rewards-hub-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--rewards-pink),var(--rewards-cyan)); box-shadow: 0 0 14px rgba(36,217,239,.25); }
.rewards-source-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rewards-source-tags span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; color: var(--rewards-muted); font-size: 8px; }
.rewards-source-tags i { color: var(--rewards-cyan); font-size: 12px; font-style: normal; }
.rewards-hub-mission-list,.rewards-hub-reward-grid { display: grid; gap: 10px; }
.rewards-hub-mission,.rewards-hub-reward { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 15px; border: 1px solid rgba(255,255,255,.075); border-radius: 17px; background: rgba(255,255,255,.022); }
.rewards-hub-mission > .material-symbols-outlined,.rewards-hub-reward > .material-symbols-outlined { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(244,124,233,.09); color: var(--rewards-pink); }
.rewards-hub-mission-title { display: flex; justify-content: space-between; gap: 12px; }
.rewards-hub-mission-title strong,.rewards-hub-mission > b,.rewards-hub-reward > strong { color: var(--rewards-cyan); font: 700 11px "Space Grotesk"; white-space: nowrap; }
.rewards-hub-mission > i { color: var(--rewards-success); font-style: normal; }
.rewards-hub-mission.is-complete { border-color: rgba(104,224,176,.22); background: rgba(104,224,176,.045); }
.rewards-hub-reward.is-ready { border-color: rgba(36,217,239,.25); background: linear-gradient(110deg,rgba(36,217,239,.07),rgba(244,124,233,.04)); }
.rewards-hub-reward small { display: block; margin-top: 7px; color: #d2d6e0; font-size: 9px; }

@media (max-width: 800px) {
  .rewards-points-hub-summary,.rewards-source-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .rewards-points-dialog { width: calc(100% - 14px); max-height: calc(100dvh - 14px); border-radius: 22px; }
  .rewards-points-hub { max-height: calc(100dvh - 16px); padding: 18px 14px 28px; }
  .rewards-points-hub-head h2 { font-size: 29px; }
  .rewards-points-hub-summary { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rewards-points-hub-summary article { min-height: 132px; padding: 15px; }
  .rewards-hub-section { padding: 17px 13px; }
  .rewards-hub-section-heading { align-items: flex-start; flex-direction: column; }
  .rewards-source-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rewards-source-filters button { width: 100%; }
  .rewards-source-grid { grid-template-columns: 1fr; }
  .rewards-source-card-head { grid-template-columns: 38px 1fr; }
  .rewards-source-card-head > strong { grid-column: 2; }
  .rewards-source-status { align-items: flex-start; flex-direction: column; gap: 3px; }
  .rewards-hub-mission,.rewards-hub-reward { grid-template-columns: 38px minmax(0,1fr); }
  .rewards-hub-mission > b,.rewards-hub-mission > i,.rewards-hub-reward > strong { grid-column: 2; justify-self: start; }
}

/* Seventeen Social Core */
.social-navigation {
  position: sticky;
  top: 82px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 1500px;
  margin: 0 auto 22px;
  padding: 9px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(36,217,239,.34) transparent;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(7,9,16,.88);
  box-shadow: 0 18px 55px rgba(0,0,0,.34);
  backdrop-filter: blur(22px);
}
.social-navigation > * {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: rgba(242,244,251,.68);
  font: 700 12px/1.1 Manrope,sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.social-navigation > *:hover,
.social-navigation > *.is-active { border-color: rgba(244,124,233,.3); background: rgba(244,124,233,.09); color: #fff; }
.social-navigation .material-symbols-outlined { font-size: 18px; }
.social-navigation small { color: #f4a4eb; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.social-navigation b { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; background: #20dcef; color: #041016; font-size: 10px; }

/* On the customer page, the profile navigation is the single entry point to the chat. */
.customer-community-page .seventeen-chat__launcher { display: none !important; }

.social-core,
.social-notifications {
  max-width: 1500px;
  margin: 0 auto 30px;
  padding: clamp(18px,2.4vw,34px);
  border: 1px solid rgba(244,124,233,.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 0%,rgba(244,124,233,.1),transparent 28%),
    radial-gradient(circle at 96% 12%,rgba(36,217,239,.08),transparent 25%),
    rgba(10,13,22,.9);
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.social-core-heading,
.social-notifications > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.social-core-heading h2,
.social-notifications h2 { margin: 4px 0 7px; color: #fff; font: 800 clamp(27px,3vw,44px)/1 Space Grotesk,sans-serif; letter-spacing: -.045em; }
.social-core-heading p,
.social-notifications p { max-width: 720px; margin: 0; color: rgba(231,234,244,.66); line-height: 1.65; }
.social-compose-trigger,
.social-notifications > header > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(115deg,#ee8ce7,#72bff6 58%,#21dcef);
  color: #071019;
  box-shadow: 0 14px 34px rgba(36,217,239,.14);
  font-weight: 900;
  cursor: pointer;
}

.social-composer {
  margin-bottom: 24px;
  padding: clamp(18px,2vw,28px);
  border: 1px solid rgba(36,217,239,.2);
  border-radius: 24px;
  background: linear-gradient(145deg,rgba(21,25,39,.98),rgba(8,11,19,.98));
  box-shadow: 0 20px 55px rgba(0,0,0,.34);
}
.social-composer-title { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.social-composer-title > .material-symbols-outlined { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(244,124,233,.12); color: #f49cea; }
.social-composer-title > div { display: grid; gap: 3px; min-width: 0; }
.social-composer-title strong { color: #fff; font-size: 18px; }
.social-composer-title small { color: rgba(230,233,243,.58); }
.social-composer-title > button { margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.social-composer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.social-composer-grid label { display: grid; gap: 8px; color: rgba(235,238,247,.72); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.social-composer-grid label.is-wide { grid-column: 1 / -1; }
.social-composer-grid input,
.social-composer-grid select,
.social-composer-grid textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: #0b0e17;
  color: #fff;
  font: 500 15px/1.55 Manrope,sans-serif;
}
.social-composer-grid input,
.social-composer-grid select { min-height: 48px; padding: 0 14px; }
.social-composer-grid textarea { resize: vertical; min-height: 120px; padding: 14px; }
.social-gallery-picker { margin: 20px 0 0; padding: 0; border: 0; }
.social-gallery-picker legend { margin-bottom: 11px; color: #fff; font-weight: 800; }
.social-gallery-picker legend small { color: rgba(226,229,240,.54); font-weight: 500; }
.social-gallery-open { display: grid; grid-template-columns: 42px minmax(0,1fr) 28px; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; background: linear-gradient(120deg,rgba(244,124,233,.08),rgba(11,14,23,.95) 46%,rgba(36,217,239,.07)); color: #fff; text-align: left; cursor: pointer; transition: border-color .2s ease,transform .2s ease,box-shadow .2s ease; }
.social-gallery-open:hover,.social-gallery-open:focus-visible { border-color: rgba(36,217,239,.4); box-shadow: 0 12px 28px rgba(0,0,0,.2); transform: translateY(-1px); }
.social-gallery-open > .material-symbols-outlined:first-child { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(244,124,233,.24); border-radius: 13px; background: rgba(244,124,233,.1); color: #f49cea; }
.social-gallery-open > span:not(.material-symbols-outlined) { display: grid; gap: 3px; min-width: 0; }
.social-gallery-open strong { font-size: 14px; }
.social-gallery-open small { overflow: hidden; color: rgba(226,229,240,.56); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.social-gallery-open > i { color: #6ee8f5; font-size: 19px; }
.social-gallery-selected { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; overflow-anchor: none; }
.social-gallery-selected button { display: grid; grid-template-columns: 96px minmax(0,1fr) 28px; align-items: center; gap: 10px; min-width: 0; min-height: 82px; padding: 8px; overflow: hidden; border: 1px solid rgba(36,217,239,.25); border-radius: 16px; background: rgba(8,11,18,.88); color: #fff; cursor: pointer; text-align: left; }
.social-gallery-selected-image { display: grid; place-items: center; width: 96px; height: 66px; overflow: hidden; border-radius: 12px; background: #03050a; }
.social-gallery-selected img { width: 100%; height: 100%; object-fit: contain; }
.social-gallery-selected-copy { display: grid; gap: 3px; min-width: 0; }
.social-gallery-selected-copy strong { overflow: hidden; color: #fff; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.social-gallery-selected-copy small { color: rgba(226,229,240,.56); font-size: 9px; font-weight: 700; }
.social-gallery-selected button i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(255,105,130,.12); color: #ffb3bf; font-size: 17px; }
.social-gallery-dialog { width: min(1040px,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 1px solid rgba(244,124,233,.28); border-radius: 28px; background: #090c14; color: var(--rewards-text); box-shadow: 0 35px 110px rgba(0,0,0,.78),0 0 48px rgba(36,217,239,.07); }
.social-gallery-dialog::backdrop { background: rgba(2,3,7,.84); backdrop-filter: blur(12px); }
.social-gallery-dialog-shell { display: grid; grid-template-rows: auto auto minmax(180px,1fr) auto; max-height: calc(100dvh - 32px); padding: clamp(18px,2.8vw,30px); }
.social-gallery-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.social-gallery-dialog-head h2 { margin: 7px 0 6px; font: 700 clamp(25px,3.5vw,38px)/1 "Space Grotesk",sans-serif; }
.social-gallery-dialog-head p { max-width: 640px; margin: 0; color: var(--rewards-muted); font-size: 13px; line-height: 1.55; }
.social-gallery-dialog-head > button { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.social-gallery-dialog-search { display: flex; align-items: center; gap: 9px; min-height: 46px; margin: 19px 0 14px; padding: 0 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0b0e17; color: rgba(255,255,255,.48); }
.social-gallery-dialog-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: 500 14px Manrope,sans-serif; }
.social-gallery-dialog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; overflow-y: auto; padding: 2px 6px 12px 2px; scrollbar-width: thin; scrollbar-color: rgba(244,124,233,.48) transparent; }
.social-gallery-dialog-grid > button { position: relative; display: grid; grid-template-rows: minmax(158px,1fr) auto; min-width: 0; min-height: 226px; padding: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(8,11,18,.9); color: #fff; cursor: pointer; text-align: left; }
.social-gallery-dialog-grid > button.is-selected { border-color: #25deef; box-shadow: inset 0 0 0 2px rgba(37,222,239,.55),0 0 22px rgba(37,222,239,.12); }
.social-gallery-dialog-image { display: grid; place-items: center; min-height: 158px; overflow: hidden; border-radius: 14px; background: #03050a; }
.social-gallery-dialog-grid img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; opacity: .9; transition: opacity .2s ease,transform .25s ease; }
.social-gallery-dialog-grid button:hover img,.social-gallery-dialog-grid button.is-selected img { opacity: 1; transform: scale(1.015); }
.social-gallery-dialog-card-copy { display: grid; gap: 3px; min-width: 0; padding: 10px 36px 0 2px; }
.social-gallery-dialog-card-copy strong { overflow: hidden; color: #fff; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.social-gallery-dialog-card-copy small { color: rgba(226,229,240,.58); font-size: 9px; font-weight: 700; }
.social-gallery-dialog-grid button i { position: absolute; right: 13px; bottom: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(4,6,11,.84); color: #fff; font-size: 19px; }
.social-gallery-dialog-grid button.is-selected i { background: #25deef; color: #071019; }
.social-gallery-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.social-gallery-dialog-footer strong { color: rgba(235,238,247,.65); font-size: 12px; }
.social-gallery-dialog-footer button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; background: linear-gradient(115deg,#ec8ae5,#22ddef); color: #081019; font-weight: 900; cursor: pointer; }
.social-challenge-board { margin: 0 0 22px; padding: clamp(18px,2.4vw,26px); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: linear-gradient(145deg,rgba(15,19,30,.98),rgba(8,11,18,.98)); box-shadow: 0 22px 68px rgba(0,0,0,.28); scroll-margin-top: 110px; }
.social-challenge-board__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.social-challenge-board__head h3 { margin: 7px 0 6px; color: #fff; font: 800 clamp(26px,3vw,38px)/1.08 "Space Grotesk",sans-serif; }
.social-challenge-board__head p { max-width: 760px; margin: 0; color: rgba(235,240,248,.68); font-size: 14px; line-height: 1.65; }
.social-challenge-board__layout { display: grid; grid-template-columns: minmax(320px,.92fr) minmax(0,1.25fr); gap: 18px; }
.social-challenge-card,.social-challenge-entries { border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background: rgba(9,13,21,.86); }
.social-challenge-card { padding: 18px; }
.social-challenge-copy { display: grid; gap: 8px; margin-bottom: 16px; }
.social-challenge-copy strong { color: #fff; font: 800 19px/1.2 "Space Grotesk",sans-serif; }
.social-challenge-copy p,.social-challenge-copy small { color: rgba(233,238,246,.7); line-height: 1.65; }
.social-challenge-form { display: grid; gap: 14px; }
.social-challenge-selection .social-gallery-open { width: 100%; }
.social-gallery-selected--challenge { margin-top: 12px; }
.social-challenge-caption { display: grid; gap: 8px; color: #fff; font-size: 13px; font-weight: 700; }
.social-challenge-caption textarea { width: 100%; min-height: 110px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #0b0e17; color: #fff; font: 500 14px/1.6 Manrope,sans-serif; resize: vertical; }
.social-challenge-caption small { color: rgba(225,230,240,.56); font-size: 11px; font-weight: 700; }
.social-challenge-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.social-challenge-actions > p { margin: 0; color: rgba(225,230,240,.7); font-size: 12px; line-height: 1.5; }
.social-challenge-actions > p.is-error { color: #ff9bb0; }
.social-challenge-actions > button,.social-challenge-entry__copy footer button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: linear-gradient(115deg,#ec8ae5,#22ddef); color: #071019; font-weight: 900; cursor: pointer; }
.social-challenge-note { margin-top: 14px; padding: 14px 15px; border: 1px solid rgba(36,217,239,.18); border-radius: 16px; background: rgba(36,217,239,.06); color: #d8fbff; line-height: 1.65; }
.social-challenge-entries { padding: 18px; }
.social-challenge-entries > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.social-challenge-entries > header strong { color: #fff; font: 800 18px/1.2 "Space Grotesk",sans-serif; }
.social-challenge-entries > header small { color: rgba(228,233,243,.58); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.social-challenge-entry-list { display: grid; gap: 14px; }
.social-challenge-entry { display: grid; grid-template-columns: minmax(140px,180px) minmax(0,1fr); gap: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.02); }
.social-challenge-entry.is-voted { border-color: rgba(36,217,239,.28); box-shadow: 0 0 0 1px rgba(36,217,239,.12) inset; }
.social-challenge-entry.is-deep-linked { border-color: rgba(236,138,229,.38); box-shadow: 0 0 0 1px rgba(236,138,229,.18) inset, 0 0 28px rgba(236,138,229,.12); }
.social-challenge-entry__image { display: block; overflow: hidden; border-radius: 16px; background: #05070d; min-height: 160px; }
.social-challenge-entry__image img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; transition: transform .24s ease; }
.social-challenge-entry__image:hover img { transform: scale(1.02); }
.social-challenge-entry__copy { display: grid; gap: 10px; min-width: 0; }
.social-challenge-entry__author { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.social-challenge-entry__author strong { color: #fff; font-size: 14px; }
.social-challenge-entry__author small { color: rgba(225,230,240,.54); font-size: 11px; }
.social-challenge-entry__copy p { margin: 0; color: rgba(240,243,250,.82); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.social-challenge-entry__copy footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.social-challenge-entry__copy footer > span { display: inline-flex; align-items: center; gap: 6px; color: #f3c378; font-size: 12px; font-weight: 800; }
.social-challenge-entry__copy footer button.is-active { background: rgba(36,217,239,.12); color: #d7f9ff; border: 1px solid rgba(36,217,239,.24); }
.social-challenge-entry__badge { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid rgba(236,138,229,.24); border-radius: 999px; background: rgba(236,138,229,.08); color: #ffd9f8; font-size: 12px; font-weight: 800; }
.social-composer-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.social-composer-options label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(241,243,249,.76); }
.social-composer footer { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.social-composer footer p { margin: 0 auto 0 0; color: #8ee9c2; }
.social-composer footer p.is-error { color: #ff9fab; }
.social-composer footer button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 19px; border: 0; border-radius: 14px; background: linear-gradient(115deg,#ec8ae5,#22ddef); color: #081019; font-weight: 900; cursor: pointer; }
.social-collaborator-field { display: grid; gap: 8px; }
.social-collaborator-field > span { color: rgba(235,238,247,.72); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.social-collaborator-field select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(4,7,13,.75); color: #fff; }
.social-collaborator-field small { color: rgba(230,233,243,.58); font-size: 11px; line-height: 1.45; }
.social-collaborators { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 19px 15px; }
.social-collab-person, .social-collab-request { display: inline-flex; align-items: center; gap: 6px; color: #8feaf2; font-size: 12px; }
.social-collab-person { padding: 7px 10px; border: 1px solid rgba(36,217,239,.24); border-radius: 999px; background: rgba(36,217,239,.06); }
.social-collab-request { flex-wrap: wrap; width: 100%; padding: 11px 12px; border: 1px solid rgba(244,156,234,.3); border-radius: 12px; background: rgba(244,156,234,.07); color: #f5c2ef; }
.social-collab-request > span { display: inline-flex; align-items: center; gap: 6px; flex: 1 1 100%; }
.social-collab-request button { min-height: 32px; padding: 0 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }

.social-feed-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.social-feed-tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
.social-feed-tabs button,
.social-refresh { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.035); color: rgba(239,241,248,.65); font-weight: 800; cursor: pointer; }
.social-feed-tabs button.is-active { border-color: rgba(244,124,233,.5); background: rgba(244,124,233,.13); color: #fff; }
.social-refresh { display: grid; place-items: center; width: 42px; padding: 0; border-radius: 13px; }
.social-feed { display: grid; gap: 18px; max-width: 920px; margin: 0 auto; }
.social-post { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: linear-gradient(145deg,rgba(20,24,36,.98),rgba(8,11,18,.98)); box-shadow: 0 18px 55px rgba(0,0,0,.25); }
.social-post > header { display: flex; align-items: center; gap: 12px; padding: 17px 18px 13px; }
.social-post > header > a { display: flex; align-items: center; gap: 11px; min-width: 0; color: inherit; text-decoration: none; }
.social-post > header > a > span { display: grid; gap: 2px; min-width: 0; }
.social-post > header strong { overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.social-post > header small { color: rgba(226,230,240,.53); font-size: 11px; }
.social-avatar { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid rgba(244,124,233,.3); border-radius: 50%; object-fit: cover; }
.social-avatar.is-placeholder { display: grid; place-items: center; background: linear-gradient(145deg,#36203c,#102b38); color: #fff; font-weight: 900; }
.social-visibility { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: rgba(230,233,242,.48); font-size: 10px; }
.social-visibility i { font-size: 15px; }
.social-post > header > button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: transparent; color: rgba(239,241,247,.55); cursor: pointer; }
.social-post-copy { padding: 4px 19px 17px; }
.social-post-copy h3 { margin: 0 0 8px; color: #fff; font: 800 21px/1.18 Space Grotesk,sans-serif; }
.social-post-copy p { margin: 0; color: rgba(242,244,250,.82); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.social-post-media { display: grid; gap: 2px; max-height: 680px; overflow: hidden; background: #03050a; }
.social-post-media--1 { grid-template-columns: 1fr; }
.social-post-media--2 { grid-template-columns: 1fr 1fr; }
.social-post-media--3,.social-post-media--4 { grid-template-columns: 1fr 1fr; }
.social-post-media-item { display: block; min-height: 220px; }
.social-post-media img { width: 100%; height: 100%; min-height: 220px; max-height: 560px; object-fit: cover; }
.social-reaction-summary { display: flex; flex-wrap: wrap; gap: 7px; padding: 11px 17px; border-bottom: 1px solid rgba(255,255,255,.075); }
.social-reaction-summary span { display: inline-flex; align-items: center; gap: 4px; color: rgba(233,236,244,.65); font-size: 10px; }
.social-reaction-summary i { color: #f486df; font-size: 15px; }
.social-post-actions { display: flex; align-items: center; gap: 7px; padding: 10px 13px; border-bottom: 1px solid rgba(255,255,255,.075); }
.social-post-actions > button,
.social-reaction-menu > summary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; color: rgba(238,241,248,.65); font-weight: 750; cursor: pointer; list-style: none; }
.social-post-actions > button:hover,
.social-post-actions > button.is-active,
.social-reaction-menu > summary:hover,
.social-reaction-menu > summary.is-active { background: rgba(244,124,233,.09); color: #fff; }
.social-post-actions > button.is-pending { background: rgba(243,195,120,.08); color: #f3c378; }
.social-post-actions .material-symbols-outlined { font-size: 19px; }
.social-post-actions b { color: #fff; font-size: 11px; }
.social-reaction-menu { position: relative; }
.social-reaction-menu > summary::-webkit-details-marker { display: none; }
.social-reaction-menu > div { position: absolute; z-index: 9; bottom: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(4,1fr); width: min(430px,80vw); padding: 10px; border: 1px solid rgba(244,124,233,.22); border-radius: 18px; background: rgba(8,10,17,.98); box-shadow: 0 18px 45px rgba(0,0,0,.5); }
.social-reaction-menu > div button { display: grid; place-items: center; gap: 4px; min-height: 68px; border: 0; border-radius: 12px; background: transparent; color: rgba(237,240,248,.7); cursor: pointer; }
.social-reaction-menu > div button:hover,.social-reaction-menu > div button.is-active { background: rgba(36,217,239,.08); color: #fff; }
.social-reaction-menu > div span { font-size: 25px; }
.social-reaction-menu > div small { max-width: 90px; font-size: 9px; text-align: center; }
.social-comments { padding: 15px 17px 17px; }
.social-comment { padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.035); }
.social-comment + .social-comment { margin-top: 7px; }
.social-comment.is-reply { margin-left: 42px; border-left: 2px solid rgba(36,217,239,.25); }
.social-comment > div { display: flex; align-items: center; gap: 8px; }
.social-comment .social-avatar { width: 30px; height: 30px; }
.social-comment > div > span { display: flex; align-items: center; gap: 8px; }
.social-comment strong { color: #fff; font-size: 11px; }
.social-comment small { color: rgba(228,231,241,.45); font-size: 9px; }
.social-comment p { margin: 7px 0 0 38px; color: rgba(239,241,248,.76); font-size: 12px; line-height: 1.55; }
.social-comment > footer { display: flex; gap: 12px; margin: 5px 0 0 38px; }
.social-comment > footer button { padding: 0; border: 0; background: transparent; color: #77ddeb; font-size: 10px; cursor: pointer; }
.social-comment > footer button:last-child { color: rgba(236,180,213,.72); }
.social-comments form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.social-comments textarea { min-height: 44px; padding: 11px 13px; resize: vertical; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(4,7,13,.75); color: #fff; font: 500 13px/1.5 Manrope,sans-serif; }
.social-comments form button { width: 46px; border: 0; border-radius: 14px; background: linear-gradient(145deg,#ec8ce6,#27ddef); color: #071019; cursor: pointer; }
.social-comments form small { grid-column: 1 / -1; color: #67dbe9; }

.social-notifications > header > button { background: rgba(36,217,239,.09); color: #bff8ff; border: 1px solid rgba(36,217,239,.25); transition: background .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease; }
.social-notifications > header > button .material-symbols-outlined { font-size: 18px; }
.social-notifications > header > button b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #24d9ef; color: #071019; font-size: 11px; }
.social-notifications > header > button.has-unread { background: linear-gradient(115deg,rgba(244,124,233,.24),rgba(36,217,239,.18)); color: #fff; border-color: rgba(244,124,233,.45); box-shadow: 0 14px 34px rgba(244,124,233,.13); }
.social-notifications > header > button.is-complete { background: rgba(103,245,207,.08); color: #bfffe8; border-color: rgba(103,245,207,.24); box-shadow: none; }
.social-notifications > header > button:disabled { opacity: .62; cursor: wait; }
.social-notifications > div { display: grid; gap: 8px; }
.social-notification { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 70px; padding: 8px; border: 1px solid rgba(244,124,233,.2); border-radius: 16px; background: rgba(244,124,233,.06); color: inherit; }
.social-notification.is-read { border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.025); opacity: .72; }
.social-notification > button:first-child { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-width: 0; padding: 7px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.social-notification > button:first-child > .material-symbols-outlined { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(36,217,239,.08); color: #57ddeb; }
.social-notification > button:first-child > span:nth-child(2) { display: grid; gap: 3px; }
.social-notification > footer { display: flex; align-items: center; gap: 7px; }
.social-notification > footer button { min-height: 36px; padding: 0 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.04); color: #e8ebf3; font-size: 10px; font-weight: 800; cursor: pointer; }
.social-notification > footer button:first-child { border-color: rgba(36,217,239,.25); color: #aaf7ff; }
.social-notification > footer button:last-child { width: 36px; padding: 0; color: rgba(244,179,215,.76); }
.social-notification strong { color: #fff; }
.social-notification small,.social-notification time { color: rgba(230,233,242,.55); font-size: 11px; }
.social-empty { display: grid; justify-items: center; gap: 8px; padding: 50px 20px; border: 1px dashed rgba(255,255,255,.13); border-radius: 22px; color: rgba(234,237,245,.62); text-align: center; }
.social-empty > .material-symbols-outlined { font-size: 38px; color: #50dce9; }
.social-empty strong { color: #fff; font-size: 17px; }
.social-empty p { margin: 0; }
.social-empty button { min-height: 42px; padding: 0 16px; border: 1px solid rgba(36,217,239,.24); border-radius: 12px; background: rgba(36,217,239,.07); color: #c8fbff; font-weight: 800; cursor: pointer; }
.social-skeleton { height: 260px; border-radius: 22px; background: linear-gradient(100deg,rgba(255,255,255,.035) 25%,rgba(255,255,255,.085) 40%,rgba(255,255,255,.035) 55%) 0 0/220% 100%; animation: socialSkeleton 1.5s ease infinite; }
@keyframes socialSkeleton { to { background-position: -220% 0; } }
.social-toast { position: fixed; z-index: 1000001; top: max(88px, env(safe-area-inset-top)); right: 24px; max-width: min(420px,calc(100vw - 40px)); padding: 14px 18px; transform: translateY(-24px); opacity: 0; pointer-events: none; border: 1px solid rgba(36,217,239,.28); border-radius: 14px; background: #0c1720; color: #eaffff; box-shadow: 0 18px 50px rgba(0,0,0,.45); transition: .22s ease; }
.social-toast.is-visible { transform: none; opacity: 1; }
.social-toast.is-error { border-color: rgba(255,114,139,.36); background: #201016; }
.community-social-profile-timeline { grid-column: 1 / -1; }
.community-social-profile-timeline > h2 { margin: 5px 0 18px; }
.social-profile-timeline-list { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.is-viewing-public-profile + .social-navigation,
.rewards-dashboard.is-viewing-public-profile > .social-navigation,
.rewards-dashboard.is-viewing-public-profile > .social-core,
.rewards-dashboard.is-viewing-public-profile > .social-notifications { display: none !important; }

@media (max-width: 900px) {
  .social-navigation { top: 72px; border-radius: 17px; }
  .social-navigation > * { min-width: 46px; padding: 0 11px; }
  .social-core-heading,.social-notifications > header { align-items: flex-start; flex-direction: column; }
  .social-compose-trigger { width: 100%; }
  .social-challenge-board__head,
  .social-challenge-actions,
  .social-challenge-entry__copy footer { align-items: flex-start; flex-direction: column; }
  .social-challenge-board__layout,
  .social-challenge-entry { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .social-core,.social-notifications { padding: 15px; border-radius: 22px; }
  .social-navigation > * span:not(.material-symbols-outlined),.social-navigation small { display: none; }
  .social-navigation > * { width: 46px; padding: 0; }
  .social-navigation b { position: absolute; top: 2px; right: 2px; }
  .social-composer-grid { grid-template-columns: 1fr; }
  .social-composer-grid label.is-wide { grid-column: auto; }
  .social-composer footer { align-items: stretch; flex-direction: column; }
  .social-composer footer button { justify-content: center; width: 100%; }
  .social-post > header { align-items: flex-start; }
  .social-visibility { font-size: 0; }
  .social-post-actions { display: grid; grid-template-columns: repeat(2,1fr); }
  .social-post-actions > button,.social-reaction-menu > summary { width: 100%; min-width: 0; padding: 0 5px; font-size: 10px; }
  .social-reaction-menu > div { grid-template-columns: repeat(3,1fr); left: -4px; width: min(330px,calc(100vw - 56px)); }
  .social-post-media-item,.social-post-media img { min-height: 160px; }
  .social-comment.is-reply { margin-left: 18px; }
  .social-notification { grid-template-columns: 1fr; }
  .social-notification > footer { justify-content: flex-end; padding: 0 7px 7px; }
  .social-notification > button:first-child { grid-template-columns: auto 1fr; }
  .social-notification time { grid-column: 2; }
  .rewards-toast,
  .social-toast { top: max(76px, env(safe-area-inset-top)); right: 12px; left: 12px; max-width: none; }
  .social-gallery-selected { grid-template-columns: 1fr; }
  .social-gallery-dialog { width: calc(100vw - 14px); max-height: calc(100dvh - 14px); border-radius: 21px; }
  .social-gallery-dialog-shell { max-height: calc(100dvh - 14px); padding: 16px; }
  .social-gallery-dialog-grid { grid-template-columns: 1fr; gap: 10px; }
  .social-gallery-dialog-grid > button { min-height: 250px; grid-template-rows: minmax(182px,1fr) auto; }
  .social-gallery-dialog-image { min-height: 182px; }
  .social-gallery-dialog-footer { align-items: stretch; flex-direction: column; }
  .social-gallery-dialog-footer button { width: 100%; }
  .social-challenge-board { padding: 15px; border-radius: 22px; }
  .social-challenge-board__head h3 { font-size: 24px; }
  .social-challenge-card,.social-challenge-entries,.social-challenge-entry { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-skeleton { animation: none; }
  .social-toast { transition: none; }
}

@media (max-width: 900px) {
  .community-profile-form, .community-profile-extras, .community-public-grid { grid-template-columns: 1fr; }
  .community-media-actions { grid-template-columns: 1fr; max-width: 560px; }
  .community-theme-presets { grid-template-columns: repeat(2,1fr); }
  .community-theme-colors { grid-template-columns: 1fr; }
  .community-visibility-grid { grid-template-columns: repeat(2,1fr); }
  .community-favorite-selected { grid-template-columns: repeat(2,1fr); }
  .community-favorite-picker { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 600px) {
  .community-studio-heading, .community-public-identity { align-items: flex-start; flex-direction: column; }
  .community-completion { width: 100%; }
  .community-form-grid { grid-template-columns: 1fr; }
  .community-form-grid .is-wide { grid-column: auto; }
  .community-avatar-editor { margin-right: 0; margin-left: 0; }
  .community-media-actions { margin-right: auto; margin-left: auto; }
  .community-theme-presets, .community-guestbook-form { grid-template-columns: 1fr; }
  .community-friend-list { width: 100%; margin-left: 0; }
  .community-visibility-grid { grid-template-columns: 1fr; }
  .community-favorite-picker { grid-template-columns: repeat(2,1fr); }
  .community-public-hero { min-height: 480px; }
  .community-public-avatar { width: 84px; height: 84px; }
  .community-public-favorites > div, .community-public-reviews { grid-template-columns: repeat(2,1fr); }
  .community-cropper { padding: 10px; }
  .community-cropper-card { max-height: calc(100dvh - 20px); padding: 18px; border-radius: 20px; }
  .community-cropper-card label { grid-template-columns: 1fr; gap: 7px; }
  .community-cropper-preview { margin: 15px 0; }
  .community-cropper-actions { grid-template-columns: 1fr 1fr; }
  .community-cropper-actions > span { display: none; }
  .community-cropper-actions [data-crop-reset] { grid-column: 1 / -1; }
}

/* Profile readability and reward-card layout */
.rewards-page {
  --rewards-muted: #b9bfcc;
}

.rewards-dashboard p,
.rewards-dashboard small,
.rewards-dashboard label,
.rewards-dashboard button,
.rewards-dashboard input,
.rewards-dashboard select,
.rewards-dashboard textarea {
  line-height: 1.55;
}

.rewards-section-heading p,
.rewards-progress-card > p,
.rewards-metric p,
.rewards-tier-card p {
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.6;
}

.rewards-content-grid { align-items: stretch; }

.rewards-list,
.rewards-mission-list {
  gap: 14px;
}

.rewards-list-item,
.rewards-mission {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 17px 18px;
}

.rewards-list-icon,
.rewards-mission-image {
  width: 48px;
  height: 48px;
}

.rewards-list-item strong,
.rewards-mission strong {
  font-size: 15px;
  line-height: 1.35;
}

.rewards-list-item small,
.rewards-mission small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.55;
}

.rewards-points-change,
.rewards-mission-complete {
  align-self: center;
  padding: 8px 11px;
  border: 1px solid rgba(104, 224, 176, .2);
  border-radius: 999px;
  background: rgba(104, 224, 176, .07);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.rewards-points-change.is-negative {
  border-color: rgba(244, 124, 233, .22);
  background: rgba(244, 124, 233, .08);
}

.rewards-mission-complete {
  border-color: rgba(36, 217, 239, .24);
  background: rgba(36, 217, 239, .08);
}

.rewards-reward-grid {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: clamp(18px, 2vw, 26px);
  margin-top: 30px;
}

.rewards-reward-card,
.rewards-reward-card.has-image {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  height: 100%;
  padding: 0;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(23, 28, 42, .98), rgba(11, 14, 23, .98));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2);
}

.rewards-reward-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
}

.rewards-reward-card h3 {
  margin: 16px 0 10px;
  font-size: clamp(21px, 1.65vw, 26px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.rewards-reward-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--card-accent) 30%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--card-accent) 10%, transparent);
}

.rewards-reward-description,
.rewards-reward-card p {
  margin: 0;
  color: #c3c8d3;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.rewards-reward-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-width: 0 0 1px;
  border-radius: 25px 25px 0 0;
  background: linear-gradient(145deg, rgba(7, 10, 18, .96), rgba(23, 28, 42, .82));
}

.rewards-reward-media::after {
  content: "";
  position: absolute;
  inset: auto 10% -65% 10%;
  height: 90%;
  border-radius: 50%;
  background: var(--card-accent, var(--rewards-pink));
  filter: blur(55px);
  opacity: .15;
  pointer-events: none;
}

.rewards-reward-media.is-empty > .material-symbols-outlined {
  color: var(--card-accent, var(--rewards-pink));
  font-size: 44px;
  opacity: .55;
}

.rewards-reward-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  object-position: center top;
  padding: 8px;
}

.rewards-reward-footer {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.rewards-reward-cost {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.rewards-redeem-button {
  min-width: 108px;
  min-height: 46px;
  padding: 10px 18px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.rewards-community-profile-card {
  padding: 22px;
}

.rewards-community-profile-head strong {
  font-size: 15px;
}

.rewards-community-profile-head small,
.rewards-community-review-form label,
.rewards-community-profile-done,
.rewards-community-optin {
  font-size: 12px;
  line-height: 1.5;
}

.community-editor-card {
  padding: clamp(23px, 2.4vw, 32px);
}

.community-editor-title strong {
  font-size: 20px;
}

.community-editor-title small,
.community-avatar-editor p,
.community-completion small {
  font-size: 12px;
  line-height: 1.55;
}

.community-file-button,
.community-subtle-button,
.community-save-button,
.community-profile-open {
  min-height: 46px;
  padding: 10px 17px;
  font-size: 12px;
  line-height: 1.25;
}

.community-form-grid label:not(.community-toggle),
.community-editor-card fieldset {
  font-size: 12px;
}

.community-form-grid input,
.community-form-grid select,
.community-form-grid textarea {
  min-height: 50px;
  padding: 14px 15px;
  font-size: 15px;
  line-height: 1.5;
}

.community-form-grid label > small,
.community-visibility-item i,
.community-favorite-card label,
.community-favorite-card button,
.community-gallery-choice span,
.community-empty-inline,
.community-form-message {
  font-size: 11px;
  line-height: 1.45;
}

.community-chip-picker span,
.community-toggle,
.community-visibility-item span {
  font-size: 12px;
  line-height: 1.35;
}

.community-chip-picker span {
  min-height: 42px;
  padding: 8px 15px;
}

.community-visibility-item {
  min-height: 64px;
  padding: 13px;
}

.community-favorite-card strong,
.community-public-favorites strong {
  font-size: 12px;
  line-height: 1.35;
}

.community-achievement-list > span,
.community-notification-list > button {
  min-height: 62px;
  padding: 14px 15px;
  font-size: 13px;
  line-height: 1.45;
}

.community-notification-list small,
.community-public-achievement small,
.community-public-activity small,
.community-public-reviews blockquote small {
  font-size: 12px;
  line-height: 1.5;
}

.community-public-back-link,
.community-back-link {
  font-size: 13px;
}

.community-public-card h2,
.community-public-card h3 {
  margin-top: 0;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.2;
}

.community-public-card > p,
.community-public-identity p,
.community-public-reviews blockquote p {
  font-size: 14px;
  line-height: 1.65;
}

.community-public-meta span,
.community-public-tags span {
  padding: 8px 12px;
  font-size: 11px;
}

/* Profile Studio 2.0: clear privacy controls and complete layout presets */
.community-banner-title-field { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.community-banner-title-field > span { color: #fff; font-size: 11px; font-weight: 800; }
.community-banner-title-field input { min-height: 46px; padding: 0 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(3,5,10,.48); color: #fff; font: 700 13px "Space Grotesk",sans-serif; }
.community-banner-title-field small { color: var(--rewards-muted); font-size: 9px; line-height: 1.45; }

.community-layout-picker { margin: 20px 0 0; padding: 0; border: 0; }
.community-layout-picker legend { margin-bottom: 10px; color: #dfe3ec; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.community-layout-picker > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.community-layout-picker label { min-width: 0; cursor: pointer; }
.community-layout-picker input { position: absolute; opacity: 0; pointer-events: none; }
.community-layout-card { position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 3px 13px; min-height: 102px; overflow: hidden; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: #0b0e16; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.community-layout-card::after { content: ""; position: absolute; inset: auto -15% -60% 38%; height: 100px; border-radius: 50%; background: var(--layout-glow); filter: blur(28px); opacity: .24; }
.community-layout-card > i { grid-row: 1 / 3; width: 58px; height: 68px; border: 1px solid var(--layout-line); border-radius: var(--layout-radius); background: var(--layout-preview); box-shadow: var(--layout-shadow); }
.community-layout-card strong,.community-layout-card small { position: relative; z-index: 1; display: block; }
.community-layout-card strong { color: #fff; font-size: 13px; }
.community-layout-card small { color: #aeb4c2; font-size: 9px; line-height: 1.35; }
.community-layout-card b { position: absolute; top: 8px; right: 9px; padding: 4px 6px; border-radius: 99px; background: rgba(36,217,239,.12); color: #77ecfb; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.community-layout-card--glass { --layout-radius: 16px; --layout-line: rgba(36,217,239,.4); --layout-glow: #24d9ef; --layout-preview: linear-gradient(150deg,rgba(244,124,233,.4),rgba(36,217,239,.12) 55%,rgba(255,255,255,.04)); --layout-shadow: inset 0 0 18px rgba(255,255,255,.06); }
.community-layout-card--editorial { --layout-radius: 2px; --layout-line: rgba(243,195,120,.54); --layout-glow: #f3c378; --layout-preview: linear-gradient(90deg,#251c18 0 31%,#d7b278 31% 34%,#0b0b0e 34%); --layout-shadow: inset 0 0 0 7px #101014; }
.community-layout-card--neon { --layout-radius: 13px 2px 13px 2px; --layout-line: rgba(244,124,233,.62); --layout-glow: #f47ce9; --layout-preview: linear-gradient(135deg,#090912 0 48%,#e84ed8 49% 52%,#102b38 53%); --layout-shadow: 7px 7px 0 rgba(36,217,239,.13); }
.community-layout-card--velvet { --layout-radius: 24px; --layout-line: rgba(255,125,184,.55); --layout-glow: #ff7db8; --layout-preview: radial-gradient(circle at 30% 18%,rgba(255,209,232,.52),transparent 32%),linear-gradient(145deg,#24101d,#111521 72%); --layout-shadow: inset 0 0 28px rgba(255,125,184,.12); }
.community-layout-card--crystal { --layout-radius: 18px; --layout-line: rgba(155,232,255,.55); --layout-glow: #9be8ff; --layout-preview: linear-gradient(135deg,rgba(255,255,255,.2),rgba(155,232,255,.08) 45%,rgba(255,255,255,.02)); --layout-shadow: inset 0 0 0 1px rgba(255,255,255,.18),0 10px 25px rgba(155,232,255,.08); }
.community-layout-card--runway { --layout-radius: 2px 22px 2px 22px; --layout-line: rgba(211,108,255,.62); --layout-glow: #d36cff; --layout-preview: linear-gradient(120deg,#05060d 0 43%,#d36cff 43% 46%,#1b1028 46% 100%); --layout-shadow: 10px 0 0 rgba(87,217,255,.13); }
.community-layout-picker input:checked + .community-layout-card { transform: translateY(-2px); border-color: var(--rewards-cyan); box-shadow: 0 0 0 2px rgba(36,217,239,.08),0 18px 40px rgba(0,0,0,.3); }

.community-frame-picker { margin: 18px 0 0; padding: 0; border: 0; }
.community-frame-picker legend { margin-bottom: 10px; color: #dfe3ec; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.community-frame-picker > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(155px,1fr)); gap: 10px; }
.community-frame-picker label { min-width: 0; cursor: pointer; }
.community-frame-picker input { position: absolute; opacity: 0; pointer-events: none; }
.community-frame-picker span { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 2px 10px; align-items: center; min-height: 70px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.028); transition: transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease; }
.community-frame-picker i { grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: color-mix(in srgb,var(--rewards-pink) 18%,transparent); color: var(--rewards-cyan); font-style: normal; }
.community-frame-picker strong,.community-frame-picker small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-frame-picker strong { color: #fff; font-size: 11px; }
.community-frame-picker small { color: var(--rewards-muted); font-size: 9px; }
.community-frame-picker input:checked + span { transform: translateY(-2px); border-color: var(--rewards-cyan); background: rgba(36,217,239,.08); box-shadow: 0 0 0 2px rgba(36,217,239,.08),0 14px 35px rgba(0,0,0,.22); }

.community-toggle--featured { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 11px; min-height: 76px; padding: 13px; }
.community-toggle--featured > .material-symbols-outlined { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(36,217,239,.09); color: var(--rewards-cyan); }
.community-toggle--featured > span:nth-child(2) { display: grid; gap: 3px; }
.community-toggle--featured strong { color: #f7f8fb; font-size: 11px; }
.community-toggle--featured small { color: var(--rewards-muted); font-size: 9px; line-height: 1.4; }
.community-toggle--featured input { position: absolute; opacity: 0; pointer-events: none; }
.community-toggle--featured > i,.community-visibility-item > em { position: relative; width: 38px; height: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(0,0,0,.35); transition: .2s ease; }
.community-toggle--featured > i::after,.community-visibility-item > em::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #8f95a3; transition: .2s ease; }
.community-toggle--featured input:checked + i,.community-visibility-item input:checked + em { border-color: rgba(36,217,239,.5); background: linear-gradient(90deg,rgba(244,124,233,.5),rgba(36,217,239,.5)); }
.community-toggle--featured input:checked + i::after,.community-visibility-item input:checked + em::after { left: 19px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.7); }
.community-visibility-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 22px 0 11px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.community-visibility-heading strong,.community-visibility-heading small { display: block; }
.community-visibility-heading strong { color: #fff; font-size: 13px; }
.community-visibility-heading small { margin-top: 3px; color: var(--rewards-muted); font-size: 9px; }
.community-visibility-heading > span { display: inline-flex; align-items: center; gap: 7px; color: #aeb4c2; font-size: 8px; font-weight: 700; }
.community-visibility-heading > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--rewards-cyan); box-shadow: 0 0 10px rgba(36,217,239,.7); }
.community-visibility-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 0; }
.community-visibility-item { position: relative; grid-template-columns: 38px minmax(0,1fr) auto; grid-template-rows: auto auto; gap: 4px 10px; min-height: 88px; padding: 14px; cursor: pointer; }
.community-visibility-item > .material-symbols-outlined { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.05); color: #cbd0dc; font-size: 20px; }
.community-visibility-copy { grid-column: 2; display: grid; gap: 3px; }
.community-visibility-copy strong { color: #f4f5f8; font-size: 11px; }
.community-visibility-copy small { color: #8f96a7; font-size: 8px; line-height: 1.35; }
.community-visibility-state { grid-column: 2; display: flex; gap: 7px; align-items: center; font-size: 8px; }
.community-visibility-state b { color: #c2c7d1; }
.community-visibility-state i { color: var(--rewards-cyan); font-style: normal; opacity: .35; }
.community-visibility-item input { position: absolute; opacity: 0; pointer-events: none; }
.community-visibility-item > em { grid-column: 3; grid-row: 1 / 3; align-self: center; }
.community-visibility-item:has(input:checked) .community-visibility-state b { opacity: .35; }
.community-visibility-item:has(input:checked) .community-visibility-state i { opacity: 1; }
.community-visibility-item:has(input:checked) > .material-symbols-outlined { background: linear-gradient(135deg,rgba(244,124,233,.18),rgba(36,217,239,.14)); color: #fff; }

.community-public-tags { gap: 0; align-items: center; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.community-public-tags span,.community-public-meta .community-public-tags span { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px 4px 0; border: 0; border-radius: 0; background: none; color: #d7dbe5; font-size: 10px; letter-spacing: .02em; }
.community-public-tags span i { width: 5px; height: 5px; border-radius: 50%; background: var(--profile-accent); box-shadow: 0 0 8px color-mix(in srgb,var(--profile-accent) 70%,transparent); }
.community-public-banner-title { position: absolute; z-index: 2; top: clamp(24px,4vw,54px); right: clamp(22px,4vw,58px); max-width: min(560px,58%); margin: 0; color: #fff; font: 800 clamp(26px,4.5vw,68px)/.95 "Space Grotesk",sans-serif; letter-spacing: -.045em; text-align: right; text-wrap: balance; text-shadow: 0 3px 28px rgba(0,0,0,.72); }

.rewards-hero.has-member-banner { background-image: linear-gradient(90deg,rgba(5,7,12,.93) 0%,rgba(5,7,12,.77) 46%,rgba(5,7,12,.28) 100%),var(--member-banner-image); background-position: center; background-size: cover; }
.rewards-hero.has-member-banner::after { content: attr(data-banner-title); right: clamp(25px,5vw,80px); bottom: clamp(22px,4vw,52px); max-width: 45%; color: rgba(255,255,255,.92); font: 800 clamp(24px,3.2vw,52px)/.98 "Space Grotesk",sans-serif; letter-spacing: -.04em; text-align: right; text-shadow: 0 3px 25px rgba(0,0,0,.72); }

.rewards-dashboard[data-profile-layout="editorial"] .rewards-hero,.community-public-profile[data-profile-layout="editorial"] .community-public-hero,.community-public-profile[data-profile-layout="editorial"] .community-public-card { border-radius: 4px; }
.rewards-dashboard[data-profile-layout="editorial"] .rewards-hero { border-color: color-mix(in srgb,var(--profile-accent) 35%,rgba(255,255,255,.1)); }
.community-public-profile[data-profile-layout="editorial"] .community-public-identity h1,.community-public-profile[data-profile-layout="editorial"] .community-public-banner-title { font-family: Georgia,"Times New Roman",serif; font-weight: 500; letter-spacing: -.035em; }
.community-public-profile[data-profile-layout="editorial"] .community-public-card { border-left: 3px solid var(--profile-accent); background: color-mix(in srgb,var(--profile-surface) 94%,transparent); }
.rewards-dashboard[data-profile-layout="neon"] .rewards-hero,.community-public-profile[data-profile-layout="neon"] .community-public-hero,.community-public-profile[data-profile-layout="neon"] .community-public-card { border-radius: 20px 3px 20px 3px; }
.community-public-profile[data-profile-layout="neon"] .community-public-card { border-color: color-mix(in srgb,var(--profile-accent) 55%,transparent); box-shadow: 8px 8px 0 color-mix(in srgb,var(--profile-glow) 9%,transparent),0 18px 50px rgba(0,0,0,.34); }
.community-public-profile[data-profile-layout="neon"] .community-public-hero { box-shadow: 0 0 35px color-mix(in srgb,var(--profile-accent) 18%,transparent); }
.rewards-dashboard[data-profile-layout="velvet"] .rewards-hero,.community-public-profile[data-profile-layout="velvet"] .community-public-hero,.community-public-profile[data-profile-layout="velvet"] .community-public-card { border-radius: 28px; }
.community-public-profile[data-profile-layout="velvet"] .community-public-card { background: color-mix(in srgb,var(--profile-surface) 82%,transparent); border-color: color-mix(in srgb,var(--profile-accent) 34%,rgba(255,255,255,.1)); box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08); }
.community-public-profile[data-profile-layout="velvet"] .community-public-identity h1 { letter-spacing: -.045em; }
.rewards-dashboard[data-profile-layout="crystal"] .rewards-hero,.community-public-profile[data-profile-layout="crystal"] .community-public-hero,.community-public-profile[data-profile-layout="crystal"] .community-public-card { border-radius: 22px; }
.community-public-profile[data-profile-layout="crystal"] .community-public-card { background: color-mix(in srgb,var(--profile-surface) 68%,transparent); border-color: color-mix(in srgb,var(--profile-glow) 30%,rgba(255,255,255,.12)); backdrop-filter: blur(24px) saturate(1.15); }
.community-public-profile[data-profile-layout="crystal"] .community-social-bar { background: color-mix(in srgb,var(--profile-surface) 62%,transparent); }
.rewards-dashboard[data-profile-layout="runway"] .rewards-hero,.community-public-profile[data-profile-layout="runway"] .community-public-hero,.community-public-profile[data-profile-layout="runway"] .community-public-card { border-radius: 4px 28px 4px 28px; }
.community-public-profile[data-profile-layout="runway"] .community-public-hero { box-shadow: 14px 14px 0 color-mix(in srgb,var(--profile-accent) 10%,transparent),0 0 46px color-mix(in srgb,var(--profile-glow) 12%,transparent); }
.community-public-profile[data-profile-layout="runway"] .community-public-card { border-color: color-mix(in srgb,var(--profile-accent) 42%,transparent); background: color-mix(in srgb,var(--profile-surface) 86%,transparent); }
.community-public-profile[data-profile-layout="runway"] .community-public-identity h1 { font-family: "Space Grotesk", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -.07em; }

.community-public-profile[data-selected-frame="soft-glow"] .community-public-hero,
.rewards-dashboard[data-selected-frame="soft-glow"] .rewards-hero,
.community-studio-preview-canvas[data-selected-frame="soft-glow"] .community-studio-preview-card { border-color: color-mix(in srgb,var(--profile-accent) 42%,transparent); box-shadow: 0 0 0 1px color-mix(in srgb,var(--profile-accent) 24%,transparent),0 0 54px color-mix(in srgb,var(--profile-accent) 20%,transparent),0 24px 80px rgba(0,0,0,.42); }
.community-public-profile[data-selected-frame="neon-line"] .community-public-hero,
.rewards-dashboard[data-selected-frame="neon-line"] .rewards-hero,
.community-studio-preview-canvas[data-selected-frame="neon-line"] .community-studio-preview-card { border: 2px solid color-mix(in srgb,var(--profile-glow) 68%,var(--profile-accent)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08),0 0 34px color-mix(in srgb,var(--profile-glow) 24%,transparent); }
.community-public-profile[data-selected-frame="editorial-border"] .community-public-hero,
.rewards-dashboard[data-selected-frame="editorial-border"] .rewards-hero,
.community-studio-preview-canvas[data-selected-frame="editorial-border"] .community-studio-preview-card { border: 1px solid color-mix(in srgb,var(--profile-accent) 34%,#fff); box-shadow: inset 0 0 0 10px rgba(255,255,255,.035),0 20px 70px rgba(0,0,0,.42); }
.community-public-profile[data-selected-frame="luxe-corners"] .community-public-hero,
.rewards-dashboard[data-selected-frame="luxe-corners"] .rewards-hero,
.community-studio-preview-canvas[data-selected-frame="luxe-corners"] .community-studio-preview-card { border-color: color-mix(in srgb,var(--profile-accent) 48%,#f3c378); box-shadow: inset 0 0 0 1px color-mix(in srgb,#f3c378 35%,transparent),0 0 42px color-mix(in srgb,var(--profile-accent) 18%,transparent),0 24px 80px rgba(0,0,0,.42); }
.community-public-profile[data-selected-frame="luxe-corners"] .community-public-hero::before,
.community-studio-preview-canvas[data-selected-frame="luxe-corners"] .community-studio-preview-card::before { content: ""; position: absolute; z-index: 3; inset: 16px; pointer-events: none; background: linear-gradient(90deg,#f3c378 0 44px,transparent 44px calc(100% - 44px),#f3c378 calc(100% - 44px)) top/100% 2px no-repeat,linear-gradient(90deg,#f3c378 0 44px,transparent 44px calc(100% - 44px),#f3c378 calc(100% - 44px)) bottom/100% 2px no-repeat,linear-gradient(#f3c378 0 44px,transparent 44px calc(100% - 44px),#f3c378 calc(100% - 44px)) left/2px 100% no-repeat,linear-gradient(#f3c378 0 44px,transparent 44px calc(100% - 44px),#f3c378 calc(100% - 44px)) right/2px 100% no-repeat; opacity: .7; }

@media (max-width: 900px) {
  .community-layout-picker > div { grid-template-columns: 1fr; }
  .community-visibility-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .community-visibility-heading { align-items: start; flex-direction: column; }
  .community-visibility-grid { grid-template-columns: 1fr; }
  .community-public-banner-title { top: 20px; right: 18px; max-width: 75%; font-size: 28px; }
  .community-public-vip-badge { top: 14px; right: 14px; }
  .community-public-hero.has-vip .community-public-banner-title { top: 78px; }
  .rewards-hero.has-member-banner::after { position: relative; right: auto; bottom: auto; grid-column: 1; max-width: none; margin-top: 8px; font-size: 26px; text-align: left; }
}

.community-public-activity > span {
  min-height: 38px;
  font-size: 13px;
}

.community-public-safety button {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .rewards-reward-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 700px) {
  .rewards-reward-grid {
    grid-template-columns: 1fr;
  }

  .rewards-reward-card,
  .rewards-reward-card.has-image {
    min-height: 0;
  }

  .rewards-reward-content {
    min-height: 310px;
    padding: 23px;
  }

  .rewards-reward-media {
    height: min(62vw, 230px);
    flex-basis: min(62vw, 230px);
  }

  .rewards-list-item,
  .rewards-mission {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
  }

  .rewards-list-icon,
  .rewards-mission-image {
    width: 44px;
    height: 44px;
  }

  .rewards-list-item .rewards-points-change,
  .rewards-mission .rewards-points-change,
  .rewards-mission-complete {
    grid-column: 2;
    justify-self: start;
  }

  .community-profile-extras {
    grid-template-columns: 1fr;
  }

  .community-media-actions,
  .community-privacy-choices > div {
    grid-template-columns: 1fr;
  }

  body.rewards-page .seventeen-chat.is-floating {
    top: 76px;
  }

  .community-public-reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .rewards-reward-footer {
    grid-template-columns: 1fr;
  }

  .rewards-redeem-button {
    width: 100%;
  }
}

.rewards-bug-report-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 124, 211, .28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244, 124, 233, .1), rgba(36, 217, 239, .06));
  color: var(--rewards-text);
  font: 700 11px/1 "Manrope", sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.rewards-bug-report-button:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 217, 239, .44);
  background: linear-gradient(135deg, rgba(244, 124, 233, .16), rgba(36, 217, 239, .11));
}

.rewards-bug-report-button .material-symbols-outlined { font-size: 19px; color: var(--rewards-cyan); }

.rewards-bug-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(244, 124, 233, .34);
  border-radius: 28px;
  background: rgba(12, 15, 25, .98);
  color: var(--rewards-text);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .72), 0 0 46px rgba(244, 124, 233, .12);
}

.rewards-bug-dialog::backdrop {
  background: rgba(3, 5, 12, .78);
  backdrop-filter: blur(10px);
}

.rewards-bug-form { padding: clamp(22px, 4vw, 38px); }
.rewards-bug-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.rewards-bug-dialog-head h2 { margin: 8px 0; font: 700 clamp(28px, 4vw, 42px)/1 "Space Grotesk", sans-serif; }
.rewards-bug-dialog-head p { max-width: 560px; margin: 0; color: var(--rewards-muted); font-size: 13px; line-height: 1.65; }
.rewards-bug-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rewards-bug-form-grid label { display: grid; gap: 8px; color: #d8d9e3; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.rewards-bug-form-grid label.is-wide { grid-column: 1 / -1; }
.rewards-bug-form-grid input,
.rewards-bug-form-grid select,
.rewards-bug-form-grid textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  color: var(--rewards-text);
  font: 500 14px/1.55 "Manrope", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
}
.rewards-bug-form-grid input,
.rewards-bug-form-grid select { min-height: 50px; padding: 0 15px; }
.rewards-bug-form-grid textarea { min-height: 108px; padding: 14px 15px; resize: vertical; }
.rewards-bug-form-grid input:focus,
.rewards-bug-form-grid select:focus,
.rewards-bug-form-grid textarea:focus { border-color: rgba(36, 217, 239, .62); box-shadow: 0 0 0 3px rgba(36, 217, 239, .08); }
.rewards-bug-form-grid label > small { justify-self: end; color: var(--rewards-muted); font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.rewards-bug-trap { position: fixed !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.rewards-bug-privacy { display: flex; align-items: center; gap: 9px; margin: 20px 0; color: var(--rewards-muted); font-size: 12px; }
.rewards-bug-privacy .material-symbols-outlined { color: var(--rewards-cyan); font-size: 18px; }
.rewards-bug-actions { display: flex; justify-content: flex-end; gap: 10px; }
.rewards-bug-actions button { min-height: 46px; border: 0; cursor: pointer; }
.rewards-bug-actions .rewards-primary-cta { display: inline-flex; align-items: center; gap: 8px; }
.rewards-bug-status { min-height: 20px; margin: 14px 0 0; color: var(--rewards-success); font-size: 12px; text-align: right; }
.rewards-bug-status.is-error { color: #ff9dad; }

.community-public-favorites a { position: relative; }
.community-public-favorites a > .material-symbols-outlined {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(5, 7, 14, .74);
  color: white;
  font-size: 17px;
  backdrop-filter: blur(8px);
}

/* External profile archives keep image hosting separate from Seventeen. */
.community-external-album {
  overflow: hidden;
}

.community-external-album > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.community-external-album h2 {
  margin: 7px 0 0;
}

.community-external-album header p {
  max-width: 700px;
  margin: 8px 0 0;
  color: rgba(228, 231, 240, .68);
  font-size: 14px;
  line-height: 1.55;
}

.community-external-album-count {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid color-mix(in srgb, var(--profile-glow) 34%, rgba(255, 255, 255, .08));
  border-radius: 999px;
  background: rgba(7, 10, 17, .62);
  color: #e9fbff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.community-external-album-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(155px, 17vw, 235px);
  gap: 12px;
  overflow-x: auto;
  padding: 3px 3px 13px;
  scroll-snap-type: x proximity;
  scrollbar-color: color-mix(in srgb, var(--profile-accent) 64%, #29303d) rgba(255, 255, 255, .05);
  scrollbar-width: thin;
}

.community-external-album-strip::-webkit-scrollbar { height: 7px; }
.community-external-album-strip::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255, 255, 255, .05); }
.community-external-album-strip::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(90deg, var(--profile-accent), var(--profile-glow)); }

.community-external-album-strip > button {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 17px;
  background: #080b12;
  cursor: pointer;
  scroll-snap-align: start;
}

.community-external-album-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.community-external-album-strip .material-symbols-outlined {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(5, 7, 12, .72);
  color: #fff;
  font-size: 20px;
  backdrop-filter: blur(12px);
}

@media (hover: hover) {
  .community-external-album-strip > button:hover img { transform: scale(1.045); filter: brightness(1.08); }
}

body.community-archive-open { overflow: hidden; }
.community-archive-lightbox[hidden] { display: none !important; }
.community-archive-lightbox {
  position: fixed;
  z-index: 1000002;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: center;
  justify-items: end;
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(14px, 3vw, 42px);
}

.community-archive-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 3, 8, .91);
  cursor: zoom-out;
  backdrop-filter: blur(16px);
}

.community-archive-lightbox figure {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1120px, 100%);
  height: min(920px, 92vh);
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--profile-accent) 45%, rgba(255, 255, 255, .12));
  border-radius: 24px;
  background: #05070c;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72), 0 0 48px color-mix(in srgb, var(--profile-glow) 15%, transparent);
}

.community-archive-lightbox figure > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.community-archive-lightbox figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 13px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}

.community-archive-lightbox figcaption strong { font-size: 15px; }
.community-archive-lightbox figcaption span { color: rgba(255, 255, 255, .65); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.community-archive-lightbox-close,
.community-archive-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(8, 11, 18, .78);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.community-archive-lightbox-close { top: 16px; right: 16px; }
.community-archive-lightbox-nav { top: 50%; transform: translateY(-50%); }
.community-archive-lightbox-nav.is-prev { left: 16px; }
.community-archive-lightbox-nav.is-next { right: 16px; }

.community-archive-social {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  width: min(380px, 100%);
  max-height: min(920px, 92vh);
  overflow: auto;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--profile-accent) 38%, rgba(255, 255, 255, .12));
  border-radius: 20px;
  background: rgba(8, 11, 18, .9);
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px);
}

.community-archive-social h3 {
  margin: 3px 0 6px;
  font-size: 20px;
  line-height: 1.15;
}

.community-archive-social p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.community-archive-like {
  display: grid;
  grid-template-columns: 42px auto 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  cursor: pointer;
}

.community-archive-like .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ff91d8;
  background: rgba(244, 124, 233, .14);
}

.community-archive-like strong { font-size: 22px; }
.community-archive-like small { justify-self: end; color: rgba(255, 255, 255, .72); font-weight: 800; }
.community-archive-like.is-active { border-color: color-mix(in srgb, var(--profile-accent) 62%, rgba(255, 255, 255, .18)); background: color-mix(in srgb, var(--profile-accent) 18%, rgba(255, 255, 255, .08)); }

.community-archive-liked-by {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
}

.community-archive-actors {
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.community-archive-actor {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: #161b27;
}

.community-archive-actor img,
.community-archive-comment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-archive-actor i,
.community-archive-comment i {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.community-archive-muted,
.community-archive-empty {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.community-archive-comments {
  display: grid;
  gap: 10px;
}

.community-archive-comment {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.community-archive-comment > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
}

.community-archive-comment img,
.community-archive-comment i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  background: #161b27;
}

.community-archive-comment strong,
.community-archive-comment small {
  display: block;
}

.community-archive-comment small {
  color: rgba(255, 255, 255, .56);
  font-size: 11px;
}

.community-archive-comment p {
  color: rgba(255, 255, 255, .84);
  line-height: 1.45;
}

.community-archive-comment footer {
  display: flex;
  gap: 8px;
}

.community-archive-comment footer button {
  border: 0;
  background: transparent;
  color: var(--profile-glow);
  font-weight: 800;
  cursor: pointer;
}

.community-archive-comment-form {
  display: grid;
  gap: 10px;
}

.community-archive-comment-form textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.community-archive-comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--profile-accent), var(--profile-glow));
  color: #061019;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 640px) {
  .community-external-album > header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .community-external-album-strip { grid-auto-columns: min(68vw, 220px); }
  .community-archive-lightbox { grid-template-columns: 1fr; align-content: start; overflow: auto; padding: 8px; }
  .community-archive-lightbox figure { width: 100%; height: min(58dvh, 560px); border-radius: 18px; }
  .community-archive-social { width: 100%; max-height: none; }
  .community-archive-lightbox-nav { width: 42px; height: 42px; }
  .community-archive-lightbox-nav.is-prev { left: 8px; }
  .community-archive-lightbox-nav.is-next { right: 8px; }
}

@media (max-width: 900px) {
  .rewards-bug-report-button > span:last-child { display: none; }
  .rewards-bug-report-button { width: 42px; padding: 0; justify-content: center; }
}

@media (max-width: 620px) {
  .rewards-bug-dialog { width: calc(100vw - 18px); max-height: calc(100dvh - 18px); border-radius: 22px; }
  .rewards-bug-form { padding: 22px 18px; }
  .rewards-bug-form-grid { grid-template-columns: 1fr; }
  .rewards-bug-form-grid label.is-wide { grid-column: auto; }
  .rewards-bug-actions { display: grid; grid-template-columns: 1fr; }
  .rewards-bug-actions button { width: 100%; justify-content: center; }
}

/* Profile Studio 3.0: balanced workspace and unified controls */
.community-profile-studio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(244,124,233,.2);
  background:
    radial-gradient(circle at 7% 2%,rgba(244,124,233,.1),transparent 28%),
    radial-gradient(circle at 96% 12%,rgba(36,217,239,.08),transparent 30%),
    linear-gradient(150deg,rgba(15,18,29,.98),rgba(8,11,18,.98));
}
.community-profile-studio::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom,black,transparent 42%);
}
.community-studio-heading {
  align-items: stretch;
  margin-bottom: 22px;
  padding: clamp(18px,2.3vw,28px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: linear-gradient(130deg,rgba(244,124,233,.07),rgba(36,217,239,.035) 58%,rgba(255,255,255,.018));
}
.community-studio-heading > div:first-child { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.community-studio-heading h2 { text-wrap: balance; }
.community-studio-heading [data-account-email] { overflow-wrap: anywhere; color: var(--rewards-muted); }
.community-completion {
  width: min(100%,340px);
  min-width: 0;
  border-color: rgba(36,217,239,.24);
  background: rgba(7,11,18,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.community-profile-form { align-items: start; gap: 20px; }
.community-editor-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-color: rgba(255,255,255,.09);
  background: linear-gradient(145deg,rgba(255,255,255,.042),rgba(255,255,255,.014));
  box-shadow: 0 18px 48px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025);
}
.community-editor-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg,transparent,var(--rewards-cyan));
  opacity: .7;
}
.community-editor-card--privacy { grid-column: 1 / -1; }
.community-editor-title {
  min-height: 52px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.community-editor-title > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(36,217,239,.2);
  border-radius: 14px;
  background: linear-gradient(145deg,rgba(244,124,233,.1),rgba(36,217,239,.08));
  font-size: 23px;
  box-shadow: inset 0 0 20px rgba(36,217,239,.035);
}
.community-editor-title > div { min-width: 0; }
.community-editor-title strong { line-height: 1.2; }
.community-editor-title small { max-width: 62ch; overflow-wrap: anywhere; }
.community-media-actions { align-items: stretch; }
.community-media-control {
  grid-template-rows: auto auto 1fr;
  min-height: 236px;
  border-color: rgba(255,255,255,.1);
  background: linear-gradient(150deg,rgba(16,20,31,.96),rgba(8,11,18,.94));
}
.community-media-control--background { grid-template-rows: auto auto auto 1fr; }
.community-media-control > div:last-child { align-self: end; }
.community-media-control .community-file-button,
.community-media-control .community-subtle-button {
  min-width: 0;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
}
.community-media-buttons { grid-template-columns: 1fr 1fr; }
.community-media-control .community-file-button {
  border-color: rgba(36,217,239,.26);
  background: rgba(36,217,239,.075);
  color: #eafcff;
}
.community-media-control .community-subtle-button { border-color: rgba(255,171,185,.16); background: rgba(255,105,130,.045); }
.community-banner-title-field { align-self: end; }
.community-banner-title-field input { width: 100%; box-sizing: border-box; }
.community-editor-card--media .community-media-control--avatar,
.community-editor-card--media .community-media-control--banner {
  position: relative;
  overflow: hidden;
}
.community-editor-card--media .community-media-control--avatar::before,
.community-editor-card--media .community-media-control--banner::before {
  position: absolute;
  top: 14px;
  right: 15px;
  padding: 5px 8px;
  border: 1px solid rgba(36,217,239,.24);
  border-radius: 999px;
  background: rgba(36,217,239,.08);
  color: var(--rewards-cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  content: "BILD AUSWÄHLEN";
}
.community-editor-card--media .community-media-control--banner::before {
  border-color: rgba(244,124,233,.28);
  background: rgba(244,124,233,.09);
  color: #ffc4f5;
  content: "GROSSES TITELBILD";
}
.community-editor-card--media .community-banner-title-field {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 44px minmax(0,1fr) minmax(260px,.85fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(244,124,233,.2);
  border-radius: 18px;
  background: linear-gradient(120deg,rgba(244,124,233,.09),rgba(36,217,239,.055));
}
.community-editor-card--media .community-banner-title-field > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(244,124,233,.13);
  color: #ffc4f5;
}
.community-editor-card--media .community-banner-title-field > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.community-editor-card--media .community-banner-title-field strong,
.community-editor-card--media .community-banner-title-field small { display: block; }
.community-editor-card--media .community-banner-title-field strong { color: #fff; font-size: 13px; }
.community-editor-card--media .community-banner-title-field small { color: var(--rewards-muted); font-size: 10px; }
.community-editor-card--media .community-media-control--background > div:nth-child(3) small {
  display: block;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .community-editor-card--media .community-banner-title-field { grid-template-columns: 44px minmax(0,1fr); }
  .community-editor-card--media .community-banner-title-field input { grid-column: 1 / -1; }
  .community-editor-card--media .community-media-control--background > div:nth-child(3) small { white-space: normal; }
}
.community-theme-presets span,
.community-layout-card,
.community-privacy-choices label,
.community-toggle--featured,
.community-visibility-item { box-sizing: border-box; }
.community-theme-presets span { min-height: 86px; }
.community-theme-presets strong,
.community-theme-presets small,
.community-layout-card strong,
.community-layout-card small,
.community-privacy-choices strong,
.community-privacy-choices small { overflow-wrap: anywhere; text-wrap: balance; }
.community-theme-colors label { min-width: 0; }
.community-theme-colors input { flex: 0 0 44px; }
.community-privacy-choices > div { align-items: stretch; }
.community-privacy-choices label { height: 100%; min-height: 126px; }
.community-toggle--featured { height: 100%; min-height: 82px; }
.community-visibility-heading { align-items: center; }
.community-visibility-grid { align-items: stretch; }
.community-visibility-item { height: 100%; min-height: 96px; }
.community-profile-actions {
  display: grid;
  grid-template-columns: minmax(220px,1.25fr) minmax(190px,1fr) minmax(150px,.72fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(5,8,14,.66);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.community-profile-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 15px;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
  transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.community-profile-actions button:hover { transform: translateY(-2px); }
.community-profile-actions .material-symbols-outlined { flex: 0 0 auto; font-size: 20px; }
.community-profile-actions .community-save-button { box-shadow: 0 12px 30px rgba(36,217,239,.13); font-weight: 900; }
.community-profile-actions .community-subtle-button { border-color: rgba(36,217,239,.2); background: rgba(36,217,239,.055); }
.community-profile-actions .rewards-logout-button { border-color: rgba(255,148,167,.18); background: rgba(255,105,130,.045); }
.community-unsaved-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 193, 97, .42);
  border-radius: 18px;
  color: #fff7df;
  background:
    radial-gradient(circle at 24px 20px, rgba(255, 193, 97, .28), transparent 44px),
    linear-gradient(135deg, rgba(68, 34, 8, .88), rgba(32, 15, 26, .9));
  box-shadow: 0 18px 44px rgba(0,0,0,.28), 0 0 28px rgba(255,193,97,.16);
}
.community-unsaved-notice[hidden] { display: none !important; }
.community-unsaved-notice > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #160a02;
  background: linear-gradient(135deg, #ffd36d, #ff7cf5);
  font-size: 24px;
  box-shadow: 0 0 24px rgba(255,193,97,.28);
}
.community-unsaved-notice strong {
  display: block;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.community-unsaved-notice small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.74);
  font-size: .82rem;
  line-height: 1.45;
}
.community-profile-form.has-unsaved-profile-changes .community-profile-actions {
  border-color: rgba(255,193,97,.34);
  box-shadow: 0 20px 52px rgba(0,0,0,.28), 0 0 34px rgba(255,193,97,.12);
}
.community-profile-form.has-unsaved-profile-changes .community-profile-actions .community-save-button {
  animation: community-save-attention 1.8s ease-in-out infinite;
  box-shadow: 0 16px 36px rgba(36,217,239,.2), 0 0 30px rgba(255,193,97,.22);
}
.community-form-message { margin: 0; padding: 0 4px; }

@keyframes community-save-attention {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 980px) {
  .community-media-actions { grid-template-columns: 1fr; max-width: 660px; }
  .community-media-control { min-height: 0; }
  .community-profile-actions { grid-template-columns: 1fr 1fr; }
  .community-profile-actions .rewards-logout-button { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .community-studio-heading { flex-direction: column; }
  .community-completion { width: 100%; }
  .community-privacy-choices > div,
  .community-layout-picker > div { grid-template-columns: 1fr; }
  .community-privacy-choices label { min-height: 98px; }
  .community-visibility-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .community-profile-studio { padding: 14px; border-radius: 22px; }
  .community-studio-heading { padding: 18px 15px; border-radius: 19px; }
  .community-editor-card { padding: 18px 14px; border-radius: 20px; }
  .community-editor-title { align-items: flex-start; }
  .community-editor-title > .material-symbols-outlined { width: 42px; height: 42px; }
  .community-media-buttons,
  .community-profile-actions { grid-template-columns: 1fr; }
  .community-profile-actions .rewards-logout-button { grid-column: auto; }
  .community-theme-presets { grid-template-columns: 1fr; }
  .community-avatar-editor { align-items: flex-start; }
  .community-publish-dialog { padding: 26px 20px; border-radius: 22px; }
  .community-publish-dialog__actions { grid-template-columns: 1fr; }
  .community-unsaved-notice { grid-template-columns: 1fr; text-align: center; }
  .community-unsaved-notice > .material-symbols-outlined { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .community-profile-form.has-unsaved-profile-changes .community-profile-actions .community-save-button {
    animation: none;
  }
  .community-editor-card--privacy { scroll-behavior: auto; }
}

.social-gallery-sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 12px;
}
.social-gallery-sources button {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.72);
  font: inherit;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.social-gallery-sources button.is-active {
  border-color: rgba(244,124,233,.58);
  color: #fff;
  background: linear-gradient(135deg, rgba(244,124,233,.2), rgba(36,217,239,.13));
  box-shadow: 0 12px 28px rgba(36,217,239,.08);
}
.community-model-access {
  overflow: hidden;
  background: radial-gradient(circle at 90% 0%, rgba(36,217,239,.11), transparent 36%), rgba(15,18,28,.84);
}
.community-model-access-intro,
.community-model-linked-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(5,7,13,.54);
}
.community-model-access-intro > .material-symbols-outlined,
.community-model-linked-head > .material-symbols-outlined {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #24d9ef;
  background: rgba(36,217,239,.11);
}
.community-model-access-intro p,
.community-model-linked-head p { margin: 5px 0 0; color: rgba(255,255,255,.62); line-height: 1.6; }
.community-model-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin-top: 16px;
}
.community-model-connect label { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.community-model-connect select,
.community-model-connect input {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: #090c14;
  color: #fff;
}
.community-model-linked-head img { width: 72px; height: 84px; object-fit: cover; border-radius: 16px; }
.community-model-linked-head > div { flex: 1; min-width: 0; }
.community-model-linked-head small { display: block; color: #56e9f5; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.community-model-linked-head strong { display: block; margin-top: 5px; font-size: 22px; }
.community-model-linked-head > button {
  border: 1px solid rgba(255,150,170,.25);
  border-radius: 14px;
  padding: 11px 14px;
  background: rgba(255,110,140,.08);
  color: #ffafbf;
  font-weight: 800;
}
.community-model-upload { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; margin-top: 16px; }
.community-model-upload > label {
  min-height: 66px;
  padding: 12px 16px;
  border: 1px dashed rgba(86,233,245,.32);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  cursor: pointer;
}
.community-model-upload label small { display: block; margin-top: 3px; color: rgba(255,255,255,.55); }
.community-model-upload input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.community-model-image-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 106px; gap: 10px; margin-top: 16px; padding-bottom: 8px; overflow-x: auto; scrollbar-color: #24d9ef rgba(255,255,255,.08); }
.community-model-image-strip img { width: 106px; height: 132px; object-fit: cover; border-radius: 15px; border: 1px solid rgba(255,255,255,.1); }

@media (max-width: 800px) {
  .community-model-connect,
  .community-model-upload { grid-template-columns: 1fr; }
  .community-model-linked-head { align-items: flex-start; flex-wrap: wrap; }
  .community-model-linked-head > button { width: 100%; }
}

/* Customer readability layer: keep the layout compact without tiny helper text. */
body.rewards-page {
  --customer-copy-body: clamp(13px, .86vw, 15px);
  --customer-copy-small: clamp(12px, .76vw, 13px);
  --customer-copy-meta: clamp(12px, .74vw, 13px);
}

body.rewards-page :where(
  .rewards-tier-card p,
  .rewards-live-note,
  .rewards-metric p,
  .rewards-section-heading p,
  .rewards-progress-card > p,
  .rewards-reward-card p,
  .rewards-account-panel p,
  .community-cloud-intro p,
  .community-cloud-actions > small,
  .community-cloud-item small,
  .community-avatar-editor p,
  .community-publish-dialog p,
  .community-model-access-intro p,
  .community-model-linked-head p,
  .community-model-upload label small,
  .rewards-points-hub-head p,
  .rewards-points-hub-summary p,
  .rewards-hub-section-heading p,
  .rewards-source-card p,
  .rewards-hub-mission p,
  .rewards-hub-reward p,
  .social-gallery-dialog-head p,
  .social-post > header small,
  .social-comment p,
  .social-notification small,
  .social-notification time,
  .rewards-bug-dialog-head p,
  .rewards-bug-privacy
) {
  font-size: var(--customer-copy-small) !important;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body.rewards-page :where(
  .rewards-edit-profile-cta small,
  .rewards-points-hub-cta small,
  .rewards-tier-card small,
  .rewards-metric small,
  .rewards-list-item small,
  .rewards-mission small,
  .rewards-mission-period,
  .rewards-community-profile-head small,
  .rewards-community-review-form label,
  .rewards-model-review-form label,
  .rewards-model-review-history-item small,
  .rewards-review-status,
  .community-completion small,
  .community-cloud-fields label,
  .community-cloud-fields label small,
  .community-editor-title small,
  .community-banner-preview > span,
  .community-background-preview > span,
  .community-form-grid label,
  .community-form-grid fieldset,
  .community-form-grid label > small,
  .community-chip-picker span,
  .community-toggle,
  .community-visibility-item span,
  .community-visibility-item i,
  .community-favorite-card strong,
  .community-favorite-card label,
  .community-favorite-card button,
  .community-gallery-choice span,
  .community-privacy-choices small,
  .community-form-message,
  .community-back-link,
  .community-public-meta span,
  .community-public-tags span,
  .community-friend-chip,
  .community-public-favorites strong,
  .community-public-safety button,
  .rewards-points-hub-summary small,
  .rewards-hub-section-heading small,
  .rewards-source-card span,
  .rewards-hub-status,
  .rewards-hub-reward small,
  .social-nav-button small,
  .social-gallery-selected-image span,
  .social-gallery-dialog-image span,
  .social-post-visibility,
  .social-reaction-summary,
  .social-reaction-menu small,
  .social-comment strong,
  .social-comment small,
  .social-comment-action,
  .community-banner-title-field > span,
  .community-banner-title-field small,
  .community-layout-picker legend,
  .community-layout-card small,
  .community-layout-card b,
  .community-toggle--featured strong,
  .community-toggle--featured small,
  .community-visibility-heading small,
  .community-visibility-heading span,
  .community-visibility-copy strong,
  .community-visibility-copy small,
  .community-visibility-state,
  .rewards-bug-form label,
  .rewards-bug-helper,
  .community-model-linked-head small
) {
  font-size: var(--customer-copy-meta) !important;
  line-height: 1.45;
}

body.rewards-page main small {
  font-size: var(--customer-copy-meta) !important;
  line-height: 1.45;
}

body.rewards-page .community-theme-colors label {
  font-size: var(--customer-copy-meta) !important;
  line-height: 1.4;
}

body.rewards-page :where(
  .rewards-list-item strong,
  .rewards-mission strong,
  .community-layout-card strong,
  .community-visibility-heading strong
) {
  line-height: 1.4;
}

@media (max-width: 720px) {
  body.rewards-page {
    --customer-copy-body: 14px;
    --customer-copy-small: 12.5px;
    --customer-copy-meta: 12px;
  }
}

/* Profile studio: clearer paths and lighter privacy controls. */
.community-basis-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.community-basis-paths a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background: linear-gradient(135deg,rgba(244,124,233,.07),rgba(36,217,239,.045));
  color: #fff;
  text-decoration: none;
  transition: border-color .2s ease,transform .2s ease,background .2s ease;
}

.community-basis-paths a:hover,
.community-basis-paths a:focus-visible {
  border-color: rgba(36,217,239,.38);
  background: linear-gradient(135deg,rgba(244,124,233,.12),rgba(36,217,239,.08));
  transform: translateY(-2px);
}

.community-basis-paths a > .material-symbols-outlined:first-child {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(36,217,239,.09);
  color: var(--rewards-cyan);
}

.community-basis-paths a > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.community-basis-paths strong { font-size: 13px; line-height: 1.3; }
.community-basis-paths small { color: var(--rewards-muted); font-size: 12px !important; line-height: 1.5; }
.community-basis-paths a > i { color: var(--rewards-pink); font-size: 19px; font-style: normal; }

.community-editor-card--privacy .community-form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  align-items: stretch;
  gap: 14px;
}

.community-editor-card--privacy .community-privacy-choices.is-wide { grid-column: auto; }
.community-editor-card--privacy .community-privacy-choices > div { gap: 9px; }

.community-editor-card--privacy .community-privacy-choices label {
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  min-height: 86px !important;
  padding: 12px 13px;
  border-radius: 15px;
  transform: none;
}

.community-editor-card--privacy .community-privacy-choices label:hover { transform: none; }
.community-editor-card--privacy .community-privacy-choices .material-symbols-outlined { grid-row: 1 / 3; width: 36px; height: 36px; }
.community-editor-card--privacy .community-privacy-choices strong,
.community-editor-card--privacy .community-privacy-choices small { grid-column: 2; }

.community-editor-card--privacy .community-privacy-choices label::after {
  content: "";
  grid-column: 3;
  grid-row: 1 / 3;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(8,11,18,.9);
}

.community-editor-card--privacy .community-privacy-choices label:has(input:checked)::after {
  border-color: var(--rewards-cyan);
  background: var(--rewards-cyan);
  box-shadow: inset 0 0 0 4px #111722,0 0 14px rgba(36,217,239,.36);
}

.community-editor-card--privacy .community-toggle--featured {
  align-self: stretch;
  min-height: 86px;
  height: auto;
  padding: 14px 16px;
}

.community-editor-card--privacy .community-visibility-heading {
  margin-top: 18px;
  padding-top: 17px;
}

.community-editor-card--privacy .community-visibility-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}

.community-editor-card--privacy .community-visibility-item {
  grid-template-columns: 34px minmax(0,1fr) 34px;
  grid-template-rows: auto auto;
  min-height: 74px;
  height: auto;
  padding: 11px 12px;
  border-radius: 14px;
}

.community-editor-card--privacy .community-visibility-item > .material-symbols-outlined {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 18px;
}

.community-editor-card--privacy .community-visibility-copy { gap: 1px; }
.community-editor-card--privacy .community-visibility-copy strong { font-size: 12px !important; }
.community-editor-card--privacy .community-visibility-copy small { color: #aeb4c1; font-size: 12px !important; line-height: 1.4; }

.community-editor-card--privacy .community-visibility-state {
  grid-column: 2;
  min-height: 18px;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .04em;
}

.community-editor-card--privacy .community-visibility-state b,
.community-editor-card--privacy .community-visibility-state i { display: none; font-style: normal; }
.community-editor-card--privacy .community-visibility-item:not(:has(input:checked)) .community-visibility-state b { display: inline; color: #89919f; }
.community-editor-card--privacy .community-visibility-item:has(input:checked) .community-visibility-state i { display: inline; color: var(--rewards-cyan); opacity: 1; }

.community-editor-card--privacy .community-visibility-item > em {
  width: 34px;
  height: 20px;
}

.community-editor-card--privacy .community-visibility-item > em::after { width: 12px; height: 12px; }
.community-editor-card--privacy .community-visibility-item input:checked + em::after { left: 17px; }

@media (max-width: 980px) {
  .community-editor-card--privacy .community-form-grid { grid-template-columns: 1fr; }
  .community-editor-card--privacy .community-visibility-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .community-basis-paths,
  .community-editor-card--privacy .community-privacy-choices > div,
  .community-editor-card--privacy .community-visibility-grid { grid-template-columns: 1fr; }
}
.social-gallery-sources button[hidden] { display: none; }

.community-collectible-showcase {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.community-collectible-showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.community-collectible-showcase-heading strong,
.community-collectible-showcase-heading small { display: block; }
.community-collectible-showcase-heading strong { color: #fff; font-size: 13px; }
.community-collectible-showcase-heading small { max-width: 620px; margin-top: 4px; color: var(--rewards-muted); font-size: 10px; line-height: 1.45; }
.community-collectible-showcase-heading > .material-symbols-outlined { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: rgba(36,217,239,.1); color: var(--rewards-cyan); }
.community-collectible-picker { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 10px; }
.community-collectible-choice { position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 10px; align-items: center; min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.025); cursor: pointer; transition: border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease; }
.community-collectible-choice:hover { transform: translateY(-1px); border-color: rgba(36,217,239,.42); }
.community-collectible-choice.is-selected { border-color: rgba(36,217,239,.62); background: linear-gradient(135deg,rgba(244,124,233,.11),rgba(36,217,239,.1)); box-shadow: 0 0 0 2px rgba(36,217,239,.08); }
.community-collectible-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.community-collectible-choice-image { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 10px; background: rgba(0,0,0,.2); }
.community-collectible-choice-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.community-collectible-choice-image > .material-symbols-outlined { color: var(--rewards-cyan); font-size: 25px; }
.community-collectible-choice-copy { display: grid; gap: 3px; min-width: 0; }
.community-collectible-choice-copy strong { color: #f5f7ff; font-size: 11px; overflow-wrap: anywhere; }
.community-collectible-choice-copy small { color: var(--rewards-muted); font-size: 9px; text-transform: capitalize; }
.community-collectible-choice-check { color: rgba(255,255,255,.35); font-size: 19px; }
.community-collectible-choice.is-selected .community-collectible-choice-check { color: var(--rewards-cyan); }
.community-collectible-empty { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px dashed rgba(255,255,255,.14); border-radius: 14px; color: var(--rewards-muted); font-size: 11px; line-height: 1.45; }
.community-collectible-empty > .material-symbols-outlined { color: var(--rewards-pink); font-size: 20px; }

@media (max-width: 620px) {
  .community-collectible-picker { grid-template-columns: 1fr; }
}
