/* Vakantie Matcher (samen swipen) */
.matcher-wrap { max-width: 560px; margin: 0 auto; padding: 28px 16px 64px; }
.rm-matcher { position: relative; }
.rm-m-load, .rm-m-spin { color: var(--muted, #6b6477); }

.rm-m-card {
  background: #fff; border-radius: 20px; padding: 26px 22px;
  box-shadow: 0 10px 30px rgba(20,16,40,.10); text-align: center;
}
.rm-m-card h1 { font-size: 28px; margin: 0 0 10px; }
.rm-m-card h2 { font-size: 23px; margin: 4px 0 6px; }
.rm-m-card h3 { font-size: 15px; margin: 20px 0 8px; color: var(--muted,#6b6477); text-transform: uppercase; letter-spacing: .05em; }
.rm-m-sub { color: var(--muted,#6b6477); font-size: 15px; margin: 0 0 18px; line-height: 1.5; }
.rm-m-hint { color: var(--muted,#6b6477); font-size: 14px; margin: 10px 0 16px; }
.rm-m-err { background: #fde8e4; color: #b3402b; border-radius: 10px; padding: 9px 12px; font-size: 14px; margin: 0 0 14px; }

.rm-m-hero p { color: var(--muted,#6b6477); line-height: 1.55; margin: 0 0 22px; }
.rm-m-actions { display: flex; flex-direction: column; gap: 12px; }

.rm-m-btn {
  display: inline-block; width: 100%; font: inherit; font-weight: 700; font-size: 16px;
  border: 0; border-radius: 14px; padding: 14px 18px; cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .08s ease, box-shadow .2s ease;
}
.rm-m-btn.primary { background: var(--coral,#ff6b5e); color: #fff; box-shadow: 0 6px 16px rgba(255,107,94,.35); }
.rm-m-btn.ghost { background: #f1ede6; color: var(--ink,#1c1830); }
.rm-m-btn:active { transform: translateY(1px); }
.rm-m-btn[disabled] { opacity: .6; cursor: default; }

.rm-m-back { background: none; border: 0; color: var(--muted,#6b6477); font: inherit; font-size: 14px; cursor: pointer; float: left; padding: 0 0 8px; }
.rm-m-exit { background: none; border: 0; color: var(--muted,#6b6477); font: inherit; font-size: 14px; cursor: pointer; margin-top: 14px; text-decoration: underline; }

.rm-m-field { display: block; text-align: left; margin: 0 0 14px; }
.rm-m-field span { display: block; font-size: 13px; font-weight: 600; color: var(--muted,#6b6477); margin-bottom: 5px; }
.rm-m-field input, .rm-m-field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink,#1c1830);
  padding: 12px 12px; border: 1px solid rgba(20,16,40,.16); border-radius: 12px; background: #fff;
}

/* lobby */
.rm-m-code {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 44px; letter-spacing: .18em;
  background: #faf6ef; border: 2px dashed var(--coral,#ff6b5e); color: var(--ink,#1c1830);
  border-radius: 16px; padding: 18px 10px; margin: 6px 0 14px; cursor: pointer; user-select: all;
}
.rm-m-code.copied { background: #e7f7ec; border-color: #34b36a; }
.rm-m-share { margin: 0 0 6px; }
.rm-m-users { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rm-m-users li { background: #efe7fb; color: #5b3e7a; font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; }

/* swipe */
.rm-m-swipe { text-align: center; }
.rm-m-counter { color: var(--muted,#6b6477); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.rm-m-deal { position: relative; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 36px rgba(20,16,40,.16); text-align: left; }
.rm-m-deal.fly-yes { animation: rmFlyYes .22s ease forwards; }
.rm-m-deal.fly-no { animation: rmFlyNo .22s ease forwards; }
@keyframes rmFlyYes { to { transform: translateX(60%) rotate(8deg); opacity: 0; } }
@keyframes rmFlyNo { to { transform: translateX(-60%) rotate(-8deg); opacity: 0; } }
.rm-m-photo { position: relative; height: 280px; background-size: cover; background-position: center; }
.rm-m-deal.big .rm-m-photo { height: 200px; }
.rm-m-stars { position: absolute; top: 12px; left: 12px; background: rgba(20,16,40,.6); color: #ffd36b; font-size: 14px; padding: 4px 9px; border-radius: 8px; }
.rm-m-rating { position: absolute; top: 12px; right: 12px; background: #1f6f86; color: #fff; font-weight: 800; font-size: 14px; padding: 4px 9px; border-radius: 8px; }
.rm-m-info { padding: 16px 18px 18px; }
.rm-m-info strong { display: block; font-size: 20px; color: var(--ink,#1c1830); }
.rm-m-info small { display: block; color: var(--muted,#6b6477); font-size: 14px; margin: 2px 0 6px; }
.rm-m-meta { display: block; font-size: 14px; color: var(--ink,#1c1830); margin-bottom: 8px; }
.rm-m-amen { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rm-m-amen span { font-size: 12px; background: #f1ede6; color: #5b5266; padding: 4px 9px; border-radius: 999px; }
.rm-m-price { font-size: 18px; font-weight: 800; color: var(--coral,#ff6b5e); }
.rm-m-cap { display: block; font-size: 12px; font-weight: 600; color: var(--muted,#6b7280); margin-top: 1px; }

.rm-m-vote { display: flex; justify-content: center; gap: 26px; margin-top: 20px; }
.rm-m-no, .rm-m-yes { width: 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer; font-size: 26px; box-shadow: 0 8px 20px rgba(20,16,40,.16); transition: transform .08s ease; }
.rm-m-no { background: #fff; color: #b3402b; }
.rm-m-yes { background: var(--coral,#ff6b5e); color: #fff; }
.rm-m-no:active, .rm-m-yes:active { transform: scale(.92); }

/* wachten / match */
.rm-m-wait .rm-m-spin, .rm-m-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #eee; border-top-color: var(--coral,#ff6b5e); margin: 6px auto 14px; animation: rmSpin 1s linear infinite; }
@keyframes rmSpin { to { transform: rotate(360deg); } }
.rm-m-match .rm-m-burst {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 30px;
  color: var(--coral,#ff6b5e); margin: 4px 0 8px; animation: rmPop .4s ease;
}
@keyframes rmPop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.rm-m-deal.big { margin: 6px 0 18px; }

/* swipe-kaart: fotocarousel + meer info */
.rm-m-photos { position: relative; height: 280px; overflow: hidden; }
.rm-m-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.rm-m-photos img.on { opacity: 1; }
.rm-m-noimg { position: absolute; inset: 0; background: linear-gradient(150deg,#ffd3a5,#ff9a76); }
.rm-m-pnav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: #1c1830; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.rm-m-pnav.prev { left: 10px; } .rm-m-pnav.next { right: 10px; }
.rm-m-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.rm-m-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.rm-m-dots i.on { background: #fff; }
.rm-m-morebtn { display: block; width: 100%; margin-top: 12px; background: #fff; border: 1.5px solid var(--coral,#ff6b5e); color: var(--coral,#ff6b5e); font: inherit; font-weight: 700; font-size: 15px; padding: 11px; border-radius: 12px; cursor: pointer; text-align: center; }
.rm-m-morebtn:active { transform: translateY(1px); }
.rm-m-more { position: absolute; inset: 0; z-index: 5; background: #fff; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; overflow-y: auto; transform: translateY(100%); transition: transform .28s ease; }
.rm-m-more.open { transform: translateY(0); }
.rm-m-moreclose { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1ede6; color: #1c1830; font-size: 15px; cursor: pointer; z-index: 2; }
.rm-m-moretitle { font-size: 19px; color: var(--ink,#1c1830); padding-right: 40px; }
.rm-m-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.rm-m-specs li { font-size: 13px; color: var(--ink,#1c1830); display: flex; flex-direction: column; }
.rm-m-specs li span { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted,#6b6477); }
.rm-m-blurb { font-size: 13px; line-height: 1.5; color: var(--muted,#6b6477); margin: 0; }

/* sleepgebaren + beschikbaarheid */
.rm-m-deal { cursor: grab; touch-action: pan-y; user-select: none; }
.rm-m-deal:active { cursor: grabbing; }
.rm-m-deal.hint-yes { box-shadow: 0 14px 42px rgba(52,179,106,.55); }
.rm-m-deal.hint-no { box-shadow: 0 14px 42px rgba(179,64,43,.5); }
.rm-m-avail { font-size: 13px; color: var(--muted,#6b6477); margin: -2px 0 14px; text-align: left; }
.rm-m-counter::after { content: " · sleep of tik"; color: var(--muted,#6b6477); font-weight: 400; }
