/* =========================================================
   R2V Unified Portal — events.css
   Events list / calendar / map / detail
   ========================================================= */

/* ---- Tabs strip + filter bar ---- */
.r2v-eventbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  justify-content: space-between;
  background: var(--r2v-surface); border: 1px solid var(--r2v-border);
  border-radius: var(--r2v-radius-lg);
  padding: 12px 14px;
  margin-bottom: 20px;
  box-shadow: var(--r2v-shadow-1);
}
.r2v-eventbar__filters {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.r2v-chip {
  padding: 7px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: var(--r2v-surface-2);
  color: var(--r2v-ink-soft);
  border: 1px solid var(--r2v-border);
  cursor: pointer; transition: background var(--r2v-dur), color var(--r2v-dur), border-color var(--r2v-dur);
  display: inline-flex; align-items: center; gap: 6px;
}
.r2v-chip:hover { background: #fff; border-color: var(--r2v-border-2); }
.r2v-chip.is-on { background: var(--r2v-blue-dark); color: #fff; border-color: var(--r2v-blue-dark); }
.r2v-chip__dot { width: 8px; height: 8px; border-radius: 50%; }

/* Event grid */
.r2v-eventgrid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.r2v-event-card {
  background: var(--r2v-surface); border: 1px solid var(--r2v-border);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--r2v-shadow-1);
  display: flex; flex-direction: column;
  transition: transform var(--r2v-dur), box-shadow var(--r2v-dur);
  text-decoration: none; color: inherit;
}
.r2v-event-card:hover { transform: translateY(-2px); box-shadow: var(--r2v-shadow-2); text-decoration: none; color: inherit; }
.r2v-event-card__media {
  aspect-ratio: 16/9; position: relative; background: var(--r2v-cream-2);
}
.r2v-event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.r2v-event-card__media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,21,38,0) 30%, rgba(8,21,38,.55) 100%);
}
.r2v-event-card__cat {
  position: absolute; top: 12px; left: 12px;
}
.r2v-event-card__date {
  position: absolute; bottom: 12px; left: 12px; color: #fff;
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.r2v-event-card__date strong { font-family: var(--r2v-font-head); font-size: 22px; }
.r2v-event-card__date small  { font-size: 12px; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }
.r2v-event-card__body { padding: 14px 18px 16px; flex: 1; display: flex; flex-direction: column; }
.r2v-event-card__title { font-family: var(--r2v-font-head); font-weight: 700; font-size: 18px; margin: 0 0 4px; color: var(--r2v-ink); line-height: 1.25; }
.r2v-event-card__meta  { color: var(--r2v-ink-soft); font-size: 13px; display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.r2v-event-card__meta i { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.r2v-event-card__excerpt { color: var(--r2v-ink-soft); font-size: 14px; line-height: 1.5; flex: 1; }
.r2v-event-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--r2v-border); }
.r2v-event-card__signups { font-size: 12px; color: var(--r2v-ink-mute); }
.r2v-event-card__signups strong { color: var(--r2v-ink); }

/* Calendar */
.r2v-cal {
  background: var(--r2v-surface); border: 1px solid var(--r2v-border);
  border-radius: var(--r2v-radius-lg);
  overflow: hidden; box-shadow: var(--r2v-shadow-1);
}
.r2v-cal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--r2v-border);
  background: var(--r2v-surface-2);
}
.r2v-cal__title { font-family: var(--r2v-font-head); font-size: 20px; font-weight: 700; }
.r2v-cal__nav { display: flex; gap: 6px; align-items: center; }
.r2v-cal__navbtn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--r2v-border);
  background: #fff; cursor: pointer; display: grid; place-items: center;
}
.r2v-cal__navbtn:hover { background: var(--r2v-surface-2); }
.r2v-cal__grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.r2v-cal__dow {
  padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--r2v-ink-mute);
  text-transform: uppercase; letter-spacing: .06em; background: var(--r2v-surface-2);
  border-bottom: 1px solid var(--r2v-border);
}
.r2v-cal__cell {
  min-height: 110px; padding: 8px;
  border-right: 1px solid var(--r2v-border);
  border-bottom: 1px solid var(--r2v-border);
  background: #fff;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.r2v-cal__cell:nth-child(7n) { border-right: 0; }
.r2v-cal__cell--other { background: #FBF7F0; color: var(--r2v-ink-mute); }
.r2v-cal__cell--today .r2v-cal__cell-num { background: var(--r2v-red-hot); color: #fff; }
.r2v-cal__cell-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-weight: 700; font-size: 12px; color: var(--r2v-ink-soft);
}
.r2v-cal__chip {
  display: block;
  padding: 4px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 700;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
}
.r2v-cal__chip:hover { filter: brightness(1.05); }

/* =========================================================
   Map view — split-pane (list + Leaflet map)
   ========================================================= */
.r2v-mapwrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 14px;
  height: calc(100vh - var(--r2v-topbar-h) - 240px);
  min-height: 560px;
}
@media (max-width: 900px) {
  .r2v-mapwrap { grid-template-columns: 1fr; height: auto; }
  .r2v-maplist { max-height: 360px; }
  .r2v-mapcol  { height: 520px; }
}

/* Left: list sidebar */
.r2v-maplist {
  background: var(--r2v-surface);
  border: 1px solid var(--r2v-border);
  border-radius: var(--r2v-radius-lg);
  box-shadow: var(--r2v-shadow-1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.r2v-maplist__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--r2v-border);
  background: linear-gradient(180deg, #FFFCF7, var(--r2v-surface));
}
.r2v-maplist__count { font-size: 13px; color: var(--r2v-ink-soft); }
.r2v-maplist__count strong {
  font-family: var(--r2v-font-head); font-size: 18px; color: var(--r2v-ink);
  margin-right: 2px;
}
.r2v-maplist__fit {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--r2v-surface-2);
  border: 1px solid var(--r2v-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px; font-weight: 700; color: var(--r2v-ink-soft);
  cursor: pointer;
  transition: background var(--r2v-dur), color var(--r2v-dur), border-color var(--r2v-dur);
}
.r2v-maplist__fit:hover { background: #fff; color: var(--r2v-blue-dark); border-color: var(--r2v-blue-teal); }
.r2v-maplist__fit i { width: 13px; height: 13px; }

.r2v-maplist__states {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 10px 12px;
  border-bottom: 1px solid var(--r2v-border);
}
.r2v-statechip {
  border: 1px solid var(--r2v-border);
  background: var(--r2v-surface-2);
  color: var(--r2v-ink-soft);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 8px;
  cursor: pointer;
  transition: background var(--r2v-dur), color var(--r2v-dur), border-color var(--r2v-dur), transform var(--r2v-dur);
}
.r2v-statechip:hover { background: #fff; color: var(--r2v-blue-dark); }
.r2v-statechip.is-on {
  background: var(--r2v-blue-dark);
  border-color: var(--r2v-blue-dark);
  color: #fff;
}

.r2v-maplist__body {
  flex: 1; overflow-y: auto;
  padding: 8px;
  scroll-behavior: smooth;
}
.r2v-maplist__empty {
  padding: 32px 20px; text-align: center;
  color: var(--r2v-ink-mute);
}
.r2v-maplist__empty i { width: 28px; height: 28px; color: var(--r2v-ink-mute); margin-bottom: 6px; }
.r2v-maplist__empty .r2v-strong { color: var(--r2v-ink); margin-bottom: 2px; }

/* List cards */
.r2v-mapcard {
  display: grid;
  grid-template-columns: 4px 1fr;
  width: 100%;
  text-align: left;
  background: var(--r2v-surface);
  border: 1px solid var(--r2v-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform var(--r2v-dur), box-shadow var(--r2v-dur), border-color var(--r2v-dur);
}
.r2v-mapcard:hover {
  transform: translateY(-1px);
  box-shadow: var(--r2v-shadow-2);
  border-color: var(--r2v-border-2);
}
.r2v-mapcard.is-active {
  border-color: var(--r2v-blue-teal);
  box-shadow: 0 0 0 3px rgba(20,131,177,.15), var(--r2v-shadow-2);
}
.r2v-mapcard__bar { background: var(--r2v-blue-dark); }
.r2v-mapcard__body { padding: 10px 12px; min-width: 0; }
.r2v-mapcard__head {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  margin-bottom: 6px;
}
.r2v-mapcard__when { font-size: 11px; color: var(--r2v-ink-mute); font-weight: 700; white-space: nowrap; }
.r2v-mapcard__title {
  font-family: var(--r2v-font-head);
  font-weight: 700; font-size: 14px;
  color: var(--r2v-ink); line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.r2v-mapcard__meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--r2v-ink-soft);
}
.r2v-mapcard__meta i { width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; }
.r2v-mapcard__past { color: var(--r2v-ink-mute); }

/* Right: map column */
.r2v-mapcol {
  position: relative;
  border-radius: var(--r2v-radius-lg);
  border: 1px solid var(--r2v-border);
  box-shadow: var(--r2v-shadow-1);
  overflow: hidden;
  background: #E7EEF6;
}
#r2vMap { width: 100%; height: 100%; min-height: 480px; }

/* Custom map control (geolocate) */
.r2v-mapctl {
  width: 34px; height: 34px;
  background: #fff;
  border: 1px solid var(--r2v-border);
  border-radius: 8px;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  margin-top: 8px;
  color: var(--r2v-blue-dark);
  transition: background var(--r2v-dur), color var(--r2v-dur);
}
.r2v-mapctl:hover { background: var(--r2v-blue-dark); color: #fff; }
.r2v-mapctl i { width: 16px; height: 16px; }
.r2v-mapctl.is-loading { opacity: .6; pointer-events: none; animation: r2vPulse 1.2s ease-in-out infinite; }
@keyframes r2vPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(.92); } }

/* Legend */
.r2v-mapleg {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,.97);
  padding: 10px 12px; border-radius: 12px;
  font-size: 11px;
  border: 1px solid var(--r2v-border);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  z-index: 400;
  max-width: 240px;
}
.r2v-mapleg__title {
  font-family: var(--r2v-font-head);
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--r2v-ink-mute);
  margin-bottom: 6px;
}
.r2v-mapleg__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px;
}
.r2v-mapleg__row { display: flex; align-items: center; gap: 6px; color: var(--r2v-ink); font-weight: 600; }
.r2v-mapleg__sw { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,.05); }

