@import url('/assets/fonts/fonts.css');

:root {
  color-scheme: light;
  --ink: #242520;
  --muted: #615e53;
  --paper: #fcfaf5;
  --honey: #f2ede1;
  --line: #e2ded4;
  --display: "Bricolage Grotesque", "DM Sans", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  font: 16px/1.5 "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { text-decoration: underline; text-underline-offset: 3px; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a73e64; outline-offset: 3px; }
button, .button {
  display: inline-flex; justify-content: center; align-items: center; gap: 6px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 15px; min-height: 44px; text-decoration: none; font-weight: 700; text-align: center;
}
button:hover, .button:hover { border-color: #a48782; }
.primary { color: #fff; background: var(--ink); border-color: var(--ink); }
.primary:hover { background: #46483b; }
.quiet { background: transparent; border-color: transparent; }
[hidden] { display: none !important; }
.landing { background: var(--honey); padding: 24px max(24px, calc((100vw - 1180px) / 2)) 50px; }
.brandbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { font: 800 30px/1 var(--display); text-decoration: none; letter-spacing: -.06em; }
.brand span { color: #70479c; }
.hero { min-height: 590px; display: grid; grid-template-columns: 1fr .87fr; gap: 56px; align-items: center; }
.hero h1 { font: 800 clamp(52px, 6.85vw, 102px)/.98 var(--display); letter-spacing: 0; max-width: 660px; }
.hero p { margin: 26px 0 24px; font-size: 19px; max-width: 460px; }
.claim { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.claim label {
  padding: 13px 12px; background: #fffdf8; border: 1px solid #dcd4c6; border-radius: 9px; display: flex; align-items: center;
  flex: 1 1 220px; min-width: 0; max-width: 295px; font-weight: 700;
}
.claim input { border: 0; background: transparent; width: 100%; min-width: 55px; padding-left: 2px; }
.claim button { padding-inline: 19px; min-height: 52px; border-radius: 99px; }
.stage {
  display: grid; place-items: center; min-width: 0; padding: 24px 16px;
  color: #f8f4eb; background: #34392e; border-radius: 16px;
}
.phone {
  width: min(100%, 284px); border: 5px solid #191b17; border-radius: 23px; overflow: hidden;
  box-shadow: 0 12px 28px #12140e50;
}
.profile {
  --page: #faf8f2; --text: #262820; --subtle: #60594f; --surface: #fffdf8;
  --edge: #dcd5c8; --accent: #262820; --on-accent: #fffdf7;
  --profile-pad: 20px; --title-face: var(--display); --link-radius: 14px;
  container-type: inline-size; background: var(--page); color: var(--text);
  padding: 0 var(--profile-pad) 25px; overflow: hidden; overflow-wrap: anywhere; min-width: 0;
}
.profile-header { padding-top: 44px; }
.profile-photo, .initials {
  display: block; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center;
  margin-bottom: 12px;
}
.initials {
  display: grid; place-items: center; color: var(--on-accent); background: var(--accent);
  font: 700 27px/1 var(--display);
}
.profile-identity :is(h1,h2) { font: 700 clamp(31px, 11cqw, 49px)/1.02 var(--title-face); letter-spacing: -.032em; }
.profile .profile-identity.handle-only :is(h1,h2) { font: 750 clamp(25px, 8cqw, 37px)/1.12 var(--display); letter-spacing: -.028em; }
.profile .handle { font-size: 13px; color: var(--subtle); margin-top: 5px; }
.profile .bio { font-size: 14px; margin-top: 9px; color: var(--subtle); }
.profile-links { display: grid; gap: 9px; margin-top: 20px; }
.profile-link {
  display: block; width: 100%; min-width: 0; padding: 0; border: 1px solid var(--edge);
  border-radius: var(--link-radius); overflow: hidden; background: var(--surface);
  color: var(--text); text-decoration: none; text-align: left;
}
.profile-link:is(a,button):hover { border-color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.link-label { display: flex; align-items: center; min-height: 52px; padding: 10px 15px; font-size: 15px; line-height: 1.25; }
.link-label small, .sensitive-card summary small { display: block; margin-top: 4px; font-weight: 400; font-size: 12px; }
.featured { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.featured .link-label { min-height: 59px; }
.feature-photo { display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; object-position: center; }
.profile footer { margin-top: 24px; text-align: center; font-size: 12px; color: var(--subtle); }
.profile footer a { text-decoration: none; }
.profile footer a:hover { text-decoration: underline; }
.profile .sensitive { display: grid; gap: 8px; margin-top: 14px; }
.sensitive-card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--edge); border-radius: 17px; background: var(--surface); }
.sensitive-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse at 0 0, #b06b9a80, transparent 68%), radial-gradient(ellipse at 100% 65%, #7474be88, transparent 65%);
}
.sensitive-card summary, .sensitive-panel { background: color-mix(in srgb, var(--surface) 75%, transparent); backdrop-filter: blur(15px); }
.sensitive-card summary { cursor: pointer; display: flex; align-items: center; gap: 11px; min-height: 67px; padding: 11px 14px; }
.sensitive-card:not([open]) summary { border-radius: inherit; }
.sensitive-card summary:focus-visible { outline-offset: -4px; }
.sensitive-card summary small { color: var(--subtle); }
.age-badge { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--accent); color: var(--on-accent); border-radius: 100%; font-size: 12px; font-weight: 750; }
.sensitive-panel { padding: 0 14px 13px; }
.sensitive-panel p { font-size: 13px; margin-bottom: 8px; }
.sensitive-confirm { display: grid; place-items: center; min-height: 44px; width: 100%; padding: 7px 10px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 750; text-align: center; }
.example-url { margin-top: 14px; font-size: 13px; font-weight: 700; }
.home-next { padding: 32px 24px 52px; text-align: center; }
.home-next h2 { font: 800 29px/1.15 var(--display); }
.home-next ol { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style-position: inside; }
.home-next li { padding-inline: 8px; color: var(--muted); }
.flow, .missing { max-width: 640px; margin: 48px auto; padding: 0 20px; }
.flow h1, .missing h1 { font: 800 clamp(34px, 6vw, 52px)/1 var(--display); letter-spacing: -.055em; margin: 10px 0 14px; }
.flow p, .missing p { margin-bottom: 16px; color: var(--muted); }
.flow form { display: grid; gap: 14px; }
.field { display: grid; gap: 5px; font-size: 14px; font-weight: 700; min-width: 0; }
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid #c4b3ac; background: #fff; border-radius: 8px; font-size: 16px; font-weight: 400;
}
.appbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px max(22px, calc((100vw - 1170px)/2)); border-bottom: 1px solid var(--line); }
.appbar .address { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.appbar .actions, .row-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.status { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; max-width: 1170px; margin: auto; gap: 32px; padding: 25px 22px; }
.workspace h1 { font: 800 38px/1.08 var(--display); letter-spacing: -.045em; margin: 15px 0; }
.link-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-actions { margin-top: 9px; align-items: center; }
.row-actions button { min-height: 38px; padding: 6px 9px; font-size: 13px; }
.row-actions label { font-size: 13px; }
.preview-toggle { display: none; }
.photo-control button { margin-top: 8px; }
.featured-control { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.live { padding: 28px 16px; min-height: 100dvh; background: #eae3da; }
.live-shell { position: relative; max-width: 440px; margin: 0 auto; }
.live-shell .profile { min-height: min(720px, calc(100dvh - 56px)); border-radius: 24px; box-shadow: 0 15px 44px #26192d28; }
dialog { border: 1px solid var(--line); border-radius: 17px; width: min(460px, calc(100vw - 26px)); padding: 22px; color: var(--ink); box-shadow: 0 20px 70px #28151b43; }
dialog::backdrop { background: #2c192a78; }
dialog h2 { font: 800 27px/1.15 var(--display); margin-bottom: 9px; }
dialog p { margin-bottom: 15px; overflow-wrap: anywhere; }
dialog .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
#toast { position: fixed; right: 16px; bottom: 18px; background: var(--ink); color: white; padding: 10px 15px; border-radius: 9px; z-index: 2; max-width: calc(100vw - 32px); }
#toast:empty { display: none; }
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; }
  .hero h1 { font-size: clamp(40px, 12vw, 78px); }
  .hero p { margin: 16px 0 20px; }
  .hero p, .claim { max-width: 520px; }
  .stage { padding-block: 24px; }
  .workspace { display: block; padding: 15px; }
  .preview-toggle { display: inline-flex; }
  .workspace:not(.show-preview) .preview, .workspace.show-preview .controls { display: none; }
  .workspace.show-preview .preview { margin-top: 12px; }
  .appbar { padding: 12px 15px; }
}
@media (max-width: 470px) {
  .brand { font-size: 27px; }
  .brandbar .button { padding: 7px 11px; font-size: 13px; }
  .landing { padding-inline: 17px; }
  .claim label { flex: 1 1 100%; max-width: none; }
  .claim button { flex: 1; }
  .link-fields { grid-template-columns: 1fr; }
  .appbar { flex-wrap: wrap; }
  .appbar .address { flex-basis: 100%; }
}

body { min-height: 100vh; }
button:disabled { cursor: not-allowed; opacity: .56; }
.site-footer { max-width: 1228px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; padding: 22px 24px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 23px; }
.site-footer nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.profile footer a { padding-block: 5px; text-underline-offset: 3px; }
.support-page { max-width: 760px; }
.support-page h1 { text-wrap: balance; }
.support-page .support-intro { font-size: 17px; text-wrap: pretty; }
.support-section { padding-block: 16px; border-top: 1px solid var(--line); }
.support-section h2, #feedback-receipt h2 { font: 750 22px/1.2 var(--display); margin-bottom: 7px; }
.support-section p { margin-bottom: 0; line-height: 1.6; }
.support-card { padding: clamp(18px, 4vw, 34px); border: 1px solid #e8dbe3; border-radius: 22px; background: #fffafc; }
.support-card :is(textarea,select,input) { width: 100%; }
.support-card textarea { resize: vertical; }
.support-card #feedback-length { color: var(--muted); margin-top: -8px; }
.support-card button[type=submit] { justify-self: start; background: #502e50; border-color: #502e50; }
.support-card .form-feedback:empty { display: none; }
.support-page .support-note { margin: 12px 0 0; font-size: 14px; }
@media (max-width: 520px) {
  .site-footer { align-items: flex-start; }
  .site-footer nav { column-gap: 13px; }
}
.login-flow { max-width: 565px; margin-block: min(8vw, 72px); min-height: 70vh; }
.login-card { background: #fffdf8; border: 1px solid var(--line); padding: clamp(20px, 6vw, 44px); border-radius: 16px; margin-top: 25px; }
.login-card h1 { font-size: clamp(32px, 6vw, 48px); }
.login-card button.primary { width: 100%; }
.password-hint, .login-switch { color: var(--muted); font-size: 14px; }
.password-hint { margin: -4px 0 12px; }
.login-switch { margin-bottom: 0; }
.login-switch a { color: var(--ink); text-underline-offset: 3px; }
.form-feedback { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.form-feedback[data-error] { color: #842b41; }
.form-feedback:empty { display: none; }
.workspace-message { max-width: 1170px; margin: 16px auto 0; padding-inline: 22px; }
.appbar { background: #fffdf8; }
.appbar .brand { margin-right: 8px; }
.dashboard-nav { max-width: 1170px; margin: auto; display: flex; flex-wrap: wrap; gap: 2px 12px; border-bottom: 1px solid var(--line); padding-inline: 22px; }
.dashboard-nav a { display: flex; align-items: center; text-decoration: none; min-height: 46px; padding: 6px 9px 3px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14px; font-weight: 700; }
.dashboard-nav a[aria-current] { color: var(--ink); border-color: #a73e64; }
.workspace.one-column, .admin-shell { display: block; max-width: 1170px; margin-inline: auto; padding: 25px 22px; }
.workspace .controls { min-width: 0; }
.workspace .section-title, .admin-shell h1 { font: 800 clamp(32px, 5vw, 48px)/1.08 var(--display); letter-spacing: -.045em; margin-bottom: 14px; }
.workspace .editor-actions { align-items: center; }
.link-card .row-actions button { min-height: 44px; }
.link-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: #5a4638; background: #f2ebe0; border: 1px solid #e7dbcc; border-radius: 20px; padding: 2px 9px; margin-bottom: 10px; }
.panel { border: 1px solid var(--line); border-radius: 13px; background: #fffdf9; padding: clamp(14px, 4vw, 25px); margin-block: 10px 16px; overflow-wrap: anywhere; }
.panel h2, .panel h3 { font: 800 22px/1.2 var(--display); margin-bottom: 8px; }
.panel p + p, .panel p + .actions, .panel p + form { margin-top: 10px; }
.panel .actions, .toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar { justify-content: space-between; margin-block: 12px; }
.toolbar .field { flex: 1 1 160px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; margin-bottom: 16px; }
.metric { padding: 14px; background: #f2ede1; border: 1px solid #e5ddcf; border-radius: 10px; }
.metric strong { display: block; font: 800 33px/1.1 var(--display); }
.metric span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 700; }
.metric-details { margin-top: 10px; }
.report-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.report-table th { color: var(--muted); }
.report-table th, .report-table td { padding: 9px 7px; border-bottom: 1px solid var(--line); }
.report-table td:first-child, .report-table th:first-child { padding-left: 0; }
.table-wrap { overflow-x: auto; }
.trend-bars { min-height: 84px; display: flex; align-items: end; gap: 3px; border-bottom: 1px solid var(--line); margin: 10px 0 8px; }
.trend-bars span { flex: 1; display: block; }
.trend-bars meter { display: block; width: 100%; height: 70px; writing-mode: vertical-lr; direction: rtl; }
.trend-bars meter::-webkit-meter-bar { border: 0; background: #eee8da; border-radius: 2px; }
.trend-bars meter::-webkit-meter-optimum-value { background: #6d7357; }
.tab-strip { display: flex; gap: 6px; }
.tab-strip button[aria-pressed="true"] { color: white; background: var(--ink); }
.setup-flow { margin-top: 24px; }
.setup-flow p { overflow-wrap: anywhere; }
.settings-field { margin-block: 12px; }
.settings-field input[type="checkbox"], .row-actions input[type="checkbox"] { accent-color: #683e42; }
.settings-field label, .row-actions label { cursor: pointer; }
.settings-field label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.danger-button { color: #822b3d; }
.empty-state { border: 1px dashed #d2c9b5; padding: 22px 16px; border-radius: 10px; color: var(--muted); }
.cover-photo { display: block; width: calc(100% + 2 * var(--profile-pad)); height: auto; margin-inline: calc(-1 * var(--profile-pad)); object-fit: cover; object-position: center; aspect-ratio: 2; }
.profile.has-cover .profile-header { padding-top: 0; }
.profile.has-cover :is(.profile-photo,.initials) { position: relative; margin-top: -26px; box-shadow: 0 0 0 3px var(--page); }
.profile footer { display: flex; align-items: center; justify-content: center; gap: 0 13px; flex-wrap: wrap; }
.profile footer .report-link { background: transparent; padding: 0; font-size: 12px; font-weight: 400; border: 0; color: inherit; }
.profile footer .report-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-entry, .profile-entry .profile-link { min-width: 0; }
.preview .empty-state { border: 0; padding: 12px 0 0; font-size: 13px; }
.preview { position: sticky; top: 16px; align-self: start; }
.dialog-form { display: grid; gap: 12px; margin-top: 14px; }
.dialog-form p { margin: 0; }
dialog .share-value { width: 100%; border: 1px solid var(--line); padding: 9px; margin-bottom: 12px; border-radius: 8px; }
.admin-columns { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.case-list { list-style: none; margin: 0; padding: 0; }
.case-list li + li { border-top: 1px solid var(--line); }
.case-list button { width: 100%; text-align: left; justify-content: start; background: transparent; border: 0; border-left: 3px solid transparent; border-radius: 0; overflow-wrap: anywhere; padding: 10px; }
.case-list button[aria-pressed="true"] { border-color: #a73e64; background: #f7f1e6; }
.case-list button span { min-width: 0; }
.case-list small { display: block; font-weight: 400; color: var(--muted); }
.case-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 12px; margin-block: 12px; }
.case-facts dd { margin: 0; }
.case-facts dt { font-weight: 700; font-size: 13px; }
.case-events { padding-left: 20px; margin: 10px 0 0; }
.case-events li { margin-bottom: 8px; }
.admin-shell summary { cursor: pointer; font-weight: 700; min-height: 44px; padding-block: 9px; }
.admin-shell pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
@media (max-width: 780px) {
  .admin-columns { grid-template-columns: 1fr; }
  .dashboard-nav { gap: 0 3px; padding-inline: 12px; }
  .dashboard-nav a { padding-inline: 5px; font-size: 13px; }
  .workspace.one-column, .admin-shell { padding: 18px 15px; }
  .workspace:not(.show-preview) .preview, .workspace.show-preview .controls { display: none; }
  .preview { position: static; }
  .mobile-workspace-actions { display: flex; justify-content: flex-end; }
}
@media (max-width: 470px) {
  .appbar .address { flex-basis: auto; font-size: 13px; }
  .appbar .actions { flex-basis: 100%; }
  .appbar .actions button { flex: 1 1 auto; font-size: 14px; }
  .live { padding: 0; }
  .live-shell .profile { min-height: 100dvh; border-radius: 0; box-shadow: none; }
}

.mobile-workspace-actions { display: none; }
.row-actions .platform-badge { margin-bottom: 0; }
.drag-handle { cursor: grab; }
.drag-handle:active { cursor: grabbing; }
@media (max-width: 780px) {
  .mobile-workspace-actions { display: flex; grid-column: 1 / -1; }
}

.admin-nav { padding-inline: 0; margin-block: 10px 16px; }
.admin-shell form.toolbar { align-items: end; }
.mfa-panel { max-width: 500px; }

#landing-availability { margin: 8px 0 0; font-size: 14px; }
.email-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-nav a { font-size: 14px; }

/* Landing */
:is(.marketing, .marketing + .site-footer) {
  --landing-content-width: 1040px; --landing-gutter: 24px;
}
.marketing {
  --night: #241323; --brand-accent: #ffc3a4; --cream: #fff6ef;
  --landing-section-space: clamp(42px, 5vw, 68px);
  --landing-heading-size: clamp(27px, 3.2vw, 42px);
}
.marketing + .site-footer {
  width: min(var(--landing-content-width), calc(100% - 2 * var(--landing-gutter)));
  padding-inline: 0;
}
.marketing .landing {
  background: radial-gradient(ellipse at 78% 4%, #8c3e5d 0%, #522640 28%, transparent 67%), var(--night);
  color: var(--cream);
  padding: 20px var(--landing-gutter) clamp(28px, 4vw, 52px);
}
.marketing-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--landing-content-width); margin-inline: auto;
  background: #3a2335; color: var(--cream); min-height: 64px; padding: 9px 12px 9px 20px;
  border-radius: 100px; border: 1px solid #ffffff32;
}
@supports (backdrop-filter: blur(14px)) {
  .marketing-nav { background: #ffe3ed19; backdrop-filter: blur(14px); }
}
.marketing-nav .brand span { color: #f5bba5; --me-finish: linear-gradient(154deg, #ffe9d7 15%, #f5bba5 52%, #eba7a1 85%); }
.marketing + .site-footer .brand span { color: #8b4346; --me-finish: linear-gradient(154deg, #a0584b 15%, #843c44 55%, #6f303f 85%); }
@supports (background-clip: text) {
  .marketing-nav .brand span, .marketing + .site-footer .brand span {
    background-image: var(--me-finish);
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  .marketing-nav .brand span, .marketing + .site-footer .brand span { color: LinkText; }
}
.marketing-links, .marketing-account { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 39px); }
.marketing-nav a { text-decoration: none; white-space: nowrap; }
.marketing-nav a:not(.button,.brand):hover { text-decoration: underline; text-underline-offset: 4px; }
.marketing-links a { font-size: 14px; font-weight: 700; }
.marketing-nav-cta { border-radius: 99px; background: var(--cream); color: var(--night); border: 0; padding-inline: 21px; }
.marketing-nav-cta:hover { background: #ffe1d2; }
.marketing .hero {
  max-width: var(--landing-content-width); margin-inline: auto; grid-template-columns: minmax(0, 570px) minmax(0, 332px);
  justify-content: space-between; gap: clamp(38px, 6.5vw, 104px);
  min-height: 0; padding-top: 32px;
}
.marketing .hero-copy { min-width: 0; container-type: inline-size; }
.marketing .hero h1 {
  font: 800 clamp(30px, 4.6vw, 73px)/.97 var(--display); font-size: min(73px, 10.45cqi);
  letter-spacing: 0; color: var(--cream); white-space: nowrap;
}
.marketing .hero h1 span { color: var(--brand-accent); }
.marketing .hero-copy p:not(.form-feedback) { max-width: 420px; color: #fff1e8; line-height: 1.5; }
.marketing .hero-summary { margin: 20px 0 24px; font-size: 18px; text-wrap: pretty; }
.marketing .claim label {
  padding: 0 17px; border-radius: 99px; min-height: 52px;
  color: var(--night); background: var(--cream); border-color: var(--cream);
}
.marketing .claim label:focus-within { outline: 2px solid var(--brand-accent); outline-offset: 3px; }
.marketing .claim input { color: inherit; min-height: 50px; outline: none; }
.marketing .claim input::placeholder { color: #736475; opacity: 1; }
.marketing .claim button, .marketing .hero-dashboard-cta { background: var(--brand-accent); color: var(--night); border-color: var(--brand-accent); padding-inline: 21px; }
.marketing .hero-dashboard-cta { border-radius: 99px; min-height: 52px; }
.marketing .claim button:hover, .marketing .hero-dashboard-cta:hover, .closing-band .button:hover { background: #ffdbbd; }
.marketing .hero-copy .form-feedback { color: #f9e5f4; min-height: 1.2em; font-size: 14px; margin: 8px 0 0; }
.marketing .hero-copy .form-feedback:empty { display: none; }
.creator-stage {
  position: relative; isolation: isolate; display: grid; justify-items: center; align-content: center;
  min-width: 0; margin: 0; padding: 3px 0 0;
}
.creator-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 2% -1% 6%;
  background: radial-gradient(ellipse at 49% 54%, #df94ad50, #9460821e 45%, transparent 74%);
}
.creator-device {
  position: relative; display: grid; place-items: center; container-type: inline-size;
  width: min(100%, 332px); aspect-ratio: 332 / 700;
  border-radius: 19.28% / 9.14%;
  background: #17161a;
  box-shadow: inset 0 0 0 2px #6e6471, inset 0 0 0 4px #19171e, inset 0 0 0 7px #5b535f, 0 18px 54px #1a0c20a8;
}
.creator-device-controls { position: absolute; inset: 0; }
.creator-device-controls i {
  position: absolute; left: -.85cqw; width: 1.2cqw; height: 16.87cqw;
  border-radius: 2px; background: linear-gradient(90deg, #211b24, #645b69 65%, #332b37);
}
.creator-device-controls i:nth-child(1) { top: 17.14%; height: 9.04cqw; }
.creator-device-controls i:nth-child(2) { top: 24.57%; }
.creator-device-controls i:nth-child(3) { top: 34.29%; }
.creator-device-controls i:nth-child(4), .creator-device-controls i:nth-child(5) { left: auto; right: -.85cqw; }
.creator-device-controls i:nth-child(4) { top: 27.14%; height: 26.51cqw; }
.creator-device-controls i:nth-child(5) { top: 57.14%; height: 19.28cqw; }
.creator-viewport {
  position: relative; isolation: isolate; overflow: hidden;
  width: 92.77%; aspect-ratio: 308 / 676; border-radius: 15.66cqw;
  background: #252843;
}
.creator-viewport::before, .creator-viewport::after {
  content: ""; position: absolute; z-index: 3; left: 50%; translate: -50% 0; border-radius: 99px;
}
.creator-viewport::before { top: 3.31cqw; width: 36.36%; height: 9.94cqw; background: #0b090d; }
.creator-viewport::after { bottom: 3cqw; width: 33%; height: 1.5cqw; background: #fff7f3d9; }
.creator-status {
  position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  height: 16.27cqw; padding: 1.2cqw 9cqw 0 11.45cqw;
  color: #fff; font: 650 4.2cqw/1 system-ui, sans-serif; text-shadow: 0 1px 5px #141018bf;
}
.creator-status-icons { display: flex; gap: 1cqw; align-items: center; }
.creator-status-icons svg { width: 4.35cqw; filter: drop-shadow(0 1px 2px #14101880); }
.creator-status-icons svg:last-child { width: 6.45cqw; }
.creator-screen {
  position: absolute; inset: 0; display: none; overflow: auto; scrollbar-width: none;
}
.creator-screen.is-active { display: block; }
.creator-viewport { container-type: size; }
.creator-viewport::before, .creator-viewport::after, .creator-status { z-index: 4; pointer-events: none; }
.demo-age-overlay {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  padding-inline: 6%; overflow: auto; background: #241626a3;
  backdrop-filter: blur(10px); color: #fff8f5; text-align: center;
}
.demo-age-panel {
  display: grid; justify-items: center; gap: clamp(4px, 3cqw, 10px); width: 100%;
  padding: clamp(9px, 6cqw, 20px); border: 1px solid #fbd6ee45; border-radius: clamp(12px, 7cqw, 23px);
  background: #39253a; box-shadow: 0 10px 24px #100b1980;
}
.demo-age-mark {
  display: grid; place-items: center; width: clamp(27px, 14cqw, 43px); aspect-ratio: 1;
  border-radius: 50%; background: #f9d8c7; color: #362137; font-size: clamp(11px, 5.5cqw, 16px); font-weight: 800;
}
.demo-age-panel h2 { font: 750 clamp(14px, 8cqw, 25px)/1.1 var(--display); text-wrap: balance; }
.marketing .hero .demo-age-panel p { margin: 0; font-size: clamp(10px, 4.9cqw, 14px); line-height: 1.4; }
.demo-age-status { color: #f9d8c7; font-weight: 750; }
.demo-age-panel button { width: 100%; min-height: clamp(33px, 18cqw, 44px); padding: 5px; font-size: clamp(10px, 5cqw, 14px); }
.demo-age-confirm { background: #f9d8c7; color: #362137; border-color: #f9d8c7; }
.demo-age-back { background: transparent; color: inherit; border-color: transparent; }
.profile.portrait .demo-age-trigger:hover { border-color: #fff5ec; }
.creator-screen.is-active .profile-backdrop img { animation: portrait-arrival .42s ease; }
@keyframes portrait-arrival { from { opacity: .68; } }
@media (prefers-reduced-motion: reduce) { .creator-screen.is-active .profile-backdrop img { animation: none; } }
.marketing-wrap {
  width: min(var(--landing-content-width), calc(100% - 2 * var(--landing-gutter)));
  margin-inline: auto;
}
.maker-band {
  --maker-edge: var(--landing-gutter);
  padding-block: var(--landing-section-space); background: #f4e6df; color: var(--night);
}
.band-heading {
  position: relative;
  margin-bottom: clamp(18px, 3vw, 29px);
}
.creator-benefits h2, .band-heading h2, .insight-layout h2, .faq-layout h2, .closing-layout h2 {
  font: 800 var(--landing-heading-size)/1.1 var(--display);
  letter-spacing: -.02em; text-wrap: balance;
}
.maker-motion:not([hidden]) { position: absolute; inset: 0 0 auto auto; z-index: 1; border-radius: 99px; }
.maker-motion:not(:focus) { clip-path: inset(50%); }
.maker-grid {
  --maker-card-width: max(20vw, clamp(235px, 23vw, 390px));
  --maker-card-height: calc(var(--maker-card-width) * 1.075);
  position: relative; display: grid; grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: clamp(12px, 1.7vw, 22px);
  padding: 5px var(--maker-edge); scroll-padding-inline: var(--maker-edge);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.maker-grid.is-looping { padding-inline: 0; scroll-padding-inline: 0; scroll-snap-type: none; }
.maker-grid::-webkit-scrollbar { display: none; }
.maker-grid:focus-visible { outline-offset: -3px; }
.maker-card { width: var(--maker-card-width); height: var(--maker-card-height); overflow: hidden; scroll-snap-align: start; border-radius: 14px; background: #744846; }
.maker-card:last-child { scroll-snap-align: end; }
.maker-card img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 40%; }
.maker-evening-gown img { object-fit: contain; object-position: center; background: #141414; }
.maker-satin img { object-position: center 31%; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.faq-band {
  padding-block: var(--landing-section-space); background: #f3eaf0; color: var(--night);
  border-top: 1px solid #4327431c;
}
.insight-layout, .faq-layout {
  display: grid; align-items: start; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 68px);
}
.faq-items details { border-block-start: 1px solid #43274330; }
.faq-items summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; font-weight: 700; cursor: pointer;
}
.faq-items summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-inline-end: 4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
}
.faq-items details[open] summary::after { rotate: 225deg; }
.faq-items p { margin: 0 0 17px; max-width: 515px; }
.closing-band {
  padding-block: var(--landing-section-space);
  background: var(--night);
  color: var(--cream);
}
.closing-layout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; }
.closing-band .button { border: 0; border-radius: 99px; background: var(--brand-accent); color: var(--night); padding: 12px 23px; }

@media (max-width: 850px) {
  .marketing-links { display: none; }
  .marketing .hero { gap: 26px; }
}
@media (max-width: 850px) {
  .marketing .hero { grid-template-columns: minmax(0,1fr); }
  .maker-grid { --maker-card-width: 36vw; }
  .creator-stage { margin: 6px auto 0; width: min(100%, 460px); }
}
@media (min-width: 721px) and (max-width: 850px) {
  .marketing .hero { grid-template-columns: minmax(0, 1fr) minmax(240px, 34vw); gap: 30px; }
  .creator-stage { width: 100%; }
}
@media (max-width: 580px) {
  :is(.marketing, .marketing + .site-footer) { --landing-gutter: 16px; }
  .marketing .landing { padding: 16px var(--landing-gutter) 34px; }
  .marketing-nav { min-height: 52px; padding: 3px 10px 3px 16px; gap: 10px; }
  .marketing-account { gap: 0; }
  .marketing-nav-cta { min-height: 40px; padding-inline: 17px; }
  .marketing .hero { padding-top: 24px; gap: 12px; }
  .marketing .hero-copy p:not(.form-feedback) { font-size: 16px; }
  .marketing .hero-summary { margin-block: 14px 16px; }
  .marketing .claim { gap: 7px; }
  .marketing .claim label, .marketing .claim button, .marketing .hero-dashboard-cta { min-height: 46px; }
  .marketing .claim input { min-height: 44px; }
  .marketing .hero-copy .form-feedback { min-height: 0; }
  .creator-stage { margin-top: 2px; }
  .creator-device { width: min(100%, 61vw, 29svh, 258px); }
  .maker-grid { --maker-card-width: max(200px, 68vw); }
}
@media (max-width: 580px) and (max-height: 700px) {
  .marketing .landing { padding-top: 12px; }
  .marketing .hero { padding-top: 16px; gap: 10px; }
  .marketing .hero-summary { margin-block: 10px 12px; }
  .marketing .claim label { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 13px; }
  .marketing .claim input { min-width: 0; }
  .marketing .claim button { flex: none; padding-inline: 11px; font-size: 13px; }
  .creator-device { width: min(100%, 58vw, 28svh, 250px); }
}
.creator-benefits {
  padding-block: clamp(22px, 3vw, 40px) clamp(44px, 5.5vw, 72px);
  background: var(--night); color: var(--cream);
}
.creator-benefits h2 { max-width: 28ch; }
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.3vw, 42px);
  margin-top: clamp(18px, 2.6vw, 30px);
}
.benefit-grid article { border-top: 1px solid #675670; padding-top: 14px; }
.benefit-grid h3 { font: 750 clamp(18px, 1.6vw, 23px)/1.16 var(--display); letter-spacing: -.016em; }
.benefit-grid p { max-width: 36ch; margin-top: 8px; font-size: 15px; color: #f1e6f0; }
.insight-band { padding-block: var(--landing-section-space); background: #fbefe8; color: var(--night); }
.insight-layout header p { max-width: 38ch; margin-top: 12px; }
.insight-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px);
  margin: 0;
}
.insight-list div { padding-top: 14px; border-block-start: 1px solid #43274330; }
.insight-list dt { font: 750 clamp(18px, 1.6vw, 23px)/1.16 var(--display); }
.insight-list dd { margin: 8px 0 0; font-size: 15px; }
@media (max-width: 740px) {
  .insight-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 580px) {
  .insight-list { grid-template-columns: minmax(0, 1fr); }
  .closing-layout { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  #public-profile .profile-link.featured { animation: featured-arrival .6s ease-out both; }
  @keyframes featured-arrival {
    0%, 100% { transform: translateY(0); }
    48% { transform: translateY(-3px); }
  }
  .marketing .hero-copy { animation: marketing-rise .52s ease-out both; }
  .marketing .creator-stage { animation: marketing-rise .65s .06s ease-out both; }
  @keyframes marketing-rise {
    from { opacity: 0; translate: 0 9px; }
    to { opacity: 1; translate: 0 0; }
  }
}

/* Creator workspace */
.profile[data-custom-background] {
  --subtle: var(--text);
  --surface: var(--page);
  --edge: color-mix(in srgb, var(--page) 65%, var(--text));
}
.profile[data-button-shape="square"] { --link-radius: 2px; }
.profile[data-button-shape="rounded"] { --link-radius: 15px; }
.profile[data-button-shape="pill"] { --link-radius: 32px; }
.profile[data-button-shape] .profile-link { border-radius: var(--link-radius); }

.editor-workspace {
  --editor-accent: #603b80;
  --editor-wash: #f2eaf9;
  --editor-border: #e6dfe9;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 32vw, 416px);
  align-items: start;
  gap: clamp(20px, 3vw, 44px);
  max-width: 1240px;
  padding-block: 34px 80px;
}
.editor-workspace .controls { min-width: 0; }
.editor-heading { margin-bottom: 22px; }
.editor-heading h1 { margin: 0 0 4px; font-size: clamp(34px, 4vw, 48px); }
.editor-heading p { color: var(--muted); }
.editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.editor-actions .primary { background: #51316b; border-color: #51316b; padding-inline: 20px; border-radius: 24px; white-space: nowrap; }
.editor-actions .primary:hover { background: #664186; }
.editor-empty {
  padding: clamp(24px, 5vw, 64px) 18px;
  border: 1px dashed #cabbd5;
  border-radius: 22px;
  text-align: center;
  background: var(--editor-wash);
}
.editor-empty h2 { font: 800 30px/1.06 var(--display); }
.editor-empty p { max-width: 330px; margin: 9px auto 17px; color: var(--muted); }
.editor-empty button { border-radius: 24px; }
.design-panel, .editor-workspace .link-card {
  border: 1px solid var(--editor-border);
  border-radius: 20px;
  padding: clamp(14px, 2.2vw, 24px);
  margin-bottom: 14px;
  background: #fff;
}
.design-panel h2 { font: 800 23px/1.14 var(--display); margin: 0 0 17px; }
.design-fields { display: grid; gap: 13px; }
.design-media, .design-colors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.design-media:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.design-media .photo-control { min-width: 0; padding: 10px; border-radius: 12px; background: #f8f5f9; }
.design-media input { border: 0; background: transparent; padding: 4px 0; font-size: 13px; }
.design-media input::file-selector-button { border: 1px solid var(--editor-border); border-radius: 7px; padding: 6px; background: #fff; cursor: pointer; }
.shape-picker button, .link-format button { padding-inline: 11px; font-size: 13px; }
.shape-picker { margin-top: 14px; }
.shape-picker h3, .link-format > span { font-size: 14px; font-weight: 700; }
.shape-picker > div, .link-format { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shape-picker > div { margin-top: 6px; }
.shape-picker button[aria-pressed="true"], .link-format button[aria-pressed="true"] { color: var(--editor-accent); border-color: var(--editor-accent); background: var(--editor-wash); }
.link-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.link-card-top .drag-handle { min-width: 44px; padding: 3px; font-size: 23px; color: var(--editor-accent); }
.link-state { font-size: 13px; color: var(--muted); }
.visibility-control { margin-left: auto; border-radius: 24px; padding-inline: 14px; font-size: 13px; }
.visibility-control[aria-pressed="true"] { background: #e7f0e2; color: #27543b; border-color: #dae8d5; }
.link-format { margin: 8px 0 12px; }
.link-format > span { margin-right: 3px; }
.editor-workspace .row-actions { border-top: 1px solid var(--editor-border); padding-top: 8px; }
.editor-workspace .row-actions button { min-width: 44px; }
.editor-workspace .featured-control { padding: 0; margin: 0 0 12px; border: 0; }

.editor-workspace .preview {
  position: sticky; top: 16px; min-width: 0;
  display: grid; gap: 14px;
  padding: 15px;
  border: 1px solid #e7ddef; border-radius: 24px;
  background: radial-gradient(ellipse at 60% 29%, #eee0f7, #f5eff6 63%, #f6f3f7);
}
.preview-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.preview-heading h2 { font: 800 19px/1.15 var(--display); }
.preview-heading p, .preview-heading a, .preview-address { font-size: 12px; color: #594664; }
.preview-heading a { padding-block: 8px; font-weight: 700; }
.preview-scroll { overflow: auto; max-height: max(410px, calc(100dvh - 157px)); scrollbar-width: thin; padding: 2px 7px 12px; }
#phone-preview { width: min(100%, 320px); margin: 0 auto; }
#phone-preview .phone {
  display: grid; grid-template-rows: minmax(0, 1fr); width: 100%; aspect-ratio: 390 / 844;
  border-width: 5px; border-radius: 32px; box-shadow: 0 9px 24px #37204635;
}
.phone-screen { overflow: auto; scrollbar-width: none; overscroll-behavior: contain; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone-screen:focus-visible { outline-offset: -4px; }
#phone-preview .profile { min-height: 100%; }
#phone-preview .empty-state { margin-top: 8px; padding: 8px; font-size: 12px; }
.preview-address { text-align: center; overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .editor-workspace { padding-top: 11px; }
  .editor-workspace .preview { position: static; }
  .editor-workspace .mobile-workspace-actions { position: sticky; top: 0; z-index: 2; padding-block: 5px; background: var(--paper); }
  .editor-workspace .preview-toggle { border-color: #dacbe5; background: var(--editor-wash); color: var(--editor-accent); border-radius: 24px; }
  .editor-workspace:not(.show-preview) .preview, .editor-workspace.show-preview .controls { display: none; }
  .editor-workspace .preview-scroll { max-height: none; overflow: visible; }
}
@media (max-width: 510px) {
  
  .editor-workspace .link-fields, .design-media { grid-template-columns: 1fr; }
}

/* Editor controls and dialogs */
.login-card .field input, .editor-workspace .field :is(input,textarea) { background: #faf9f7; }
.login-card .field input:focus, .editor-workspace .field :is(input,textarea):focus, dialog .field input:focus {
  outline: none; border-color: #795878; background: #fff;
}
.editor-workspace button:focus:not(:focus-visible) { outline: none; }
.editor-workspace button:focus-visible { outline-width: 2px; outline-offset: 2px; }
.editor-workspace [aria-invalid="true"] { border-color: #a33e5a; }
.link-fields .field small { font-weight: 400; color: var(--muted); }
.link-options { border-top: 1px solid var(--editor-border); margin-top: 10px; }
.link-options > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-inline: 8px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 750; color: var(--editor-accent); }
.link-options > summary:hover { background: var(--editor-wash); text-decoration: none; }
.pin-note { color: var(--creator-muted); font-size: 13px; margin: -3px 0 10px; }
.link-options > summary::after { content: "+"; padding: 0 4px; font-size: 17px; }
.link-options[open] > summary::after { content: "−"; }
.age-option { display: inline-flex; min-height: 44px; gap: 5px; align-items: center; }
.editor-workspace .upload-tile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--editor-border); border-radius: 13px; background: #faf7fb; }
.upload-tile > div { flex: 1 1 138px; min-width: 0; }
.upload-tile strong, .upload-tile small { display: block; line-height: 1.35; }
.upload-tile small { color: var(--muted); font-size: 12px; }
.upload-thumb, .upload-empty { display: grid; place-items: center; width: min(88px, 100%); aspect-ratio: 2; border-radius: 8px; background: #eee4f3; color: #604272; object-fit: cover; }
.upload-empty { border: 1px dashed #b7a4c0; font-size: 24px; }
.upload-thumb.is-avatar { width: 50px; aspect-ratio: 1; border-radius: 100%; }
.editor-workspace .design-media .upload-tile {
  display: grid; grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: minmax(50px, 1fr) auto; align-items: start; gap: 8px 12px;
}
.design-media .upload-tile :is(.upload-thumb, .upload-empty) { width: 58px; height: 44px; }
.design-media .upload-tile .is-avatar { width: 44px; justify-self: center; }
.design-media .upload-tile > :is(button, .image-options) { grid-column: 1 / -1; justify-self: start; margin: 0; }
.upload-actions { display: flex; gap: 3px 6px; flex-wrap: wrap; }
.upload-actions button { margin-top: 4px; padding-inline: 9px; font-size: 13px; }
.crop-dialog > p { color: var(--muted); font-size: 14px; }
.crop-canvas { display: block; width: 100%; max-height: min(46vh, 320px); object-fit: contain; height: auto; background: #eeebef; border-radius: 10px; cursor: grab; touch-action: none; }
.crop-canvas:active { cursor: grabbing; }
.crop-canvas.round-crop { width: min(65%, 240px); max-height: none; margin-inline: auto; border-radius: 50%; }
.crop-canvas.portrait-crop { width: min(100%, 27.6vh, 192px); max-height: none; margin-inline: auto; }
.crop-sliders { display: grid; gap: 8px; margin-block: 15px; }
.crop-sliders label { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 8px; font-size: 13px; }
.crop-sliders input { width: 100%; min-height: 30px; margin: 0; accent-color: #674072; }
.crop-dialog .actions { justify-content: flex-end; }
.share-dialog .share-address { padding: 13px 15px; border: 1px solid #e8dce8; border-radius: 13px; background: #f6edf5; color: #4e3554; font-size: 15px; font-weight: 750; }
.share-primary { display: flex; gap: 8px; }
.share-primary .primary { flex: 1; border-radius: 12px; background: #412848; border-color: #412848; }
.share-tools { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 3px; }
.share-tools a { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; text-underline-offset: 3px; }
.share-dialog .form-feedback { margin: 8px 0 0; }

/* Creator dashboard */
.creator-shell {
  --creator-ink: #271e2a; --creator-muted: #665d68; --creator-accent: #502e50;
  --creator-panel: #fff; --creator-line: #eae3e8; --creator-wash: #f2e9f0;
  --creator-top-height: 73px; --creator-section-top: 25px;
  min-height: 100dvh; color: var(--creator-ink); background: #faf8f6;
}
.creator-shell #dashboard { min-width: 0; }
.creator-rail { padding: 24px; }
.creator-rail .brand { display: inline-flex; align-items: center; gap: 8px; font-size: 24px; }
.creator-brand-icon { display: block; flex: none; }
.creator-wordmark { white-space: nowrap; }
.creator-wordmark > span { color: #87557b; }
.creator-nav { display: flex; gap: 4px; }
.creator-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 13px;
  border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--creator-muted); text-decoration: none;
}
.creator-nav a:hover { background: #f8f1f5; color: var(--creator-ink); }
.creator-nav a[aria-current] { background: var(--creator-wash); color: var(--creator-accent); }
.creator-nav a:focus-visible { outline: 2px solid #87557b; outline-offset: -3px; }
.creator-top {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; min-height: var(--creator-top-height); padding: 12px clamp(18px, 3vw, 36px);
  border-bottom: 1px solid var(--creator-line); background: #fffdfb; background: #fffdfbf5;
  backdrop-filter: blur(14px);
}
.creator-address, .creator-commands { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; }
.creator-address { min-width: 0; overflow-wrap: anywhere; }
.creator-address strong { font-size: 15px; }
.creator-state { font-size: 12px; font-weight: 750; color: var(--creator-accent); padding: 2px 9px; background: var(--creator-wash); border-radius: 99px; }
.creator-state[data-published="true"] { color: #31553f; background: #e8f1e9; }
.creator-draft-state { color: var(--creator-muted); font-size: 12px; }
.creator-commands { flex-shrink: 0; }
.creator-commands button { font-size: 14px; padding-inline: 13px; white-space: nowrap; }
.creator-commands [data-action="save"] { background: transparent; border-color: transparent; }
.creator-commands .primary, .creator-shell .editor-actions .primary { color: #fff; background: var(--creator-accent); border-color: var(--creator-accent); }
.creator-commands .primary:hover, .creator-shell .editor-actions .primary:hover { background: #623a60; }
.creator-shell .workspace-message { max-width: none; margin: 10px 0 0; padding-inline: clamp(18px, 3vw, 36px); }
.creator-shell .workspace.one-column { max-width: 940px; margin-left: 0; padding-top: var(--creator-section-top); padding-inline: clamp(18px, 3vw, 36px); }
.creator-shell .workspace.one-column h1 { margin-top: 0; }
.creator-shell .editor-workspace {
  --editor-accent: var(--creator-accent); --editor-wash: var(--creator-wash); --editor-border: var(--creator-line);
  grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 370px);
  gap: clamp(18px, 3vw, 40px); padding: var(--creator-section-top) clamp(18px, 3vw, 36px) 65px;
}
.creator-shell .editor-heading { margin-bottom: 17px; }
.creator-shell .editor-heading h1 { font-size: clamp(32px, 3.2vw, 43px); margin: 0; }
.creator-shell .editor-empty { text-align: left; max-width: none; padding: 31px 25px; border-radius: 18px; background: #fbf5f9; }
.creator-shell .editor-empty p { margin: 7px 0 0; }
.creator-shell .editor-workspace .link-card { padding: 12px; margin-bottom: 9px; border-radius: 14px; }
.creator-shell .link-card-top { gap: 8px; margin: 0; }
.creator-shell .link-card-top .drag-handle { display: grid; place-items: center; flex: none; min-width: 22px; padding: 0; color: #80657b; font-size: 23px; }
.link-summary { min-width: 0; flex: 1; }
.link-title, .link-host { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-title { font-size: 15px; }
.link-host { color: var(--creator-muted); font-size: 13px; }
.creator-shell .link-state { flex: none; font-size: 11px; color: var(--creator-accent); border-radius: 99px; padding: 3px 8px; background: var(--creator-wash); }
.creator-shell .link-state:empty { display: none; }
.creator-shell .visibility-control, .link-edit-button { margin-left: 0; padding-inline: 10px; font-size: 12px; }
.link-edit-button { border-color: transparent; color: var(--creator-accent); background: #f8f1f6; }
.link-editor { margin-top: 10px; padding: 10px 5px 0; border-top: 1px solid var(--creator-line); }
.creator-shell .link-options { margin-top: 7px; }
.creator-shell .editor-workspace .preview {
  top: 91px; padding: 14px clamp(12px, 2vw, 24px) 17px;
  border: 1px solid #ebe1e7; background: radial-gradient(ellipse at 75% 4%, #f3e2eb, #f3edef 63%, #f7f2ef);
}
.creator-shell .preview-heading h2 { color: var(--creator-ink); font-size: 16px; }
.creator-shell .preview-heading a { min-height: 38px; display: inline-flex; align-items: center; padding-block: 0; text-underline-offset: 3px; }
.creator-shell #phone-preview { width: min(100%, 306px, max(215px, calc(46.2dvh - 96px))); }
.creator-shell #phone-preview .phone { border-width: 4px; border-radius: 29px; box-shadow: 0 12px 30px #34213227; }
.design-nav {
  display: flex; gap: 4px; margin-bottom: 14px; padding: 4px;
  border: 1px solid var(--creator-line); border-radius: 14px; background: #f0e9ed;
}
.design-nav button { flex: 1; min-width: 0; min-height: 40px; padding-inline: 7px; border-color: transparent; background: transparent; font-size: 14px; color: var(--creator-muted); }
.design-nav button[aria-pressed="true"] { background: #fff; color: var(--creator-accent); border-color: var(--creator-line); box-shadow: 0 1px 2px #38213512; }
.font-setting { margin-bottom: 14px; }
.profile[data-header-layout="center"] .profile-header { text-align: center; }
.profile[data-header-layout="center"] :is(.profile-photo, .initials) { margin-inline: auto; }
.profile[data-header-layout="left"] .profile-header { text-align: left; }
.profile[data-header-layout="left"] :is(.profile-photo, .initials) { margin-inline: 0; }
.profile[data-title-font="display"] .profile-identity :is(h1,h2) { font-family: var(--display); font-weight: 750; }
.profile[data-title-font="sans"] .profile-identity :is(h1,h2) { font-family: "DM Sans", sans-serif; font-weight: 750; }
.profile[data-title-font="serif"] .profile-identity :is(h1,h2) { font-family: var(--serif); font-weight: 400; }
@media (min-width: 1040px) {
  .creator-shell:has(.creator-nav:not([hidden])) { display: grid; grid-template-columns: clamp(176px, 14vw, 202px) minmax(0, 1fr); }
  .creator-shell:has(.creator-nav:not([hidden])) .creator-rail {
    position: sticky; top: 0; align-self: start; min-height: 100dvh;
    padding: 0; border-right: 1px solid var(--creator-line); background: #fffdfb;
  }
  .creator-rail:has(.creator-nav:not([hidden])) .brand {
    display: flex; align-items: center; min-height: var(--creator-top-height); padding-inline: 14px;
    border-bottom: 1px solid var(--creator-line); font-size: clamp(18px, 1.48vw, 22px);
  }
  .creator-nav { flex-direction: column; gap: 4px; padding: var(--creator-section-top) 12px 18px; }
  .creator-nav a { min-height: 42px; padding-inline: 12px; }
}
@media (max-width: 1039px) {
  .creator-rail { padding: 14px clamp(12px, 3vw, 22px) 8px; background: #fffdfb; }
  .creator-nav { margin-top: 9px; }
}
@media (max-width: 780px) {
  .creator-top { position: static; gap: 6px; }
  .creator-shell .editor-workspace { padding-top: 10px; }
  .creator-shell .editor-workspace .mobile-workspace-actions { background: #faf8f6; margin-bottom: 5px; }
  .creator-shell #phone-preview { width: min(100%, 290px); }
  .creator-shell .editor-workspace .preview { margin-top: 6px; }
}
@media (max-width: 540px) {
  .creator-nav { justify-content: space-between; gap: 1px; }
  .creator-nav a { justify-content: center; flex: 1; padding-inline: 4px; font-size: 13px; }
  .creator-top { align-items: start; flex-direction: column; padding-block: 8px 10px; }
  .creator-commands { width: 100%; }
  .creator-commands button { flex: 1; padding-inline: 8px; }
  .creator-shell .editor-workspace { padding-inline: 12px; }
  .creator-shell .link-state { display: none; }
  .creator-shell .link-card-top { gap: 5px; }
}

/* Glass surfaces */
:root {
  --glass-rim: #fff9;
  --glass-fill: #fff9;
  --glass-opaque: #faf4f8;
  --glass-inset: #ffffff5e;
  --glass-shadow: 0 10px 30px #43214512, inset 0 1px 0 #fff9;
  --glass-surface-radius: 18px;
  --glass-control-radius: 11px;
  --glass-control-fill: #eee1ec88;
  --glass-control-hover: #eadbe8;
  --glass-control-focus: #805a7d;
}
.creator-shell, body:has(.login-flow, .admin-shell) {
  background: radial-gradient(ellipse at 90% 0%, #f0dce7 0%, transparent 59%),
    radial-gradient(ellipse at 16% 45%, #f1e8ef 0%, transparent 65%), #f8f6f4;
}
.creator-top, .creator-shell:has(.creator-nav:not([hidden])) .creator-rail, body:has(.admin-shell) .appbar {
  background: #fff9;
  backdrop-filter: blur(18px) saturate(125%);
}
.login-card, .creator-shell .editor-workspace .link-card, .creator-shell .design-panel,
.creator-shell .one-column .panel, .admin-shell .panel, dialog {
  background: var(--glass-fill);
  border-color: var(--glass-rim);
  border-radius: var(--glass-surface-radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(17px) saturate(130%);
}
dialog { background: #fdf7fcdf; border-radius: 23px; }
dialog::backdrop { background: #37203c60; backdrop-filter: blur(5px); }
.ui-dialog-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ui-dialog-header h2 { flex: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.ui-dialog-header h2:focus { outline: none; }
.ui-dialog-mark { flex: none; border-radius: var(--glass-control-radius); }
.ui-dialog-close {
  flex: none; width: 44px; min-height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: var(--glass-control-fill);
  font-size: 24px; line-height: 1;
}
.ui-dialog-close:hover:enabled { background: var(--glass-control-hover); }
.ui-dialog-close:focus-visible { outline: 2px solid var(--glass-control-focus); outline-offset: 2px; }
.ui-dialog-close:disabled { opacity: .55; cursor: default; }
body:has(.landing-auth-dialog[open]) { overflow: hidden; }
.landing-auth-dialog {
  width: min(430px, calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto;
  padding: clamp(21px, 5vw, 32px); background: #fcf2f3f5; border: 1px solid #fff8;
  box-shadow: 0 24px 90px #160a1a65;
}
.landing-auth-dialog::backdrop { background: #1e102b73; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.landing-auth header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.landing-auth header h2 { margin: 0; font-size: clamp(25px, 6.2vw, 33px); letter-spacing: -.035em; }
.landing-auth .landing-auth-close {
  display: grid; place-items: center; flex: none; width: 42px; min-height: 42px; padding: 0;
  border-radius: 50%; border: 0; background: #e9dae5; color: #36233a; font-size: 23px; line-height: 1;
}
.landing-auth .landing-auth-close:hover { background: #dfcbda; }
.landing-auth .landing-auth-address { margin-bottom: 14px; color: #67405d; font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }
.landing-auth form { display: grid; gap: 12px; }
.landing-auth form .primary { border-radius: 99px; background: #432743; border-color: #432743; }
.landing-auth form .primary:hover { background: #583554; }
.landing-auth form :is(.form-feedback,.password-hint) { margin: 0; font-size: 13px; }
.landing-auth form .form-feedback:empty { display: none; }
.landing-auth .login-switch { margin: 8px 0 0; font-size: 13px; color: #58485b; }
.landing-auth .login-switch button {
  min-height: 40px; padding: 0 3px; border-color: transparent; background: transparent;
  font-size: inherit; font-weight: 750; color: #5e3059;
}
.landing-auth .login-switch button:hover { text-decoration: underline; text-underline-offset: 3px; }
.creator-shell .editor-workspace .preview {
  background: linear-gradient(154deg, #fff9, #fcf0f568), #f0e0eb70;
  border-color: var(--glass-rim);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
}
.creator-shell .field :is(input,textarea,select), .login-card .field input, dialog .field :is(input,textarea,select) {
  background: var(--glass-inset);
  border-color: #a888a54f;
  border-radius: var(--glass-control-radius);
}
.creator-shell .field :is(input,textarea,select):focus, .login-card .field input:focus, dialog .field :is(input,textarea,select):focus {
  background: #fffdfd;
  border-color: #805a7d;
}
.creator-shell .editor-workspace .mobile-workspace-actions { background: #fbf7faf2; }
.creator-shell .link-options > summary { justify-content: flex-start; gap: 8px; min-height: 43px; }
.creator-shell .link-options > summary span { color: var(--creator-muted); font-weight: 500; }
.creator-shell .link-options > summary::after { margin-left: auto; }
.creator-shell .link-format { display: inline-flex; margin: 4px 8px 14px; padding: 3px; background: #f0e4eeaa; border-radius: 12px; }
.creator-shell .link-format button { min-height: 38px; padding-inline: 16px; border-color: transparent; background: transparent; }
.creator-shell .link-format button[aria-pressed="true"] { background: #fffdfd; border-color: #ddcedd; }
.creator-shell .pin-note { margin-left: 8px; }
.creator-shell .editor-workspace .upload-tile { background: var(--glass-inset); border-color: #ddccdd88; }
.image-options { position: relative; }
.creator-shell .link-card:has(.image-options[open]), .creator-shell .design-panel:has(.image-options[open]) { position: relative; z-index: 2; }
.image-options > summary {
  cursor: pointer; display: flex; align-items: center; min-height: 44px; border: 1px solid #ddccdd;
  border-radius: var(--glass-control-radius); padding: 0 9px; background: #fff9; font-size: 13px; font-weight: 700;
}
.image-options summary:hover { text-decoration: none; background: #fff; }
.image-options > div {
  position: absolute; z-index: 3; top: calc(100% + 4px); right: 0; min-width: 145px;
  display: grid; background: #faf3fa; border: 1px solid #e2d3e2; border-radius: 12px; padding: 4px; box-shadow: var(--glass-shadow);
}
.image-options button { margin: 0; border: 0; background: transparent; justify-content: flex-start; font-size: 13px; padding-inline: 9px; }
.image-options button:hover { background: #f0e3ef; }
.creator-shell .age-option, .creator-shell .row-actions.link-order, .link-delete { padding: 4px 8px; font-size: 13px; }
.creator-shell .age-option { display: flex; justify-content: space-between; }
.creator-shell .age-option input { width: 17px; height: 17px; accent-color: var(--creator-accent); }
.creator-shell .row-actions.link-order { align-items: center; }
.link-order > span { margin-right: auto; }
.link-delete button { background: transparent; border-color: transparent; padding-inline: 0; }
#draft-save-status { font-size: 12px; color: var(--creator-muted); }
#draft-save-status:empty { display: none; }
.share-dialog .share-address { background: #eddfec88; user-select: all; }
.share-tools { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 9px; }
.share-tools a { justify-content: center; text-decoration: none; padding-inline: 9px; text-align: center; border: 1px solid #ddcfde; border-radius: var(--glass-control-radius); background: #fff8; }
.share-tools a:hover { background: #fff; }
@media (max-width: 540px) {
  #draft-save-status, #draft-save-status:empty { display: block; flex: 0 0 100%; min-height: 18px; }
  .share-tools { grid-auto-flow: row; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass-fill: var(--glass-opaque); --glass-inset: #fff; }
  .creator-top, .creator-shell:has(.creator-nav:not([hidden])) .creator-rail, body:has(.admin-shell) .appbar,
  .creator-shell .editor-workspace .preview, dialog { background: var(--glass-opaque); backdrop-filter: none; }
  dialog::backdrop, .landing-auth-dialog::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.creator-shell .settings-page { max-width: 760px; }
.settings-page .settings-panel { padding: 0; overflow: hidden; margin-bottom: 14px; }
.settings-panel > header { padding: 16px 20px 13px; }
.settings-panel > header h2 { font: 750 21px/1.15 var(--display); }
.settings-panel > header p, .settings-row p { margin-top: 3px; font-size: 13px; color: var(--creator-muted); }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid #dfcedd88; overflow-wrap: anywhere; }
.settings-row strong { display: block; font-size: 14px; }
.settings-row :is(button,.button,input) { flex-shrink: 0; }
.settings-row :is(button,.button) { font-size: 13px; }
.settings-row input { width: 18px; height: 18px; accent-color: var(--creator-accent); }
.settings-danger { background: #f9e9ef66; }
.settings-case-list { padding: 12px 20px 17px; border-top: 1px solid #dfcedd88; }
@media (max-width: 430px) {
  .settings-row { flex-wrap: wrap; }
  .settings-panel > header, .settings-row, .settings-case-list { padding-inline: 14px; }
}
.design-choices { min-width: 0; padding: 0; margin: 0 0 13px; border: 0; }
.design-choices legend, .style-label { margin-bottom: 7px; padding: 0; font-size: 14px; font-weight: 750; }
.design-choices > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.font-choices > div { grid-template-columns: repeat(4,minmax(0,1fr)); }
.design-choice { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 0; min-height: 45px; padding: 6px; border: 1px solid #e6dae3; border-radius: 11px; background: #fff8; cursor: pointer; font-size: 12px; text-align: center; }
.design-choice input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.design-choice:hover { background: #fff; }
.design-choice:has(:checked) { background: #eee0ed; border-color: #bea0b9; color: #4b2b4b; }
.design-choice:has(:focus-visible) { box-shadow: inset 0 0 0 1px #805a7d; }
.font-sample { font: 750 26px/1.1 var(--display); }
.font-sample[data-sample="sans"] { font-family: "DM Sans", sans-serif; }
.font-sample[data-sample="serif"] { font: 400 28px/1.05 var(--serif); }
.creator-shell button.color-setting {
  display: flex; justify-content: flex-start; text-align: left; gap: 10px; min-width: 0;
  min-height: 62px; padding: 8px 10px; background: #fff8; border-color: var(--creator-line);
}
.color-setting strong, .color-setting code { display: block; font-size: 12px; }
.color-setting code { color: var(--creator-muted); margin-top: 2px; }
.color-chip { flex: none; display: block; width: 26px; height: 26px; border-radius: 7px; background: var(--chip); border: 1px solid #44365635; }
.color-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
@media (max-width: 370px) { .color-options { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.color-options .color-chip { width: 100%; min-height: 44px; padding: 0; background: var(--chip); }
.color-options button[aria-pressed="true"] { outline: 2px solid #573651; outline-offset: 2px; }
.color-hex-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.color-hex-form input { font-family: monospace; }
.color-hex-form .primary { background: #573651; border-color: #573651; color: #fff; }
.color-dialog [data-color-default] { margin-top: 7px; }
.color-adjustment { margin-bottom: 14px; border-block: 1px solid #ddcfde; }
.color-adjustment summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 44px;
  list-style: none; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.color-adjustment summary::-webkit-details-marker { display: none; }
.color-adjustment summary:hover { text-decoration: none; }
.color-adjustment summary::after { content: "＋"; margin-left: 8px; font-weight: 400; }
.color-adjustment[open] summary::after { content: "−"; }
.color-adjustment [data-color-preview] { margin-left: auto; width: 20px; height: 20px; }
.color-sliders { display: grid; padding-bottom: 7px; }
.color-sliders label { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 42px; font-size: 12px; }
.color-sliders input[type="range"] {
  appearance: none; width: 100%; min-height: 32px; margin: 0; padding: 0;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
}
.color-sliders [name=hue] { --track: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.color-sliders input::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: var(--track); }
.color-sliders input::-moz-range-track { height: 8px; border-radius: 99px; background: var(--track); }
.color-sliders input::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px; margin-top: -5px; border: 2px solid #573651; border-radius: 50%; background: white;
}
.color-sliders input::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #573651; border-radius: 50%; background: white; }
.photo-fade-switch {
  position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  min-height: 44px; margin-inline-start: auto; color: var(--creator-muted); font-size: 13px;
}
.photo-fade-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.photo-fade-track { pointer-events: none; position: relative; display: block; width: 34px; height: 20px; border-radius: 99px; background: #ad9eab; }
.photo-fade-track::before { content: ""; position: absolute; inset: 3px auto 3px 3px; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.photo-fade-switch input:checked + .photo-fade-track { background: var(--creator-accent); }
.photo-fade-switch input:checked + .photo-fade-track::before { left: auto; right: 3px; }
.photo-fade-switch input:focus-visible + .photo-fade-track { outline: 2px solid var(--creator-accent); outline-offset: 3px; }
.photo-palette {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 22px;
  margin-bottom: 14px; padding: 14px; border: 1px solid var(--glass-rim); border-radius: 14px; background: #fff8;
}
.palette-swatches { display: flex; align-items: center; gap: 3px; }
.palette-swatches i { display: block; width: 22px; height: 22px; border: 1px solid #35253a35; border-radius: 50%; }
.photo-palette-actions { display: grid; justify-items: start; gap: 4px; }
.photo-palette-actions p { margin: 0; font-size: 12px; }
.creator-shell .photo-palette-actions .primary { background: var(--creator-accent); border-color: var(--creator-accent); color: #fff; }
.style-disclosure { border-top: 1px solid var(--creator-line); }
.style-disclosure > summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 46px;
  padding: 6px 9px; border-radius: 8px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700;
}
.style-disclosure > summary::-webkit-details-marker { display: none; }
.style-disclosure > summary:hover { background: #fffa; text-decoration: none; }
.style-disclosure > summary::after {
  content: ""; width: 7px; height: 7px; margin-inline: 4px; rotate: 45deg;
  border: solid var(--creator-muted); border-width: 0 1.5px 1.5px 0;
}
.style-disclosure[open] > summary::after { rotate: 225deg; }
.style-disclosure-body { padding: 4px 3px 12px; }
.style-disclosure-body .design-choices + .design-choices { margin-top: 11px; }
.field select:focus { outline: none; border-color: #805a7d; }
.field select:focus-visible { box-shadow: inset 0 0 0 1px #805a7d; }
@media (max-width: 470px) { .font-choices > div { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.preview-heading [data-action="full-preview"] {
  display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0;
  color: var(--creator-accent); background: #fff7; border-color: #cbb4c752; font-size: 19px; line-height: 1;
}
.preview-heading [data-action="full-preview"]:hover { background: #fff; }
.phone-screen { position: relative; }
.live-shell .profile-share, .phone-screen .profile-share {
  position: absolute; z-index: 3; isolation: isolate; top: 6px; right: 6px;
  display: grid; place-items: center; width: 44px; min-height: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; color: #35253a; background: none;
}
.profile-share::before { content: ""; position: absolute; z-index: -1; inset: 6px; border-radius: inherit; background: #fff6f0df; backdrop-filter: blur(10px); box-shadow: 0 2px 7px #36253625; }
.profile-share:hover::before, .profile-share:focus-visible::before { background: #fff6f0; }
.profile-share svg { display: block; width: 17px; height: 17px; }
.draft-preview-banner { width: fit-content; margin: 0 auto 10px; padding: 5px 11px; border: 1px solid #d9bbc3; border-radius: 99px; background: #fff6f5; color: #4b304b; font-size: 12px; font-weight: 750; }
.live:has(.draft-preview-banner) { padding-top: 12px; }

/* The same portrait and scrolling links render in the homepage, editor and public page. */
.live.portrait { background: #191727; }
.profile.portrait {
  --page: #252843; --text: #fff; --accent: #c6ceff; --on-accent: #25213b;
  --subtle: color-mix(in srgb, var(--text) 81%, var(--page));
  --surface: color-mix(in srgb, var(--page) 87%, var(--text));
  --edge: color-mix(in srgb, var(--text) 25%, transparent);
  --profile-pad: clamp(12px, 5cqw, 20px);
  --profile-row: clamp(44px, 15cqw, 55px); --profile-gap: 8px;
  --profile-view: min(880px, calc(100svh - 56px));
  position: relative; isolation: isolate; overflow: clip; padding: 0 0 22px;
}
.profile.portrait.has-portrait {
  --profile-text: #fff;
  --portrait-fade: #000;
  --portrait-identity-surface: var(--portrait-fade);
}
.profile.portrait.has-portrait[data-match-portrait-fade] { --portrait-fade: var(--page); --profile-text: var(--text); }
.profile.portrait[data-template] { --portrait-fade: #000; }
.profile.portrait[data-template][data-match-portrait-fade] { --portrait-fade: var(--page); }
.creator-screen .profile.portrait.has-portrait {
  --portrait-fade: var(--page);
  --portrait-identity-surface: color-mix(in srgb, #191222 80%, var(--page));
}
@media (max-width: 780px) {
  .profile.portrait { --profile-view: 100svh; }
}
.phone-screen { container-type: size; }
.phone-screen .profile.portrait, .creator-screen .profile.portrait { --profile-view: 100cqh; }
.profile-backdrop {
  position: sticky; z-index: -1; top: 0; height: var(--profile-view); margin-bottom: calc(-1 * var(--profile-view));
  background: radial-gradient(ellipse at 50% 18%, color-mix(in srgb, var(--accent) 23%, var(--page)), var(--page) 70%);
}
.profile-backdrop .cover-photo {
  width: 100%; height: 78%; margin: 0; aspect-ratio: auto; object-position: center 26%;
  mask-image: linear-gradient(#000 82%, transparent); filter: blur(var(--portrait-blur, 0px));
  opacity: var(--portrait-opacity, 1); scale: var(--portrait-scale, 1);
}
.profile-backdrop::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #140f201c, transparent 30%, #160d2457 49%, var(--portrait-fade, var(--page)) 85%);
}
.profile.portrait .profile-header {
  position: relative; display: grid; align-content: end; justify-items: center;
  min-height: 215px; padding: 55px var(--profile-pad) 14px; text-align: center;
  color: var(--profile-text, var(--text));
}
.profile-details { display: grid; justify-items: inherit; width: 100%; }
.profile.portrait.has-portrait .profile-details { position: relative; isolation: isolate; }
.profile.portrait.has-portrait .profile-details::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -50px calc(-1 * var(--profile-pad)) -14px;
  background: linear-gradient(transparent, var(--portrait-identity-surface) 46%);
}
.profile.portrait.has-portrait .profile-header {
  min-height: max(225px, calc(var(--profile-view) - var(--profile-row) * 2 - var(--profile-gap) * 2 - 29px));
  text-shadow: 0 1px 8px #130e206e, 0 1px 2px #130e206e;
}
.profile.portrait.has-portrait[data-match-portrait-fade] .profile-header { text-shadow: none; }
.profile.portrait[data-header-layout="left"] .profile-header { justify-items: start; text-align: left; }
.profile.portrait .profile-photo, .profile.portrait .initials {
  width: 53px; height: 53px; margin: 0 0 8px; border: 1px solid #ffffff7a;
}
.profile.portrait .profile-name { margin: 0; color: inherit; font: 750 clamp(23px, 10cqw, 44px)/1.03 var(--title-face); letter-spacing: -.025em; }
.profile.portrait .profile-identity.handle-only .profile-name { font-size: clamp(23px, 9cqw, 40px); }
.profile.portrait[data-title-font="sans"] .profile-name { font-family: "DM Sans", sans-serif; }
.profile.portrait[data-title-font="serif"] .profile-name { font-family: var(--serif); font-weight: 400; }
.profile.portrait .handle, .profile.portrait .bio { color: inherit; opacity: .89; }
.profile.portrait .handle { margin-top: 5px; font-size: 12px; }
.profile.portrait .bio { margin-top: 6px; font-size: clamp(12px, 4cqw, 15px); white-space: pre-line; }
.portrait-identity { display: grid; justify-items: inherit; min-width: 0; max-width: 100%; }
.profile-byline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px;
  justify-content: center; min-width: 0; max-width: 100%;
}
.profile.portrait[data-header-layout="left"] .profile-byline { justify-content: start; }
.profile.portrait .portrait-identity .profile-name { font-size: clamp(23px, 8.8cqw, 38px); text-wrap: balance; }
.profile.portrait .profile-identity.long-handle .profile-name { font-size: clamp(16px, 6cqw, 27px); text-wrap: balance; }
.profile.portrait .profile-byline .handle { margin: 0; }
.profile.portrait .portrait-identity .bio { margin-top: 5px; max-width: 42ch; text-wrap: pretty; }
.profile-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin-top: 6px; }
.profile-social {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; color: inherit; text-decoration: none;
}
.profile.portrait.has-portrait .profile-social { background: #ffffff1f; }
.profile-social:is(:hover, :focus-visible) { background: #ffffff1d; }
.profile.portrait.has-portrait .profile-social:is(:hover, :focus-visible) { background: #ffffff3a; }
.profile-social svg { width: clamp(17px, 6.6cqw, 23px); }
.profile-sheet {
  position: relative; padding: 10px var(--profile-pad) 13px; border-radius: 23px 23px 0 0;
  border-top: 1px solid var(--edge); background: color-mix(in srgb, var(--page) 66%, transparent);
  box-shadow: 0 -9px 28px #140e231d; -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25);
}
.profile.portrait .profile-links { margin: 0; gap: var(--profile-gap); }
.profile.portrait .profile-link {
  display: block; position: relative; border-radius: var(--link-radius); color: var(--text);
  background: color-mix(in srgb, var(--surface) 72%, transparent); text-decoration: none;
}
.profile.portrait .profile-link.featured { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.profile.portrait .profile-link.primary-link { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.profile.portrait .profile-link:is(a, summary):hover { border-color: currentColor; text-decoration: none; }
.profile.portrait .link-label {
  position: relative; display: grid; place-items: center; min-height: calc(var(--profile-row) - 2px);
  width: 100%; padding: 8px 32px; text-align: center; font-size: clamp(12px, 4.2cqw, 15px);
}
.link-mark, .link-mark :is(svg, img) { display: block; width: 18px; height: 18px; }
.link-mark img { object-fit: contain; }
.profile.portrait .link-label .link-mark { position: absolute; inset-inline-start: 12px; }
.profile.portrait .sensitive-card { border: 0; border-radius: var(--link-radius); background: var(--surface); }
.profile.portrait .sensitive-card summary { padding: 0; min-height: 0; list-style: none; }
.profile.portrait .sensitive-card summary::-webkit-details-marker { display: none; }
.profile.portrait .sensitive-card[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.profile.portrait .sensitive-card .age-badge {
  position: absolute; top: 50%; right: 7px; translate: 0 -50%; width: auto; height: auto;
  padding: 4px; background: #0002; color: inherit; border-radius: 4px; font-size: 9px;
}
.profile.portrait .sensitive-panel { padding-top: 12px; }
.profile.portrait .profile-footer {
  position: relative; display: grid; justify-items: center; gap: 2px;
  margin: 16px 0 0; padding: 0 var(--profile-pad); color: var(--subtle);
}
.live-shell .profile.portrait .profile-footer, .phone-screen .profile.portrait .profile-footer {
  display: flex; justify-content: center; align-items: center; gap: 4px 14px; margin-top: 9px; font-size: 11px;
  color: color-mix(in srgb, var(--text) 68%, var(--page));
}
.profile-footer :is(a, button):is(:hover, :focus-visible) { color: var(--text); }
:is(.live-shell, .phone-screen) .profile-footer :is(.profile-footer-brand, .profile-footer-tools > *) {
  display: inline-flex; align-items: center; min-height: 44px; font-size: inherit;
}
.profile-footer-brand { font-size: 11px; }
.profile-footer-tools { display: flex; gap: 13px; align-items: center; }
.creator-screen .profile.portrait .profile-footer { margin-bottom: 23px; }
.creator-screen .profile.portrait .profile-name, .creator-screen .profile.portrait .bio { margin-bottom: 0; }
.creator-screen .profile.portrait .profile-header { padding-bottom: 10px; }
.creator-screen .profile.portrait .profile-social { width: min(44px, 14cqw); height: min(40px, 12cqw); }
.creator-screen .profile.portrait .profile-sheet { min-height: 0; }
@media (max-width: 580px) {
  .creator-screen .profile.portrait .link-label { padding-inline: 21px; }
  .creator-screen .profile.portrait .link-label .link-mark { inset-inline-start: 7px; }
  .creator-screen .profile.portrait .link-mark, .creator-screen .profile.portrait .link-mark svg { width: 13px; height: 13px; }
}
@media (max-width: 580px) and (max-height: 700px) {
  .creator-screen .profile.portrait.has-portrait .profile-header {
    min-height: max(170px, calc(var(--profile-view) - var(--profile-row) * 2 - var(--profile-gap) * 2 - 45px));
  }
}
.profile.portrait[data-template] .profile-header { min-height: 0; align-content: start; padding-top: 55px; }
.profile.portrait[data-template] .profile-social { background: var(--surface); }
.profile.portrait[data-template] .profile-social:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px var(--edge); }
.profile.portrait[data-template] .profile-sheet { border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; background: none; }
.profile.portrait[data-template="cover"] { --profile-pad: clamp(16px, 5.5cqw, 24px); }
.profile.portrait[data-template="cover"]:not([data-header-layout="center"]) .profile-header { justify-items: start; text-align: left; }
.profile.portrait[data-template="cover"]:not([data-header-layout="center"]) .profile-socials { justify-content: start; }
.profile.portrait[data-template="cover"] .profile-header { padding-block: 18px 7px; }
.profile.portrait[data-template="cover"] .profile-backdrop + .profile-header { padding-top: 55px; }
.profile-cover-frame {
  position: relative; isolation: isolate; overflow: hidden; background: var(--page);
}
.profile-cover-frame .cover-ambient {
  position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(28px); scale: 1.2; opacity: .56;
}
.profile-cover-frame .cover-image { display: block; width: 100%; height: auto; max-height: min(390px, 46svh); object-fit: contain; }
.profile-cover-frame::after {
  content: ""; position: absolute; inset: auto 0 0; height: 10%; pointer-events: none;
  background: linear-gradient(transparent, var(--portrait-fade));
}
.phone-screen .profile-cover-frame .cover-image { max-height: min(390px, 46cqh); }
.profile.portrait[data-template="cover"] .profile-cover-frame + .profile-header:has(.profile-photo) { padding-top: 0; }
.profile.portrait[data-template="cover"] .profile-cover-frame + .profile-header .profile-photo {
  width: 52px; height: 52px; margin: -23px 0 10px; border: 3px solid var(--page);
}
.profile.portrait[data-template="cover"] .handle { margin-top: 4px; }
.profile.portrait[data-template="cover"] .profile-sheet { padding-top: 9px; }
.profile.portrait[data-template="cover"] .link-label {
  justify-items: start; text-align: left; padding-inline: 15px;
}
.profile.portrait[data-template="cover"] .link-label:has(.link-mark) { padding-inline-start: 40px; }
.profile.portrait[data-template="cover"] .sensitive-card .link-label { padding-inline-end: 44px; }
.profile.portrait[data-template="cover"] .feature-photo { aspect-ratio: auto; max-height: 280px; object-fit: contain; }
.profile.portrait[data-template="compact"] { --profile-row: clamp(44px, 13cqw, 50px); }
.compact-background {
  position: absolute; inset: 0 0 auto; width: 100%; height: min(240px, 62cqw);
  object-fit: cover; object-position: center 28%; opacity: .24;
  mask-image: linear-gradient(#000, #000 13%, transparent);
}
.profile-backdrop:has(> .compact-background)::after {
  height: min(255px, 66cqw); bottom: auto;
  background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--portrait-fade) 44%, transparent) 75%, transparent);
}
.profile.portrait[data-template="compact"]:not([data-button-shape]) { --link-radius: 26px; }
.profile.portrait[data-template="compact"] .profile-identity .profile-name { font-size: clamp(23px, 8cqw, 36px); }
.profile.portrait[data-template="compact"] :is(.profile-photo, .initials) { width: 62px; height: 62px; margin-bottom: 9px; }

.template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.creator-shell .template-card {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(20px, auto) 1fr;
  align-items: start; justify-items: stretch;
  gap: 5px; min-width: 0; padding: 8px; border-radius: 14px; text-align: left; background: #fffc;
}
.creator-shell .template-card[aria-pressed="true"] { border-color: var(--creator-accent); background: #f2e6ef; }
.template-name { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 6px; }
.template-selected { font-size: 10px; font-weight: 750; color: #603e5a; }
.template-caption { font-size: 12px; line-height: 1.3; font-weight: 500; color: var(--creator-muted); }
.template-art {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  width: 100%; aspect-ratio: 1.1; overflow: hidden; border-radius: 8px; padding: 10%; background: var(--page);
}
.template-art img { display: block; object-fit: cover; object-position: center 30%; }
.template-art[data-art="Portrait"] img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; mask-image: linear-gradient(#000 30%, transparent 100%); }
.template-art[data-art="Compact"] img { width: 25%; height: auto; aspect-ratio: 1; border-radius: 50%; margin-bottom: 10%; }
.template-art-links { display: grid; gap: 3px; width: 89%; }
.template-art-links i { display: block; height: clamp(3px, .6vw, 7px); border-radius: 6px; background: color-mix(in srgb, var(--text) 28%, var(--page)); }
.template-art-links i:first-child { background: var(--accent); }

.link-group + .link-group { margin-top: 22px; }
.link-group-title { margin: 0 0 8px; font: 750 17px/1.2 var(--display); color: var(--creator-ink); }
.link-policy { font-size: 13px; color: var(--creator-muted); }
.editor-workspace .link-fields { align-items: start; }
.link-policy[data-error] { color: #8b2846; }
.analytics-empty {
  display: grid; justify-items: start; gap: 10px; padding: clamp(20px, 5vw, 36px);
}
.analytics-empty h2 { font: 750 clamp(21px, 4vw, 28px)/1.15 var(--display); }
.analytics-empty p { max-width: 46ch; color: var(--creator-muted); }
.workspace-mobile-actions { display: none; }
@media (max-width: 780px) {
  .creator-shell:has(.editor-workspace) #dashboard { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .creator-shell:has(.editor-workspace) .creator-top {
    flex-direction: row; align-items: center; min-height: 52px; padding-block: 5px; gap: 8px;
  }
  .creator-shell:has(.editor-workspace) .creator-commands { width: auto; justify-content: flex-end; flex-shrink: 1; }
  .creator-shell:has(.editor-workspace) .creator-commands [data-action="publish"],
  .creator-shell:has(.editor-workspace) .creator-commands [data-action="share"]:disabled { display: none; }
  .creator-shell:has(.editor-workspace) .creator-commands [data-action="share"] {
    flex: none; padding-inline: 8px; min-height: 38px; color: var(--creator-accent); background: transparent;
  }
  .creator-address strong { overflow-wrap: anywhere; }
  .workspace-mobile-actions {
    position: fixed; z-index: 5; inset: auto 0 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fcf7fbf5; border-top: 1px solid var(--creator-line);
    backdrop-filter: blur(12px);
  }
  .workspace-mobile-actions .primary { background: var(--creator-accent); border-color: var(--creator-accent); }
  body:has(.workspace-mobile-actions) #toast { bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 6; }
  .creator-shell :is(.controls, .preview) { scroll-margin-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .creator-shell .link-state { display: inline; }
  .creator-shell .link-state:empty { display: none; }
}

.link-priority {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 3px 0 10px; padding: 6px 10px 6px 12px; border-radius: 12px; background: #fff6;
  border: 1px solid var(--creator-line);
}
.link-priority strong, .link-icon-picker summary strong { font-size: 13px; }
.link-priority p { margin: 3px 0 0; color: var(--creator-muted); font-size: 12px; line-height: 1.35; }
.creator-shell .link-priority-toggle {
  display: grid; place-items: center; flex: 0 0 48px; min-height: 44px; padding: 0;
  background: transparent; border-color: transparent;
}
.link-priority-toggle span { position: relative; width: 34px; height: 20px; border-radius: 20px; background: #e6dbe6; border: 1px solid #c8b6c6; }
.link-priority-toggle span::after { content: ""; position: absolute; inset: 2px auto 2px 2px; width: 14px; border-radius: 50%; background: white; box-shadow: 0 1px 2px #35253a45; }
.link-priority-toggle[aria-pressed="true"] span { background: var(--creator-accent); border-color: var(--creator-accent); }
.link-priority-toggle[aria-pressed="true"] span::after { inset-inline-start: 16px; }
.link-icon-picker { border: 1px solid var(--creator-line); background: #fff6; border-radius: 12px; margin-bottom: 8px; }
.link-icon-picker > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px;
  min-height: 45px; padding: 7px 12px; border-radius: inherit;
}
.link-icon-picker > summary::-webkit-details-marker { display: none; }
.link-icon-picker > summary:hover { text-decoration: none; background: #f6edf6; }
.link-icon-picker > summary::after { content: ""; width: 6px; height: 6px; border: solid var(--creator-muted); border-width: 0 1.5px 1.5px 0; rotate: 45deg; margin-inline: 3px; }
.link-icon-picker[open] > summary::after { rotate: 225deg; }
.link-icon-current { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--creator-muted); font-size: 12px; }
.link-icon-current .link-mark, .link-icon-current .link-mark :is(svg, img) { width: 15px; height: 15px; }
.link-icon-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 10px; }
.creator-shell .link-icon-options button {
  display: grid; justify-items: center; align-content: center; gap: 4px;
  min-width: 0; min-height: 54px; padding: 4px 2px;
  border-color: var(--creator-line); background: #fff7; color: var(--creator-ink); font-size: 11px;
}
.creator-shell .link-icon-options button[aria-pressed="true"] { background: #f0e3ef; border-color: #a37a9b; color: var(--creator-accent); }
.link-icon-sample { display: grid; place-items: center; width: 19px; height: 20px; }
.empty-icon { color: var(--creator-muted); }
.link-icon-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; padding: 9px 10px 10px; }
.link-icon-upload button { min-height: 44px; font-size: 12px; padding-inline: 9px; }
.link-icon-upload small { font-size: 11px; color: var(--creator-muted); }
@media (max-width: 350px) { .link-icon-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
