:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:#0c1523;color:#e7eefc}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#183251 0%,#0d1829 43%,#0a1422 100%);min-height:100vh}a{color:#b7d8fc;text-decoration:none}a:hover{text-decoration:underline}.bar{display:flex;gap:18px;align-items:center;border-bottom:1px solid #2b405d;background:#0b1526dd;padding:13px max(16px,calc((100vw - 1240px)/2));}.bar .brand{font-size:18px;color:#e6b764;font-weight:800;white-space:nowrap}.bar .brand span{color:#e5eefc}.bar nav{margin-left:auto;display:flex;gap:20px;flex-wrap:wrap}.version,.eyebrow{font-size:12px;color:#a8bed6;font-weight:750;letter-spacing:.1em}main{max-width:1240px;margin:auto;padding:36px 20px 50px}.head{display:flex;align-items:center;justify-content:space-between;gap:20px}.head>div:first-child{max-width:860px}h1{font-size:clamp(29px,3.8vw,43px);line-height:1.13;margin:8px 0 12px}h2{font-size:19px;margin:0}.lead{color:#b8c8de;line-height:1.65;margin:0 0 28px}.pill{background:#1b3049;border:1px solid #405f7c;color:#d4e9ff;border-radius:50px;padding:12px 18px;font-size:14px;white-space:nowrap}.decks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.deck,.instructions{border:1px solid #354b64;background:linear-gradient(180deg,#1b2b40ee,#152337fa);border-radius:18px;padding:21px;box-shadow:0 16px 45px #0002}.deck-header{display:flex;gap:13px;align-items:center;margin-bottom:18px}.deck-header>div{flex:1}.deck-header p{font-size:12px;color:#a9bed2;margin:5px 0 0}.number{display:grid;place-items:center;background:#263e5d;color:#dec48a;border:1px solid #536d86;border-radius:12px;width:43px;height:43px;font-weight:900}.state{white-space:nowrap;font-size:11px;color:#abc6e3;border:1px solid #526a84;padding:6px 8px;border-radius:8px}.state.success{color:#93e2b3;border-color:#387c67}.state.error{color:#ffb7b7;border-color:#8c4444}label{display:block;color:#c2d6ec;font-size:13px;margin-bottom:8px}select{width:100%;background:#0d1b2d;color:#f5f9ff;border:1px solid #526987;border-radius:9px;padding:12px;font:inherit;font-size:14px}.summary{padding-top:18px}.roster{display:flex;gap:12px}.avatar{position:relative;flex:1;min-width:0;max-width:140px;height:165px;border:1px solid #51617c;border-radius:11px;background:linear-gradient(135deg,#27374c,#12263b);overflow:hidden}.avatar img{width:100%;height:100%;object-fit:contain}.avatar span{position:absolute;bottom:0;left:0;right:0;background:#091323e8;color:#f2f4fa;font-size:11px;text-align:center;padding:6px 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar.placeholder{display:grid;place-items:center}.avatar b{font-size:30px;color:#e6c87e}.meta{margin-top:13px;color:#a8c6db;font-size:13px}.code{display:flex;align-items:center;gap:7px;margin-top:11px}.code code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;padding:12px;background:#0b1a2b;border-radius:8px;color:#d7e0f3;font-size:11px;border:1px solid #304a67}.code button{white-space:nowrap}.controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:23px 0}button,.button{border:1px solid #567189;background:#263c55;color:#f2f7ff;padding:13px 16px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit}.button{text-decoration:none}.primary{background:#d9b979;color:#172138;border-color:#f0ce85;font-size:16px;padding:16px 27px}.primary:hover{background:#eed197}.primary:disabled{opacity:.5;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(1.15)}#notice{color:#97c9ef;padding:12px 0;font-size:13px;min-height:40px}#notice[data-kind=error],.error-text{color:#ffb9b9}.warn{color:#f9ce88;font-size:12px}.subtle{font-size:12px;color:#9bb0c8;line-height:1.6}.instructions{margin-top:10px}.instructions h2{margin-bottom:16px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.steps>div{background:#102036;border:1px solid #2a4562;border-radius:12px;padding:14px}.steps b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#3c5774;color:#e9ca82}.steps p{font-size:13px;color:#cbd9e9;line-height:1.6;margin-bottom:0}footer{font-size:12px;color:#8099b4;line-height:1.8;margin-top:25px}footer a{color:#b2cde7}@media(max-width:850px){.bar{flex-wrap:wrap}.bar nav{margin:0}.decks{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}.head{align-items:flex-start;flex-direction:column}.lead{margin-bottom:5px}}@media(max-width:490px){main{padding:18px 12px}.bar{padding:12px}.bar nav{gap:11px;font-size:12px}.deck{padding:13px}.deck-header{flex-wrap:wrap}.avatar{height:134px}.steps{grid-template-columns:1fr}.controls>*{width:100%;text-align:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