/* Markers (Leaflet divIcon) */
.r2v-mapmarker-wrap { background: transparent !important; border: 0 !important; }
.r2v-mapmarker {
  background: var(--cat-driver);
  width: 32px; height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid; place-items: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.30);
  transition: transform var(--r2v-dur), box-shadow var(--r2v-dur);
}
.r2v-mapmarker i { transform: rotate(45deg); color: #fff; width: 14px; height: 14px; }
.r2v-mapmarker.is-active {
  transform: rotate(-45deg) scale(1.25);
  box-shadow: 0 0 0 4px rgba(20,131,177,.35), 0 8px 18px rgba(0,0,0,.35);
  z-index: 600;
}

/* Cluster bubbles */
.r2v-mapcluster-wrap { background: transparent !important; border: 0 !important; }
.r2v-mapcluster {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1483B1, #0E518B);
  color: #fff;
  font-family: var(--r2v-font-head); font-weight: 800;
  display: grid; place-items: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.28);
}
.r2v-mapcluster span { font-size: 14px; line-height: 1; }

/* Popup */
.r2v-mappop-wrap .leaflet-popup-content-wrapper {
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.r2v-mappop-wrap .leaflet-popup-content {
  margin: 0; width: auto !important;
}
.r2v-mappop-wrap .leaflet-popup-tip { box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.r2v-mappop { font-family: var(--r2v-font-body); color: var(--r2v-ink); width: 260px; }
.r2v-mappop__img { width: 100%; height: 110px; object-fit: cover; display: block; }
.r2v-mappop__body { padding: 12px 14px 14px; }
.r2v-mappop__cat {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: #fff;
  padding: 3px 8px; border-radius: 6px;
  margin-bottom: 8px;
}
.r2v-mappop__title {
  font-family: var(--r2v-font-head);
  font-weight: 800; font-size: 15px;
  line-height: 1.25; margin-bottom: 8px;
  color: var(--r2v-ink);
}
.r2v-mappop__row {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 12px; color: var(--r2v-ink-soft);
  margin: 3px 0; line-height: 1.4;
}
.r2v-mappop__row i { width: 13px; height: 13px; margin-top: 1px; flex-shrink: 0; color: var(--r2v-blue-dark); }
.r2v-mappop__row--past i { color: var(--r2v-ink-mute); }
.r2v-mappop__btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  background: var(--r2v-blue-dark); color: #fff !important;
  padding: 7px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  text-decoration: none !important;
  transition: background var(--r2v-dur);
}
.r2v-mappop__btn:hover { background: var(--r2v-blue); }
.r2v-mappop__btn i { width: 13px; height: 13px; }

/* Event detail page */
.r2v-evdetail {
  display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1fr) 360px;
}
@media (max-width: 1100px) { .r2v-evdetail { grid-template-columns: 1fr; } }
.r2v-evdetail__hero {
  border-radius: var(--r2v-radius-xl); overflow: hidden;
  position: relative; aspect-ratio: 16/6; background: var(--r2v-cream-2);
  border: 1px solid var(--r2v-border); margin-bottom: 16px;
}
.r2v-evdetail__hero img { width: 100%; height: 100%; object-fit: cover; }
.r2v-evdetail__hero::after { content:''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,21,38,0), rgba(8,21,38,.6)); }
.r2v-evdetail__heroinner {
  position: absolute; left: 24px; bottom: 22px; right: 24px; color: #fff;
  z-index: 2;
}
.r2v-evdetail__heroinner h1 { font-size: 36px; margin: 0 0 4px; color: #fff; }
.r2v-evdetail__heroinner .r2v-cat { box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.r2v-evdetail__heroinner p { margin: 6px 0 0; font-size: 15px; opacity: .9; }

.r2v-evdetail__title-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.r2v-evdetail__title-row .r2v-cluster { gap: 12px; }
.r2v-evdetail__title-row .r2v-mute { font-size: 14px; }

/* Sticky right pane */
.r2v-evside { position: sticky; top: calc(var(--r2v-topbar-h) + 20px); align-self: flex-start; }
.r2v-evside__cta { background: var(--r2v-surface); border: 1px solid var(--r2v-border); border-radius: var(--r2v-radius-lg); padding: 18px; box-shadow: var(--r2v-shadow-1); }
.r2v-evside__cta h3 { margin: 0 0 6px; }
.r2v-evside__line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--r2v-border); font-size: 14px; color: var(--r2v-ink-soft); }
.r2v-evside__line:last-of-type { border-bottom: 0; }
.r2v-evside__line i { width: 16px; height: 16px; color: var(--r2v-blue-dark); }

