:root {
  --paper: #f3f2ef; --paper-2: #e9e8e4; --white: #fbfbf9; --ink: #151515; --dim: #55554f; --mute: #74746d;
  --line: rgba(21,21,21,.13); --line-strong: rgba(21,21,21,.26);
  --accent: #b3b0f6; --accent-text: #151515; --accent-soft: #eceafd; --accent-deep: #514cc0;
  --headline: var(--accent-deep); --mark-ink: var(--ink);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-font: "Space Grotesk", "Manrope", sans-serif; --display-case: none; --display-weight: 600; --display-spacing: -.04em;
  --radius: 14px; --radius-sm: 11px; --radius-lg: 18px; --page-width: 540px;
  --border-width: 1px; --card-border: var(--line-strong);
  --hover-shadow: 0 12px 24px -20px rgba(0,0,0,.5); --hover-transform: translateY(-2px); --surface-shadow: none;
  --social-radius: 50%; --avatar-radius: 50%; --badge-radius: 99px;
  --profile-align: center; --profile-text: center; --social-justify: center;
  --page-image: none; --page-size: auto;
  --wa: #1f8a4c;
  --primary-bg: linear-gradient(135deg, #cecbff 0%, #b3b0f6 46%, #9a8bff 100%);
  --primary-ink: #0b0916;
  --primary-glow: 0 14px 30px -20px rgba(179, 176, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .5);
}
[data-theme="dark"] {
  --paper: #121212; --white: #1b1b1b; --ink: #f2f1ed; --dim: #c2c1ba; --mute: #8f8e87;
  --line: rgba(242,241,237,.14); --line-strong: rgba(242,241,237,.3);
  --accent-soft: #262438; --headline: var(--accent); --mark-ink: #151515;
  --card-border: rgba(179,176,246,.35);
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; background-color: var(--paper); background-image: var(--page-image); background-size: var(--page-size);
  color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.page { max-width: var(--page-width); margin: 0 auto; padding: 34px 18px 70px; }
.loading { color: var(--mute); text-align: center; padding: 80px 0; font-size: 14px; }
.topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.topline .tiny-brand { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-decoration: none; font-weight: 600; }
.tiny-mark { width: 17px; height: 17px; border-radius: 5px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: 1.5px; }
.tiny-mark i { width: 1.5px; background: var(--mark-ink); border-radius: 2px; display: block; }
.tiny-mark i:nth-child(1) { height: 5px; } .tiny-mark i:nth-child(2) { height: 8px; } .tiny-mark i:nth-child(3) { height: 3px; }
.share-btn { border: 1px solid var(--line); background: var(--white); color: var(--dim); border-radius: 99px; padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.share-btn:hover { border-color: var(--line-strong); color: var(--ink); }

.hero-banner { margin: 0 -18px; overflow: hidden; border-radius: var(--radius-lg); background: var(--accent-soft); }
.hero-banner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; max-height: 300px; object-fit: cover; }
.profile { display: flex; flex-direction: column; align-items: var(--profile-align); text-align: var(--profile-text); }
.profile.has-banner .avatar-wrap { margin-top: -48px; z-index: 1; }
.profile.has-banner .avatar { border-width: 4px; }
.avatar-wrap { position: relative; margin-bottom: 15px; }
.avatar { width: 96px; height: 96px; border-radius: var(--avatar-radius); object-fit: cover; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line), 0 12px 26px -18px rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-text); font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
h1 { font-family: var(--display-font); font-weight: var(--display-weight); text-transform: var(--display-case); font-size: clamp(27px, 7vw, 34px); line-height: 1.05; letter-spacing: var(--display-spacing); margin: 0 0 5px; text-wrap: balance; }
.headline { margin: 0; color: var(--headline); font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; }
.bio { margin: 12px 0 0; color: var(--dim); font-size: 14.5px; line-height: 1.55; white-space: pre-line; max-width: 400px; text-wrap: pretty; }
.roles { display: flex; flex-wrap: wrap; justify-content: var(--social-justify); gap: 6px; margin-top: 10px; }
.role { padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--badge-radius); background: var(--white); color: var(--dim); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.profile-meta { display: flex; align-items: center; gap: 6px; justify-content: var(--social-justify); margin: 10px 0 0; color: var(--mute); font-size: 11.5px; letter-spacing: .03em; }
.profile-meta::before { content: ''; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent); }
.socials { display: flex; flex-wrap: wrap; justify-content: var(--social-justify); gap: 8px; margin-top: 20px; }
.social { width: 38px; height: 38px; border-radius: var(--social-radius); border: var(--border-width) solid var(--line); background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; transition: transform .14s, border-color .14s, background .14s; }
.social:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--accent-soft); }
.wa-btn { width: 100%; margin-top: 22px; border-radius: var(--radius); background: var(--wa); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14.5px; font-weight: 600; text-decoration: none; border: 1px solid rgba(0,0,0,.15); transition: filter .15s, transform .15s; }
.wa-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

