.d-phone{justify-items:center;gap:.6rem;min-width:0;display:grid}.d-phone__tools{justify-content:space-between;align-items:center;gap:.75rem;width:min(100%,392px);display:flex}.d-phone__hint{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-muted);font-size:13px;font-weight:600;overflow:hidden}.d-frame.d-frame--phone{--safe-top:50px;--safe-bottom:26px;--home-indicator:grid;--phone-bezel:color-mix(in srgb, var(--device-bezel) 74%, var(--ink));border:11px solid var(--phone-bezel);background:var(--bg);width:min(100%,392px);height:clamp(640px,100svh - 170px,812px);box-shadow:0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent), 0 50px 100px -40px var(--card-shadow), 0 24px 40px -28px var(--card-shadow);border-radius:54px;position:relative}.d-frame--phone .d-frame__screen{height:100%}.d-phone-status{z-index:40;height:var(--safe-top);color:var(--ink);pointer-events:none;justify-content:space-between;align-items:center;padding:4px 30px 0 34px;display:flex;position:absolute;inset:0 0 auto}.d-phone-status__time{letter-spacing:-.01em;font-variant-numeric:tabular-nums;font-size:15px;font-weight:650}.d-phone-status__island{background:var(--device-bezel);border-radius:20px;width:108px;height:31px;position:absolute;top:11px;left:50%;transform:translate(-50%)}.d-phone-status__icons{align-items:center;gap:6px;display:flex}.d-phone-status__icons svg{fill:currentColor}.d-phone-status__battery{fill:none;stroke:currentColor;opacity:.45}.d-stage.is-full .d-phone{z-index:70;background:var(--bg);align-content:center;padding:12px;position:fixed;inset:0}.d-stage.is-full .d-phone .d-frame--phone{z-index:auto;border:11px solid var(--phone-bezel);border-radius:54px;width:min(100%,48svh - 38.4px);height:min(880px,100svh - 80px);position:relative;inset:auto}.d-stage.is-full .d-phone .d-frame__screen{height:100%}@media (width<=719.98px){.d-frame.d-frame--phone{--safe-top:0px;--safe-bottom:0px;--home-indicator:none;border:1px solid var(--line);width:100%;height:calc(100svh - 128px);min-height:520px;box-shadow:none;border-radius:18px}.d-phone-status{display:none}.d-stage.is-full .d-phone{grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:0;padding:0}.d-stage.is-full .d-phone__tools{width:100%;padding:env(safe-area-inset-top) .5rem 0 1rem}.d-stage.is-full .d-phone .d-frame--phone{--safe-bottom:env(safe-area-inset-bottom);border:0;border-radius:0;width:100%;height:100%;min-height:0}}.p-app{background:var(--bg);height:100%;color:var(--ink);font-size:15px;line-height:1.4;position:relative}.p-content{flex-direction:column;height:100%;display:flex}.p-top{z-index:3;min-height:calc(44px + var(--safe-top,0px));padding:var(--safe-top,0px) 6px 0;background:color-mix(in srgb, var(--bg) 86%, transparent);backdrop-filter:blur(12px);border-bottom:1px solid #0000;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;transition:border-color .2s;display:grid;position:relative}.p-top.is-compact{border-bottom-color:var(--line)}.p-top__side{align-items:center;min-width:0;display:flex}.p-top__side--end{justify-content:flex-end}.p-top__title{text-overflow:ellipsis;white-space:nowrap;opacity:0;max-width:12rem;font-size:16px;font-weight:650;transition:opacity .2s,transform .2s;overflow:hidden;transform:translateY(4px)}.p-top.is-compact .p-top__title{opacity:1;transform:none}.p-back{min-width:0;min-height:44px;color:var(--accent);border-radius:10px;align-items:center;padding-right:6px;font-weight:550;display:inline-flex}.p-back__icon{flex:none;transform:rotate(180deg)}.p-back__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.p-iconbtn{width:44px;height:44px;color:var(--accent);border-radius:12px;place-items:center;display:grid}.p-iconbtn:disabled{opacity:.45}.p-scroll{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none;flex:1;min-height:0;position:relative;overflow-y:auto}.p-scroll::-webkit-scrollbar{display:none}.p-pull{place-items:center;display:grid;overflow:hidden}.p-pull__spinner{border:2.5px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:22px;height:22px}.p-pull.is-refreshing .p-pull__spinner{animation:.8s linear infinite p-spin}.p-screen{padding:2px 18px 28px}.p-title{letter-spacing:-.03em;margin:2px 0 14px;font-size:32px;font-weight:700;line-height:1.1}.p-title:focus{outline:none}.p-title:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.p-screen--push{animation:.38s cubic-bezier(.2,.8,.2,1) both p-push}.p-screen--pop{animation:.34s cubic-bezier(.2,.8,.2,1) both p-pop}.p-screen--tab{animation:.26s ease-out both p-tab}.p-tabs{z-index:3;padding:4px 6px calc(var(--safe-bottom,0px) + 4px);border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface) 92%, transparent);backdrop-filter:blur(12px);position:relative}.p-tabs ul{display:flex}.p-tabs li{flex:1;min-width:0}.p-tab{width:100%;min-height:52px;color:var(--text-muted);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:600;transition:color .18s;display:flex;position:relative}.p-tab span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.p-tab[aria-current=page]{color:var(--accent)}.p-tab__badge{background:var(--accent);min-width:17px;height:17px;color:var(--accent-contrast);border-radius:999px;padding:0 4px;font-size:10px;font-weight:700;line-height:17px;position:absolute;top:4px;left:calc(50% + 6px)}.p-home{z-index:4;display:var(--home-indicator,grid);touch-action:none;border-radius:11px;place-items:center;width:150px;height:22px;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.p-home span{background:var(--ink);border-radius:3px;width:134px;height:5px}.p-app .d-layer,.p-app .d-toasts{position:absolute}.p-app .d-layer{z-index:20;justify-content:stretch;align-items:flex-end}.p-app .d-drawer{width:100%;height:auto;max-height:calc(100% - var(--safe-top,0px) - 16px);padding-bottom:var(--safe-bottom,0px);border-left:0;border-radius:24px 24px 0 0;animation-name:d-sheet-in}.p-app .d-drawer:before{content:"";background:var(--line);border-radius:3px;width:40px;height:5px;margin:8px auto 0;display:block}.p-app .d-layer--center{justify-content:center;align-items:center}.p-app .d-toasts{z-index:30;left:12px;right:12px;bottom:calc(68px + var(--safe-bottom,0px));justify-items:stretch}.p-app .d-toast{max-width:none}.p-app:has(.d-layer) .d-toasts{top:calc(var(--safe-top,0px) + 8px);bottom:auto}@keyframes p-push{0%{opacity:0;transform:translate(28%)}}@keyframes p-pop{0%{opacity:0;transform:translate(-18%)}}@keyframes p-tab{0%{opacity:0;transform:scale(.985)}}@keyframes p-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.p-app *,.p-app :before,.p-app :after{transition:none!important;animation:none!important}}
