body{background:#f7fff9}.sky{height:520px}.topbar{max-width:1260px}.guide-nav{display:flex!important;gap:24px}.guide-layout{width:min(1220px,calc(100% - 40px));margin:20px auto 100px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start}.guide-sidebar{position:sticky;top:20px;background:#f7fcff;border:5px solid #fff;border-radius:21px;box-shadow:0 0 0 2px #a4d6e6,0 15px 30px #176e8b22;padding:23px}.guide-sidebar h2{font-size:30px;margin:5px 0 16px}.guide-sidebar nav{display:grid;gap:7px}.guide-sidebar nav a,.guide-sidebar .pending{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border-radius:9px;color:#285d7c;font-weight:600}.guide-sidebar nav a:hover,.guide-sidebar nav a.active{background:#d5f2fa;color:#0a82a3}.guide-sidebar .pending{color:#95aab0}.guide-sidebar small{font-size:10px}.sidebar-note{font-size:12px;color:#72909b;line-height:1.7;border-top:1px solid #d8e9ec;margin:20px 0 0;padding-top:15px}.guide-content{min-width:0;background:#fffef9;border:5px solid #fff;border-radius:25px;box-shadow:0 0 0 2px #b8d9e7,0 18px 38px #156d8d20;padding:clamp(20px,4vw,42px)}.guide-content h1{font-size:clamp(35px,4vw,52px);line-height:1.12;margin:7px 0 12px;color:#12637e}.guide-content h2{font-size:29px;margin:38px 0 13px;color:#176b89}.guide-content h3{font-size:20px;margin:0 0 6px}.guide-content p,.guide-content li{line-height:1.8;color:#527785}.guide-content .lead{font-size:18px;max-width:760px}.guide-content .status{display:inline-block;border-radius:30px;background:#dff7e9;color:#28795d;padding:6px 13px;font-size:12px;font-weight:600}.guide-content .status.preview{background:#fff0ca;color:#996b1f}.guide-content .crumb{font-size:13px;color:#608da0}.guide-content .crumb a{text-decoration:underline}.guide-visual{margin:28px 0;background:linear-gradient(135deg,#e7f8ff,#f3fff1);border:2px solid #c9e8ec;border-radius:18px;padding:25px;display:grid;grid-template-columns:minmax(270px,1fr) minmax(210px,1fr);gap:25px;align-items:center}.guide-visual figcaption{font-size:13px;color:#548393;line-height:1.7}.guide-visual figcaption strong{display:block;font-size:18px;color:#195e78;margin-bottom:8px}.guide-visual figcaption ol{margin:0;padding-left:23px}.sprite{position:relative;width:276px;max-width:100%;min-height:230px;margin:auto;filter:drop-shadow(0 7px 4px #47758842)}.sprite>img{image-rendering:pixelated;max-width:100%}.sprite-label{position:absolute;background:#fffdf0e8;border:1px solid #e8aa8a;border-radius:4px;padding:1px 5px;font-size:9px;white-space:nowrap;color:#843e36;box-shadow:0 2px 4px #6c777433}.refine .sprite-label.one{left:56px;top:12px}.refine .sprite-label.two{left:80px;top:85px}.refine .sprite-label.three{left:43px;top:178px}.refine .sprite-label.four{left:160px;top:178px}.compound-sprite,.reform-sprite{min-height:205px}.compound-sprite img,.reform-sprite img{display:block;margin:0 auto 8px;image-rendering:pixelated}.compound-sprite .sprite-label,.reform-sprite .sprite-label{position:static;display:inline-block;margin:0 3px 6px}.reform-sprite img{margin-bottom:12px}.class-sprite{width:297px;min-height:270px}.class-sprite .sprite-label.one{top:29px;left:48px}.class-sprite .sprite-label.two{top:29px;left:170px}.class-sprite .sprite-label.three{top:185px;left:52px}.guide-steps{display:grid;gap:12px;counter-reset:step}.guide-step{display:grid;grid-template-columns:42px 1fr;gap:12px;background:#f7fcfc;border:1px solid #d9ebeb;border-radius:13px;padding:15px}.guide-step:before{counter-increment:step;content:counter(step,decimal-leading-zero);display:grid;place-items:center;width:38px;height:38px;background:#d6f3f8;border-radius:9px;color:#1685a2;font-weight:900}.guide-step p{margin:0}.guide-step h3{margin:0}.guide-note{background:#fff5dc;border-left:5px solid #e2b653;padding:17px 20px;border-radius:7px;margin:24px 0}.guide-note p{margin:0}.guide-table{width:100%;border-collapse:collapse;margin:18px 0}.guide-table th,.guide-table td{text-align:left;border-bottom:1px solid #d9e9e9;padding:11px 13px}.guide-table th{background:#e6f7f9;color:#286f83}.class-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.class-tile{background:#f1fbfc;border:1px solid #d2e8e9;border-radius:12px;padding:14px}.class-tile strong{display:block;color:#216d85}.class-tile span{display:block;color:#6e929e;font-size:13px;margin-top:2px}.guide-next{margin-top:42px;padding-top:20px;border-top:1px solid #dcebec;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.guide-next a{color:#0c91b3;font-weight:600}@media(max-width:850px){.guide-layout{grid-template-columns:1fr}.guide-sidebar{position:static}.guide-sidebar nav{display:flex;flex-wrap:wrap}.guide-sidebar nav a,.guide-sidebar .pending{background:#eef9fa}.sidebar-note{margin-top:14px}.guide-visual{grid-template-columns:1fr}.guide-nav{margin-left:auto}.guide-content{padding:25px}}@media(max-width:560px){.guide-layout{width:calc(100% - 20px);margin-top:8px}.guide-nav{gap:10px;font-size:11px}.guide-nav a:nth-child(2){display:none}.guide-content{padding:18px}.guide-content h2{font-size:25px}.class-grid{grid-template-columns:1fr 1fr}.guide-visual{padding:13px}.guide-table{font-size:12px}}
.guide-steps .guide-step>div{min-width:0}.guide-sidebar .pending{cursor:default}
.class-tree{margin:22px 0 8px}.tree-key{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:32px;margin:0 0 15px 104px;color:#7795a0;font-size:11px;font-weight:700;letter-spacing:.03em}.tree-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 24px}.tree-filters button{border:1px solid #b9dce4;border-radius:10px;background:#f7fdff;color:#37768b;padding:8px 12px;font-size:12px;font-weight:600}.tree-filters button.active,.tree-filters button:hover{background:#179bb8;color:#fff}.tree-group{border:2px solid #d8e9ec;border-radius:16px;margin:13px 0;padding:12px 16px 3px;background:#fbfefd}.tree-group[hidden]{display:none}.tree-group h3{display:flex;align-items:center;gap:9px;color:#1e6c83;font-size:18px;margin:0 0 12px}.tree-group h3 small{font-size:12px;color:#819ba5;font-weight:400}.tree-emblem{width:27px;height:27px;border-radius:8px;background:#cfedf2;color:#1c8299;display:grid;place-items:center;font:900 14px Nunito}.tree-group.magic .tree-emblem{background:#e7dbfa;color:#8062b5}.tree-group.sense .tree-emblem{background:#fff0c8;color:#a57628}.tree-group.charm .tree-emblem{background:#f9dfeb;color:#b9658c}.tree-line{display:grid;grid-template-columns:87px 1fr;align-items:center;gap:15px;padding:10px 0;border-top:1px solid #e2eeef}.tree-race{font-weight:700;color:#246f82;font-size:13px}.tree-path{display:grid;grid-template-columns:minmax(90px,1fr) 17px minmax(90px,1fr) 17px minmax(130px,1.35fr);align-items:center;gap:7px}.tree-node{border:2px solid #a8d3db;border-radius:10px;background:#f4fcfd;box-shadow:0 4px 0 #e0eff1;padding:8px 10px;min-width:0}.tree-node small{display:block;font-size:10px;color:#6696a3;line-height:1.3}.tree-node strong{display:block;color:#215d74;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.tree-node.second{border-color:#85cbd7;background:#e3f7fa}.tree-node.third{border-color:#e9c784;background:#fff8e5}.tree-node.third small{color:#a37b3c}.tree-branches{display:grid;gap:5px}.tree-arrow{color:#61b1bd;font-size:26px;line-height:1;text-align:center}.tree-group.magic .tree-node.second{background:#f2eafd;border-color:#cfb8ec}.tree-group.sense .tree-node.second{background:#fff6d9;border-color:#e8d28c}.tree-group.charm .tree-node.second{background:#fff0f5;border-color:#ecc4d5}@media(max-width:700px){.tree-key{display:none}.tree-group{padding:11px}.tree-line{grid-template-columns:1fr;gap:5px}.tree-race{font-size:14px}.tree-path{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1.25fr);gap:3px}.tree-node{padding:7px 5px}.tree-node strong{font-size:11px}.tree-node small{font-size:9px}.tree-arrow{font-size:18px}}
.character-explorer{margin:24px 0 36px}.character-explorer>h3{font-size:24px;color:#1b708a;margin:0 0 3px}.character-explorer>p{margin:0 0 18px}.character-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.character-choice{display:flex;flex-direction:column;align-items:center;justify-content:end;min-width:0;min-height:162px;padding:7px 5px 11px;background:linear-gradient(#e5f8fd,#f9fff7);border:2px solid #c9e3e8;border-radius:14px;box-shadow:0 4px 0 #e3f0ee;color:#1d617a;transition:transform .16s,border-color .16s}.character-choice:hover,.character-choice:focus-visible{transform:translateY(-3px);border-color:#53b4c9;outline:none}.character-choice.active{background:linear-gradient(#d5f4ff,#fff5d8);border-color:#e5b864;box-shadow:0 4px 0 #e4d39f}.character-choice strong{font-size:13px;line-height:1.25}.character-choice small{font-size:11px;color:#7899a3}.sprite-stage{display:flex;justify-content:center;align-items:end;width:100%;height:107px;overflow:hidden;margin-bottom:6px}.character-sprite{display:block;flex:none;background-repeat:no-repeat;image-rendering:pixelated;transform:scale(1.14);transform-origin:center bottom}.character-detail{margin:24px 0 34px;padding:22px;background:#f6fcfd;border:2px solid #cee7ed;border-radius:17px}.character-prompt{text-align:center;margin:6px;color:#698b97}.character-description{border-bottom:1px solid #d4e9ec;padding-bottom:15px}.character-description h3{font-size:26px;margin:3px 0 4px}.character-description p{margin:0}.skill-tree-head{margin:21px 0 14px}.skill-tree-head h3{font-size:23px;margin:0}.skill-tree-head p{font-size:13px;margin:2px 0 0}.branch-picker{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.branch-picker button{border:1px solid #bad8df;background:#fff;border-radius:10px;color:#33758a;padding:7px 13px;font-size:12px;font-weight:700}.branch-picker button.active{background:#128eaf;color:white;border-color:#128eaf}.skill-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.skill-tier{background:#fff;border:1px solid #d8e8e9;border-radius:12px;overflow:hidden}.skill-tier h4{margin:0;padding:11px 13px;background:linear-gradient(#c5edfa,#87c9df);color:#155e79;font-size:12px}.skill-tier h4 span{display:block;font-size:17px}.skill-tier:nth-child(2) h4{background:linear-gradient(#dbf8e9,#9dd9bd);color:#236a55}.skill-tier:nth-child(3) h4{background:linear-gradient(#fff4d6,#f6d486);color:#8b6225}.skill-list{list-style:none;padding:8px;margin:0;display:grid;gap:6px;max-height:400px;overflow:auto}.skill-item{background:#f8fcfc;border-left:3px solid #97d6e5;padding:7px 8px}.skill-item strong{display:block;font-size:12px;color:#216b83;line-height:1.3}.skill-item small{display:block;color:#7b9aa3;font-size:10px}.skill-item p{font-size:10px;line-height:1.5;margin:3px 0 0;color:#7c8b91}.skill-footnote{font-size:12px;margin:13px 0 0}.character-explorer .tree-all-title{font-size:24px;margin:36px 0 10px}@media(max-width:900px){.character-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.skill-tiers{grid-template-columns:1fr}.skill-list{max-height:300px}}@media(max-width:560px){.character-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.character-choice{min-height:145px}.character-choice strong{font-size:11px}.character-choice small{font-size:9px}.sprite-stage{height:98px}.character-sprite{transform:scale(1)}.character-detail{padding:14px}.skill-list{max-height:260px}}
.skill-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:7px;align-items:start}.skill-icon{width:32px;height:32px;padding:0;border:1px solid #9ac9d5;border-radius:5px;background:#e6f6fa;color:#217791;cursor:pointer;image-rendering:pixelated}.skill-icon img{display:block;width:30px;height:30px;object-fit:contain;image-rendering:pixelated}.skill-icon:hover,.skill-icon:focus-visible{outline:2px solid #e9b95f;outline-offset:2px}.skill-dialog{width:min(1000px,calc(100vw - 24px));max-height:calc(100vh - 32px);border:5px solid #f8fcff;border-radius:18px;box-shadow:0 0 0 2px #5a91b4,0 24px 80px #123e5d80;padding:0;background:#fffcf0;color:#255e78}.skill-dialog::backdrop{background:#10334c99}.skill-dialog-body{padding:22px}.skill-dialog-head{display:flex;align-items:center;gap:12px;background:linear-gradient(#9dd5ed,#447eb4);margin:-22px -22px 19px;padding:13px 20px;color:white}.skill-dialog-head img{image-rendering:pixelated;border:2px solid #d9f7ff;border-radius:6px}.skill-dialog-head h2{font-size:23px;margin:0;color:white}.skill-dialog-head .kicker{color:#eefcff}.skill-close{margin-left:auto;border:1px solid white;border-radius:7px;background:#fff7e7;color:#386485;padding:6px 15px;font-weight:800;cursor:pointer}.master-recipe{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff2c9;border:1px solid #e6d092;border-radius:10px;padding:11px 14px;font-size:13px}.master-recipe strong{color:#9a6a23}.skill-dialog h3{font-size:20px;margin:22px 0 8px}.skill-table-scroll{overflow:auto;max-height:55vh;border:1px solid #c8dfe3;border-radius:8px}.skill-level-table{border-collapse:collapse;min-width:100%;font-size:12px}.skill-level-table th,.skill-level-table td{padding:7px 9px;border-bottom:1px solid #d7e5e8;text-align:center;white-space:nowrap}.skill-level-table thead th{position:sticky;top:0;background:#e5f3f8;color:#316b81;z-index:1}.skill-level-table th:first-child{text-align:left;position:sticky;left:0;background:#e5f3f8}.skill-level-table thead th:first-child{z-index:2}.skill-level-table th small{display:block;font-size:9px;color:#7996a3}.skill-level-table tbody tr:nth-child(even){background:#f5faf9}.skill-level-table .master-row{background:#fff0bd!important;font-weight:800}.skill-formula{margin-top:14px;background:#f1f8f7;padding:10px 13px;border-radius:8px}.skill-formula p{font-size:12px;margin:0 0 4px}.skill-formula small{font-size:10px;color:#7996a3}.world-preview img{display:block;width:min(100%,300px);height:auto;image-rendering:pixelated;margin:auto}.map-explorer{margin-top:26px}.map-mode,.map-regions,.map-filters{display:flex;flex-wrap:wrap;gap:6px}.map-mode{margin-bottom:14px}.map-mode button,.map-regions button,.map-filters button{border:1px solid #a9d4df;background:#f9ffff;color:#2e7288;border-radius:8px;padding:7px 11px;font-weight:700;font-size:12px;cursor:pointer}.map-mode button.active,.map-regions button.active,.map-filters button.active{background:#188db0;color:#fff;border-color:#188db0}.map-regions{margin-bottom:22px}.map-regions[hidden]{display:none}.map-body{display:grid;grid-template-columns:minmax(210px,330px) minmax(0,1fr);gap:20px;align-items:start}.map-art{background:#e7f2e8;border:2px solid #bcd7cf;border-radius:15px;padding:11px;text-align:center}.map-art img{display:block;width:100%;max-width:300px;margin:auto;image-rendering:pixelated}.map-art p{margin:6px 0 0;font-size:11px}.map-list-panel{min-width:0;border:2px solid #d2e5e9;border-radius:13px;padding:17px;background:#fbfefe}.map-list-head h2{margin:3px 0 0;font-size:25px}.map-list-head p{font-size:12px;margin:0 0 12px}.map-search-label{display:block;color:#478196;font-size:12px;font-weight:700}.map-search{display:block;width:100%;margin:5px 0 10px;border:1px solid #b9d6dd;border-radius:8px;padding:9px 10px;font:inherit}.map-filters{margin-bottom:8px}.map-filters button{font-size:11px;padding:5px 8px}.map-count{font-size:11px;margin:8px 0}.map-results ul{list-style:none;padding:0;margin:0;max-height:560px;overflow:auto}.map-results li{display:grid;grid-template-columns:75px minmax(0,1fr) auto;align-items:center;gap:6px;padding:7px 4px;border-bottom:1px solid #e0ecee;font-size:12px}.map-results li strong{color:#246a82;font-size:12px}.map-results li small{color:#7d9ba6;font-size:10px}.map-kind{font-size:10px;background:#e5f4ec;color:#41836c;border-radius:5px;padding:3px 5px;text-align:center}.map-more{margin-top:11px;background:#e1f5f7;border:1px solid #9cced9;border-radius:8px;color:#157c9a;padding:7px 14px;cursor:pointer}@media(max-width:760px){.map-body{grid-template-columns:1fr}.map-art{max-width:390px;margin:auto}.map-results ul{max-height:420px}}@media(max-width:520px){.skill-dialog-body{padding:14px}.skill-dialog-head{margin:-14px -14px 15px;padding:10px}.skill-dialog-head h2{font-size:18px}.map-results li{grid-template-columns:65px minmax(0,1fr)}.map-results li small{grid-column:2}.map-kind{font-size:9px}}
.character-explorer{margin-top:22px}.character-detail[hidden],.selected-skill-tree[hidden]{display:none}.character-detail{margin-top:24px;background:#fbfefd}.character-choice{min-height:160px}.character-choice strong{margin-top:5px}.character-description{padding-bottom:16px}.character-description h2{margin:8px 0 4px!important;font-size:29px!important}.type-badge{display:inline-block;border-radius:30px;padding:6px 12px;font-size:12px;font-weight:900;letter-spacing:.02em;background:#d9f0f5;color:#1b7893}.type-badge.magic{background:#eee4fb;color:#7952ad}.type-badge.sense{background:#fff1d0;color:#a87320}.type-badge.charm{background:#fae5f0;color:#ae5983}.class-flow-head{margin:20px 0 11px}.class-flow-head h3{font-size:23px;margin:0}.class-flow-head p{font-size:12px;margin:0}.class-flow{display:grid;grid-template-columns:minmax(130px,1fr) 20px minmax(130px,1fr) 20px minmax(160px,1.25fr);gap:8px;align-items:center}.class-flow-arrow{text-align:center;color:#67b0be;font-size:30px}.class-final{display:grid;gap:7px}.class-node{display:block;width:100%;border:2px solid #a5cfdc;border-radius:12px;background:linear-gradient(#f6feff,#dfedf3);box-shadow:0 4px 0 #cfdee4;padding:11px;text-align:left;cursor:pointer}.class-node small{display:block;font-size:10px;color:#67909c}.class-node strong{display:block;color:#245f79;font-size:16px}.class-node.second{border-color:#9bd1ca;background:linear-gradient(#f8fff9,#ddf3e7)}.class-node.third{border-color:#e3c77e;background:linear-gradient(#fffdf3,#fff0c8)}.class-node:hover,.class-node:focus-visible{outline:2px solid #ecba56;outline-offset:2px}.class-node.active{border-color:#2d90ad;box-shadow:0 0 0 3px #c9f2fa,0 4px 0 #9ac6d1}.selected-skill-tree{margin-top:28px;border-top:1px solid #cfe5ea;padding-top:7px}.skill-graph-scroll{overflow:auto;border:2px solid #cbdfe5;border-radius:13px;background:linear-gradient(#f8fdfb,#fffdf5);max-height:610px}.skill-graph-canvas{position:relative;display:flex;align-items:flex-start;gap:46px;width:max-content;min-width:100%;min-height:130px;padding:17px}.skill-edges{position:absolute;top:0;left:0;z-index:0;pointer-events:none;overflow:visible}.skill-edges path{fill:none;stroke:#76b8ca;stroke-width:2.5;stroke-linecap:round}.skill-column{position:relative;z-index:1;display:grid;align-content:start;gap:10px;width:180px;flex:none}.skill-column-title{text-align:center;background:#d7edf5;border-radius:7px;padding:5px;color:#2d7892;font-size:11px;font-weight:800}.skill-node{display:block;text-align:left;width:100%;min-height:75px;border:2px solid #a9cfdb;border-radius:10px;background:#fff;box-shadow:0 3px 0 #dce8e7;padding:8px;cursor:pointer}.skill-node.external{background:#fff9e8;border-color:#e8d39c}.skill-node:hover,.skill-node:focus-visible{outline:2px solid #e7b958;outline-offset:2px}.skill-node-top{display:flex;align-items:center;gap:7px}.skill-node-top img{flex:none;image-rendering:pixelated;border-radius:4px}.skill-node-top strong{font-size:11px;color:#246a83;line-height:1.25;overflow-wrap:anywhere}.skill-node small{display:block;margin-top:4px;color:#7899a3;font-size:10px}.skill-req{display:block;margin-top:5px;color:#84765d;font-size:9px;line-height:1.3}.selected-skill-tree .skill-tree-head{margin:12px 0}.selected-skill-tree .skill-tree-head h3{font-size:23px}.skill-footnote{font-size:11px}@media(max-width:650px){.class-flow{grid-template-columns:1fr 14px 1fr;gap:5px}.class-flow>.class-flow-arrow:nth-of-type(2){display:none}.class-final{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px;position:relative}.class-final:before{content:'↓ ขั้น 3';position:absolute;top:-19px;left:0;color:#6a9fae;font-size:11px}.class-node{padding:7px}.class-node strong{font-size:13px}.class-node small{font-size:9px}}@media(max-width:430px){.character-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.character-choice{min-height:140px}}
.character-lore{margin:19px 0 23px;border:2px solid #b8d8e6;border-radius:14px;background:#fffdf4;box-shadow:0 5px 0 #e2edf1;overflow:hidden}.character-lore-title{background:linear-gradient(#9dd3ea,#477faf);padding:10px 16px;color:#fff}.character-lore-title span{display:block;font-size:10px;font-weight:900;letter-spacing:.1em;color:#eaf9ff}.character-lore-title h3{margin:2px 0 0;font-size:19px;color:#fff}.character-lore p{margin:0;padding:14px 16px 5px;line-height:1.8;font-size:14px;color:#426f7f}.character-lore a{display:inline-block;margin:3px 16px 14px;font-size:11px;color:#127fa0;text-decoration:underline}.character-lore a:hover{color:#945d22}
