/* Public welcome and email/password steps share the signed-in appearance tokens. */
.locket-entry,.locket-entry :is(button,input,a,p,span,h1,h2,label,summary) { font-family: var(--locket-font-family); -webkit-font-smoothing: antialiased; }
:root[data-locket-auth="guest"] .app-shell { visibility: hidden; }
.locket-entry { position: fixed; inset: 0; z-index: 180; isolation: isolate; height: var(--locket-viewport-height,100dvh); overflow: auto; overscroll-behavior: contain; background: var(--locket-ui-bg); color: var(--locket-ui-text); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s,visibility .25s; --entry-accent: color-mix(in srgb,var(--bs-primary) 78%,var(--locket-ui-text)); }
:root[data-entry-visible="true"] .locket-entry { opacity: 1; visibility: visible; pointer-events: auto; }
.entry-scene-host,.entry-scene-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.entry-scene-host .locket-background { height: 100%; }
.entry-scene-shade { background: linear-gradient(180deg,color-mix(in srgb,var(--locket-ui-bg) 65%,transparent),color-mix(in srgb,var(--locket-ui-bg) 88%,transparent)); }
.entry-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100%,1160px); margin-inline: auto; padding: calc(22px + env(safe-area-inset-top,0px)) 32px 12px; pointer-events: none; }
.entry-header > * { pointer-events: auto; }
.entry-brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 850; line-height: 1.1; letter-spacing: -.5px; }
.entry-brand small { display: block; font-size: 8px; line-height: 1.5; margin-top: 2px; letter-spacing: 2px; font-weight: 650; color: var(--locket-ui-muted); }
.entry-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; background: var(--bs-primary); color: var(--locket-accent-ink); border-radius: 13px 13px 13px 5px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.entry-brand-mark .ui-icon { width: 21px; height: 21px; }
.entry-brand-mark .brand-logo-img,.entry-login-mark .brand-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry-appearance,.entry-back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--locket-ui-border); border-radius: 99px; background: var(--locket-ui-card); color: var(--locket-ui-text); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s,transform .18s; }
.entry-appearance .ui-icon { width: 19px; height: 19px; color: var(--entry-accent); }
.entry-back { width: 42px; padding: 0; }
.entry-back .ui-icon { width: 21px; height: 21px; }
.entry-header [hidden] { display: none; }
.entry-welcome { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; align-content: center; gap: 32px 64px; width: min(100%,1100px); min-height: 100%; margin: 0 auto; padding: 110px 48px 70px; }
.entry-welcome[hidden] { display: none; }
.entry-art { position: relative; width: min(100%,420px); height: 460px; margin: 0 auto; color: var(--entry-accent); animation: entry-art-enter .7s cubic-bezier(.22,.8,.26,1) both; }
.entry-art-halo { position: absolute; inset: 12% 0; border-radius: 50%; background: radial-gradient(ellipse,rgba(var(--bs-primary-rgb),.12),transparent 68%); }
.entry-phone-art { position: absolute; width: 260px; height: 380px; left: 50%; top: 6%; margin-left: -130px; overflow: visible; transform: rotate(-9deg); animation: entry-phone-float 12s ease-in-out infinite; }
.entry-widget { position: absolute; overflow: visible; filter: drop-shadow(0 12px 20px #0002); }
.entry-widget-sunset { width: 142px; height: 152px; left: 1%; top: 14%; transform: rotate(-13deg); animation: entry-widget-float 11s ease-in-out -3s infinite; }
.entry-widget-flower { width: 116px; height: 128px; right: 0; bottom: 14%; transform: rotate(12deg); animation: entry-widget-float 13s ease-in-out -7s infinite reverse; }
.entry-art-note { position: absolute; display: flex; align-items: center; gap: 7px; left: 7%; bottom: 6%; padding: 11px 15px; border: 1px solid var(--locket-ui-border); border-radius: 16px 16px 16px 6px; background: var(--locket-ui-card); color: var(--locket-ui-text); font-size: 11px; font-weight: 650; transform: rotate(-5deg); animation: entry-note-enter .6s .25s ease both; }
.entry-art-note .ui-icon { width: 16px; height: 16px; color: var(--entry-accent); }
.entry-art-spark { position: absolute; color: var(--entry-accent); }
.entry-art-spark-one { width: 25px; height: 25px; right: 4%; top: 10%; transform: rotate(12deg); }
.entry-art-spark-two { width: 16px; height: 16px; left: 0; bottom: 24%; opacity: .55; }
.entry-welcome-copy { position: relative; animation: entry-copy-enter .55s .12s ease both; }
.entry-eyebrow { margin: 0 0 14px; color: var(--entry-accent); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; line-height: 1.6; }
.entry-welcome h1 { margin: 0; font-size: clamp(34px,3.3vw,44px); line-height: 1.14; letter-spacing: -1.3px; font-weight: 850; color: var(--locket-ui-text); }
.entry-lead { margin: 20px 0 0; max-width: 360px; font-size: 14px; line-height: 1.8; color: var(--locket-ui-muted); }
.entry-welcome-actions { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 360px; margin-top: 32px; }
.entry-primary { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 14px 24px; border: 0; border-radius: 99px; background: var(--bs-primary); color: var(--locket-accent-ink); font: inherit; font-size: 15px; line-height: 1.3; font-weight: 800; cursor: pointer; box-shadow: 0 6px 22px rgba(var(--bs-primary-rgb),.14); transition: transform .18s,filter .18s,background .18s; }
.entry-primary > .ui-icon { width: 21px; height: 21px; transition: transform .2s; }
.entry-primary:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.entry-primary:hover:not(:disabled) > .ui-icon { transform: translateX(3px); }
.entry-primary:active:not(:disabled) { transform: scale(.985); }
.entry-primary:disabled { color: var(--locket-ui-muted); background: var(--locket-ui-raised); cursor: default; box-shadow: none; }
.entry-create-link { font-family: var(--locket-font-sans); color: var(--locket-ui-muted); font-size: 12.5px; font-weight: 500; line-height: 1.65; text-decoration: none; text-align: center; }
.entry-create-link strong { color: var(--locket-ui-text); font-weight: 600; }
.entry-welcome-footer { position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom,0px)); display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--locket-font-sans); color: var(--locket-ui-muted); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; }
.entry-welcome-footer a { padding: 4px 8px; border-radius: 6px; color: inherit; text-decoration: none; transition: color .18s,background .18s; }
.entry-welcome-footer a:hover { color: var(--locket-ui-text); background: color-mix(in srgb,var(--locket-ui-text) 6%,transparent); text-decoration: none; }
.entry-create-link:hover strong { text-decoration: underline; }
#locketEntry #loginModal { position:absolute; inset:0; z-index:2; display:flex; align-items:safe center; justify-content:center; padding:calc(94px + env(safe-area-inset-top,0px)) 20px calc(26px + env(safe-area-inset-bottom,0px)); background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; overflow:auto; transform:none; transition:opacity .22s,visibility .22s; }
.entry-login-form { flex:0 0 auto; width:100%; max-width:430px; margin:auto; padding:30px; border:1px solid var(--locket-ui-border); border-radius:22px; background:var(--locket-ui-card); box-shadow:0 18px 60px #0001; }
.entry-form-content { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0; }
.entry-login-brand { display:flex; align-items:center; justify-content:center; gap:11px; margin:0 0 24px; }
.entry-login-mark { display:grid; place-items:center; width:46px; height:46px; flex-shrink:0; overflow:hidden; border-radius:14px; background:color-mix(in srgb,var(--bs-primary) 12%,var(--locket-ui-card)); color:var(--bs-primary); box-shadow:0 4px 14px rgba(0,0,0,.16); }
.entry-login-mark .ui-icon { width:24px; height:24px; }
.entry-login-brand strong { display:block; font-family: var(--locket-font-family); font-size:17px; font-weight:800; letter-spacing:.3px; line-height:1.4; color:var(--locket-accent-text); }
.entry-login-brand small { display:block; margin-top:2px; font-family: var(--locket-font-sans); color:var(--locket-ui-muted); font-size:11px; font-weight:500; line-height:1.5; }
#locketEntry #loginTitle { margin:0; color:var(--locket-ui-text); text-align:center; font-size:27px; font-weight:800; line-height:1.3; letter-spacing:-.3px; }
.entry-form-description { margin:8px 0 24px; font-family:var(--locket-font-sans); color:var(--locket-ui-muted); font-size:13px; font-weight:400; line-height:1.65; text-align:center; }
.entry-step-panel { width:100%; }
.entry-step-panel + .entry-step-panel { margin-top:18px; }
.entry-input-label { display:block; margin-bottom:8px; font-family:var(--locket-font-sans); color:var(--locket-ui-text); font-size:13px; font-weight:600; line-height:1.5; }
.entry-input-wrap { display:flex; align-items:center; gap:8px; min-height:48px; padding:0 13px; border:1px solid var(--locket-ui-border); border-radius:10px; background:var(--locket-ui-bg); color:var(--locket-ui-muted); transition:border-color .18s,box-shadow .18s; }
.entry-input-wrap:focus-within { border-color:var(--bs-primary); box-shadow:0 0 0 3px rgba(var(--bs-primary-rgb),.13); }
#locketEntry .entry-input-wrap input { width:100%; min-width:0; min-height:46px; padding:0; border:0; outline:none; border-radius:0; background:transparent; color:var(--locket-ui-text); font-family:var(--locket-font-sans); font-size:15px; font-weight:500; box-shadow:none; }
.entry-input-wrap input::placeholder { color:var(--locket-ui-muted); opacity:.8; }
.entry-input-wrap:has([aria-invalid="true"]) { border-color:var(--bs-danger); }
.entry-eye-button { display:grid; place-items:center; flex:0 0 32px; height:40px; padding:5px; border:0; border-radius:8px; background:transparent; color:var(--locket-ui-muted); cursor:pointer; }
.entry-eye-button .ui-icon { width:20px; height:20px; }
.entry-help { margin:8px 0 0; font-family:var(--locket-font-sans); font-size:12.5px; font-weight:500; line-height:1.65; color:var(--locket-ui-muted); }
.entry-help summary { display:flex; align-items:center; justify-content:flex-end; min-height:34px; color:var(--locket-accent-text); font-weight:600; cursor:pointer; list-style:none; }
.entry-help summary::-webkit-details-marker { display:none; }
.entry-help-body { margin:7px 0 0; padding:14px; border:1px solid var(--locket-ui-border); border-radius:10px; background:var(--locket-ui-bg); animation:entry-copy-enter .2s ease both; }
.entry-help p { margin:0 0 8px; }
.entry-help a { color:var(--locket-accent-text); font-weight:600; text-decoration:none; }
.entry-form-footer { margin-top:18px; }
#loginForm .entry-primary { min-height:48px; border-radius:10px; padding:13px 20px; font-family:var(--locket-font-sans); font-size:14px; font-weight:700; letter-spacing:.01em; }
#loginForm .entry-primary:disabled { opacity:1; box-shadow:none; }
.entry-passkey-btn { display:flex; justify-content:center; align-items:center; gap:9px; width:100%; min-height:46px; margin-top:10px; padding:11px 18px; border:1px solid var(--locket-ui-border); border-radius:10px; background:var(--locket-ui-bg); color:var(--locket-ui-text); font-family:var(--locket-font-sans); font-size:13.5px; font-weight:600; line-height:1.3; letter-spacing:.01em; cursor:pointer; transition:border-color .18s,background .18s,transform .18s,color .18s; }
.entry-passkey-btn .ui-icon { width:19px; height:19px; color:var(--entry-accent); flex-shrink:0; transition:transform .18s; }
.entry-passkey-btn:hover { border-color:color-mix(in srgb,var(--bs-primary) 55%,var(--locket-ui-border)); background:color-mix(in srgb,var(--bs-primary) 6%,var(--locket-ui-bg)); transform:translateY(-1px); }
.entry-passkey-btn:hover .ui-icon { transform:scale(1.06); }
.entry-passkey-btn:active { transform:scale(.985); }
.entry-account-hint { margin:16px 0 0; text-align:center; font-family:var(--locket-font-sans); font-size:12.5px; font-weight:500; line-height:1.65; letter-spacing:.01em; color:var(--locket-ui-muted); }
.entry-account-hint a { color:var(--locket-accent-text); font-weight:600; text-decoration:none; margin-left:2px; }
.entry-account-hint a:hover { text-decoration:underline; }
.entry-legal { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px; margin:13px 0 0; padding-top:12px; border-top:1px solid color-mix(in srgb,var(--locket-ui-border) 55%,transparent); font-family:var(--locket-font-sans); color:var(--locket-ui-muted); font-size:12.5px; font-weight:500; line-height:1.5; letter-spacing:.01em; }
.entry-legal a { display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:7px; color:var(--locket-ui-muted); font-weight:500; text-decoration:none; transition:color .18s,background .18s; }
.entry-legal a:hover { color:var(--locket-ui-text); background:color-mix(in srgb,var(--locket-ui-text) 6%,transparent); text-decoration:none; }
.entry-legal-dot { opacity:.45; font-size:11px; user-select:none; }
.entry-submit-dots { position: absolute; right: 26px; display: none; align-items: center; gap: 3px; }
.entry-submit-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: entry-dot-pulse 1s ease-in-out infinite; }
.entry-submit-dots i:nth-child(2) { animation-delay: .12s; }
.entry-submit-dots i:nth-child(3) { animation-delay: .24s; }
#loginSubmitBtn[aria-busy="true"] { background: var(--bs-primary); color: var(--locket-accent-ink); }
#loginSubmitBtn[aria-busy="true"] .entry-submit-arrow { visibility: hidden; }
#loginSubmitBtn[aria-busy="true"] .entry-submit-dots { display: flex; }
.locket-entry :is(button,a,input,summary):focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 4px; }
.locket-entry .entry-input-wrap input:focus-visible { outline: 0; }
.locket-entry .waves-ripple { display: none; }
:root[data-entry-visible="true"] #backgroundPickerBackdrop { position: fixed; z-index: 249; }
:root[data-entry-visible="true"] #backgroundPickerSheet { position: fixed; inset: auto 0 0; z-index: 250; width: 100%; max-width: 600px; max-height: calc(var(--locket-viewport-height,100dvh) - 24px - env(safe-area-inset-top,0px)); margin-inline: auto; border: 1px solid var(--locket-ui-border); border-bottom: 0; }
:root[data-entry-visible="true"] #backgroundPickerSheet .background-picker-close { background: var(--locket-ui-raised); color: var(--locket-ui-text); }
:root[data-entry-visible="true"] .background-picker-grid { max-width: 520px; }
.entry-art.is-paused * { animation-play-state: paused !important; }
@keyframes entry-art-enter { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes entry-copy-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes entry-note-enter { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes entry-phone-float { 0%,100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-7px); } }
@keyframes entry-widget-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes entry-dot-pulse { 0%,70%,100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-2px); } }
@media (max-width:1024px) {
  .entry-header { padding: calc(18px + env(safe-area-inset-top,0px)) 22px 10px; }
  .entry-welcome { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 100%; padding: calc(86px + env(safe-area-inset-top,0px)) 24px calc(70px + env(safe-area-inset-bottom,0px)); text-align: center; }
  .entry-art { flex-shrink: 0; width: 310px; max-width: 100%; height: clamp(230px,37vh,340px); }
  .entry-phone-art { height: 100%; width: auto; max-width: 220px; top: 0; left: 50%; margin: 0; translate: -50% 0; }
  .entry-widget-sunset { width: 104px; height: 112px; left: 1%; top: 12%; }
  .entry-widget-flower { width: 90px; height: 98px; bottom: 15%; right: 0; }
  .entry-art-note { left: 0; bottom: 0; padding: 9px 12px; font-size: 10px; }
  .entry-art-spark-one { right: 1%; }
  .entry-welcome h1 { font-size: clamp(28px,5.5vw,40px); line-height: 1.18; letter-spacing: -1px; }
  .entry-welcome-copy { width: 100%; }
  .entry-eyebrow { font-size: 8px; letter-spacing: 1px; margin-bottom: 9px; }
  .entry-lead { margin: 12px auto 0; font-size: 12px; line-height: 1.7; }
  .entry-welcome-actions { max-width: 360px; margin: 22px auto 0; gap: 13px; }
  .entry-primary { min-height: 52px; font-size: 14px; }
  .entry-welcome-footer { bottom: calc(21px + env(safe-area-inset-bottom,0px)); font-size: 12px; }
  :root[data-entry-visible="true"] #backgroundPickerSheet { max-width: none; }
}
@media (min-width:600px) and (max-width:1024px) { .entry-art { width: 400px; height: 420px; } .entry-phone-art { max-width: 290px; } .entry-widget-sunset { width: 140px; height: 150px; } .entry-widget-flower { width: 115px; height: 126px; } .entry-lead { font-size: 14px; } .entry-welcome { gap: 28px; } }
@media (max-height:720px) { .entry-welcome { padding-top:78px; gap:10px; } .entry-art { height:210px; } .entry-welcome h1 { font-size:28px; } .entry-welcome-actions { margin-top:16px; } .entry-welcome .entry-eyebrow { display:none; } }
@media (max-width:480px) { #locketEntry #loginModal { padding-inline:16px; } .entry-login-form { padding:26px 22px; border-radius:18px; } }
@media (max-height:640px) { #locketEntry #loginModal { padding-top:calc(76px + env(safe-area-inset-top,0px)); padding-bottom:16px; } .entry-login-form { padding:20px; } .entry-login-brand { margin-bottom:14px; } .entry-login-mark { width:36px; height:36px; border-radius:11px; } .entry-login-brand strong { font-size:15px; } #locketEntry #loginTitle { font-size:21px; } .entry-form-description { margin:6px 0 18px; } .entry-step-panel + .entry-step-panel { margin-top:14px; } .entry-form-footer { margin-top:12px; } .entry-account-hint { margin-top:14px; font-size:12px; } .entry-legal { margin-top:10px; font-size:11.5px; } }
@media (max-height:580px) { .entry-welcome { padding-bottom:55px; } .entry-art { height:140px; width:250px; } .entry-widget-sunset { width:72px; height:78px; } .entry-widget-flower { width:65px; height:72px; } .entry-art-note { display:none; } .entry-welcome h1 { font-size:24px; } .entry-lead { font-size:11px; margin-top:8px; } }
@media (prefers-reduced-motion:reduce) { .locket-entry,.locket-entry *,.locket-entry *::before { animation:none !important; transition:none !important; } }
