/* Ski Resort Mountain 3D (with sim3d.css, ski3d.css, park3d.css) */
.rm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; box-shadow: 0 0 0 1.5px #fff; }
.rm-dot.rm-green { background: #16a34a; } .rm-dot.rm-blue { background: #2563eb; border-radius: 2px; } .rm-dot.rm-red { background: #dc2626; border-radius: 2px; }
.rm-dot.rm-black { background: #0f172a; border-radius: 1px; transform: rotate(45deg) scale(.85); }
.rm-big b { font-size: 22px; } .rm-big.is-run b { font-size: 26px; color: #fde047; }
.rm-pass { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.rm-pass li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); overflow: hidden; font-size: 13.5px; }
.rm-pass li i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); background: linear-gradient(90deg, #38bdf8, #facc15); }
.rm-pass b { font-variant-numeric: tabular-nums; }
.rm-setpass { margin-top: 14px; } .rm-setpass h3 { margin: 0 0 4px; }
.rm-static button { cursor: default; pointer-events: none; }
.rm-toast { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); min-width: 240px; max-width: min(420px, 86%); background: rgba(8, 20, 40, .9); border: 1px solid rgba(253, 224, 71, .55); border-radius: 14px; padding: 9px 14px; color: #e2e8f0; display: flex; flex-direction: column; gap: 3px; text-align: center; font: 600 13px/1.4 system-ui, sans-serif; cursor: pointer; animation: rmIn .35s ease; z-index: 3; }
.rm-toast[hidden] { display: none; } .rm-toast b { color: #fde047; font-size: 16px; } .rm-toast em { font-style: normal; color: #7dd3fc; font-weight: 800; }
@keyframes rmIn { 0% { opacity: 0; transform: translate(-50%, -8px); } 100% { opacity: 1; transform: translate(-50%, 0); } }
.rm-mapbox { position: absolute; inset: 0; background: rgba(4, 12, 26, .72); display: flex; align-items: center; justify-content: center; padding: 10px; z-index: 6; }
.rm-mapbox[hidden] { display: none; }
.rm-mapcard { background: #0f172a; border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px; padding: 10px 12px; width: min(1100px, 100%); height: 100%; display: flex; flex-direction: column; gap: 8px; color: #e2e8f0; }
.rm-maphead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex: none; } .rm-maphead b { font-size: 16px; } .rm-maphead .btn { padding: 5px 12px; }
/* landscape: the square map fills the card's height, the side panel scrolls next to it */
.rm-mapgrid { flex: 1; min-height: 0; display: flex; gap: 12px; }
.rm-mapwrap { height: 100%; aspect-ratio: 400 / 628; flex: none; max-width: 58%; }
.rm-mapwrap canvas { position: static !important; width: 100% !important; height: 100% !important; object-fit: contain; border-radius: 12px; display: block; background: #e2e8f0; }
.rm-mapside { flex: 1; min-width: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-right: 4px; }
.rm-mapside h4 { margin: 8px 0 2px; font-size: 13.5px; } .rm-mapside h4:first-child { margin-top: 0; } .rm-mapside small { opacity: .7; font-size: 11.5px; }
.rm-tele { display: flex; flex-wrap: wrap; gap: 6px; } .rm-tele .btn { padding: 6px 10px; font-size: 13px; } .rm-tele .is-locked { opacity: .45; }
.rm-mapside .pk-list { margin-top: 2px; grid-template-columns: 1fr; gap: 4px; } .rm-mapside .pk-list button { padding: 6px 9px; }
@container (max-width: 600px) {
  .rm-mapgrid { flex-direction: column; overflow-y: auto; } .rm-mapwrap { width: 100%; height: auto; max-width: none; } .rm-mapside { overflow: visible; }
}
@container (max-width: 560px) {
  .rm-big b { font-size: 16px; } .rm-big.is-run b { font-size: 20px; }
  .rm-toast { top: 150px; font-size: 11.5px; padding: 6px 10px; min-width: 0; } .rm-toast b { font-size: 13.5px; }
  .rm-mapbox { padding: 4px; } .rm-mapcard { padding: 8px; border-radius: 12px; }
}
