
:root{--bg:#fff7ec;--card:#fff;--ink:#3b2f2a;--soft:#7a6a60;--coral:#ff7a59;--coralL:#ffe3d9;--teal:#2aa198;--tealL:#d9f3ef;--sun:#ffc94d;--sunL:#fff1c7;--lil:#8f7ee8;--lilL:#ebe7ff;--red:#e2463b;--redL:#ffe0dc;--grn:#2e9e5b;--grnL:#dcf5e5;--r:22px}
*{box-sizing:border-box}
html{font-size:20px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Assistant","Heebo",system-ui,sans-serif;font-size:1rem;line-height:1.6;direction:rtl}
body.big{font-size:1.18rem}
a{color:#b4471f}
.top{position:sticky;top:0;z-index:20;background:#fffaf3ee;backdrop-filter:blur(6px);border-bottom:2px solid #f3e2cc;display:flex;align-items:center;gap:.5rem;padding:.4rem .7rem}
.top .logo{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:0 0 52px;border:2px solid #f3d9b8;background:#fff}
.top .nm{font-weight:800;font-size:1rem;line-height:1.15;flex:1;text-decoration:none;color:var(--ink)}
.chip{display:inline-flex;align-items:center;gap:.3rem;border:2px solid #f0d2b0;background:#fff;border-radius:999px;padding:.25rem .7rem;font:inherit;font-size:1rem;color:var(--ink);cursor:pointer;min-height:44px}
main{max-width:760px;margin:0 auto;padding:1rem .9rem 2rem}
h1{font-size:1.65rem;line-height:1.25;margin:.4rem 0 .6rem}
h2{font-size:1.3rem;margin:1.6rem 0 .6rem}
h3{font-size:1.1rem;margin:1rem 0 .4rem}
.card{background:var(--card);border-radius:var(--r);box-shadow:0 4px 0 #f0dcc4,0 8px 22px #e9cfae55;padding:1rem 1.1rem;margin:.9rem 0;border:2px solid #f7e6d2}
.hero{background:linear-gradient(160deg,#ffe8d6,#fff4d6 60%,#e2f6f1);border-radius:28px;padding:1.2rem 1.1rem;margin:.6rem 0 1rem;text-align:center;box-shadow:0 5px 0 #f0d6b8}
.hero svg{width:100%;max-width:330px;height:auto}
.hero p{margin:.3rem 0}
.steps{display:grid;gap:.8rem}
.step{display:flex;gap:.8rem;align-items:center;text-decoration:none;color:var(--ink);background:#fff;border-radius:var(--r);padding:.8rem .9rem;border:2px solid #f6e3cd;box-shadow:0 4px 0 #f1dcc3;min-height:64px}
.step .n{flex:0 0 46px;height:46px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:var(--coral)}
.step:nth-child(2) .n{background:var(--teal)}.step:nth-child(3) .n{background:var(--lil)}.step:nth-child(4) .n{background:#e69b1c}.step:nth-child(5) .n{background:#d65b8a}.step:nth-child(6) .n{background:#4f8fd6}
.step b{display:block}.step small{display:block;color:var(--soft);font-size:1rem}
.tiles{display:grid;gap:.7rem}
.tile{font:inherit;text-align:right;border:3px solid #f1dcc5;background:#fff;border-radius:var(--r);padding:.8rem 1rem;cursor:pointer;min-height:60px;color:var(--ink)}
.tile[aria-pressed=true]{border-color:var(--teal);background:var(--tealL)}
.tile b{display:block;font-size:1.08rem}.tile span{color:var(--soft)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font:inherit;font-weight:700;font-size:1.05rem;border:0;border-radius:999px;padding:.7rem 1.3rem;min-height:52px;background:var(--coral);color:#fff;cursor:pointer;text-decoration:none;box-shadow:0 4px 0 #d95f40;margin:.25rem}
.btn.alt{background:var(--teal);box-shadow:0 4px 0 #1f7d76}.btn.ghost{background:#fff;color:var(--ink);border:2px solid #efd3b4;box-shadow:0 3px 0 #efd3b4}
.btn:active{transform:translateY(3px);box-shadow:none}
.row{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}
.phone{background:#fdfaf6;border:3px solid #e9d8c4;border-radius:28px;padding:.8rem;max-width:400px;margin:.6rem auto;box-shadow:0 6px 0 #ead7bf;position:relative;touch-action:pan-y;user-select:none}
.phone .bar{display:flex;align-items:center;gap:.5rem;border-bottom:2px dashed #eedfcb;padding-bottom:.5rem;margin-bottom:.6rem}
.phone .av{flex:0 0 44px;height:44px;border-radius:50%;display:grid;place-items:center}
.phone .who{font-weight:800;line-height:1.2;word-break:break-word}.phone .kind{color:var(--soft);font-size:1rem}
.bub{background:#fff;border:2px solid #eedcc6;border-radius:20px 20px 20px 6px;padding:.7rem .85rem;line-height:1.55;word-break:break-word}
.k-sms .bub{background:#eef6ff;border-color:#cfe2f7}.k-chat .bub{background:#e8f8ec;border-color:#c4ebcf}.k-mail .bub{background:#fff;border-color:#e6dccd}.k-call .bub{background:#f3efff;border-color:#ddd5ff}.k-web .bub{background:#fff6e2;border-color:#f6dfa9}.k-qr .bub{background:#fdf0f4;border-color:#f6cdd9}
.subj{font-weight:800;margin-bottom:.3rem}
.tm{font-size:1rem;color:var(--soft);text-align:left;margin-top:.3rem}
.drag-hint{text-align:center;color:var(--soft)}
.fb{border-radius:18px;padding:.8rem 1rem;margin:.7rem 0;font-weight:600}
.fb.ok{background:var(--grnL);border:2px solid #9fdcb5}.fb.no{background:var(--redL);border:2px solid #f5aea6}.fb.info{background:var(--sunL);border:2px solid #f3d684}
.prog{height:14px;background:#f2e3d1;border-radius:99px;overflow:hidden;margin:.4rem 0 .8rem}.prog i{display:block;height:100%;background:linear-gradient(90deg,var(--teal),#7fd6c9);border-radius:99px;transition:width .3s}
.score{display:flex;justify-content:space-between;color:var(--soft);font-weight:700}
.seg{border-radius:8px;cursor:pointer;padding:0 .05rem}
.seg:focus{outline:3px solid var(--lil)}
.seg.hit{background:#ffd3cc;box-shadow:inset 0 -3px 0 var(--red);font-weight:700}
.seg.miss{background:#eee8e0}
.flags{list-style:none;padding:0;margin:.5rem 0}.flags li{background:#fff;border:2px solid #f5c9c2;border-radius:16px;padding:.5rem .8rem;margin:.4rem 0;display:flex;gap:.5rem;align-items:flex-start}
.flags li svg{flex:0 0 26px;margin-top:.2rem}
.opt{display:block;width:100%;text-align:right;font:inherit;background:#fff;border:3px solid #efd8bf;border-radius:18px;padding:.75rem 1rem;margin:.5rem 0;cursor:pointer;min-height:56px;color:var(--ink)}
.opt.ok{border-color:var(--grn);background:var(--grnL)}.opt.no{border-color:var(--red);background:var(--redL)}
.opt:disabled{cursor:default;opacity:1}
.k{color:#8a3d1c;background:#fff0d1;border-radius:4px;padding:0}
.gl{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}
.gl td,.gl th{border-bottom:1px solid #f1e2cf;padding:.45rem .5rem;text-align:right;vertical-align:top}
.gl th{background:#fff1dd}
.gl td[lang]{direction:ltr;text-align:left}
.tw{overflow-x:auto}
table.t{width:100%;border-collapse:collapse;background:#fff}table.t td,table.t th{border:1px solid #efdcc6;padding:.45rem;vertical-align:top;text-align:right}table.t th{background:#fff1dd}
.say{display:inline-flex;align-items:center;gap:.3rem;font:inherit;font-size:1rem;background:var(--lilL);border:0;border-radius:999px;padding:.3rem .8rem;cursor:pointer;min-height:44px;color:#4b3fa8}
.tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin:.5rem 0}
.tabs button{font:inherit;border:2px solid #efd3b4;background:#fff;border-radius:999px;padding:.4rem .9rem;min-height:48px;cursor:pointer;color:var(--ink)}
.tabs button[aria-selected=true]{background:var(--coral);color:#fff;border-color:var(--coral)}
.pick{display:inline-block;font:inherit;border:2px solid #e8d2b8;background:#fff;border-radius:14px;padding:.45rem .8rem;margin:.25rem;cursor:pointer;min-height:48px;text-align:right;color:var(--ink)}
.pick[aria-pressed=true]{background:var(--sunL);border-color:#e6a91a;font-weight:700}
textarea,input[type=text]{width:100%;font:inherit;border:2px solid #ead6bf;border-radius:14px;padding:.6rem .8rem;background:#fffdf9;color:var(--ink)}
.poster{background:linear-gradient(170deg,#fff4cf,#ffe2d4);border:4px dashed var(--coral);border-radius:26px;padding:1.2rem;text-align:center}
.poster h2{margin:.3rem 0;font-size:1.6rem;color:#b2361f}
.poster ul{text-align:right;padding-inline-start:1.2rem}
.chat{background:#efe9df;border-radius:24px;padding:.8rem;min-height:200px}
.chat .m{max-width:85%;padding:.55rem .8rem;border-radius:18px;margin:.4rem 0;word-break:break-word}
.chat .them{background:#fff;margin-left:auto;border-bottom-right-radius:6px}
.chat .me{background:#d9f5d0;margin-right:auto;border-bottom-left-radius:6px}
.rulecard{background:#fff;border:4px solid var(--sun);border-radius:26px;padding:1rem 1.2rem}
.rulecard h2{text-align:center;margin:.2rem 0 .6rem}
.rulecard ol li{margin:.3rem 0}
.grid{display:grid;gap:.8rem}
.rel{display:block;text-decoration:none;color:var(--ink);background:#fff;border:2px solid #e6eef0;border-radius:var(--r);padding:.8rem 1rem;box-shadow:0 4px 0 #d9e9ec}
.rel b{display:block}.rel small{color:var(--soft);font-size:1rem}
.note{background:var(--lilL);border-radius:18px;padding:.8rem 1rem;border:2px solid #d6cdfb}
.foot{text-align:center;color:var(--soft);padding:1.4rem .8rem 2rem;border-top:2px solid #f3e2cc;margin-top:2rem;font-size:1rem}
.foot nav a{margin:0 .4rem;display:inline-block;min-height:44px;line-height:44px}
.only{display:none}
body[data-t=reg] .only.reg,body[data-t=hanam] .only.hanam,body[data-t=olim] .only.olim{display:block}
body[data-t=hanam] .not-hanam{display:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.done{text-align:center}
.done svg{width:120px;height:120px}
@media (min-width:640px){.grid{grid-template-columns:1fr 1fr}.tiles{grid-template-columns:1fr 1fr 1fr}}
@media print{.top,.foot,.noprint,.tabs,.btn{display:none!important}body{background:#fff}.card{box-shadow:none}}