/* Agenda timeline */
.r2v-agenda { display: flex; flex-direction: column; gap: 0; }
.r2v-agenda__row {
  display: grid; grid-template-columns: 90px 24px 1fr;
  align-items: stretch;
  position: relative;
}
.r2v-agenda__time {
  font-family: var(--r2v-font-head); font-weight: 700; font-size: 14px;
  color: var(--r2v-blue-dark); padding: 12px 8px 12px 0;
  text-align: right;
}
.r2v-agenda__line {
  position: relative;
}
.r2v-agenda__line::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--r2v-border-2); transform: translateX(-50%);
}
.r2v-agenda__line::after {
  content: ''; position: absolute; top: 18px; left: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--r2v-blue-teal); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--r2v-blue-teal);
  transform: translate(-50%, 0);
}
.r2v-agenda__row:first-child .r2v-agenda__line::before { top: 18px; }
.r2v-agenda__row:last-child .r2v-agenda__line::before { bottom: calc(100% - 24px); }
.r2v-agenda__item { padding: 12px 0 12px 12px; line-height: 1.4; }

/* Checklist (what to bring + requirements) */
.r2v-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.r2v-checklist li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.45;
}
.r2v-checklist li i { width: 18px; height: 18px; color: var(--r2v-success); margin-top: 2px; }
.r2v-checklist--req li i { color: var(--r2v-red); }

