html:not(:has(#app)),body:not(:has(#app)){margin:0;background:#f7f6ec}
.handoff-screen{min-height:100dvh;box-sizing:border-box;padding:max(32px,env(safe-area-inset-top)) 24px max(32px,env(safe-area-inset-bottom));display:grid;place-items:center;background:#f7f6ec;color:#284e40;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif}.handoff-card{width:min(100%,410px);padding:30px 26px;box-sizing:border-box;background:#fffef8;border:1px solid #e4e7d9;border-radius:24px;box-shadow:0 12px 40px #264b3e0b}.handoff-brand{display:flex;align-items:center;gap:10px;font-size:17px;letter-spacing:.08em;margin:0 0 28px}.handoff-brand img{width:32px;height:32px}.handoff-card h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:500;font-size:25px;line-height:1.6;letter-spacing:.03em;margin:0 0 14px}.handoff-card p{font-size:14px;line-height:1.9;white-space:pre-line}.handoff-card ol{padding-left:0;list-style:none;counter-reset:steps;margin:24px 0}.handoff-card li{counter-increment:steps;display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.8;margin:20px 0}.handoff-card li:before{content:counter(steps);display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#e8ede0;color:#315c49;font-size:13px}.handoff-card button{display:block;width:100%;border:0;border-radius:12px;background:#2c5848;color:#fffef8;padding:15px 12px;margin:14px 0 0;font:inherit;font-size:14px;cursor:pointer}.handoff-card button:disabled{opacity:.55;cursor:wait}.handoff-card button.secondary{background:transparent;color:#395e4e;border:1px solid #dfe4d6}.handoff-card .handoff-small{font-size:11px;color:#73806d;line-height:1.8}.handoff-card [role=status]{font-size:12px;color:#576c58;min-height:1.8em}.handoff-share{width:18px;height:22px;vertical-align:middle;display:inline-block;margin:0 4px}.handoff-load-error{padding:40px;line-height:1.8;color:#284e40;font-family:sans-serif}.handoff-screen [hidden]{display:none}
.handoff-browser{padding:26px 22px}
.handoff-card{position:relative;max-height:calc(100dvh - 64px);overflow-y:auto}
.handoff-card button.handoff-close{position:sticky;top:0;float:right;z-index:1;display:grid;place-items:center;width:40px;height:40px;margin:-10px -8px 0 4px;padding:0;border:1px solid #e4e7d9;border-radius:50%;background:#fffef8;color:#395e4e;font-size:24px;line-height:1}
.handoff-card button.handoff-close[hidden]{display:none}
.handoff-card .handoff-brand{padding-right:30px}
.handoff-card [role=status]:empty{display:none}
.handoff-browser .handoff-brand{margin-bottom:20px}
.handoff-browser h1{font-size:24px;color:#203f33;margin-bottom:18px}
.handoff-browser .handoff-browser-steps{margin:20px 0 18px}
.handoff-browser-steps li{gap:10px;margin:0 0 22px}
.handoff-browser-steps li:before{background:#315c49;color:#fffef8;font-weight:600}
.handoff-browser-steps strong{display:block;font-size:17px;line-height:1.6;color:#203f33}
.handoff-browser-steps p{font-size:16px;font-weight:500;line-height:1.75;color:#203f33;margin:7px 0 0}
.handoff-card .handoff-completion{font-size:14px;line-height:1.8;color:#315c49;margin:4px 0 20px}
.handoff-card .handoff-copy-help{font-size:12px;line-height:1.85;color:#61715e;margin:24px 0 10px}
.handoff-card button.handoff-back{border:0;padding:11px 8px;font-size:12px;color:#61715e}
.handoff-browser button.secondary{font-size:13px;padding:12px}
.handoff-browser button.handoff-back{font-size:12px;padding:10px 8px}
@media(max-width:380px){.handoff-card.handoff-browser{padding:24px 18px}.handoff-browser-steps li{gap:9px}.handoff-browser h1{font-size:23px}}
#settings-dialog[data-install-guide="true"]{margin:auto;width:min(410px,calc(100% - 32px));max-height:calc(100dvh - 40px);border-radius:24px;padding:12px 24px 24px;scroll-behavior:auto}
#settings-dialog[data-install-guide="true"]>:not(.sheet-top):not(#settings-title):not(#home-install-guide){display:none!important}
#settings-dialog[data-install-guide="true"]>.sheet-top{top:0;min-height:44px;padding:0;margin:0 0 2px}
#settings-dialog[data-install-guide="true"]>#settings-title{font-size:24px;font-weight:500;line-height:1.6;margin:0 0 12px;color:#203f33}
#settings-dialog[data-install-guide="true"]>#home-install-guide{border:0;margin:0;padding:0;outline:none}
#settings-dialog[data-install-guide="true"]>#home-install-guide>summary{display:none}
#settings-dialog[data-install-guide="true"] .install-steps strong{font-size:15px;color:#203f33}
.handoff-card .install-single-flow,#home-install-guide .install-single-flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:24px 0 8px;font-size:16px;font-weight:500;line-height:1.9;color:#203f33}
.install-single-share{display:inline-flex;align-items:center;white-space:nowrap}
.install-single-target{white-space:nowrap}
#home-install-guide .install-single-flow[hidden]{display:none}
#home-install-guide[data-simple-safari="true"]>.install-steps{display:none}
