

.rm { --rm-edge: rgba(255,255,255,.1); --rm-sky: #5cc8ff; }

.rm-search {
  display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 11px 16px;
  border: 1px solid var(--rm-edge); background: rgba(255,255,255,.04); max-width: 520px;
}
.rm-search svg { width: 17px; height: 17px; flex: none; color: var(--rm-sky); }
.rm-search input { width: 100%; border: 0; outline: 0; background: none; font: inherit; color: #eaf3ff; }
.rm-search input::placeholder { color: #7f93ab; }

.rm-find { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 14px; }
.rm-find .rm-search { margin: 0; flex: 1 1 320px; }
.rm-place { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; border: 1px solid var(--rm-edge); background: rgba(255,255,255,.04); color: #93a7bd; font-size: .9rem; }
.rm-place svg { width: 17px; height: 17px; flex: none; color: var(--rm-sky); }
.rm-place span { white-space: nowrap; }
.rm-place select { border: 0; outline: 0; background: transparent; color: #eaf3ff; font: inherit; font-weight: 600; padding: 11px 6px; cursor: pointer; max-width: 230px; }
.rm-place select option { background: #0a1522; color: #eaf3ff; }
.rm-place:focus-within { border-color: rgba(92,200,255,.6); }
.rm-group-h { margin: 8px 0 4px; font-family: "Space Grotesk", system-ui, sans-serif; font-size: 1.3rem; color: #fff; }
.rm-group-note { margin: 0 0 16px; color: #93a7bd; font-size: .93rem; }
.rm-grid + .rm-group-h { margin-top: 36px; }
.rm-set { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rm-sky); }

.rm-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 22px 0 26px; }
.rm-how div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--rm-edge); background: rgba(255,255,255,.03); }
.rm-how b { display: grid; place-items: center; width: 26px; height: 26px; flex: none; background: rgba(92,200,255,.16); color: var(--rm-sky); font-size: .85rem; }
.rm-how p { margin: 0; font-size: .92rem; color: #b8c8da; }
.rm-how strong { display: block; color: #eaf3ff; font-size: .95rem; margin-bottom: 2px; }

.rm-count { color: #93a7bd; font-size: .92rem; margin: 0 0 14px; }
.rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.rm-card { display: flex; flex-direction: column; border: 1px solid var(--rm-edge); background: rgba(255,255,255,.03); overflow: hidden; transition: border-color .18s, transform .18s, box-shadow .18s; }
.rm-card:hover { border-color: rgba(92,200,255,.5); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(0,0,0,.35); }

.rm-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1522; border-bottom: 1px solid var(--rm-edge); }
.rm-shot img.rm-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.rm-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgba(4,12,22,.5)); pointer-events: none; }
.rm-kind { position: absolute; bottom: 10px; left: 10px; z-index: 2; padding: 4px 11px; background: rgba(4,12,22,.78); border: 1px solid rgba(255,255,255,.16); color: #cfe3f7; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rm-open { position: absolute; inset: 0; z-index: 3; width: 100%; border: 0; background: none; cursor: pointer; font: inherit; color: transparent; }
.rm-open:focus-visible { outline: 2px solid var(--rm-sky); outline-offset: -3px; }
.rm-card:hover .rm-peek, .rm-open:focus-visible + .rm-peek { opacity: 1; }
.rm-peek { position: absolute; z-index: 2; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; background: rgba(4,12,22,.86); border: 1px solid rgba(255,255,255,.22); color: #eaf3ff; font-size: .85rem; font-weight: 600; opacity: 0; transition: opacity .18s; pointer-events: none; }
.rm-peek svg { width: 15px; height: 15px; color: var(--rm-sky); }

.rm-tx { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.rm-tx h2 { margin: 0 0 6px; font-size: 1.14rem; color: #fff; font-family: "Space Grotesk", system-ui, sans-serif; }
.rm-blurb { margin: 0 0 14px; font-size: .93rem; color: #b8c8da; line-height: 1.55; }
.rm-what { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; }
.rm-what li { position: relative; padding-left: 22px; font-size: .88rem; color: #9fb3c8; }
.rm-what li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 10px; height: 5px; border: 2px solid var(--rm-sky); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.rm-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.rm-use, .rm-look {
  padding: 11px 18px; border: 1px solid transparent; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  transition: filter .15s, background .15s, border-color .15s, color .15s;
}
.rm-use { background: linear-gradient(145deg, #7dd3fc, #38b6ff 60%, #1d7bff); color: #04121f; }
.rm-use:hover { filter: brightness(1.07); }
.rm-use:disabled { opacity: .65; cursor: default; }
.rm-look { background: transparent; border-color: var(--rm-edge); color: #cfe3f7; }
.rm-look:hover { border-color: rgba(92,200,255,.6); color: #fff; }
.rm-note { margin: 12px 0 0; font-size: .84rem; color: #8fa6bd; }
.rm-empty { padding: 40px 0; text-align: center; color: #93a7bd; }
.rm-foot { margin: 30px 0 0; padding: 18px; border: 1px solid var(--rm-edge); background: rgba(255,255,255,.03); font-size: .92rem; color: #b8c8da; }
.rm-foot strong { color: #eaf3ff; }

.rm-view { position: fixed; inset: 0; z-index: 2147483000; }
.rm-view-bg { position: absolute; inset: 0; background: rgba(2,8,16,.82); backdrop-filter: blur(4px); }
.rm-view-box { position: absolute; inset: 3vh 3vw; display: flex; flex-direction: column; background: #07121d; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.rm-view-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.rm-view-top strong { display: block; color: #fff; font-size: 1.05rem; }
.rm-view-top span { font-size: .82rem; color: #93a7bd; }
.rm-view-acts { display: flex; align-items: center; gap: 10px; }
.rm-size { display: flex; border: 1px solid var(--rm-edge); }
.rm-size button { padding: 8px 14px; border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: #a9bed3; cursor: pointer; }
.rm-size button[aria-pressed="true"] { background: rgba(92,200,255,.16); color: #fff; }
.rm-x { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rm-edge); background: none; color: #cfe3f7; cursor: pointer; }
.rm-x:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.rm-x svg { width: 18px; height: 18px; }
.rm-view-stage { flex: 1; display: grid; place-items: center; overflow: auto; padding: 16px; background: #0a1522; }
.rm-view-stage iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.rm-view-stage.is-phone iframe { width: 390px; max-width: 100%; height: 100%; max-height: 844px; border: 1px solid rgba(255,255,255,.2); }

.rm-going { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; background: rgba(2,8,16,.88); color: #eaf3ff; text-align: center; padding: 24px; }
.rm-going b { display: block; font-size: 1.2rem; margin-bottom: 6px; font-family: "Space Grotesk", system-ui, sans-serif; }
.rm-going span { color: #9fb3c8; font-size: .95rem; }
.rm-spin { width: 34px; height: 34px; margin: 0 auto 16px; border: 3px solid rgba(255,255,255,.18); border-top-color: #38b6ff; border-radius: 50%; animation: rmspin .8s linear infinite; }
@keyframes rmspin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .rm-grid { grid-template-columns: 1fr; }
  .rm-view-box { inset: 0; }
  .rm-view-top strong { font-size: .98rem; }
  .rm-size { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-card, .rm-use, .rm-look, .rm-peek { transition: none; }
  .rm-spin { animation: none; }
}

.rm-pages { position: absolute; bottom: 10px; left: 96px; z-index: 2; padding: 4px 11px; background: rgba(4,12,22,.78); border: 1px solid rgba(255,255,255,.16); color: #cfe3f7; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 600px) { .rm-find .rm-search, .rm-place { flex: 1 1 100%; min-width: 0; box-sizing: border-box; } .rm-place select { flex: 1 1 auto; min-width: 0; width: 100%; max-width: none; } }