/* Perks chips */
.r2v-perks { display: flex; flex-wrap: wrap; gap: 8px; }
.r2v-perks__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--r2v-border-2);
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; color: var(--r2v-ink);
}
.r2v-perks__chip i { width: 14px; height: 14px; color: var(--r2v-warn); }

/* Info row (good to know) */
.r2v-info-row {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--r2v-border);
}
.r2v-info-row:last-child { border-bottom: 0; }
.r2v-info-row__label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--r2v-ink-mute);
  text-transform: uppercase; letter-spacing: .06em;
  padding-top: 4px;
}
.r2v-info-row__label i { width: 14px; height: 14px; color: var(--r2v-blue-dark); }
.r2v-info-row__val { color: var(--r2v-ink); font-size: 14px; line-height: 1.5; }

/* Capacity bar */
.r2v-cap { margin: 6px 0 4px; }
.r2v-cap__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 6px; }
.r2v-cap__head strong { color: var(--r2v-ink); font-family: var(--r2v-font-head); font-size: 16px; }
.r2v-cap__remaining { font-size: 12px; font-weight: 700; color: var(--r2v-ink-mute); }
.r2v-cap[data-tone="almost"] .r2v-cap__remaining { color: var(--r2v-warn); }
.r2v-cap[data-tone="full"]   .r2v-cap__remaining { color: var(--r2v-red); }
.r2v-cap__track { height: 8px; background: var(--r2v-surface-2); border-radius: 999px; overflow: hidden; }
.r2v-cap__fill { height: 100%; background: linear-gradient(90deg, var(--r2v-blue-teal), var(--r2v-blue)); border-radius: 999px; transition: width var(--r2v-dur) var(--r2v-ease); }
.r2v-cap[data-tone="almost"] .r2v-cap__fill { background: linear-gradient(90deg, #E0B23E, var(--r2v-warn)); }
.r2v-cap[data-tone="full"]   .r2v-cap__fill { background: linear-gradient(90deg, #D52027, var(--r2v-red)); }

/* Community feed */
.r2v-comm-section { margin-top: 32px; }
.r2v-comm-gallery {
  display: grid; gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .r2v-comm-gallery { grid-template-columns: repeat(2, 1fr); } }
.r2v-comm-photo {
  position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 12px;
  cursor: pointer;
}
.r2v-comm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--r2v-dur); }
.r2v-comm-photo:hover img { transform: scale(1.05); }
.r2v-comm-photo__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
  color: #fff; font-size: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.r2v-comm-photo__like { display: flex; align-items: center; gap: 4px; }
.r2v-comm-photo__like i { width: 14px; height: 14px; }
.r2v-comm-photo__like.is-liked i { color: var(--r2v-red-hot); fill: var(--r2v-red-hot); }

/* Comments */
.r2v-comment {
  display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--r2v-border);
}
.r2v-comment:last-child { border-bottom: 0; }
.r2v-comment__bubble {
  background: var(--r2v-surface-2);
  border-radius: 14px; padding: 10px 14px;
}
.r2v-comment__author { display: flex; align-items: baseline; gap: 8px; }
.r2v-comment__name { font-weight: 700; font-size: 13px; }
.r2v-comment__time { font-size: 12px; color: var(--r2v-ink-mute); }
.r2v-comment__body { font-size: 14px; margin-top: 2px; line-height: 1.45; }

.r2v-comment-form { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: end; margin-top: 12px; }
.r2v-comment-form textarea { min-height: 50px; }

/* Lightbox */
.r2v-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  z-index: 1000; display: grid; place-items: center;
  padding: 24px;
}
.r2v-lightbox img { max-width: 100%; max-height: 92vh; border-radius: 14px; box-shadow: 0 12px 60px rgba(0,0,0,.5); }
.r2v-lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
.r2v-lightbox__close:hover { background: rgba(255,255,255,.25); }
.r2v-lightbox__caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; background: rgba(0,0,0,.4); padding: 6px 14px; border-radius: 999px; font-size: 14px; max-width: 80%; }
