:root{color-scheme:light;--ink:#282432;--muted:#625b6d;--purple:#775198;--soft:#f0e9f8;--line:#e5ddef;--white:#fff;--background:#f7f5fb;font-family:"SUIT Variable",Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif;color:var(--ink);background:var(--background)}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:0;font-size:16px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
main{max-width:522px;margin-inline:auto;padding:clamp(24px,8vw,70px) 18px 28px;padding-bottom:max(28px,env(safe-area-inset-bottom))}
header{padding:0 3px 22px}
header img{width:min(100%,320px);height:auto;display:block}
.intro{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:clamp(20px,5vw,36px)}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(26px,7vw,40px);line-height:1.16;letter-spacing:-.048em;font-weight:850}
.intro-copy{margin:10px 0 20px;color:var(--muted)}
.account{padding:14px 15px;border-radius:14px;background:var(--soft)}
.account h2,.account h3{color:#583b73;font-size:17px;margin-bottom:5px}
.account p{font-size:14px}
.actions{display:grid;gap:10px;margin-top:18px}
button,input{font:inherit}
button{cursor:pointer}
.action{min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid transparent;border-radius:12px;text-decoration:none;padding:9px 13px;font-weight:760}
.primary{background:var(--purple);color:white;position:relative;padding-inline:29px}
.primary span{position:absolute;right:13px;font-size:23px;font-weight:450;line-height:1}
.secondary{background:var(--white);color:#654286;border-color:#d9c9e6}
a:hover,button:hover{filter:brightness(.96)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #704592;outline-offset:3px}
.account-link{color:#5d3e7b;text-align:center;padding-top:6px;font-size:14px;font-weight:760}
.help{font-size:13px;color:var(--muted);text-align:center}
dialog{color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:21px;padding:17px;width:min(calc(100% - 26px),450px);max-height:calc(100dvh - 24px);overflow:auto}
dialog::backdrop{background:#24163380}
.guide-header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.guide-header h2{font-size:21px;letter-spacing:-.03em}
.close{display:grid;place-items:center;width:44px;height:44px;border:none;border-radius:10px;background:var(--soft);color:#654286}
svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.preview{display:flex;align-items:center;gap:10px;font-weight:750;margin:10px 0 14px}
.preview img{width:48px;height:48px;border:1px solid var(--line);border-radius:12px}
.devices{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.devices button{min-height:42px;padding:6px 10px;border-radius:9px;border:1px solid var(--line);color:#5d3e7b;background:white}
.devices button[aria-pressed="true"]{background:var(--purple);border-color:var(--purple);color:white}
.steps{padding:0;margin:0;list-style:none;display:grid;gap:8px}
.steps li{display:flex;align-items:center;gap:9px;font-size:14px}
.steps .glyph{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:9px;background:var(--soft);color:#654286}
#copy{margin-top:9px;width:100%;min-height:39px}
#copy-url{width:100%;margin-top:7px}
#copy-result:not(:empty){margin-top:8px}
