.wonder-dialog{padding:0;width:min(1240px,96vw);max-width:96vw;height:94vh;max-height:94vh;color:#f3e7cc;background:#101f35;border:1px solid #c8b47d;border-radius:18px;overflow:hidden;box-shadow:0 30px 100px #0009}.wonder-dialog::backdrop{background:#091026c9;backdrop-filter:blur(8px)}.wonder-header{height:106px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:18px 28px;background:linear-gradient(110deg,#30274e,#153c52);border-bottom:1px solid #ae945865}.wonder-header small{font:700 9px system-ui;letter-spacing:.19em;color:#eccb87}.wonder-header h2{font:33px Georgia;margin:4px 0;color:#fff1c9}.wonder-header p{margin:4px 0;font:12px system-ui;color:#c9d1df}.wonder-close{border:1px solid #b4a27e88;background:#ffffff09;color:#f5e7c8;width:37px;height:37px;border-radius:50%;font:25px Georgia;cursor:pointer}.wonder-message{margin:0;min-height:33px;box-sizing:border-box;padding:9px 28px;color:#e4c991;font:12px/1.4 system-ui;background:#0a1b30}.wonder-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;height:calc(100% - 145px)}.wonder-viewport{overflow:auto;scrollbar-color:#a58b5d #15344b;background:#163c51}.wonder-map{position:relative;width:100%;isolation:isolate}.wonder-art{width:100%;height:auto;display:block}.wonder-node{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:2px solid #fff3c6;background:#17334aed;color:var(--tile);box-shadow:0 2px 8px #061528a0,0 0 0 3px #593e2366;font:700 17px Georgia;cursor:pointer;transition:transform .15s}.wonder-node:hover,.wonder-node:focus-visible{transform:translate(-50%,-50%) scale(1.25);outline:2px solid #fff1af;outline-offset:3px;z-index:3}.wonder-node.visited{background:#417368db;border-color:#a7e0c4;color:#e0f5d8}.wonder-node.current{background:#f0c675;color:#392332;box-shadow:0 0 0 5px #fff0a85c,0 0 18px #ffed9f}.wonder-token{position:absolute;width:64px;height:86px;object-fit:contain;transform:translate(-50%,-95%);pointer-events:none;filter:drop-shadow(0 5px 3px #061c2fb0) drop-shadow(0 0 3px #ffebad);z-index:4;transition:left .21s linear,top .21s linear}.wonder-map.hopping .wonder-token{animation:wonder-hop .21s ease-in-out infinite}@keyframes wonder-hop{50%{transform:translate(-50%,-115%)}}.wonder-aside{overflow:auto;padding:20px;display:flex;flex-direction:column;gap:18px;background:linear-gradient(#18233c,#132c3f)}.wonder-aside section{border:1px solid #96a7bb30;background:#ffffff04;padding:17px;border-radius:10px}.wonder-aside small{font:700 9px/1.6 system-ui;letter-spacing:.09em;color:#b5c2d1}.wonder-aside h3{font:22px/1.2 Georgia;color:#f7dfaa;margin:9px 0}.wonder-aside p{font:12px/1.65 system-ui;color:#c8d3d9;margin:9px 0}.wonder-aside b{font:700 13px system-ui;color:#ebd3a1}.wonder-action{width:100%;margin-top:15px;border:1px solid #f9deb1;background:linear-gradient(135deg,#f7d791,#d9b16e);color:#283047;padding:13px 10px;border-radius:6px;font:800 10px/1.4 system-ui;letter-spacing:.05em;cursor:pointer}.wonder-action:disabled{opacity:.45;cursor:default}.wonder-blessing{color:#a4e6e5!important}.wonder-reward{display:block;color:#a5e5be!important}.wonder-loot{color:#e1c5fb!important}.wonder-journal{border-top:1px solid #a4946d55;padding-top:15px}.wonder-journal summary{cursor:pointer;font:13px Georgia;color:#d7c393}.wonder-journal article{padding:11px 0;border-bottom:1px solid #aac1cf22}.wonder-journal p{font-size:11px}.wonder-preview{border-color:#b4b6e876!important}@media(max-width:760px){.wonder-dialog{height:96vh;width:98vw;max-width:98vw}.wonder-layout{grid-template-columns:1fr;display:flex;flex-direction:column}.wonder-viewport{height:52%;flex-shrink:0}.wonder-aside{flex:1}.wonder-header h2{font-size:25px}.wonder-header{padding:15px 20px}.wonder-node{width:27px;height:27px;font-size:14px}.wonder-token{width:51px;height:69px}}@media(prefers-reduced-motion:reduce){.wonder-token{transition:none;animation:none!important}}
