:root {
  --black: #050305;
  --ink: #0b0508;
  --smoke: #15090e;
  --blood: #300712;
  --wine: #650b24;
  --ruby: #9e1033;
  --red: #ed174c;
  --scarlet: #ff3b64;
  --pink: #ff4f9a;
  --rose: #ff9bb2;
  --blush: #ffd1dc;
  --plum: #260430;
  --ivory: #fff8f8;
  --muted: #dac7cc;
  --faint: #a58b93;
  --line: rgba(255, 155, 178, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--ivory); font: 16px/1.6 Inter, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--scarlet); outline-offset: 4px; }
::selection { background: var(--red); color: #fff; }
.isHidden { display: none !important; }

.accountTopbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; padding: 18px clamp(20px, 5vw, 76px); border-bottom: 1px solid var(--line); background: rgba(5, 3, 5, .95); }
.accountBrand { color: var(--ivory); font: 400 clamp(25px, 2vw, 32px)/1 Georgia, serif; letter-spacing: -.045em; }
.accountBrand span { color: var(--scarlet); font-style: italic; text-shadow: 0 0 22px rgba(237, 23, 76, .5); }
.accountTopbar nav, .accountFooter nav { display: flex; flex-wrap: wrap; gap: clamp(15px, 2.5vw, 34px); }
.accountTopbar nav a, .accountFooter a { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.accountTopbar nav a:hover, .accountFooter a:hover { color: var(--rose); }

.accountEyebrow { margin: 0 0 17px; color: var(--rose); font-size: 10px; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; }
.accountLead { max-width: 720px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.75; }
.accountHero { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .72fr); align-items: center; gap: clamp(45px, 8vw, 130px); min-height: 790px; padding: clamp(70px, 10vw, 150px) clamp(22px, 7vw, 110px); overflow: hidden; background: linear-gradient(90deg, rgba(8, 4, 5, .99) 0%, rgba(8, 4, 5, .9) 48%, rgba(8, 4, 5, .52) 75%, rgba(8, 4, 5, .82) 100%), url('/images/promo/ruby-poise.jpeg') right 12% center / auto 100% no-repeat, radial-gradient(circle at 12% 80%, rgba(158, 16, 51, .24), transparent 30%), linear-gradient(135deg, #080405, #18070d 57%, #18031f); }
.accountHero::before { content: "MF"; position: absolute; right: -3vw; bottom: -9vw; color: rgba(255, 255, 255, .025); font: italic 400 clamp(280px, 43vw, 690px)/.8 Georgia, serif; pointer-events: none; }
.accountHeroCopy, .accountSignIn { position: relative; z-index: 1; }
.accountHero h1, .communityHero h1, .profileGate h1, .profileWelcome h1 { margin: 0; font: 400 clamp(68px, 8vw, 126px)/.82 Georgia, serif; letter-spacing: -.065em; }
.accountHero h1 em, .communityHero h1 em, .profileGate h1 em { color: var(--scarlet); font-weight: 400; text-shadow: 0 0 42px rgba(237, 23, 76, .35); }
.accountPromise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 780px; margin-top: 45px; border: 1px solid var(--line); background: var(--line); }
.accountPromise span { display: grid; gap: 10px; min-height: 120px; padding: 22px; background: rgba(8, 4, 6, .88); color: var(--muted); font-size: 13px; }
.accountPromise b { color: var(--scarlet); font: 400 24px Georgia, serif; }

.accountSignIn { padding: clamp(28px, 4vw, 52px); border: 1px solid rgba(255, 155, 178, .42); background: rgba(10, 4, 8, .85); box-shadow: 0 36px 90px rgba(0, 0, 0, .4); backdrop-filter: blur(16px); }
.accountSignIn h2 { margin: 0 0 18px; font: 400 clamp(34px, 3vw, 48px)/1 Georgia, serif; }
.accountSignIn > p:not(.accountEyebrow):not(.accountStatus), .accountSignIn > small { color: var(--muted); }
.accountSignIn > small { display: block; margin-top: 20px; font-size: 12px; line-height: 1.65; }
.accountCheck { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 14px; }
.accountCheck input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.accountCheck a { color: var(--rose); text-decoration: underline; }
.accountButton { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 58px; padding: 15px 21px; border: 1px solid rgba(255, 155, 178, .55); background: linear-gradient(110deg, var(--wine), var(--red), var(--pink)); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 16px 36px rgba(201, 22, 67, .27); }
button.accountButton { width: 100%; margin-top: 15px; }
.accountButton:hover { filter: brightness(1.1); transform: translateY(-2px); }
.accountButton:disabled { cursor: not-allowed; filter: grayscale(.75); opacity: .6; transform: none; }
.accountButton span { color: var(--blush); font-size: 18px; }
.accountStatus, .formStatus { min-height: 25px; color: var(--rose); font-size: 13px; }
.accountStatus.isError, .formStatus.isError, #profile-count.isError { color: #ff8d9f; }
.accountTextLink { display: block; margin-top: 22px; color: var(--rose); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-decoration: underline; text-transform: uppercase; }

.accountExplainer { padding: 110px clamp(22px, 7vw, 110px) 135px; background: linear-gradient(145deg, #090405, #15070b); }
.accountExplainer > div:first-child { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: 1440px; margin: 0 auto 45px; }
.accountExplainer h2, .communityHeading h2, .editorIntro h2 { margin: 0; font: 400 clamp(50px, 6vw, 86px)/.95 Georgia, serif; letter-spacing: -.055em; }
.accountFeatureGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1440px; margin: auto; }
.accountFeatureGrid article { min-height: 330px; padding: clamp(25px, 3vw, 42px); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(48, 7, 18, .78), rgba(16, 3, 20, .8)); }
.accountFeatureGrid article > b { color: var(--scarlet); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.accountFeatureGrid h3 { margin: 30px 0 16px; font: 400 clamp(27px, 2.3vw, 39px)/1.06 Georgia, serif; }
.accountFeatureGrid p { color: var(--muted); }

.communityHero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .62fr); gap: clamp(45px, 7vw, 115px); align-items: center; padding: clamp(75px, 10vw, 150px) clamp(22px, 8vw, 130px); overflow: hidden; background: radial-gradient(circle at 82% 20%, rgba(230, 40, 135, .28), transparent 25%), linear-gradient(120deg, #080405, #200714 62%, #17021e); }
.communityHeroCopy { position: relative; z-index: 1; }
.communityHero h1 { max-width: 1050px; }
.communityHostPortrait { position: relative; margin: 0; min-height: 660px; overflow: hidden; border: 1px solid rgba(255, 155, 178, .32); background: #12050c; box-shadow: 0 38px 90px rgba(0, 0, 0, .44); transform: rotate(1.5deg); }
.communityHostPortrait::after { content: "MF"; position: absolute; right: -8px; top: -20px; color: rgba(255, 255, 255, .08); font: italic 400 120px Georgia, serif; }
.communityHostPortrait img { width: 100%; height: 100%; min-height: 660px; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.08); }
.communityHostPortrait figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: 4px; padding: 65px 22px 20px; background: linear-gradient(180deg, transparent, rgba(7, 2, 6, .97)); }
.communityHostPortrait strong { color: var(--ivory); font: italic 400 22px Georgia, serif; }
.communityHostPortrait span { color: var(--rose); font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.exampleDisclosure { max-width: 900px; margin: 42px 0 30px; padding: 22px 25px; border-left: 4px solid var(--pink); background: rgba(255, 79, 154, .09); }
.exampleDisclosure strong { color: var(--rose); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.exampleDisclosure p { margin: 8px 0 0; color: var(--muted); }
.communityCta { width: fit-content; }
.communityBody { padding: 100px clamp(18px, 6vw, 95px) 140px; background: linear-gradient(150deg, #0a0507, #16070c); }
.communityHeading { display: flex; align-items: end; justify-content: space-between; gap: 35px; max-width: 1500px; margin: 0 auto 50px; }
.communityHeading > p { max-width: 390px; margin: 0; color: var(--muted); text-align: right; }
.profileGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1500px; margin: auto; }
.communityCard { position: relative; display: flex; flex-direction: column; min-height: 650px; padding: clamp(23px, 2.4vw, 38px); border: 1px solid var(--line); background: radial-gradient(circle at 80% 0, rgba(237, 23, 76, .16), transparent 30%), linear-gradient(150deg, #200910, #100616); }
.communityCard.isExample::before { content: "EXAMPLE"; position: absolute; top: 22px; right: 20px; color: rgba(255, 155, 178, .17); font: 900 26px/1 Inter, sans-serif; letter-spacing: .08em; transform: rotate(-6deg); }
.communityCard.isMember { border-color: rgba(255, 59, 100, .48); }
.cardIdentity { position: relative; z-index: 1; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; }
.profileAvatar { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--rose); border-radius: 50%; background: linear-gradient(145deg, var(--ruby), var(--plum)); color: #fff; font: italic 400 24px Georgia, serif; box-shadow: 0 0 30px rgba(237, 23, 76, .22); }
.profileLabel { margin: 0 0 7px !important; color: var(--pink) !important; font-size: 9px !important; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.cardIdentity h2 { margin: 0; font: 400 31px/1 Georgia, serif; }
.cardIdentity p { margin: 8px 0 0; color: var(--faint); font-size: 12px; }
.profileMeta, .profileTags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.profileMeta span, .profileTags span { padding: 7px 10px; border: 1px solid var(--line); color: var(--rose); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profileTags span { border-color: rgba(255, 255, 255, .12); color: var(--muted); }
.profileAbout { margin: 27px 0 0; color: #f1e3e7; font-size: 16px; line-height: 1.7; }
.profileAnswer { margin-top: 25px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .12); }
.profileAnswer b { color: var(--rose); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.profileAnswer p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.communityCard blockquote { margin: auto 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--blush); font: italic 400 18px/1.5 Georgia, serif; }

.profileShell { background: radial-gradient(circle at 80% 5%, rgba(230, 40, 135, .16), transparent 22%), linear-gradient(150deg, #080405, #15070c); }
.profileGate { min-height: 750px; padding: clamp(90px, 12vw, 180px) clamp(22px, 8vw, 130px); }
.profileGate > p:not(.accountEyebrow) { max-width: 680px; color: var(--muted); font-size: 19px; }
.profileGate .accountButton { width: fit-content; margin-top: 25px; }
.profileApp { max-width: 1600px; margin: auto; padding: 70px clamp(16px, 5vw, 78px) 130px; }
.profileWelcome { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding-bottom: 45px; }
.profileWelcome h1 { font-size: clamp(56px, 6vw, 95px); }
.profileWelcome p { max-width: 760px; color: var(--muted); }
.profileWelcomeActions { display: flex; flex-wrap: wrap; gap: 12px; }
.profileWelcomeActions a, .profileWelcomeActions button, .profileTabs a { padding: 12px 16px; border: 1px solid var(--line); background: rgba(30, 7, 15, .8); color: var(--rose); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.profileTabs { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: 2px; padding: 13px; border: 1px solid var(--line); background: rgba(5, 3, 5, .94); backdrop-filter: blur(14px); }
.profileTabs a:hover { background: var(--ruby); color: #fff; }
.editorSection { display: grid; grid-template-columns: minmax(260px, .55fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); margin-top: 28px; padding: clamp(45px, 7vw, 95px); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(34, 7, 14, .87), rgba(13, 3, 17, .92)); scroll-margin-top: 90px; }
.privateEditor { background: radial-gradient(circle at 90% 0, rgba(90, 11, 105, .2), transparent 28%), linear-gradient(145deg, rgba(34, 7, 14, .92), rgba(13, 3, 17, .96)); }
.editorIntro { align-self: start; position: sticky; top: 95px; }
.editorIntro > p:not(.accountEyebrow), .accountNotice { color: var(--muted); }
.accountNotice { margin-top: 25px; padding: 18px 20px; border-left: 3px solid var(--scarlet); background: rgba(237, 23, 76, .09); font-size: 13px; }
.accountNotice strong { display: block; color: var(--rose); }
.editorForm { display: grid; gap: 25px; }
.editorForm label:not(.accountCheck) { display: grid; gap: 9px; color: var(--muted); }
.editorForm label > span { color: var(--ivory); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.editorForm label > span b { color: var(--pink); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.editorForm input:not([type="checkbox"]), .editorForm select, .editorForm textarea, .deleteControl input { width: 100%; border: 1px solid rgba(255, 155, 178, .27); border-radius: 0; background: #080406; color: var(--ivory); padding: 14px 15px; }
.editorForm textarea { resize: vertical; line-height: 1.6; }
.editorForm input::placeholder, .editorForm textarea::placeholder, .deleteControl input::placeholder { color: #755e65; }
.editorForm small { color: var(--faint); font-size: 11px; }
.formGrid { display: grid; gap: 18px; }
.formGrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choiceSet, .consentSet { margin: 0; padding: 22px; border: 1px solid rgba(255, 155, 178, .24); }
.choiceSet legend, .consentSet legend { padding: 0 10px; color: var(--rose); font: 400 22px Georgia, serif; }
.choiceSet > p { color: var(--faint); font-size: 13px; }
.checkGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 18px; }
.checkGrid label, .consentSet label { display: flex !important; flex-direction: row; align-items: flex-start; gap: 10px !important; color: var(--muted); font-size: 13px; }
.checkGrid input, .consentSet input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--red); }
.consentSet { display: grid; gap: 14px; }
.consentSet a { color: var(--rose); text-decoration: underline; }
.formSubheading { margin: 35px 0 -5px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--rose); font: 400 31px Georgia, serif; }
.visibilityChoice { padding: 22px; border: 1px solid var(--scarlet); background: rgba(158, 16, 51, .15); }
.formActions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.formActions .accountButton { width: fit-content; margin: 0; }
.accountControls { grid-template-columns: .65fr 1fr; }
.controlGrid { display: grid; gap: 25px; align-content: start; }
.controlGrid > .accountButton { width: fit-content; }
.deleteControl { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 22px; border: 1px solid rgba(255, 59, 100, .5); background: rgba(75, 5, 18, .3); }
.deleteControl label { display: grid; gap: 7px; }
.deleteControl label span { color: var(--muted); font-size: 12px; }
.deleteControl button { align-self: end; min-height: 51px; padding: 0 18px; border: 1px solid var(--red); background: transparent; color: #ff94a8; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.deleteControl button:hover { background: var(--red); color: #fff; }

.accountFooter { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px clamp(20px, 5vw, 76px); border-top: 1px solid var(--line); background: #060305; color: var(--faint); font-size: 11px; }

@media (max-width: 1100px) {
  .accountHero, .communityHero, .editorSection { grid-template-columns: 1fr; }
  .editorIntro { position: static; }
  .profileGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accountHero { min-height: auto; }
  .communityHostPortrait { min-height: 560px; max-height: 760px; transform: none; }
  .communityHostPortrait img { min-height: 560px; }
}

@media (max-width: 760px) {
  .accountTopbar, .accountFooter, .profileWelcome, .communityHeading { align-items: flex-start; flex-direction: column; }
  .accountTopbar nav { gap: 12px; }
  .accountHero { padding-top: 75px; }
  .accountHero h1, .communityHero h1, .profileGate h1 { font-size: clamp(56px, 17vw, 82px); }
  .accountPromise, .accountFeatureGrid, .profileGrid, .formGrid.two, .checkGrid { grid-template-columns: 1fr; }
  .communityHeading > p { text-align: left; }
  .communityCard { min-height: auto; }
  .communityHostPortrait { min-height: 460px; }
  .communityHostPortrait img { min-height: 460px; }
  .profileApp { padding-inline: 10px; }
  .editorSection { padding: 35px 20px; }
  .profileTabs { position: static; }
  .deleteControl { grid-template-columns: 1fr; }
  .accountFooter nav { gap: 14px; }
}
