
:root{--jv-nav-jade:#294b35;--jv-nav-deep:#173824;--jv-nav-paper:#fff8e8;--jv-nav-gold:#b69657;--jv-nav-ink:#423b2f}

/* Retire the old always-visible green destination bars. */
.world-nav.fixed-nav,.resource-bottom-nav,.letters-bottom-nav,.contact-nav{display:none!important}
body.full-destination,body.letters-v67,body.contact-page,body.free-art-v62{padding-bottom:0!important}
body.letters-v67 .letters-room{height:100dvh!important}
body.letters-v67 .letters-stage{max-height:100dvh!important;width:min(100vw,calc(100dvh * 1.5))!important}
body.contact-page .contact-stage{min-height:100dvh!important}

/* Homepage letter object */
.home-letters-envelope{position:fixed;z-index:55;right:clamp(10px,2vw,28px);top:clamp(10px,2.2vh,24px);width:clamp(138px,13.5vw,215px);display:block;text-decoration:none;filter:drop-shadow(0 13px 18px rgba(42,31,18,.25));transform:rotate(1deg);transition:transform .28s ease,filter .28s ease;-webkit-tap-highlight-color:transparent}
.home-letters-envelope img{display:block;width:100%;height:auto}
.home-letters-envelope:hover,.home-letters-envelope:focus-visible{transform:rotate(-1deg) translateY(-3px) scale(1.025);filter:drop-shadow(0 18px 25px rgba(42,31,18,.32));outline:none}
.home-letters-envelope:focus-visible::after{content:"";position:absolute;inset:8px;border:2px solid rgba(255,239,175,.9);border-radius:36px;pointer-events:none}

/* Small universal Explore control */
.jade-explore-toggle{position:fixed;z-index:310;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:72px;height:72px;border-radius:50%;border:1px solid rgba(182,150,87,.62);background:radial-gradient(circle at 35% 28%,#fffdf4 0,#f5e8ca 60%,#e4cf9e 100%);box-shadow:0 14px 34px rgba(23,40,27,.26),inset 0 0 0 5px rgba(255,255,255,.24);color:var(--jv-nav-jade);cursor:pointer;display:grid;place-items:center;align-content:center;gap:1px;font-family:Georgia,"Times New Roman",serif;-webkit-tap-highlight-color:transparent;transition:transform .2s ease,box-shadow .2s ease}
.jade-explore-toggle:hover,.jade-explore-toggle:focus-visible{transform:translateY(-2px);box-shadow:0 18px 38px rgba(23,40,27,.3),inset 0 0 0 5px rgba(255,255,255,.32);outline:2px solid rgba(240,210,139,.86);outline-offset:3px}
.jade-explore-toggle .jv-compass{font-size:22px;line-height:1;color:#8c7247}
.jade-explore-toggle .jv-explore-label{font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-weight:700}

.jade-explore-panel{position:fixed;z-index:309;right:max(16px,env(safe-area-inset-right));bottom:100px;width:min(370px,calc(100vw - 32px));padding:18px;border-radius:24px;background:linear-gradient(145deg,rgba(255,250,239,.985),rgba(237,220,184,.98));border:1px solid rgba(182,150,87,.58);box-shadow:0 28px 70px rgba(20,36,24,.34);color:var(--jv-nav-ink);opacity:0;transform:translateY(10px) scale(.96);transform-origin:bottom right;pointer-events:none;transition:opacity .18s ease,transform .18s ease;font-family:Georgia,"Times New Roman",serif}
.jade-explore-panel::before{content:"";position:absolute;inset:7px;border-radius:17px;border:1px solid rgba(182,150,87,.25);pointer-events:none}
.jade-explore-panel.open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.jade-explore-head{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 3px 13px;border-bottom:1px solid rgba(182,150,87,.32)}
.jade-explore-head small{display:block;color:#8b734b;font-size:9px;text-transform:uppercase;letter-spacing:.16em;font-weight:700}
.jade-explore-head strong{display:block;margin-top:2px;color:var(--jv-nav-jade);font-size:24px;font-weight:500}
.jade-explore-close{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,252,243,.72);color:var(--jv-nav-jade);font:25px/1 Georgia,serif;cursor:pointer}
.jade-explore-links{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:13px}
.jade-explore-links a{display:flex;align-items:center;min-height:42px;padding:9px 11px;border-radius:12px;border:1px solid rgba(182,150,87,.25);background:rgba(255,253,246,.52);color:var(--jv-nav-jade);text-decoration:none;font-size:13px;font-weight:700;line-height:1.15;transition:background .15s ease,transform .15s ease}
.jade-explore-links a:hover,.jade-explore-links a:focus-visible{background:rgba(255,255,255,.82);transform:translateY(-1px);outline:2px solid rgba(182,150,87,.52);outline-offset:1px}
.jade-explore-links a.primary{background:rgba(41,75,53,.09);border-color:rgba(41,75,53,.22)}
.jade-explore-links a.current{background:linear-gradient(#456d4d,#294b35);color:#fff5d7;border-color:rgba(225,197,130,.48)}
.jade-explore-rule{position:relative;z-index:2;height:1px;margin:13px 4px 4px;background:linear-gradient(90deg,transparent,rgba(182,150,87,.5),transparent)}
.jade-explore-note{position:relative;z-index:2;margin:9px 4px 1px;color:#74654b;font-size:11px;line-height:1.45;text-align:center;font-style:italic}

@media(max-width:860px){
  body.letters-v67 .letters-room{height:100dvh!important}
  body.letters-v67 .letters-stage{height:100dvh!important;max-height:none!important}
}
@media(max-width:600px){
  .home-letters-envelope{width:118px;right:7px;top:7px}
  .jade-explore-toggle{width:62px;height:62px;right:max(11px,env(safe-area-inset-right));bottom:max(11px,env(safe-area-inset-bottom))}
  .jade-explore-toggle .jv-compass{font-size:19px}.jade-explore-toggle .jv-explore-label{font-size:9px}
  .jade-explore-panel{left:10px;right:10px;bottom:82px;width:auto;border-radius:20px;padding:16px}
  .jade-explore-links{grid-template-columns:1fr 1fr;gap:7px}.jade-explore-links a{font-size:12px;min-height:40px;padding:8px 9px}
  body.free-art-v62{padding-bottom:0!important}
}
@media(prefers-reduced-motion:reduce){.home-letters-envelope,.jade-explore-toggle,.jade-explore-panel,.jade-explore-links a{transition:none!important}}
@media(min-width:601px){body.free-art-v62 .art-page{min-height:100dvh!important}}

/* v6.10 refinement: quiet sealed-letter shortcut and softer parchment map. */
.home-letters-envelope{width:clamp(74px,6.4vw,105px)!important;right:clamp(12px,1.7vw,24px)!important;top:clamp(12px,1.7vh,22px)!important;filter:drop-shadow(0 8px 12px rgba(42,31,18,.18))!important;transform:rotate(-1deg)!important}
.home-letters-envelope:hover,.home-letters-envelope:focus-visible{transform:rotate(-1deg) translateY(-1px)!important;filter:drop-shadow(0 10px 14px rgba(42,31,18,.22))!important}
.home-letters-envelope:focus-visible::after{inset:2px!important;border-radius:8px!important}

.jade-explore-toggle{width:64px!important;height:64px!important;background:radial-gradient(circle at 40% 30%,#fffdf4,#efe0bb 72%,#dbc38d)!important;box-shadow:0 10px 24px rgba(23,40,27,.21),inset 0 0 0 4px rgba(255,255,255,.25)!important}
.jade-explore-panel{width:min(445px,calc(100vw - 32px))!important;padding:23px 22px 20px!important;border-radius:18px!important;background:
  linear-gradient(rgba(255,249,233,.965),rgba(238,220,183,.97)),
  url('free-resources-wash-v51.webp') 92% 98%/52% auto no-repeat!important;
  border:1px solid rgba(153,116,61,.55)!important;box-shadow:0 30px 76px rgba(20,36,24,.32),inset 0 0 0 6px rgba(255,255,255,.18)!important}
.jade-explore-panel::before{inset:8px!important;border-radius:11px!important;border:1px solid rgba(143,107,56,.30)!important}
.jade-explore-panel::after{content:"";position:absolute;left:34px;right:34px;top:67px;height:1px;background:linear-gradient(90deg,transparent,rgba(155,119,63,.55),transparent);pointer-events:none}
.jade-explore-head{padding:0 6px 18px!important;border-bottom:0!important;text-align:left}
.jade-explore-head small{color:#876c43!important}.jade-explore-head strong{font-size:27px!important;font-weight:500!important}
.jade-explore-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px 10px!important;padding:17px 5px 3px!important}
.jade-explore-links a{position:relative;min-height:45px!important;padding:10px 11px 10px 34px!important;border:0!important;border-bottom:1px dotted rgba(142,111,65,.35)!important;border-radius:0!important;background:transparent!important;color:#294b35!important;font-size:13px!important;font-weight:700!important}
.jade-explore-links a::before{content:attr(data-symbol);position:absolute;left:8px;top:50%;transform:translateY(-50%);color:#987748;font-size:16px;font-weight:400}
.jade-explore-links a:hover,.jade-explore-links a:focus-visible{background:rgba(255,255,255,.40)!important;transform:none!important;outline:1px solid rgba(182,150,87,.32)!important;outline-offset:0!important;border-radius:8px!important}
.jade-explore-links a.current{background:rgba(41,75,53,.09)!important;color:#173824!important;border-radius:8px!important;box-shadow:inset 3px 0 0 #52715a}
.jade-explore-rule{margin:14px 14px 7px!important}.jade-explore-note{max-width:330px;margin:9px auto 1px!important;color:#74634a!important}
@media(max-width:600px){.home-letters-envelope{width:72px!important;right:9px!important;top:9px!important}.jade-explore-toggle{width:58px!important;height:58px!important}.jade-explore-panel{left:10px!important;right:10px!important;width:auto!important;padding:20px 17px 17px!important}.jade-explore-links{grid-template-columns:1fr 1fr!important}.jade-explore-links a{padding-left:31px!important;font-size:12px!important}}

/* Letters v6.10 must cover the viewport while preserving the artwork's 3:2
   coordinate canvas for the working transparent form fields. */
@media(min-width:861px){
  body.letters-v67{padding:0!important;width:100vw!important;height:100dvh!important;overflow:hidden!important}
  body.letters-v67 .letters-room{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;display:block!important;overflow:hidden!important}
  body.letters-v67 .letters-stage{position:absolute!important;left:50%!important;top:50%!important;width:max(100vw,150dvh)!important;height:auto!important;aspect-ratio:3/2!important;max-height:none!important;transform:translate(-50%,-50%)!important;box-shadow:none!important}
  body.letters-v67 .letters-room-art{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:fill!important}
  body.letters-v67 .letters-art-form{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
}

/* v6.12 — preserve the complete Letters From Jade artwork; never crop it */
.home-letters-envelope{
  width:clamp(92px,8.4vw,132px)!important;
  right:clamp(11px,1.6vw,24px)!important;
  top:clamp(11px,1.6vh,22px)!important;
  aspect-ratio:235/220!important;
  overflow:visible!important;
  transform:rotate(-1deg)!important;
  filter:drop-shadow(0 7px 12px rgba(42,31,18,.19))!important;
}
.home-letters-envelope img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.home-letters-envelope:hover,.home-letters-envelope:focus-visible{
  transform:rotate(-1deg) translateY(-2px) scale(1.015)!important;
}
@media(max-width:600px){
  .home-letters-envelope{width:86px!important;right:8px!important;top:8px!important;}
}
\n\n/* v6.13 — approved single floating Letters From Jade envelope. */
.home-letters-envelope{
  width:clamp(118px,10.5vw,172px)!important;
  aspect-ratio:1/1!important;
  right:clamp(10px,1.5vw,22px)!important;
  top:clamp(10px,1.5vh,20px)!important;
  overflow:visible!important;
  transform:rotate(-2deg)!important;
  filter:drop-shadow(0 12px 18px rgba(28,25,16,.34))!important;
}
.home-letters-envelope img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.home-letters-envelope:hover,.home-letters-envelope:focus-visible{
  transform:rotate(-1deg) translateY(-4px) scale(1.045)!important;
  filter:drop-shadow(0 16px 24px rgba(28,25,16,.40))!important;
}
@media(max-width:600px){
  .home-letters-envelope{width:104px!important;right:7px!important;top:7px!important;}
}

.jade-explore-panel{max-height:calc(100dvh - 120px);overflow-y:auto;box-sizing:border-box}
@media(max-width:600px){.jade-explore-panel{max-height:calc(100dvh - 100px)}}
