:root{--bg:#0b1020;--panel:#111a2e;--panel2:#151f35;--line:#26334d;--text:#edf2ff;--muted:#91a0bb;--accent:#7289da;--green:#42c99a;--orange:#f0b45c}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 0%,#182546 0,transparent 42%),var(--bg);color:var(--text);font-family:Inter,"LINE Seed Sans TH",system-ui,-apple-system,sans-serif;min-height:100vh}
.shell{max-width:1120px;margin:auto;padding:0 24px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12}.brand{display:flex;align-items:center;gap:11px;color:var(--text);text-decoration:none;font-weight:750;font-size:18px}.brand-mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#879cf1,#5869b5);display:grid;place-items:center;color:white;font-weight:900}.muted{color:#9eadd0;margin-left:4px}.status{font-size:12px;color:#b9c7df;background:#18243b;border:1px solid #2c3b58;border-radius:20px;padding:7px 11px}.status i{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:6px}
main{padding:42px 0 26px}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#91a5ef;font-weight:800;margin:0 0 10px}.hero h1{font-size:clamp(25px,4vw,36px);margin:0 0 8px;letter-spacing:-.8px}.sub{color:var(--muted);margin:0;font-size:14px}.import-btn{background:#7289da;color:white;padding:12px 17px;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;box-shadow:0 8px 22px #5268c333}.import-btn:hover,.btn.primary:hover{filter:brightness(1.1)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.stat{background:linear-gradient(140deg,#141f36,#10182a);border:1px solid var(--line);border-radius:13px;padding:17px 18px}.stat span{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:26px;margin-top:5px}
.panel{background:#10192b;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 18px 55px #0002}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:21px 22px 16px;gap:14px}.panel-head h2{font-size:17px;margin:0 0 4px}.panel-head p{font-size:12px;color:var(--muted);margin:0}.head-actions{display:flex;gap:8px}.btn{border:1px solid transparent;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:700;cursor:pointer;color:var(--text);background:#202d47}.btn:disabled{opacity:.4;cursor:not-allowed}.btn.ghost{background:#18243a;border-color:#2c3a55}.btn.primary{background:var(--accent);color:#fff;padding:12px 17px}.toolbar{display:flex;gap:10px;padding:0 22px 15px}.toolbar input,.toolbar select{background:#0c1425;border:1px solid #2a3853;color:var(--text);border-radius:9px;padding:11px 12px;font-size:12px;outline:none}.toolbar input{flex:1;min-width:0}.toolbar select{width:160px}.quest-list{padding:0 22px 12px;min-height:180px}.quest-row{display:flex;align-items:center;gap:13px;padding:14px 12px;border-top:1px solid #ffffff0d}.quest-row:hover{background:#ffffff05}.quest-check{width:17px;height:17px;accent-color:var(--accent);flex:none}.quest-icon{width:40px;height:40px;border-radius:11px;background:#202e4b;display:grid;place-items:center;font-size:18px;flex:none}.quest-info{min-width:0;flex:1}.quest-title{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quest-desc{font-size:11px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag{font-size:10px;border-radius:20px;padding:6px 9px;background:#202c44;color:#aebbd3;white-space:nowrap}.tag.active{background:#173b37;color:#65ddb5}.tag.done{background:#24345c;color:#b6c7ff}.empty{text-align:center;padding:39px 15px;color:var(--muted)}.empty-icon{font-size:26px;color:#8297eb}.empty h3{color:#e5ebfa;font-size:14px;margin:8px 0 5px}.empty p{font-size:12px;margin:0}.bottom-bar{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;background:#0d1525;border-top:1px solid #ffffff10}.bottom-bar span{font-size:12px;color:var(--muted)}.notice{margin-top:17px;padding:15px 17px;border:1px solid #4c412b;background:#211d17;border-radius:12px}.notice strong{font-size:12px;color:#f2c77f}.notice p{font-size:11px;line-height:1.7;color:#b7aa92;margin:5px 0 0}footer{text-align:center;color:#65738e;font-size:11px;padding:22px 0 30px}
@media(max-width:700px){.shell{padding:0 14px}.hero{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:repeat(2,1fr)}.panel-head{align-items:flex-start;flex-direction:column}.head-actions{width:100%}.head-actions .btn{flex:1}.toolbar{padding:0 14px 12px}.quest-list{padding:0 10px 10px}.quest-row{gap:9px}.quest-icon{width:34px;height:34px}.tag{font-size:9px}.bottom-bar{gap:10px;align-items:stretch;flex-direction:column}.bottom-bar .btn{width:100%}}
