/* Arrival refinements: existing objects, entrances and original Western materials. */
/* N04: handling belongs to the specimen, never the surrounding map. */
#stage.webgl-ready{pointer-events:auto;touch-action:pan-y;cursor:grab;user-select:none}
#stage.webgl-ready:active{cursor:grabbing}
.specimen-drag-note{display:block;position:absolute;top:auto;width:auto;height:auto;writing-mode:horizontal-tb;letter-spacing:normal;bottom:8%;left:20%;right:48%;text-align:center;font:italic 14px/1.4 EB,Georgia,serif;color:#f0deb5;pointer-events:none;background:#17241de8;padding:3px 6px}
.specimen-drag-note[hidden],.map-destinations[hidden]{display:none}
/* Folded desktop: three labelled cartographic stops, not a second button bar.
   The overlay itself is transparent to the specimen's drag interaction. */
.tableau>.map-destinations{inset:0;display:block;z-index:5;transform:none;pointer-events:none}
.tableau>.map-destinations .map-destination{position:absolute;display:flex;align-items:center;min-width:44px;min-height:44px;padding:6px 10px 6px 6px;font:15px/1.2 EB,Georgia,serif;color:#302011;background:#ead7ae;border:1px solid #80613b;border-radius:24px;box-shadow:0 2px 5px #0006;pointer-events:auto}
.tableau>.map-destinations .map-destination::before{content:'●';display:grid;place-items:center;flex:none;width:26px;height:26px;margin-right:6px;border:2px solid #f4dfb1;border-radius:50%;transform:none;background:#763c27;color:#f8e8c5;font:10px/1 Georgia,serif}
.tableau>.map-destinations .map-destination:nth-child(1){top:21%;left:3%}
.tableau>.map-destinations .map-destination:nth-child(2){top:39%;right:2%}
.tableau>.map-destinations .map-destination:nth-child(3){bottom:27%;left:3%}
.tableau>.map-destinations .map-destination:is(:hover,:focus-visible){background:#fff0c9;outline:2px solid #513716;outline-offset:3px}
.tableau>.map-destinations .map-destination.destination-active::before{background:#44291b}
/* N07: readable secondary information, without promoting decorative cartography. */
.creek-vignette .panning-art-label,.panning-art-label{font-size:12px!important;line-height:1.5;letter-spacing:.05em;color:#f8e6bb;background:#14221e}
.adventure-art .image-note{font-size:13px;line-height:1.5;letter-spacing:.08em;color:#4d3e26}
.disclosure{font-size:16px;line-height:1.5}
.finishing-previews>span,.fieldcraft-label,.survey-plate .survey-note{font-size:12px;line-height:1.5;letter-spacing:.04em}
/* Keep desktop art left / invitation right, and match its DOM at that size. */
@media(min-width:761px){#creek>.creek-vignette,#creek>.panning-art{grid-column:1;grid-row:1}#creek>.chapter-copy{grid-column:2;grid-row:1}}
@media(max-width:760px){
 /* N01: two purposeful nav rows beside a compact brand/control line. */
 header.shell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;min-height:0;padding-block:8px}
 header.shell .wordmark{grid-column:1;grid-row:1;font-size:22px}
 header.shell .scene-motion{grid-column:2;grid-row:1;margin:0;font-size:11px;padding-inline:7px;min-height:44px}
 header.shell nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;width:100%;margin:0}
 header.shell nav a{min-height:44px;padding:4px 8px;justify-content:center}
 /* N03: invitations and their real links precede all optional artwork/studies. */
 #creek,#trading{grid-template-columns:minmax(0,1fr);align-items:start}
 #creek>.chapter-copy,#trading>.chapter-copy{grid-column:1;grid-row:auto;order:initial;text-align:left}
 #creek>.creek-vignette,#creek>.panning-art,#trading>.adventure-art{grid-column:1;grid-row:auto;order:initial}
 /* N06: retain each original cover/spine, but give the title a full measure. */
 .guide-list{grid-template-columns:minmax(0,1fr);gap:18px;padding-right:12px}
 .guide-list>a.field-book,.guide-list>a.field-book:nth-child(2){display:grid;grid-template-columns:minmax(0,1fr) 55px;grid-template-rows:auto auto;min-height:150px;padding:20px 17px 20px 28px;gap:4px 8px;transform:none}
 .field-book .guide-code{grid-column:1;grid-row:1;font-size:13px}
 .field-book>span:not(.guide-code){grid-column:1;grid-row:2;min-width:0}
 .field-book .cover-engraving{grid-column:2;grid-row:1/3;width:55px;height:48px;align-self:start;margin-top:12px}
 .field-book>b{grid-column:2;grid-row:2;justify-self:end;align-self:end;margin:0}
 .field-book h3{font-size:26px;line-height:1.08;margin:4px 0 8px}.field-book p{font-size:17px;line-height:1.35;margin:0}
}
@media(max-width:700px){
 /* N02: same credited images, small-format subject crops only. */
 .routes .plate-trading img{width:230%;max-width:none;height:230%;object-fit:cover;object-position:center;transform:translate(-31%,-45%)}
 .routes a:is(:hover,:focus-visible) .plate-trading img{transform:translate(-31%,-45%)}
 .routes .plate-mine img{width:150%;max-width:none;height:150%;object-fit:cover;object-position:50% 28%;transform:translate(-17%,-10%)}
 .routes a:is(:hover,:focus-visible) .plate-mine img{transform:translate(-17%,-10%)}
 .specimen-drag-note{font-size:12px;left:8%;right:5%;bottom:0;padding:1px 3px}
}
@media(prefers-reduced-motion:reduce){#stage{scroll-behavior:auto}}

/* Field-object refinements: existing artwork and controls remain functional. */
.destination-plate::after{content:"";position:absolute;inset:5px;border:1px solid #e2c78a99;box-shadow:inset 0 0 0 2px #29231880;pointer-events:none}
.routes .destination-plate img{filter:sepia(.38) saturate(.72) contrast(1.08)}
.routes .plate-mine img{filter:sepia(.38) saturate(.72) brightness(1.35) contrast(1.08)}
.creek-water{background:repeating-linear-gradient(175deg,#283f35 0px,#283f35 16px,#536b5355 17px,#283f35 19px);box-shadow:inset 0 4px 12px #101d17aa,inset 0 -4px 10px #101d1788}
.creek-water::before{content:"";position:absolute;left:18px;top:24px;width:42px;height:27px;border:1px solid #d6d6ad;border-radius:48% 52% 45% 55%;background:radial-gradient(ellipse at 35% 25%,#c2c4a1,#727d69 48%,#364c3d 75%);box-shadow:0 5px 0 -2px #b4c7a555,0 9px 0 -4px #b4c7a544}
.water-caption{right:16px;bottom:26px;padding:8px 12px;border:1px solid #b2bd9b;background:#1b3025;color:#f3e6bf;box-shadow:0 3px 0 #101c16}
.creek-water:is(:hover,:focus) .water-caption{background:#e3d3aa;color:#24372b;box-shadow:0 3px 0 #6a795e}
.creek-water:active .water-caption{transform:translateY(2px);box-shadow:0 1px 0 #6a795e}
.adventure-art{position:relative;background-image:url('/homepage/paper-grain.svg'),linear-gradient(135deg,#f0e2c3,#d4c39d);box-shadow:3px 5px 0 #b4a17b,7px 9px 0 #75603f,0 19px 28px #08060377}
.adventure-art>img{outline-offset:5px;box-shadow:0 3px 9px #54432d55}
.adventure-art .print-open{background:#493820;color:#f7e7bf;border-top:1px solid #806943;font-size:18px;text-align:center}
.adventure-art .print-open::before{content:"⌕";display:inline-block;margin-right:10px;font:26px/1 Georgia,serif;vertical-align:-2px}
.adventure-art .print-open:hover,.adventure-art .print-open:focus-visible{background:#69502c;color:#fff3d3}
.finishing-lamp{padding:10px;border:1px solid #755c37;background:radial-gradient(ellipse at 50% 0,#a77b3c55,transparent 70%),#20190f}
.finishing-lamp .finishing-button{position:relative;padding-top:12px}
.finishing-lamp .finishing-button[aria-pressed=true]{background:#ead09a;color:#25190c;box-shadow:inset 0 -3px #8b6937,0 0 14px #d9ad5966}
.finishing-lamp .finishing-button[aria-pressed=true]::before{content:"◆";position:absolute;top:0;left:50%;transform:translateX(-50%);font-size:9px;color:#62431d}
@media(max-width:700px){.destination-plate::after{inset:4px}.water-caption{font-size:16px}.adventure-art .image-note{font-size:12px;letter-spacing:.03em}}
@media(prefers-reduced-motion:reduce){.creek-water:active .water-caption{transform:none}}

/* Compact phone signposts: retain each native destination and chapter link. */
@media(max-width:760px){
 header.shell nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
 header.shell nav a{padding:4px 0;font-size:16px}
}

/* A full-width shallow specimen on the phone; keep the original canvas and map. */
@media(max-width:700px){
 .finishing-ready .opening:not(:has(.map-open)) h1{grid-column:1/-1;grid-row:1;font-size:clamp(30px,8vw,38px);padding:5px 0}
 .finishing-ready .opening:not(:has(.map-open)) h1 br{display:block}
 .finishing-ready .opening:not(:has(.map-open)) .tableau{grid-column:1/-1;grid-row:2;height:160px}
 .finishing-ready .opening:not(:has(.map-open)) .gold-piece{inset:0}
 .finishing-ready .opening:not(:has(.map-open)) #stage{inset:0;height:160px}
 .finishing-ready .opening:not(:has(.map-open)) .claim-map{inset:20px 5% 10px;transform:rotate(-3deg)}
 .finishing-ready .opening:not(:has(.map-open)) .intro{grid-row:3}
 .finishing-ready .opening:not(:has(.map-open)) .routes{grid-row:4}
 .finishing-ready .opening:not(:has(.map-open)) .finishing-previews{grid-row:5}
 .finishing-ready .opening:not(:has(.map-open))>.desk-controls{grid-row:6}
 .finishing-ready .opening:not(:has(.map-open))>.compass{grid-row:7}
 .finishing-ready .opening:not(:has(.map-open)) .frontier-explorer{grid-row:8}
}

@media(max-width:760px){header.shell nav .route-engraving{display:none}}

/* Phone trailhead: four individually engraved wayfinding tabs, not a second chapter rail. */
@media(max-width:700px){
 header.shell nav{gap:4px;margin-top:14px}
 header.shell nav a{min-width:0;min-height:72px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:5px 1px 6px;font-size:15px;line-height:1.1;text-align:center;background:linear-gradient(180deg,#44321f,#241b12);border:1px solid #8d7043;box-shadow:inset 0 0 0 2px #1c160f,inset 0 -3px #614726}
 header.shell nav .route-engraving{display:block;width:27px;height:27px;color:#d4b678}
 header.shell nav a:is(:hover,:focus-visible){background:#584024;color:#fff0ca;outline:2px solid #f0d18d;outline-offset:2px;z-index:2}
 header.shell nav a::after{bottom:3px}
}
/* A labeled specimen mount: independent of the trailhead and still draggable. */
@media(max-width:700px){
 .finishing-ready .opening:not(:has(.map-open)) .tableau{height:204px;background:radial-gradient(ellipse at 50% 48%,#30483d,#17251e 62%,#101a15);border:1px solid #a3844e;box-shadow:inset 0 0 0 4px #1b2118,inset 0 0 0 5px #80673c,0 5px 14px #0008}
 .finishing-ready .opening:not(:has(.map-open)) .tableau::before{content:'DIGITAL SCULPTURE';position:absolute;top:9px;left:11px;z-index:2;color:#e3cca0;font:9px/1.2 Arial,sans-serif;letter-spacing:.1em;pointer-events:none}
 .finishing-ready .opening:not(:has(.map-open)) .tableau::after{content:'Au';position:absolute;top:7px;right:12px;z-index:2;color:#d3b774;font:italic 17px/1 Georgia,serif;pointer-events:none}
 .finishing-ready .opening:not(:has(.map-open)) #stage{height:204px}
 .finishing-ready .opening:not(:has(.map-open)) .claim-map{inset:31px 7% 20px;opacity:.65}
}

 .specimen-card,.trail-detail{display:none}
/* Mobile trail directory and specimen field card. Existing links and controls stay native. */
@media(max-width:700px){
 header.shell nav{gap:2px;margin-top:8px;border-block:1px solid #a78955;background:#171711}
 header.shell nav a{min-height:68px;border:0;border-right:1px solid #6f5c3d;box-shadow:none;background:transparent;gap:1px;padding:4px 0;font-size:15px}
 header.shell nav a:last-child{border-right:0}
 header.shell nav .route-engraving{width:22px;height:22px}
 header.shell nav a .trail-detail{display:block;color:#c8b88d;font:9px/1.15 Arial,sans-serif;letter-spacing:.03em}
 .finishing-ready .opening:not(:has(.map-open)) .tableau{height:192px;background:#192a22;border:1px solid #a3844e;overflow:hidden}
 .finishing-ready .opening:not(:has(.map-open)) .tableau::before,.finishing-ready .opening:not(:has(.map-open)) .tableau::after{display:none}
 .finishing-ready .opening:not(:has(.map-open)) .gold-piece{inset:0 36% 0 0}
 .finishing-ready .opening:not(:has(.map-open)) #stage{height:192px}
 .finishing-ready .opening:not(:has(.map-open)) .claim-map{inset:12px 38% 12px 8px;opacity:.5}
 .finishing-ready .opening:not(:has(.map-open)) .specimen-card{display:flex;position:absolute;right:8px;top:12px;bottom:12px;width:33%;z-index:6;flex-direction:column;justify-content:center;gap:7px;padding:8px;border-left:1px solid #a3844e;color:#ead9b4;pointer-events:none}
 .specimen-card b{font:20px/1 Georgia,serif;color:#e7c879}.specimen-card span{font:13px/1.25 Georgia,serif}.specimen-card small{font:10px/1.3 Arial,sans-serif;color:#d5c59d}
 .finishing-ready .opening:not(:has(.map-open)) .specimen-drag-note{left:2%;right:38%;bottom:3px;font-size:11px}
}
