/* A lightweight, self-contained reaction area on an approved room detail only. */
.room-heart { --heart-ink:#44253d; position:relative; isolation:isolate; overflow:hidden;
  margin:12px 0 16px; padding:14px 16px; border:1px solid #efc4db;
  border-radius:17px; background:linear-gradient(120deg,#fff7fa,#fff,#f8f3ff);
  box-shadow:0 5px 20px #ae6a9330; color:var(--heart-ink); }
.room-heart-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.room-heart-title { font-size:14px; font-weight:850; letter-spacing:-.015em; }
.room-heart-status { display:inline-flex; align-items:center; gap:5px;
  color:#8c6b7a; font-size:11px; font-weight:700; }
.room-heart-status::before { content:""; width:6px; height:6px; border-radius:50%; background:#c8acba; }
.room-heart-status[data-online="yes"]::before { background:#30aa82; }
.room-heart-body { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:9px; position:relative; }
.room-heart-main { min-width:0; display:flex; align-items:center; gap:10px; }
.room-heart-spotlight { font-size:clamp(25px,4vw,33px); display:inline-block; flex:none;
  filter:drop-shadow(0 3px 3px #be83b544); }
.room-heart-bounce { animation:room-heart-pop 390ms cubic-bezier(.2,1.5,.3,1); }
.room-heart-count { display:block; font-size:clamp(20px,4vw,26px); line-height:1.2;
  font-weight:850; font-variant-numeric:tabular-nums; letter-spacing:-.035em; color:#532b47; }
.room-heart-sub { display:block; font-size:11px; color:#947b8c; padding-top:1px; }
.room-heart-button { position:relative; z-index:2; flex:none;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  min-height:45px; padding:10px 15px; border:none; border-radius:999px;
  background:linear-gradient(120deg,#f46792,#df457e); box-shadow:0 4px 0 #a02a56,0 7px 16px #c84c8540;
  color:#fff; font-weight:850; font-size:13px; cursor:pointer; touch-action:manipulation; user-select:none;
  transition:transform 110ms,box-shadow 110ms; }
.room-heart-button:active:not(:disabled) { transform:translateY(3px) scale(.975); box-shadow:0 1px 0 #a02a56,0 3px 10px #c84c8540; }
.room-heart-button:focus-visible { outline:3px solid #7761d7; outline-offset:3px; }
.room-heart-button:disabled { opacity:.5; cursor:not-allowed; }
.room-heart-particles { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:3; }
.room-heart-emoji { position:absolute; bottom:18px; left:calc(55% + var(--shift,0px)); font-size:29px;
  line-height:1; filter:drop-shadow(0 2px 6px #b76da855); will-change:transform,opacity;
  animation:room-heart-rise var(--duration,1200ms) ease-out both; }
.room-heart-emoji.peer { filter:drop-shadow(0 1px 8px #daa752bb); }
.room-heart-milestone { position:absolute; right:13px; top:35px; font-size:11px; font-weight:900;
  color:#b03272; z-index:4; pointer-events:none; text-shadow:0 1px #fff; }
.room-heart-celebrate { animation:room-heart-glow 1050ms ease-in-out; }
.room-heart[data-level="1"] { background:linear-gradient(120deg,#fff2f8,#fffafd,#fff2fa); border-color:#edaacd; }
.room-heart[data-level="2"] { background:linear-gradient(120deg,#fff0fa,#fff7fc,#f6eefe); border-color:#eaa5d5; }
.room-heart[data-level="3"] { background:linear-gradient(120deg,#ffeff8,#f6edff,#ffeef8); border-color:#cf9be9; }
.room-heart[data-level="4"] { background:linear-gradient(120deg,#eff7ff,#eeedff,#fff1fd); border-color:#96b5e8; }
.room-heart[data-level="5"] { background:linear-gradient(120deg,#fff3e9,#fff0fa,#f6edff); border-color:#e4b474; }
@keyframes room-heart-pop { 0% { transform:scale(.65) rotate(-12deg) } 60% {transform:scale(1.24) rotate(8deg)} 100% {transform:scale(1) rotate(0)} }
@keyframes room-heart-rise { 0% {transform:translate3d(0,10px,0) scale(.45) rotate(-16deg);opacity:0}
  18% {opacity:1} 65% {opacity:1} 100% {transform:translate3d(var(--drift),-155px,0) scale(1.15) rotate(14deg);opacity:0} }
@keyframes room-heart-glow { 0%,100% {box-shadow:0 5px 20px #ae6a9330}
  50% {box-shadow:0 0 0 5px #f9cae8,0 6px 26px #f2a2dc} }
@media (max-width:420px) {
  .room-heart {padding:12px; border-radius:14px;}
  .room-heart-button {font-size:12px; min-height:43px; padding:9px 12px;}
  .room-heart-body {gap:6px;}
  .room-heart-main {gap:6px;}
  .room-heart-sub {font-size:10px;}
}
@media (prefers-reduced-motion:reduce) {
  .room-heart-emoji {animation:none; opacity:0;}
  .room-heart-bounce,.room-heart-celebrate {animation:none;}
  .room-heart-button {transition:none;}
}
