/* Pickle Road Trip — tablet first, big targets, portrait and landscape */
.roadtrip-page .game-main{max-width:1100px}
.rt-screen{padding:.2rem 0 1rem}
.rt-hero{display:block;width:min(100%, 720px);margin:.4rem auto 1rem;border-radius:18px;box-shadow:var(--shadow)}
.rt-hero-small{width:min(70%, 280px);margin:0 auto .8rem;display:block;border-radius:18px}
.rt-kicker{margin:0;font-weight:700;color:var(--green);letter-spacing:.02em}
.rt-toolbar{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.rt-gauge{display:flex;align-items:center;gap:.55rem;background:var(--card);border-radius:999px;padding:.25rem .8rem .25rem .25rem;box-shadow:var(--shadow);font-weight:700;color:var(--green-ink)}
.rt-gauge img{width:72px;height:48px;object-fit:contain}
.rt-gauge-track{width:min(42vw, 180px);height:16px;background:var(--cream-dark);border-radius:999px;overflow:hidden}
.rt-gauge-fill{height:100%;width:0;background:linear-gradient(90deg,var(--yellow),var(--leaf));border-radius:999px;transition:width .35s ease}
.rt-tools,.rt-map-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center}
.rt-map-actions{margin:.35rem 0 .6rem}
.rt-tool{min-height:48px;padding:.4rem .8rem;font-size:1rem}
.rt-map-label{margin:.2rem 0 .4rem;text-align:center;font-weight:700;color:var(--green-ink)}
.rt-map{position:relative;width:min(100%, calc(min(52vh, 520px) * 16 / 9));aspect-ratio:16/9;max-height:min(52vh, 520px);margin:0 auto;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);background:#cde9b8}
.rt-map-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block}
.rt-map-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.rt-map-lab{position:absolute;transform:translate(-50%,-50%);font-weight:800;font-size:.78rem;color:#15351a;background:rgba(255,252,240,.82);padding:.12rem .4rem;border-radius:8px;pointer-events:none;white-space:nowrap;letter-spacing:.01em;box-shadow:0 1px 3px rgba(36,48,39,.15)}
.rt-map-lab.is-inset{font-size:.7rem;white-space:nowrap;text-align:center;line-height:1.15;z-index:3}
.rt-map-n{position:absolute;right:.55rem;top:.45rem;width:32px;height:32px;border-radius:50%;background:rgba(255,252,240,.9);color:#15351a;font-weight:800;display:flex;align-items:center;justify-content:center;pointer-events:none;box-shadow:0 1px 3px rgba(36,48,39,.15)}
.rt-map-camper{position:absolute;width:56px;height:auto;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35));z-index:1}
.rt-pin{position:absolute;transform:translate(-50%,-50%);width:56px;height:56px;border:0;border-radius:50%;font-weight:800;font-size:1.05rem;cursor:pointer;box-shadow:0 4px 10px rgba(36,48,39,.25);color:#fff;background:var(--green);z-index:2}
.rt-pin:focus-visible{outline:none;box-shadow:var(--focus)}
.rt-pin.is-locked{background:#8a9488;cursor:default}
.rt-pin.is-done{background:var(--purple)}
.rt-pin.is-open{background:var(--leaf);box-shadow:0 0 0 4px var(--yellow-soft), 0 4px 10px rgba(36,48,39,.25)}
.rt-pin.is-coming{background:#6b7a6e;font-size:.7rem;width:48px;height:48px}
.rt-hint{text-align:center;color:var(--muted);margin:.5rem 0}
#play-hint:not([hidden]),#drive-hint:not([hidden]){
  background:var(--yellow-soft);color:var(--green-ink);font-weight:700;border-radius:16px;
  padding:.65rem 1rem;max-width:40rem;margin:.45rem auto;box-shadow:var(--shadow)
}

/* Play stage */
.rt-stage{position:relative;width:100%;aspect-ratio:16/9;max-height:min(68vh, 640px);margin:0 auto;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);background:#cde9b8}
.rt-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.rt-hotspots{position:absolute;inset:0;z-index:2}
.rt-hot{
  position:absolute;transform:translate(-50%,-50%);border:0;background:transparent;padding:0;
  cursor:pointer;min-width:96px;min-height:72px;border-radius:16px;
}
.rt-hot img{width:120px;max-width:28vw;height:auto;filter:drop-shadow(0 3px 5px rgba(0,0,0,.4));pointer-events:none;display:block}
.rt-hot-tap{min-width:44px;min-height:44px;width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.rt-hot-tap img{width:48px;max-width:none;height:auto}

.rt-hot.is-on img,.rt-hot.is-right img{filter:drop-shadow(0 0 0 4px #e7c445) drop-shadow(0 3px 5px rgba(0,0,0,.4))}
.rt-hot.is-on,.rt-hot.is-right{box-shadow:0 0 0 4px var(--yellow)}
.rt-hot.is-wrong{box-shadow:0 0 0 4px #e07070}
.rt-hot-sky,.rt-hot-water{
  min-width:30%;min-height:28%;background:transparent;border-radius:24px;
}
.rt-hot-sky:focus-visible,.rt-hot-water:focus-visible,.rt-hot:focus-visible{outline:none;box-shadow:var(--focus)}
.rt-cast{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:.4rem;padding:0 .2rem .1rem;background:linear-gradient(transparent, rgba(20,40,24,.28) 70%);z-index:3;pointer-events:none}
.rt-kid{height:min(26vh, 190px);width:auto;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35));flex:0 0 auto}
.rt-stage .rt-kid{height:min(14vh, 100px)}
.rt-bubble{
  pointer-events:none;background:#fffef8;border-radius:18px;padding:.55rem .85rem;
  font-weight:700;color:var(--green-ink);box-shadow:var(--shadow);
  max-width:52%;margin:0 0 1.5rem;position:relative;text-align:center;font-size:1.02rem;line-height:1.3
}
.rt-bubble:empty{display:none}
.rt-dock{position:absolute;left:4%;right:4%;bottom:28%;z-index:4;max-height:46%;overflow:auto;pointer-events:auto}
.rt-dock:empty{display:none}
.rt-board{margin:.4rem auto;max-width:720px}
.rt-grid{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:center}
.rt-item,.rt-card-btn,.rt-choice{
  appearance:none;border:0;background:var(--card);border-radius:16px;box-shadow:var(--shadow);
  min-width:80px;min-height:80px;padding:.5rem .7rem;font:inherit;font-weight:700;cursor:pointer;color:var(--ink)
}
.rt-item.is-on,.rt-choice.is-on,.rt-card-btn.is-picked{box-shadow:var(--focus);background:var(--yellow-soft)}
.rt-item.is-right,.rt-choice.is-right{background:#d8f0c8}
.rt-item.is-wrong,.rt-choice.is-wrong{background:#f8d4d4}
.rt-card{background:var(--card);border-radius:18px;box-shadow:var(--shadow);padding:1rem 1.1rem;margin:0 auto 1rem;max-width:640px;text-align:left}
.rt-card h3{margin:0 0 .35rem;color:var(--green-ink)}
.rt-card-clue{background:var(--purple-soft)}
.rt-list{text-align:left;max-height:50vh;overflow:auto;margin:0 0 1rem}
.rt-list article{margin:0 0 .8rem}
.rt-overlay-card{width:min(92vw, 640px);max-height:86vh;overflow:auto}
.rt-drive{display:flex;flex-direction:column;align-items:center;gap:.8rem}
.rt-compass-map{position:relative;width:min(100%, 520px);aspect-ratio:16/9;background:#e7f3d8;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.rt-compass-map .rt-drive-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.rt-compass-map .rt-dot{position:absolute;width:22px;height:22px;border-radius:50%;background:var(--green);transform:translate(-50%,-50%)}
.rt-compass-map .rt-flag{position:absolute;transform:translate(-50%,-50%);width:22px;height:22px;background:var(--yellow);border:3px solid #15351a;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.3)}
.rt-compass-map .rt-camper{position:absolute;width:72px;height:auto;object-fit:contain;transform:translate(-50%,-70%);filter:drop-shadow(0 3px 4px rgba(0,0,0,.4));z-index:2}
.rt-dpad{grid-template-columns:72px 72px 72px;grid-template-rows:72px 72px 72px;margin:0}
.rt-dpad button{width:72px;height:72px;font-size:1.25rem;font-weight:800}
.rt-dpad button[data-dir="N"]{grid-column:2;grid-row:1}
.rt-dpad button[data-dir="W"]{grid-column:1;grid-row:2}
.rt-dpad button[data-dir="E"]{grid-column:3;grid-row:2}
.rt-dpad button[data-dir="S"]{grid-column:2;grid-row:3}
.rt-drive-steps{text-align:center;font-weight:700;color:var(--green-ink)}
.rt-life{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center}
.rt-life .rt-card-btn{min-width:110px;max-width:200px;min-height:64px;background:rgba(255,252,240,.94)}
.rt-hills{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}
.rt-hills button{width:min(46%, 280px);min-height:160px;padding:.4rem;background:rgba(255,252,240,.94)}
.rt-hills svg{width:100%;height:120px;display:block}
.rt-hexes{display:grid;grid-template-columns:repeat(4, minmax(72px, 1fr));gap:.55rem;max-width:520px;margin:0 auto}
.rt-hexes .rt-item{background:rgba(255,252,240,.92);min-width:72px;min-height:84px}
.rt-hexes svg{width:64px;height:64px;display:block;margin:0 auto}
.rt-who{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center}
.rt-who .rt-choice{width:min(42%, 220px);min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;background:rgba(255,252,240,.94)}
.rt-who .rt-choice img{width:110px;height:110px;object-fit:contain}
.rt-choices{display:flex;flex-direction:column;gap:.55rem;max-width:520px;margin:.2rem auto 0}
.rt-choices .rt-choice{min-height:56px;text-align:left;width:100%;background:rgba(255,252,240,.94)}
.rt-stop-art{display:block;width:min(100%, 720px);margin:.5rem auto .8rem;border-radius:18px;box-shadow:var(--shadow)}


.rt-hot-rock{min-width:8.5%;min-height:13%;border-radius:18px;background:transparent}
.rt-hot-rock.is-right{background:rgba(231,196,69,.28)}
.rt-hot-fall img{width:48px;max-width:none;height:auto}
.rt-hot-fall-zone{min-width:16%;min-height:28%;border-radius:24px}
/* Toast sits under the top bar so it never covers Change level / Start over */
.roadtrip-page .toast{top:4.8rem;bottom:auto}

@media (min-width:800px) and (orientation:landscape){
  .rt-drive{flex-direction:row;justify-content:center;align-items:center}
  .rt-kid{height:min(32vh, 200px)}
  .rt-stage{max-height:min(74vh, 680px)}
}
@media (max-height:500px) and (orientation:landscape){
  .roadtrip-page .rt-hero,.rt-stop-art{width:min(42vw, 300px);display:inline-block;vertical-align:middle;margin:.2rem}
  .rt-map{width:min(100%, calc(50vh * 16 / 9));max-height:50vh;aspect-ratio:16/9}
  .rt-toolbar{margin-bottom:.3rem}
  .rt-pin{width:48px;height:48px}
  .rt-drive{flex-direction:row}
  .rt-compass-map{width:min(52vw, 360px)}
  .rt-hexes{grid-template-columns:repeat(6, minmax(56px, 1fr))}
  .rt-kid{height:min(28vh, 140px)}
  .rt-bubble{font-size:.92rem;margin-bottom:1rem}
  .rt-dock{bottom:24%}
}
@media (prefers-reduced-motion:reduce){
  .rt-gauge-fill{transition:none}
}

.rt-region-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin:1rem auto 0;max-width:760px}
.rt-region-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:.55rem;min-height:0;background:var(--card)}
.rt-region-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:0 0 .45rem}
.rt-region-name{font-weight:800;color:var(--green-ink);font-size:1.05rem}
.rt-region-card .hint{margin:.2rem 0 0;color:var(--muted);font-weight:600;font-size:.92rem}
.rt-region-card.is-locked{opacity:.72;background:#ece8de}
.rt-region-card.is-locked img{filter:grayscale(.35)}
.rt-grownup{display:block;margin:.85rem auto 0;background:none;border:0;color:var(--muted);font:inherit;font-size:.85rem;font-weight:700;text-decoration:underline;cursor:pointer;min-height:44px;padding:.2rem .6rem}
.rt-grownup:focus-visible{outline:none;box-shadow:var(--focus);border-radius:8px}
.rt-grownup-note{max-width:36rem;margin:.35rem auto 0;font-size:.9rem;color:var(--muted);background:rgba(255,252,240,.9);border-radius:12px;padding:.6rem .8rem}
.rt-count{display:flex;flex-direction:column;align-items:center;gap:.5rem;width:100%}
.rt-count-num{font-size:clamp(2.4rem,8vw,3.4rem);font-weight:800;color:var(--green-ink);background:rgba(255,252,240,.94);border-radius:18px;padding:.2rem 1.1rem;min-width:6rem;text-align:center}
.rt-count-btns{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}
.rt-count-btns .rt-choice{min-width:96px}
.rt-switch{position:relative;width:100%;height:100%}
.rt-pack{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}
.rt-pack .rt-choice{min-width:120px;max-width:180px}
.rt-glider-mark{min-width:44px;min-height:44px;width:44px;height:44px;border-radius:50%;background:rgba(255,252,240,.86);border:3px dashed var(--green);font-weight:800;color:var(--green-ink)}
.rt-glider-mark.is-right{background:#d8f0c8;border-style:solid}
.rt-cave-veil{position:absolute;inset:0;background:rgba(10,16,22,.55);pointer-events:none;z-index:1}
.rt-hot-wall{min-width:44px;min-height:44px;width:44px;height:44px;border-radius:50%;background:rgba(255,236,150,.88);box-shadow:0 0 16px rgba(255,220,80,.7);border:0;font-weight:800;color:#15351a}
.rt-hot-wall.is-right{background:#d8f0c8;box-shadow:0 0 0 4px var(--yellow)}
.rt-hot-wall.is-wrong{background:#f8d4d4}
.rt-print{width:56px;height:72px;border-radius:40% 40% 46% 46%;border:3px solid #5a3a22;background:rgba(90,58,34,.28)}
.rt-print.is-on{box-shadow:0 0 0 4px var(--yellow)}
.rt-print.is-right{background:rgba(90,58,34,.5);box-shadow:0 0 0 4px var(--yellow)}
