.personalization-page{position:absolute;z-index:130;inset:env(safe-area-inset-top) 0 calc(var(--nav-h) + env(safe-area-inset-bottom));background:linear-gradient(150deg,#fff,var(--theme-faint));display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateX(28px);transition:opacity .24s,transform .42s cubic-bezier(.22,.8,.2,1),visibility .42s;overflow:hidden}
.personalization-page.open{opacity:1;visibility:visible;transform:none}.personalization-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:15px 20px;flex:none}.personalization-head h1{font-size:21px;text-align:center;margin:0;color:var(--ink)}.personalization-head button{width:44px;height:44px;border:1px solid #fff;background:#ffffff8c;border-radius:50%;color:var(--theme-ink);font-size:32px;line-height:1;box-shadow:0 4px 18px #526f8b0b}.personalization-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 22px 28px;scrollbar-width:none}.personalization-intro{font-size:14px;color:var(--muted);margin:5px 0 22px}.personalization-card{padding:23px 20px;margin-bottom:18px;border:1px solid #fff;border-radius:28px;background:linear-gradient(135deg,#ffffffbd,#ffffff60);box-shadow:inset 0 1px #fff,0 8px 28px #526f8b09}.personalization-card h2{margin:0 0 8px;font-size:18px;font-weight:600;color:var(--ink)}.personalization-card p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 20px}.theme-swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.theme-swatch{display:grid;justify-items:center;gap:10px;background:none;border:0;padding:5px 0;color:var(--muted);font-size:11px;min-height:66px;cursor:pointer}.theme-swatch i{width:33px;height:33px;background:var(--swatch);border-radius:50%;border:3px solid #fff;box-shadow:0 2px 7px #2030401a;position:relative;transition:transform .25s}.theme-swatch[aria-pressed=true]{color:var(--theme-ink)}.theme-swatch[aria-pressed=true] i{transform:scale(1.12);outline:1px solid var(--swatch);outline-offset:3px}.theme-swatch[aria-pressed=true] i:after{content:'✓';color:#fff;position:absolute;inset:0;display:grid;place-items:center;font-size:15px}.theme-custom{display:flex;align-items:center;gap:12px;margin-top:22px;font-size:13px;color:var(--muted)}.theme-custom input{width:44px;height:44px;padding:4px;border:1px solid #fff;border-radius:12px;background:#ffffff8a;cursor:pointer}.theme-custom button{margin-left:auto;border:0;background:transparent;color:var(--theme-ink);font:inherit;min-height:44px;padding:0 4px}.theme-preview{margin-top:16px;display:flex;align-items:center;gap:10px;padding:16px 12px;background:var(--theme-faint);border:1px solid #fff;border-radius:18px}.theme-preview-label{color:var(--theme-ink);font-size:12px;font-weight:600}.theme-preview-bubble{padding:9px 13px;color:var(--theme-ink);background:var(--theme-soft);border:1px solid #fff;border-radius:15px;font-size:12px}.theme-preview-dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:var(--theme-color)}.personalization-avatar{display:grid;grid-template-columns:1fr 115px;align-items:center;gap:5px}.personalization-avatar p{margin-bottom:15px}.personalization-avatar canvas{width:115px;height:115px}.personalization-edit{min-height:44px;padding:10px 15px;border:1px solid #fff;border-radius:16px;background:linear-gradient(135deg,#fff9,var(--theme-soft));color:var(--theme-ink);font:inherit;font-size:13px;box-shadow:inset 0 1px #fff,0 5px 15px #526f8b0c}.personalization-edit span{margin-left:10px}.personalization-storage{color:var(--muted);font-size:11px;line-height:1.8;margin:0 6px}.personalization-page button:focus-visible,.personalization-page input:focus-visible{outline:2px solid var(--theme-color);outline-offset:3px}
:root[data-mori-theme] .app{background:radial-gradient(ellipse at 83% 16%,var(--theme-soft),transparent 55%),#f8fafc}:root[data-mori-theme] .ambient{background:radial-gradient(circle at 80% 18%,rgba(var(--theme-rgb),.10),transparent 45%)}:root[data-mori-theme] .app .chat-screen{background:radial-gradient(ellipse at 80% 60%,rgba(var(--theme-rgb),.075),transparent 60%),#f8fafc}
:root[data-mori-theme] .app .video-nav .tab[aria-selected=true],:root[data-mori-theme] .nav-lens-item.is-selected,:root[data-mori-theme] .mori-edit-label,:root[data-mori-theme] .brand-blue,:root[data-mori-theme] .chat-person h1 .brand-blue,:root[data-mori-theme] .profile-stat strong,:root[data-mori-theme] .chat-rest{color:var(--theme-ink)}:root[data-mori-theme] .profile-row-icon,:root[data-mori-theme] .profile-stat{background:var(--theme-soft);color:var(--theme-ink)}:root[data-mori-theme] .profile-avatar{background:linear-gradient(140deg,#fff,var(--theme-soft));color:var(--theme-ink)}:root[data-mori-theme] .auth-submit{background:var(--theme-color);color:#fff}:root[data-mori-theme] .chat-send{background:var(--theme-soft);color:var(--theme-ink)}:root[data-mori-theme] .mori-body-reply,:root[data-mori-theme] .mori-reply-typing{color:var(--theme-ink);background:linear-gradient(135deg,#ffffff6b,rgba(var(--theme-rgb),.035),rgba(var(--theme-rgb),.10))}:root[data-mori-theme] input,:root[data-mori-theme] .mori-row input{accent-color:var(--theme-color)}:root[data-mori-theme] .mori-studio-head .mori-save{background:var(--theme-soft);color:var(--theme-ink)}
@media(max-width:350px){.personalization-content{padding-inline:15px}.personalization-card{padding:20px 15px}.personalization-avatar{grid-template-columns:1fr 95px}.personalization-avatar canvas{width:95px;height:95px}}
:root[data-mori-theme] .auth-submit{background:linear-gradient(140deg,#ffffffb0,var(--theme-soft));color:var(--theme-ink)}
:root[data-mori-theme] .splash-loader i{background:var(--theme-color)}:root[data-mori-theme] #particleCanvas,:root[data-mori-theme] #hikeTransitionCanvas{filter:hue-rotate(var(--theme-hue-shift))}
:root[data-mori-theme] .app .hike-action{background:linear-gradient(135deg,#ffffffd9,var(--theme-soft))!important;color:var(--theme-ink)!important}:root[data-mori-theme] .app .node-pin{background:var(--theme-color)!important}:root[data-mori-theme] .app .node-tag{color:var(--theme-ink)!important}
@media(prefers-reduced-motion:reduce){.personalization-page,.theme-swatch i{transition:none}}
