:root{color-scheme:dark;--bg:#0d121a;--panel:#171f2b;--panel2:#1b2532;--ink:#eef1f5;--muted:#a3adbf;--line:#2b3848;--gold:#e7c17b;--cyan:#81b9c4;--green:#9dd9b2;--red:#f28f9a;--purple:#c4a4fa;--shadow:0 10px 28px #0003;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Noto Sans KR","Malgun Gothic",sans-serif;font-size:16px;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 55% 0,#1b28371e,transparent 40%),var(--bg);min-height:100vh}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.43;filter:saturate(.5)}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}button:not(:disabled):active{transform:translateY(1px)}input{background:#101722;color:var(--ink);border:1px solid #39495c;border-radius:7px;padding:13px 14px;width:100%;min-width:0}input::placeholder{color:#66778c}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.3}h1{font-size:32px}h2{font-size:23px}h3{font-size:16px}p{color:#bdc6d2;line-height:1.6;font-size:15px}small{font-size:12px}label{font-size:14px;color:#adbac9;display:block;margin:14px 0 7px}.wrap{max-width:1210px;margin:0 auto;padding:0 24px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{font-size:30px;background:linear-gradient(135deg,#354551,#18212c);border:1px solid #50606b;width:45px;height:45px;display:grid;place-items:center;color:#eacc89;box-shadow:0 4px 0 #0a0f15;border-radius:3px}.brand small{display:block;color:#b9c5d1;font-size:12px;font-weight:700}.brand strong{font-size:18px;color:var(--gold);letter-spacing:-.04em}.top-right{display:flex;gap:14px;align-items:center}.save{font-size:12px;color:#98aaaf;white-space:nowrap}.save i{width:6px;height:6px;display:inline-block;background:#9edfba;box-shadow:0 0 9px #9edfba66;margin-right:4px}.quiet{border:0;background:transparent;color:#a8b4c5;padding:8px 2px;font-size:13px;font-weight:700}.edition,.overline{color:var(--gold);font-size:11px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.105em;font-weight:800}.edition{color:#8796aa}.ico{width:21px;height:21px;flex:none;display:inline-block;vertical-align:middle}.nav{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:20px}.nav button{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 18px;background:transparent;color:#a5b1c1;border:0;border-bottom:2px solid transparent;font-size:14px;font-weight:700}.nav button.active{color:var(--gold);border-color:var(--gold);background:#e7c17b0a}.layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}.main{min-width:0;display:flex;flex-direction:column;gap:16px;padding-bottom:10px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:var(--shadow)}.standard{padding:19px;display:flex;flex-direction:column;gap:14px}.scene{position:absolute;inset:0;background-image:var(--scene);background-size:cover;background-position:center;image-rendering:auto;pointer-events:none}.scene:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b101ece,transparent 85%),linear-gradient(0deg,#080d17aa,transparent 65%)}.status{position:sticky;top:12px}.status-art{height:175px;position:relative;display:flex;align-items:flex-end;justify-content:center;background:#263547;isolation:isolate;overflow:hidden}.status-art .scene:after{background:linear-gradient(0deg,#0a111fb9,transparent 75%)}.sprite{position:relative;image-rendering:pixelated;z-index:1;display:block}.status-art .sprite{height:157px;width:auto;filter:drop-shadow(0 6px 0 #0007)}.status-plate{position:absolute;top:14px;left:14px;z-index:2}.grade{font-size:13px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border:1px solid currentColor;color:#a9b8b6;background:#17232dbb;border-radius:4px;font-weight:900;letter-spacing:.01em}.grade.g0,.grade.g1{color:#abb7ba}.grade.g2{color:#9ed3ae}.grade.g3{color:#93c7e7}.grade.g4{color:#b3a3f4}.grade.g5{color:#e5be7e}.grade.g6{color:#f3a1a7}.grade.g7{color:#f0b5e6}.grade.g8{color:#ffdc8d;box-shadow:0 0 9px #fccb6666}.status-plate .grade{font-size:24px;min-width:44px;height:42px;background:#101925d9}.status-body{padding:14px 14px 17px}.status-body h2{margin:4px 0 3px;font-size:22px;word-break:break-word}.titleline{font-size:13px}.muted{color:var(--muted)}.epithet{font-size:12px;color:var(--gold);margin-top:5px}.status-numbers{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0}.status-numbers>div{padding:9px;background:#101823;border:1px solid #2b3744;border-radius:5px;min-width:0}.status-numbers span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.status-numbers strong{font-size:15px;word-break:break-word}.gold,.money{color:var(--gold)}.healthline,.statline,.result-detail{display:flex;align-items:center;justify-content:space-between;gap:10px}.healthline{font-size:12px;color:#b5c0cd;margin-top:10px}.healthline b{font-size:13px}.meter{height:6px;background:#0d1520;border-radius:3px;overflow:hidden;margin-top:5px}.meter i{display:block;height:100%;background:var(--gold);transition:width .25s}.meter.hp i{background:#89cda0}.meter.fatigue i{background:#d9a26c}.meter.skill i{background:#9fa9ee}.warning{color:#f0ac91;background:#86503b25;border:1px solid #805c3d;padding:8px;border-radius:5px;font-size:13px;margin-top:10px}.detail{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.subhead{font-size:13px;font-weight:800;color:#93a4b5;margin-bottom:6px}.statline{padding:6px 0;font-size:13px}.statline span{color:#a3abbc}.statline b{font-size:14px}.hero{min-height:194px;position:relative;display:flex;align-items:end}.hero>.scene:after{background:linear-gradient(90deg,#091017dd 0,#0b121c85 62%,transparent),linear-gradient(0deg,#131b27aa,transparent)}.hero-content{position:relative;z-index:1;padding:25px;width:100%}.hero-content h1{font-size:34px;margin:8px 0 4px}.hero-content p{font-size:14px;color:#d0dbe1}.hero-summary{display:flex;flex-wrap:wrap;gap:5px;margin-top:13px}.badge{display:inline-flex;align-items:center;justify-content:center;font-size:12px;padding:4px 8px;border:1px solid #415262;background:#131d2ba8;color:#b6c4d1;font-weight:700;border-radius:4px;white-space:nowrap}.badge.rare{border-color:#8f70bb;color:#dfc0ff;background:#282036d9}.badge.money{border-color:#7b633c;color:var(--gold);background:#312c22}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:2px}.section-head h2{margin-top:4px}.special-card{border:1px solid #715f96;position:relative;overflow:hidden;border-radius:9px;isolation:isolate;min-height:144px;box-shadow:0 0 16px #8568be23}.special-card .scene{opacity:.66}.special-card .scene:after{background:linear-gradient(90deg,#101728f2 0,#1e2536ad 58%,#1e253620)}.special-content{position:relative;padding:16px 20px;display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:end}.special-content .overline,.special-content h2,.special-content p{grid-column:1}.special-label{color:#d2b8fa}.special-content h2{font-size:23px}.special-content p{font-size:13px}.special-content button{grid-column:2;grid-row:2/4;align-self:center}.btn{border:1px solid var(--line);background:#233041;color:#dce5ef;border-radius:6px;padding:11px 14px;font-size:14px;font-weight:800;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px}.btn.primary{background:linear-gradient(130deg,#f0cb84,#d8aa60);color:#211b13;border-color:#f8d695;box-shadow:0 3px 0 #96733d50}.btn.primary:not(:disabled):hover{background:#f6d597}.btn.secondary{background:#202b39;border-color:#445568;color:#d6e0eb}.btn.secondary:not(:disabled):hover{background:#2a3849;border-color:#9fb1c4}.btn.quiet-btn{background:transparent;border:#405062 1px;font-size:12px;min-height:32px;padding:6px 8px}.btn.full{width:100%;display:flex;margin-top:7px}.offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.offer{background:#182330;border:1px solid #344354;border-radius:7px;overflow:hidden;display:flex;flex-direction:column;min-width:0;padding:0;text-align:left}.offer:hover{border-color:#7d8e9e}.offer.chosen{border-color:#d1ad6c;box-shadow:0 0 0 1px #d1ad6c,0 5px 20px #d1ad6c12}.offer-art{position:relative;height:86px;width:100%}.offer-art .scene:after{background:linear-gradient(0deg,#172232bd 0,transparent 90%)}.offer-art .grade{position:absolute;top:8px;left:8px}.offer-body{padding:11px 10px;display:flex;flex-direction:column;gap:5px;min-width:0}.offer-body strong{font-size:15px;word-break:keep-all}.offer-body span{font-size:12px;color:#aab7c8}.offer-body small{font-size:12px;color:var(--gold);font-weight:700}.contract-detail{padding:17px 18px}.contract-head{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:15px}.contract-head h2{font-size:22px;display:flex;align-items:center;gap:7px;margin-top:5px}.contract-head p{font-size:13px;margin-top:3px}.choice-list{display:flex;flex-direction:column;gap:8px}.choice{display:flex;align-items:center;gap:11px;width:100%;text-align:left;background:#101a26;border:1px solid #364658;border-radius:6px;padding:13px 12px;min-height:76px}.choice:hover{border-color:#cbad77;background:#1e2833}.choice-number{font-family:ui-monospace,monospace;flex:none;display:grid;place-items:center;width:30px;height:32px;border:1px solid #394b60;background:#233043;color:var(--gold);font-size:16px;border-radius:4px}.choice-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.choice-main strong{font-size:16px;line-height:1.38;word-break:keep-all}.choice-main small{font-size:13px;color:#abb8c9;line-height:1.4;word-break:keep-all}.prob{font-size:23px;font-variant-numeric:tabular-nums;font-weight:850;text-align:right;flex:none}.prob small{display:block;font-size:10px;color:#8193a6;font-weight:600;margin-top:2px}.good{color:var(--green)!important}.mid{color:var(--gold)!important}.bad{color:var(--red)!important}.micro,.mini-note{font-size:12px;color:#8fa0b3;line-height:1.6;margin-top:9px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.career-stop{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.career-stop p{font-size:13px;margin-top:5px}.story-art{position:relative;height:258px;overflow:hidden}.story-art .scene:after{background:linear-gradient(0deg,#101722b5,transparent 70%)}.story-person{position:absolute;right:10%;bottom:9px;display:flex;height:205px}.story-person .sprite{height:100%;filter:drop-shadow(0 8px 0 #090d1470)}.scene-label{position:absolute;left:15px;top:16px;display:flex;align-items:center;gap:8px;z-index:3}.scene-label>span:last-child{font:700 12px ui-monospace,monospace;color:#fff;background:#111927ac;padding:5px 7px;border-radius:4px}.rare-panel{border-color:#725a93}.story-body{padding:22px}.story-body h1{font-size:28px;margin:5px 0 9px}.person-name{color:var(--gold);font-weight:800;font-size:15px;display:flex;align-items:center;gap:8px;margin-bottom:8px}.person-name span{font-weight:500;color:#9faec1;font-size:12px}.story-text{font-size:16px;line-height:1.9;white-space:pre-line;margin-bottom:21px;color:#d3dbe6}.risk{font-weight:800;font-size:13px;white-space:nowrap}.result-art{height:225px;display:grid;place-items:center;position:relative;text-align:center;isolation:isolate}.result-art .scene:after{background:linear-gradient(0deg,#121a28e5,#11182570)}.result-content{position:relative;z-index:1;padding:18px}.result-content h1{font-size:27px;margin:5px 0}.result-symbol{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 9px;border:1px solid #6ab58a;background:#1e413380;color:var(--green);border-radius:50%}.result-symbol.failure{border-color:#ad6673;background:#492e3ba0;color:var(--red)}.result-symbol .ico{height:33px;width:33px}.result-body{padding:20px;display:flex;flex-direction:column;gap:10px}.result-body h2{font-size:23px}.result-body p{line-height:1.65;margin-bottom:3px}.result-detail{border-bottom:1px solid var(--line);padding:10px 0;font-size:14px}.result-detail>span{color:#a7b4c4}.result-detail b{font-size:15px}.loots,.loot-alert{background:#272039;border:1px solid #6c578e;border-radius:6px;padding:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.loot-alert strong{color:#dec5ff}.loot-alert span:last-child{color:#aab3c1;font-size:12px}.ranking-delta,.milestone-alert{padding:13px;background:#282b26;border:1px solid #8c784e;border-radius:5px;text-align:center;color:var(--gold)}.ranking-delta strong{display:block;font-size:22px;margin:6px 0}.ranking-delta small{color:#b9b6a6}.ranking-delta.drop{background:#26303c;border-color:#50667f;color:#aabdce}.milestone-alert{font-weight:900}.milestone .result-art:after,.milestone .ending-art:after,.high .result-art:after{content:"";position:absolute;inset:-70%;background:conic-gradient(transparent,#f2c7775c,transparent,#b6b1e64c,transparent);pointer-events:none;z-index:2;animation:flash 2s ease-out forwards}.high .result-art:after{background:conic-gradient(transparent,#a38ad75c,transparent,#9ed9da47,transparent)}@keyframes flash{0%{transform:rotate(-20deg) scale(.8);opacity:0}30%{opacity:1}100%{opacity:0;transform:rotate(160deg) scale(1.2)}}.large-rank{display:flex;gap:16px;align-items:center}.large-rank .grade{font-size:38px;font-weight:900;min-width:72px;height:72px}.rank-path{display:grid;grid-template-columns:repeat(9,1fr);gap:4px}.rank-path>div{border:1px solid #3d4f61;background:#101925;color:#8291a4;padding:9px 0;text-align:center;border-radius:4px;font-weight:800;font-size:13px}.rank-path .past{border-color:#406353;color:#9bcbb0}.rank-path .current{border-color:var(--gold);color:var(--gold);background:#3d3225}.tip{background:#111d2c;border-left:3px solid #7da5c0;padding:11px 13px;color:#b9c9d9;font-size:13px;line-height:1.65;border-radius:3px}.reqs{display:flex;flex-direction:column;gap:5px}.split{display:flex;gap:12px;align-items:center;justify-content:space-between}.split p{font-size:14px;margin-top:4px}.split+.split{border-top:1px solid var(--line);padding-top:14px}.job-title{display:flex;gap:12px;align-items:center}.job-icon{width:39px;height:39px;display:grid;place-items:center;flex:none;background:#1a2532;border:1px solid #3e5268;color:var(--job);border-radius:6px}.job-icon svg{width:27px;height:27px;filter:drop-shadow(0 1px 2px #0007)}.skill-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line);padding:12px 0 0}.skill-row>div{display:flex;gap:10px;min-width:0;flex:1;align-items:center}.skill-row>div>div{flex:1;min-width:0}.skill-icon{width:44px;height:44px;display:grid;place-items:center;background:#1f2c3c;border:1px solid #45596e;border-radius:5px;flex:none}.skill-icon svg{width:30px;height:30px}.skill-row h3{font-size:16px}.skill-row h3 b{font-size:13px}.skill-row p{font-size:13px}.skill-row small{font-size:11px;color:#97a3b3}.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.branch{padding:13px;display:flex;flex-direction:column;gap:8px}.branch.chosen{border-color:#cfb071}.branch h3{font-size:18px}.branch p{font-size:13px}.spell{font-size:13px;color:#cbb3ef;line-height:1.45}.tab-strip{display:flex;gap:5px;overflow:auto;scrollbar-width:thin}.tab-strip button{font-size:13px;font-weight:800;padding:10px 14px;border:1px solid #394957;background:#172230;color:#b0bfcc;border-radius:5px;white-space:nowrap}.tab-strip button.active{border-color:#d4b370;color:var(--gold);background:#353025}.item-row{display:flex;gap:11px;align-items:center;border-top:1px solid var(--line);padding-top:14px}.item-row>div:nth-child(2){flex:1;min-width:0}.item-pic{width:52px;height:52px;display:grid;place-items:center;border:1px solid #3d5166;border-radius:5px;background:#101b29;flex:none}.item-pic svg{width:37px;height:37px}.item-pic.rare{border-color:#8d73bc;background:#29213a}.item-pic.legendary{border-color:#d3ad66;background:#352b21}.item-row h3{font-size:16px;word-break:keep-all}.item-row p{font-size:12px;line-height:1.45;margin-top:3px}.item-rarity{font-size:11px;font-weight:700;color:#b4a2d5}.item-actions{display:flex;flex-direction:column;gap:5px}.equip-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.equip-slot{padding:11px;border:1px solid #3f5063;background:#0f1925;border-radius:5px;display:flex;flex-direction:column;gap:4px}.equip-slot span{color:#9fafc3;font-size:12px}.equip-slot strong{font-size:14px}.guild-current{display:flex;flex-direction:row;align-items:center;gap:14px}.guild-crest{display:grid;place-items:center;min-width:58px;height:64px;background:#111b2a;color:var(--crest);font-size:30px;font-weight:900;border:1px solid var(--crest);clip-path:polygon(0 0,100% 0,100% 78%,50% 100%,0 78%)}.guild-list{display:flex;flex-direction:column;gap:9px}.guild-card{display:flex;gap:13px;padding:15px;align-items:center}.guild-card>div{flex:1}.guild-card h3{font-size:18px}.guild-card p{font-size:14px;margin-top:3px}.guild-card small{display:block;color:#a8b5c7;margin-top:5px}.guild-buttons{display:flex;gap:7px;margin-top:10px}.leader-head{display:flex;justify-content:space-between;font-size:12px;color:#9aabbb;padding:7px 0}.leader-row{display:flex;align-items:center;gap:9px;padding:10px 5px;border-top:1px solid var(--line);font-size:14px;min-width:0}.leader-row .place{min-width:42px;font-weight:800;text-align:center;color:var(--gold)}.leader-row>div{flex:1;min-width:0}.leader-row strong{word-break:break-word}.leader-row small{color:#a893ad;display:block}.leader-row.you{border:1px solid #987c47;background:#41372455;border-radius:5px}.person-row,.archive-row{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:12px}.person-row .sprite,.archive-row .sprite{width:48px;height:60px;background:#111b29;border-radius:5px}.person-row>div,.archive-row>div{flex:1}.person-row p,.archive-row p{font-size:12px}.archive-row strong{color:var(--gold);font-size:13px}.log-row{border-top:1px solid var(--line);padding:10px 0 0;display:flex;gap:12px;align-items:flex-start}.log-row>div{flex:1}.log-row p{font-size:13px}.log-row small{color:#93a3b5;white-space:nowrap}.empty{color:#91a2b3;text-align:center;padding:16px}.end-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ending-tile{border:1px solid #344558;background:#121d2b;border-radius:6px;padding:10px;min-width:0;display:flex;flex-direction:column;gap:7px}.ending-tile h3{font-size:15px;word-break:keep-all}.ending-tile p{font-size:12px;word-break:keep-all}.ending-tile .badge{align-self:flex-start}.ending-tile.locked{opacity:.66}.ending-tile.unlocked{border-color:#9e854c;background:#342c23}.ending-option{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:14px 0}.ending-option>div{flex:1}.ending-option h3{margin:5px 0}.ending-option p{font-size:13px}.ending-art{height:285px;isolation:isolate;position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.ending-art .scene:after{background:linear-gradient(0deg,#121925de,transparent)}.ending-art .sprite{height:190px;position:absolute;top:8px;right:6%;filter:drop-shadow(0 8px 0 #0005)}.ending-title{z-index:3;position:relative;padding:22px;text-align:left;width:100%}.ending-title h1{font-size:32px;color:#f2dca6;margin-top:6px}.ending-title .overline{margin-top:8px}.create-wrap{max-width:1000px;margin:20px auto 0;display:flex;flex-direction:column;gap:16px}.start-hero{height:240px;border-radius:10px;overflow:hidden;position:relative;display:flex;align-items:center;border:1px solid #364753}.start-hero .scene:after{background:linear-gradient(90deg,#0c1521ed 0,#0c152199 55%,#0c152120 100%)}.start-hero-text{position:relative;padding:28px;z-index:1}.start-hero h1{font-size:40px;line-height:1.21;margin:9px 0}.start-hero em{font-style:normal;color:var(--gold)}.start-hero p{font-size:14px;color:#d3dae4}.create-grid{display:grid;grid-template-columns: .8fr 1.2fr;gap:15px}.creator{padding:18px;display:flex;flex-direction:column;gap:8px}.create-avatar{height:242px;position:relative;display:grid;place-items:center;overflow:hidden;background:#203143;border-radius:7px;border:1px solid #435569}.create-avatar .scene:after{background:linear-gradient(0deg,#101824da,transparent 85%)}.create-avatar .sprite{height:216px;filter:drop-shadow(0 6px 0 #0a1019b3)}.create-tools{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.looks{display:flex;flex-direction:column;gap:6px}.look{display:grid;grid-template-columns:62px 35px minmax(0,1fr) 35px;align-items:center;gap:5px;background:#111b29;padding:6px;border:1px solid #344759;border-radius:6px}.look span{color:#9eacbd;font-size:13px}.look b{font-size:13px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.look button{background:#26384b;border:1px solid #435c74;border-radius:4px;color:#c5d3df;font-size:21px;line-height:1;width:35px;height:32px}.job-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.job-select{display:flex;align-items:center;text-align:left;gap:7px;background:#131d2a;padding:8px;border:1px solid var(--line);border-radius:6px;min-width:0}.job-select.selected{border-color:var(--gold);background:#392e2475}.job-select span:nth-child(2){flex:1;min-width:0}.job-select strong{display:block;font-size:15px}.job-select small{display:block;color:#a4b2c3;font-size:11px;margin-top:3px;word-break:keep-all}.selected-check{color:var(--gold);font-size:15px}.creator label{margin-top:7px}.creator .tip{margin-top:8px}.creator .btn.full{margin-top:4px}footer{font-size:11px;color:#778797;text-align:center;margin:30px 0 17px;padding:8px;line-height:1.6;letter-spacing:.03em}footer span{color:#516173}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,15px);z-index:50;background:#293646;color:#f0e4c5;border:1px solid #9a8862;border-radius:6px;padding:12px 20px;opacity:0;visibility:hidden;transition:.18s;max-width:90vw;width:max-content;box-shadow:var(--shadow);font-size:14px}#toast.on{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:880px){.wrap{padding:0 14px}.layout{grid-template-columns:205px minmax(0,1fr);gap:12px}.nav button{padding:13px 10px;flex:1}.main{gap:14px}.status-art{height:145px}.status-art .sprite{height:131px}.status-body{padding:12px}.status-numbers{grid-template-columns:1fr}.branch-grid{grid-template-columns:1fr}.branch .btn{width:auto}.section-head h2{font-size:21px}.offer-body strong{font-size:14px}.offer-body small{font-size:11px}.offer-body span{font-size:11px}.create-grid{grid-template-columns:1fr 1.2fr}.special-content{padding:15px}.special-content p{font-size:12px}}
@media(max-width:660px){.wrap{padding:0 10px}.topbar{height:63px;padding:0 3px}.brand{gap:9px}.brand-symbol{width:36px;height:36px;font-size:24px}.brand small{font-size:10px}.brand strong{font-size:15px}.save{display:none}.quiet{font-size:12px}.top-right{gap:7px}.layout{display:flex;flex-direction:column;gap:12px}.layout>.main{width:100%;gap:12px}.status{width:100%;position:relative;top:auto;display:grid;grid-template-columns:94px 1fr;min-height:115px;border-radius:7px}.status-art{height:100%;min-height:118px;align-items:center}.status-art .sprite{height:100px;width:auto}.status-plate{left:5px;top:6px}.status-plate .grade{font-size:14px;width:auto;min-width:25px;height:25px}.status-body{padding:9px 10px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 12px;align-content:center}.status-body .overline{grid-column:1/-1;font-size:10px}.status-body h2{font-size:19px;grid-column:1;margin:0;line-height:1.22}.titleline{grid-column:2;font-size:11px;align-self:center;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epithet{display:none}.status-numbers{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;margin:5px 0;gap:5px}.status-numbers>div{display:flex;justify-content:space-between;gap:4px;padding:5px;align-items:center}.status-numbers span{font-size:10px;margin:0;white-space:nowrap}.status-numbers strong{font-size:12px}.status-body .healthline{margin-top:0;font-size:10px}.healthline b{font-size:11px}.status-body .meter{margin:1px 0;height:5px;align-self:center;grid-row:5}.status-body .healthline:nth-of-type(odd){grid-row:4}.status-body .healthline:nth-of-type(even){grid-row:4}.warning{grid-column:1/-1;margin-top:4px;font-size:11px;padding:3px 6px}.detail{display:none}.nav{margin:0;padding:3px 0;position:sticky;top:0;background:#0e1520f7;z-index:8;gap:1px}.nav button{flex:1;flex-direction:column;padding:7px 2px 6px;gap:4px;font-size:11px;min-width:0}.nav button .ico{width:19px;height:19px}.hero{min-height:135px}.hero-content{padding:14px}.hero-content h1{font-size:26px;margin:5px 0}.hero-content p{font-size:12px}.hero-summary{gap:4px;margin-top:7px}.badge{font-size:11px;padding:3px 6px}.special-card{min-height:0}.special-content{padding:12px;gap:5px}.special-content h2{font-size:20px}.special-content p{font-size:12px;line-height:1.45}.special-content button{padding:8px 10px;font-size:12px}.section-head h2{font-size:21px}.offer-grid{gap:6px}.offer-art{height:55px}.offer-art .grade{left:5px;top:5px;font-size:11px;padding:2px 4px}.offer-body{padding:7px 6px;gap:3px}.offer-body strong{font-size:13px;min-height:34px;line-height:1.27}.offer-body span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.offer-body small{font-size:10px;white-space:nowrap}.contract-detail{padding:12px}.contract-head{margin-bottom:11px}.contract-head h2{font-size:19px;line-height:1.3}.contract-head p{font-size:12px}.choice{min-height:73px;padding:10px 8px;gap:8px}.choice-number{width:25px;height:28px;font-size:14px}.choice-main strong{font-size:15px;line-height:1.38}.choice-main small{font-size:11px}.prob{font-size:21px}.prob small{font-size:10px}.story-art{height:196px}.story-person{height:170px;right:6%}.story-body,.result-body{padding:15px}.story-body h1{font-size:24px}.story-text{font-size:16px;line-height:1.75;margin-bottom:15px}.result-art{height:193px}.result-content h1{font-size:24px}.result-body h2{font-size:21px}.standard{padding:14px;gap:11px}.standard p{font-size:14px}.quick-actions{gap:6px}.btn{font-size:13px;min-height:41px;padding:10px 11px}.item-row{gap:8px}.item-pic{width:42px;height:42px}.item-pic svg{width:29px;height:29px}.item-row p{font-size:11px}.item-row h3{font-size:15px}.guild-card{padding:12px;gap:9px}.guild-crest{min-width:48px;height:52px;font-size:26px}.branch-grid{grid-template-columns:1fr}.end-grid{grid-template-columns:1fr 1fr}.ending-tile{padding:9px}.leader-row{gap:7px}.leader-row .place{min-width:33px;font-size:13px}.leader-row .grade{font-size:11px;padding:3px 4px}.leader-row strong,.leader-row b{font-size:13px}.tab-strip button{padding:9px 10px;font-size:12px}.create-wrap{margin:12px auto 0;gap:12px}.create-grid{display:flex;flex-direction:column;gap:12px}.start-hero{height:185px}.start-hero-text{padding:16px}.start-hero h1{font-size:30px}.start-hero p{font-size:13px}.creator{padding:14px}.create-avatar{height:170px}.create-avatar .sprite{height:155px}.look{grid-template-columns:66px 38px 1fr 38px;padding:5px 7px}.job-grid{gap:6px}.job-select{padding:7px}.job-icon{width:32px;height:32px}.job-icon svg{width:23px;height:23px}.job-select strong{font-size:14px}.job-select small{font-size:10px}.ending-art{height:235px}.ending-art .sprite{height:160px}.ending-title h1{font-size:27px}.career-stop{padding:12px}.career-stop b{font-size:14px}.career-stop p{font-size:12px}footer{margin:18px 0 10px;font-size:10px}}
@media(max-width:375px){.brand strong{font-size:13px}.status{grid-template-columns:77px 1fr}.status-art .sprite{height:90px}.status-numbers strong{font-size:11px}.choice-main strong{font-size:14px}.choice-main small{font-size:10px}.offer-body strong{font-size:12px}.offer-body small{font-size:9px}.story-choice{gap:5px}.risk{font-size:12px}.tab-strip button{font-size:11px;padding:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.status-toggle{display:none}.mission-brief{font-size:14px;color:#c0ccd5;margin:0 0 12px}.choice-main strong{word-break:keep-all}
@media(max-width:660px){.status-toggle{display:block;grid-column:1/-1;padding:4px;text-align:right;font-size:11px}.detail.expanded{display:block;grid-column:1/-1;border-top:1px solid var(--line);margin-top:3px;padding-top:4px}.mission-brief{font-size:13px;margin-bottom:9px}.status-body .detail .statline{padding:4px 0}}

/* Scene identity update: detailed art remains recognisable on small cards. */
.scene{background-position:var(--scene-x,50%) center;background-color:#202d3e}
.offer-art{height:114px;overflow:hidden}
.offer-art .scene:after{background:linear-gradient(0deg,#111a2a75,transparent 65%);border-bottom:3px solid var(--scene-accent,#8ea0b6)}
.offer-art .grade{background:#121b29eb;box-shadow:0 1px 4px #0007;border-color:currentColor}
.offer.chosen .offer-art .scene:after{background:linear-gradient(0deg,#141d2b44,transparent 65%);border-bottom-width:4px}
.special-card .scene{opacity:1}
.special-card .scene:after{background:linear-gradient(90deg,#111a2bee 0,#172135aa 43%,#17213540 70%,#17213500)}
.story-art .scene:after{background:linear-gradient(0deg,#101722a0,transparent 40%)}
.scene-location{position:absolute;bottom:13px;left:14px;z-index:4;padding:6px 9px;background:#0e1523de;border:1px solid #9aabbe66;border-radius:4px;color:#e3e9f2;font-size:13px;font-weight:700;max-width:65%;word-break:keep-all}
.result-art .scene:after{background:linear-gradient(0deg,#121a28bf,#11182534)}
.result-content{background:#101824b5;border:1px solid #9ba7bd39;border-radius:9px;padding:14px 20px;max-width:94%;box-shadow:0 8px 23px #080c1450}
@media(max-width:660px){.offer-art{height:78px}.special-card .scene:after{background:linear-gradient(90deg,#111a2bf0 0,#172135b0 50%,#17213530 95%)}.scene-location{font-size:11px;left:9px;bottom:8px;padding:4px 6px;max-width:58%}.result-content{padding:10px 14px}}

/* Cosmetic gallery: immediate previews replace repetitive arrow cycling. */
.look-customizer{display:flex;flex-direction:column;gap:8px;min-width:0}
.cosmetic-tabs,.shop-filters{display:flex;flex-wrap:wrap;gap:5px}
.cosmetic-tabs button,.shop-filters button{padding:8px 10px;border:1px solid #405166;border-radius:5px;background:#152333;color:#b9c5cf;font-size:13px;font-weight:750;min-height:36px}
.cosmetic-tabs button.active,.shop-filters button.active{color:var(--gold);border-color:#d9b875;background:#3a3328}
.look-caption{display:flex;justify-content:space-between;align-items:center;padding:7px 2px 3px}
.look-caption>div{display:flex;gap:8px;align-items:center}.look-caption b{font-size:14px;color:var(--gold)}.look-caption span{font-size:14px}.look-caption small{color:#9ba8b9;font-size:12px}
.cosmetic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:292px;overflow:auto;padding:3px 4px 4px;scrollbar-color:#526078 #16202b;scrollbar-width:thin}
.cosmetic-option{display:flex;flex-direction:column;align-items:center;position:relative;gap:4px;padding:5px 4px 7px;min-width:0;border:1px solid #3a485b;border-radius:6px;background:#121e2a;color:#c5d1db;font-size:12px}
.cosmetic-option.selected{border:1px solid #ebc87e;background:#393326;color:#f9e3af;box-shadow:inset 0 0 0 1px #a1854b}
.cosmetic-option:hover{border-color:#c9af7c}
.cosmetic-preview{display:grid;place-items:center;width:100%;height:61px;overflow:hidden;border-radius:4px;background:radial-gradient(ellipse at 50% 32%,#34465a,#15222e)}
.cosmetic-preview .sprite{width:100%;height:100%;max-width:89px}
.cosmetic-option>b{position:absolute;right:5px;top:5px;padding:2px 4px;background:#403a2b;color:#f7da96;border-radius:4px;font-size:11px}
.cosmetic-option>span:last-of-type{min-height:15px;word-break:keep-all;text-align:center;line-height:1.35}
.equip-slot{display:flex;flex-direction:row;align-items:center;gap:10px}.equip-slot>div:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}.equip-slot-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;background:#192839;border:1px solid #42586c;border-radius:4px}.equip-slot-icon svg{width:35px;height:35px}.item-pic .gear-icon{width:42px;height:42px}.loot-alert .item-pic{width:44px;height:44px}
@media(max-width:660px){.cosmetic-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:255px;gap:5px}.cosmetic-tabs button,.shop-filters button{font-size:12px;padding:7px 8px}.cosmetic-preview{height:52px}.cosmetic-option{font-size:11px;padding:4px 3px 6px}.equip-slot-icon{width:34px;height:34px}.equip-slot-icon svg{width:28px;height:28px}.item-pic .gear-icon{width:33px;height:33px}}
@media(max-width:365px){.cosmetic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Character identity and instant promotion notice. */
.gender-picker{display:flex;flex-direction:column;gap:7px;margin:2px 0 6px}
.gender-label{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#e8e0cf;font-size:14px}
.gender-label small{font-size:11px;color:#aeb8c6}
.gender-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.gender-options button{display:flex;align-items:center;gap:8px;text-align:left;background:#141f2c;border:1px solid #405268;border-radius:7px;color:#c4d1df;padding:8px;min-width:0;position:relative}
.gender-options button.selected{background:#42372a;border-color:#e8c379;color:#f6e5bc;box-shadow:inset 0 0 0 1px #8b774b}
.gender-options button>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.gender-options button strong{font-size:15px}.gender-options button small{font-size:10px;color:#aeb9c8;white-space:nowrap}
.gender-preview{width:48px;height:49px;flex:none;display:grid;place-items:center;overflow:hidden;background:#26384a;border-radius:5px}
.gender-preview .sprite{width:100%;height:100%}.gender-check{position:absolute;right:6px;top:5px;color:#f8d588;font-size:11px}
.rank-ready{position:relative;isolation:isolate;overflow:hidden;display:flex;gap:14px;align-items:center;padding:16px;border:1px solid #ddba6e;border-left:5px solid #f4ce84;border-radius:8px;background:linear-gradient(105deg,#41351e,#25303a 60%,#203039);box-shadow:0 0 20px #e6b96520,0 4px 10px #080e1b30}
.rank-ready:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.35;background:linear-gradient(115deg,transparent 35%,#f4d38a25 49%,transparent 65%);background-size:200% 100%;animation:rankShine 4s ease-out 1}
@keyframes rankShine{from{background-position:100% center}to{background-position:-100% center}}
.rank-ready-badge{display:flex;align-items:center;gap:6px;color:#f4cf84;font-size:20px;flex:none}
.rank-ready-badge .grade{height:36px;min-width:35px;display:grid;place-items:center;font-size:16px}
.rank-ready-copy{flex:1;min-width:0}.rank-ready-copy h2{color:#ffe5ac;font-size:21px;margin:3px 0}
.rank-ready-overline{font-size:11px;font-weight:800;letter-spacing:.06em;color:#f1c677}
.rank-ready-copy p{font-size:13px;color:#bdc8d3;line-height:1.45}.rank-ready-btn{flex:none}
.rank-ready.need-gold{border-color:#ac8a53;border-left-color:#ddbf83;background:linear-gradient(105deg,#3b3027,#26313d)}
.nav button{position:relative}.rank-nav-dot{position:absolute;top:6px;right:6px;background:#f0c878;color:#232017;border-radius:50%;font-style:normal;font-size:10px;font-weight:900;height:15px;width:15px;line-height:15px;text-align:center;box-shadow:0 0 10px #f7ca68a0}
@media(max-width:660px){.gender-preview{width:39px;height:42px}.gender-options button{padding:7px;gap:6px}.gender-options button strong{font-size:14px}.gender-options button small{font-size:10px}.rank-ready{gap:9px;padding:11px;flex-wrap:wrap}.rank-ready-copy h2{font-size:18px}.rank-ready-copy p{font-size:12px}.rank-ready-badge .grade{height:29px;min-width:27px;font-size:12px}.rank-ready-badge{font-size:14px;gap:4px}.rank-ready-btn{width:100%;margin-top:1px;min-height:39px}.rank-nav-dot{right:4px;top:3px;height:13px;width:13px;line-height:13px}}
@media(prefers-reduced-motion:reduce){.rank-ready:before{animation:none}}
/* Fine pixel shading: a subtle outline keeps the modular sprite clear over detailed scenes. */
.crisp-hunter{image-rendering:pixelated;shape-rendering:crispEdges}
.status-art .crisp-hunter,.create-avatar .crisp-hunter,.story-person .crisp-hunter,.ending-art .crisp-hunter{filter:drop-shadow(1px 0 #0b1118) drop-shadow(-1px 0 #0b1118) drop-shadow(0 2px #0b1118) drop-shadow(0 7px 2px #080d1580)}
.cosmetic-preview .crisp-hunter,.gender-preview .crisp-hunter{filter:drop-shadow(0 1px 0 #090f18)}
.create-avatar .scene:after{background:radial-gradient(ellipse at center,#10182422 0,#10182426 31%,#10182499 100%),linear-gradient(0deg,#101824c2,transparent 80%)}
@media(max-width:660px){.create-avatar{height:188px}.create-avatar .sprite{height:171px}.status-art .sprite{height:106px}}

/* Specializations: persistent aura and role-specific equipment trim. */
.hunter-aura{pointer-events:none;transform-origin:center;opacity:.9;filter:drop-shadow(0 0 1.1px currentColor)}
.aura-current{animation:aura-breathe 3.5s ease-in-out infinite}
.aura-pixel{animation:aura-rise 2.7s ease-in-out infinite;animation-delay:var(--delay)}
.aura-level-1{opacity:.76}.aura-level-2{opacity:.89}.aura-level-3,.aura-level-4{opacity:1}
.aura-level-4 .aura-current{animation-duration:2.6s}
@keyframes aura-breathe{0%,100%{opacity:.72}50%{opacity:1}}
@keyframes aura-rise{0%,100%{opacity:.4;transform:translateY(1px)}50%{opacity:1;transform:translateY(-3px)}}
.branch-avatar{height:132px;background:radial-gradient(ellipse at 50% 70%,#293b4c 0,#162331 43%,#121a25 80%);border:1px solid #3c4c60;border-radius:5px;display:grid;place-items:center;overflow:hidden}
.branch-avatar .sprite{height:122px;max-width:100%;width:auto}
.branch.chosen .branch-avatar{border-color:#c9a566;background:radial-gradient(ellipse at 50% 70%,#46352e,#182632 52%,#121a25 90%)}
.branch.chosen .branch-avatar:after{content:"";pointer-events:none}
@media(max-width:880px){.branch-avatar{height:146px}.branch-avatar .sprite{height:136px}}

/* The result itself is still resolved once by the engine. These are visual playback only. */
.result-art.has-action-fx{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:hidden;isolation:isolate}
.has-action-fx .scene:after{background:linear-gradient(180deg,#11192720,#11192730 45%,#101721e6)}
.combat-stage{position:relative;isolation:isolate;aspect-ratio:320/148;overflow:hidden;width:100%;min-height:190px;max-height:320px;--travel:28%;background:radial-gradient(ellipse at 49% 77%,color-mix(in srgb,var(--fx-color) 13%,transparent),transparent 62%)}
.combat-ground{position:absolute;left:5%;right:5%;bottom:13%;height:19%;background:radial-gradient(ellipse,#0b1119c4,transparent 72%);border-radius:50%;z-index:0}
.combat-hunter,.combat-enemy{position:absolute;display:grid;place-items:center;bottom:14%;z-index:2;height:78%;width:29%;transform-origin:center 90%;will-change:transform,opacity}
.combat-hunter{left:8%}
.combat-hunter .sprite{height:100%;max-height:100%;width:auto;max-width:100%;filter:drop-shadow(0 4px 0 #0b1018b5)}
.combat-enemy{right:8%;height:63%;bottom:15%}
.combat-enemy svg{height:100%;max-width:100%;width:auto;filter:drop-shadow(0 4px 0 #0b1018b5);image-rendering:pixelated}
.fx-power .combat-enemy{height:76%;right:6%;width:32%}
.combat-graphic{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;pointer-events:none;filter:drop-shadow(0 0 4px var(--fx-color))}
.combat-caption{position:absolute;left:14px;top:10px;background:#111923d9;border:1px solid #a0b3c044;border-left:3px solid var(--fx-color);border-radius:3px;padding:6px 9px;z-index:4;display:flex;flex-direction:column;gap:1px;text-align:left;box-shadow:0 2px 9px #080d1666}
.combat-caption span{font:700 10px system-ui,sans-serif;letter-spacing:.11em;color:var(--fx-light)}
.combat-caption b{font-size:14px;color:#fff;line-height:1.25}
.fx-fail .combat-caption{border-left-color:#e48384}.fx-fail .combat-caption span{color:#f4a7a5}
.has-action-fx .result-content{max-width:none;width:100%;display:grid;grid-template-columns:42px 1fr;align-content:center;align-items:center;text-align:left;gap:0 10px;padding:11px 17px;background:#111a26ed;border:0;border-top:1px solid #6d7c914d;border-radius:0;box-shadow:none}
.has-action-fx .result-symbol{width:38px;height:38px;margin:0;grid-row:1/4;align-self:center}
.has-action-fx .result-symbol .ico{width:20px;height:20px}
.has-action-fx .result-content .overline{font-size:11px;margin:0}
.has-action-fx .result-content h1{grid-column:2;font-size:22px;margin:2px 0;line-height:1.3}
.has-action-fx .result-content p{grid-column:2;font-size:12px;margin:0}
.fx-result-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.fx-result-tools>span{font-size:13px;color:#c7d5e5;font-weight:700}
.fx-result-tools .btn{min-height:34px;padding:6px 9px;font-size:12px;white-space:nowrap}
.fx-attack .combat-hunter{animation:hunter-cast .88s cubic-bezier(.2,.7,.2,1) both}
.fx-slash.fx-success .combat-hunter,.fx-dash.fx-success .combat-hunter{animation:hunter-dash .9s ease-out both}
.fx-shot.fx-success .combat-hunter,.fx-spell.fx-success .combat-hunter{animation:hunter-fire .9s ease-out both}
.fx-support .combat-hunter{animation:hunter-ward 1s ease-out both}
.fx-success.fx-attack .combat-enemy{animation:enemy-hit 1s ease-out both}
.fx-fail .combat-hunter{animation:hunter-retreat 1s ease-out both}
.fx-fail .combat-enemy{animation:enemy-counter 1s ease-out both}
.fx-slash,.fx-dash,.fx-projectile,.fx-impact,.fx-summon,.fx-ward,.fx-counter,.fx-awaken{transform-box:fill-box;transform-origin:center}
svg .fx-slash{animation:slash-pass .86s .08s ease-out both}
svg .fx-dash{animation:dash-pass .76s .12s ease-out both}
svg .fx-projectile{animation:projectile-pass .78s .06s ease-in-out both}
svg .fx-summon{animation:summon-pass .94s ease-in-out both}
svg .fx-impact{animation:impact-burst .56s .37s ease-out both}
svg .fx-ward{animation:ward-rise 1.05s ease-out both}
svg .fx-counter{animation:counter-pass .55s .32s ease-out both}
.fx-fail .fx-impact{display:none}
.fx-fail svg .fx-ward{animation:ward-break .94s ease-out both}
.fx-fail svg .fx-projectile{animation:projectile-miss .65s ease-out both}
.awakening-stage .combat-hunter{left:35%;width:30%;height:83%;bottom:9%;animation:awaken-hunter 1.25s ease-out both}
.awakening-stage svg .fx-awaken{animation:awaken-burst 1.3s ease-out both}
.awakening-stage .combat-caption{border-color:var(--fx-color)}
@keyframes hunter-cast{0%{transform:translateX(0)}28%{transform:translateX(8%) scale(.98)}52%{transform:translateX(16%) scale(1.04)}100%{transform:translateX(0)}}
@keyframes hunter-dash{0%,12%{transform:translateX(0)}38%{transform:translateX(89%) skewX(-7deg)}58%{transform:translateX(100%)}100%{transform:translateX(0)}}
@keyframes hunter-fire{0%,18%,100%{transform:translateX(0)}30%{transform:translateX(-8%) rotate(-4deg)}54%{transform:translateX(3%)}}
@keyframes hunter-ward{0%,100%{transform:translateY(0)}35%{transform:translateY(-6%) scale(1.035)}65%{transform:translateY(-2%)}}
@keyframes enemy-hit{0%,37%{transform:translateX(0);opacity:1;filter:none}43%{transform:translateX(15%);filter:brightness(2.2)}53%{transform:translateX(4%)}100%{transform:translateX(8%);opacity:.35}}
@keyframes hunter-retreat{0%,15%{transform:translateX(0);opacity:1}43%{transform:translateX(16%)}60%{transform:translateX(-18%) rotate(-7deg);filter:brightness(1.5)}100%{transform:translateX(-8%);opacity:.84}}
@keyframes enemy-counter{0%,25%,100%{transform:translateX(0)}55%{transform:translateX(-18%) scale(1.08)}}
@keyframes slash-pass{0%{opacity:0;transform:translateX(-15px) scale(.5)}25%{opacity:1;transform:translateX(15px) scale(1.05)}70%{opacity:.83;transform:translateX(110px) scale(1.07)}100%{opacity:0;transform:translateX(135px)}}
@keyframes dash-pass{0%{opacity:0;transform:translateX(-30px) scaleX(.25)}28%{opacity:1;transform:translateX(20px) scaleX(1.1)}70%{opacity:.8;transform:translateX(65px)}100%{opacity:0;transform:translateX(110px)}}
@keyframes projectile-pass{0%{opacity:0;transform:translateX(-12px) scale(.6)}25%{opacity:1;transform:translateX(4px)}70%{opacity:1;transform:translateX(111px)}100%{opacity:0;transform:translateX(145px)}}
@keyframes projectile-miss{0%{opacity:0;transform:translateX(0) scale(.6)}30%{opacity:1}100%{opacity:0;transform:translate(120px,-35px)}}
@keyframes summon-pass{0%{opacity:0;transform:translateY(10px) scale(.55)}24%{opacity:1;transform:translateY(0) scale(1)}75%{opacity:1;transform:translateX(100px)}100%{opacity:0;transform:translateX(120px) scale(.8)}}
@keyframes impact-burst{0%{opacity:0;transform:scale(.2)}28%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(1.7)}}
@keyframes ward-rise{0%{opacity:0;transform:scale(.6)}30%{opacity:1;transform:scale(1.05)}75%{opacity:.8;transform:scale(1.1)}100%{opacity:.23;transform:scale(1)}}
@keyframes ward-break{0%{opacity:0;transform:scale(.6)}30%{opacity:1;transform:scale(1.05)}65%{opacity:1}100%{opacity:0;transform:translateY(18px) scale(1.2)}}
@keyframes counter-pass{0%{opacity:0;transform:translateX(20px)}20%{opacity:1}70%{opacity:1;transform:translateX(-50px)}100%{opacity:0;transform:translateX(-80px)}}
@keyframes awaken-hunter{0%{opacity:.75;transform:translateY(5px)}38%{transform:translateY(-8px) scale(1.05);filter:brightness(1.35)}100%{opacity:1;transform:translateY(0)}}
@keyframes awaken-burst{0%{opacity:0;transform:scale(.5)}35%{opacity:1;transform:scale(1.1)}85%{opacity:.5;transform:scale(1.16)}100%{opacity:.12;transform:scale(1)}}
@media(max-width:660px){.combat-stage{min-height:174px;max-height:228px}.combat-caption{left:8px;top:7px;padding:5px 7px}.combat-caption span{font-size:10px}.combat-caption b{font-size:12px}.has-action-fx .result-content{padding:10px 12px}.has-action-fx .result-content h1{font-size:19px}.fx-result-tools>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.combat-graphic .fx-impact,.combat-graphic .fx-counter{opacity:.62}.combat-graphic .fx-awaken{opacity:.45}.combat-stage *,.hunter-aura *{animation:none!important;transition:none!important}}

/* Proactive guild recruitment, contract packages and exclusive assignments. */
.guild-invite-banner{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;background:linear-gradient(110deg,color-mix(in srgb,var(--guild-accent) 19%,#111b26),#17212e 74%);border:1px solid var(--guild-accent);border-radius:7px;box-shadow:inset 3px 0 var(--guild-accent)}
.guild-invite-banner .guild-crest{min-width:0;width:48px;height:54px;font-size:25px;background:#0c1521}
.guild-invite-banner .overline{color:var(--guild-accent);font-size:11px}
.guild-invite-banner h2{font-size:20px;margin:3px 0;line-height:1.3;word-break:keep-all}
.guild-invite-banner p{font-size:13px;color:#c4d0dc}
.guild-invite-btn{white-space:nowrap}
.guild-nav-dot{background:#abdcbf;color:#142a24}
.recruitment-card{border-color:var(--guild-accent);border-top-width:3px;padding:17px;display:flex;flex-direction:column;gap:13px;background:linear-gradient(155deg,color-mix(in srgb,var(--guild-accent) 13%,#182432),#171f2a 60%)}
.recruitment-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.recruitment-head>div{flex:1;min-width:100px}
.recruitment-head .overline{color:var(--guild-accent);font-size:11px}
.recruitment-head h2{font-size:23px;margin:4px 0;line-height:1.25}
.recruitment-head p{font-size:14px;line-height:1.5}
.recruitment-head .badge{align-self:flex-start}
.recruitment-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.recruitment-terms>div{border:1px solid #4a5c70;background:#111b29;border-radius:5px;padding:10px 8px;display:flex;flex-direction:column;gap:4px}
.recruitment-terms span{font-size:12px;color:#b4c5d3}
.recruitment-terms b{font-size:17px;color:#f3dca4;white-space:nowrap;font-variant-numeric:tabular-nums}
.recruitment-package{display:flex;align-items:center;gap:11px;padding:10px;background:#111b29;border:1px solid #405165;border-radius:5px}
.recruitment-package .item-pic{width:56px;height:56px}
.recruitment-package .overline{color:var(--guild-accent);font-size:11px}
.recruitment-package h3{font-size:17px;margin:3px 0;line-height:1.4}
.recruitment-package p{font-size:13px}
.invite-task-preview{display:flex;gap:3px;flex-direction:column;border-left:2px solid var(--guild-accent);padding-left:10px}
.invite-task-preview b{font-size:12px;color:var(--guild-accent)}
.invite-task-preview span{font-weight:700;font-size:15px}
.guild-invite-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
.guild-invite-actions button{min-width:0;white-space:normal;word-break:keep-all}
.guild-empty{border-style:dashed}
.guild-directory-perks{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 8px}
.guild-directory-perks span{font-size:11px;background:#121d29;color:#b9c9db;border:1px solid #38495c;padding:3px 6px;border-radius:3px}
.guild-card .badge{display:inline-flex;margin-top:5px}
.guild-exclusive{overflow:hidden;border-color:var(--guild-accent)}
.guild-task-art{height:124px;position:relative;isolation:isolate;display:flex;align-items:flex-end}
.guild-task-art .scene:after{background:linear-gradient(90deg,#101822ed,#11203290 70%,#11192730)}
.guild-task-heading{padding:15px 17px;position:relative;z-index:1}
.guild-task-heading .overline{color:var(--guild-accent)}
.guild-task-heading h2{font-size:24px;margin:4px 0;line-height:1.3;word-break:keep-all}
.guild-task-heading p{font-size:13px;color:#e2e8ef;display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.guild-task-body{padding:15px}
.guild-task-body>p{margin-bottom:10px;line-height:1.6;color:#c3d0de;font-size:14px}
@media(max-width:660px){
 .guild-invite-banner{grid-template-columns:40px minmax(0,1fr);gap:7px;padding:10px}
 .guild-invite-banner .guild-crest{width:36px;height:42px;font-size:20px}.guild-invite-banner h2{font-size:18px}.guild-invite-banner p{font-size:11px}
 .guild-invite-btn{grid-column:1/-1;width:100%;min-height:36px}
 .recruitment-card{padding:12px;gap:10px}.recruitment-head{gap:8px}.recruitment-head h2{font-size:20px}.recruitment-head p{font-size:12px}
 .recruitment-terms>div{padding:8px 5px}.recruitment-terms span{font-size:11px}.recruitment-terms b{font-size:15px}
 .recruitment-package .item-pic{width:44px;height:44px}.recruitment-package h3{font-size:15px}.recruitment-package p{font-size:12px}
 .guild-task-art{height:112px}.guild-task-heading{padding:12px}.guild-task-heading h2{font-size:19px}.guild-task-body{padding:11px}
}

/* Show precisely which job fundamentals are holding back high-grade missions. */
.balance-warning{display:flex;align-items:flex-start;gap:9px;border:1px solid #99714e;background:#352820b0;border-radius:5px;padding:10px 11px;margin:10px 0 12px;color:#f4cc98}
.balance-warning-icon{display:grid;place-items:center;flex:none;width:22px;height:22px;color:#e9b978}
.balance-warning b{font-size:14px;line-height:1.45;display:block}
.balance-warning p{font-size:12px!important;line-height:1.5;color:#e1c8b0;margin-top:3px}
.foundation-list{display:flex;flex-wrap:wrap;gap:6px;margin:3px 0}
.foundation-list span{border:1px solid #986554;background:#342625;color:#f3b7a2;font-size:12px;padding:4px 8px;border-radius:4px;font-weight:600}
.foundation-goal{display:flex;flex-direction:column;gap:4px;padding:10px 12px;background:#121e2c;border:1px solid #3f5369;border-radius:5px}
.foundation-goal b{font-size:14px;color:#d1e3f4}
.foundation-goal span{font-size:12px;color:#aebabf;font-weight:500;line-height:1.5}
@media(max-width:660px){.balance-warning{padding:8px 9px;gap:6px}.balance-warning b{font-size:13px}.balance-warning p{font-size:12px!important}.foundation-goal{padding:9px 10px}}

.backup-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:12px}.backup-controls button{padding:9px 12px;border:1px solid var(--line,#35414d);border-radius:6px;color:#b8c6d6;font-size:13px;background:rgba(30,42,55,.65)}.backup-controls button:hover{color:#e7cd95;border-color:#b19b6e}
