@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--bg:#0c151b;--bg2:#111e25;--panel:#17252c;--panel2:#1c2c34;--line:#2d3d45;--text:#f1ede3;--muted:#98a5a9;--gold:#cfaa6c;--gold2:#efd09a;--green:#7ea88e;--red:#cf786e;--radius:14px;font-family:'DM Sans','Noto Sans KR',sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--gold2)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.app-shell{display:flex;min-height:100vh}.sidebar{width:250px;flex-shrink:0;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;gap:24px;background:#101b21;position:sticky;top:0;height:100vh}.brand{font-family:Georgia,serif;font-size:32px;letter-spacing:4px;font-weight:600;color:var(--gold2)}.brand small{display:block;font:500 10px 'DM Sans',sans-serif;letter-spacing:3px;color:var(--muted);margin-top:6px}.side-meta{border:1px solid var(--line);border-radius:12px;padding:16px;background:#142128}.side-meta h3{margin:5px 0 7px;font-size:17px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--gold)}.secondary{font-size:12px;color:var(--muted)}.side-link{display:flex;gap:12px;align-items:center;padding:13px 14px;color:#aab6b9;background:transparent;border:0;border-radius:9px;width:100%;text-align:left;font-size:14px}.side-link.active,.side-link:hover{background:#24353b;color:var(--text)}.side-footer{margin-top:auto}.side-footer button{width:100%}.main{flex:1;min-width:0;padding:32px clamp(22px,4vw,65px) 65px;max-width:1600px;margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px;gap:14px}.topbar .breadcrumb{font-size:12px;color:var(--muted);letter-spacing:1px}.user-pill{display:flex;gap:10px;align-items:center;font-size:13px;padding:9px 13px;border:1px solid var(--line);border-radius:30px}.dot{width:7px;height:7px;border-radius:100%;background:var(--green)}.pagehead{margin-bottom:27px}.pagehead h1{font-family:Georgia,'Noto Sans KR',serif;font-size:clamp(29px,3vw,40px);margin:8px 0 9px;letter-spacing:-1px;font-weight:500}.pagehead p{color:var(--muted);font-size:14px;margin:0;line-height:1.9}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b68e5e;background:var(--gold);color:#162026;padding:11px 17px;border-radius:8px;font-weight:800;font-size:13px;transition:.15s}.btn:hover{filter:brightness(1.08)}.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}.btn.outline{background:transparent;color:var(--gold2);border-color:#8f704a}.btn.danger{background:transparent;color:#edb0a9;border-color:#884c48}.btn.small{font-size:12px;padding:7px 11px}.btn.full{width:100%}.card{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);padding:24px}.card h2{font-size:16px;font-weight:700;margin:0 0 14px}.card h3{font-size:14px;margin:0 0 12px}.grid{display:grid;gap:16px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{font-family:Georgia,serif;font-size:32px;margin:14px 0 4px;color:var(--gold2)}.metric-desc{font-size:12px;color:var(--muted)}.hero{background:radial-gradient(circle at 75% 25%,#30423f 0%,transparent 48%),linear-gradient(125deg,#202e30,#151f26);padding:36px;border:1px solid #48514a;border-radius:16px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.hero h2{font-family:Georgia,'Noto Sans KR',serif;font-size:32px;font-weight:500;margin:9px 0}.hero p{color:#b3bdb7;font-size:13px;max-width:460px;line-height:1.8}.hero-seal{font-family:Georgia,serif;font-size:70px;display:grid;place-items:center;width:130px;height:130px;border:2px solid #ab8d5e;color:var(--gold2);border-radius:50%;box-shadow:0 0 0 8px #cda97014;flex-shrink:0}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.field label{font-size:12px;font-weight:700;color:#c6cfcd}.field input,.field select,.field textarea{color:var(--text);width:100%;border:1px solid #3b4b52;border-radius:8px;background:#101c22;padding:13px 14px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold)}.field input::placeholder,.field textarea::placeholder{color:#718187}.field textarea{resize:vertical;min-height:90px}.muted{color:var(--muted)}.tiny{font-size:12px}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:16px}.divider{height:1px;background:var(--line);margin:20px 0}.tag{display:inline-block;border:1px solid #566450;background:#344438;color:#d4e5cd;padding:5px 9px;border-radius:30px;font-size:11px}.tag.gold{border-color:#7e6644;background:#443825;color:#efd39d}.tag.wait{border-color:#6a6256;background:#3a3329;color:#e0c7a1}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:16px 0}.list-row:last-child{border-bottom:0;padding-bottom:0}.list-row strong{display:block;font-size:14px;margin-bottom:5px}.list-row small{color:var(--muted);font-size:12px}.empty{text-align:center;padding:50px 20px;color:var(--muted);line-height:1.8}.empty .symbol{font-size:42px;display:block;margin-bottom:10px;opacity:.55}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.04fr .96fr}.auth-art{position:relative;padding:52px clamp(30px,5vw,90px);background:radial-gradient(ellipse at 28% 38%,#31493e 0%,transparent 48%),linear-gradient(140deg,#1a2a2d,#0c171c);border-right:1px solid #33433f;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-art:after{content:'♜';position:absolute;right:5%;bottom:-5%;font-family:Georgia,serif;font-size:min(48vw,550px);color:#cbac7514;line-height:1}.auth-art>*{z-index:1}.auth-art h1{font-family:Georgia,'Noto Sans KR',serif;font-size:clamp(38px,5vw,72px);font-weight:400;line-height:1.28;letter-spacing:-2px}.auth-art h1 em{font-style:normal;color:var(--gold2)}.auth-art p{max-width:430px;color:#b7c4bd;font-size:14px;line-height:2}.auth-form-side{display:grid;place-items:center;padding:30px}.auth-form{width:min(100%,405px)}.auth-form h2{font-size:29px;margin:7px 0 11px;font-weight:600}.auth-form>p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 34px}.auth-alt{margin:24px 0 0;text-align:center;color:var(--muted);font-size:13px}.auth-alt button{border:0;background:none;color:var(--gold2);font-weight:700}.notice{padding:13px 15px;background:#473923;border:1px solid #79633e;color:#edd5a9;border-radius:9px;font-size:12px;line-height:1.7;margin-bottom:21px}.lobby-wrap{min-height:100vh;max-width:1000px;margin:0 auto;padding:32px 24px 80px}.lobby-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:78px}.lobby-title{text-align:center;margin-bottom:45px}.lobby-title h1{font-family:Georgia,'Noto Sans KR',serif;font-weight:500;font-size:clamp(32px,5vw,51px);margin:8px 0 13px}.lobby-title p{color:var(--muted);font-size:14px;line-height:1.8}.choice{min-height:225px;display:flex;flex-direction:column;justify-content:space-between;transition:.2s}.choice:hover{border-color:#8b7758;background:#202f35}.choice span.icon{font-size:27px;color:var(--gold)}.choice h3{font-size:19px;margin:16px 0 9px}.choice p{font-size:13px;color:var(--muted);line-height:1.8;margin:0}.choice .go{font-size:12px;color:var(--gold2);font-weight:700;margin-top:20px}.wide-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px;gap:10px}.table{width:100%;border-collapse:collapse;font-size:13px}.table th{text-align:left;color:var(--muted);font-weight:600;font-size:11px;letter-spacing:.7px;padding:13px 7px;border-bottom:1px solid var(--line)}.table td{padding:14px 7px;border-bottom:1px solid var(--line)}.table tr:last-child td{border-bottom:0}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:16px}.map-frame{background:radial-gradient(circle at 20% 30%,#384942,#1a2b2e 80%);border:1px solid #52605b;border-radius:12px;padding:12px;overflow:hidden}.world-map{width:100%;height:auto;display:block}.territory{cursor:pointer;stroke:#263e3c;stroke-width:3;transition:filter .15s,stroke .15s}.territory:hover,.territory.selected{stroke:var(--gold2);stroke-width:5;filter:brightness(1.18)}.map-label{fill:#f0ead5;font-size:12px;pointer-events:none;text-anchor:middle;font-weight:700;paint-order:stroke;stroke:#233437;stroke-width:3px}.code{display:inline-flex;padding:8px 13px;letter-spacing:3px;border:1px dashed #8b7654;border-radius:6px;color:var(--gold2);font-weight:700}.modal-backdrop{position:fixed;inset:0;z-index:15;background:#000b;display:grid;place-items:center;padding:16px}.modal{width:min(100%,460px);background:#1a292f;border:1px solid #57605b;border-radius:16px;padding:28px;max-height:90vh;overflow:auto}.modal h2{margin:0 0 9px;font-size:21px}.modal p{color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:24px}#toast{position:fixed;bottom:26px;right:27px;z-index:99;max-width:380px;background:#d8c498;color:#202720;padding:13px 19px;border-radius:10px;font-size:13px;box-shadow:0 12px 45px #0008;opacity:0;transform:translateY(14px);pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translateY(0)}.is-hidden{display:none!important}.helper{line-height:1.85;color:var(--muted);font-size:13px}.mini-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.mini-cards>div{background:#1f3037;border:1px solid var(--line);padding:15px;border-radius:9px}.mini-cards strong{display:block;font-size:19px;color:var(--gold2);margin-top:8px}@media(max-width:1000px){.map-layout{grid-template-columns:1fr}.sidebar{width:205px}.grid.three{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.auth-art{min-height:290px;padding:30px}.auth-art h1{font-size:35px}.auth-art:after{font-size:280px}.auth-form-side{min-height:580px}.sidebar{position:relative;width:100%;height:auto;padding:17px;gap:10px}.app-shell{display:block}.side-meta{display:none}.side-links{display:flex;overflow:auto;gap:3px}.side-link{white-space:nowrap;width:auto;padding:10px}.side-footer{display:none}.main{padding:26px 18px 60px}.grid.three,.grid.two{grid-template-columns:1fr}.hero-seal{display:none}.lobby-head{margin-bottom:55px}.topbar{margin-bottom:26px}.card{padding:19px}}
