/* Dreamweave v1.146: the redrawn Dreamworld map (assets/js/journey-world.js). Loaded after journey.css. */

/* ---------- sky ---------- */
.dwg-star { fill: #F0E0C8; opacity: .6; }
.dwg-star--t { animation: dwgw-twinkle 5.5s ease-in-out infinite; }
.dwg-map__svg.is-day .dwg-star { opacity: .28; }
.dwg-aurora { opacity: .8; animation: dwgw-aurora 16s ease-in-out infinite alternate; transform-origin: 600px 80px; }
.dwg-moon__dark { fill: #0f2152; stroke: #F0E0C8; stroke-opacity: .28; stroke-width: 1; }
.dwg-moon { fill: #F5E9D4; opacity: .96; filter: none; }
.dwg-moon__mare { fill: #B6A4CE; opacity: .16; }
.dwg-map__svg.is-day .dwg-moon { opacity: .7; }
.dwg-meteor { fill: none; stroke: #FFF4DC; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 80; stroke-dashoffset: 80; opacity: 0; animation: dwgw-meteor 9s linear infinite; }
.dwg-hills { fill: #101f4d; opacity: .95; }
.dwg-hills--far { fill: #2a3877; opacity: .6; }
.dwg-map__svg.is-day .dwg-hills { fill: #2b356f; }
.dwg-map__svg.is-day .dwg-hills--far { fill: #6c62a2; }
.dwg-horizon { stroke: #F0E0C8; stroke-opacity: .22; stroke-width: 1; fill: none; }
.dwg-const__line { fill: none; stroke: #B6A4CE; stroke-opacity: .5; stroke-width: .8; }
.dwg-const__star { fill: #FFF4DC; filter: drop-shadow(0 0 3px rgba(255,236,190,.9)); }

/* ---------- sea ---------- */
.dwg-seawave { fill: none; stroke: #B6A4CE; stroke-opacity: .2; stroke-width: 1.2; stroke-linecap: round; }
.dwg-moonpath path { stroke: #F0E0C8; stroke-opacity: .34; stroke-width: 1.6; stroke-linecap: round; fill: none; animation: dwgw-shimmer 5s ease-in-out infinite; }
.dwg-frame { fill: none; stroke: #D9B98A; stroke-opacity: .38; stroke-width: 1.2; stroke-dasharray: 2 5; }
.dwg-rose circle { fill: none; stroke: #D9B98A; stroke-opacity: .55; stroke-width: 1.1; }
.dwg-rose path { fill: #D9B98A; fill-opacity: .55; stroke: #D9B98A; stroke-opacity: .75; stroke-width: .9; stroke-linejoin: round; }
.dwg-rose text { fill: #D9B98A; font-size: 13px; text-anchor: middle; opacity: .8; }

/* ---------- roads ---------- */
.dwg-road__line { fill: none; stroke: #B6A4CE; stroke-opacity: .2; stroke-width: 1.6; stroke-dasharray: 2 9; stroke-linecap: round; transition: stroke .8s, stroke-opacity .8s; }
.dwg-road__lamp { fill: #FFDFA3; opacity: 0; transition: opacity .8s; }
.dwg-road.is-lit .dwg-road__line { stroke: #EBD3A8; stroke-opacity: .7; stroke-dasharray: 1 7; stroke-width: 2; }
.dwg-road.is-lit .dwg-road__lamp { opacity: .95; filter: drop-shadow(0 0 4px rgba(255,217,138,.95)); animation: dwgw-twinkle 4.5s ease-in-out infinite; }
.dwg-road.is-lit .dwg-road__lamp:nth-of-type(2n) { animation-delay: -2s; }
.dwg-road.is-hidden { display: none; }

/* ---------- land ---------- */
.dwg-landshadow { fill: #010a20; opacity: .42; filter: url(#dwgm-soft); }
.dwg-foam { fill: #8fa6d6; fill-opacity: .13; stroke: #F0E0C8; stroke-opacity: .3; stroke-width: 1; stroke-dasharray: 9 7; }
.dwg-land { fill: url(#dwgm-land); stroke: #D9B98A; stroke-opacity: .6; stroke-width: 1.5; }
.dwg-shoal { fill: #3f6b8f; opacity: .34; stroke: none; }
.dwg-meadow { fill: #3d7a78; opacity: .42; }
.dwg-sand { fill: #d7bf96; opacity: .5; }
.dwg-hill { fill: #2a4d86; stroke: #F0E0C8; stroke-opacity: .35; stroke-width: 1; }
.dwg-area.is-fog .dwg-land { fill: #14294f; stroke-opacity: .22; }
.dwg-area.is-fog .dwg-shoal, .dwg-area.is-fog .dwg-foam { opacity: .25; }
.dwg-area.is-fog .dwg-landmark { opacity: .16; }
.dwg-area.is-open .dwg-landmark { animation: dwgw-arrive 1.2s ease both; }
.dwg-area:hover .dwg-land, .dwg-area:focus-visible .dwg-land, .dwg-feat:hover .dwg-land, .dwg-feat:focus-visible .dwg-land { stroke-opacity: 1; stroke-width: 2.4; }
.dwg-area.is-current .dwg-land, .dwg-feat.is-current .dwg-land { stroke: #F5E3BD; stroke-opacity: 1; stroke-width: 2.8; }
.dwg-area.is-open .dwg-halo { opacity: .9; }
.dwg-here { fill: #EBD3A8; }
.dwg-label { font-size: 22px; }
.dwg-label--s { font-size: 16px; fill: #D9B98A; letter-spacing: .04em; stroke-width: 4px; }
.dwg-fog__a { animation: dwgw-drift 19s ease-in-out infinite alternate; }
.dwg-fog__b { animation: dwgw-drift 23s ease-in-out infinite alternate-reverse; }
.dwg-fog__c { animation: dwgw-drift 27s ease-in-out infinite alternate; }

/* A place that is on the map but not open yet. */
.dwg-soon.is-fog .dwg-land { fill: #14294f; stroke-opacity: .22; }
.dwg-soon.is-fog .dwg-shoal, .dwg-soon.is-fog .dwg-foam { opacity: .25; }
.dwg-soon.is-fog .dwg-landmark { opacity: .3; }
.dwg-soon .dwg-fog__q { display: none; }
.dwg-soon .dwg-label { fill: #A6A0A4; }
.dwg-soon__tag { fill: #EBD3A8; font-size: 17px; font-style: italic; text-anchor: middle; letter-spacing: .08em; paint-order: stroke; stroke: #010F2A; stroke-width: 4px; stroke-linejoin: round; }
.dwg-preview { margin: 0 0 10px; }

/* ---------- drawings ---------- */
.dwg-ink { fill: none; stroke: #F0E0C8; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.dwg-wall { fill: #1b2f63; stroke: #F0E0C8; stroke-opacity: .75; stroke-width: 1.2; stroke-linejoin: round; }
.dwg-wall2 { fill: #2c4688; stroke: #F0E0C8; stroke-opacity: .75; stroke-width: 1.2; stroke-linejoin: round; }
.dwg-column { fill: #c9c3dc; fill-opacity: .5; stroke: #F0E0C8; stroke-opacity: .6; stroke-width: .8; }
.dwg-roof, .dwg-awning { fill: #7a67a8; stroke: #F0E0C8; stroke-opacity: .8; stroke-width: 1.2; stroke-linejoin: round; }
.dwg-thatch { fill: #b99a66; stroke: #F0E0C8; stroke-opacity: .8; stroke-width: 1.1; stroke-linejoin: round; }
.dwg-dome { fill: #8fa6d6; fill-opacity: .55; stroke: #F0E0C8; stroke-opacity: .85; stroke-width: 1.2; }
.dwg-domeslit { fill: #06153a; stroke: #F0E0C8; stroke-opacity: .5; stroke-width: .8; }
.dwg-door { fill: #0b1b45; stroke: #D9B98A; stroke-width: 1.1; stroke-linejoin: round; }
.dwg-win { fill: #FFDFA3; stroke: #fff3d3; stroke-width: .5; filter: drop-shadow(0 0 3px rgba(255,214,140,.85)); }
.dwg-win--cool { fill: #cfe0ff; stroke: #eaf1ff; filter: drop-shadow(0 0 3px rgba(190,214,255,.85)); }
.dwg-windark { fill: #0b1b45; stroke: #F0E0C8; stroke-opacity: .35; stroke-width: .5; }
.dwg-clock { fill: none; stroke: #0b1b45; stroke-width: 1.3; stroke-linecap: round; }
.dwg-glow { fill: #EBD3A8; stroke: #F5E3BD; stroke-width: .8; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(235,211,168,.9)); }
.dwg-glowline { fill: none; stroke: #EBD3A8; stroke-width: 2; stroke-linecap: round; }
.dwg-cog { animation: dwgw-spin 24s linear infinite; }
.dwg-smoke { fill: none; stroke: #B6A4CE; stroke-opacity: .6; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 5; animation: dwgw-smoke 6s linear infinite; }
.dwg-tree { fill: #2c5a6e; stroke: #9fc3c3; stroke-opacity: .45; stroke-width: .8; stroke-linejoin: round; }
.dwg-tree2 { fill: #3f8088; stroke: none; opacity: .9; }
.dwg-trunk, .dwg-stem { fill: none; stroke: #9fc3c3; stroke-opacity: .7; stroke-width: 1.3; stroke-linecap: round; }
.dwg-grass { fill: none; stroke: #7fb3a8; stroke-opacity: .8; stroke-width: 1.2; stroke-linecap: round; }
.dwg-hedge { fill: none; stroke: #5f9a8f; stroke-width: 3; stroke-linejoin: round; opacity: .8; }
.dwg-pathline, .dwg-cobble { fill: none; stroke: #d7bf96; stroke-opacity: .55; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 5; }
.dwg-flower { fill: #c9b6e6; stroke: #F0E0C8; stroke-width: .6; }
.dwg-flower2 { fill: #e9c9a0; stroke: #F0E0C8; stroke-width: .6; }
.dwg-flowerc { fill: #fff3d3; }
.dwg-glass { fill: #9fd0d6; fill-opacity: .3; stroke: #F0E0C8; stroke-opacity: .8; stroke-width: 1; stroke-linejoin: round; }
.dwg-stone { fill: #9aa3c8; stroke: #F0E0C8; stroke-opacity: .7; stroke-width: .8; stroke-linejoin: round; }
.dwg-stonefill { fill: #9aa3c8; stroke: #F0E0C8; stroke-width: .8; }
.dwg-sanctum-glow { fill: url(#dwgm-glow); animation: dwgw-breathe 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.dwg-plank { fill: #8a6f52; stroke: #F0E0C8; stroke-opacity: .6; stroke-width: .9; }
.dwg-stripe { fill: #b9647a; opacity: .9; }
.dwg-bulb { fill: #FFDFA3; filter: drop-shadow(0 0 3px rgba(255,214,140,.95)); animation: dwgw-twinkle 3.6s ease-in-out infinite; }
.dwg-bulb:nth-of-type(2n) { animation-delay: -1.8s; fill: #e7c8f0; }
.dwg-beam { animation: dwgw-sweep 14s ease-in-out infinite; }
.dwg-beamlight { fill: url(#dwgm-beam); opacity: .5; }
.dwg-foamline { fill: none; stroke: #F0E0C8; stroke-opacity: .5; stroke-width: 1.3; stroke-linecap: round; }
.dwg-firefly { fill: #FFE9B8; filter: drop-shadow(0 0 4px rgba(255,233,184,1)); animation: dwgw-firefly 7s ease-in-out infinite; }
.dwg-firefly:nth-of-type(2n) { animation-delay: -3.2s; }
.dwg-swing { animation: dwgw-swing 5s ease-in-out infinite; }

/* ---------- the Seasonal Isles ---------- */
.dwg-isle { opacity: .5; transition: opacity .8s; }
.dwg-isle .dwg-land { stroke-width: 1; }
.dwg-isleink { fill: none; stroke: #F0E0C8; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.dwg-isle__ring { fill: none; stroke: #EBD3A8; stroke-width: 1.2; opacity: 0; }
.dwg-isle__beacon { fill: #FFDFA3; opacity: 0; }
.dwg-isle.is-played, .dwg-isle.is-season { opacity: 1; }
.dwg-isle.is-played .dwg-isle__beacon { opacity: 1; filter: drop-shadow(0 0 4px rgba(255,217,138,1)); }
.dwg-isle.is-season .dwg-isle__ring { opacity: .8; animation: dwgw-ring 3.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.dwg-area.is-fog .dwg-isle { opacity: .22; }

/* ---------- your own places ---------- */
.dwg-feat, .dwg-ferry { cursor: pointer; outline: none; }
.dwg-feat:focus-visible .dwg-label, .dwg-ferry:focus-visible .dwg-sail { fill: #F5E3BD; }
.dwg-pool { fill: #0b2a5c; stroke: #cfe0ff; stroke-opacity: .6; stroke-width: 1; }
.dwg-ripple { fill: none; stroke: #cfe0ff; stroke-opacity: .7; stroke-width: .9; animation: dwgw-ripple 4.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.dwg-wishlamp rect { fill: #FFDFA3; stroke: #fff3d3; stroke-width: .4; }
.dwg-wishlamp { animation: dwgw-twinkle 5s ease-in-out infinite; }
.dwg-wishlamp.is-unlit { opacity: .25; animation: none; }
.dwg-wishlamp--mine rect { fill: #FFF1CC; filter: drop-shadow(0 0 5px rgba(255,226,160,1)); }
.dwg-sail { fill: #F0E0C8; stroke: #fff; stroke-opacity: .6; stroke-width: .6; stroke-linejoin: round; }
.dwg-sail--b { fill: #cdbfe4; }
.dwg-ferry__bob { animation: dwgw-bob 5s ease-in-out infinite; }
.dwg-ferry.is-current .dwg-sail { fill: #F5E3BD; }
.dwg-mine .dwg-land { stroke-dasharray: none; }

/* ---------- weather ---------- */
.dwg-weather { pointer-events: none; }
.dwg-rain { fill: none; stroke: #cfe0ff; stroke-opacity: .28; stroke-width: 1; stroke-linecap: round; animation: dwgw-rain 1.1s linear infinite; }
.dwg-rain--b { animation-duration: 1.6s; stroke-opacity: .18; }
.dwg-mistband { opacity: .5; animation: dwgw-band 38s ease-in-out infinite alternate; }
.dwg-gust { fill: none; stroke: #F0E0C8; stroke-opacity: .34; stroke-width: 1.4; stroke-linecap: round; animation: dwgw-gust 11s linear infinite; }

/* ---------- under the map ---------- */
.dwg-skynote { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 2px 0; font-size: .86rem; color: var(--g-lav, #B6A4CE); letter-spacing: .03em; }
.dwg-skynote span + span::before { content: "·"; margin-right: 18px; opacity: .6; }
.dwg-chips--own { display: flex; margin-top: 10px; }
.dwg-chips--own .dwg-chip { border-style: dashed; border-color: rgba(217,185,138,.5); color: var(--g-cream, #F0E0C8); }
.dwg-chips--own .dwg-chip.is-current { border-style: solid; }

/* ---------- panels ---------- */
.dwg-panel--own a:not(.dwg-btn) { color: var(--g-gold, #D9B98A); }
.dwg-home { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 18px; align-items: center; margin: .4em 0 1em; }
.dwg-home__svg { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--g-line, rgba(217,185,138,.25)); }
.dwg-home__facts { margin: .4em 0 0; padding-left: 1.1em; }
.dwg-home__facts li { margin: .25em 0; }
.dwg-home__opts { display: grid; gap: 10px; margin: 0 0 1.2em; }
.dwg-pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dwg-pick legend { float: left; width: 7em; padding: 0; margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--g-lav, #B6A4CE); }
.dwg-pick__b { font: inherit; font-size: .92rem; background: transparent; color: var(--g-cream, #F0E0C8); border: 1px solid rgba(217,185,138,.45); border-radius: 99px; padding: 6px 14px; cursor: pointer; }
.dwg-pick__b:hover { background: rgba(217,185,138,.14); }
.dwg-pick__b.is-on { background: var(--g-gold, #D9B98A); color: #010F2A; border-color: var(--g-gold, #D9B98A); font-weight: 700; }
.dwg-pick__b:focus-visible, .dwg-room__b:focus-visible { outline: 2px solid #F5E3BD; outline-offset: 2px; }
.dwg-home__shelf { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 .4em; padding: 10px 12px; border-bottom: 3px solid rgba(217,185,138,.5); border-radius: 4px; background: rgba(1,15,42,.4); }
.dwg-home__shelf li { margin: 0; padding: 0; width: 46px; }
.dwg-home__shelf svg { display: block; width: 100%; height: auto; }
.dwg-wishes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 .8em; }
.dwg-field__n, .dwg-pool__line, .dwg-ferry__dest { font-family: var(--g-serif, Georgia, serif); font-size: 1.3rem; color: var(--g-cream, #F0E0C8); font-style: italic; margin: .2em 0 .6em; }
.dwg-rooms { list-style: none; margin: 0 0 .6em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.dwg-room { margin: 0; padding: 0; }
.dwg-room__b { width: 100%; font: inherit; font-size: .82rem; background: transparent; border: 0; color: var(--g-text, #cfd3e6); cursor: pointer; padding: 4px; text-align: center; }
.dwg-room__b svg { display: block; width: 62px; height: auto; margin: 0 auto 4px; }
.dwg-room__arch { fill: #06153a; stroke: #6f7aa0; stroke-width: 1.6; }
.dwg-room svg text { fill: #6f7aa0; font-size: 24px; text-anchor: middle; font-family: var(--g-serif, Georgia, serif); }
.dwg-room.is-lit .dwg-room__arch { fill: #142a5e; stroke: #D9B98A; }
.dwg-room.is-lit .dwg-room__b { color: var(--g-cream, #F0E0C8); }
.dwg-room__lamp { fill: #FFDFA3; stroke: #fff3d3; stroke-width: 1; stroke-linejoin: round; }
.dwg-room__tip { font-size: .82rem; margin: 2px 0 0; text-align: center; color: var(--g-lav, #B6A4CE); }

@media (max-width: 760px) {
	.dwg-home { grid-template-columns: 1fr; }
	.dwg-label--s, .dwg-soon__tag { display: none; }
	.dwg-pick legend { float: none; width: 100%; }
}

/* ---------- movement ---------- */
@keyframes dwgw-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes dwgw-aurora { from { transform: scaleY(.85) translateX(-14px); opacity: .55; } to { transform: scaleY(1.15) translateX(14px); opacity: .95; } }
@keyframes dwgw-meteor { 0%, 86% { stroke-dashoffset: 80; opacity: 0; } 88% { opacity: 1; } 96% { stroke-dashoffset: -80; opacity: .9; } 100% { stroke-dashoffset: -80; opacity: 0; } }
@keyframes dwgw-shimmer { 0%, 100% { stroke-opacity: .14; } 50% { stroke-opacity: .42; } }
@keyframes dwgw-drift { from { transform: translateX(-12px); } to { transform: translateX(14px); } }
@keyframes dwgw-arrive { from { opacity: .16; } to { opacity: 1; } }
@keyframes dwgw-spin { to { transform: rotate(360deg); } }
@keyframes dwgw-smoke { to { stroke-dashoffset: -32; } }
@keyframes dwgw-breathe { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes dwgw-sweep { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(16deg); } }
@keyframes dwgw-firefly { 0%, 100% { opacity: .2; transform: translate(0, 0); } 50% { opacity: 1; transform: translate(4px, -5px); } }
@keyframes dwgw-swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes dwgw-ring { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
@keyframes dwgw-ripple { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.15); opacity: 0; } }
@keyframes dwgw-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3px) rotate(2deg); } }
@keyframes dwgw-rain { to { transform: translate(-10px, 32px); } }
@keyframes dwgw-band { from { transform: translateX(-60px); } to { transform: translateX(60px); } }
@keyframes dwgw-gust { 0% { transform: translateX(-80px); opacity: 0; } 20%, 70% { opacity: 1; } 100% { transform: translateX(260px); opacity: 0; } }

/* Calm motion (Comfort settings) and the device's own reduced-motion setting: everything holds still. */
@media (prefers-reduced-motion: reduce) {
	.dwg-map__svg *, .dwg-home__svg * { animation: none !important; }
	.dwg-meteor { stroke-dashoffset: 0; opacity: .7; }
	.dwg-ripple { opacity: .6; }
}
.dw-calm .dwg-map__svg *, .dw-calm .dwg-home__svg * { animation: none !important; }
.dw-calm .dwg-meteor { stroke-dashoffset: 0; opacity: .7; }
.dw-calm .dwg-ripple { opacity: .6; }