.block { margin-top: 30px; }
.block-title { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--mute); font-weight: 700; margin: 0 0 10px 2px; }
.links { display: flex; flex-direction: column; gap: 9px; }
.link-btn { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 16px; border-radius: var(--radius); border: var(--border-width) solid var(--card-border); background: var(--white); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -.01em; box-shadow: var(--surface-shadow); transition: transform .14s, border-color .14s, box-shadow .14s; }
.link-btn:hover { transform: var(--hover-transform); border-color: var(--ink); box-shadow: var(--hover-shadow); }
.link-btn span:last-child { color: var(--mute); font-size: 16px; }

.block-head { margin-bottom: 10px; }
.block-head .block-title { margin-bottom: 3px; }
.block-sub { margin: 0 0 0 2px; color: var(--mute); font-size: 11.5px; line-height: 1.4; }
.p-media { position: relative; min-width: 0; }
.p-platform { position: absolute; top: 8px; left: 8px; padding: 3px 6px; border: 1px solid rgba(255,255,255,.32); border-radius: 99px; background: rgba(17,17,17,.56); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.p-play { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(251,251,249,.9); color: #151515; font-size: 12px; transform: translate(-50%, -50%); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.portfolio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; min-width: 0; }
.p-card { min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: var(--border-width) solid var(--card-border); background: var(--white); text-decoration: none; box-shadow: var(--surface-shadow); transition: transform .14s, border-color .14s, box-shadow .14s; }
.p-card:hover { transform: var(--hover-transform); border-color: var(--ink); box-shadow: var(--hover-shadow); }
.p-img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; background: var(--accent-soft); }
.p-placeholder { aspect-ratio: 4 / 3; width: 100%; background: linear-gradient(140deg, var(--accent-soft), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; color: var(--accent-text); }
.p-meta { padding: 9px 11px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-meta b { min-width: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.p-meta span { color: var(--mute); font-size: 12px; }

.book-card { background: var(--accent-soft); border: var(--border-width) solid var(--card-border); border-radius: var(--radius-lg); padding: 17px 16px; box-shadow: var(--surface-shadow); }
.book-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.book-head h2 { margin: 0; font-family: var(--display-font); font-size: 20px; letter-spacing: var(--display-spacing); font-weight: var(--display-weight); }
.book-head .badge { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; background: var(--accent); color: var(--accent-text); border-radius: var(--badge-radius); padding: 4px 8px; }
.book-sub { margin: 0 0 13px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.book-types { display: flex; flex-direction: column; gap: 7px; margin-bottom: 11px; }
.book-type { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: var(--border-width) solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; text-decoration: none; transition: border-color .14s; }
.book-type:hover { border-color: var(--ink); }
.book-type b { display: block; font-size: 13px; }
.book-type small { display: block; color: var(--mute); font-size: 11.5px; margin-top: 1px; }
.book-type .go { color: var(--mute); font-size: 14px; }
.book-cta { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary-bg); color: var(--primary-ink); border-radius: var(--radius); padding: 13px; text-decoration: none; font-size: 14px; font-weight: 600; }
.next-free { display: flex; gap: 6px; justify-content: center; align-items: baseline; margin: 0 0 9px; color: var(--mute); font-size: 12.5px; }
.next-free b { color: var(--ink); font-weight: 650; }

/* Link thumbnails, a photo gallery and the work button. */
.link-btn.with-img { justify-content: flex-start; gap: 11px; padding: 9px 12px; }
.link-img { width: 40px; height: 40px; flex: none; border-radius: 8px; object-fit: cover; }
.link-btn.with-img .link-label { flex: 1; text-align: left; }
.work-btn { display: inline-flex; align-items: center; gap: 7px; margin: 14px auto 0; padding: 10px 16px; border-radius: var(--radius); border: var(--border-width) solid var(--card-border); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.photo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photo-tile { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; display: block; }
@media (min-width: 520px) { .photo-wall { grid-template-columns: repeat(5, 1fr); } }

/* Install card, app tabs, contact sheet and the post-scan prompt. */
.scan-card { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; padding: 16px; border-radius: var(--radius); background: var(--white); border: var(--border-width) solid var(--line-strong); }
.scan-head { display: flex; align-items: center; gap: 12px; }
.scan-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 22px; }
.scan-avatar img { width: 100%; height: 100%; object-fit: cover; }
.scan-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scan-who b { font-size: 17px; letter-spacing: -0.01em; }
.scan-who small { color: var(--dim); font-size: 12.5px; line-height: 1.35; }
.scan-hint { color: var(--mute) !important; font-size: 11px !important; }
.scan-add { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: 10px; background: var(--primary-bg); color: var(--primary-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.scan-note { margin: 0; color: var(--mute); font-size: 11.5px; line-height: 1.45; text-align: center; }
.scan-other { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.scan-signup { text-align: center; font-size: 12px; color: var(--dim); text-decoration: none; border-top: var(--border-width) solid var(--line); padding-top: 10px; }
.scan-prompt { display: flex; flex-direction: column; gap: 4px; margin: 14px 0 0; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); color: var(--ink); border: 1px solid var(--line); }
.scan-prompt b { font-size: 14px; }
.scan-prompt p { margin: 0; font-size: 12.5px; opacity: .82; line-height: 1.45; }
.scan-prompt a { margin-top: 6px; color: var(--paper); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.install-card { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; padding: 15px 16px; border-radius: var(--radius); border: var(--border-width) solid var(--line); background: var(--white); }
.install-card b { font-size: 14px; }
.install-card p { margin: 0; color: var(--dim); font-size: 12.5px; line-height: 1.45; }
.install-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.install-btn, .install-link { font: inherit; font-size: 12.5px; font-weight: 600; border-radius: 9px; padding: 8px 12px; cursor: pointer; border: var(--border-width) solid transparent; background: var(--primary-bg); color: var(--primary-ink); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.install-link { background: var(--white); color: var(--ink); font-weight: 500; }
.install-help { margin: 0; color: var(--mute); font-size: 12px; line-height: 1.5; }

.app-tabs { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--paper); border-top: var(--border-width) solid var(--line); z-index: 40; }
.app-tabs button { font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 8px 2px; border: 0; border-radius: 9px; background: none; color: var(--mute); cursor: pointer; }
.app-tabs button.on { background: var(--accent-soft); color: var(--ink); }
.app-panes { padding-bottom: 64px; }
.app-panes .pane { display: none; }
.app-panes .pane.on { display: block; }
body.sheet-open { overflow: hidden; }

.sheet { position: fixed; inset: 0; background: rgba(8, 7, 14, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet-card { width: min(360px, 100%); background: rgba(255, 255, 255, .09); color: var(--ink); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(30px) saturate(125%); backdrop-filter: blur(30px) saturate(125%); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 34px 80px -34px rgba(0, 0, 0, .8); }
.sheet-card h3 { margin: 0; font-family: var(--display-font); font-size: 17px; }
.sheet-card p { margin: 0; color: var(--dim); font-size: 12.5px; }
.sheet-qr { width: 220px; height: 220px; display: block; background: #fff; border-radius: 12px; padding: 8px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.sheet-actions .install-btn:first-child { grid-column: 1 / -1; }
.sheet-hint { color: var(--mute) !important; font-size: 11.5px !important; line-height: 1.45; }

.share-glow { position: relative; background: var(--primary-bg); color: var(--primary-ink); border-color: transparent; }
.share-glow::after { content: ''; position: absolute; inset: -3px; border-radius: 99px; border: 2px solid var(--accent); opacity: .75; animation: share-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes share-pulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.18); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .share-glow::after { animation: none; opacity: .5; } }

.pay-list { display: flex; flex-direction: column; gap: 8px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--white); border: var(--border-width) solid var(--line); color: var(--ink); text-decoration: none; }
.pay-row span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-row b { font-size: 14px; }
.pay-row small { color: var(--dim); font-size: 12px; }
.pay-amount { flex: none; font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); }
.pay-note { margin: 10px 0 0; color: var(--mute); font-size: 11.5px; line-height: 1.45; }
.paused { display: flex; gap: 9px; align-items: flex-start; background: var(--white); border: var(--border-width) solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; color: var(--dim); font-size: 12.5px; line-height: 1.45; }
.paused b { color: var(--ink); }

.empty-note { color: var(--mute); font-size: 13px; }
.page-foot { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.made { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mute); text-decoration: none; }
.made:hover { color: var(--ink); }
.page-foot .cta { font-size: 12px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.not-found { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; margin-top: 30px; }
.not-found h1 { font-size: 26px; margin-bottom: 8px; }
.not-found p { color: var(--dim); font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.not-found a { display: inline-flex; background: var(--primary-bg); color: var(--primary-ink); border-radius: 99px; padding: 11px 18px; text-decoration: none; font-size: 13.5px; font-weight: 600; }

[data-theme="paper"] .topline, [data-theme="blueprint"] .topline { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 28px; }
[data-theme="espresso"] .headline, [data-theme="cherry"] .headline, [data-theme="after-hours"] .headline { text-transform: uppercase; letter-spacing: .11em; font-size: 10.5px; }
[data-theme="neo"] .avatar { box-shadow: 5px 5px 0 var(--ink); }
[data-theme="neo"] .block-title { width: max-content; padding: 5px 8px; background: var(--ink); color: var(--paper); letter-spacing: .08em; }
[data-theme="blueprint"] .block-title::before { content: '// '; color: var(--accent); }
[data-theme="blueprint"] .share-btn { border-radius: 2px; text-transform: uppercase; letter-spacing: .07em; }
[data-theme="citrus"] .link-btn, [data-theme="citrus"] .p-card, [data-theme="citrus"] .book-card { border-color: var(--ink); }
[data-theme="momentum"] .avatar { border-color: rgba(198,255,62,.7); box-shadow: 0 0 0 1px rgba(198,255,62,.35), 0 18px 34px -20px #000; }
[data-theme="momentum"] .block-title { color: var(--accent); }
[data-theme="momentum"] .link-btn, [data-theme="momentum"] .p-card { background: linear-gradient(180deg, rgba(255,255,255,.035), transparent), var(--white); }
[data-theme="motion"] .block-title { color: var(--accent-deep); }
[data-theme="motion"] .book-card { background: linear-gradient(135deg, var(--accent-soft), rgba(255,255,255,.75)); }
[data-theme="aura"] .topline { border-bottom: 1px solid rgba(138,63,37,.16); padding-bottom: 14px; margin-bottom: 28px; }
[data-theme="aura"] .avatar { border: 4px solid rgba(255,250,245,.9); box-shadow: 0 18px 40px -24px rgba(95,48,26,.5); }
[data-theme="aura"] .link-btn, [data-theme="aura"] .p-card { background: rgba(255,250,245,.82); backdrop-filter: blur(8px); }
[data-theme="aura"] .book-card { background: linear-gradient(145deg, rgba(242,214,197,.92), rgba(255,250,245,.88)); }
[data-theme="aura"] .hero-banner { box-shadow: 0 18px 38px -30px rgba(95,48,26,.5); }

/* Brickworks: studded backdrop, primary-colour blocks and chunky edges. */
[data-theme="brickworks"] h1 { text-transform: uppercase; }
[data-theme="brickworks"] h1::after { content: ''; display: block; width: 54px; height: 8px; margin: 10px auto 0; border-radius: 2px; background: linear-gradient(90deg, #e53935 0 33.33%, #f5c400 33.33% 66.66%, #1e88e5 66.66%); }
[data-theme="brickworks"] .avatar { border: 4px solid #fff; border-radius: 16px; box-shadow: 5px 5px 0 #18213d; }
[data-theme="brickworks"] .link-btn { border: 2px solid #18213d; box-shadow: 4px 4px 0 #f5c400; }
[data-theme="brickworks"] .p-card { border: 2px solid #18213d; box-shadow: 4px 4px 0 rgba(24,33,61,.14); }
[data-theme="brickworks"] .social { border: 2px solid #18213d; }
[data-theme="brickworks"] .role { border: 1.5px solid #18213d; background: #fffdf7; color: #18213d; }
[data-theme="brickworks"] .book-card { border: 2px solid #18213d; box-shadow: 5px 5px 0 rgba(24,33,61,.12); }
[data-theme="brickworks"] .block-title::before { content: '▦ '; color: #e53935; }

/* Heroics: spotlight backdrop, gold trim and clipped comic panels. */
[data-theme="heroics"] h1 { font-size: clamp(34px, 8vw, 46px); line-height: .92; text-shadow: 3px 3px 0 rgba(230,36,41,.55); }
[data-theme="heroics"] .headline { text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; font-weight: 800; color: var(--accent); }
[data-theme="heroics"] .headline::before { content: '★ '; color: var(--headline); }
[data-theme="heroics"] .avatar { border: 4px solid #ffc94a; box-shadow: 0 0 0 4px #e62429, 0 18px 35px -20px #000; }
[data-theme="heroics"] .link-btn { border-color: rgba(255,201,74,.3); text-transform: uppercase; letter-spacing: .06em; font-size: 13.5px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
[data-theme="heroics"] .link-btn:hover { border-color: var(--accent); }
[data-theme="heroics"] .p-card { border-color: rgba(255,201,74,.3); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
[data-theme="heroics"] .role { background: var(--accent); border-color: rgba(255,255,255,.24); color: #fff; transform: skewX(-6deg); }
[data-theme="heroics"] .social { border-color: rgba(255,201,74,.35); }
[data-theme="heroics"] .book-card { background: linear-gradient(135deg, rgba(230,36,41,.18), rgba(17,27,46,.95)); border-color: rgba(255,201,74,.35); box-shadow: 5px 5px 0 rgba(230,36,41,.35); }
[data-theme="heroics"] .block-title { color: #ffc94a; }
[data-theme="heroics"] .block-title::before { content: '✦ '; color: var(--accent); }
[data-theme="heroics"] .tiny-mark { clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
[data-theme="heroics"] .hero-banner { border-bottom: 4px solid var(--accent); }

/* Glass themes: translucent surfaces over the theme's gradient backdrop. */
[data-glass="1"] .link-btn,
[data-glass="1"] .p-card,
[data-glass="1"] .social,
[data-glass="1"] .share-btn,
[data-glass="1"] .book-type,
[data-glass="1"] .paused,
[data-glass="1"] .role {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
[data-glass="1"] .book-card {
  background: var(--glass-strong, var(--glass-bg));
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
[data-glass="1"] .wa-btn {
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
[data-glass="1"] .hero-banner { border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
[data-glass="1"] .avatar { border-color: var(--glass-border); box-shadow: var(--glass-shadow); }

/* The public page rendered in the dashboard editor's preview iframe. */
.preview-badge { display: none; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--mute); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
html.preview .preview-badge { display: inline-flex; }
html.preview .share-btn { display: none; }
html.preview .page { padding-top: 20px; }
html.preview .topline { margin-bottom: 24px; }
html.preview .link-btn,
html.preview .p-card,
html.preview .social,
html.preview .wa-btn,
html.preview .book-type,
html.preview .book-cta,
html.preview .made,
html.preview .cta { pointer-events: none; cursor: default; }

@media (min-width: 640px) {
  .page { padding-top: 46px; }
  .avatar { width: 108px; height: 108px; }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
}

/* Aurora: northern-lights glow, gradient name and a living avatar ring. */
[data-theme="aurora"] h1 { background: linear-gradient(100deg, #ffffff 0%, #a9ffe1 38%, #b9a8ff 72%, #ff9ad5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(32px, 8vw, 42px); }
[data-theme="aurora"] .avatar { border: 3px solid transparent; background: linear-gradient(#0a0f1e, #0a0f1e) padding-box, conic-gradient(from 200deg, #8fffd2, #6aa8ff, #b9a8ff, #ff7ac8, #8fffd2) border-box; box-shadow: 0 0 40px -6px rgba(143,255,210,.45), 0 20px 40px -24px #000; }
[data-theme="aurora"] .block-title { color: #a9ffe1; }
[data-theme="aurora"] .link-btn:hover { border-color: rgba(143,255,210,.7); }
[data-theme="aurora"] .role { color: #dfe6ff; }
[data-theme="aurora"] .hero-banner { box-shadow: 0 30px 60px -40px rgba(146,92,255,.8); }

/* Liquid Chrome: polished metal pills and a chrome-lettered name. */
[data-theme="chrome"] h1 { background: linear-gradient(180deg, #6b707b 0%, #0b0c0f 46%, #8a8f99 54%, #1b1d22 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(24px, 6.4vw, 30px); letter-spacing: -.02em; }
[data-theme="chrome"] .headline { text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; font-weight: 700; }
[data-theme="chrome"] .link-btn { border-radius: 999px; padding-left: 22px; padding-right: 18px; background: linear-gradient(180deg, #ffffff 0%, #e7e9ee 55%, #d9dce3 100%); box-shadow: var(--surface-shadow); }
[data-theme="chrome"] .p-card, [data-theme="chrome"] .book-card { background: linear-gradient(180deg, #ffffff, #e8eaef); box-shadow: var(--surface-shadow); }
[data-theme="chrome"] .social, [data-theme="chrome"] .role { background: linear-gradient(180deg, #ffffff, #e2e5ea); border-color: rgba(255,255,255,.95); box-shadow: inset 0 -1px 0 rgba(11,12,15,.1), 0 6px 14px -10px rgba(11,12,15,.4); color: #0b0c0f; }
[data-theme="chrome"] .avatar { border: 4px solid transparent; background: linear-gradient(#f5f6f9, #f5f6f9) padding-box, linear-gradient(135deg, #ffffff, #9aa0ab 35%, #ffffff 55%, #7e8590 80%, #ffffff) border-box; box-shadow: 0 18px 36px -20px rgba(11,12,15,.55); }
[data-theme="chrome"] .block-title { color: #0b0c0f; letter-spacing: .2em; }

/* Noir Gold: black card, gold hairlines and a serif name. */
[data-theme="noir"] h1 { font-size: clamp(36px, 9vw, 48px); font-style: italic; letter-spacing: -.01em; }
[data-theme="noir"] .headline { text-transform: uppercase; letter-spacing: .24em; font-size: 10px; font-weight: 600; }
[data-theme="noir"] .avatar { border: 1px solid #d4af6a; padding: 4px; background: #0a0908; box-shadow: 0 0 0 1px rgba(212,175,106,.25), 0 24px 40px -24px #000; }
[data-theme="noir"] .role { background: transparent; border-color: rgba(212,175,106,.4); color: #e8cb8f; letter-spacing: .18em; }
[data-theme="noir"] .social { background: transparent; border-color: rgba(212,175,106,.4); color: #d4af6a; }
[data-theme="noir"] .link-btn { background: transparent; letter-spacing: .02em; }
[data-theme="noir"] .link-btn:hover { background: #d4af6a; color: #0a0908; border-color: #d4af6a; }
[data-theme="noir"] .p-card { background: #12100d; }
[data-theme="noir"] .block-title { color: #d4af6a; letter-spacing: .3em; justify-content: center; }
[data-theme="noir"] .block-title::before, [data-theme="noir"] .block-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,106,.5)); }
[data-theme="noir"] .block-title::after { background: linear-gradient(90deg, rgba(212,175,106,.5), transparent); }
[data-theme="noir"] .book-card { background: linear-gradient(180deg, rgba(212,175,106,.08), transparent), #12100d; }
[data-theme="noir"] .hero-banner { border: 1px solid rgba(212,175,106,.35); }

/* Golden Hour: sunset gradient, white type and frosted cards. */
[data-theme="golden"] h1 { font-size: clamp(32px, 8.4vw, 44px); text-shadow: 0 2px 24px rgba(120,20,60,.35); }
[data-theme="golden"] .bio, [data-theme="golden"] .profile-meta { text-shadow: 0 1px 14px rgba(110,20,60,.35); }
[data-theme="golden"] .avatar { border: 4px solid rgba(255,255,255,.9); box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 24px 44px -24px rgba(90,15,60,.8); }
[data-theme="golden"] .block-title { color: #fff1d6; }
[data-theme="golden"] .link-btn:hover { background: #ffffff; color: #b2305f; }
[data-theme="golden"] .wa-btn { background: #ffffff; color: #1f8a4c; }
[data-theme="golden"] .hero-banner { box-shadow: 0 28px 50px -30px rgba(90,15,60,.7); }

/* Clay: puffy pastel cards that look pressed out of soft clay. */
[data-theme="clay"] h1 { font-size: clamp(32px, 8.4vw, 42px); color: #1d1b3a; }
[data-theme="clay"] .link-btn, [data-theme="clay"] .p-card, [data-theme="clay"] .social, [data-theme="clay"] .book-card { border: 0; box-shadow: var(--surface-shadow); }
[data-theme="clay"] .link-btn:hover, [data-theme="clay"] .p-card:hover { box-shadow: var(--hover-shadow); }
[data-theme="clay"] .avatar { border: 6px solid #f6f7ff; box-shadow: 12px 12px 26px rgba(112,116,190,.32), -10px -10px 22px rgba(255,255,255,.95); }
[data-theme="clay"] .role { border: 0; color: #1d1b3a; box-shadow: 4px 4px 10px rgba(112,116,190,.22), -3px -3px 8px rgba(255,255,255,.9); }
[data-theme="clay"] .role:nth-child(4n+1) { background: #ffe1ee; }
[data-theme="clay"] .role:nth-child(4n+2) { background: #ddeeff; }
[data-theme="clay"] .role:nth-child(4n+3) { background: #ddfbe9; }
[data-theme="clay"] .role:nth-child(4n+4) { background: #fff1cf; }
[data-theme="clay"] .wa-btn { box-shadow: 8px 8px 20px rgba(31,138,76,.3), inset 0 -4px 10px rgba(0,0,0,.12), inset 0 4px 8px rgba(255,255,255,.3); }
[data-theme="clay"] .block-title { color: #5544e0; }

/* Prism: frosted glass with rainbow-refracted edges. */
[data-theme="prism"] h1 { font-size: clamp(30px, 8vw, 40px); background: linear-gradient(100deg, #121528 30%, #4b3fd9 60%, #d43f9c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="prism"] .link-btn, [data-theme="prism"] .p-card, [data-theme="prism"] .book-card { border: 1.5px solid transparent; background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) padding-box, linear-gradient(120deg, #ff8ad8, #8ab8ff 35%, #8affd8 65%, #ffd88a) border-box; }
[data-theme="prism"] .avatar { border: 4px solid transparent; background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from 0deg, #ff8ad8, #8ab8ff, #8affd8, #ffd88a, #ff8ad8) border-box; box-shadow: 0 20px 40px -24px rgba(40,40,110,.55); }
[data-theme="prism"] .block-title { color: #4b3fd9; }

/* Hologram: a holographic HUD with a cyan grid and neon-edged glass. */
[data-theme="hologram"] h1 { font-size: clamp(26px, 7vw, 34px); letter-spacing: .01em; background: linear-gradient(90deg, #8ff7ff, #ffffff 45%, #ff6ad5); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
[data-theme="hologram"] .headline { font-family: "DM Mono", ui-monospace, monospace; letter-spacing: .04em; font-size: 12.5px; }
[data-theme="hologram"] .role { font-family: "DM Mono", ui-monospace, monospace; color: #8ff7ff; }
[data-theme="hologram"] .avatar { border: 2px solid #5ef2ff; box-shadow: 0 0 0 4px rgba(94,242,255,.12), 0 0 34px -4px rgba(94,242,255,.6); }
[data-theme="hologram"] .link-btn { box-shadow: var(--glass-shadow), inset 3px 0 0 #5ef2ff; }
[data-theme="hologram"] .block-title { color: #5ef2ff; font-family: "DM Mono", ui-monospace, monospace; }
[data-theme="hologram"] .block-title::before { content: '> '; color: #ff6ad5; }
[data-theme="hologram"] .hero-banner { border: 1px solid rgba(94,242,255,.4); box-shadow: 0 0 40px -12px rgba(94,242,255,.5); }

/* Clear: see-through glass with bright edges over soft colour. */
[data-theme="clear"] h1 { font-size: clamp(30px, 8vw, 40px); }
[data-theme="clear"] .link-btn, [data-theme="clear"] .p-card, [data-theme="clear"] .social, [data-theme="clear"] .book-card, [data-theme="clear"] .role { background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.06)); }
[data-theme="clear"] .avatar { border: 5px solid rgba(255,255,255,.55); box-shadow: inset 0 1px 0 #fff, 0 20px 40px -24px rgba(20,40,80,.5); }
[data-theme="clear"] .block-title { color: #1f5fd6; }

/* Smoke: dark smoked glass floating over an electric glow. */
[data-theme="smoke"] h1 { font-size: clamp(30px, 8vw, 40px); }
[data-theme="smoke"] .avatar { border: 3px solid rgba(255,255,255,.35); box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 24px 44px -24px #000; }
[data-theme="smoke"] .link-btn:hover { background: rgba(255,255,255,.92); color: #0b0b18; }
[data-theme="smoke"] .block-title { color: #b8c4ff; }

/* ---------------- Services: the shop card ---------------- */
.shop { background: var(--white); border: var(--border-width) solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--surface-shadow); }
.shop-top { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px 14px; border-bottom: 1px solid var(--line); }
.shop-avatar { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.shop-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-id { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.shop-id b { font-size: 16.5px; letter-spacing: -.015em; line-height: 1.2; }
.shop-id small { color: var(--dim); font-size: 12.5px; }
.shop-flags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.shop-flag { font-size: 11px; font-weight: 600; color: var(--dim); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2.5px 8px; }
.shop-flag.open { color: #1f7a4d; background: #e8f6ee; border-color: #c6e8d5; }
[data-theme="dark"] .shop-flag.open, [data-dark="1"] .shop-flag.open { color: #7ee2ab; background: rgba(126, 226, 171, .12); border-color: rgba(126, 226, 171, .3); }
.shop-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.shop-map-link { font-size: 11.5px; color: var(--mute); text-decoration: none; white-space: nowrap; }
.shop-map-link:hover { color: var(--ink); }
.shop-book-btn { border: none; background: var(--primary-bg); color: var(--primary-ink); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 650; font-family: inherit; cursor: pointer; white-space: nowrap; }
.shop-book-btn:hover { opacity: .9; }
.shop-services { padding: 4px 16px 2px; }
.svc-group { padding-top: 10px; }
.svc-group-title { margin: 0 0 2px; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); font-weight: 650; }
.svc-row { width: 100%; display: flex; align-items: flex-start; gap: 12px; text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); padding: 12px 0; font-family: inherit; color: inherit; cursor: pointer; }
.svc-group:last-child .svc-row:last-child { border-bottom: none; }
.svc-row:hover .svc-book { border-color: var(--ink); color: var(--ink); }
.svc-row:hover .svc-price { color: var(--ink); }
.svc-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.svc-main b { font-size: 14px; letter-spacing: -.01em; }
.svc-main small { color: var(--mute); font-size: 11.5px; }
.svc-main p { margin: 2px 0 0; color: var(--dim); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.svc-price { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.svc-book { font-size: 11.5px; font-weight: 600; color: var(--dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px 13px; border-top: 1px solid var(--line); background: var(--paper); font-size: 11.5px; color: var(--mute); }
.shop-more { color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.shop-more:hover { text-decoration: underline; }
@media (max-width: 430px) {
  .shop-top { flex-wrap: wrap; }
  .shop-links { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; order: 3; margin-top: 4px; }
  .svc-main p { -webkit-line-clamp: 3; }
  .shop-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------------- Booking calendar (Calendly-style) ---------------- */
.bk { display: flex; flex-direction: column; background: var(--white); border: var(--border-width) solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--surface-shadow); }
.bk-info { padding: 16px 16px 14px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.bk-host { display: flex; align-items: center; gap: 10px; }
.bk-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.bk-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-host b { display: block; font-size: 13.5px; letter-spacing: -.01em; }
.bk-host small { display: block; color: var(--mute); font-size: 11.5px; margin-top: 1px; }
.bk-title { margin: 3px 0 0; font-family: var(--display-font); font-size: 19px; letter-spacing: var(--display-spacing); font-weight: var(--display-weight); line-height: 1.15; }
.bk-meta-line { margin: 0; color: var(--dim); font-size: 12.5px; }
.bk-desc { margin: 2px 0 0; color: var(--dim); font-size: 13px; line-height: 1.5; white-space: pre-line; }
.bk-tz { margin: 3px 0 0; color: var(--mute); font-size: 11.5px; }
.bk-tz b { color: var(--dim); font-weight: 600; }

.bk-widget { padding: 14px 16px 16px; }
.bk-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding-bottom: 2px; scrollbar-width: none; }
.bk-tabs::-webkit-scrollbar { display: none; }
.bk-tab { flex: none; border: 1px solid var(--line); background: var(--paper); color: var(--dim); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; font-family: inherit; }
.bk-tab small { font-weight: 500; opacity: .65; margin-left: 4px; }
.bk-tab:hover { border-color: var(--line-strong); color: var(--ink); }
.bk-tab.on { background: var(--primary-bg); border-color: transparent; color: var(--primary-ink); }
.bk-step-title { margin: 0 0 10px; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 134px; gap: 14px; align-items: start; }

.bk-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.bk-cal-head b { font-size: 13.5px; font-weight: 650; }
.bk-nav { display: flex; gap: 4px; }
.bk-nav button { width: 27px; height: 27px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--dim); cursor: pointer; line-height: 1; font-size: 15px; padding: 0 0 2px; }
.bk-nav button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.bk-nav button:disabled { opacity: .35; cursor: default; }
.bk-dow, .bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.bk-dow span { text-align: center; font-size: 10px; letter-spacing: .04em; color: var(--mute); padding: 2px 0 4px; }
.bk-day { aspect-ratio: 1; border: 1px solid transparent; background: none; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--mute); cursor: pointer; position: relative; padding: 0; font-family: inherit; }
.bk-day.has { background: var(--paper); color: var(--ink); font-weight: 650; border-color: var(--line); }
.bk-day.has:hover { border-color: var(--accent-deep); }
.bk-day.sel { background: var(--primary-bg); border-color: transparent; color: var(--primary-ink); }
.bk-day.today::after { content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 3px; height: 3px; border-radius: 50%; background: var(--accent-deep); }
.bk-day.sel.today::after { background: var(--paper); }
.bk-day:disabled { cursor: default; }
.bk-day:disabled:hover { border-color: transparent; }
.bk-pad { aspect-ratio: 1; }

.bk-times-head { font-size: 11.5px; color: var(--mute); margin: 0 0 6px; min-height: 14px; }
.bk-slots { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; }
.bk-slot { padding: 9px 8px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.bk-slot:hover { border-color: var(--accent-deep); }
.bk-slot.sel { background: var(--primary-bg); color: var(--primary-ink); border-color: transparent; }
.bk-slot.sel:hover { color: var(--primary-ink); }
.bk-empty { color: var(--mute); font-size: 12px; line-height: 1.45; margin: 0; }
.bk-error { color: var(--err); }

.bk-confirm { display: flex; flex-direction: column; gap: 10px; }
.bk-back { align-self: flex-start; border: 1px solid var(--line); background: none; border-radius: 99px; padding: 5px 10px; font-size: 11.5px; color: var(--dim); cursor: pointer; font-family: inherit; }
.bk-back:hover { border-color: var(--ink); color: var(--ink); }
.bk-summary { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 10px 12px; }
.bk-summary-when { font-size: 13.5px; font-weight: 650; }
.bk-summary-meta { color: var(--dim); font-size: 12px; margin-top: 2px; }
#bkForm { display: flex; flex-direction: column; gap: 9px; }
#bkForm label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 500; color: var(--dim); }
#bkForm input, #bkForm textarea, #bkForm select { font: inherit; font-size: 14px; width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); outline: none; }
#bkForm input:focus, #bkForm textarea:focus, #bkForm select:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px var(--accent-soft); }
.bk-staff { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.bk-staff-btn { border: 1px solid var(--line-strong); background: var(--white); color: var(--dim); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: baseline; gap: 5px; }
.bk-staff-btn small { font-weight: 500; opacity: .6; font-size: 11px; }
.bk-staff-btn:hover { border-color: var(--ink); color: var(--ink); }
.bk-staff-btn.on { background: var(--primary-bg); border-color: transparent; color: var(--primary-ink); }
.bk-staff-btn.on small { opacity: .7; }
.bk-who-line { margin: 0 0 8px; color: var(--dim); font-size: 12.5px; }
.bk-who-line b { color: var(--ink); }
#bkForm textarea { min-height: 64px; resize: vertical; line-height: 1.45; }
#bkForm .hp { position: absolute; left: -9999px; }
.bk-opt { color: var(--mute); font-weight: 400; }
.bk-submit { background: var(--primary-bg); color: var(--primary-ink); border: none; border-radius: 99px; padding: 12px; font-weight: 650; font-size: 14px; cursor: pointer; font-family: inherit; }
.bk-submit:hover { opacity: .9; }
.bk-submit:disabled { opacity: .55; cursor: default; }
.bk-fine { margin: 0; color: var(--mute); font-size: 11px; line-height: 1.45; }

.bk-done { padding: 26px 18px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bk-tick { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.bk-done h3 { margin: 0; font-family: var(--display-font); font-size: 20px; letter-spacing: var(--display-spacing); font-weight: var(--display-weight); }
.bk-done-when { font-size: 14.5px; font-weight: 650; }
.bk-done-sub { margin: 0; color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.bk-done-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 8px 0 2px; }
.bk-link { border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); border-radius: 99px; padding: 8px 13px; font-size: 12.5px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.bk-link:hover { border-color: var(--ink); }
.bk-link.primary { background: var(--primary-bg); color: var(--primary-ink); border-color: transparent; }
[data-glass="1"] .bk { background: var(--glass-strong, var(--glass-bg)); border-color: var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
@media (max-width: 430px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bk-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 176px; }
  .bk-slot { padding: 9px 4px; text-align: center; }
}

/* CONOURI logo: the C mark in the theme's own colours. */
.tiny-mark { position: relative; }
.tiny-mark i { display: none; }
.tiny-mark::before { content: ''; width: 11px; height: 10px; background: var(--mark-ink); -webkit-mask: url('/assets/mark-mask.svg') center / contain no-repeat; mask: url('/assets/mark-mask.svg') center / contain no-repeat; }

/* The share sheet's actions stay glass; its main one keeps the violet. */
.sheet-card .install-btn, .sheet-card .install-link {
  background: rgba(255, 255, 255, .1);
  color: var(--ink);
  border-color: rgba(255, 255, 255, .22);
}
.sheet-card .install-btn:first-child { background: var(--primary-bg); color: var(--primary-ink); border-color: transparent; }

/* Choosing a time keeps the calendar on screen: the slot stays marked and this
   button moves on to the details. */
.bk-continue {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 99px;
  padding: 13px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  background: var(--primary-bg);
  color: var(--primary-ink);
  box-shadow: var(--primary-glow);
}
.bk-continue:active { transform: translateY(1px); }

.save-btn { width: 100%; margin-top: 10px; border-radius: var(--radius); background: transparent; color: inherit; padding: 13px 16px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14.5px; font-weight: 600; text-decoration: none; border: 1px solid var(--line-strong, rgba(127,127,127,.4)); transition: background .15s, transform .15s; }
.save-btn:hover { background: rgba(127,127,127,.12); transform: translateY(-1px); }

.link-heading { margin: 18px 2px 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .62; }
.links > .link-heading:first-child { margin-top: 2px; }
