/* TellHi 1.0.6 site, sign-in and Personal editor. Iris/ink hairlines, no grey, polished controls. */
:root { --accent: #5D37F5; --ink: #101010; --muted: #101010; --hair: #E6DEFF; --line: #5D37F5; --tint: #F7F1E8; --line-soft: #101010; --ok: #0F7A35; --err: #C42B1C;
  --ease: cubic-bezier(.2, .8, .2, 1); --t: 250ms; --sat: env(safe-area-inset-top); --sab: env(safe-area-inset-bottom); --sal: env(safe-area-inset-left); --sar: env(safe-area-inset-right); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 "TH Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
body.is-locked { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--accent); opacity: .55; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset; box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--ink); caret-color: var(--ink); transition: background-color 99999s; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
input::-ms-reveal, input::-ms-clear { display: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: #DCD3FF; color: var(--ink); }
img, svg { display: block; max-width: 100%; }
main h1, main h2, main h3 { scroll-margin-top: calc(92px + var(--sat)); }
.personal main h1, .personal main h2, .personal main h3, .admin main h1, .admin main h2, .admin main h3 { scroll-margin-top: calc(84px + var(--sat)); }
.personal .card, .admin .card { scroll-margin-top: calc(84px + var(--sat)); }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
.ic { width: 20px; height: 20px; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.inline { display: contents; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px; font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: calc(12px + var(--sat)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.1;
  white-space: nowrap; text-align: center; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000000; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: #4A26E0; }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #A82216; }
.btn-quiet { color: var(--ink); padding: 0 12px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.btn-quiet:hover { text-decoration-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-xl { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 1; cursor: not-allowed; transform: none; filter: none; }
.btn-soon, .btn-soon:hover, .pr-card .btn-soon, .pr-card.is-main .btn-soon {
  background: #101010; color: #FFFFFF; box-shadow: none; cursor: default; font-weight: 800;
  opacity: 1; filter: none; }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 999px; display: inline-grid; place-items: center; color: var(--ink); background: #fff; transition: box-shadow .2s var(--ease), color .2s; }
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--line-soft); }
.icon-btn[disabled] { opacity: .28; cursor: default; box-shadow: none; }

/* logo */
.logo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink); }
.logo-h { width: auto; height: 32px; }

/* public nav + full-screen menu */
.nav-wrap { position: sticky; top: 0; z-index: 30; height: calc(76px + var(--sat)); padding: calc(10px + var(--sat)) max(12px, var(--sar)) 10px max(12px, var(--sal)); }
.nav { max-width: 1200px; height: 56px; margin: 0 auto; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 0 6px 0 16px;
  box-shadow: 0 0 0 1px rgba(16,16,16,.06), 0 10px 30px -18px rgba(16,16,16,.35); }
.nav-links { display: none; gap: 2px; margin-left: 12px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: #4A26E0; }
.nav-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav-right .btn { min-height: 44px; }
.nav-burger { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--ink); }
.nav-burger .ic { width: 24px; height: 24px; }
@media (max-width: 767px) { .nav-hide-s { display: none !important; } .nav-right .btn { padding: 0 16px; } }
@media (min-width: 768px) { .nav-links { display: flex; } }
/* Open-menu hamburgers stay off. Close buttons must stay visible at every width, including 600–1180. */
.nav-burger, .gh-burger { display: none !important; }
.menu { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  padding: calc(10px + var(--sat)) max(18px, var(--sar)) calc(24px + var(--sab)) max(18px, var(--sal));
  opacity: 0; transform: translateY(-14px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.menu.is-open { opacity: 1; transform: none; }
.menu[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding-left: 4px; }
.menu-x { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-soft, rgba(16,16,16,.16)); flex: none; margin-left: auto; }
.menu-x .ic { width: 24px; height: 24px; }
.menu-links { display: flex; flex-direction: column; margin-top: 20px; }
.menu-links a { display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding: 0 4px; border-bottom: 1px solid var(--hair);
  font-size: clamp(28px, 8vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.menu-links a .ic { width: 26px; height: 26px; color: var(--accent); }
.menu-actions { margin-top: auto; display: grid; gap: 10px; padding-top: 28px; }
.menu-actions .btn { width: 100%; }

/* landing */
.home .hero { background: var(--accent); margin-top: calc(-76px - var(--sat)); padding: calc(112px + var(--sat)) max(20px, var(--sar)) 72px max(20px, var(--sal)); }
.hero-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-in > * { min-width: 0; }
.hero h1 { font-size: clamp(42px, 11.5vw, 92px); line-height: .95; letter-spacing: -.04em; font-weight: 800; max-width: 9.5em; }
.lede { margin-top: 18px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45; max-width: 30em; }
.claim { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 560px; }
.claim-field { display: flex; align-items: center; min-height: 58px; background: #fff; border-radius: 16px; padding: 0 16px; cursor: text; transition: box-shadow .2s var(--ease); }
.claim-field:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.claim-pre { font-weight: 600; color: var(--muted); white-space: nowrap; font-size: 17px; }
.claim-field input { flex: 1; min-width: 0; width: 100%; height: 56px; font-size: 17px; font-weight: 600; color: var(--ink); padding-left: 1px; }
.claim-status { grid-column: 1 / -1; min-height: 22px; font-size: 15px; font-weight: 600; }
.claim-status:empty { min-height: 0; }
@media (min-width: 560px) { .claim { grid-template-columns: minmax(0, 1fr) auto; } .claim .btn-xl { min-height: 58px; } }
.hero-art { position: relative; width: 100%; max-width: 540px; margin: 0 auto; height: clamp(400px, 112vw, 560px); }
.hero-art .mp { position: absolute; width: 54%; }
.hero-art .is-a { left: 0; top: 9%; z-index: 2; }
.hero-art .is-b { right: 0; top: 0; z-index: 1; }
.hero-art .is-c { left: 23%; bottom: 0; z-index: 3; }
@media (min-width: 1024px) { .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .home .hero { padding-bottom: 96px; } }
.band { padding: 80px max(20px, var(--sar)) 80px max(20px, var(--sal)); }
.band-in, .cta-in, .foot-in { max-width: 1200px; margin: 0 auto; }
.band h2, .cta h2 { font-size: clamp(32px, 6.4vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 800; max-width: 14em; }
.intro { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 36em; }
.steps { margin-top: 36px; display: grid; gap: 28px; counter-reset: s; }
.steps li { border-top: 1px solid var(--hair); padding-top: 22px; display: grid; gap: 8px; }
.steps b { width: 40px; height: 40px; border-radius: 10px; background: #101010; color: #FFFFFF; display: grid; place-items: center; font-weight: 800; }
.steps h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 800; }
.steps p { color: var(--muted); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.band-themes { border-top: 1px solid var(--hair); }
.theme-strip { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 18px 14px; }
.theme-strip li { display: grid; gap: 8px; }
.tl-name { font-size: 14px; font-weight: 600; text-align: center; }
.cta { background: var(--ink); color: #fff; padding: 88px max(20px, var(--sar)) 88px max(20px, var(--sal)); }
.cta .claim-field:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.cta .btn-dark { background: var(--accent); color: #FFFFFF; }
.cta .btn-dark:hover { background: #4A26E0; }
.foot { border-top: 1px solid var(--hair); padding: 40px max(20px, var(--sar)) calc(40px + var(--sab)) max(20px, var(--sal)); }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 500; color: var(--muted); transition: color .2s; }
.foot nav a:hover { color: var(--ink); }
.foot-note { width: 100%; color: var(--muted); font-size: 14px; }

/* mini page (landing samples, theme gallery): driven by the same variables as a real page */
.mp { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 18px 14px 16px; border-radius: 22px; position: relative;
  background-color: var(--page); background-image: var(--wall, none); background-size: var(--wall-size, auto); background-repeat: repeat;
  color: var(--fg); font-family: var(--font);
  box-shadow: 0 0 0 1px rgba(16,16,16,.07), 0 20px 40px -28px rgba(16,16,16,.55); overflow: hidden; pointer-events: none; }
.mp-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 700; font-family: var(--tfont); background: var(--chip); color: var(--chip-fg); }
.pf-a-square .mp-av { border-radius: 14px; }
.pf-a-ring .mp-av { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--title); }
.mp-name { font-family: var(--tfont); font-weight: var(--tweight); color: var(--title); font-size: 16px; line-height: 1.15; text-align: center; letter-spacing: -.01em; }
.mp-bio { font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.3; }
.mp-icons { display: flex; gap: 8px; color: var(--fg); margin-bottom: 2px; }
.mp-icons i { display: grid; place-items: center; }
.mp-icons .ic { width: 14px; height: 14px; }
.pf-i-chip .mp-icons i { width: 24px; height: 24px; border-radius: 50%; background: var(--chip); color: var(--chip-fg); }
.pf-i-chip .mp-icons .ic { width: 12px; height: 12px; }
.mp-btn { width: 100%; position: relative; display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 22px; font-size: 11.5px; font-weight: var(--bweight);
  background: var(--b-bg); color: var(--b-fg); box-shadow: inset 0 0 0 1.5px var(--b-line), var(--b-sh); border-radius: min(var(--radius), 16px); }
.pf-b-solid .mp-btn, .pf-b-soft .mp-btn { box-shadow: var(--b-sh); }
.mp-bic { position: absolute; left: 9px; width: 13px; height: 13px; }

/* pricing */
.pr { max-width: 980px; margin: 0 auto; padding: 40px max(20px, var(--sar)) 88px max(20px, var(--sal)); }
.pr-hero { text-align: center; }
.pr-hero h1 { font-size: clamp(40px, 9vw, 72px); letter-spacing: -.04em; line-height: 1; font-weight: 800; }
.pr-cards { margin-top: 44px; display: grid; gap: 16px; }
@media (min-width: 768px) { .pr-cards { grid-template-columns: 1fr 1fr; align-items: start; } }
.pr-card { position: relative; display: grid; gap: 18px; padding: 28px 24px; border-radius: 24px; box-shadow: inset 0 0 0 1.5px #101010; }
.pr-card.is-main { box-shadow: inset 0 0 0 2px var(--ink); }
.pr-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pr-name { font-size: clamp(48px, 11vw, 72px) !important; font-weight: 900 !important; letter-spacing: -.055em !important; line-height: .92; margin: 2px 0 0; }
.pr-card.is-main .pr-price b { font-size: clamp(56px, 13vw, 80px); font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.pr-card.is-main .pr-price span { font-size: 16px; font-weight: 700; }
.pr-tag { justify-self: start; background: #0B7A3B; color: #FFFFFF; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pr-price { display: flex; align-items: baseline; gap: 8px; }
.pr-price b { font-size: 52px; letter-spacing: -.04em; line-height: 1; }
.pr-price span { color: var(--muted); }
.pr-card .btn { width: 100%; }
.pr-feats { display: grid; gap: 12px; }
.pr-feats li { display: flex; gap: 10px; align-items: flex-start; }
.pr-feats .ck { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #101010; }
.pr-card.is-main .pr-feats .ck { color: #101010; }
.ck { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.pr-faq { margin-top: 64px; }
.pr-faq h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.acc { border-bottom: 1px solid var(--hair); }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; text-align: left; font-weight: 600; font-size: 17px; }
.acc-q .chev { transition: transform var(--t) var(--ease); }
.acc.is-open .chev { transform: rotate(180deg); }
.acc-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--t) var(--ease); }
.js .acc-a { grid-template-rows: 0fr; }
.js .acc.is-open .acc-a { grid-template-rows: 1fr; }
.acc-a > p { overflow: hidden; color: var(--muted); }
.acc-a > p::after { content: ""; display: block; height: 20px; }

/* sign in */
.au { min-height: 100vh; min-height: 100dvh; display: grid; }
.au-pane { display: flex; flex-direction: column; padding: calc(12px + var(--sat)) max(20px, var(--sar)) calc(32px + var(--sab)) max(20px, var(--sal)); }
.au-main { width: 100%; max-width: 420px; margin: 0 auto; padding-top: clamp(24px, 7vh, 72px); display: grid; gap: 18px; align-content: start; }
.au-main h1 { font-size: clamp(32px, 7vw, 44px); letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
.au-lockup { display: flex; align-items: center; justify-content: center; justify-self: center; width: max-content; max-width: 100%; min-height: 44px; margin: 0 auto 6px; color: #101010; }
.au-lockup-svg { width: min(260px, 80vw); height: auto; }
.sub { color: var(--muted); margin-top: -8px; }
.au-art { display: none; }
@media (min-width: 1024px) {
  .au { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .au-art { display: grid; place-items: center; position: sticky; top: 0; height: 100dvh; background: var(--accent); overflow: hidden; }
  .au-h { position: absolute; left: 48px; top: 48px; width: auto; height: 44px; }
  .au-mini { width: 300px; }
}
.form { display: grid; gap: 16px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld-l { font-size: 14px; font-weight: 600; }
.fld-box { display: flex; align-items: center; min-height: 52px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-soft); transition: box-shadow .2s var(--ease); }
.fld-box:focus-within { box-shadow: inset 0 0 0 2px var(--ink); background: #FFFFFF; }
.fld-box:focus-within, .claim-field:focus-within { transition: none; }
.phone:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.fld-box .fld-i:focus-visible, .gclaim-f input:focus-visible, .claim-field input:focus-visible { outline: none; }
.fld-i { flex: 1; min-width: 0; width: 100%; height: 52px; padding: 0 14px; font-size: 16px; color: var(--ink); background: transparent; }
.fld-box.is-area { align-items: stretch; }
.fld-box.is-area .fld-i { height: auto; min-height: 104px; padding: 14px; resize: none; overflow: hidden; line-height: 1.5; }
.fld-count { text-align: right; font-variant-numeric: tabular-nums; }
.fld-pre { padding-left: 14px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.has-pre .fld-i { padding-left: 1px; }
.fld-eye { width: 44px; height: 44px; margin-right: 4px; flex: none; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: color .2s; }
.fld-eye[aria-pressed="true"] { color: var(--accent); }
.fld-hint { font-size: 13px; color: var(--muted); }
.fld-status { min-height: 20px; margin-top: -8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.fld-status:empty { min-height: 0; margin: 0; }
.is-ok { color: var(--ok) !important; }
.is-bad { color: var(--err) !important; }
.alert { background: #FFF2F0; color: #9E1C0E; box-shadow: inset 0 0 0 1px #F6C1B8; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.note { background: #fff; color: var(--ok); box-shadow: inset 0 0 0 1px #A7D8B6; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.form-aside { margin-top: -8px; display: flex; justify-content: flex-end; }
.form-aside a, .alt a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.form-aside a:hover, .alt a:hover { text-decoration-color: var(--ink); }
.form .btn-xl, .btn-google { width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1.5px; background: var(--line-soft); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.alt { text-align: center; color: var(--muted); }

/* message */
.msg-main { max-width: 560px; margin: 0 auto; padding: 72px max(20px, var(--sar)) 96px max(20px, var(--sal)); display: grid; gap: 16px; justify-items: center; text-align: center; }
.msg-h { width: auto; height: 40px; }
.msg-main h1 { font-size: clamp(30px, 7vw, 44px); letter-spacing: -.03em; line-height: 1.05; font-weight: 800; }
.msg-main p { color: var(--muted); }

/* sheets (dialogs): bottom sheet on phones, centred card from 640px */
.sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(16,16,16,.45); opacity: 0; transition: opacity var(--t) var(--ease); }
.sheet-panel { position: relative; width: 100%; max-height: calc(100dvh - 16px - var(--sat)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; background: #fff; border-radius: 24px 24px 0 0;
  padding: 6px max(20px, var(--sar)) calc(22px + var(--sab)) max(20px, var(--sal)); display: grid; gap: 14px; transform: translateY(105%); transition: transform var(--t) var(--ease); }
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
@media (min-width: 640px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet-panel { max-width: 540px; border-radius: 24px; padding: 6px 24px 24px; max-height: calc(100dvh - 48px); opacity: 0; transform: translateY(16px) scale(.98); transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }
  .sheet.is-open .sheet-panel { opacity: 1; transform: none; }
}
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.sheet-h h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sheet-x { width: 44px; height: 44px; flex: none; border-radius: 999px; display: grid; place-items: center; transition: box-shadow .2s; }
.sheet-x:hover { box-shadow: inset 0 0 0 1.5px var(--line-soft); }
.sheet-sub { color: var(--muted); margin-top: -8px; }
.row-end { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.share-url { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 5px 5px 5px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-soft); min-width: 0; }
.share-u { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; min-height: 40px; display: flex; align-items: center; }
.share-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; flex: none; transition: background-color .2s; }
.share-copy.is-done { background: var(--ok); }
.share-copy .ic { width: 18px; height: 18px; }
.share-native { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-soft); font-weight: 600; }
.share-native[hidden] { display: none; }

/* toasts */
.toasts { position: fixed; left: 50%; top: calc(12px + var(--sat)); transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(-10px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.toast.is-in { opacity: 1; transform: none; }
.toast.is-err { background: var(--err); }

/* editor */
.admin { background: #fff; }
.ad { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: min(320px, 86vw); background: #fff; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  padding: calc(10px + var(--sat)) 14px calc(14px + var(--sab)) max(14px, var(--sal)); box-shadow: 1px 0 0 var(--hair);
  transform: translateX(-104%); visibility: hidden; transition: transform var(--t) var(--ease), visibility 0s linear var(--t); }
.side.is-open { transform: none; visibility: visible; transition: transform var(--t) var(--ease), visibility 0s; }
.side-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding-left: 6px; }
.side-nav { display: grid; gap: 4px; margin-top: 8px; }
.side-it { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 14px; font-weight: 600; color: var(--ink); text-align: left; transition: box-shadow .2s var(--ease), color .2s; }
.side-it:hover { box-shadow: inset 0 0 0 1px var(--hair); }
.side-it .ic { color: var(--ink); }
.side-it.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.side-it.is-on .ic { color: var(--accent); }
.side-foot { margin-top: auto; display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--hair); }
.side-plan { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair); margin-bottom: 8px; transition: box-shadow .2s; }
.side-plan:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.side-plan b { display: flex; align-items: center; gap: 8px; }
.side-plan b::before { display: none; }
.side-plan span { font-size: 13px; color: var(--muted); }
.side-me { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; }
.side-me-t { display: grid; min-width: 0; line-height: 1.25; }
.side-me-t b, .side-me-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-me-t small { color: var(--muted); font-size: 13px; }
.side-av, .me-av { flex: none; border-radius: 50%; object-fit: cover; }
.side-av { width: 36px; height: 36px; }
.me-av { width: 72px; height: 72px; }
.side-av.is-initials, .me-av.is-initials { display: grid; place-items: center; background: var(--accent); color: #FFFFFF; font-weight: 800; }
.me-av.is-initials { font-size: 26px; }
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(16,16,16,.45); opacity: 0; transition: opacity var(--t) var(--ease); }
.scrim.is-open { opacity: 1; }
.scrim[hidden] { display: none; }
.ad-main { min-width: 0; display: flex; flex-direction: column; }
.ad-top { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 1px 0 var(--hair); display: flex; align-items: center; gap: 8px;
  height: calc(64px + var(--sat)); padding: var(--sat) max(16px, var(--sar)) 0 max(12px, var(--sal)); }
.ad-share { flex: none; }
.ad-burger { width: 44px; height: 44px; }
.ad-title { flex: 1; min-width: 0; font-size: 20px; line-height: 44px; font-weight: 800; letter-spacing: -.02em; padding-left: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-body { width: 100%; max-width: 700px; margin: 0 auto; padding: 16px max(16px, var(--sar)) calc(100px + var(--sab)) max(16px, var(--sal)); display: grid; gap: 16px; align-content: start; }
.card { border-radius: 22px; box-shadow: inset 0 0 0 1px var(--hair); padding: 20px; display: grid; gap: 16px; min-width: 0; background: #fff; }
.card-h { font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.card-sub { font-size: 14px; margin-top: -10px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-danger { box-shadow: inset 0 0 0 1px #F6C1B8; }
.live-t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.live-dot { display: none !important; }
.lks { display: grid; }
.lk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; border-top: 1px solid var(--hair); transition: opacity .2s; }
.lk:first-child { border-top: 0; padding-top: 0; }
.lk-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair); }
.lk-t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.lk-t b, .lk-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-t small { color: var(--muted); font-size: 13px; }
.is-off .lk-t, .is-off .lk-ic { opacity: .5; }
.lk-act { display: flex; align-items: center; gap: 2px; margin-left: auto; }
@media (max-width: 599px) { .lk-act { width: 100%; justify-content: space-between; } }
.lk-act form { display: contents; }
.switch { width: 52px; height: 40px; flex: none; display: grid; place-items: center; }
.switch i { position: relative; width: 42px; height: 26px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; transition: background-color .2s var(--ease), box-shadow .2s; }
.switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform .22s var(--ease), background-color .2s; }
.switch.is-on i { background: var(--accent); box-shadow: none; }
.switch.is-on i::after { transform: translateX(16px); background: #fff; }
.empty { text-align: center; padding: 20px 8px 8px; color: var(--muted); display: grid; gap: 4px; }
.empty-t { color: var(--ink); font-weight: 700; }
.plats { display: grid; gap: 8px; }
.plat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.plat { position: relative; }
.plat input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.plat-in { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-soft); font-size: 14px; font-weight: 600; transition: box-shadow .2s; }
.plat-in .ic { width: 18px; height: 18px; }
.plat input:checked + .plat-in { box-shadow: inset 0 0 0 2px var(--ink); }
.plat input:checked + .plat-in .ic { color: var(--accent); }
.plat input:focus-visible + .plat-in { outline: 2px solid var(--accent); outline-offset: 2px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.tile { position: relative; width: 100%; min-width: 0; display: grid; grid-template-rows: auto 28px; gap: 8px; padding: 6px 6px 8px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px #101010; transition: box-shadow .2s var(--ease), transform .15s var(--ease); }
.tile:hover { box-shadow: inset 0 0 0 2px #101010; }
.tile.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.tile .mp { width: 100%; max-width: 100%; box-sizing: border-box; aspect-ratio: 3 / 5; height: auto; min-height: 0; overflow: hidden; box-shadow: none; border-radius: 17px; justify-content: flex-start; }
.tile .mp-name { font-size: 22px; }
.tile-n { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; height: 28px; min-height: 28px; max-height: 28px; overflow: hidden; white-space: nowrap; }
.tile-on { width: 22px; height: 22px; border-radius: 6px; background: #101010; color: #FFFFFF; display: grid; place-items: center; }
.tile-on .ic { width: 13px; height: 13px; stroke-width: 3; }
.fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; }
.font { position: relative; }
.font input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.font-in { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-soft); min-height: 88px; transition: box-shadow .2s; }
.font-aa { font-size: 28px; line-height: 1.1; }
.font-n { font-size: 14px; line-height: 1.25; }
.font-in small { color: var(--muted); font-size: 12px; }
.font input:checked + .font-in { box-shadow: inset 0 0 0 2px var(--ink); }
.font input:focus-visible + .font-in { outline: 2px solid var(--accent); outline-offset: 2px; }
.custom { display: grid; gap: 16px; }
.seg-f { display: grid; gap: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; justify-self: start; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-soft); max-width: 100%; }
.seg-o { position: relative; }
.seg-o input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-o span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background-color .2s var(--ease), color .2s; }
.seg-o input:checked + span { background: var(--ink); color: #fff; }
.seg-o input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ad-prev { display: none; }
.sheet-full .sheet-panel { height: calc(100dvh - 16px - var(--sat)); grid-template-rows: auto minmax(0, 1fr); }
.prev-f { width: 100%; height: 100%; border: 0; border-radius: 18px; box-shadow: 0 0 0 1px var(--hair); }
@media (min-width: 1024px) {
  .ad { grid-template-columns: 252px minmax(0, 1fr); }
  .side { position: sticky; height: 100vh; height: 100dvh; width: auto; transform: none; visibility: visible; z-index: 1; transition: none; }
  .side-x, .ad-burger { display: none; }
  .scrim { display: none !important; }
  .ad-top { padding-left: 24px; }
}
@media (min-width: 1200px) {
  .ad { grid-template-columns: 252px minmax(0, 1fr) minmax(360px, 420px); }
  .ad-prev { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; box-shadow: -1px 0 0 var(--hair); }
  .phone { width: 300px; height: min(640px, calc(100dvh - 120px)); border-radius: 44px; overflow: hidden; background: #fff; box-shadow: 0 0 0 10px var(--ink), 0 30px 60px -30px rgba(16,16,16,.55); }
  .phone-f { width: 100%; height: 100%; border: 0; display: block; }
  .prev-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 14px; color: var(--muted); }
  .prev-link .ic { width: 16px; height: 16px; }
}
@media (max-width: 380px) { .card { padding: 16px; } .ad-body { padding-left: max(12px, var(--sal)); padding-right: max(12px, var(--sar)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- mini pages in card layout (also used by the theme picker) ---------- */
.mp-cards { position: relative; isolation: isolate; gap: 6px; padding: 16px 10px 10px; justify-content: flex-end !important; }
.mp-photo { position: absolute; left: 0; right: 0; top: 0; height: 40%; width: 100%; object-fit: cover; z-index: -2; }
.mp-cards::before { content: none; }
.mp-ph-blur .mp-photo { filter: blur(8px); transform: scale(1.12); }
.mp-art { display: none; }
.mp-cards .mp-name { font-size: 17px; margin-top: 54px; }
.mp-cards .mp-icons { gap: 5px; }
.mp-cards .mp-icons i, .mp-cd i { width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; color: var(--brand, #101010); display: grid; place-items: center; }
.mp-cards .mp-icons .ic, .mp-cd i .ic { width: 11px; height: 11px; }
.mp-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 4px; }
.mp-cd { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--card); color: var(--card-fg); font-size: 10px; font-weight: 700; padding: 4px; }
.mp-cd.is-wide { grid-column: 1 / -1; aspect-ratio: 2.2 / 1; }
.mp-cd.has-img { color: #FFFFFF; justify-content: flex-end; }
.mp-cd.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mp-cd.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.5); }
.mp-ph-dark .mp-cd:not(.has-img), .mp-ph-blur .mp-cd:not(.has-img) { background: rgba(255,255,255,.16); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.mp-ph-light .mp-cd:not(.has-img) { background: #FFFFFF; color: #101010; box-shadow: inset 0 0 0 1px rgba(16,16,16,.08); }


/* ---------- 1.0.2 editor components ---------- */
/* upload control: framed thumb, words, one row of same-system buttons; drag and drop */
.ups { display: grid; }
.up { padding: 16px 0; border-top: 1px solid var(--hair); transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.up:first-child { border-top: 0; padding-top: 0; }
.up:last-child { padding-bottom: 0; }
.up.is-drag { background: var(--tint); box-shadow: 0 0 0 2px var(--accent); border-radius: 16px; }
.up-f { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; }
.up-th { position: relative; width: 88px; height: 88px; display: grid; place-items: center; overflow: hidden; cursor: pointer; background: #fff; transition: box-shadow .2s var(--ease), transform .15s var(--ease); }
.up-th:active { transform: scale(.97); }
.up-th.is-round { border-radius: 50%; box-shadow: inset 0 0 0 1.5px #101010; }
.up-th.is-wide, .up-th.is-square { border-radius: 16px; box-shadow: inset 0 0 0 1.5px #101010; }
.up-th:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.up-img { width: 100%; height: 100%; object-fit: cover; }
.up-ini { width: 100%; height: 100%; display: grid; place-items: center; background: var(--accent); color: #FFFFFF; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.up-th.is-empty:not(.is-round) { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.up-th.is-empty:not(.is-round):hover { box-shadow: inset 0 0 0 2px #101010; background: #FAFAFA; }
.up-empty { display: grid; justify-items: center; gap: 4px; padding: 6px; text-align: center; color: #101010; font-size: 12px; font-weight: 700; line-height: 1.15; }
.up-empty .ic { width: 22px; height: 22px; color: #101010; }
.up-t { min-width: 0; display: grid; gap: 4px; align-content: start; }
.up-h { font-size: 16px; line-height: 1.3; }
.up-s { font-size: 14px; line-height: 1.4; }
.up-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.up-pick { position: relative; }
.up-i { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.up-pick:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.up.is-busy .up-th::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.up.is-busy .up-th::before { content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; border-radius: 6px; border: 2.5px solid #101010; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 359px) { .up-f { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; } .up-th { width: 72px; height: 72px; } }
.sheet-sec { padding-top: 16px; border-top: 1px solid var(--hair); }
.lk-img { object-fit: cover; box-shadow: 0 0 0 1px var(--line); }

/* colour: TellHi swatches + hex field (no native colour input) */
.sws { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-soft); transition: box-shadow .2s var(--ease), transform .12s var(--ease); }
.sw i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(16,16,16,.12); }
.sw.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.sw:active { transform: scale(.94); }
.sw-theme { width: auto; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.sw-theme.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.sw-ffffff { background: #FFFFFF; } .sw-101010 { background: #101010; } .sw-5d37f5 { background: #5D37F5; } .sw-ffe45c { background: #FFE45C; } .sw-16a34a { background: #16A34A; }
.sw-1f4ed8 { background: #1F4ED8; } .sw-7c3aed { background: #7C3AED; } .sw-e1306c { background: #E1306C; } .sw-0f4c62 { background: #0F4C62; } .sw-f7f1e8 { background: #F7F1E8; }
.clr-box { max-width: 220px; }
.clr-dot { width: 48px; height: 52px; flex: none; display: grid; place-items: center; }
.clr-dot i { width: 24px; height: 24px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(16,16,16,.14); }
.clr-hex { text-transform: uppercase; font-variant-numeric: tabular-nums; padding-left: 0 !important; }

/* theme groups */
.tiles-h { display: grid; gap: 2px; font-size: 15px; font-weight: 800; margin: 2px 0 10px; }
.tiles-h span { font-size: 14px; font-weight: 400; }
.tiles + .tiles-h { margin-top: 22px; }
.tile-tag { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #101010; color: #FFFFFF; }
.tile .mp-cards { justify-content: flex-end; }

/* docked bottom bar: Preview (+ Reset/Save on Theme). The page reserves its height, so nothing sits under it. */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--hair);
  padding: 10px max(16px, var(--sar)) calc(10px + var(--sab)) max(16px, var(--sal)); }
.dock-in { max-width: 668px; margin: 0 auto; display: flex; gap: 8px; justify-content: center; }
.dock .btn { flex: 1 1 0; min-width: 0; max-width: 240px; }
.dock.has-actions .btn { max-width: none; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .dock { background: #fff; } }
@media (min-width: 1024px) { .dock { left: 252px; } }
@media (min-width: 1200px) {
  .dock { right: 420px; }
  .dock:not(.has-actions) { display: none; }
  .dock .dock-prev { display: none; }
  .ad-body.is-nodock { padding-bottom: 40px; }
}


/* ---------- 1.0.4 Personal dashboard controls (coherent set, no grey, no glow) ---------- */
.personal .btn, .admin .btn { min-height: 44px; border-radius: 999px; font-weight: 700; letter-spacing: -.01em; }
.personal .btn-dark, .admin .btn-dark { background: #101010; color: #FFFFFF; box-shadow: none; }
.personal .btn-dark:hover, .admin .btn-dark:hover { background: #5D37F5; color: #FFFFFF; }
.personal .btn-dark:active, .admin .btn-dark:active { transform: scale(.98); }
.personal .btn-line, .admin .btn-line { background: #FFFFFF; color: #101010; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .btn-line:hover, .admin .btn-line:hover { background: #F7F1E8; color: #101010; box-shadow: inset 0 0 0 1.5px #5D37F5; }
.personal .btn-accent, .admin .btn-accent { background: #5D37F5; color: #FFFFFF; }
.personal .btn-accent:hover, .admin .btn-accent:hover { background: #4A26E0; }
.personal .btn-danger, .admin .btn-danger { background: #FFFFFF; color: #C42B1C; box-shadow: inset 0 0 0 1.5px #C42B1C; }
.personal .btn-danger:hover, .admin .btn-danger:hover { background: #C42B1C; color: #FFFFFF; }
.personal .icon-btn, .admin .icon-btn { width: 44px; height: 44px; border-radius: 14px; background: #FFFFFF; color: #101010; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .icon-btn:hover, .admin .icon-btn:hover { background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #5D37F5; color: #5D37F5; }
.personal .icon-btn:active, .admin .icon-btn:active { transform: scale(.96); }
.personal .icon-btn[disabled], .admin .icon-btn[disabled] { opacity: 1; color: #101010; background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #101010; cursor: default; }
.personal .switch, .admin .switch { width: 52px; height: 40px; border-radius: 999px; background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #101010; position: relative; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.personal .switch i, .admin .switch i { position: absolute; top: 8px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1.5px rgba(16,16,16,.12); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.personal .switch.is-on, .admin .switch.is-on { background: #5D37F5; box-shadow: inset 0 0 0 1.5px #5D37F5; }
.personal .switch.is-on i, .admin .switch.is-on i { transform: translateX(20px); background: #FFFFFF; box-shadow: none; }
.personal .side-it, .admin .side-it { border-radius: 14px; min-height: 48px; font-weight: 700; }
.personal .side-it.is-on, .admin .side-it.is-on { background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #5D37F5; color: #5D37F5; }
.personal .side-it:hover, .admin .side-it:hover { background: #F7F1E8; }
.personal .card, .admin .card { border-radius: 20px; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .fld-box, .admin .fld-box { min-height: 52px; border-radius: 14px; }
.personal .dock, .admin .dock { background: #FFFFFF; box-shadow: 0 -1.5px 0 #101010; }
.personal .dock .btn, .admin .dock .btn { min-height: 48px; font-weight: 750; }
.personal .ad-burger, .admin .ad-burger { width: 44px; height: 44px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .sheet-panel, .admin .sheet-panel { border-radius: 24px 24px 0 0; box-shadow: 0 -1.5px 0 #101010; }
.personal .sheet-x, .admin .sheet-x { width: 44px; height: 44px; border-radius: 14px; }
.personal .seg, .admin .seg, .personal [role="tablist"], .admin [role="tablist"] { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .seg button, .admin .seg button, .personal [role="tab"], .admin [role="tab"] { min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; }
.personal .seg button[aria-selected="true"], .admin .seg button[aria-selected="true"],
.personal [role="tab"][aria-selected="true"], .admin [role="tab"][aria-selected="true"] { background: #5D37F5; color: #FFFFFF; }
.personal .up, .admin .up { border-radius: 18px; box-shadow: inset 0 0 0 1.5px #101010; background: #FFFFFF; }
.personal .live-dot, .admin .live-dot { display: none !important; }
.nav-burger, .gh-burger { display: none !important; }
.nav-right { display: flex; align-items: center; gap: 6px; }
@media (max-width: 559px) {
  .nav-links { display: none; }
  .nav-right .btn { min-height: 40px; padding: 0 12px; font-size: 13px; }
}


/* ---------- 1.0.7 handshake-H loader (3D extruded halves; no bolt, no glow, no blur) ---------- */
/* Field cycles coral / white / iris each beat of the 2.6s handshake. Mark is black on coral and
   white, white on iris. Start offset (is-s0/1/2) is picked at random per page load. */
html.th-wait body > :not(#th-boot) { visibility: hidden; }
#th-boot { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #FF563F; color: #101010; --boot-face: #101010; --boot-side: #3C3C3C; --boot-deep: #1C1C1C; transition: opacity .2s var(--ease), visibility .2s var(--ease); }
#th-boot[hidden] { display: none; }
#th-boot.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
#th-boot .th-hs { width: min(220px, 56vw); --hs-face: var(--boot-face); --hs-side: var(--boot-side); --hs-deep: var(--boot-deep); }
#th-boot.is-coral, #th-boot.is-s0:not(.is-cycle) { background: #FF563F; color: #101010; --boot-face: #101010; --boot-side: #3C3C3C; --boot-deep: #1C1C1C; }
#th-boot.is-white { background: #FFFFFF; color: #101010; --boot-face: #101010; --boot-side: #3C3C3C; --boot-deep: #1C1C1C; }
#th-boot.is-iris { background: #5D37F5; color: #FFFFFF; --boot-face: #FFFFFF; --boot-side: #E4DBFF; --boot-deep: #C4B6F8; }
#th-boot.is-cycle { animation-name: th-boot-bg; animation-duration: 2.6s; animation-iteration-count: infinite; animation-timing-function: linear; animation-fill-mode: both; }
#th-boot.is-s0, #th-boot.is-s0 .hs-l, #th-boot.is-s0 .hs-r { animation-delay: 0s; }
#th-boot.is-s1, #th-boot.is-s1 .hs-l, #th-boot.is-s1 .hs-r { animation-delay: calc(2.6s / -3); }
#th-boot.is-s2, #th-boot.is-s2 .hs-l, #th-boot.is-s2 .hs-r { animation-delay: calc(2.6s * -2 / 3); }
@keyframes th-boot-bg {
  0%, 28% { background: #FF563F; color: #101010; --boot-face: #101010; --boot-side: #3C3C3C; --boot-deep: #1C1C1C; }
  34%, 61% { background: #FFFFFF; color: #101010; --boot-face: #101010; --boot-side: #3C3C3C; --boot-deep: #1C1C1C; }
  67%, 94% { background: #5D37F5; color: #FFFFFF; --boot-face: #FFFFFF; --boot-side: #E4DBFF; --boot-deep: #C4B6F8; }
  100% { background: #FF563F; color: #101010; --boot-face: #101010; --boot-side: #3C3C3C; --boot-deep: #1C1C1C; }
}
.th-hs { --hs-face: currentColor; --hs-side: color-mix(in srgb, currentColor 62%, #fff 38%); --hs-deep: color-mix(in srgb, currentColor 40%, #000 60%); display: grid; place-items: center; }
.th-hs .hs-scene { width: 100%; aspect-ratio: 274 / 276; position: relative; perspective: 720px; perspective-origin: 50% 44%; }
.th-hs .hs-half { position: absolute; inset: 0; transform-style: preserve-3d; animation-duration: 2.6s; animation-iteration-count: infinite; animation-fill-mode: both; }
.th-hs.is-boot .hs-l, .th-hs.is-loop.is-run .hs-l { animation-name: th-hs-l; }
.th-hs.is-boot .hs-r, .th-hs.is-loop.is-run .hs-r { animation-name: th-hs-r; }
.th-hs .hs-stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-20deg) rotateX(11deg); }
.th-hs .hs-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; transform: translateZ(calc(var(--i, 0) * 1.4px)); }
.th-hs .hs-layer:nth-child(1) { --i: 0; }
.th-hs .hs-layer:nth-child(2) { --i: 1; }
.th-hs .hs-layer:nth-child(3) { --i: 2; }
.th-hs .hs-layer:nth-child(4) { --i: 3; }
.th-hs .hs-layer:nth-child(5) { --i: 4; }
.th-hs .hs-layer:nth-child(6) { --i: 5; }
.th-hs .hs-layer:nth-child(7) { --i: 6; }
.th-hs .hs-layer:nth-child(8) { --i: 7; }
.th-hs .hs-layer:nth-child(9) { --i: 8; }
.th-hs .hs-layer:nth-child(10) { --i: 9; }
.th-hs .hs-layer:nth-child(11) { --i: 10; }
.th-hs .hs-layer:nth-child(12) { --i: 11; }
.th-hs .hs-face path { fill: var(--hs-face, currentColor); }
.th-hs .hs-side path { fill: var(--hs-side); }
.th-hs .hs-deep path { fill: var(--hs-deep); }
@keyframes th-hs-l {
  0%, 5% { transform: translate3d(-54px, 0, 0); animation-timing-function: cubic-bezier(.22,.78,.2,1); }
  32% { transform: translate3d(1.5px, 0, 0); animation-timing-function: cubic-bezier(.2,.7,.2,1); }
  36% { transform: translate3d(0, 0, 0); animation-timing-function: ease-in-out; }
  42% { transform: translate3d(0, -11px, 0); animation-timing-function: ease-in-out; }
  48% { transform: translate3d(0, 8px, 0); animation-timing-function: ease-in-out; }
  54% { transform: translate3d(0, -9px, 0); animation-timing-function: ease-in-out; }
  60% { transform: translate3d(0, 7px, 0); animation-timing-function: ease-in-out; }
  66% { transform: translate3d(0, -5px, 0); animation-timing-function: ease-in-out; }
  72%, 84% { transform: translate3d(0, 0, 0); animation-timing-function: cubic-bezier(.55,0,.7,.2); }
  100% { transform: translate3d(-54px, 0, 0); }
}
@keyframes th-hs-r {
  0%, 5% { transform: translate3d(54px, 0, 0); animation-timing-function: cubic-bezier(.22,.78,.2,1); }
  32% { transform: translate3d(-1.5px, 0, 0); animation-timing-function: cubic-bezier(.2,.7,.2,1); }
  36% { transform: translate3d(0, 0, 0); animation-timing-function: ease-in-out; }
  42% { transform: translate3d(0, -11px, 0); animation-timing-function: ease-in-out; }
  48% { transform: translate3d(0, 8px, 0); animation-timing-function: ease-in-out; }
  54% { transform: translate3d(0, -9px, 0); animation-timing-function: ease-in-out; }
  60% { transform: translate3d(0, 7px, 0); animation-timing-function: ease-in-out; }
  66% { transform: translate3d(0, -5px, 0); animation-timing-function: ease-in-out; }
  72%, 84% { transform: translate3d(0, 0, 0); animation-timing-function: cubic-bezier(.55,0,.7,.2); }
  100% { transform: translate3d(54px, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .th-hs .hs-l, .th-hs .hs-r { animation: none !important; transform: none; }
  #th-boot.is-cycle { animation: none !important; }
}

/* Shorten tool */
.sh-hero { display: grid; place-items: center; padding: 28px 32px 16px; overflow: hidden; }
.sh-hs { width: min(200px, 56vw); cursor: pointer; color: #0B7A3B; --hs-face: currentColor; }
.personal .sh-result .share-url { margin-top: 8px; }
.personal .sh-qr { margin: 16px 0 0; display: grid; justify-items: start; gap: 12px; }
.personal .sh-qr-img { width: 200px; height: 200px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .sh-qr figcaption { display: flex; flex-wrap: wrap; gap: 8px; }
.personal .sh-qr .btn, .personal form[action="/personal/shorten"] .btn { min-height: 48px; }
.personal .sh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.personal .sh-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px; border-radius: 16px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .sh-row-t { display: grid; gap: 2px; min-width: 0; }
.personal .sh-row-t b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.personal .sh-row-t small, .personal .sh-clicks { color: #101010; font-size: 13px; }
.personal .sh-row-act { display: flex; gap: 4px; }
.personal .sh-row-act .icon-btn { width: 48px; height: 48px; }
.personal .sh-row.is-fresh, .personal .sh-result { box-shadow: inset 0 0 0 1.5px #0B7A3B; }
.personal.is-shorten .ad-body { padding-bottom: calc(104px + var(--sab)); }
@media (min-width: 1180px) {
  .personal.is-shorten .ad { grid-template-columns: 252px minmax(0, 1fr); }
  .personal.is-shorten .ad-prev { display: none; }
  .personal.is-shorten .ad-body { padding-bottom: 40px; }
}


/* ---------- 1.0.4 Personal layout (Linktree structure, TellHi look) ---------- */
.personal { background: #F7F1E8; }
.personal .ad { background: #F7F1E8; }
.personal .card { background: #FFFFFF; box-shadow: none; border: 0; border-radius: 20px; }
.personal .ad-body { padding-bottom: calc(88px + var(--sab)); }
.personal .live-t { font-size: 13px; font-weight: 700; color: #101010; }
.personal .share-url { box-shadow: inset 0 0 0 1.5px #101010; min-height: 48px; }
.personal .share-u { color: #101010; font-weight: 700; }
.personal .dock-prev.btn-dark { background: #101010; color: #FFFFFF; }
.personal .dock-prev.btn-dark:hover { background: #000000; }
.personal .tile.is-on { box-shadow: inset 0 0 0 2px #101010; }
.personal .tile { border-radius: 16px; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .ups { display: grid; gap: 8px; }
.personal .up { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; border: 0; border-top: 0; border-radius: 16px; padding: 16px; overflow: hidden; }
.personal .up:first-child, .personal .up:last-child { padding: 16px; }
.personal .up-f { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: center; }
.personal .up-th { width: 72px; height: 72px; flex: none; }
.personal .up-th.is-round, .personal .up-th.is-wide, .personal .up-th.is-square { box-shadow: inset 0 0 0 1.5px #101010; }
.personal .up-btns { margin-top: 8px; gap: 8px; }
.personal .up-btns .btn { min-height: 40px; padding: 0 14px; }
.personal .up-th.is-round { box-shadow: inset 0 0 0 1.5px #101010; }
.personal .side-plan { box-shadow: inset 0 0 0 1.5px rgba(16,16,16,.14); }
.personal .side-it.is-on { background: #101010; color: #FFFFFF; box-shadow: none; }
.personal .side-it:hover { background: #F7F1E8; }
.personal .icon-btn { box-shadow: inset 0 0 0 1.5px #101010; border-radius: 12px; }
.personal .icon-btn:hover { background: #F7F1E8; color: #101010; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .switch { background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .switch.is-on { background: #101010; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .seg { background: #F7F1E8; box-shadow: inset 0 0 0 1.5px rgba(16,16,16,.12); }
.personal .seg-o input:checked + span { background: #101010; color: #FFFFFF; }
.personal .btn-dark:hover { background: #000000; color: #FFFFFF; }
.personal .btn-line:hover { background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #101010; color: #101010; }
.personal .fld-box { box-shadow: inset 0 0 0 1.5px #101010; }
.personal .fld-box:focus-within { box-shadow: inset 0 0 0 2px #101010; background: #FFFFFF; }
.empty { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 28px 16px 18px; }
.empty-art { display: grid; gap: 8px; width: 120px; margin-bottom: 6px; }
.empty-art i { display: block; height: 28px; border-radius: 10px; background: #F7F1E8; box-shadow: inset 0 0 0 1.5px rgba(16,16,16,.1); }
.empty-art i:nth-child(1) { width: 100%; }
.empty-art i:nth-child(2) { width: 86%; justify-self: center; }
.empty-art i:nth-child(3) { width: 72%; justify-self: center; }
.empty-t { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.drows { display: grid; gap: 10px; margin: 0 0 18px; }
.drow { display: grid; grid-template-columns: 44px minmax(0,1fr) auto 20px; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 16px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(16,16,16,.12); }
.drow:hover { box-shadow: inset 0 0 0 2px #101010; }
.drow-ic { width: 40px; height: 40px; border-radius: 12px; background: #F7F1E8; display: grid; place-items: center; color: #101010; }
.drow-t { display: grid; gap: 2px; min-width: 0; }
.drow-t b { font-size: 15px; font-weight: 800; }
.drow-t small { font-size: 13px; color: #101010; opacity: .7; }
.drow-val { font-size: 13px; font-weight: 700; white-space: nowrap; }
.pnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #FFFFFF; box-shadow: 0 -1.5px 0 rgba(16,16,16,.12); padding: 6px max(8px, var(--sar)) calc(6px + var(--sab)) max(8px, var(--sal)); }
.pnav-i { display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 4px; border-radius: 12px; font-size: 11px; font-weight: 700; color: #101010; background: transparent; }
.pnav-i.is-on { color: #101010; }
.pnav-ic .ic { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .pnav { display: none; }
  .personal .ad-body { padding-bottom: 40px; }
  .personal .dock:not(.has-actions) { display: none; }
}
@media (max-width: 1023px) {
  .personal .dock { bottom: calc(64px + var(--sab)); }
  .personal .ad-body { padding-bottom: calc(140px + var(--sab)); }
}
/* clr-dot was a circle swatch preview - keep square-rounded */
.clr-dot, .clr-dot i { border-radius: 8px !important; }


/* --- Personal 1.0.4: add sheet, skeleton, design rows polish --- */
.pnav { grid-template-columns: repeat(3, 1fr); }
.add-flow { display: grid; gap: 14px; padding: 0 4px 8px; }
.add-search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 16px; background: #F7F1E8; }
.add-search-ic { color: #101010; opacity: .55; display: grid; place-items: center; }
.add-search-ic .ic { width: 18px; height: 18px; }
.add-search-i { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: 600 16px/1.2 "TH Inter", system-ui, sans-serif; color: #101010; }
.add-search-i::placeholder { color: #101010; opacity: .45; font-weight: 600; }
.add-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.add-tile { display: grid; justify-items: center; gap: 8px; min-height: 96px; padding: 16px 8px; border-radius: 18px; background: #F7F1E8; font: 700 13px/1 "TH Inter", system-ui, sans-serif; color: #101010; }
.add-tile-ic { width: 40px; height: 40px; border-radius: 14px; background: #FFFFFF; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(16,16,16,.10); }
.add-tile-ic .ic { width: 20px; height: 20px; }
.add-h { margin: 4px 2px 0; font: 800 13px/1 "TH Inter", system-ui, sans-serif; letter-spacing: .02em; text-transform: uppercase; opacity: .55; }
.sugs { display: grid; gap: 4px; }
.sug { display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; align-items: center; gap: 12px; min-height: 64px; padding: 8px 6px; border-radius: 14px; text-align: left; background: transparent; color: #101010; }
.sug:hover { background: #F7F1E8; }
.sug-ic { width: 44px; height: 44px; border-radius: 50%; background: #F7F1E8; display: grid; place-items: center; }
.sug-ic .ic { width: 20px; height: 20px; }
.sug-t { display: grid; gap: 2px; min-width: 0; }
.sug-t b { font-size: 15px; font-weight: 800; }
.sug-t small { font-size: 13px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-form { margin-top: 8px; padding-top: 8px; border-top: 1.5px solid rgba(16,16,16,.08); }
.skel { display: grid; gap: 12px; padding: 4px 0 24px; }
.skel-hero { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.skel-av { width: 64px; height: 64px; border-radius: 50%; background: #F7F1E8; }
.skel-hero span { display: grid; gap: 8px; }
.skel-hero b, .skel-row, .skel-btns i { display: block; border-radius: 14px; background: #F7F1E8; }
.skel-hero b:first-child { height: 16px; width: 46%; }
.skel-hero b:last-child { height: 12px; width: 70%; }
.skel-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skel-btns i { height: 44px; }
.skel-row { height: 72px; }
.skel.is-done { display: none; }
.personal .tile.is-on { box-shadow: inset 0 0 0 2.5px #101010; }
.personal .tiles { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }

/* Personal: never a hamburger drawer — bottom nav on mobile, left rail on desktop */
.personal .ad-burger, .personal .side-x, .personal .scrim { display: none !important; }
.personal .side { display: none; transform: none; visibility: visible; }
@media (min-width: 1024px) {
  .personal .side { display: flex; position: sticky; height: 100vh; height: 100dvh; width: auto; z-index: 1; }
  .personal .ad { grid-template-columns: 252px minmax(0, 1fr); }
}
@media (min-width: 1200px) {
  .personal .ad { grid-template-columns: 252px minmax(0, 1fr) minmax(360px, 420px); }
}
.personal .ad-top { padding-left: max(16px, var(--sal)); }
@media (min-width: 1024px) {
  .personal .ad-top { padding-left: 24px; }
}
.personal .ad-title { padding-left: 0; }

/* Mobile Personal: bottom nav replaces the dock Preview control (no duplicate, no hamburger) */
@media (max-width: 1023px) {
  .personal .dock-prev { display: none !important; }
  .personal .dock:not(.has-actions) { display: none !important; }
  .personal .ad-body { padding-bottom: calc(88px + var(--sab)); }
}

/* 1.0.4 Design: theme-only. Mobile = full-bleed preview + Theme/Header sheets. Desktop = grid + phone. */
.dstage { display: none; }
.dtabs { display: flex; gap: 8px; padding: 10px 12px; background: #FFFFFF; }
.dtab { flex: 1; min-height: 44px; border-radius: 999px; font-weight: 800; font-size: 15px; color: #101010; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.dtab:hover, .dtab[aria-expanded="true"] { background: #101010; color: #FFFFFF; }
@media (max-width: 1023px) {
  .ad-body:has(.dstage) { padding: 0; gap: 0; max-width: none; }
  .personal:has(.dstage) .pnav { display: none !important; }
  .personal:has(.dstage) .ad-body { padding-bottom: 0; }
  .d-desk { display: none !important; }
  .dstage { display: flex; flex-direction: column; min-height: calc(100dvh - 56px - var(--sat)); height: calc(100dvh - 56px - var(--sat)); background: #F7F1E8; }
  .dstage-prev { flex: 1 1 auto; min-height: 0; margin: 0; border-radius: 0; overflow: hidden; background: #FFFFFF; box-shadow: none; }
  .dstage-prev iframe { width: 100%; height: 100%; border: 0; background: #fff; }
  .dstage .dtabs { flex: none; position: relative; z-index: 80; padding: 8px 10px calc(8px + var(--sab)); box-shadow: 0 -1.5px 0 #101010; }
  .personal:has(.dstage) .sheet { top: 0; right: 0; left: 0; bottom: calc(56px + var(--sab)); }
  .personal:has(.dstage) .sheet-panel { max-height: min(62dvh, calc(100dvh - 200px)); }
}
@media (min-width: 1024px) {
  .dstage { display: none !important; }
  .d-desk { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .dstage-prev, .dtab { transition: none; }
}

/* Personal home header: framed circular photo, not a flat initials blob */
.phome { display: grid; gap: 14px; padding: 4px 2px 8px; }
.phome-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.phome-av { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; background: #FFFFFF; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px #101010; }
.phome-av.is-initials { display: grid; place-items: center; color: #101010; font-weight: 800; font-size: 22px; box-shadow: inset 0 0 0 1.5px #101010; }
.phome-t { min-width: 0; display: grid; gap: 2px; }
.phome-name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.phome-url { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 600; color: #101010; overflow-wrap: anywhere; }
.phome-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ====================================================================================
   1.0.5: premium plans, login control, Personal pass (no grey, no glow, no tinted fills)
   ==================================================================================== */
/* ---------- plans (landing + /pricing): Future on top, Free below ---------- */
.plans { display: grid; gap: 16px; max-width: 1000px; margin: 0 auto; }
.fu { position: relative; display: grid; gap: 28px; padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 56px); border-radius: 36px; background: #101010; color: #FFFFFF; overflow: hidden; }
@media (min-width: 860px) { .fu { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 48px; } }
.fu-head { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.fu-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #0B7A3B; color: #FFFFFF; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fu-name { font-size: clamp(56px, 16vw, 168px); font-weight: 900; letter-spacing: -.06em; line-height: .9; margin: 6px 0 0; color: #FFFFFF; overflow-wrap: break-word; max-width: 100%; }
.fu-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.fu-price b { font-size: clamp(64px, 14vw, 132px); font-weight: 900; letter-spacing: -.06em; line-height: .9; color: #FFFFFF; }
.fu-price span { font-size: clamp(17px, 2vw, 22px); font-weight: 700; color: #FFFFFF; }
.fu-body { display: grid; gap: 18px; min-width: 0; }
.fu-feats { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fu-feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.fu-feats .ck { width: 22px; height: 22px; flex: none; margin-top: 1px; color: #FFFFFF; }
.fu-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; padding: 0 28px; border-radius: 999px; background: #FFFFFF; color: #101010; font-size: 18px; font-weight: 800; letter-spacing: -.01em;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.fu-cta .ic { width: 20px; height: 20px; transition: transform .25s var(--ease); }
a.fu-cta:hover { background: #5D37F5; color: #FFFFFF; }
a.fu-cta:hover .ic { transform: translateX(4px); }
a.fu-cta:active { transform: scale(.98); }
.fu-cta.btn-soon, .fu-cta.btn-soon:hover { background: #FFFFFF; color: #101010; opacity: 1; box-shadow: none; cursor: default; }
.fu-note { font-size: 14px; font-weight: 600; color: #FFFFFF; margin: -4px 0 0; text-align: center; }
.fr { display: grid; gap: 14px 28px; align-items: center; padding: 26px clamp(22px, 5vw, 40px); border-radius: 28px; background: #FFFFFF; color: #101010; box-shadow: inset 0 0 0 2px #101010; }
@media (min-width: 860px) { .fr { grid-template-columns: auto minmax(0, 1fr) auto; } }
.fr-t { display: flex; align-items: baseline; gap: 16px; }
.fr-name { font-size: 40px !important; font-weight: 900 !important; letter-spacing: -.05em !important; line-height: 1; margin: 0; }
.fr-price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.fr-price b { font-size: 40px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.fr-price span { font-size: 15px; font-weight: 700; }
.fr-p { font-size: 16px; line-height: 1.45; font-weight: 500; margin: 0; }
.fr-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: #FFFFFF; color: #101010; box-shadow: inset 0 0 0 2px #101010; font-weight: 800; font-size: 16px; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.fr-cta:hover { background: #101010; color: #FFFFFF; }
.fr-cta:active { transform: scale(.98); }
.pricing { background: #F7F1E8; }
.pricing .pr-hero h1 { font-size: clamp(40px, 11vw, 120px); letter-spacing: -.05em; font-weight: 900; line-height: 1.05; overflow-wrap: break-word; max-width: 100%; }
.pricing .plans { margin-top: 40px; }
.pricing .nav-wrap { background: #F7F1E8; }

/* ---------- auth: "Create your page" is a real secondary control, not an underlined link ---------- */
.alt-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 8px; color: #101010; font-weight: 600; }
.alt-cta .alt-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: #FFFFFF; color: #5D37F5; box-shadow: inset 0 0 0 2px #5D37F5; font-weight: 800; font-size: 15px; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.alt-cta .alt-btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.alt-cta .alt-btn:hover { background: #5D37F5; color: #FFFFFF; }
.alt-cta .alt-btn:hover .ic { transform: translateX(3px); }
.alt-cta .alt-btn:active { transform: scale(.97); }
.auth .fld-box { box-shadow: inset 0 0 0 1.5px #101010; }
.auth .fld-box:focus-within { box-shadow: inset 0 0 0 2.5px #5D37F5; }

/* theme minis without a photo: a flat colour band, never a stock face */
.mp-photo-flat { display: block; background: var(--card); }

/* ---------- Personal: off-white canvas, white cards, black lines ---------- */
.personal, .personal .ad { background: #F7F1E8; }
.personal .side { background: #FFFFFF; }
.personal .side-it:hover { background: #F7F1E8; }
.personal .btn-line:hover { background: #101010; color: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .seg { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .dstage { background: #FFFFFF; }
.empty-art i { background: #F7F1E8; box-shadow: inset 0 0 0 1.5px #101010; }
.drow { box-shadow: inset 0 0 0 1.5px #101010; }
.drow-ic { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.add-search { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.add-tile { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.add-tile:hover { background: #101010; color: #FFFFFF; }
.add-tile:hover .add-tile-ic { background: #FFFFFF; color: #101010; }
.add-tile:active { transform: scale(.97); }
.add-tile-ic { box-shadow: inset 0 0 0 1.5px #101010; }
.sug { transition: background-color .2s var(--ease); }
.sug:hover { background: #F7F1E8; }
.sug-ic { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; color: var(--brand, #101010); }
.add-form { border-top: 1.5px solid #101010; }
.skel-av, .skel-hero b, .skel-row, .skel-btns i { background: #FFFFFF; }

/* social link rows: one solid card each; actions press, glide and flip smoothly */
.personal .lks { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.personal .lk { gap: 10px 12px; padding: 12px 12px 12px 14px; border: 0; border-top: 0; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010;
  transition: opacity .25s var(--ease), background-color .25s var(--ease); }
.personal .lk:first-child { padding-top: 12px; }
.personal .lk-ic { width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; color: var(--brand, #101010); box-shadow: inset 0 0 0 1.5px #101010; transition: opacity .25s var(--ease); }
.personal .lk-ic .ic { width: 22px; height: 22px; }
.personal .lk-t b { font-size: 15px; font-weight: 800; }
.personal .lk-t small { color: #101010; font-weight: 500; }
.personal .is-off .lk-t, .personal .is-off .lk-ic { opacity: .45; }
.personal .lk-act { gap: 4px; }
.personal .lk-move { display: inline-flex; border-radius: 14px; border: 1.5px solid #101010; overflow: hidden; }
.personal .lk-move .icon-btn { height: 41px; }
.personal .lk-move form { display: contents; }
.personal .lk-move .icon-btn { border-radius: 0; box-shadow: none; }
.personal .lk-move form + form .icon-btn { box-shadow: inset 1.5px 0 0 #101010; }
.personal .icon-btn { width: 44px; height: 44px; border-radius: 14px; background: #FFFFFF; color: #101010; box-shadow: inset 0 0 0 1.5px #101010;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s cubic-bezier(.3, 1.4, .5, 1); }
.personal .icon-btn:hover { background: #101010; color: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; }
.personal .lk-move .icon-btn:hover { box-shadow: none; }
.personal .icon-btn:active { transform: scale(.88); }
.personal .icon-btn .ic { transition: transform .2s var(--ease); }
.personal .lk-move .icon-btn:hover:not([disabled]) .ic { transform: translateY(-2px); }
.personal .lk-move form + form .icon-btn:hover:not([disabled]) .ic { transform: translateY(2px); }
.personal .icon-btn[disabled], .personal .icon-btn[disabled]:hover { background: #FFFFFF; color: #101010; cursor: default; transform: none; }
.personal .icon-btn[disabled] .ic { opacity: .25; }
.personal .switch { position: relative; width: 52px; height: 44px; margin: 0 4px; border-radius: 999px; background: transparent !important; box-shadow: none !important; }
.personal .switch::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 32px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #101010; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.personal .switch i { position: absolute; top: 11px; left: 5px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #101010; box-shadow: none; transition: transform .32s cubic-bezier(.3, 1.4, .5, 1), background-color .25s var(--ease); }
.personal .switch i::after { content: none; }
.personal .switch.is-on::before { background: #0B7A3B; box-shadow: inset 0 0 0 1.5px #0B7A3B; }
.personal .switch.is-on i { transform: translateX(20px); background: #FFFFFF; }
.personal .switch:active i { width: 26px; }
.personal .switch.is-on:active i { transform: translateX(16px); }
@media (max-width: 599px) { .personal .lk-act { width: 100%; justify-content: flex-start; } .personal .lk-act > .icon-btn:first-of-type { margin-left: auto; } }

/* ---------- bottom bar: icons and labels only (no tiles), colour + weight shows where you are ---------- */
.pnav { grid-template-columns: repeat(5, 1fr); background: #FFFFFF; box-shadow: none; border-top: 1.5px solid #101010; padding: 4px max(4px, var(--sar)) calc(4px + var(--sab)) max(4px, var(--sal)); }
.pnav-i { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 56px; padding: 6px 2px; border-radius: 0; background: transparent; color: #101010; font-size: 11.5px; font-weight: 600; letter-spacing: -.005em;
  transition: color .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.pnav-ic { width: 28px; height: 28px; border-radius: 0; background: transparent !important; color: inherit !important; display: grid; place-items: center; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.pnav-ic .ic { width: 24px; height: 24px; stroke-width: 1.8; }
.pnav-i.is-on { color: #5D37F5; font-weight: 800; }
.pnav-i.is-on .pnav-ic .ic path { stroke-width: 2.4; }
.pnav-i:active .pnav-ic { transform: scale(.86); }
.pnav-i:hover { color: #5D37F5; }
.pnav-l { white-space: nowrap; }

/* ---------- Shorten: a first-class Personal area ---------- */
.personal .sh-hero { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 20px; border-radius: 24px; background: #FFDE00; color: #101010; overflow: hidden; }
.personal .sh-hero-art { display: grid; place-items: center; }
.personal .sh-hs { width: 96px; }
.sh-hero-h { font-size: clamp(26px, 4vw, 34px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.sh-hero-t p { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.sh-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.sh-stats span { display: inline-flex; align-items: baseline; gap: 4px; min-height: 32px; align-items: center; padding: 0 12px; border-radius: 999px; background: #101010; color: #FFFFFF; font-size: 13px; font-weight: 700; }
.sh-stats b { font-size: 15px; font-weight: 900; }
@media (max-width: 380px) { .personal .sh-hero { grid-template-columns: 80px minmax(0, 1fr); } .personal .sh-hs { width: 72px; } }
.personal .sh-row { border-radius: 18px; box-shadow: inset 0 0 0 1.5px #101010; transition: box-shadow .2s var(--ease); }
.personal .sh-clicks { display: inline-flex; justify-self: start; margin-top: 4px; min-height: 26px; align-items: center; padding: 0 10px; border-radius: 999px; background: #0B7A3B; color: #FFFFFF !important; font-weight: 800; font-size: 12px !important; }
@media (prefers-reduced-motion: reduce) {
  .personal .switch i, .personal .icon-btn, .pnav-ic, .fu-cta, .alt-btn { transition: none; }
}
.dock, .personal .dock { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 -1.5px 0 #101010; }
.personal .side-plan { box-shadow: inset 0 0 0 1.5px #101010; }
.personal .side-it.is-on { background: #101010; color: #FFFFFF; }
/* flat surfaces: no soft drop shadows (they read as glow) */
.nav { box-shadow: inset 0 0 0 1.5px #101010; }
.mp { box-shadow: 0 0 0 1.5px #101010; }
.personal .ad-top { box-shadow: 0 1.5px 0 #101010; }


/* ---------- 1.0.6: theme picker minis — frames, cuts, motion ---------- */
.mp > :not(.mp-panel):not(.mp-motifs) { position: relative; z-index: 1; }
.mp-panel { position: absolute; inset: 14px 10px 10px; background: var(--page); border-radius: 14px; z-index: 0; pointer-events: none; }
.mp.pf-f-line .mp-panel { box-shadow: inset 0 0 0 2px var(--title); }
.mp.pf-f-inset .mp-panel { box-shadow: inset 0 0 0 2px var(--title); inset: 10px 8px 8px; }
.mp.pf-f-stamp .mp-panel { box-shadow: inset 0 0 0 2px var(--title); outline: 1.5px dashed var(--title); outline-offset: -5px; }
.mp.pf-f-offset .mp-panel { box-shadow: 4px 4px 0 var(--title); inset: 12px 10px 14px 8px; }
.mp.pf-f-ticket .mp-panel {
  clip-path: polygon(0 0, 100% 0, 100% calc(50% - 6px), calc(100% - 6px) 50%, 100% calc(50% + 6px), 100% 100%, 0 100%, 0 calc(50% + 6px), 6px 50%, 0 calc(50% - 6px));
}
.mp.pf-s-split::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; background: var(--bg2); pointer-events: none; z-index: 0;
}
.mp.pf-s-blocks::before {
  content: ""; position: absolute; top: 0; right: 0; width: 36%; height: 26%; background: var(--bg2); pointer-events: none; z-index: 0;
}
.mp.pf-s-blocks::after {
  content: ""; position: absolute; bottom: 6%; left: 0; width: 22%; height: 16%; background: var(--bg2); pointer-events: none; z-index: 0;
}
.pf-a-squircle .mp-av { border-radius: 34%; }
.pf-a-arch .mp-av { border-radius: 26px 26px 8px 8px; }
.pf-a-stamp .mp-av { border-radius: 6px; box-shadow: 0 0 0 1.5px var(--page), 0 0 0 2.5px var(--title); outline: 1.5px dashed var(--title); outline-offset: 3px; }
.mp.pf-n-display .mp-name { letter-spacing: -.03em; text-transform: uppercase; }
.mp.pf-n-editorial .mp-name { letter-spacing: -.02em; }
.tile .mp.pf-n-display .mp-name { font-size: 18px; }
.tile .mp.pf-n-editorial .mp-name { font-size: 20px; }
.pf-b-offset .mp-btn, .pf-b-ticket .mp-btn, .pf-b-tab .mp-btn { box-shadow: var(--b-sh); }
.pf-b-text .mp-btn { box-shadow: none; text-decoration: underline; text-underline-offset: 3px; min-height: 26px; }
.pf-b-text .mp-bic { display: none; }
.pf-b-framed .mp-btn { box-shadow: inset 0 0 0 2px var(--b-line); }
.pf-b-tab .mp-btn { border-radius: 8px 8px 0 0; box-shadow: inset 0 -3px 0 var(--title), var(--b-sh); }
.pf-b-ticket .mp-btn {
  clip-path: polygon(0 0, 100% 0, 100% calc(50% - 5px), calc(100% - 5px) 50%, 100% calc(50% + 5px), 100% 100%, 0 100%, 0 calc(50% + 5px), 5px 50%, 0 calc(50% - 5px));
}
.mp-motifs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mp-motifs i { position: absolute; display: block; width: 36px; height: 36px; background: var(--bg2); border-radius: 50%; animation: th-bob 6s ease-in-out infinite alternate; }
.mp-motifs i:first-child { top: 10%; left: -8px; }
.mp-motifs i:last-child { top: 28%; right: -10px; width: 48px; height: 48px; border-radius: 12px; animation-duration: 8s; }
.mp.pf-m-drift { animation: th-drift 28s linear infinite; will-change: background-position; }
.mp.pf-m-slide { animation: th-slide 18s linear infinite; will-change: background-position; }
.mp.pf-m-blocks::before { animation: th-block-a 14s ease-in-out infinite alternate; will-change: transform; }
.mp.pf-m-blocks::after { animation: th-block-b 11s ease-in-out infinite alternate; will-change: transform; }
.mp .is-mq, .mp .pf-mq { display: block; width: 100%; overflow: hidden; }
.mp .pf-mq-track { display: inline-flex; white-space: nowrap; animation: th-marquee 12s linear infinite; }
.mp .pf-mq-item { flex: none; padding-right: 1.5em; }

@keyframes th-drift { from { background-position: 0 0; } to { background-position: 120px 80px; } }
@keyframes th-slide { from { background-position: 0 0; } to { background-position: 160px 0; } }
@keyframes th-block-a { from { transform: translate(0, 0); } to { transform: translate(-18%, 14%); } }
@keyframes th-block-b { from { transform: translate(0, 0); } to { transform: translate(28%, -20%); } }
@keyframes th-bob { from { transform: translateY(0); } to { transform: translateY(10px); } }
@keyframes th-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


.mp.pf-f-hair .mp-panel { box-shadow: inset 0 0 0 1px var(--title); }
.mp.pf-f-cap .mp-panel { box-shadow: inset 0 6px 0 var(--title); }
.mp.pf-f-rail .mp-panel { box-shadow: inset 6px 0 0 var(--title), inset -6px 0 0 var(--title); }
.mp.pf-f-window .mp-panel { box-shadow: inset 0 0 0 6px var(--title); }
.mp.pf-f-belt .mp-panel { box-shadow: inset 0 8px 0 var(--title); }

.mp.pf-s-bar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 28%; background: var(--bg2); pointer-events: none; z-index: 0;
}
.mp.pf-s-spine::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 36%; width: 14%; background: var(--bg2); pointer-events: none; z-index: 0;
}
.mp.pf-s-corners::before {
  content: ""; position: absolute; top: 0; left: 0; width: 24%; height: 16%; background: var(--bg2); pointer-events: none; z-index: 0;
}
.mp.pf-s-corners::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 20%; height: 18%; background: var(--bg2); pointer-events: none; z-index: 0;
}

.mp.pf-n-quiet .mp-name { letter-spacing: -.02em; font-weight: 600; }
.tile .mp.pf-n-quiet .mp-name { font-size: 18px; }

.pf-b-hairline .mp-btn { box-shadow: inset 0 0 0 1px var(--b-line); }
.pf-b-under .mp-btn { box-shadow: var(--b-sh); }
.pf-b-slash .mp-btn { clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.pf-b-notch .mp-btn { clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }

.mp.pf-m-crawl { animation: th-crawl 40s linear infinite; will-change: background-position; }
.mp.pf-m-rise { animation: th-rise 36s linear infinite; will-change: background-position; }
.mp.pf-m-rain { animation: th-rain 16s linear infinite; will-change: background-position; }
.mp.pf-m-jog { animation: th-jog 6s steps(5, end) infinite; will-change: background-position; }
.mp.pf-m-sway .mp-motifs i { animation: th-sway 6s ease-in-out infinite alternate; }
.mp.pf-m-spin .mp-motifs i { border-radius: 0; animation: th-spin 28s linear infinite; }
.mp.pf-m-band .mp-motifs i:first-child {
  width: 100%; height: 18%; left: 0; top: -12%; border-radius: 0; animation: th-band 8s linear infinite;
}
.mp.pf-m-band .mp-motifs i:last-child { display: none; }
.mp.pf-m-fade .mp-motifs i {
  background: transparent; box-shadow: inset 0 0 0 1px var(--bg2); animation: th-fade 7s ease-in-out infinite alternate;
}

@keyframes th-crawl { from { background-position: 0 0; } to { background-position: 80px 80px; } }
@keyframes th-rise { from { background-position: 0 0; } to { background-position: 0 160px; } }
@keyframes th-rain { from { background-position: 0 0; } to { background-position: 20px 240px; } }
@keyframes th-jog { from { background-position: 0 0; } to { background-position: 140px 0; } }
@keyframes th-sway { from { transform: translateX(0); } to { transform: translateX(12px); } }
@keyframes th-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes th-band { from { transform: translateY(0); } to { transform: translateY(140%); } }
@keyframes th-fade { from { opacity: .2; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .mp, .mp-motifs i, .mp .pf-mq-track, .mp.pf-s-blocks::before, .mp.pf-s-blocks::after,
  .mp.pf-s-bar::before, .mp.pf-s-spine::before, .mp.pf-s-corners::before, .mp.pf-s-corners::after {
    animation: none !important;
    transform: none !important;
  }
  .mp.pf-m-fade .mp-motifs i { opacity: 1; }
}


/* ---------- 1.0.6: centered login / signup (small lockup, TellHi colours) ---------- */
body.auth { background: #F4EFE6; color: #101010; }
.au.is-center { display: grid; justify-items: center; align-content: start; min-height: 100vh; min-height: 100dvh; }
.au.is-center .au-pane { width: 100%; max-width: 400px; padding: calc(36px + var(--sat)) max(20px, var(--sar)) calc(48px + var(--sab)) max(20px, var(--sal)); }
.au.is-center .au-main { max-width: 360px; width: 100%; margin: 0 auto; padding-top: 0; gap: 16px; }
.au.is-center .au-lockup { margin: 0 auto 28px; }
.au.is-center .au-lockup-svg { width: min(200px, 64vw); height: auto; }
.au.is-center .au-main h1 { text-align: center; font-size: clamp(26px, 7vw, 36px); overflow-wrap: break-word; max-width: 100%; padding-inline: 4px; }
.au.is-center .sub { text-align: center; color: #3B3B3B; }
.au.is-center .alt, .au.is-center .or { text-align: center; }
.au.is-center .form-aside { justify-content: center; }
.login-step2[hidden] { display: none !important; }
.auth .fld-box { background: #FFFFFF; box-shadow: inset 0 0 0 1px #161616; }
.auth .fld-box:focus-within { box-shadow: inset 0 0 0 2px #5D37F5; }
.auth .btn-dark { background: #5D37F5; color: #FFFFFF; box-shadow: none; }
.auth .btn-dark:hover { background: #101010; }
.auth .alt-btn { color: #5D37F5; }

/* ---------- 1.0.6: quieter Personal ---------- */
.personal { background: #F4EFE6; }
.personal .ad { background: #F4EFE6; }
.personal .side { background: #FFFFFF; box-shadow: 1px 0 0 #161616; }
.personal .ad-top { background: #F4EFE6; box-shadow: 0 1px 0 #161616; }
.personal .ad-body { padding: 28px 28px 96px; }
@media (max-width: 1023px) {
  .personal .ad-body:has(.dstage) { padding: 0; gap: 0; max-width: none; }
  .personal:has(.dstage) .dstage {
    min-height: calc(100dvh - 64px - var(--sat));
    height: calc(100dvh - 64px - var(--sat));
  }
}
.personal .card { background: #FFFFFF; border-radius: 20px; box-shadow: inset 0 0 0 1px #161616; padding: 24px 22px; }
.personal .card + .card { margin-top: 16px; }
.personal .card-h { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.personal .card-sub { color: #161616; opacity: .78; }
.personal .phome { gap: 18px; padding: 8px 0 20px; }
.personal .phome-name { font-size: 26px; letter-spacing: -.03em; }
.personal .tiles { gap: 14px; }
.personal .tile { padding: 8px 8px 10px; border-radius: 18px; box-shadow: inset 0 0 0 1px #161616; background: #FFFFFF; }
.personal .tile.is-on { box-shadow: inset 0 0 0 2px #161616; }
.personal .tiles-h { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 12px; }
.personal .up { background: #FFFFFF; box-shadow: inset 0 0 0 1px #161616; border-radius: 18px; padding: 16px; }
.personal .fld-box { background: #FFFFFF; box-shadow: inset 0 0 0 1px #161616; }
.personal .fld-box:focus-within { box-shadow: inset 0 0 0 2px #5D37F5; }
.personal .pnav { background: #FFFFFF; box-shadow: 0 -1px 0 #161616; }
.personal .ad-prev { background: #F4EFE6; }

/* Focus picker tile: full-height cover with dissolve, same frame as every other card. */
.tile-tag.is-rec { background: #101010; color: #F7F1E8; }
.lk-kind { display: block; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: #101010; margin-bottom: 1px; }
.layouts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.layouts legend { font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.layout { display: flex; }
.layout input { position: absolute; opacity: 0; pointer-events: none; }
.layout span {
  flex: 1; display: block; padding: 10px 12px; border-radius: 12px;
  border: 1px solid #161616; font-size: 13px; font-weight: 600; text-align: center; cursor: pointer;
}
.layout input:checked + span { background: #101010; color: #FFFFFF; }
.layout input:focus-visible + span { outline: 2px solid #5D37F5; outline-offset: 2px; }
.add-form.is-block { margin-top: 12px; }


/* 1.0.6 Personal: tighter, one-row actions, consistent radii, ink glyphs. */
.personal .phome { gap: 14px; padding: 0 0 12px; }
.personal .phome-name { font-size: 24px; line-height: 1.1; }
.personal .phome-url { min-height: 28px; font-size: 14px; }
.personal .phome-fol { margin: 0; font-size: 13px; font-weight: 600; color: #101010; }
.personal .phome-chips {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  flex-wrap: nowrap;
}
.personal .phome-chips .btn {
  width: 100%; min-width: 0; justify-content: center; padding: 0 8px;
  border-radius: 999px;
}
.personal .share-url { border-radius: 999px; }
.personal .card { border-radius: 16px; padding: 20px 18px; box-shadow: inset 0 0 0 1px #101010; }
.personal .up { border-radius: 16px; box-shadow: inset 0 0 0 1px #101010; padding: 14px; }
.personal .up-th, .personal .up-th.is-wide, .personal .up-th.is-square { border-radius: 16px; }
.personal .fld-box { border-radius: 16px; box-shadow: inset 0 0 0 1px #101010; }
.personal .tile { border-radius: 16px; }
.personal .icon-btn { border-radius: 16px; color: #101010; }
.personal .icon-btn:hover { color: #101010; box-shadow: inset 0 0 0 1.5px #101010; background: #F7F1E8; }
.personal .btn-dark:hover { background: #000000; color: #FFFFFF; }
.personal .up-s { font-size: 13px; line-height: 1.35; color: #101010; }
.personal .up-empty, .personal .up-empty .ic { color: #101010; }
.personal .up-ph { color: #101010; }


/* ---------- 1.0.7: every theme card is the same size ---------- */
.tiles { align-items: start; }
@media (min-width: 1024px) {
  .tiles, .personal .tiles, .d-desk .tiles {
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  }
}
.tile { position: relative; min-width: 0; }
.tile .mp,
.personal .tile .mp {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  aspect-ratio: 3 / 5;
  height: auto;
  min-height: 0;
  overflow: hidden;
  justify-content: flex-start;
}
.tile-n,
.personal .tile-n {
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  overflow: hidden;
  white-space: nowrap;
}
.tile-tag.is-rec {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: calc(100% - 28px);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.tile .mp-focus {
  padding: 0 10px 12px;
  gap: 5px;
  justify-content: flex-end !important;
  background: #2A2118;
  color: #FFFFFF;
  overflow: hidden;
}
.tile .mp-focus .mp-focus-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #6B5344 url("/assets/focus-mini-cover.svg") center / cover no-repeat;
  -webkit-mask-image: url("/assets/focus-mask.svg");
  mask-image: url("/assets/focus-mask.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.tile .mp-focus .mp-name {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
}
.tile .mp-focus .mp-handle {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}
.tile .mp-focus .mp-icons { gap: 4px; }
.tile .mp-focus .mp-icons i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #FFFFFF;
  background: rgba(255,255,255,.14);
  box-shadow: none;
  display: grid;
  place-items: center;
}
.tile .mp-focus .mp-icons .ic { width: 11px; height: 11px; }
.tile .mp-focus-btns { width: 100%; display: grid; gap: 5px; }
.tile .mp-focus-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 22px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255,255,255,.16);
}
