#modal[data-kind="world-map"]{width:min(100vw,500px);height:min(100dvh - 16px,1000px);max-height:calc(100dvh - 16px);padding:0;background:#152a32;overflow:hidden;border-radius:20px;box-shadow:0 22px 60px #000b}
#modal[data-kind="world-map"] #modal-content{height:100%;padding:0;overflow:hidden;display:block}
#modal[data-kind="world-map"] .modal-close{z-index:6;top:14px;right:14px}
.world-screen{height:100%;display:flex;flex-direction:column;min-height:0;color:#f2ecd5}
.world-screen>header{padding:16px 22px 10px;flex:none;position:relative;background:linear-gradient(120deg,#253b43,#14242e);box-shadow:0 5px 14px #0005;z-index:2}
.world-screen>header small{font-size:10px;letter-spacing:.2em;color:#c3ae78}.world-screen h2{margin:2px 0;font-size:23px}.world-screen>header>span{font-size:11px;color:#b8c7c6}
.world-map{position:relative;flex:1;min-height:200px;isolation:isolate;overflow:hidden;background:#41515b}
.world-map-art{position:absolute;inset:0;background:url('../../art/ui/world-map.webp') center/100% 100% no-repeat;filter:saturate(.85) brightness(.76)}
.world-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);padding:3px 5px;min-height:44px;width:123px;display:grid;justify-items:center;gap:1px;border:0;background:none!important;box-shadow:none!important;color:#eee8d6;text-shadow:0 2px 4px #000,0 0 5px #000;z-index:1}
.world-node i{width:24px;height:24px;background:#1d2b36e8;border:1px solid #baa77b;box-shadow:0 4px 8px #0008;transform:rotate(45deg);font-style:normal;line-height:22px;color:#d9c491}
.world-node strong{background:#152632e8;padding:3px 6px;border-radius:2px;font-size:11px;white-space:nowrap;border-bottom:1px solid #b5a17780}
.world-node small{font-size:9px;background:#19272dbb;padding:1px 5px;border-radius:2px;color:#d2d9ce}
.world-node.selected{z-index:3}.world-node.selected i{background:#dbc48c;color:#25343a;box-shadow:0 0 0 4px #ddc38830,0 4px 12px #000b}.world-node.selected strong{background:#ead9ab;color:#24313b;text-shadow:none;border-color:#fff0bc}
.world-dossier{flex:none;position:relative;padding:13px 18px 14px;background:linear-gradient(130deg,#eee9d5,#c6c7b6);color:#263a3c;box-shadow:0 -8px 25px #13262b99;z-index:4;border-top:2px solid #e9dcac}
.world-dossier>div{border-left:3px solid #4f6d65;padding-left:9px}.world-dossier small{font-size:10px}.world-dossier h3{margin:2px 0;font-size:18px}.world-dossier p{margin:8px 0;line-height:1.5;font-size:11px}.world-reward{font-weight:750}.world-tactic{color:#516361}.world-dossier footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.world-dossier footer button{min-width:100px}
.party-plan .party-destination{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}.destination-button{flex:1;text-align:left;padding:12px 16px!important;background:linear-gradient(110deg,#e5dfc9,#b9c3b1)!important;color:#2c433d!important;box-shadow:0 4px 8px #152b3428!important}.destination-button:after{content:' ›';float:right}
.enchant-current{display:flex;flex-direction:column;gap:5px;border-left:3px solid #9d85af;padding:8px 12px;background:#8d7f9920}.enchant-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:210px;overflow-y:auto;padding:6px 2px}.enchant-skills .skill-item-card[aria-pressed="true"]{box-shadow:inset 0 0 0 2px #b99ed8,0 4px 8px #182a3344}.enchant-detail{font-size:12px;line-height:1.55;background:#dadcca66;padding:12px;margin-top:8px;border-radius:8px}.enchant-detail>div{display:flex;gap:8px;align-items:center}.enchant-detail .skill-art{width:35px;height:35px;flex:none}.enchant-detail small{display:block;color:#556565}
@media(max-height:650px){.world-screen>header{padding:9px 16px 5px}.world-screen h2{font-size:20px}.world-dossier{padding:9px 14px}.world-dossier h3{font-size:16px}.world-dossier p{margin:5px 0}.world-node{width:110px}.world-node strong{font-size:10px}.world-node small{font-size:8px}.world-node i{width:18px;height:18px;line-height:17px;font-size:11px}}

.enchant-skills{grid-auto-rows:122px;max-height:260px;align-content:start}.enchant-skills .skill-item-art{min-height:70px}.enchant-detail{color:#e5dcdf;background:#211c30b3}.enchant-detail small{color:#c6b9ca}.world-dossier footer>small,.world-dossier>div>small{color:#506356}
