.mini-profile{
  --bg:#0f1117; --txt:#e7e9ee; --mut:#a0aec0;
  --acc:#16856f; --acc-h:#1b9b80; --bd:rgba(148,163,184,.18);
  --row-bd:rgba(148,163,184,.14); --padX:16px;
  background:var(--bg); color:var(--txt);
  border:1px solid rgba(148,163,184,.12); border-radius:14px;
  display:flex; flex-direction:column; width:100%;
  box-shadow:0 10px 24px rgba(0,0,0,.25); overflow:hidden;
  font:14.5px/1.48 'Inter','Segoe UI',system-ui,-apple-system,Arial,sans-serif;
}
@media (min-width:1024px){ .mini-profile{ max-width:860px; margin:12px auto; } }

.mp-btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:36px; padding:0 12px; border-radius:10px; border:1px solid var(--acc);
  background:var(--acc); color:#fff; font-weight:800; cursor:pointer; transition:background .15s ease, transform .06s ease; }
.mp-btn:hover{ background:var(--acc-h) } .mp-btn:active{ transform:translateY(1px) }
.mp-btn-ghost{ display:inline-flex; align-items:center; justify-content:center; height:30px; padding:0 10px;
  border-radius:8px; font-weight:700; border:1px solid rgba(148,163,184,.22); background:#0f141d; color:#dbe7ff; }

/* HEADER GRID */
.mini-profile .m-head{
  display:grid;
  grid-template-columns: 88px 1fr;
  grid-template-areas:
    "ava uname"
    "ava meta"
    "moodtxt moodtxt";
  column-gap:12px; row-gap:8px;
  padding:14px var(--padX);
  border-bottom:1px solid var(--bd);
}
.m-ava{ grid-area:ava; width:88px; height:88px; border-radius:12px; object-fit:cover; background:#0b0e14; border:1px solid rgba(148,163,184,.22); }
.m-uname{ grid-area:uname; display:flex; align-items:center; gap:8px; min-width:0 }
.m-name{ font-weight:800; font-size:1.08rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }

/* Verifikacija */
.verify-ico{ width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.verify-ico svg{ width:20px; height:20px; display:block; filter: drop-shadow(0 0 6px rgba(82,211,255,.35)); transition: transform .18s ease; }
.verify-ico:hover svg{ transform: translateY(-1px) scale(1.06); }
.verify-ico:active svg{ transform: scale(0.94) rotate(-4deg); }

/* Značke */
.m-meta{ grid-area:meta; display:flex; align-items:center; gap:10px; min-width:0 }
.badge-ico{ width:26px; height:26px; object-fit:contain; display:inline-block; cursor:pointer;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
  transition: transform .12s ease, filter .18s ease; }
.badge-ico:hover{ transform: translateY(-1px) scale(1.05); filter: drop-shadow(0 2px 8px rgba(22,133,111,.38)); }

.room-roles{ display:inline-flex; align-items:center; gap:6px; }
.role-chip{ position:relative; width:26px; height:26px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.role-chip img{ width:100%; height:100%; object-fit:contain; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
  transition: transform .12s ease, filter .18s ease; }
.role-chip:hover img{ transform: translateY(-1px) scale(1.05); filter: drop-shadow(0 2px 8px rgba(22,133,111,.38)); }
.role-chip .cnt{
  position:absolute; right:-6px; bottom:-6px;
  min-width:15px; height:15px; padding:0 4px; border-radius:999px;
  background:#16856f; color:#fff; font-weight:900; font-size:10px; line-height:15px;
  border:1px solid rgba(0,0,0,.35);
}

.pop-chip{ display:inline-flex; align-items:center; gap:6px; height:26px; padding:0 10px;
  border-radius:999px; background:#121826; border:1px solid var(--bd); font-weight:800; font-size:.86rem; }
.pop-chip svg{ width:14px; height:14px; }

.mood-trigger{ margin-left:auto; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:10px; background:transparent; border:none; cursor:pointer; }
.mood-trigger img{ width:100%; height:100%; object-fit:contain; border:none }

.mood-wrap{ grid-area:moodtxt; position:relative; }
.mood-input{ width:100%; height:42px; line-height:42px; padding:0 12px; border-radius:12px;
  border:1px solid var(--bd); background:#0f141d; color:#e4e6eb; outline:none; font-size:.95rem; }
.mood-input::placeholder{ color:rgba(203,213,225,.6) }

/* Reveal balon (animacija teksta) */
.mood-wrap .reveal-overlay{ position:absolute; inset:0; display:none; pointer-events:none; }
.mood-wrap.reveal-active .reveal-overlay{ display:block; }
.reveal-track{ position:absolute; inset:0; overflow:hidden; border-radius:12px; }
.reveal-text{ position:absolute; left:12px; top:50%; transform:translateY(-50%); white-space:nowrap; font-weight:800; opacity:.9; }
@keyframes mood-slide { from { transform:translate(12px,-50%); } to { transform:translate(calc(var(--slideX,0px) + 12px), -50%); } }
.reveal-text{ animation-name:mood-slide; animation-timing-function:linear; }

/* JEDINSTVENI SISTEM PROFILNIH AKCIJA */
.mini-profile .profile-actions{
  padding:7px var(--padX) 2px;
  border-top:1px solid rgba(148,163,184,.06);
  background:#090f17;
}
.mini-profile .profile-actions-list{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
}
.mini-profile .profile-action-btn{
  min-width:0;
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 10px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:9px;
  color:#aebdca;
  background:#101925;
  font:800 .66rem/1 'Inter','Segoe UI',system-ui,sans-serif;
  white-space:nowrap;
  cursor:pointer;
}
.mini-profile .profile-action-btn i{color:#62d9cc;font-size:.68rem}
.mini-profile .profile-action-btn:hover{color:#ecfffc;border-color:rgba(94,234,212,.2);background:#132430}
.mini-profile .profile-toolbar-friend{display:inline-flex;gap:4px;min-width:0}
.mini-profile .profile-action-btn.is-friend{color:#b8ead5;border-color:rgba(52,211,153,.17);background:rgba(16,185,129,.07)}
.mini-profile .profile-action-btn.is-pending{color:#a7b4c1}
.mini-profile .profile-action-btn.is-incoming{color:#eafffb;border-color:rgba(45,212,191,.24)}
.mini-profile .profile-action-decline{width:32px;min-width:32px;padding:0;color:#fda4af;background:rgba(244,63,94,.06)}
.mini-profile[data-view="info"] .profile-action-btn[data-open="info"],
.mini-profile[data-view="dm"] .profile-action-btn[data-open="dm"],
.mini-profile[data-view="gifts"] .profile-action-btn[data-open="gifts"],
.mini-profile[data-view="admin"] .profile-action-btn[data-open="admin"]{
  color:#f0fffc;
  border-color:rgba(45,212,191,.22);
  background:linear-gradient(145deg,#116b61,#0c5454);
}
@media(max-width:640px){
  .mini-profile .profile-actions{padding:5px 8px 2px}
  .mini-profile .profile-actions-list{
    gap:2px;
    padding:3px;
    border:1px solid rgba(148,163,184,.09);
    border-radius:12px;
    background:linear-gradient(180deg,rgba(17,28,40,.94),rgba(10,18,27,.96));
  }
  .mini-profile .profile-action-btn{
    flex:1 1 0;
    width:auto;
    min-width:0;
    min-height:37px;
    flex-direction:column;
    gap:2px;
    padding:3px 2px 2px;
    border:0;
    border-radius:9px;
    background:transparent;
    font-size:.5rem;
  }
  .mini-profile .profile-action-btn i{font-size:.7rem}
  .mini-profile .profile-action-btn span{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .mini-profile .profile-toolbar-friend{
    position:relative;
    flex:1 1 0;
    min-width:0;
  }
  .mini-profile .profile-toolbar-friend .profile-action-btn{width:100%}
  .mini-profile .profile-action-decline{
    position:absolute;
    top:-1px;
    right:-1px;
    z-index:1;
    width:16px;
    min-width:16px;
    min-height:16px;
    height:16px;
    padding:0;
    border-radius:6px;
    background:#44202a;
  }
  .mini-profile .profile-action-decline i{font-size:.5rem}
}
.mini-profile .m-body{ flex:1; min-height:0; display:flex; flex-direction:column; }
/* ovdje dodajemo i admin view u listu */
.mini-profile [data-view-id="info"],
.mini-profile [data-view-id="dm"],
.mini-profile [data-view-id="admin"]{
  display:none !important;
  padding:12px var(--padX);
  height:100%;
}
.mini-profile[data-view="info"] [data-view-id="info"]{ display:block !important; }
.mini-profile[data-view="dm"]   [data-view-id="dm"]{ display:block !important; }

/* INFO karta */
.info-card{ background:#0f141d; border:1px solid var(--bd); border-radius:10px; overflow:hidden }
.info-row{ display:grid; grid-template-columns:1fr auto; gap:10px; padding:10px 12px; align-items:center; border-bottom:1px dashed var(--row-bd) }
.info-row:last-child{ border-bottom:none }
.info-k{ font-size:.72rem; color:#a0aec0; text-transform:uppercase; letter-spacing:.28px }
.info-v{ font-weight:800; font-size:.95rem; color:#e9eef7 }
.text-cap{ text-transform:capitalize }

/* DM */
.v-dm{ height:100%; display:flex; flex-direction:column; gap:10px }
.dm-embed{ height:100%; display:grid; grid-template-rows:1fr auto auto; row-gap:8px; min-height:0 }
.dm-embed-log{ min-height:220px; overflow:auto; background:#0f141d; border:1px solid var(--bd); border-radius:10px; padding:8px; display:flex; flex-direction:column; gap:6px; scrollbar-width:thin; scrollbar-color:#16856f transparent }
.dm-embed-log::-webkit-scrollbar{ width:8px } .dm-embed-log::-webkit-scrollbar-thumb{ background:#16856f; border-radius:4px }
.dm-row{ display:flex; gap:6px; align-items:flex-end } .dm-row.me{ justify-content:flex-end }
.dm-bubble{ max-width:92%; padding:8px 10px; background:#121826; border:1px solid var(--bd); border-radius:12px; color:#e6ebf4; font-size:.92rem; line-height:1.34 }
.dm-row.me .dm-bubble{ background:linear-gradient(145deg,#1b8f77,#116655); border-color:rgba(52,211,153,.38); color:#f0fdf9 }
.dm-meta{ font-size:10px; opacity:.7; margin-top:2px; color:#a7b4cc }
.dm-typing{ display:none; align-items:center; gap:6px; font-size:.85rem; color:#d3e3f7; padding:6px 8px; border-radius:10px; width:max-content; background:#0f1c33; border:1px solid var(--bd) }
.dm-embed-foot{ display:flex; gap:8px; align-items:center }
.dm-embed-input{ flex:1; height:38px; line-height:38px; border-radius:10px; border:1px solid var(--bd); padding:0 12px; background:#0f141d; color:#e4e6eb; outline:none }
.dm-embed-send{ height:38px; padding:0 14px }

/* Tooltip (custom) */
.tip-bubble{ position:fixed; z-index:9999; background:#0b0e14; color:#dbe7ff; border:1px solid rgba(148,163,184,.28);
  border-radius:10px; padding:6px 8px; font-size:.82rem; font-weight:800; white-space:nowrap;
  box-shadow:0 10px 24px rgba(0,0,0,.35); transform-origin:50% 100%; opacity:0; transform:translateY(4px) scale(.96); transition:.12s ease; pointer-events:none; }
.tip-bubble[data-open="1"]{ opacity:1; transform:translateY(0) scale(1); }
.tip-bubble::after{ content:""; position:absolute; bottom:-6px; left:14px; width:10px; height:10px; transform:rotate(45deg);
  background:#0b0e14; border-right:1px solid rgba(148,163,184,.28); border-bottom:1px solid rgba(148,163,184,.28); }

/* MOBILE */
@media (max-width:640px){
  .mini-profile .m-head{ grid-template-columns: 68px 1fr;
    grid-template-areas: "ava uname" "ava meta" "moodtxt moodtxt"; padding:12px var(--padX); }
  .m-ava{ width:68px; height:68px; }
  .badge-ico{ width:28px; height:28px; }
  .mood-trigger{ width:42px; height:42px; }
  .mood-input{ height:40px; line-height:40px; }
}

/* Fallback poruke */
.profile-wrap{ padding:16px }
.profile-card{ background:#0f141d; border:1px solid var(--bd); color:#e4e6eb; border-radius:12px; padding:16px; }
.meta-value{ font-weight:700 }

/* ==== ADMIN PANEL (details + summary) ==== */
.admin-panel{ margin:8px 0 0; border-radius:12px; border:1px solid rgba(82,111,235,.25); background:#0b1220; }
.admin-panel > summary{
  list-style:none; cursor:pointer; padding:10px 12px; user-select:none;
  font-weight:900; color:#cfe1ff; outline:none;
}
.admin-panel > summary::-webkit-details-marker{ display:none; }
.admin-panel[open] > summary{ border-bottom:1px solid rgba(148,163,184,.18); }
.admin-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:10px; }
.admin-card{ background:#0f141d; border:1px solid rgba(148,163,184,.2); border-radius:10px; padding:10px; display:grid; gap:8px }
.ad-row{ display:flex; gap:8px; align-items:center; }
.ad-row input[type="text"]{ flex:1; height:36px; border-radius:8px; border:1px solid rgba(148,163,184,.25); background:#0f141d; color:#e5e7eb; padding:0 10px; }
.ad-row select{ height:36px; border-radius:8px; border:1px solid rgba(148,163,184,.25); background:#0f141d; color:#e5e7eb; padding:0 10px; }
.ad-row textarea{ width:100%; min-height:70px; border-radius:8px; border:1px solid rgba(148,163,184,.25); background:#0f141d; color:#e5e7eb; padding:8px 10px; resize:vertical; }
.ad-note{ font-size:.84rem; color:#9fb5d6 }
.badge-ok{ color:#34d399; font-weight:900 }
.badge-err{ color:#f87171; font-weight:900 }

/* ===== MOOD OVERLAY ===== */
.mood-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.55); display:none; align-items:flex-end; justify-content:center; z-index:9998; }
.mood-overlay.open{ display:flex; }
.mood-sheet{ width:min(720px, 96vw); max-height:min(72vh, 560px); overflow:auto; background:#0f141d; border:1px solid rgba(148,163,184,.25); border-radius:14px 14px 0 0; box-shadow:0 -10px 40px rgba(0,0,0,.5); padding:10px 12px 14px; }
.mp-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:2px 2px 8px; border-bottom:1px solid rgba(148,163,184,.18); position:sticky; top:0; background:linear-gradient(180deg,#101522,#0f141d); z-index:1 }
.mp-title{ font-weight:800; font-size:.95rem; color:#dbe7ff }
.mp-close{ width:30px; height:30px; border-radius:10px; border:1px solid rgba(148,163,184,.25); background:#0b0e14; color:#e6eef7; font-size:18px; line-height:28px; text-align:center; cursor:pointer }
.mood-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(64px,1fr)); gap:10px; padding-top:10px }
dialog.mood-overlay #moodGrid{display:flex;flex-direction:column;gap:16px;}
.mood-pack{min-width:0;}
.mood-pack+.mood-pack{border-top:1px solid #9aafc120;padding-top:14px;}
.mood-pack-title{display:flex;align-items:center;gap:8px;margin:0 0 8px;color:#d8eee5;font:600 12px/1.4 system-ui;}
.mood-pack-title span{color:#8aa59c;font-size:10px;font-weight:400;}
.mood-pack-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:8px;}
.mood-pack img[data-mood-src]:not([src]){visibility:hidden;}
.mood-opt{ display:inline-flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:12px; border:1px solid rgba(148,163,184,.25); background:#0c1220; cursor:pointer; transition:transform .08s ease, border-color .12s ease }
.mood-opt:hover{ transform:translateY(-1px); border-color:#2fb394 }
.mood-opt img{ width:46px; height:46px; object-fit:contain }
.mood-hint{ margin-top:10px; color:#9fb5d6; font-size:.85rem }
@media (max-width:640px){
  .mood-sheet{ width:100%; border-radius:14px 14px 0 0; }
  .mood-grid{ grid-template-columns:repeat(auto-fill, minmax(56px,1fr)); }
  .mood-opt{ width:56px; height:56px; }
  .mood-opt img{ width:40px; height:40px; }
}

.facts-card{
  background:#0f141d;
  border:1px solid var(--bd);
  border-radius:12px;
  padding:10px 12px;
}
.facts-title{
  font-weight:900;
  font-size:.95rem;
  color:#dbe7ff;
  margin-bottom:8px;
}
.facts-chips{
  display:flex; flex-wrap:wrap; gap:8px;
}
.fact-chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:#121826;
  color:#e6ecf7;
  border:1px solid rgba(148,163,184,.20);
  font-weight:800; font-size:.86rem;
  line-height:1;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: transform .08s ease, border-color .12s ease, background .12s ease;
  cursor:default;
}
.fact-chip:hover{
  transform: translateY(-1px);
  border-color:rgba(52,211,153,.42);
  background:#10221e;
}
.facts-empty{
  color:#9fb5d6; opacity:.9; font-size:.9rem; padding:4px 0 2px;
}

/* ==== NOVO: ADMIN TAB / VIEW ==== */

/* prikaz admin view-a */
.mini-profile[data-view="admin"] [data-view-id="admin"]{
  display:block !important;
}

/* layout unutar admin taba */
.admin-view{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.admin-block{
  background:#0f141d;
  border:1px solid var(--bd);
  border-radius:12px;
  padding:10px 12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.admin-block-title{
  font-weight:800;
  font-size:.9rem;
  color:#dbe7ff;
}

.admin-block-subtitle{
  font-weight:700;
  font-size:.85rem;
  color:#9fb5d6;
  margin-top:4px;
}

.admin-buttons-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}

.admin-buttons-row .mp-btn,
.admin-buttons-row .mp-btn-ghost{
  height:32px;
  font-size:.8rem;
  padding:0 10px;
}

.admin-room-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:4px;
}

.admin-room-name{
  font-size:.9rem;
  color:#e6ecf7;
  font-weight:700;
}

/* ===== MOBILNI DM: SAMO TANKA KONTAKT-TRAKA =====
   Stanje dolazi iz aplikacije, pa ne zavisi od modela telefona ili :has(). */
@media (max-width:1024px), (hover:none) and (pointer:coarse){
  body.dm-conversation-active #header,
  body.dm-conversation-active #profileView .profile-header,
  body.dm-conversation-active #profileMount .mini-profile > .m-head,
  body.dm-conversation-active #profileMount .mini-profile > .profile-actions{
    display:none!important;
  }

  body.dm-conversation-active #main{
    box-sizing:border-box!important;
    height:var(--app-vvh,100dvh)!important;
    min-height:var(--app-vvh,100dvh)!important;
    max-height:var(--app-vvh,100dvh)!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
  }

  body.dm-conversation-active #profileView,
  body.dm-conversation-active #profileView .profile-page,
  body.dm-conversation-active #profileMount,
  body.dm-conversation-active #profileMount .mini-profile,
  body.dm-conversation-active #profileMount .mini-profile .m-body,
  body.dm-conversation-active #profileMount .mini-profile .v-dm.is-active,
  body.dm-conversation-active #profileMount .mini-profile .dm-embed{
    box-sizing:border-box!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:hidden!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-embed{
    display:grid!important;
    grid-template-rows:44px minmax(0,1fr) auto auto!important;
    background:#090d13!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-bar{
    box-sizing:border-box!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    display:grid!important;
    grid-template-columns:28px 30px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
    margin:0!important;
    padding:4px 8px!important;
    border:0!important;
    border-bottom:1px solid rgba(148,163,184,.12)!important;
    border-radius:0!important;
    background:linear-gradient(180deg,#151a22,#0e131a)!important;
    box-shadow:0 4px 14px rgba(0,0,0,.2)!important;
    overflow:hidden!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-back-btn{
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    padding:0!important;
    border:1px solid rgba(148,163,184,.13)!important;
    border-radius:8px!important;
    color:#cbd5e1!important;
    background:#202630!important;
    font-size:.68rem!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-avatar{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    border:1px solid rgba(245,158,11,.22)!important;
    border-radius:9px!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-main{
    min-width:0!important;
    display:grid!important;
    align-content:center!important;
    gap:2px!important;
    overflow:hidden!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-main strong{
    overflow:hidden!important;
    color:#f1f5f9!important;
    font-size:.76rem!important;
    font-weight:900!important;
    line-height:1!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-mood{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    overflow:hidden!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-mood img{
    width:12px!important;
    min-width:12px!important;
    height:12px!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-mood span{
    min-width:0!important;
    overflow:hidden!important;
    color:#8e9bad!important;
    font-size:.52rem!important;
    line-height:1!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-contact-badge{
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    object-fit:contain!important;
  }

  body.dm-conversation-active #profileMount .mini-profile .dm-embed-log{
    min-height:0!important;
    border:0!important;
    border-radius:0!important;
    overflow-y:auto!important;
  }
}

/* ===== PROFIL: PROFESIONALNI SMARAGDNI AKCENT =====
   Jedan miran sistem boja za profil, poruke, poklone i admin kontrole. */
#profileMount .mini-profile,
#roomsMount .mini-profile{
  --profile-accent:#1b8f77;
  --profile-accent-strong:#116655;
  --profile-accent-soft:rgba(52,211,153,.12);
  --profile-accent-border:rgba(52,211,153,.28);
}

#profileMount .mini-profile .m-head .profile-rank-chip,
#roomsMount .mini-profile .m-head .profile-rank-chip{
  color:#ede9fe!important;
  border-color:rgba(167,139,250,.23)!important;
  background:linear-gradient(145deg,rgba(91,67,145,.55),rgba(45,38,67,.8))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07)!important;
}

#profileMount .mini-profile .profile-gifts-head strong,
#roomsMount .mini-profile .profile-gifts-head strong{
  color:#fce7f3!important;
  border-color:rgba(244,114,182,.22)!important;
  background:linear-gradient(145deg,rgba(157,56,108,.58),rgba(72,34,55,.82))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07)!important;
}

#profileMount .mini-profile .profile-gifts-more,
#roomsMount .mini-profile .profile-gifts-more{
  color:#e2e8f0!important;
  border-color:rgba(148,163,184,.17)!important;
  background:linear-gradient(145deg,#303741,#222831)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.05)!important;
}

#profileMount .mini-profile .profile-gifts-more:hover,
#roomsMount .mini-profile .profile-gifts-more:hover{color:#fce7f3!important;border-color:rgba(244,114,182,.24)!important;background:linear-gradient(145deg,#44313d,#30242c)!important}

#profileMount .mini-profile .m-head .profile-head-stats b,
#roomsMount .mini-profile .m-head .profile-head-stats b,
#profileMount .mini-profile .pop-chip,
#roomsMount .mini-profile .pop-chip,
#profileMount .mini-profile .pop-chip .pop-chip-value,
#roomsMount .mini-profile .pop-chip .pop-chip-value{
  color:#f9a8d4!important;
  text-shadow:0 0 12px rgba(244,114,182,.16)!important;
}

#profileMount .mini-profile .fact-icon,
#roomsMount .mini-profile .fact-icon{
  color:#6ee7c7!important;
  border-color:rgba(52,211,153,.19)!important;
  background:rgba(16,63,53,.54)!important;
}

#profileMount .mini-profile .dm-embed,
#roomsMount .mini-profile .dm-embed{
  --dm-accent:#b97814!important;
  --dm-accent-strong:#79500f!important;
  background:radial-gradient(circle at 88% 4%,rgba(245,158,11,.07),transparent 32%),linear-gradient(180deg,rgba(18,18,24,.97),rgba(8,10,15,.98))!important;
}

#profileMount .mini-profile .dm-row.me .dm-mini-avatar-wrap,
#roomsMount .mini-profile .dm-row.me .dm-mini-avatar-wrap{border-color:rgba(245,158,11,.3)!important}

#profileMount .mini-profile .dm-row.me .dm-bubble,
#roomsMount .mini-profile .dm-row.me .dm-bubble{
  border-color:rgba(245,158,11,.24)!important;
  color:#fffaf0!important;
  box-shadow:0 8px 22px rgba(69,42,6,.2),inset 0 1px rgba(255,255,255,.1)!important;
}

#profileMount .mini-profile .dm-embed-input:focus,
#roomsMount .mini-profile .dm-embed-input:focus,
#profileMount .mini-profile .vip-gift-message:focus,
#roomsMount .mini-profile .vip-gift-message:focus{
  border-color:rgba(245,158,11,.42)!important;
  box-shadow:0 0 0 3px rgba(245,158,11,.085)!important;
}

#profileMount .mini-profile .dm-embed-send,
#roomsMount .mini-profile .dm-embed-send{
  color:#fffaf0!important;
  border-color:transparent!important;
  background:linear-gradient(145deg,#b97814,#79500f)!important;
  box-shadow:0 7px 18px rgba(69,42,6,.2)!important;
}

#profileMount .mini-profile .vip-gift-cat.is-active,
#roomsMount .mini-profile .vip-gift-cat.is-active,
#profileMount .mini-profile .v-gifts .vip-gift-tab.is-active,
#roomsMount .mini-profile .v-gifts .vip-gift-tab.is-active,
#profileMount .mini-profile .v-gifts .vip-gift-balance,
#roomsMount .mini-profile .v-gifts .vip-gift-balance,
#profileMount .mini-profile .v-gifts .vip-gift-send,
#roomsMount .mini-profile .v-gifts .vip-gift-send{
  color:#fff1f7!important;
  border-color:rgba(244,114,182,.24)!important;
  background:linear-gradient(145deg,#b8437d,#743052)!important;
  box-shadow:0 6px 16px rgba(88,24,55,.18),inset 0 1px rgba(255,255,255,.1)!important;
}

#profileMount .mini-profile .v-gifts .vip-gift-card,
#roomsMount .mini-profile .v-gifts .vip-gift-card{
  background:radial-gradient(circle at 90% 0,rgba(244,114,182,.05),transparent 30%),linear-gradient(180deg,rgba(19,20,28,.96),rgba(9,11,17,.98))!important;
}

#profileMount .mini-profile .v-gifts input[type="checkbox"],
#roomsMount .mini-profile .v-gifts input[type="checkbox"]{accent-color:#b8437d!important}

#profileMount .mini-profile .v-gifts .vip-gift-send-note i,
#roomsMount .mini-profile .v-gifts .vip-gift-send-note i{color:#f9a8d4!important}

#profileMount .mini-profile .admin-buttons-row .mp-btn,
#roomsMount .mini-profile .admin-buttons-row .mp-btn{
  color:#dce7e4;
  border-color:rgba(148,163,184,.17);
  background:linear-gradient(145deg,#303a3b,#232b2d);
  box-shadow:inset 0 1px rgba(255,255,255,.045);
}
#profileMount .mini-profile .admin-buttons-row .mp-btn:hover,
#roomsMount .mini-profile .admin-buttons-row .mp-btn:hover{
  color:#f0fdf9;
  border-color:var(--profile-accent-border);
  background:linear-gradient(145deg,#24483f,#19362f);
}
#profileMount .mini-profile .admin-buttons-row .admin-act,
#roomsMount .mini-profile .admin-buttons-row .admin-act{
  color:#fecaca;
  border-color:rgba(248,113,113,.2);
  background:rgba(127,29,29,.16);
}

/* ===== Globalni admin toast gore uz header ===== */

.ad-toast {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);

  z-index: 9999;

  max-width: min(480px, 92vw);
  padding: 9px 16px;
  border-radius: 999px;

  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: rgba(15, 23, 42, 0.96); /* default tamno */
  color: #e5f6ff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.32),
    0 0 0 1px rgba(15, 23, 42, 0.5);

  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

/* Kada je prikazan */
.ad-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Uspjeh (zeleno) */
.ad-toast--ok {
  background: rgba(22, 163, 74, 0.16);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.8);
}

/* Greška (crveno) */
.ad-toast--err {
  background: rgba(239, 68, 68, 0.16);
  color: #ef4444;
  border-color: rgba(248, 113, 113, 0.9);
}

/* Mali “dot” ispred teksta radi estetike */
.ad-toast::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

/* Profil view: da bude scrollable unutar desne kolone */
#profileView {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#profileMount {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px; /* malo prostora da scroll stoji uz desnu ivicu */
}

/* Da na manjim ekranima ne pobjegne ispod headera */
@media (max-width: 768px) {
  #profileMount {
    max-height: calc(100vh - 60px); /* prilagodi visini headera */
  }
}

/* Naslovna ostaje čitljiva, ali je znatno vidljivija iza podataka profila. */
#profileMount .mini-profile .profile-cover {
  background:
    linear-gradient(180deg, rgba(5, 8, 14, .06) 0%, rgba(5, 8, 14, .18) 52%, rgba(5, 8, 14, .7) 100%),
    var(--profile-cover) var(--profile-cover-x, 50%) var(--profile-cover-y, 50%)/cover no-repeat !important;
  opacity: .82 !important;
}

#profileMount .mini-profile .profile-cover::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 14, .18), transparent 48%, rgba(5, 8, 14, .12)),
    linear-gradient(180deg, transparent 45%, rgba(5, 8, 14, .46)) !important;
}

body.cover-editor-open {
  overflow: hidden;
}

.cover-editor {
  position: fixed;
  z-index: 1600;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cover-editor[hidden] {
  display: none;
}

.cover-editor-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 6, 12, .78);
  backdrop-filter: blur(8px);
}

.cover-editor-dialog {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, .2);
  border-radius: 20px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 100% 0, rgba(13, 148, 136, .12), transparent 34%),
    #0b101b;
  box-shadow: 0 28px 75px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.cover-editor-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.cover-editor-dialog > header span {
  color: #5eead4;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cover-editor-dialog > header h2 {
  margin: 2px 0 0;
  font-size: 1.15rem;
}

.cover-editor-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 11px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.cover-editor-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2.75 / 1;
  overflow: hidden;
  border-block: 1px solid rgba(148, 163, 184, .12);
  background: #05080e;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.cover-editor-stage.is-dragging {
  cursor: grabbing;
}

.cover-editor-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.cover-editor-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -52px 65px rgba(2, 6, 12, .34);
}

.cover-editor-guide {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(2, 6, 12, .62);
  backdrop-filter: blur(7px);
  font-size: .75rem;
  font-weight: 750;
  white-space: nowrap;
  pointer-events: none;
}

.cover-editor-help {
  margin: 0;
  padding: 13px 18px 5px;
  color: #94a3b8;
  font-size: .82rem;
  line-height: 1.45;
}

.cover-editor-dialog > footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 18px 17px;
}

.cover-editor-secondary,
.cover-editor-save {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}

.cover-editor-secondary {
  border: 1px solid rgba(148, 163, 184, .17);
  color: #cbd5e1;
  background: rgba(255, 255, 255, .04);
}

.cover-editor-save {
  border: 1px solid rgba(94, 234, 212, .2);
  color: #ecfeff;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  box-shadow: 0 7px 16px rgba(8, 145, 178, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.cover-editor-save:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 640px) {
  .cover-editor {
    place-items: end center;
    padding: 8px;
  }

  .cover-editor-dialog {
    border-radius: 18px;
  }

  .cover-editor-dialog > header {
    padding: 13px 14px;
  }

  .cover-editor-stage {
    aspect-ratio: 2.05 / 1;
  }

  .cover-editor-help {
    padding: 11px 14px 4px;
    font-size: .76rem;
  }

  .cover-editor-dialog > footer {
    padding: 11px 14px 14px;
  }

  .cover-editor-secondary,
  .cover-editor-save {
    flex: 1 1 0;
    padding: 0 9px;
    font-size: .78rem;
  }
}

/* Popularnost profila prati jantarni vizuelni jezik trake smajlića. */
#profileMount .mini-profile .pop-chip {
  position: relative;
  overflow: hidden;
  padding-left: 27px !important;
  border: 1px solid rgba(251, 191, 36, .22) !important;
  border-radius: 12px !important;
  color: #fde68a !important;
  background:
    linear-gradient(90deg, rgba(245, 158, 11, .11), transparent 48%),
    rgba(11, 16, 27, .94) !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, .24),
    inset 3px 0 0 rgba(245, 158, 11, .74),
    inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

#profileMount .mini-profile .pop-chip::before {
  content: "\f06d";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: #fbbf24;
  font: 900 .72rem/1 "Font Awesome 6 Free";
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, .34));
}

#profileMount .mini-profile .pop-chip .pop-chip-value {
  color: #fef3c7 !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, .2) !important;
}

#profileMount .mini-profile .pop-chip small {
  color: rgba(253, 230, 138, .68) !important;
}

@media (max-width: 768px) {
  #profileMount .mini-profile .pop-chip {
    padding-left: 25px !important;
  }

  #profileMount .mini-profile .pop-chip::before {
    left: 8px;
    font-size: .68rem;
  }
}

/* Moja interesovanja */
#profileMount .mini-profile .profile-interests-card,
#roomsMount .mini-profile .profile-interests-card{display:grid;gap:10px;margin:9px var(--padX);padding:12px;border:1px solid rgba(244,114,182,.17);border-radius:16px;background:linear-gradient(145deg,rgba(53,29,46,.52),rgba(15,23,36,.84));box-shadow:0 8px 22px rgba(0,0,0,.12)}
#profileMount .mini-profile .profile-interests-title,
#roomsMount .mini-profile .profile-interests-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
#profileMount .mini-profile .profile-interests-title>span,
#roomsMount .mini-profile .profile-interests-title>span{display:flex;align-items:center;gap:7px;color:#fce7f3;font-size:.78rem;font-weight:950}
#profileMount .mini-profile .profile-interests-title i,
#roomsMount .mini-profile .profile-interests-title i{color:#f472b6}
#profileMount .mini-profile .profile-interests-title b,
#roomsMount .mini-profile .profile-interests-title b{min-width:24px;height:22px;display:grid;place-items:center;border-radius:8px;color:#f9a8d4;background:rgba(236,72,153,.11);font-size:.59rem}
#profileMount .mini-profile .profile-interest-chips,
#roomsMount .mini-profile .profile-interest-chips{display:flex;flex-wrap:wrap;gap:6px}
#profileMount .mini-profile .profile-interest-chips span,
#roomsMount .mini-profile .profile-interest-chips span{min-height:31px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(244,114,182,.18);border-radius:999px;color:#e7dbe5;background:rgba(8,15,26,.54);font-size:.66rem;font-weight:800}
#profileMount .mini-profile .profile-interest-chips i,
#roomsMount .mini-profile .profile-interest-chips i{color:#f472b6;font-size:.52rem}
@media(max-width:520px){#profileMount .mini-profile .profile-interests-card,#roomsMount .mini-profile .profile-interests-card{margin:7px var(--padX);padding:10px;border-radius:14px}#profileMount .mini-profile .profile-interest-chips,#roomsMount .mini-profile .profile-interest-chips{gap:5px}#profileMount .mini-profile .profile-interest-chips span,#roomsMount .mini-profile .profile-interest-chips span{min-height:29px;padding:0 8px;font-size:.62rem}}

/* Badoo-like javni prikaz: lagan blok i jednostavne interest badges */
#profileMount .mini-profile .profile-interests-card,
#roomsMount .mini-profile .profile-interests-card{padding:13px 0;margin:8px var(--padX);border-width:1px 0 0;border-color:rgba(148,163,184,.11);border-radius:0;background:transparent;box-shadow:none}
#profileMount .mini-profile .profile-interests-title b,
#roomsMount .mini-profile .profile-interests-title b{display:none}
#profileMount .mini-profile .profile-interest-chips span,
#roomsMount .mini-profile .profile-interest-chips span{min-height:34px;padding:0 12px;border-color:rgba(148,163,184,.13);color:#d6dde7;background:#1a2431;font-size:.67rem}
#profileMount .mini-profile .profile-interest-chips span.is-common,
#roomsMount .mini-profile .profile-interest-chips span.is-common{color:#fce7f3;border-color:rgba(244,114,182,.3);background:rgba(190,24,93,.14)}
#profileMount .mini-profile .profile-interest-chips span.is-common i,
#roomsMount .mini-profile .profile-interest-chips span.is-common i{color:#f472b6}

#profileMount .mini-profile .profile-interest-chips span i,
#roomsMount .mini-profile .profile-interest-chips span i{width:20px;height:20px;display:grid;place-items:center;border-radius:7px;color:#e9d5ff;background:linear-gradient(145deg,rgba(168,85,247,.28),rgba(219,39,119,.2));font-size:.58rem}
#profileMount .mini-profile .profile-interest-chips span:nth-child(3n+2) i,
#roomsMount .mini-profile .profile-interest-chips span:nth-child(3n+2) i{color:#bae6fd;background:linear-gradient(145deg,rgba(14,165,233,.25),rgba(37,99,235,.18))}
#profileMount .mini-profile .profile-interest-chips span:nth-child(3n+3) i,
#roomsMount .mini-profile .profile-interest-chips span:nth-child(3n+3) i{color:#a7f3d0;background:linear-gradient(145deg,rgba(16,185,129,.25),rgba(13,148,136,.17))}

/* Sažetak osnovnih informacija iznad fotografija */
#profileMount .mini-profile .profile-basic-card,
#roomsMount .mini-profile .profile-basic-card{position:relative;z-index:1;grid-column:1/-1!important;grid-row:auto!important;align-self:start;clear:both;min-width:0;width:auto;max-width:100%;margin:9px var(--padX);overflow:hidden;border:1px solid rgba(148,163,184,.14);border-radius:17px;background:linear-gradient(145deg,rgba(18,29,43,.96),rgba(10,18,29,.98));box-shadow:0 10px 26px rgba(0,0,0,.14)}
#profileMount .mini-profile .profile-basic-card>header,
#roomsMount .mini-profile .profile-basic-card>header{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid rgba(148,163,184,.1);background:linear-gradient(90deg,rgba(13,148,136,.09),transparent)}
#profileMount .mini-profile .profile-basic-card>header>div,
#roomsMount .mini-profile .profile-basic-card>header>div{display:grid;gap:2px}
#profileMount .mini-profile .profile-basic-card>header span,
#roomsMount .mini-profile .profile-basic-card>header span{color:#edfdfa;font-size:.78rem;font-weight:950}
#profileMount .mini-profile .profile-basic-card>header small,
#roomsMount .mini-profile .profile-basic-card>header small{color:#718698;font-size:.58rem;text-transform:uppercase;letter-spacing:.055em}
#profileMount .mini-profile .profile-basic-card>header>i,
#roomsMount .mini-profile .profile-basic-card>header>i{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;color:#99f6e4;background:rgba(13,148,136,.13);font-size:.76rem}
#profileMount .mini-profile .profile-basic-grid,
#roomsMount .mini-profile .profile-basic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(148,163,184,.08)}
#profileMount .mini-profile .profile-basic-item,
#roomsMount .mini-profile .profile-basic-item{min-width:0;min-height:62px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:9px 11px;background:#101a27}
#profileMount .mini-profile .profile-basic-icon,
#roomsMount .mini-profile .profile-basic-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;color:#a7f3d0;background:linear-gradient(145deg,rgba(16,185,129,.2),rgba(13,148,136,.11));font-size:.7rem}
#profileMount .mini-profile .profile-basic-item>div,
#roomsMount .mini-profile .profile-basic-item>div{min-width:0;display:grid;gap:3px}
#profileMount .mini-profile .profile-basic-item small,
#roomsMount .mini-profile .profile-basic-item small{color:#708094;font-size:.56rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
#profileMount .mini-profile .profile-basic-item strong,
#roomsMount .mini-profile .profile-basic-item strong{overflow:hidden;color:#e8eef5;font-size:.69rem;font-weight:850;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
#profileMount .mini-profile .profile-basic-item:nth-child(3n+2) .profile-basic-icon,
#roomsMount .mini-profile .profile-basic-item:nth-child(3n+2) .profile-basic-icon{color:#bae6fd;background:linear-gradient(145deg,rgba(14,165,233,.2),rgba(37,99,235,.11))}
#profileMount .mini-profile .profile-basic-item:nth-child(3n+3) .profile-basic-icon,
#roomsMount .mini-profile .profile-basic-item:nth-child(3n+3) .profile-basic-icon{color:#fbcfe8;background:linear-gradient(145deg,rgba(236,72,153,.18),rgba(147,51,234,.1))}
@media(max-width:620px){#profileMount .mini-profile .profile-basic-card,#roomsMount .mini-profile .profile-basic-card{margin:7px var(--padX);border-radius:14px}#profileMount .mini-profile .profile-basic-grid,#roomsMount .mini-profile .profile-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#profileMount .mini-profile .profile-basic-item,#roomsMount .mini-profile .profile-basic-item{min-height:57px;padding:7px 8px}}

#profileMount .mini-profile .profile-basic-card + .profile-photo-strip,
#roomsMount .mini-profile .profile-basic-card + .profile-photo-strip{position:relative!important;z-index:0!important;grid-column:1/-1!important;grid-row:auto!important;align-self:start!important;clear:both!important;margin-top:0!important}

/* Stabilna cjelina: osnovni podaci uvijek iznad fotografija */
#profileMount .mini-profile .profile-overview-stack,
#roomsMount .mini-profile .profile-overview-stack{position:relative;z-index:1;grid-column:1/-1!important;grid-row:auto!important;min-width:0;width:auto;max-width:100%;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;align-content:start;gap:10px;margin:9px var(--padX);padding:10px;overflow:hidden;border:1px solid rgba(148,163,184,.13);border-radius:20px;background:linear-gradient(155deg,rgba(15,25,38,.96),rgba(7,13,22,.98));box-shadow:0 14px 34px rgba(0,0,0,.17)}
#profileMount .mini-profile .profile-overview-stack>.profile-basic-card,
#roomsMount .mini-profile .profile-overview-stack>.profile-basic-card{position:relative!important;grid-column:1!important;grid-row:auto!important;width:100%!important;max-width:100%!important;margin:0!important;border-radius:14px;box-shadow:none}
#profileMount .mini-profile .profile-overview-stack>.profile-photo-strip,
#roomsMount .mini-profile .profile-overview-stack>.profile-photo-strip{position:relative!important;z-index:0!important;grid-column:1!important;grid-row:auto!important;align-self:start!important;clear:both!important;width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box}
#profileMount .mini-profile .profile-overview-stack>.profile-basic-card+.profile-photo-strip,
#roomsMount .mini-profile .profile-overview-stack>.profile-basic-card+.profile-photo-strip{padding-top:10px!important;border-top:1px solid rgba(148,163,184,.1)}
@media(max-width:620px){
  #profileMount .mini-profile .profile-overview-stack,
  #roomsMount .mini-profile .profile-overview-stack{gap:8px;margin:6px var(--padX);padding:8px;border-radius:16px}
  #profileMount .mini-profile .profile-overview-stack>.profile-basic-card,
  #roomsMount .mini-profile .profile-overview-stack>.profile-basic-card{display:block!important;border:0;border-radius:12px;background:#101a27}
  #profileMount .mini-profile .profile-basic-card>header,
  #roomsMount .mini-profile .profile-basic-card>header{min-height:46px;padding:7px 9px}
  #profileMount .mini-profile .profile-basic-card>header>i,
  #roomsMount .mini-profile .profile-basic-card>header>i{width:29px;height:29px}
  #profileMount .mini-profile .profile-basic-grid,
  #roomsMount .mini-profile .profile-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #profileMount .mini-profile .profile-basic-item,
  #roomsMount .mini-profile .profile-basic-item{min-height:54px;grid-template-columns:29px minmax(0,1fr);gap:7px;padding:7px}
  #profileMount .mini-profile .profile-basic-icon,
  #roomsMount .mini-profile .profile-basic-icon{width:29px;height:29px;border-radius:9px}
  #profileMount .mini-profile .profile-basic-item strong,
  #roomsMount .mini-profile .profile-basic-item strong{font-size:.65rem}
  #profileMount .mini-profile .profile-basic-item:last-child:nth-child(odd),
  #roomsMount .mini-profile .profile-basic-item:last-child:nth-child(odd){grid-column:1/-1}
}

/* Konačni Info layout: jedan dokumentni tok bez preklapanja starih kolona. */
#profileMount .mini-profile .m-body>.view[data-view-id="info"].is-active,
#roomsMount .mini-profile .m-body>.view[data-view-id="info"].is-active,
#profileMount .mini-profile .view[data-view-id="info"].is-active,
#roomsMount .mini-profile .view[data-view-id="info"].is-active{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;grid-auto-rows:max-content;align-content:start;align-items:start;gap:10px!important}
#profileMount .mini-profile .view[data-view-id="info"].is-active>*,
#roomsMount .mini-profile .view[data-view-id="info"].is-active>*{position:relative;grid-column:1!important;grid-row:auto!important;align-self:start;min-width:0;width:auto;max-width:100%;box-sizing:border-box}
#profileMount .mini-profile .view[data-view-id="info"].is-active>.profile-overview-stack,
#roomsMount .mini-profile .view[data-view-id="info"].is-active>.profile-overview-stack{width:auto!important}

/* Odvojene aplikacijske sekcije: omotač više nije vizuelni box. */
#profileMount .mini-profile .profile-overview-stack,
#roomsMount .mini-profile .profile-overview-stack{z-index:auto;gap:10px;margin:0;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
#profileMount .mini-profile .profile-overview-stack>.profile-basic-card,
#roomsMount .mini-profile .profile-overview-stack>.profile-basic-card{border:1px solid rgba(94,234,212,.14);border-radius:16px;background:linear-gradient(150deg,#112330,#0d1825)}
#profileMount .mini-profile .profile-overview-stack>.profile-photo-strip,
#roomsMount .mini-profile .profile-overview-stack>.profile-photo-strip{padding:11px!important;border:1px solid rgba(148,163,184,.13)!important;border-radius:16px!important;background:#111923!important;box-shadow:none!important}
#profileMount .mini-profile .profile-overview-stack>.profile-basic-card+.profile-photo-strip,
#roomsMount .mini-profile .profile-overview-stack>.profile-basic-card+.profile-photo-strip{padding-top:11px!important;border-top:1px solid rgba(148,163,184,.13)!important}

@media(max-width:620px){
  #profileMount .mini-profile,
  #roomsMount .mini-profile{--padX:8px}
  #profileMount .mini-profile [data-view-id="info"],
  #roomsMount .mini-profile [data-view-id="info"]{padding:8px!important}
  #profileMount .mini-profile .profile-overview-stack,
  #roomsMount .mini-profile .profile-overview-stack{gap:8px;margin:0;padding:0}
  #profileMount .mini-profile .profile-overview-stack>.profile-basic-card,
  #roomsMount .mini-profile .profile-overview-stack>.profile-basic-card{border-radius:14px}
  #profileMount .mini-profile .profile-basic-grid,
  #roomsMount .mini-profile .profile-basic-grid{grid-template-columns:minmax(0,1fr)!important;gap:1px}
  #profileMount .mini-profile .profile-basic-item,
  #roomsMount .mini-profile .profile-basic-item{grid-column:1!important;min-height:48px;grid-template-columns:32px minmax(0,1fr);padding:7px 9px}
  #profileMount .mini-profile .profile-basic-item:last-child:nth-child(odd),
  #roomsMount .mini-profile .profile-basic-item:last-child:nth-child(odd){grid-column:1!important}
  #profileMount .mini-profile .profile-basic-item strong,
  #roomsMount .mini-profile .profile-basic-item strong{white-space:normal}
  #profileMount .mini-profile .profile-overview-stack>.profile-photo-strip,
  #roomsMount .mini-profile .profile-overview-stack>.profile-photo-strip{padding:9px!important;border-radius:14px!important}
  #profileMount .mini-profile .profile-interests-card,
  #roomsMount .mini-profile .profile-interests-card{margin:0;padding:12px 0}
}

/* Uzak mobilni ekran: profil ostaje aplikacija širine viewporta. */
@media(max-width:620px){
  #profileMount .mini-profile .view[data-view-id="info"].is-active,
  #roomsMount .mini-profile .view[data-view-id="info"].is-active{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  #profileMount .mini-profile .profile-overview-stack,
  #roomsMount .mini-profile .profile-overview-stack,
  #profileMount .mini-profile .profile-interests-card,
  #roomsMount .mini-profile .profile-interests-card{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  #profileMount .mini-profile .profile-interest-chips,
  #roomsMount .mini-profile .profile-interest-chips{
    min-width:0;
    max-width:100%;
    overflow:hidden;
  }

  #profileMount .mini-profile .profile-interest-chips span,
  #roomsMount .mini-profile .profile-interest-chips span{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    white-space:normal;
  }
}

/* Kompletan profil: završni vizuelni sloj, postojeći layout ostaje netaknut. */
#profileMount .mini-profile,
#roomsMount .mini-profile{
  color:#eaf0f6;
  border-color:rgba(148,163,184,.14);
  background:
    radial-gradient(circle at 15% -8%,rgba(45,212,191,.07),transparent 28%),
    linear-gradient(180deg,#0d141e,#0a1018 72%);
  box-shadow:0 18px 48px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.035);
}

#profileMount .mini-profile>.m-head,
#roomsMount .mini-profile>.m-head{
  isolation:isolate;
  border-bottom-color:rgba(148,163,184,.12);
  background:linear-gradient(180deg,rgba(9,15,24,.12),rgba(8,14,22,.96));
}

#profileMount .mini-profile .profile-cover,
#roomsMount .mini-profile .profile-cover{
  filter:saturate(.88) contrast(1.04);
}

#profileMount .mini-profile .profile-cover::after,
#roomsMount .mini-profile .profile-cover::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(5,10,17,.56),transparent 44%,rgba(5,10,17,.14)),
    linear-gradient(180deg,rgba(5,10,17,.05) 25%,rgba(5,10,17,.90));
}

#profileMount .mini-profile .m-avatar-btn,
#roomsMount .mini-profile .m-avatar-btn{
  border-radius:16px;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.34));
}

#profileMount .mini-profile .m-ava,
#roomsMount .mini-profile .m-ava{
  border:2px solid rgba(226,232,240,.72);
  border-radius:15px;
  box-shadow:0 0 0 3px rgba(9,15,24,.72),0 8px 22px rgba(0,0,0,.30);
}

#profileMount .mini-profile .m-name,
#roomsMount .mini-profile .m-name{
  color:#f8fafc;
  font-weight:950;
  letter-spacing:-.015em;
  text-shadow:0 2px 10px rgba(0,0,0,.58);
}

#profileMount .mini-profile .profile-rank-chip,
#roomsMount .mini-profile .profile-rank-chip,
#profileMount .mini-profile .profile-presence-chip,
#roomsMount .mini-profile .profile-presence-chip,
#profileMount .mini-profile .profile-cafe-role,
#roomsMount .mini-profile .profile-cafe-role{
  border:1px solid rgba(148,163,184,.14);
  color:#dce5ee;
  background:rgba(10,17,27,.70);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(8px);
}

#profileMount .mini-profile .profile-head-stats,
#roomsMount .mini-profile .profile-head-stats{
  border-color:rgba(148,163,184,.13);
  background:rgba(8,14,23,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(9px);
}

#profileMount .mini-profile .profile-head-stats>span b,
#roomsMount .mini-profile .profile-head-stats>span b{
  color:#f8fafc;
}

#profileMount .mini-profile .profile-head-stats>span small,
#roomsMount .mini-profile .profile-head-stats>span small{
  color:#8798aa;
}

#profileMount .mini-profile .mood-wrap,
#roomsMount .mini-profile .mood-wrap{
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

#profileMount .mini-profile .mood-input,
#roomsMount .mini-profile .mood-input{
  border-color:rgba(148,163,184,.14);
  color:#e7edf4;
  background:linear-gradient(180deg,rgba(14,24,36,.96),rgba(10,18,28,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

#profileMount .mini-profile>.m-body,
#roomsMount .mini-profile>.m-body{
  background:
    radial-gradient(circle at 100% 0,rgba(45,212,191,.035),transparent 30%),
    #090f17;
  scrollbar-width:thin;
  scrollbar-color:rgba(45,212,191,.30) transparent;
}

#profileMount .mini-profile>.m-body::-webkit-scrollbar,
#roomsMount .mini-profile>.m-body::-webkit-scrollbar{
  width:5px;
}

#profileMount .mini-profile>.m-body::-webkit-scrollbar-thumb,
#roomsMount .mini-profile>.m-body::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:rgba(45,212,191,.30);
}

#profileMount .mini-profile .facts-card,
#roomsMount .mini-profile .facts-card,
#profileMount .mini-profile .profile-gifts-panel,
#roomsMount .mini-profile .profile-gifts-panel,
#profileMount .mini-profile .vip-gift-card,
#roomsMount .mini-profile .vip-gift-card,
#profileMount .mini-profile .admin-block,
#roomsMount .mini-profile .admin-block,
#profileMount .mini-profile .dm-embed-log,
#roomsMount .mini-profile .dm-embed-log{
  border-color:rgba(148,163,184,.14);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(18,28,41,.98),rgba(11,18,28,.99));
  box-shadow:0 9px 22px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.03);
}

#profileMount .mini-profile .facts-title,
#roomsMount .mini-profile .facts-title,
#profileMount .mini-profile .profile-gifts-head,
#roomsMount .mini-profile .profile-gifts-head,
#profileMount .mini-profile .vip-gift-title,
#roomsMount .mini-profile .vip-gift-title,
#profileMount .mini-profile .admin-block-title,
#roomsMount .mini-profile .admin-block-title{
  color:#edf3f8;
}

#profileMount .mini-profile .fact-item,
#roomsMount .mini-profile .fact-item,
#profileMount .mini-profile .profile-gift-card,
#roomsMount .mini-profile .profile-gift-card{
  border-color:rgba(148,163,184,.12);
  background:rgba(9,16,25,.56);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

#profileMount .mini-profile .dm-embed-input,
#roomsMount .mini-profile .dm-embed-input,
#profileMount .mini-profile .ad-row input,
#roomsMount .mini-profile .ad-row input,
#profileMount .mini-profile .ad-row select,
#roomsMount .mini-profile .ad-row select,
#profileMount .mini-profile .ad-row textarea,
#roomsMount .mini-profile .ad-row textarea{
  border-color:rgba(148,163,184,.16);
  color:#e6edf4;
  background:#0b1420;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

@media(max-width:620px){
  #profileMount .mini-profile,
  #roomsMount .mini-profile{
    box-shadow:none;
  }

  #profileMount .mini-profile>.m-head,
  #roomsMount .mini-profile>.m-head{
    border-radius:0;
  }

  #profileMount .mini-profile .m-ava,
  #roomsMount .mini-profile .m-ava{
    border-radius:14px;
    box-shadow:0 0 0 2px rgba(9,15,24,.76),0 7px 17px rgba(0,0,0,.28);
  }
}

/* Ujednačen profilni vizuelni sistem — bez promjene postojećeg rasporeda. */
#profileMount .mini-profile,
#roomsMount .mini-profile{
  --profile-surface:#111a26;
  --profile-surface-soft:#0d1621;
  --profile-line:rgba(148,163,184,.14);
  --profile-line-strong:rgba(94,234,212,.20);
  --profile-text:#edf3f8;
  --profile-muted:#8091a5;
  --profile-accent:#5eead4;
  --profile-radius:16px;
}

#profileMount .mini-profile .profile-basic-card,
#roomsMount .mini-profile .profile-basic-card,
#profileMount .mini-profile .profile-photo-strip,
#roomsMount .mini-profile .profile-photo-strip,
#profileMount .mini-profile .profile-interests-card,
#roomsMount .mini-profile .profile-interests-card,
#profileMount .mini-profile .profile-story-card,
#roomsMount .mini-profile .profile-story-card,
#profileMount .mini-profile .profile-gifts-panel,
#roomsMount .mini-profile .profile-gifts-panel,
#profileMount .mini-profile .facts-card,
#roomsMount .mini-profile .facts-card{
  border-color:var(--profile-line)!important;
  border-radius:var(--profile-radius)!important;
  background:
    linear-gradient(145deg,rgba(20,31,44,.98),rgba(12,20,31,.99))!important;
  box-shadow:
    0 10px 25px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.035)!important;
}

#profileMount .mini-profile .profile-basic-card>header,
#roomsMount .mini-profile .profile-basic-card>header{
  border-bottom-color:rgba(148,163,184,.10);
  background:
    linear-gradient(90deg,rgba(45,212,191,.10),rgba(45,212,191,.025) 46%,transparent);
}

#profileMount .mini-profile .profile-basic-card>header span,
#roomsMount .mini-profile .profile-basic-card>header span,
#profileMount .mini-profile .profile-photo-head span,
#roomsMount .mini-profile .profile-photo-head span,
#profileMount .mini-profile .profile-interests-title>span,
#roomsMount .mini-profile .profile-interests-title>span{
  color:var(--profile-text);
}

#profileMount .mini-profile .profile-basic-card>header small,
#roomsMount .mini-profile .profile-basic-card>header small{
  color:var(--profile-muted);
}

#profileMount .mini-profile .profile-basic-item,
#roomsMount .mini-profile .profile-basic-item{
  background:rgba(14,24,36,.82);
}

#profileMount .mini-profile .profile-photo-head,
#roomsMount .mini-profile .profile-photo-head,
#profileMount .mini-profile .profile-interests-title,
#roomsMount .mini-profile .profile-interests-title{
  border-bottom-color:rgba(148,163,184,.09);
}

#profileMount .mini-profile .profile-photo-head span::before,
#roomsMount .mini-profile .profile-photo-head span::before{
  color:var(--profile-accent);
}

#profileMount .mini-profile .profile-photo-head strong,
#roomsMount .mini-profile .profile-photo-head strong{
  color:#a7f3d0;
  border-color:rgba(45,212,191,.18);
  background:rgba(13,148,136,.12);
}

#profileMount .mini-profile .profile-interests-card,
#roomsMount .mini-profile .profile-interests-card{
  background:
    radial-gradient(circle at 100% 0,rgba(244,114,182,.07),transparent 35%),
    linear-gradient(145deg,rgba(20,31,44,.98),rgba(12,20,31,.99))!important;
}

#profileMount .mini-profile .profile-interest-chips span,
#roomsMount .mini-profile .profile-interest-chips span{
  border-color:rgba(148,163,184,.14);
  color:#dfe7ef;
  background:linear-gradient(145deg,#1a2634,#15202d);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

#profileMount .mini-profile .profile-interest-chips span.is-common,
#roomsMount .mini-profile .profile-interest-chips span.is-common{
  border-color:rgba(244,114,182,.30);
  background:linear-gradient(145deg,rgba(91,33,69,.58),rgba(35,28,45,.9));
}

#profileMount .mini-profile .profile-photo-card,
#roomsMount .mini-profile .profile-photo-card{
  border-color:rgba(148,163,184,.18)!important;
  box-shadow:
    0 8px 18px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.06)!important;
}

@media(max-width:620px){
  #profileMount .mini-profile,
  #roomsMount .mini-profile{
    --profile-radius:14px;
  }
}

@media(max-width:360px){
  #profileMount .mini-profile .profile-interest-chips,
  #roomsMount .mini-profile .profile-interest-chips{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }

  #profileMount .mini-profile .profile-interest-chips span,
  #roomsMount .mini-profile .profile-interest-chips span{
    width:100%;
    padding-inline:8px;
  }
}

/* Galerija profila: naglašene fotografije uz zadržan horizontalni swipe. */
#profileMount .mini-profile .profile-photo-head,
#roomsMount .mini-profile .profile-photo-head{
  min-height:28px;
  margin-bottom:9px;
}

#profileMount .mini-profile .profile-photo-head span,
#roomsMount .mini-profile .profile-photo-head span{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.82rem;
}

#profileMount .mini-profile .profile-photo-head span::before,
#roomsMount .mini-profile .profile-photo-head span::before{
  content:"\f03e";
  color:#67e8f9;
  font:900 .68rem/1 "Font Awesome 6 Free";
}

#profileMount .mini-profile .profile-photo-rail,
#roomsMount .mini-profile .profile-photo-rail{
  display:grid!important;
  grid-auto-flow:column!important;
  grid-template-columns:none!important;
  grid-auto-columns:clamp(72px,27%,104px)!important;
  gap:10px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:1px 1px 8px!important;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
  scrollbar-color:rgba(45,212,191,.34) transparent;
  overscroll-behavior-inline:contain;
  /* Let vertical gestures scroll the profile while horizontal ones scroll photos. */
  touch-action:pan-x pan-y pinch-zoom;
}

#profileMount .mini-profile .profile-photo-rail::-webkit-scrollbar,
#roomsMount .mini-profile .profile-photo-rail::-webkit-scrollbar{
  height:4px;
}

#profileMount .mini-profile .profile-photo-rail::-webkit-scrollbar-thumb,
#roomsMount .mini-profile .profile-photo-rail::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:linear-gradient(90deg,rgba(45,212,191,.3),rgba(34,211,238,.46));
}

#profileMount .mini-profile .profile-photo-card,
#roomsMount .mini-profile .profile-photo-card{
  aspect-ratio:1/1.22!important;
  border:1px solid rgba(148,163,184,.2)!important;
  border-radius:15px!important;
  scroll-snap-align:start;
  scroll-snap-stop:normal;
  background:#0a111b;
  box-shadow:0 9px 20px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08)!important;
}

#profileMount .mini-profile .profile-photo-card::before,
#roomsMount .mini-profile .profile-photo-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 62%,rgba(2,6,12,.42));
}

@media(max-width:620px){
  #profileMount .mini-profile .profile-photo-rail,
  #roomsMount .mini-profile .profile-photo-rail{
    grid-auto-columns:clamp(72px,27%,104px)!important;
    gap:7px!important;
    margin-right:-9px;
    padding-right:9px!important;
  }

  #profileMount .mini-profile .profile-photo-card,
  #roomsMount .mini-profile .profile-photo-card{
    border-radius:14px!important;
  }
}

@media(min-width:900px){
  #profileMount .mini-profile .profile-photo-card,
  #roomsMount .mini-profile .profile-photo-card{
    aspect-ratio:1/1!important;
  }
}

@media(min-width:1024px){
  #profileMount .mini-profile .profile-photo-rail,
  #roomsMount .mini-profile .profile-photo-rail{
    grid-auto-columns:180px!important;
  }
}

/* Interesovanja kao zasebna, kompaktna profilna kartica. */
#profileMount .mini-profile .profile-interests-card,
#roomsMount .mini-profile .profile-interests-card{
  position:relative;
  display:grid;
  gap:10px;
  margin:0!important;
  padding:12px!important;
  overflow:hidden;
  border:1px solid rgba(244,114,182,.16)!important;
  border-radius:16px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(236,72,153,.10),transparent 38%),
    linear-gradient(145deg,#151b28,#101721)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035)!important;
}

#profileMount .mini-profile .profile-interests-title,
#roomsMount .mini-profile .profile-interests-title{
  min-height:27px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(148,163,184,.09);
}

#profileMount .mini-profile .profile-interests-title>span,
#roomsMount .mini-profile .profile-interests-title>span{
  color:#f8edf5;
  font-size:.78rem;
  letter-spacing:.01em;
}

#profileMount .mini-profile .profile-interests-title>span i,
#roomsMount .mini-profile .profile-interests-title>span i{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#f9a8d4;
  background:linear-gradient(145deg,rgba(236,72,153,.22),rgba(168,85,247,.14));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

#profileMount .mini-profile .profile-interest-chips,
#roomsMount .mini-profile .profile-interest-chips{
  gap:7px;
}

#profileMount .mini-profile .profile-interest-chips span,
#roomsMount .mini-profile .profile-interest-chips span{
  min-height:34px;
  padding:0 11px;
  border-color:rgba(148,163,184,.16);
  color:#e5eaf1;
  background:linear-gradient(145deg,rgba(31,41,55,.94),rgba(21,29,42,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

#profileMount .mini-profile .profile-interest-chips span:hover,
#roomsMount .mini-profile .profile-interest-chips span:hover{
  border-color:rgba(244,114,182,.28);
  background:linear-gradient(145deg,rgba(55,34,57,.96),rgba(27,31,48,.96));
}

#profileMount .mini-profile .profile-interests-empty,
#roomsMount .mini-profile .profile-interests-empty{
  min-height:52px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border:1px dashed rgba(244,114,182,.2);
  border-radius:12px;
  color:#aeb8c7;
  background:rgba(8,13,22,.34);
  font-size:.69rem;
  font-weight:750;
  line-height:1.35;
}

#profileMount .mini-profile .profile-interests-empty>i,
#roomsMount .mini-profile .profile-interests-empty>i{
  flex:0 0 auto;
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#f9a8d4;
  background:rgba(236,72,153,.13);
}

@media(max-width:620px){
  #profileMount .mini-profile .profile-interests-card,
  #roomsMount .mini-profile .profile-interests-card{
    gap:9px;
    padding:10px!important;
    border-radius:14px!important;
  }

  #profileMount .mini-profile .profile-interest-chips span,
  #roomsMount .mini-profile .profile-interest-chips span{
    min-height:32px;
    padding-inline:9px;
  }
}

/* Mobilni prijelaz između susjednih profila iz online liste. */
@media(max-width:720px){
  #profileMount{
    perspective:900px;
    overflow:hidden;
  }

  #profileMount.is-profile-swiping .mini-profile{
    opacity:var(--profile-swipe-opacity,1);
    transform:
      translate3d(var(--profile-swipe-x,0px),0,0)
      scale(var(--profile-swipe-scale,1));
    transition:none!important;
    will-change:transform,opacity;
    pointer-events:none;
  }

  #profileMount.profile-swipe-snap-back .mini-profile{
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
    transition:
      transform .18s cubic-bezier(.22,.8,.3,1),
      opacity .16s ease!important;
  }

  #profileMount.profile-swipe-to-left .mini-profile{
    animation:profileSwipeOutLeft .18s cubic-bezier(.4,0,.8,.3) both;
    pointer-events:none;
  }

  #profileMount.profile-swipe-to-right .mini-profile{
    animation:profileSwipeOutRight .18s cubic-bezier(.4,0,.8,.3) both;
    pointer-events:none;
  }

  #profileMount .mini-profile.profile-swipe-enter-right{
    animation:profileSwipeEnterRight .24s cubic-bezier(.16,.82,.24,1) both;
  }

  #profileMount .mini-profile.profile-swipe-enter-left{
    animation:profileSwipeEnterLeft .24s cubic-bezier(.16,.82,.24,1) both;
  }

  @keyframes profileSwipeOutLeft{
    to{opacity:.12;transform:translate3d(-102vw,0,0) scale(.985)}
  }

  @keyframes profileSwipeOutRight{
    to{opacity:.12;transform:translate3d(102vw,0,0) scale(.985)}
  }

  @keyframes profileSwipeEnterRight{
    from{opacity:.18;transform:translate3d(56px,0,0) scale(.988)}
    to{opacity:1;transform:translate3d(0,0,0) scale(1)}
  }

  @keyframes profileSwipeEnterLeft{
    from{opacity:.18;transform:translate3d(-56px,0,0) scale(.988)}
    to{opacity:1;transform:translate3d(0,0,0) scale(1)}
  }
}

@media(prefers-reduced-motion:reduce){
  #profileMount.profile-swipe-to-left .mini-profile,
  #profileMount.profile-swipe-to-right .mini-profile,
  #profileMount .mini-profile.profile-swipe-enter-right,
  #profileMount .mini-profile.profile-swipe-enter-left{
    animation:none;
  }
}

/* Mobilno raspoloženje: kompaktna statusna traka s ikonom i tekstom. */
@media(max-width:640px){
  #profileMount .mini-profile .m-head .mood-wrap,
  #roomsMount .mini-profile .m-head .mood-wrap{
    position:relative;
    min-height:44px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:5px 9px 5px 5px;
    overflow:hidden;
    border:1px solid rgba(148,163,184,.10);
    border-radius:12px;
    background:linear-gradient(180deg,#101a27,#0c1520);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  }

  #profileMount .mini-profile .m-head .mood-wrap::before,
  #roomsMount .mini-profile .m-head .mood-wrap::before{
    content:"RASPOLOŽENJE";
    position:absolute;
    z-index:2;
    top:7px;
    left:50px;
    color:#718497;
    font-size:.49rem;
    font-weight:950;
    line-height:1;
    letter-spacing:.075em;
    pointer-events:none;
  }

  #profileMount .mini-profile .m-head .mood-wrap::after,
  #roomsMount .mini-profile .m-head .mood-wrap::after{
    content:"";
    position:absolute;
    left:43px;
    top:8px;
    bottom:8px;
    width:1px;
    background:rgba(148,163,184,.10);
    pointer-events:none;
  }

  #profileMount .mini-profile .m-head .mood-wrap .mood-trigger,
  #roomsMount .mini-profile .m-head .mood-wrap .mood-trigger{
    position:relative;
    left:auto;
    top:auto;
    z-index:3;
    flex:0 0 34px;
    width:34px;
    height:34px;
    margin:0;
    padding:3px;
    transform:none;
    border:1px solid rgba(94,234,212,.11);
    border-radius:10px;
    background:rgba(13,148,136,.07);
    box-shadow:none;
  }

  #profileMount .mini-profile .m-head .mood-wrap .mood-trigger img,
  #roomsMount .mini-profile .m-head .mood-wrap .mood-trigger img{
    width:100%;
    height:100%;
    object-fit:contain;
    filter:drop-shadow(0 4px 6px rgba(0,0,0,.32));
  }

  #profileMount .mini-profile .m-head .mood-wrap .mood-input,
  #roomsMount .mini-profile .m-head .mood-wrap .mood-input{
    flex:1 1 auto;
    min-width:0;
    min-height:37px;
    max-height:52px;
    margin:0;
    padding:16px 2px 2px 0;
    border:0;
    border-radius:0;
    color:#b9c6d1;
    background:transparent;
    box-shadow:none;
    font-family:'Inter','Segoe UI',system-ui,sans-serif;
    font-size:clamp(.64rem,2.65vw,.7rem);
    font-weight:600;
    line-height:1.2;
    letter-spacing:0;
    text-shadow:none;
  }

  #profileMount .mini-profile .m-head .mood-wrap.is-short-status .mood-input,
  #roomsMount .mini-profile .m-head .mood-wrap.is-short-status .mood-input{
    font-size:clamp(.67rem,2.85vw,.73rem);
    font-weight:650;
    letter-spacing:0;
  }

  #profileMount .mini-profile .m-head .mood-wrap.is-long-status .mood-input,
  #roomsMount .mini-profile .m-head .mood-wrap.is-long-status .mood-input{
    font-size:clamp(.59rem,2.45vw,.64rem);
    font-weight:550;
    line-height:1.2;
    letter-spacing:0;
  }

  #profileMount .mini-profile .m-head .mood-wrap .mood-save,
  #roomsMount .mini-profile .m-head .mood-wrap .mood-save{
    flex:0 0 auto;
    height:30px;
    padding-inline:9px;
    border-radius:9px;
    font-size:.65rem;
  }
}

/* Mobilni detalji profila i primljeni pokloni. */
@media(max-width:640px){
  #profileMount .mini-profile .facts-card,
  #roomsMount .mini-profile .facts-card,
  #profileMount .mini-profile .profile-gifts-panel,
  #roomsMount .mini-profile .profile-gifts-panel{
    width:100%;
    max-width:100%;
    margin:0;
    padding:11px!important;
    overflow:hidden;
    border:1px solid rgba(148,163,184,.14)!important;
    border-radius:14px!important;
    background:
      radial-gradient(circle at 100% 0,rgba(45,212,191,.055),transparent 34%),
      linear-gradient(145deg,#121c29,#0c151f)!important;
    box-shadow:0 9px 22px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.035)!important;
  }

  #profileMount .mini-profile .facts-card,
  #roomsMount .mini-profile .facts-card{
    order:initial!important;
  }

  #profileMount .mini-profile .facts-title,
  #roomsMount .mini-profile .facts-title{
    min-height:34px;
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 9px;
    padding:0 0 9px;
    border-bottom:1px solid rgba(148,163,184,.09);
    color:#edf4f8;
    font-size:.82rem;
    font-weight:950;
  }

  #profileMount .mini-profile .facts-title::before,
  #roomsMount .mini-profile .facts-title::before{
    content:"\f2bb";
    flex:0 0 29px;
    width:29px;
    height:29px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:#99f6e4;
    background:linear-gradient(145deg,rgba(20,184,166,.20),rgba(13,148,136,.09));
    font:900 .68rem/1 "Font Awesome 6 Free";
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  }

  #profileMount .mini-profile .facts-grid,
  #roomsMount .mini-profile .facts-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr)!important;
    gap:7px!important;
  }

  #profileMount .mini-profile .fact-item,
  #roomsMount .mini-profile .fact-item{
    min-width:0;
    min-height:57px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-items:center;
    gap:9px!important;
    padding:8px 9px!important;
    border:1px solid rgba(148,163,184,.11)!important;
    border-radius:12px!important;
    background:rgba(8,15,24,.48)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
  }

  #profileMount .mini-profile .fact-icon,
  #roomsMount .mini-profile .fact-icon{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:10px;
    color:#bae6fd;
    background:linear-gradient(145deg,rgba(14,165,233,.18),rgba(37,99,235,.09));
    font-size:.69rem;
  }

  #profileMount .mini-profile .fact-copy,
  #roomsMount .mini-profile .fact-copy{
    min-width:0;
    display:grid;
    gap:5px;
  }

  #profileMount .mini-profile .fact-label,
  #roomsMount .mini-profile .fact-label{
    color:#71869a;
    font-size:.53rem;
    font-weight:950;
    line-height:1;
    letter-spacing:.06em;
    text-transform:uppercase;
  }

  #profileMount .mini-profile .fact-values,
  #roomsMount .mini-profile .fact-values{
    min-width:0;
    display:flex;
    flex-wrap:wrap;
    gap:4px;
  }

  #profileMount .mini-profile .fact-chip,
  #roomsMount .mini-profile .fact-chip{
    min-width:0;
    max-width:100%;
    padding:4px 7px;
    overflow:hidden;
    border:1px solid rgba(148,163,184,.12);
    border-radius:7px;
    color:#e5edf4;
    background:#172230;
    box-shadow:none;
    font-size:.66rem;
    font-weight:800;
    line-height:1.15;
    text-overflow:ellipsis;
  }

  #profileMount .mini-profile .profile-gifts-head,
  #roomsMount .mini-profile .profile-gifts-head{
    min-height:42px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    margin:0 0 10px;
    padding:0 0 9px;
    border-bottom:1px solid rgba(148,163,184,.09);
  }

  #profileMount .mini-profile .profile-gifts-head>div,
  #roomsMount .mini-profile .profile-gifts-head>div{
    position:relative;
    min-width:0;
    padding-left:38px;
  }

  #profileMount .mini-profile .profile-gifts-head>div::before,
  #roomsMount .mini-profile .profile-gifts-head>div::before{
    content:"\f06b";
    position:absolute;
    left:0;
    top:50%;
    width:29px;
    height:29px;
    display:grid;
    place-items:center;
    transform:translateY(-50%);
    border-radius:9px;
    color:#f9a8d4;
    background:linear-gradient(145deg,rgba(236,72,153,.20),rgba(168,85,247,.10));
    font:900 .68rem/1 "Font Awesome 6 Free";
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  }

  #profileMount .mini-profile .profile-gifts-head span,
  #roomsMount .mini-profile .profile-gifts-head span{
    color:#edf4f8;
    font-size:.82rem;
  }

  #profileMount .mini-profile .profile-gifts-head small,
  #roomsMount .mini-profile .profile-gifts-head small{
    margin-top:3px;
    overflow:hidden;
    color:#75889c;
    font-size:.57rem;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  #profileMount .mini-profile .profile-gifts-head strong,
  #roomsMount .mini-profile .profile-gifts-head strong{
    min-width:30px;
    height:25px;
    color:#f9a8d4;
    border-color:rgba(244,114,182,.20);
    background:rgba(190,24,93,.13);
  }

  #profileMount .mini-profile .profile-gifts-grid,
  #roomsMount .mini-profile .profile-gifts-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
  }

  #profileMount .mini-profile .profile-gift-card,
  #roomsMount .mini-profile .profile-gift-card,
  #profileMount .mini-profile .profile-gifts-grid>.profile-gift-card,
  #roomsMount .mini-profile .profile-gifts-grid>.profile-gift-card{
    min-width:0;
    min-height:122px;
    display:grid;
    grid-template-rows:52px auto auto;
    align-content:center;
    justify-items:center;
    gap:5px;
    padding:9px 6px 7px!important;
    border:1px solid rgba(148,163,184,.12)!important;
    border-radius:12px!important;
    background:
      radial-gradient(circle at 50% 16%,rgba(244,114,182,.10),transparent 42%),
      rgba(8,15,24,.56)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  }

  #profileMount .mini-profile .profile-gift-card .gift-art,
  #roomsMount .mini-profile .profile-gift-card .gift-art{
    width:52px;
    height:52px;
  }

  #profileMount .mini-profile .profile-gift-card .gift-img,
  #roomsMount .mini-profile .profile-gift-card .gift-img{
    max-width:52px;
    max-height:52px;
  }

  #profileMount .mini-profile .profile-gift-card .gift-emoji,
  #roomsMount .mini-profile .profile-gift-card .gift-emoji{
    font-size:2rem;
  }

  #profileMount .mini-profile .profile-gift-card .gift-name,
  #roomsMount .mini-profile .profile-gift-card .gift-name{
    color:#f1f5f9;
    font-size:.64rem;
    font-weight:900;
  }

  #profileMount .mini-profile .profile-gift-card .gift-meta,
  #roomsMount .mini-profile .profile-gift-card .gift-meta{
    width:100%;
    display:block;
    overflow:hidden;
    color:#7f91a5;
    font-size:.52rem;
    font-weight:700;
    line-height:1.1;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  #profileMount .mini-profile .profile-gifts-grid>.profile-gift-card.is-gift-extra,
  #roomsMount .mini-profile .profile-gifts-grid>.profile-gift-card.is-gift-extra{
    display:none!important;
  }

  #profileMount .mini-profile .profile-gifts-panel.show-all .profile-gift-card.is-gift-extra,
  #roomsMount .mini-profile .profile-gifts-panel.show-all .profile-gift-card.is-gift-extra{
    display:grid!important;
  }

  #profileMount .mini-profile .profile-gifts-more,
  #roomsMount .mini-profile .profile-gifts-more{
    min-height:36px;
    margin-top:8px;
    border-color:rgba(244,114,182,.18);
    color:#fce7f3;
    background:linear-gradient(135deg,rgba(190,24,93,.17),rgba(124,58,237,.10));
  }

  #profileMount .mini-profile .profile-gifts-empty,
  #roomsMount .mini-profile .profile-gifts-empty,
  #profileMount .mini-profile .facts-empty,
  #roomsMount .mini-profile .facts-empty{
    min-height:54px;
    display:grid;
    place-items:center;
    padding:10px;
    border:1px dashed rgba(148,163,184,.14);
    border-radius:11px;
    color:#8495a8;
    background:rgba(8,15,24,.34);
    font-size:.67rem;
    text-align:center;
  }
}

@media(max-width:340px){
  #profileMount .mini-profile .profile-gifts-grid,
  #roomsMount .mini-profile .profile-gifts-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Prijatelji na profilu. */
#profileMount .mini-profile .profile-friends-card,
#roomsMount .mini-profile .profile-friends-card{
  min-width:0;
  display:grid;
  gap:10px;
  margin:0;
  padding:12px;
  overflow:hidden;
  border:1px solid rgba(94,234,212,.14);
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 0,rgba(45,212,191,.08),transparent 36%),
    linear-gradient(145deg,#13202c,#0d1722);
  box-shadow:0 10px 25px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035);
}

#profileMount .mini-profile .profile-friends-head,
#roomsMount .mini-profile .profile-friends-head{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:9px;
  border-bottom:1px solid rgba(148,163,184,.09);
}

#profileMount .mini-profile .profile-friends-head>div,
#roomsMount .mini-profile .profile-friends-head>div{
  min-width:0;
  display:grid;
  gap:3px;
}

#profileMount .mini-profile .profile-friends-head span,
#roomsMount .mini-profile .profile-friends-head span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#eff8f7;
  font-size:.82rem;
  font-weight:950;
}

#profileMount .mini-profile .profile-friends-head span i,
#roomsMount .mini-profile .profile-friends-head span i{
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#99f6e4;
  background:linear-gradient(145deg,rgba(20,184,166,.20),rgba(13,148,136,.09));
  font-size:.67rem;
}

#profileMount .mini-profile .profile-friends-head small,
#roomsMount .mini-profile .profile-friends-head small{
  padding-left:37px;
  overflow:hidden;
  color:#778b9e;
  font-size:.57rem;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#profileMount .mini-profile .profile-friends-head strong,
#roomsMount .mini-profile .profile-friends-head strong{
  min-width:30px;
  height:25px;
  display:grid;
  place-items:center;
  border:1px solid rgba(45,212,191,.18);
  border-radius:999px;
  color:#a7f3d0;
  background:rgba(13,148,136,.11);
  font-size:.67rem;
  font-weight:950;
}

#profileMount .mini-profile .profile-friends-rail,
#roomsMount .mini-profile .profile-friends-rail{
  min-width:0;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:145px;
  gap:7px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:1px 1px 5px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:rgba(45,212,191,.28) transparent;
  -webkit-overflow-scrolling:touch;
}

#profileMount .mini-profile .profile-friend-tile,
#roomsMount .mini-profile .profile-friend-tile{
  min-width:0;
  height:54px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  grid-template-rows:1fr 1fr;
  align-items:center;
  gap:0 8px;
  padding:6px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.11);
  border-radius:12px;
  color:inherit;
  text-align:left;
  background:rgba(8,15,24,.52);
  scroll-snap-align:start;
  cursor:pointer;
}

#profileMount .mini-profile .profile-friend-tile img,
#roomsMount .mini-profile .profile-friend-tile img{
  grid-row:1/3;
  width:40px;
  height:40px;
  object-fit:cover;
  border:1px solid rgba(94,234,212,.18);
  border-radius:11px;
  background:#0a111b;
}

#profileMount .mini-profile .profile-friend-tile span,
#roomsMount .mini-profile .profile-friend-tile span{
  align-self:end;
  overflow:hidden;
  color:#eef4f8;
  font-size:.66rem;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#profileMount .mini-profile .profile-friend-tile small,
#roomsMount .mini-profile .profile-friend-tile small{
  align-self:start;
  color:#778b9f;
  font-size:.53rem;
  font-weight:800;
}

#profileMount .mini-profile .profile-friend-tile small i,
#roomsMount .mini-profile .profile-friend-tile small i{
  color:#f472b6;
}

#profileMount .mini-profile .profile-friend-requests,
#roomsMount .mini-profile .profile-friend-requests{
  display:grid;
  gap:6px;
}

#profileMount .mini-profile .profile-friend-subtitle,
#roomsMount .mini-profile .profile-friend-subtitle{
  display:flex;
  align-items:center;
  gap:7px;
  color:#b9c7d4;
  font-size:.63rem;
  font-weight:900;
}

#profileMount .mini-profile .profile-friend-subtitle i,
#roomsMount .mini-profile .profile-friend-subtitle i{
  color:#fbbf24;
}

#profileMount .mini-profile .profile-friend-subtitle b,
#roomsMount .mini-profile .profile-friend-subtitle b{
  min-width:19px;
  height:18px;
  display:grid;
  place-items:center;
  border-radius:6px;
  color:#fde68a;
  background:rgba(245,158,11,.11);
  font-size:.54rem;
}

#profileMount .mini-profile .profile-friend-request,
#roomsMount .mini-profile .profile-friend-request{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:6px;
  border:1px solid rgba(148,163,184,.10);
  border-radius:11px;
  background:rgba(8,15,24,.46);
}

#profileMount .mini-profile .profile-friend-person,
#roomsMount .mini-profile .profile-friend-person{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0;
  border:0;
  color:#e8eef4;
  background:transparent;
  font-size:.67rem;
  font-weight:900;
  cursor:pointer;
}

#profileMount .mini-profile .profile-friend-person img,
#roomsMount .mini-profile .profile-friend-person img{
  width:34px;
  height:34px;
  object-fit:cover;
  border-radius:10px;
}

#profileMount .mini-profile .profile-friend-request>div,
#roomsMount .mini-profile .profile-friend-request>div{
  display:flex;
  gap:5px;
}

#profileMount .mini-profile .profile-friend-accept,
#roomsMount .mini-profile .profile-friend-accept,
#profileMount .mini-profile .profile-friend-decline,
#roomsMount .mini-profile .profile-friend-decline{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  cursor:pointer;
}

#profileMount .mini-profile .profile-friend-accept,
#roomsMount .mini-profile .profile-friend-accept{
  border:1px solid rgba(74,222,128,.18);
  color:#bbf7d0;
  background:rgba(22,163,74,.14);
}

#profileMount .mini-profile .profile-friend-decline,
#roomsMount .mini-profile .profile-friend-decline{
  border:1px solid rgba(248,113,113,.16);
  color:#fecaca;
  background:rgba(185,28,28,.12);
}

#profileMount .mini-profile .profile-friends-empty{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:9px;
  border:1px dashed rgba(148,163,184,.13);
  border-radius:11px;
  color:#8294a6;
  background:rgba(8,15,24,.32);
  font-size:.65rem;
  font-weight:750;
}

#profileMount .mini-profile .profile-friend-feedback,
#roomsMount .mini-profile .profile-friend-feedback{
  color:#fca5a5;
  font-size:.63rem;
  font-weight:800;
}

#profileMount .mini-profile [data-friend-action]:disabled,
#roomsMount .mini-profile [data-friend-action]:disabled{
  opacity:.58;
  cursor:wait;
}

@media(max-width:640px){
  #profileMount .mini-profile .profile-friends-card,
  #roomsMount .mini-profile .profile-friends-card{
    gap:9px;
    padding:10px;
    border-radius:14px;
  }

  #profileMount .mini-profile .profile-friends-rail,
  #roomsMount .mini-profile .profile-friends-rail{
    grid-auto-columns:138px;
    margin-right:-10px;
    padding-right:10px;
  }
}


/* The list stays collapsed until explicitly opened, on every screen size. */
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card {
  padding:0; gap:0; border:1px solid rgba(94,234,212,.16); border-radius:16px;
  background:linear-gradient(125deg,#142831,#101b29); overflow:hidden;
}
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-toggle {
  width:100%; min-height:76px; display:flex; align-items:center; gap:12px;
  padding:16px; border:0; color:#edf9f6; background:transparent; text-align:left; cursor:pointer;
}
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-toggle>i:first-child {
  width:42px; height:42px; display:grid; place-items:center; flex-shrink:0;
  border:1px solid #2b5958; border-radius:13px; background:#1b3b40; color:#9debd6; font-size:17px;
}
.profile-friends-heading { flex:1; min-width:0; display:grid; gap:5px; }
.profile-friends-heading>span { display:flex; align-items:center; gap:9px; font-size:14px; font-weight:800; }
.profile-friends-heading b { padding:3px 8px; border-radius:20px; background:#214741; color:#baf3de; font-size:12px; }
.profile-friends-heading small { color:#a0b5c1; font-size:12px; line-height:1.4; }
.profile-friends-toggle>i:last-child { color:#94cbbb; font-size:12px; transition:transform .18s ease; }
.profile-friends-card.is-expanded .profile-friends-toggle>i:last-child { transform:rotate(180deg); }
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-content { display:none; min-width:0; }
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card.is-expanded .profile-friends-content {
  display:grid; gap:14px; padding:14px; border-top:1px solid rgba(148,163,184,.13); background:rgba(7,15,24,.25);
}
.profile-friends-panel { min-width:0; display:grid; gap:12px; }
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friends-rail {
  display:grid; grid-auto-flow:row; grid-auto-columns:auto;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:9px; padding:0; overflow:visible;
}
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friend-tile {
  display:grid; grid-template-columns:44px minmax(0,1fr); grid-template-rows:1fr 1fr;
  width:100%; height:72px; gap:3px 10px; padding:12px; border-radius:12px; background:#14232f;
}
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friend-tile img {
  width:44px; height:44px; grid-row:1/3; border-radius:50%;
}
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friend-tile span {
  font-size:13px; line-height:1.4; min-width:0;
}
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friend-tile small { font-size:11px; color:#a0b5c1; }
.profile-friends-more { min-height:44px; padding:10px 16px; border:1px solid #315b58; border-radius:10px; color:#bef2e5; background:#193732; font-size:13px; font-weight:700; cursor:pointer; }
.profile-friends-loader, .profile-friends-status { color:#a0b5c1; text-align:center; font-size:12px; line-height:1.5; }
.profile-friends-loader { padding:12px; }
.profile-friends-status:empty, .profile-friends-more[hidden], .profile-friends-loader[hidden] { display:none; }
.profile-friends-card button:focus-visible { outline:2px solid #8ee8d0; outline-offset:-3px; }
@media(hover:hover) {
  .profile-friends-toggle:hover { background:rgba(94,234,212,.045) !important; }
  .profile-friends-card .profile-friend-tile:hover { border-color:#5a9d91 !important; }
  .profile-friends-more:hover { background:#244a43; }
}
@media(max-width:640px) {
  :is(#profileMount, #roomsMount) .mini-profile .profile-friends-toggle { min-height:72px; padding:12px; gap:10px; }
  :is(#profileMount, #roomsMount) .mini-profile .profile-friends-card.is-expanded .profile-friends-content { padding:10px; }
  :is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friends-rail { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  :is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friend-tile { height:auto; min-height:110px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; padding:10px 6px; text-align:center; }
  :is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friend-tile span { width:100%; align-self:center; }
  :is(#profileMount, #roomsMount) .mini-profile .profile-friends-card .profile-friend-tile small { align-self:center; }
  :is(#profileMount, #roomsMount) .mini-profile .profile-friend-accept,
  :is(#profileMount, #roomsMount) .mini-profile .profile-friend-decline { min-width:44px; min-height:44px; }
  .profile-friend-person span { min-width:0; overflow:hidden; text-overflow:ellipsis; }
}
@media(prefers-reduced-motion:reduce) { .profile-friends-toggle>i:last-child { transition:none; } }


/* Compact portrait gallery fills the available profile width. */
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-card {
  background:radial-gradient(ellipse at 15% 0,rgba(57,158,139,.14),transparent 65%),#101d29;
}
:is(#profileMount, #roomsMount) .mini-profile .profile-friends-toggle { min-height:48px; padding:10px 14px; gap:8px; }
.profile-friends-heading>span>i { color:#8bdbc7; font-size:13px; }
.profile-friends-open { color:#9ad6c8; font-size:11px; font-weight:600; }
.profile-friends-showcase { display:grid; grid-template-columns:repeat(auto-fit,minmax(76px,1fr)); gap:8px; padding:0 12px 12px; }
.profile-friends-portrait {
  min-width:0; display:flex; flex-direction:column; align-items:center; gap:7px;
  padding:12px 6px 10px; border:1px solid rgba(141,201,193,.12); border-radius:12px;
  background:linear-gradient(155deg,rgba(62,102,116,.24),rgba(12,23,35,.65));
  color:#ecf7f5; cursor:pointer; overflow:hidden; font:inherit;
}
.profile-friends-photo { display:block; padding:3px; border:1px solid rgba(127,218,192,.4); border-radius:50%; background:linear-gradient(145deg,#315b59,#192b3c); }
.profile-friends-photo img { display:block; width:60px; height:60px; object-fit:cover; border-radius:50%; background:#203443; }
.profile-friends-name { max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; font-weight:750; line-height:1.4; }
.profile-friends-visit { color:#93aeaF; font-size:10px; line-height:1.4; }
.profile-friends-visit i { margin-left:3px; font-size:8px; }
.profile-friends-showcase.is-single .profile-friends-portrait { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:1fr 1fr; gap:2px 12px; text-align:left; padding:10px 12px; }
.profile-friends-showcase.is-single .profile-friends-photo { grid-row:1/3; }
.profile-friends-showcase.is-single .profile-friends-photo img { width:44px; height:44px; }
.profile-friends-showcase.is-single .profile-friends-name { align-self:end; }
.profile-friends-showcase.is-single .profile-friends-visit { align-self:start; }
.profile-friends-intro { padding:0 14px 14px; color:#9aafbd; font-size:12px; }
.profile-friends-request-notice { margin:0 12px 12px; min-height:36px; padding:8px 12px; border:1px solid #35514e; border-radius:9px; background:#1c3336; color:#b9e7dc; font-size:12px; cursor:pointer; }
.profile-friends-card.is-expanded .profile-friends-showcase { display:none; }
@media(hover:hover) {
  .profile-friends-portrait:hover { background:linear-gradient(155deg,#27464c,#162a39); border-color:#619b8e; }
  .profile-friends-portrait:hover .profile-friends-name { color:#adf0db; }
}
@media(max-width:640px) {
  :is(#profileMount, #roomsMount) .mini-profile .profile-friends-toggle { min-height:46px; padding:10px; }
  .profile-friends-showcase { grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:6px; padding:0 8px 10px; }
  .profile-friends-showcase .profile-friends-portrait:nth-child(n+5) { display:none; }
  .profile-friends-portrait { padding:9px 3px 8px; gap:6px; border-radius:10px; }
  .profile-friends-photo { padding:2px; }
  .profile-friends-photo img { width:clamp(34px,11vw,52px); height:clamp(34px,11vw,52px); }
  .profile-friends-name { font-size:11px; }
  .profile-friends-visit { display:none; }
  .profile-friends-showcase.is-single .profile-friends-visit { display:block; }
  .profile-friends-heading>span { font-size:13px; gap:6px; }
}

/* Floating photo deck: transforms stay on compositor layers during gestures. */
.photo-lightbox { overflow:hidden; overscroll-behavior:contain; background:radial-gradient(ellipse at 50% 45%,#203345ed,#030711fa 75%); perspective:1200px; }
.photo-swipe-stage { position:relative; width:min(78vw,920px); height: min(74vh,850px); height:min(74dvh,850px); }
.photo-swipe-card,.photo-swipe-under { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; transform-origin:50% 85%; }
.photo-swipe-card { touch-action:none; cursor:grab; user-select:none; will-change:transform; }
.photo-lightbox.is-dragging .photo-swipe-card { cursor:grabbing; }
.photo-lightbox .photo-swipe-stage img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; border-radius:20px; border:1px solid #ffffff30; box-shadow:0 30px 90px #0009,0 0 35px #7bbbd218; pointer-events:none; }
.photo-swipe-under { opacity:0; transform:scale(.93) translateY(16px); pointer-events:none; }
.photo-swipe-count { position:absolute; top:max(24px,env(safe-area-inset-top)); left:50%; transform:translateX(-50%); padding:8px 16px; border:1px solid #ffffff20; border-radius:30px; background:#ffffff0d; color:#e5f2f8; font-size:13px; letter-spacing:2px; }
.photo-swipe-hint { position:absolute; bottom:max(78px,calc(env(safe-area-inset-bottom) + 65px)); left:0; right:0; text-align:center; pointer-events:none; color:#b2c3d0; font-size:12px; }
.photo-lightbox button { z-index:3; }
.photo-lightbox button:focus-visible { outline:2px solid #a6ecd9; outline-offset:4px; }
.photo-lightbox .photo-lightbox-nav[hidden] { display:none; }
@media(max-width:640px) {
  .photo-swipe-stage { width:88vw; height:68vh; height:68dvh; }
  .photo-lightbox .photo-swipe-stage img { border-radius:16px; }
  .photo-lightbox .photo-lightbox-nav { width:36px; height:44px; background:#0d172a99; }
  .photo-lightbox .photo-prev { left:5px; }
  .photo-lightbox .photo-next { right:5px; }
}

/* Rose-metal like control and a short, one-shot heart celebration. */
.photo-lightbox .photo-lightbox-heart {
  bottom:max(18px,env(safe-area-inset-bottom)); height:54px; min-width:120px; gap:14px; padding:0 22px;
  border:1px solid #e8b4ae88; border-top-color:#ffe4d5b3;
  background:linear-gradient(145deg,#604046,#2d202e 58%,#462e3c);
  box-shadow:inset 0 1px 0 #fff4, inset 0 -2px 0 #0004,0 10px 32px #0007,0 0 22px #f8709920;
  color:#fff1e8; font-size:16px; font-variant-numeric:tabular-nums;
}
.photo-lightbox .photo-lightbox-heart>i { font-size:25px; color:#ffb5c5; filter:drop-shadow(0 2px 0 #7d304f) drop-shadow(0 0 8px #ff719755); }
.photo-lightbox .photo-lightbox-heart>b { border-left:1px solid #eac1ba40; padding-left:14px; min-width:18px; }
.photo-lightbox .photo-lightbox-heart.is-liked { background:linear-gradient(145deg,#b34c6f,#782c51 58%,#4b263e); border-color:#ffc6d2a1; box-shadow:inset 0 1px 0 #fff5,0 12px 35px #0006,0 0 26px #f7689340; }
.photo-lightbox .photo-lightbox-heart.is-liked>i { color:#ffe5ec; }
.photo-lightbox .photo-lightbox-heart:disabled { opacity:.7; cursor:wait; }
@media(hover:hover) { .photo-lightbox .photo-lightbox-heart:hover { border-color:#ffddd3; box-shadow:inset 0 1px 0 #fff5,0 12px 35px #0007,0 0 30px #f7689350; } }
.photo-heart-premium { z-index:11000; }
.photo-heart-premium::before,.photo-heart-premium::after {
  content:''; position:absolute; left:0; top:0; width:50px; height:50px; border:1px solid #ffc7d8;
  border-radius:50%; opacity:0; animation:photo-heart-ring .8s ease-out forwards;
}
.photo-heart-premium::after { border-color:#fbe0b8; animation-delay:.12s; }
.photo-heart-premium i { animation-name:photo-heart-luxe; animation-duration:1.3s; filter:drop-shadow(0 0 5px #ffb4cf88); }
@keyframes photo-heart-ring { 0% { transform:translate(-50%,-50%) scale(.4);opacity:.9; } 100% { transform:translate(-50%,-50%) scale(3.3);opacity:0; } }
@keyframes photo-heart-luxe {
  0% { opacity:0; transform:translate(-50%,-50%) scale(.2) rotate(45deg); }
  18% { opacity:1; }
  55% { opacity:1; transform:translate(calc(var(--x) * .8),calc(var(--y) * .8)) scale(1.1) rotate(calc(45deg + var(--r))); }
  100% { opacity:0; transform:translate(var(--x),calc(var(--y) - 45px)) scale(.35) rotate(calc(70deg + var(--r))); }
}
@media(prefers-reduced-motion:reduce) {
  .photo-heart-premium { display:none; }
  .photo-heart-burst { animation:none !important; }
}


/* Gallery identity: portrait, name and badges, with a separate stat. */
.photo-gallery-owner {
  box-sizing:border-box; position:absolute; z-index:2;
  top:max(18px,env(safe-area-inset-top)); left:24px;
  display:flex; align-items:center; gap:13px; width:max-content; max-width:min(480px,calc(100% - 100px));
  padding:12px 15px 12px 12px; border:1px solid #b8d4e323; border-top-color:#cde6ee3b; border-radius:20px;
  background:linear-gradient(125deg,#233542eb,#101b28eb); box-shadow:0 12px 36px #0004,inset 0 1px 0 #ffffff07; color:#e5eff6;
}
.photo-gallery-owner-avatar { position:relative; display:block; width:44px; height:44px; flex:0 0 44px; }
.photo-lightbox .photo-gallery-owner-avatar>img { display:block; width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; border-radius:inherit; box-shadow:none; }
.photo-gallery-owner-details { display:grid; min-width:0; gap:7px; flex:1; }
.photo-gallery-owner-identity { display:flex; align-items:center; gap:6px; min-width:0; }
.photo-gallery-owner-name { min-width:0; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:14px; font-weight:750; line-height:1.5; }
.photo-gallery-owner-meta { min-width:0; }
.photo-gallery-owner-meta:has(.photo-gallery-owner-badges:empty) { display:none; }
.photo-gallery-owner-badges { display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.photo-lightbox .photo-gallery-owner-badges img,
.photo-lightbox .photo-gallery-owner-identity svg { display:block; width:20px; height:20px; max-width:none; max-height:none; object-fit:contain; border:0; border-radius:0; box-shadow:none; }
.photo-gallery-owner-identity .verify-ico { display:inline-flex; width:17px; height:17px; flex:0 0 17px; margin:0; }
.photo-gallery-owner-identity .verify-ico svg { width:17px; height:17px; }
.photo-gallery-owner-badges .role-chip,
.photo-gallery-owner-badges .profile-waiter-badge { display:inline-flex; align-items:center; gap:3px; padding:0; margin:0; width:auto; height:auto; min-width:0; background:none; border:0; border-radius:0; box-shadow:none; }
.photo-gallery-owner-badges b { position:static; font-size:9px; color:#bacbd6; background:none; padding:0; }
.photo-gallery-owner-popularity { display:grid; grid-template-columns:auto auto; align-items:center; justify-content:center; gap:3px 6px; flex-shrink:0; padding:6px 0 6px 13px; border-left:1px solid #c4d7e21c; color:#f1d4aa; line-height:1.2; }
.photo-gallery-owner-popularity i { color:#eab482; font-size:13px; }
.photo-gallery-owner-popularity b { font-size:14px; font-weight:750; font-variant-numeric:tabular-nums; }
.photo-gallery-owner-popularity small { grid-column:1/-1; text-align:center; color:#9faab7; font-size:9px; letter-spacing:.2px; }
.photo-lightbox .photo-swipe-count { top:auto; bottom:max(84px,calc(env(safe-area-inset-bottom) + 74px)); padding:5px 12px; font-size:11px; }
.photo-lightbox .photo-swipe-hint { display:none; }
@media(max-width:640px) {
  .photo-gallery-owner { left:10px; top:max(12px,env(safe-area-inset-top)); max-width:calc(100% - 76px); padding:9px; gap:9px; border-radius:15px; }
  .photo-gallery-owner-avatar { width:36px; height:36px; flex-basis:36px; }
  .photo-gallery-owner-name { font-size:12px; }
  .photo-gallery-owner-details { gap:5px; }
  .photo-gallery-owner-badges { gap:3px; }
  .photo-lightbox .photo-gallery-owner-badges img { width:17px; height:17px; }
  .photo-gallery-owner-badges .role-chip,.photo-gallery-owner-badges .profile-waiter-badge { padding:0; }
  .photo-gallery-owner-popularity { padding-left:8px; gap:3px 4px; }
  .photo-gallery-owner-popularity b { font-size:12px; }
  .photo-gallery-owner-popularity small { font-size:8px; }
}
@media(max-width:360px) {
  .photo-gallery-owner { flex-wrap:wrap; }
  .photo-gallery-owner-details { flex-basis:calc(100% - 50px); }
  .photo-gallery-owner-popularity { margin-left:45px; display:flex; padding:0; border:0; }
}

/* Badges stay bare; only their counts receive a small capsule. */
.photo-gallery-owner-badges .role-chip,
.photo-gallery-owner-badges .profile-waiter-badge {
  padding:0; border:0; border-radius:0; background:none; box-shadow:none;
}
.photo-gallery-owner-badges b {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:14px; height:15px; box-sizing:border-box; padding:0 3px;
  border:1px solid #ffffff1a; border-radius:5px; background:#ffffff0b;
  color:#c7d6e0; font-size:9px; line-height:1;
}

/* Focused mood composer, outside the profile scroll containers. */
.mood-compose-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #a1e9ca30;border-radius:24px;background:#111f2c;color:#edf6f4;box-shadow:0 25px 90px #0008;overflow:auto;color-scheme:dark}
.mood-compose-dialog::backdrop{background:#030b14b8;backdrop-filter:blur(5px)}
.mood-compose-form{padding:24px;margin:0;display:block}.mood-compose-form header{display:flex;align-items:center;gap:12px}.mood-compose-symbol{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:#a1e9ca12;color:#a1e9ca}.mood-compose-form header>div{flex:1}.mood-compose-form header small{font:700 9px/1.4 system-ui;letter-spacing:1.8px;color:#a1e9ca}.mood-compose-form h2{font:650 21px/1.3 system-ui;margin:4px 0 0;letter-spacing:-.5px;color:#f1fff9}.mood-compose-form header button{width:36px;height:36px;border:0;border-radius:12px;background:#ffffff07;color:#b8ccd5;font-size:25px;cursor:pointer}.mood-compose-form>p{color:#8fa7b5;font:13px/1.6 system-ui;margin:16px 0}.mood-compose-form>label{display:block;color:#b8cfda;font:600 12px/1.4 system-ui;margin:0 0 8px}.mood-compose-form textarea{box-sizing:border-box;display:block;width:100%;min-height:150px;max-height:40dvh;resize:vertical;padding:16px;border:1px solid #ffffff16;border-radius:16px;background:#0a1621;color:#f0fff7;font:16px/1.6 system-ui;outline:none}.mood-compose-form textarea:focus{border-color:#a1e9ca80;box-shadow:0 0 0 3px #a1e9ca08}.mood-compose-form textarea::placeholder{color:#617f90}.mood-compose-meta{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font:11px/1.4 system-ui;color:#8ba5b3}.mood-compose-meta b{color:#a1e9ca;font-variant-numeric:tabular-nums}.mood-compose-form .mood-compose-error{color:#ffb8b0;font-size:12px}.mood-compose-error:empty{display:none}.mood-compose-form footer{display:flex;gap:10px;margin-top:24px}.mood-compose-form footer button{min-height:46px;border:1px solid #ffffff15;border-radius:13px;padding:11px 15px;background:transparent;color:#b7cbd5;font:600 13px/1.4 system-ui;cursor:pointer}.mood-compose-form footer button[type=submit]{flex:1;background:#a1e9ca;border-color:#a1e9ca;color:#163d2d}.mood-compose-form button:disabled{opacity:.5;cursor:default}.mood-compose-form button:focus-visible{outline:2px solid #a1e9ca;outline-offset:3px}
@media(max-width:520px){.mood-compose-dialog{border-radius:20px}.mood-compose-form{padding:18px}.mood-compose-form h2{font-size:19px}.mood-compose-form footer{gap:8px}.mood-compose-form footer button{padding:10px 12px}}

/* Center the mood composer explicitly, independent of application layout rules. */
dialog.mood-compose-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);border:1px solid #a1e9ca28;border-radius:26px;background:radial-gradient(ellipse at 50% 0,#224b4538,transparent 58%),#111d29;box-shadow:0 32px 100px #0009,0 1px 0 #ffffff08 inset;scrollbar-width:thin;scrollbar-color:#52776e transparent}
dialog.mood-compose-dialog::backdrop{background:#020811ba;backdrop-filter:blur(7px)}
.mood-compose-dialog .mood-compose-form{padding:28px}
.mood-compose-dialog .mood-compose-form header{position:relative;display:flex;flex-direction:column;align-items:center;gap:13px;text-align:center}
.mood-compose-dialog .mood-compose-symbol{width:54px;height:54px;border-radius:18px;background:linear-gradient(145deg,#254c40,#1a3335);border:1px solid #a1e9ca26;color:#b5efd2;font-size:20px;box-shadow:0 8px 24px #0002}
.mood-compose-dialog .mood-compose-form header>div{flex:initial}
.mood-compose-dialog .mood-compose-form header button{position:absolute;right:-10px;top:-10px;width:34px;height:34px;background:transparent;color:#90a9b6}
.mood-compose-dialog .mood-compose-form header button:hover{background:#ffffff08;color:#e9fff5}
.mood-compose-dialog .mood-compose-form header small{font-size:9px;letter-spacing:2px;color:#86bba9}
.mood-compose-dialog .mood-compose-form h2{margin:6px 0 0;font-size:24px;letter-spacing:-.7px}
.mood-compose-dialog .mood-compose-form>p:not(.mood-compose-error){margin:10px 0 24px;text-align:center;font-size:12px;color:#97aebc}
.mood-compose-dialog .mood-compose-form>label{font-size:11px;font-weight:500;color:#9fb6c2;margin-bottom:9px}
.mood-compose-dialog .mood-compose-form textarea{min-height:136px;border-radius:16px;background:#0b1520;border-color:#ffffff10;padding:14px 16px;box-shadow:none;resize:vertical}
.mood-compose-dialog .mood-compose-form textarea:focus{border-color:#a1e9ca60;box-shadow:0 0 0 3px #a1e9ca08}
.mood-compose-dialog .mood-compose-meta{font-size:10px;margin-top:9px}
.mood-compose-dialog .mood-compose-meta b{font-weight:500;color:#8ba99e}
.mood-compose-dialog .mood-compose-form footer{margin-top:22px;gap:9px}
.mood-compose-dialog .mood-compose-form footer button{border-radius:12px;min-height:46px}
.mood-compose-dialog .mood-compose-form footer button[type=submit]{background:linear-gradient(135deg,#b7efd4,#88d6b4);border:0;color:#143a2b}
.mood-compose-dialog .mood-compose-form footer button[type=button]{background:#ffffff03;border-color:#ffffff0d;color:#9fb4c0}
@media(max-width:520px){dialog.mood-compose-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:22px}.mood-compose-dialog .mood-compose-form{padding:22px 18px}.mood-compose-dialog .mood-compose-form h2{font-size:22px}}
@media(max-height:540px){.mood-compose-dialog .mood-compose-symbol{display:none}.mood-compose-dialog .mood-compose-form{padding-top:18px;padding-bottom:18px}.mood-compose-dialog .mood-compose-form>p:not(.mood-compose-error){margin-bottom:12px}.mood-compose-dialog .mood-compose-form textarea{min-height:90px}.mood-compose-dialog .mood-compose-form footer{margin-top:12px}}

/* Mobile profile mood: a compact personal status card. Desktop remains unchanged. */
@media(max-width:640px){
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap{position:relative;display:flex;align-items:center;gap:12px;min-height:78px;padding:12px;border:1px solid rgba(147,214,187,.18);border-radius:18px;background:linear-gradient(115deg,#17332f 0%,#132630 62%,#142332 100%);box-shadow:inset 0 1px 0 #ffffff05,0 5px 16px #00000018;overflow:hidden}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap::before{content:'RASPOLOŽENJE';position:absolute;left:68px;top:13px;z-index:2;color:#83b9a6;font:700 8px/1.2 'Segoe UI',system-ui,sans-serif;letter-spacing:1.4px;pointer-events:none}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap::after{display:none}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap:has(#moodTrigger)::after{content:'\f304';display:block;position:absolute;left:auto;right:13px;top:12px;bottom:auto;width:auto;height:auto;background:none;color:#7eab9c;font-family:'Font Awesome 6 Free';font-weight:900;font-size:9px;pointer-events:none}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-trigger{flex:0 0 44px;width:44px;height:44px;margin:0;padding:5px;border:1px solid #a1e9ca22;border-radius:14px;background:linear-gradient(145deg,#ffffff0a,#a1e9ca08);box-shadow:0 3px 10px #0002;transform:none;opacity:1}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-trigger img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 3px #0003)}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-input,
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap.is-short-status .mood-input,
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap.is-long-status .mood-input{flex:1;min-width:0;min-height:52px;max-height:86px;margin:0;padding:17px 0 2px;border:0;border-radius:0;background:transparent;color:#e0f0e9;font:500 13px/1.45 'Segoe UI',system-ui,sans-serif;letter-spacing:0;text-shadow:none;box-shadow:none;resize:none;scrollbar-width:thin;scrollbar-color:#608779 transparent}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-input::placeholder{color:#92b4a8;opacity:1}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-input:focus-visible{outline:1px solid #a1e9ca66;outline-offset:2px;border-radius:5px}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-trigger:focus-visible{outline:2px solid #a1e9ca;outline-offset:2px}
}

.mood-preview-button{display:none}
@media(max-width:640px){
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-input{display:none!important}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-preview-button{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:52px;padding:16px 0 0;margin:0;border:0;border-radius:5px;background:transparent;color:#e0f0e9;box-shadow:none;text-align:left;font:500 13px/1.45 'Segoe UI',system-ui,sans-serif;cursor:pointer}
  .mood-preview-button span{display:block;min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .mood-preview-button>i{flex:none;color:#8bb8a7;font-size:12px}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap:has(#moodTrigger)::after{display:none}
  .mood-preview-button:focus-visible{outline:2px solid #a1e9ca;outline-offset:3px}
}
dialog.mood-detail-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(390px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;padding:28px 24px 24px;border:1px solid #a1e9ca30;border-radius:24px;background:radial-gradient(ellipse at top,#25493c66,transparent 65%),#111e2a;color:#eafff4;text-align:center;box-shadow:0 24px 80px #0008}
.mood-detail-dialog::backdrop{background:#030a13b8;backdrop-filter:blur(6px)}
.mood-detail-close{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:12px;background:#ffffff05;color:#9bb8b1;font:24px/1 system-ui;cursor:pointer}
.mood-detail-icon{display:block;box-sizing:border-box;width:72px;height:72px;object-fit:contain;padding:10px;margin:0 auto 14px;border:1px solid #a1e9ca22;border-radius:22px;background:#a1e9ca08}
.mood-detail-dialog h2{margin:0 0 16px;color:#92b7a8;font:700 10px/1.4 system-ui;letter-spacing:1.8px;text-transform:uppercase}
.mood-detail-text{margin:0;color:#e4f4ed;font:500 17px/1.65 'Segoe UI',system-ui,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}
.mood-detail-edit{margin-top:22px;min-height:44px;width:100%;padding:11px;border:1px solid #a1e9ca30;border-radius:13px;background:#a1e9ca10;color:#c1eed9;font:600 13px/1.4 system-ui;cursor:pointer}
.mood-detail-dialog button:focus-visible{outline:2px solid #a1e9ca;outline-offset:2px}

/* Replay the entrance each time a mood dialog opens. */
@keyframes mood-box-enter{
  0%{opacity:0;transform:translateY(24px) scale(.92)}
  65%{opacity:1;transform:translateY(-2px) scale(1.008)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes mood-sheet-enter{
  from{opacity:0;transform:translateY(100%)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes mood-content-enter{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes mood-icon-enter{
  0%{opacity:0;transform:translateY(6px) scale(.75) rotate(-8deg)}
  65%{opacity:1;transform:translateY(0) scale(1.06) rotate(2deg)}
  100%{opacity:1;transform:translateY(0) scale(1) rotate(0)}
}
@keyframes mood-backdrop-enter{
  from{opacity:0}
  to{opacity:1}
}
@media(prefers-reduced-motion:no-preference){
  dialog.mood-detail-dialog[open],
  dialog.mood-compose-dialog[open]{
    transform-origin:50% 65%;
    animation:mood-box-enter 460ms cubic-bezier(.2,.8,.25,1) both;
  }
  dialog.mood-overlay[open] .mood-sheet{
    animation:mood-sheet-enter 440ms cubic-bezier(.16,1,.3,1) both;
  }
  dialog.mood-detail-dialog[open] .mood-detail-icon,
  dialog.mood-compose-dialog[open] .mood-compose-symbol{
    animation:mood-icon-enter 480ms cubic-bezier(.2,.8,.25,1) 90ms both;
  }
  dialog.mood-detail-dialog[open] :is(h2,.mood-detail-text,.mood-detail-edit),
  dialog.mood-compose-dialog[open] .mood-compose-form> :is(p,label,textarea,.mood-compose-meta,footer),
  dialog.mood-overlay[open] :is(.mood-grid,.mood-hint){
    animation:mood-content-enter 300ms cubic-bezier(.22,1,.36,1) 110ms both;
  }
  dialog.mood-detail-dialog[open] .mood-detail-text,
  dialog.mood-overlay[open] .mood-hint{
    animation-delay:160ms;
  }
  dialog.mood-detail-dialog[open] .mood-detail-edit,
  dialog.mood-compose-dialog[open] .mood-compose-form>footer{
    animation-delay:200ms;
  }
  dialog.mood-detail-dialog[open]::backdrop,
  dialog.mood-compose-dialog[open]::backdrop,
  dialog.mood-overlay[open]::backdrop{
    animation:mood-backdrop-enter 300ms ease-out both;
  }
}

/* Compact mobile preview; the full status stays in the detail dialog. */
@media(max-width:640px){
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap{min-height:46px;gap:9px;padding:5px 10px 5px 5px;border-radius:14px;border-color:#a1e9ca18;background:linear-gradient(110deg,#172d2c,#12222e);box-shadow:inset 0 1px #ffffff04}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap::before{display:none}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-trigger{flex:0 0 36px;width:36px;height:36px;padding:1px;border:0;border-radius:10px;background:#a1e9ca0b;box-shadow:none;opacity:1}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-trigger img{width:34px;height:34px;max-width:none;max-height:none;object-fit:contain;filter:drop-shadow(0 1px 2px #0003)}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-preview-button{min-height:36px;padding:0;gap:8px;font-size:12px;line-height:1.4;color:#d4e9df}
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-preview-button>i{font-size:10px;color:#86ab9c}
}

/* Native top-layer picker spans the viewport, not the profile column. */
dialog.mood-overlay{box-sizing:border-box;position:fixed;inset:0;margin:0;padding:0;border:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:transparent;overflow:hidden}
dialog.mood-overlay:not([open]){display:none!important}
dialog.mood-overlay[open]{display:flex;align-items:flex-end;justify-content:center}
dialog.mood-overlay::backdrop{background:#030a13b0;backdrop-filter:blur(4px)}
dialog.mood-overlay .mood-sheet{box-sizing:border-box}
@media(max-width:640px){
 dialog.mood-overlay .mood-sheet{width:100%;max-width:none;margin:0;border-left:0;border-right:0;border-bottom:0;border-radius:20px 20px 0 0;padding:12px max(12px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));max-height:85dvh;overscroll-behavior:contain}
 dialog.mood-overlay .mood-grid{grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:8px}
 dialog.mood-overlay .mood-opt{box-sizing:border-box;width:100%;height:58px}
 dialog.mood-overlay .mp-close{width:40px;height:40px;line-height:38px}
 dialog.mood-overlay .mood-hint{font-size:11px;line-height:1.5}
}

/* Give gallery photos the available viewport, retaining their proportions. */
.photo-lightbox .photo-swipe-stage{
  position:absolute;left:12px;right:12px;
  top:calc(96px + env(safe-area-inset-top));
  bottom:calc(76px + env(safe-area-inset-bottom));
  width:auto;height:auto;
}
.photo-lightbox .photo-tag-zoom-surface>img,
.photo-lightbox .photo-swipe-under>img{
  width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;border:0;border-radius:0;box-shadow:none;
}
@media(max-width:640px){.photo-lightbox .photo-swipe-stage{left:3px;right:3px;top:calc(88px + env(safe-area-inset-top));bottom:calc(72px + env(safe-area-inset-bottom))}}
@media(max-height:500px){.photo-lightbox .photo-swipe-stage{top:56px;bottom:58px}}

/* Keep gallery arrows centered on the photo, including beside the tag editor. */
.photo-lightbox .photo-swipe-stage>.photo-lightbox-nav{
  position:absolute;top:50%;bottom:auto;transform:translateY(-50%);
  display:grid;place-items:center;width:46px;height:46px;padding:0;
  z-index:8;border:1px solid #ffffff30;border-radius:50%;
  background:#101e2bdb;color:#f1f8ff;box-shadow:0 3px 14px #0004;
  cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  transition:background .15s ease,border-color .15s ease;
}
.photo-lightbox .photo-swipe-stage>.photo-prev{left:8px;right:auto}
.photo-lightbox .photo-swipe-stage>.photo-next{right:8px;left:auto}
.photo-lightbox .photo-swipe-stage>.photo-lightbox-nav[hidden]{display:none}
.photo-lightbox .photo-swipe-stage>.photo-lightbox-nav:active{background:#35566d;border-color:#b0dfce}
@media(hover:hover){.photo-lightbox .photo-swipe-stage>.photo-lightbox-nav:hover{background:#29475c;border-color:#b0dfce}}
@media(max-width:600px){
  .photo-lightbox .photo-swipe-stage>.photo-lightbox-nav{display:none}
  .photo-lightbox .photo-swipe-stage>.photo-prev{left:4px}
  .photo-lightbox .photo-swipe-stage>.photo-next{right:4px}
}
@media(hover:none) and (pointer:coarse) and (max-height:600px){
  .photo-lightbox .photo-swipe-stage>.photo-lightbox-nav{display:none}
}

/* Optional introductions and viewer-specific common ground. */
:is(#profileMount,#roomsMount) .mini-profile .profile-prompts{min-width:0;padding:13px;border:1px solid #94a3b826;border-radius:16px;background:linear-gradient(145deg,#151f2c,#101923);box-sizing:border-box;box-shadow:inset 0 1px #ffffff04}
:is(#profileMount,#roomsMount) .mini-profile .profile-intro-heading{display:flex;align-items:center;gap:9px;margin:0 0 12px}
:is(#profileMount,#roomsMount) .mini-profile .profile-intro-heading>div{min-width:0}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompts h3{margin:0;color:#edf2f8;font-size:13px;font-weight:650;line-height:1.4}
:is(#profileMount,#roomsMount) .mini-profile .profile-intro-heading small{display:block;margin-top:2px;color:#97aabb;font-size:10px;line-height:1.5}
:is(#profileMount,#roomsMount) .mini-profile .profile-intro-symbol{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #93c5fd18;border-radius:10px;background:#93c5fd0b;color:#a7cefa;font-size:13px}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt-list{display:grid;gap:7px}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid #94a3b813;border-radius:12px;background:linear-gradient(120deg,#1b293b99,#16213066);min-width:0}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt>div{min-width:0;flex:1}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt-icon{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:8px;background:#edcc950d;color:#e4c58f;font-size:12px}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt[data-prompt=win_me_over] .profile-prompt-icon{background:#e6acc30d;color:#dcb0c5}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt[data-prompt=surprise_about_me] .profile-prompt-icon{background:#baa8ee0d;color:#bfb3e6}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt h4{margin:0;color:#a6bacd;font-size:10px;font-weight:500;line-height:1.5}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompt p{margin:4px 0 0;color:#e1e8f0;font-size:12px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompts>a{display:inline-flex;align-items:center;gap:8px;min-height:32px;margin-top:6px;color:#a7cefa;font-size:11px;text-decoration:none}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompts>a:hover{color:#d5e8ff}
:is(#profileMount,#roomsMount) .mini-profile .profile-prompts>a:focus-visible{outline:2px solid #a7cefa;outline-offset:3px}
@media(max-width:360px){:is(#profileMount,#roomsMount) .mini-profile .profile-prompts{padding:11px}:is(#profileMount,#roomsMount) .mini-profile .profile-prompt{padding:9px;gap:8px}}

/* Expand the mood surface from its source; reveal content after the shell. */
dialog.mood-motion-managed[open],dialog.mood-motion-managed[open] .mood-sheet{animation:none;transform-origin:center center}
dialog.mood-motion-managed[open] :is(.mood-detail-icon,h2,.mood-detail-text,.mood-detail-edit,.mood-compose-symbol,.mood-grid,.mood-hint),dialog.mood-motion-managed[open] .mood-compose-form>*{animation:none}
@keyframes mood-backdrop-focus{from{background:#030a1300;backdrop-filter:blur(0)}to{background:#030a13b8;backdrop-filter:blur(8px)}}
@keyframes mood-backdrop-release{from{background:#030a13b8;backdrop-filter:blur(8px)}to{background:#030a1300;backdrop-filter:blur(0)}}
@media(prefers-reduced-motion:no-preference){
 dialog.mood-motion-managed[open]::backdrop{animation:mood-backdrop-focus 480ms ease both}
 dialog.mood-motion-managed.mood-motion-closing::backdrop{animation:mood-backdrop-release 280ms ease both}
}

/* Fine interaction details for the mood picker. */
dialog.mood-overlay .mood-sheet{background:radial-gradient(ellipse at 50% 0,#a1e9ca0a,transparent 60%),#101b27;border-top-color:#a1e9ca38;scrollbar-width:thin;scrollbar-color:#526c70 transparent}
dialog.mood-overlay .mp-head{background:linear-gradient(180deg,#14232e,#111e29);border-bottom-color:#a1e9ca18;padding-bottom:12px}
dialog.mood-overlay .mood-opt{position:relative;border-color:#9aafc124;background:linear-gradient(145deg,#1a2938,#111d2b);box-shadow:inset 0 1px #ffffff05}
dialog.mood-overlay .mood-opt[aria-pressed=true]{border-color:#a1e9ca88;background:linear-gradient(145deg,#26453f,#182f32);box-shadow:inset 0 0 0 1px #a1e9ca18,0 3px 12px #0002}
dialog.mood-overlay .mood-opt[aria-pressed=true]::after{content:'✓';position:absolute;right:3px;top:3px;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#a1e9ca;color:#153c2d;font:700 10px/1 system-ui;box-shadow:0 1px 4px #0004}
dialog.mood-overlay .mood-opt:focus-visible{outline:2px solid #c2f5de;outline-offset:3px}
dialog.mood-overlay .mood-opt:active{transform:scale(.95);border-color:#c2f5de}
@media(hover:hover){dialog.mood-overlay .mood-opt:hover{transform:translateY(-3px);border-color:#a1e9ca66;background:linear-gradient(145deg,#243c46,#172a38);box-shadow:0 7px 16px #0003}dialog.mood-overlay .mood-opt:hover img{transform:scale(1.1) rotate(-3deg)}dialog.mood-overlay .mood-opt:hover:active{transform:scale(.95)}}
@media(prefers-reduced-motion:no-preference){dialog.mood-overlay .mood-opt{transition:transform 180ms cubic-bezier(.2,.8,.2,1),border-color 180ms,box-shadow 180ms}dialog.mood-overlay .mood-opt img{transition:transform 220ms cubic-bezier(.2,.8,.2,1)}}
@media(prefers-reduced-motion:reduce){dialog.mood-overlay .mood-opt,dialog.mood-overlay .mood-opt img{transition:none;transform:none}}

:is(#profileMount,#roomsMount) .mini-profile .profile-photo-tagged{position:absolute;top:6px;left:6px;width:20px;height:20px;box-sizing:border-box;display:grid;place-items:center;padding:0;border:1px solid #ffffff18;border-radius:6px;background:#0b1826b8;color:#c2ded3;font:500 9px/1 system-ui;pointer-events:auto}
:is(#profileMount,#roomsMount) .mini-profile .profile-photo-tagged i{color:#a1e9ca}

/* Full gallery, opened from the lightbox toolbar. */
.photo-lightbox .photo-grid-open{position:absolute;z-index:32;right:16px;top:calc(62px + env(safe-area-inset-top));display:flex;align-items:center;justify-content:center;gap:7px;min-width:38px;min-height:38px;padding:0 11px;border:1px solid #c2dfd426;border-radius:12px;background:#14232fdb;color:#dcefe5;backdrop-filter:blur(12px);font:500 11px system-ui;cursor:pointer}
.photo-lightbox .photo-grid-open:hover{background:#244237;border-color:#a1e9ca66}
.photo-lightbox .photo-grid-open:focus-visible,.photo-grid-panel button:focus-visible{outline:2px solid #a1e9ca;outline-offset:3px}
.photo-lightbox.is-tags-open .photo-grid-open{display:none}
.photo-lightbox.is-grid-view{background:#0b131d}
.photo-lightbox.is-grid-view>:not(.photo-grid-panel){display:none!important}
.photo-grid-panel{position:absolute;inset:0;display:flex;flex-direction:column;max-width:1080px;margin:auto;background:radial-gradient(ellipse at top,#19352f38,transparent 40%),#0b131d;color:#eef6f2;overflow:hidden}
.photo-grid-header{display:flex;align-items:center;gap:14px;flex:none;padding:calc(18px + env(safe-area-inset-top)) 20px 18px;border-bottom:1px solid #ffffff0d}
.photo-grid-header>div{flex:1;min-width:0}.photo-grid-header h2{margin:0;font:650 19px/1.3 system-ui;letter-spacing:-.4px}.photo-grid-header p{margin:4px 0 0;color:#94aca8;font:11px system-ui}
.photo-grid-header button{flex:none;width:40px;height:40px;border:1px solid #ffffff14;border-radius:13px;background:#ffffff05;color:#d3e8df;cursor:pointer}
.photo-grid-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:14px 14px calc(24px + env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#456a60 transparent}
.photo-grid-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.photo-grid-tile{position:relative;display:block;min-width:0;width:100%;aspect-ratio:1;padding:0;overflow:hidden;border:0;border-radius:7px;background:#172634;cursor:pointer}
.photo-grid-panel .photo-grid-tile img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border:0;border-radius:0;box-shadow:none;pointer-events:none}
.photo-grid-tile.is-current::after{content:'';position:absolute;inset:0;border:3px solid #a1e9ca;border-radius:inherit;pointer-events:none}
.photo-grid-tile>i{position:absolute;left:6px;top:6px;display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#09131ec9;color:#c8f1dc;font-size:10px}
.photo-grid-more{display:block;min-height:42px;margin:20px auto 0;padding:10px 24px;border:1px solid #a1e9ca30;border-radius:12px;background:#a1e9ca0b;color:#d6f2e5;font:12px system-ui;cursor:pointer}.photo-grid-more[hidden]{display:none}.photo-grid-more:disabled{opacity:.6;cursor:wait}
.photo-grid-status{color:#dab9a6;font:12px/1.5 system-ui;text-align:center}.photo-grid-status:empty{display:none}
@media(max-width:640px){.photo-lightbox .photo-grid-open{right:14px;top:calc(61px + env(safe-area-inset-top));width:36px;min-width:36px;min-height:34px;padding:0;border-radius:10px}.photo-grid-open span{display:none}.photo-grid-header{padding:calc(13px + env(safe-area-inset-top)) 12px 13px;gap:10px}.photo-grid-header h2{font-size:17px}.photo-grid-scroll{padding:4px 4px calc(20px + env(safe-area-inset-bottom))}.photo-grid-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.photo-grid-tile{border-radius:3px}}
@media(prefers-reduced-motion:no-preference){.photo-grid-panel{animation:photo-grid-enter 260ms cubic-bezier(.16,1,.3,1) both}.photo-grid-tile img{transition:transform 250ms ease,filter 250ms ease}}
@media(hover:hover){.photo-grid-tile:hover img{transform:scale(1.04);filter:brightness(1.08)}}
@keyframes photo-grid-enter{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}

/* Quiet illustrated backgrounds, keyed by fact so missing fields keep their identity. */
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact]{position:relative;isolation:isolate;overflow:hidden;--fact-rgb:118,179,190;background:radial-gradient(ellipse at 100% 85%,rgba(var(--fact-rgb),.12),transparent 68%),linear-gradient(115deg,#101c28,#101923);}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact]::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 0 0 auto;width:46%;max-width:180px;background-image:var(--fact-art);background-position:right center;background-repeat:no-repeat;background-size:auto 108px;opacity:.32;mask-image:linear-gradient(90deg,transparent,#000 48%);}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact]::after{content:"";position:absolute;pointer-events:none;right:12px;bottom:0;width:36%;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--fact-rgb),.3),transparent);}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact] .profile-basic-icon{color:rgb(var(--fact-rgb));background:linear-gradient(145deg,rgba(var(--fact-rgb),.17),rgba(var(--fact-rgb),.06));box-shadow:inset 0 0 0 1px rgba(var(--fact-rgb),.12);}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact] small{color:#91a2b4;}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Status"]{--fact-rgb:94, 211, 180;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(94%2C%20211%2C%20180)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M74%2031C51%206%2024%2038%2049%2060L75%2082%20101%2059C125%2036%2098%208%2074%2031Z%22%2F%3E%3Cpath%20d%3D%22M109%2047C91%2028%2070%2050%2088%2067L109%2085%20129%2067C148%2049%20127%2028%20109%2047Z%22%2F%3E%3Cg%20fill%3D%22rgb(94%2C%20211%2C%20180)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Horoskop"]{--fact-rgb:184, 155, 235;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(184%2C%20155%2C%20235)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2290%22%20cy%3D%2252%22%20r%3D%2237%22%2F%3E%3Cellipse%20cx%3D%2290%22%20cy%3D%2252%22%20rx%3D%2249%22%20ry%3D%2221%22%20transform%3D%22rotate(-28%2090%2052)%22%2F%3E%3Cpath%20d%3D%22m53%2065%2024-32%2025%2020%2027-30M77%2033l8%2045%2017-25%22%2F%3E%3Cg%20fill%3D%22%23fff%22%3E%3Ccircle%20cx%3D%2253%22%20cy%3D%2265%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2277%22%20cy%3D%2233%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%22102%22%20cy%3D%2253%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%22129%22%20cy%3D%2223%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2285%22%20cy%3D%2278%22%20r%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22rgb(184%2C%20155%2C%20235)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Pusenje"]{--fact-rgb:117, 177, 208;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(117%2C%20177%2C%20208)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M55%2075h69v9H55zM111%2075v9M80%2062c-23-16%2026-17%209-35M100%2064c-13-11%2019-17%208-29M64%2061c-13-11%2012-16%207-28%22%2F%3E%3Cpath%20d%3D%22M42%2091h96%22%2F%3E%3Cg%20fill%3D%22rgb(117%2C%20177%2C%20208)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Visina"]{--fact-rgb:118, 190, 175;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(118%2C%20190%2C%20175)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M71%2014h31v79H71zM71%2027h17M71%2040h10M71%2053h17M71%2066h10M71%2079h17M118%2022v62m-6-56%206-6%206%206m-12%2050%206%206%206-6%22%2F%3E%3Cg%20fill%3D%22rgb(118%2C%20190%2C%20175)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Jezici"]{--fact-rgb:118, 179, 219;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(118%2C%20179%2C%20219)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2280%22%20cy%3D%2253%22%20r%3D%2237%22%2F%3E%3Cellipse%20cx%3D%2280%22%20cy%3D%2253%22%20rx%3D%2217%22%20ry%3D%2237%22%2F%3E%3Cpath%20d%3D%22M44%2053h72M50%2033h60M50%2073h60%22%2F%3E%3Cpath%20d%3D%22M106%2058h37v25h-12l-10%209v-9h-15zM115%2067h19M115%2074h12%22%2F%3E%3Cg%20fill%3D%22rgb(118%2C%20179%2C%20219)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Ljubimci"]{--fact-rgb:212, 161, 194;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(212%2C%20161%2C%20194)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M67%2064c-19%2018-11%2030%204%2024%2010-4%2015-4%2025%200%2015%206%2023-6%205-24-12-15-23-15-34%200Z%22%2F%3E%3Cellipse%20cx%3D%2257%22%20cy%3D%2249%22%20rx%3D%228%22%20ry%3D%2212%22%20transform%3D%22rotate(-25%2057%2049)%22%2F%3E%3Cellipse%20cx%3D%2276%22%20cy%3D%2236%22%20rx%3D%228%22%20ry%3D%2212%22%2F%3E%3Cellipse%20cx%3D%2297%22%20cy%3D%2237%22%20rx%3D%228%22%20ry%3D%2212%22%20transform%3D%22rotate(15%2097%2037)%22%2F%3E%3Cellipse%20cx%3D%22114%22%20cy%3D%2251%22%20rx%3D%228%22%20ry%3D%2212%22%20transform%3D%22rotate(30%20114%2051)%22%2F%3E%3Cg%20fill%3D%22rgb(212%2C%20161%2C%20194)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Grad"]{--fact-rgb:113, 178, 202;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(113%2C%20178%2C%20202)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M28%2091h120M40%2091V49h23v42M63%2091V30h28v61M91%2091V58h23v33M114%2091V42h20v49M72%2042h9m-9%2012h9m-9%2012h9m-34-6h7m-7%2012h7m47-2h7M119%2053h8%22%2F%3E%3Cpath%20d%3D%22M105%2013c-16%200-17%2018%200%2031%2017-13%2016-31%200-31Z%22%2F%3E%3Ccircle%20cx%3D%22105%22%20cy%3D%2224%22%20r%3D%224%22%2F%3E%3Cg%20fill%3D%22rgb(113%2C%20178%2C%20202)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Posao"]{--fact-rgb:200, 179, 124;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(200%2C%20179%2C%20124)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%2243%22%20y%3D%2239%22%20width%3D%2291%22%20height%3D%2249%22%20rx%3D%227%22%2F%3E%3Cpath%20d%3D%22M72%2039V26h32v13M43%2055q45%2029%2091%200M84%2059h10v14H84z%22%2F%3E%3Cg%20fill%3D%22rgb(200%2C%20179%2C%20124)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact="Trazi"]{--fact-rgb:173, 164, 222;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(173%2C%20164%2C%20222)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2279%22%20cy%3D%2247%22%20r%3D%2228%22%2F%3E%3Cpath%20d%3D%22m99%2068%2026%2025M78%2038c-12-12-24%204%200%2019%2024-15%2012-31%200-19Z%22%2F%3E%3Cpath%20d%3D%22M127%2024v12m-6-6h12M43%2073v10m-5-5h10%22%2F%3E%3Cg%20fill%3D%22rgb(173%2C%20164%2C%20222)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
@media(max-width:600px){:is(#profileMount, #roomsMount) .mini-profile .profile-basic-item[data-fact]::before{background-size:auto 90px;opacity:.27;width:40%;}}

/* Profile details: subtle illustrations coordinated with the basic facts. */
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact]{position:relative;isolation:isolate;overflow:hidden;--fact-rgb:118,179,190;background:radial-gradient(ellipse at 100% 85%,rgba(var(--fact-rgb),.12),transparent 68%),linear-gradient(115deg,#101c28,#101923)!important;}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact]::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 0 0 auto;width:46%;max-width:180px;background:var(--fact-art) right center / auto 108px no-repeat;opacity:.32;mask-image:linear-gradient(90deg,transparent,#000 48%);}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact]::after{content:"";position:absolute;pointer-events:none;right:12px;bottom:0;width:36%;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--fact-rgb),.3),transparent);}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact] .fact-icon{color:rgb(var(--fact-rgb));background:linear-gradient(145deg,rgba(var(--fact-rgb),.17),rgba(var(--fact-rgb),.06));box-shadow:inset 0 0 0 1px rgba(var(--fact-rgb),.12);}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact] .fact-label{color:#91a2b4;}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Orijentacija"]{--fact-rgb:189, 160, 215;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(189%2C%20160%2C%20215)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2272%22%20cy%3D%2248%22%20r%3D%2223%22%2F%3E%3Ccircle%20cx%3D%22103%22%20cy%3D%2258%22%20r%3D%2223%22%2F%3E%3Cpath%20d%3D%22M55%2031%2044%2020m0%2014V20h14M119%2075l13%2013m-13%200%2013-13%22%2F%3E%3Cg%20fill%3D%22rgb(189%2C%20160%2C%20215)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Djeca"]{--fact-rgb:211, 177, 143;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(211%2C%20177%2C%20143)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m89%2020%2012%2024%2027%204-20%2019%205%2027-24-13-24%2013%205-27-20-19%2027-4Z%22%2F%3E%3Cpath%20d%3D%22M78%2059q11%2013%2022%200M78%2051h1m19%200h1%22%2F%3E%3Cg%20fill%3D%22rgb(211%2C%20177%2C%20143)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Alkohol"]{--fact-rgb:188, 146, 177;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(188%2C%20146%2C%20177)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M66%2018h46l-4%2028c-4%2023-34%2023-38%200ZM89%2064v25M73%2090h32M70%2040h38%22%2F%3E%3Ccircle%20cx%3D%2283%22%20cy%3D%2232%22%20r%3D%222%22%2F%3E%3Cg%20fill%3D%22rgb(188%2C%20146%2C%20177)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Vjera"]{--fact-rgb:197, 182, 143;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(197%2C%20182%2C%20143)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2289%22%20cy%3D%2253%22%20r%3D%2228%22%2F%3E%3Cpath%20d%3D%22M89%2014v-7m0%2092v-7M50%2053h-7m92%200h-7M61%2025l-5-5m66%2066-5-5m0-56%205-5M61%2081l-5%205M72%2065l17-30%2017%2030Z%22%2F%3E%3Ccircle%20cx%3D%2289%22%20cy%3D%2253%22%20r%3D%227%22%2F%3E%3Cg%20fill%3D%22rgb(197%2C%20182%2C%20143)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Obrazovanje"]{--fact-rgb:125, 185, 205;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(125%2C%20185%2C%20205)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m43%2037%2046-20%2047%2020-47%2020ZM60%2045v23q29%2020%2058%200V45M136%2037v34M49%2087h78M57%2079h64%22%2F%3E%3Cg%20fill%3D%22rgb(125%2C%20185%2C%20205)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Osobnost"]{--fact-rgb:174, 159, 217;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(174%2C%20159%2C%20217)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M65%2086V69C39%2047%2056%2017%2086%2017c33%200%2044%2032%2028%2053l-8%2016Z%22%2F%3E%3Cpath%20d%3D%22m85%2029%205%2013%2014%201-11%209%203%2014-11-8-12%208%203-14-11-9%2014-1ZM72%2093h27%22%2F%3E%3Cg%20fill%3D%22rgb(174%2C%20159%2C%20217)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Pridruzen"]{--fact-rgb:122, 191, 174;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(122%2C%20191%2C%20174)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%2248%22%20y%3D%2225%22%20width%3D%2282%22%20height%3D%2265%22%20rx%3D%228%22%2F%3E%3Cpath%20d%3D%22M48%2043h82M68%2017v16m42-16v16M69%2061h12m-12%2013h12M105%2057v23m-11-11h22%22%2F%3E%3Cg%20fill%3D%22rgb(122%2C%20191%2C%20174)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Zadnja aktivnost"]{--fact-rgb:120, 181, 202;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(120%2C%20181%2C%20202)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2289%22%20cy%3D%2253%22%20r%3D%2235%22%2F%3E%3Cpath%20d%3D%22M89%2029v25l17%2010M89%2018v6m35%2029h-6M89%2088v-6M54%2053h6%22%2F%3E%3Ccircle%20cx%3D%2289%22%20cy%3D%2253%22%20r%3D%223%22%2F%3E%3Cg%20fill%3D%22rgb(120%2C%20181%2C%20202)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Soba"]{--fact-rgb:135, 180, 210;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(135%2C%20180%2C%20210)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m45%2039%2044-22%2045%2022-45%2023ZM45%2054l44%2023%2045-23M45%2070l44%2023%2045-23%22%2F%3E%3Cg%20fill%3D%22rgb(135%2C%20180%2C%20210)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact="Uloga"]{--fact-rgb:198, 180, 134;--fact-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22108%22%20viewBox%3D%220%200%20180%20108%22%20fill%3D%22none%22%20stroke%3D%22rgb(198%2C%20180%2C%20134)%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M89%2016%20122%2029v25c0%2020-18%2034-33%2041-15-7-33-21-33-41V29Z%22%2F%3E%3Cpath%20d%3D%22m89%2034%206%2013%2014%202-10%2010%202%2014-12-7-13%207%203-14-11-10%2015-2Z%22%2F%3E%3Cg%20fill%3D%22rgb(198%2C%20180%2C%20134)%22%20stroke%3D%22none%22%20opacity%3D%22.6%22%3E%3Ccircle%20cx%3D%22146%22%20cy%3D%2218%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2235%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2276%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");}
@media(max-width:600px){:is(#profileMount, #roomsMount) .mini-profile .fact-item[data-fact]::before{background-size:auto 90px;opacity:.27;width:40%;}}

/* Match detail boxes to the compact basic-information panel. */
:is(#profileMount, #roomsMount) .mini-profile .facts-card{
  padding:0!important;
  overflow:hidden;
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .facts-title{
  min-height:52px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0;
  padding:8px 12px;
  border-bottom:1px solid rgba(148,163,184,.1);
  color:var(--profile-text,#edfdfa);
  font-size:.78rem;
  font-weight:950;
  background:linear-gradient(90deg,rgba(45,212,191,.10),rgba(45,212,191,.025) 46%,transparent);
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .facts-title::before{content:none;}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .facts-title::after{
  content:"\f2bb";
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#99f6e4;
  background:rgba(13,148,136,.13);
  font:900 .76rem/1 "Font Awesome 6 Free";
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .facts-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1px!important;
  margin:0;
  padding:0;
  background:rgba(148,163,184,.08);
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-item[data-fact]{
  grid-column:auto!important;
  min-width:0;
  min-height:62px;
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  align-items:center;
  gap:9px!important;
  margin:0;
  padding:9px 11px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none;
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:10px;
  font-size:.7rem;
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-copy{min-width:0;display:grid;gap:3px;}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-label{
  color:#91a2b4;
  font-size:.56rem;
  font-weight:800;
  line-height:normal;
  text-transform:uppercase;
  letter-spacing:.035em;
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-values{display:flex;flex-wrap:wrap;gap:3px 5px;min-width:0;}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-chip{
  display:inline;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#e8eef5;
  font-size:.69rem;
  font-weight:850;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:anywhere;
  transform:none;
}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-chip+.fact-chip::before{content:"·";margin-right:5px;color:#91a2b4;}
:is(#profileMount, #roomsMount) .mini-profile .facts-card .facts-empty{padding:12px;}
@media(max-width:640px){
  :is(#profileMount, #roomsMount) .mini-profile .facts-card .facts-grid{grid-template-columns:minmax(0,1fr)!important;}
  :is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-item[data-fact]{grid-column:1!important;min-height:48px;padding:7px 9px!important;}
  :is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-chip{font-size:.65rem;}
}

/* More readable profile facts on desktop. */
@media(min-width:641px){
  :is(#profileMount, #roomsMount) .mini-profile .profile-basic-card .profile-basic-item small,
  :is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-label{
    font-size:.72rem;
    line-height:1.3;
  }
  :is(#profileMount, #roomsMount) .mini-profile .profile-basic-card .profile-basic-item strong,
  :is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-chip{
    font-size:.9rem;
    line-height:1.4;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  :is(#profileMount, #roomsMount) .mini-profile .profile-basic-card .profile-basic-item,
  :is(#profileMount, #roomsMount) .mini-profile .facts-card .fact-item[data-fact]{
    min-height:74px;
    padding:12px 14px!important;
  }
  :is(#profileMount, #roomsMount) .mini-profile .profile-basic-card>header span,
  :is(#profileMount, #roomsMount) .mini-profile .facts-card .facts-title{
    font-size:.92rem;
  }
  :is(#profileMount, #roomsMount) .mini-profile .profile-basic-card>header small{
    font-size:.68rem;
  }
}

/* Quiet mood illustration behind the opened mood panels. */
dialog.mood-detail-dialog,
dialog.mood-compose-dialog,
dialog.mood-overlay .mood-sheet{
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22260%22%20height%3D%22220%22%20viewBox%3D%220%200%20260%20220%22%20fill%3D%22none%22%20stroke%3D%22%239ddbc4%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20opacity%3D%22.19%22%3E%3Ccircle%20cx%3D%22174%22%20cy%3D%22112%22%20r%3D%2257%22%2F%3E%3Ccircle%20cx%3D%22174%22%20cy%3D%22112%22%20r%3D%2273%22%20stroke-dasharray%3D%222%2012%22%20opacity%3D%22.55%22%2F%3E%3Cpath%20d%3D%22M145%20122q29%2032%2058%200M151%2097h2m42%200h2%22%2F%3E%3Cpath%20d%3D%22M88%2053c-13-16-31%202-16%2016l16%2014%2016-14c15-14-3-32-16-16Z%22%2F%3E%3Cpath%20d%3D%22m222%2025%203%209%209%203-9%203-3%209-3-9-9-3%209-3ZM80%20157l3%208%208%203-8%203-3%208-3-8-8-3%208-3%22%2F%3E%3Cpath%20d%3D%22M117%20195q47-20%20101-7%22%20opacity%3D%22.6%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23b1d2ea%22%20stroke%3D%22none%22%20opacity%3D%22.25%22%3E%3Ccircle%20cx%3D%22121%22%20cy%3D%2224%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%22239%22%20cy%3D%22169%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2243%22%20cy%3D%22114%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%22126%22%20cy%3D%22170%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),
    radial-gradient(ellipse at 100% 0,rgba(105,184,163,.12),transparent 65%),
    linear-gradient(145deg,#132530,#111d29);
  background-position:right bottom,center,center;
  background-size:260px 220px,100% 100%,100% 100%;
  background-repeat:no-repeat;
}
@media(max-width:520px){
  dialog.mood-detail-dialog,
  dialog.mood-compose-dialog,
  dialog.mood-overlay .mood-sheet{
    background-size:210px 178px,100% 100%,100% 100%;
  }
}

/* Full-screen received gifts, populated in small pages. */
dialog.all-gifts-dialog{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#0e1824;color:#e8eef5;overflow:hidden;}
dialog.all-gifts-dialog[open]{display:flex;flex-direction:column;}
.all-gifts-dialog::backdrop{background:#071019;}
.all-gifts-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:calc(16px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left));border-bottom:1px solid #94a3b824;background:linear-gradient(110deg,#173132,#101c29);}
.all-gifts-dialog h2{margin:0 0 4px;font-size:20px;}
.all-gifts-dialog header small{color:#91a2b4;}
.all-gifts-close{width:44px;height:44px;border:1px solid #94a3b830;border-radius:12px;background:#ffffff08;color:#fff;font-size:28px;cursor:pointer;}
.all-gifts-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 20px calc(20px + env(safe-area-inset-bottom));}
.all-gifts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;max-width:1440px;margin:auto;}
.all-gifts-grid .profile-gift-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:18px 12px;border:1px solid #94a3b824;border-radius:16px;background:linear-gradient(145deg,#192939,#101b28);cursor:pointer;content-visibility:auto;contain-intrinsic-size:auto 190px;}
.all-gifts-grid .gift-art{display:grid;place-items:center;width:100%;height:100px;}
.all-gifts-grid .gift-img{max-width:100%;max-height:100px;object-fit:contain;}
.all-gifts-grid .gift-emoji{font-size:48px;color:#b9e4dc;}
.all-gifts-grid .gift-name{font-size:14px;font-weight:800;text-align:center;overflow-wrap:anywhere;}
.all-gifts-grid .gift-meta{font-size:12px;color:#98abba;text-align:center;overflow-wrap:anywhere;}
.all-gifts-grid .gift-replay-badge{position:absolute;top:8px;right:8px;}
.all-gifts-load{display:block;margin:24px auto;padding:12px 20px;border:1px solid #94a3b830;border-radius:12px;color:#b8ddcf;background:#172a30;}
.all-gifts-dialog :focus-visible{outline:2px solid #99f6e4;outline-offset:3px;}
@media(max-width:640px){.all-gifts-scroll{padding:12px 12px calc(16px + env(safe-area-inset-bottom));}.all-gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}}

/* Received-gift collection: calm display shelves and clear sender details. */
dialog.all-gifts-dialog{background:radial-gradient(ellipse at 80% 0,#173c3b44,transparent 55%),#0b141f;}
.all-gifts-dialog>header{gap:14px;padding-left:max(24px,calc((100vw - 1240px)/2));padding-right:max(24px,calc((100vw - 1240px)/2));background:#101e29;}
.all-gifts-emblem{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border:1px solid #99f6e42b;border-radius:16px;color:#a6e4ce;background:linear-gradient(145deg,#264a43,#172e33);font-size:20px;}
.all-gifts-heading{flex:1;min-width:0;}
.all-gifts-heading small{font-size:10px;letter-spacing:.14em;}
.all-gifts-dialog .all-gifts-heading h2{margin:5px 0 0;font-size:21px;font-weight:750;letter-spacing:-.4px;}
.all-gifts-close{flex-shrink:0;}
.all-gifts-intro{max-width:1240px;margin:8px auto 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.all-gifts-intro h3{margin:0 0 7px;font-size:19px;}
.all-gifts-intro p{margin:0;color:#91a5b4;font-size:13px;line-height:1.5;}
.all-gifts-count{flex-shrink:0;padding:8px 12px;border:1px solid #94a3b822;border-radius:20px;color:#a3c4ba;background:#182b2c;font-size:12px;font-variant-numeric:tabular-nums;}
.all-gifts-grid{max-width:1240px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px;align-items:stretch;}
.all-gifts-grid .profile-gift-card{padding:0;gap:0;overflow:hidden;border-radius:20px;background:#14212e;contain-intrinsic-size:auto 296px;box-shadow:0 6px 20px #0002;}
.all-gifts-grid .gift-art{height:156px;flex-shrink:0;background:radial-gradient(ellipse at 50% 60%,#71c8b519,transparent 66%),linear-gradient(145deg,#1c3040,#152330);border-bottom:1px solid #94a3b815;}
.all-gifts-grid .gift-img{max-width:78%;max-height:120px;filter:drop-shadow(0 8px 12px #0003);}
.all-gifts-grid .gift-name{align-self:stretch;padding:15px 15px 12px;text-align:left;font-size:15px;line-height:1.35;}
.all-gifts-grid .gift-meta{box-sizing:border-box;display:flex;align-items:center;gap:9px;width:100%;padding:0 15px 14px;text-align:left;white-space:normal;}
.all-gifts-grid .gift-meta>img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid #94a3b830;flex-shrink:0;}
.all-gifts-grid .gift-meta>span{display:grid;gap:2px;min-width:0;}
.all-gifts-grid .gift-meta small{font-size:8px;letter-spacing:.1em;color:#8499a9;}
.all-gifts-grid .gift-meta b{font-size:12px;color:#c5d5df;font-weight:600;overflow-wrap:anywhere;}
.all-gift-footer{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding:10px 15px;border-top:1px solid #94a3b814;color:#8298a9;font-size:11px;}
.all-gift-points{color:#d9c48e;font-weight:700;}
.all-gifts-grid .gift-replay-badge{top:10px;right:10px;padding:7px;border-radius:9px;color:#c4eadc;background:#10221ed9;}
.all-gifts-load:disabled{border-color:transparent;background:transparent;color:#8499a9;}
@media(hover:hover){.all-gifts-grid .profile-gift-card:hover{border-color:#8adbc65c;background:#182a37;}.all-gifts-close:hover{background:#ffffff12;}}
@media(max-width:640px){
 .all-gifts-dialog>header{padding-left:16px;padding-right:16px;gap:10px;}
 .all-gifts-emblem{width:40px;height:40px;border-radius:13px;font-size:17px;}
 .all-gifts-dialog .all-gifts-heading h2{font-size:17px;}
 .all-gifts-heading small{font-size:8px;}
 .all-gifts-intro{align-items:flex-start;flex-direction:column;gap:12px;margin:8px 2px 18px;}
 .all-gifts-intro h3{font-size:17px;}
 .all-gifts-count{font-size:11px;padding:6px 10px;}
 .all-gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .all-gifts-grid .profile-gift-card{border-radius:15px;contain-intrinsic-size:auto 250px;}
 .all-gifts-grid .gift-art{height:125px;}
 .all-gifts-grid .gift-img{max-height:96px;}
 .all-gifts-grid .gift-name{font-size:13px;padding:12px 10px 10px;}
 .all-gifts-grid .gift-meta{padding:0 10px 12px;gap:7px;}
 .all-gifts-grid .gift-meta b{font-size:11px;}
 .all-gift-footer{padding:9px 10px;font-size:10px;}
}

/* Gift opening: generous artwork and a personal message card. */
.gift-detail-lightbox.avatar-lightbox{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;background:rgba(3,9,16,.82);backdrop-filter:blur(8px);overflow:auto;}
.gift-detail-lightbox .gift-detail-pop{position:relative;box-sizing:border-box;width:min(520px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:26px;border:1px solid #9ad9c530;border-radius:26px;background:radial-gradient(ellipse at 80% 0,#28564a40,transparent 55%),linear-gradient(145deg,#172735,#101b28);box-shadow:0 30px 100px #0008;scrollbar-width:thin;}
.gift-detail-lightbox .gift-detail-top{display:flex;align-items:center;gap:12px;padding:0 42px 20px 0;margin:0;border-bottom:1px solid #94a3b81c;}
.gift-detail-lightbox .gift-detail-sender-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:15px;}
.gift-detail-lightbox .gift-detail-sender-avatar img{width:100%;height:100%;object-fit:cover;border-radius:15px;}
.gift-detail-lightbox .gift-detail-label{color:#96b4b0;font-size:10px;letter-spacing:.1em;text-transform:uppercase;}
.gift-detail-lightbox .gift-detail-sender{font-size:16px;line-height:1.35;font-weight:750;overflow-wrap:anywhere;text-shadow:none;}
.gift-detail-lightbox .gift-detail-date{font-size:11px;color:#8a9fac;font-weight:500;line-height:1.4;}
.gift-detail-lightbox .gift-detail-main{display:flex;flex-direction:column;align-items:center;gap:0;padding-top:20px;}
.gift-detail-lightbox .gift-detail-art{width:100%;height:190px;flex:0 0 190px;border:0;border-radius:20px;background:radial-gradient(ellipse at center,#80d3b91c,transparent 65%);box-shadow:none;}
.gift-detail-lightbox .gift-detail-art.can-replay{border:1px solid #99f6e418;box-shadow:none;}
.gift-detail-lightbox .gift-detail-art .gift-img{max-width:80%;max-height:162px;width:auto;height:auto;object-fit:contain;}
.gift-detail-lightbox .gift-detail-art .gift-emoji{font-size:88px;color:#b0e0cd;}
.gift-detail-lightbox .gift-detail-gift{width:100%;text-align:center;}
.gift-detail-lightbox .gift-detail-name{margin:18px 0 10px;font-size:26px;line-height:1.2;font-weight:750;letter-spacing:-.5px;color:#edf7f4;overflow-wrap:anywhere;}
.gift-detail-lightbox .gift-detail-popularity{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;margin:0;color:#d7c693;font-size:12px;line-height:1.5;background:transparent;border:0;}
.gift-detail-lightbox .gift-detail-note{margin-top:22px;padding:17px 18px;text-align:left;border:1px solid #99d8c521;border-radius:16px;background:linear-gradient(130deg,#233b373d,#0d19287a);}
.gift-detail-note-label{display:flex;align-items:center;gap:8px;color:#91b9ae;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.gift-detail-lightbox .gift-detail-message{margin:10px 0 0;padding:0;background:transparent;border:0;border-radius:0;color:#dce9e6;font-size:15px;line-height:1.7;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;}
.gift-detail-lightbox .gift-detail-replay{width:100%;justify-content:center;min-height:46px;margin-top:18px;border:1px solid #a1e9ca3a;border-radius:13px;background:linear-gradient(145deg,#284d40,#1a3634);color:#d4f4e4;box-shadow:none;font-size:13px;}
.gift-detail-lightbox .gift-detail-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:1px solid #94a3b82b;border-radius:11px;background:#ffffff06;color:#c0d1da;font-size:24px;box-shadow:none;}
.gift-detail-lightbox button:focus-visible{outline:2px solid #a1e9ca;outline-offset:3px;}
@media(max-width:520px){
 .gift-detail-lightbox.avatar-lightbox{padding:12px;}
 .gift-detail-lightbox .gift-detail-pop{padding:20px;max-height:calc(100dvh - 24px);border-radius:22px;}
 .gift-detail-lightbox .gift-detail-art{height:156px;flex-basis:156px;}
 .gift-detail-lightbox .gift-detail-art .gift-img{max-height:134px;}
 .gift-detail-lightbox .gift-detail-name{font-size:23px;}
 .gift-detail-lightbox .gift-detail-note{padding:14px;margin-top:18px;}
}

/* A small mood motif, with no extra elements over the touch controls. */
:is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap{
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22150%22%20height%3D%2260%22%20viewBox%3D%220%200%20150%2060%22%20fill%3D%22none%22%20stroke%3D%22%23a1e9ca%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20opacity%3D%22.19%22%3E%3Ccircle%20cx%3D%22104%22%20cy%3D%2230%22%20r%3D%2223%22%2F%3E%3Cpath%20d%3D%22M93%2034q11%2012%2022%200M95%2024h1m16%200h1M57%2020c-8-10-19%201-10%2010l10%209%2010-9c9-9-2-20-10-10ZM137%208l2%205%205%202-5%202-2%205-2-5-5-2%205-2%22%2F%3E%3Ccircle%20cx%3D%22104%22%20cy%3D%2230%22%20r%3D%2229%22%20stroke-dasharray%3D%221%207%22%20opacity%3D%22.5%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23b1d2ea%22%20stroke%3D%22none%22%20opacity%3D%22.22%22%3E%3Ccircle%20cx%3D%2233%22%20cy%3D%2212%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2273%22%20cy%3D%2249%22%20r%3D%221.2%22%2F%3E%3Ccircle%20cx%3D%22143%22%20cy%3D%2246%22%20r%3D%221.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),radial-gradient(ellipse at right,rgba(105,184,163,.08),transparent 65%),linear-gradient(110deg,#172d2c,#12222e);
  background-repeat:no-repeat;
  background-position:right center,center,center;
  background-size:150px 60px,100% 100%,100% 100%;
}
@media(max-width:640px){
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap{background-size:125px 50px,100% 100%,100% 100%;}
}

/* Desktop interests: readable labels and clearer icon contrast. */
@media(min-width:641px){
  :is(#profileMount,#roomsMount) .mini-profile .profile-interests-card .profile-interests-title>span{font-size:.92rem;}
  :is(#profileMount,#roomsMount) .mini-profile .profile-interests-card .profile-interests-title>b{font-size:.8rem;color:#f5c6e0;}
  :is(#profileMount,#roomsMount) .mini-profile .profile-interests-card .profile-interest-chips{gap:9px;}
  :is(#profileMount,#roomsMount) .mini-profile .profile-interests-card .profile-interest-chips span{
    min-height:40px;padding:8px 14px;box-sizing:border-box;
    font-size:.9rem;font-weight:700;line-height:1.4;
    color:#f0f4f8;border-color:rgba(168,183,204,.26);
    background:linear-gradient(145deg,#263344,#1b2736);
    white-space:normal;overflow-wrap:anywhere;
  }
  :is(#profileMount,#roomsMount) .mini-profile .profile-interests-card .profile-interest-chips span i{font-size:.88rem;color:#eeb8d7;}
  :is(#profileMount,#roomsMount) .mini-profile .profile-interests-card .profile-interests-empty{font-size:.88rem;line-height:1.5;color:#c4d0dc;}
}

/* Keep the mood artwork visible through its text field. */
:is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-input,
:is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-preview-button{
  background:transparent;
  box-shadow:none;
  border-color:transparent;
}

/* Desktop mood text readability. */
@media(min-width:641px){
  :is(#profileMount,#roomsMount) .mini-profile .m-head .mood-wrap .mood-input{
    font-size:1rem;
    font-weight:600;
  }
}

/* Follow the profile's reading order on desktop and mobile. */
:is(#profileMount,#roomsMount) .mini-profile .view[data-view-id="info"]> :is(.profile-overview-stack,.profile-story-card,.profile-interests-card,.profile-friends-card,.facts-card,.profile-gifts-panel){
  order:0!important;
  grid-row:auto!important;
  grid-column:1/-1!important;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-overview-stack>.profile-photo-strip{
  order:0!important;
  grid-row:auto!important;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-overview-stack>.profile-basic-card{
  order:0!important;
  grid-row:auto!important;
}


/* Received gifts preview: readable miniature collection cards. */
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel{padding:16px!important;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-head{margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #94a3b81c;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-head span{font-size:.95rem;color:#eaf3f4;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-head small{display:block;font-size:.73rem;line-height:1.45;color:#9aafbd;white-space:normal;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr))!important;gap:8px!important;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-grid>.profile-gift-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-width:0;padding:0!important;overflow:hidden;border:1px solid #9eb7c322!important;border-radius:16px!important;background:linear-gradient(145deg,#1a2b38,#111e2a)!important;box-shadow:inset 0 1px #ffffff04!important;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-art{width:100%;height:112px;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 60%,#a4d9c81a,transparent 68%);border-bottom:1px solid #94a3b813;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-img{width:auto;height:auto;max-width:80%;max-height:90px;object-fit:contain;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-emoji{font-size:42px;color:#c0ded4;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-name{padding:12px 12px 10px;text-align:left;font-size:.85rem;line-height:1.35;font-weight:750;color:#edf4f6;white-space:normal;overflow-wrap:anywhere;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-meta{display:flex;align-items:center;gap:8px;width:100%;padding:0 12px 12px;white-space:normal;text-align:left;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-meta .gift-sender-thumb{flex:0 0 24px;width:24px;height:24px;object-fit:cover;border-radius:50%;border:1px solid #a8bdcc26;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy{display:grid;min-width:0;gap:2px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy small{font-size:9px;color:#8fa5b4;text-transform:uppercase;letter-spacing:.07em;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy b{font-size:12px;line-height:1.3;color:#cbdde5;overflow-wrap:anywhere;font-weight:600;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-foot{display:flex;justify-content:space-between;gap:6px;margin-top:auto;padding:9px 12px;border-top:1px solid #94a3b815;color:#91a6b6;font-size:10px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-points{color:#d8c38d;white-space:nowrap;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-points i{font-size:8px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-replay-badge{position:absolute;top:8px;right:8px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-more{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;margin-top:14px;border-radius:12px;font-size:.8rem;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card:focus-visible{outline:2px solid #a1e9ca;outline-offset:2px;}
@media(max-width:640px){
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel{padding:12px!important;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-head span{font-size:.88rem;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-head small{font-size:.68rem;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-art{height:76px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-img{max-height:62px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-name{font-size:.72rem;padding:8px 6px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-meta{padding:0 6px 8px;gap:5px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy b{font-size:11px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-foot{padding:7px 6px;flex-wrap:wrap;}
}

/* Compact gift display: artwork first, quieter supporting information. */
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-grid{gap:10px!important;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-grid>.profile-gift-card{
 position:relative;isolation:isolate;border-radius:14px!important;
 background:linear-gradient(155deg,#182b37,#101b28)!important;
 border-color:rgba(151,186,190,.16)!important;
 box-shadow:inset 0 1px 0 #ffffff06!important;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-art{
 height:106px;border:0;
 background:radial-gradient(ellipse at 50% 72%,rgba(112,195,174,.14),transparent 65%);
}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-img{max-height:82px;max-width:76%;filter:drop-shadow(0 7px 8px #0004);}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-name{
 padding:0 9px 8px;text-align:center;font-size:.8rem;line-height:1.35;
 min-height:2.7em;display:flex;align-items:center;justify-content:center;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-meta{
 justify-content:center;gap:5px;padding:9px 7px;margin-top:auto;
 border-top:1px solid #a6bfcc12;background:#08121c30;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-meta .gift-sender-thumb{width:20px;height:20px;flex-basis:20px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy{display:block;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy small{display:none;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy b{display:block;font-size:11px;font-weight:500;color:#a8bdca;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-foot{position:absolute;top:7px;right:7px;width:auto;margin:0;padding:0;border:0;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-foot>span:first-child{display:none;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-points{padding:4px 6px;border:1px solid #c9bd8c20;border-radius:7px;background:#101c25d9;color:#d8c99c;font-size:9px;font-weight:700;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-replay-badge{top:8px;left:8px;right:auto;font-size:9px;color:#a2cfbe;background:transparent;box-shadow:none;}
:is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-more{
 min-height:40px;border:1px solid #a1d8c52b!important;
 background:linear-gradient(110deg,#203934,#172b31)!important;color:#cbe7dd!important;
 box-shadow:none!important;font-size:.78rem;
}
@media(hover:hover){
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-grid>.profile-gift-card:hover{border-color:#93d9c44d!important;background:linear-gradient(155deg,#203744,#142432)!important;}
}
@media(max-width:640px){
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel{padding:10px!important;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gifts-grid{gap:7px!important;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-art{height:90px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-img{max-height:65px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-name{padding:0 5px 7px;font-size:.7rem;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .profile-gift-card .gift-meta{padding:8px 5px;gap:4px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-meta .gift-sender-thumb{width:17px;height:17px;flex-basis:17px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-sender-copy b{font-size:10px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-foot{top:5px;right:5px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-gifts-panel .gift-preview-points{padding:3px 4px;font-size:8px;}
}


/* Unified compact profile toolbar: full labels in a single scrollable row. */
:is(#profileMount,#roomsMount) .mini-profile .profile-actions{min-width:0;padding:6px var(--padX) 4px;border-top:0;background:transparent;}
:is(#profileMount,#roomsMount) .mini-profile .profile-actions-list{
 display:flex;flex-wrap:nowrap;align-items:stretch;gap:4px;min-width:0;max-width:100%;
 padding:4px;border:1px solid #94b3c322;border-radius:12px;
 background:linear-gradient(110deg,#142330,#0e1924);box-shadow:inset 0 1px #ffffff05;
 overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#56796e transparent;
 touch-action:pan-x pan-y;overscroll-behavior-x:contain;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-actions-list>.profile-action-btn,
:is(#profileMount,#roomsMount) .mini-profile .profile-actions-list>.profile-toolbar-friend{flex:1 0 auto;min-width:max-content;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 flex-direction:row;gap:6px;width:auto;min-width:max-content;min-height:36px;height:auto;
 padding:6px 11px;border:1px solid transparent;border-radius:8px;background:transparent;
 color:#bacbd5;font:600 12px/1.3 'Inter','Segoe UI',system-ui,sans-serif;white-space:nowrap;
 box-shadow:none;transition:background 150ms ease,color 150ms ease;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn::after{content:none;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{display:inline-block;flex:0 0 auto;width:15px;height:auto;background:none;color:#8faebe;font-size:12px;text-align:center;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn span{display:block;flex-shrink:0;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap;}
:is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend{position:static;display:flex;align-items:stretch;gap:2px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend .profile-action-btn{flex:1 0 auto;width:auto;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn.is-friend{color:#b7d8c7;background:#97c9ab08;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn.is-friend i{color:#98cbb0;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn[data-open="gifts"] i{color:#d0afc5;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn.is-pending{color:#d0c3a5;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn.is-incoming{color:#c2ead7;background:#76caa415;}
:is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend .profile-action-decline{position:static;flex:0 0 28px;width:28px;min-width:28px;min-height:36px;height:auto;padding:0;background:#c3657412;border-radius:7px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-decline i{color:#e5a3ae;font-size:11px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn:focus-visible{outline:2px solid #a1d8c5;outline-offset:-2px;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="info"] .profile-action-btn[data-open="info"]{color:#ecf8f3;background:linear-gradient(135deg,#31594e,#25433f);border-color:#9dd5be32;box-shadow:inset 0 1px #ffffff08;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="info"] .profile-action-btn[data-open="info"] i{color:#b6e5cd;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="dm"] .profile-action-btn[data-open="dm"]{color:#ecf8f3;background:linear-gradient(135deg,#31594e,#25433f);border-color:#9dd5be32;box-shadow:inset 0 1px #ffffff08;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="dm"] .profile-action-btn[data-open="dm"] i{color:#b6e5cd;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="gifts"] .profile-action-btn[data-open="gifts"]{color:#ecf8f3;background:linear-gradient(135deg,#31594e,#25433f);border-color:#9dd5be32;box-shadow:inset 0 1px #ffffff08;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="gifts"] .profile-action-btn[data-open="gifts"] i{color:#b6e5cd;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="admin"] .profile-action-btn[data-open="admin"]{color:#ecf8f3;background:linear-gradient(135deg,#31594e,#25433f);border-color:#9dd5be32;box-shadow:inset 0 1px #ffffff08;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="admin"] .profile-action-btn[data-open="admin"] i{color:#b6e5cd;}
@media(hover:hover){:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn:hover{background:#ffffff08;color:#edf7f3;}}
@media(max-width:640px){
 :is(#profileMount,#roomsMount) .mini-profile .profile-actions{padding:4px 8px 2px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-actions-list{gap:2px;padding:3px;border-radius:10px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{min-height:34px;padding:5px 7px;gap:4px;font-size:11px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{width:12px;font-size:11px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend .profile-action-decline{min-height:34px;flex-basis:24px;min-width:24px;width:24px;}
}
@media(prefers-reduced-motion:reduce){:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{transition:none;}}

/* Jewel accents on a compact profile action strip. */
:is(#profileMount,#roomsMount) .mini-profile .profile-actions-list{gap:5px;padding:3px;border:0;background:transparent;box-shadow:none;border-radius:0;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{
 --action-rgb:126,204,177;
 min-height:36px;padding:4px 10px 4px 5px;gap:7px;border-radius:10px;
 border:1px solid rgba(155,181,200,.16);
 background:linear-gradient(155deg,#1a2b38,#111d29);
 color:#c5d4de;box-shadow:inset 0 1px #ffffff05;
 font-weight:650;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn[data-open="dm"]{--action-rgb:139,186,232;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn[data-open="gifts"]{--action-rgb:218,157,195;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn[data-open="admin"]{--action-rgb:216,186,131;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{
 display:grid;place-items:center;width:25px;height:25px;
 border-radius:7px;color:rgb(var(--action-rgb));
 background:linear-gradient(140deg,rgba(var(--action-rgb),.18),rgba(var(--action-rgb),.06));
 box-shadow:inset 0 1px rgba(var(--action-rgb),.12);font-size:12px;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn.is-friend{background:linear-gradient(155deg,#1a302e,#132425);border-color:#8ac6a42a;color:#c1e0cf;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn.is-pending{--action-rgb:216,186,131;}
:is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend{gap:3px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend .profile-action-decline{padding:0;border:1px solid #cf81952a;background:#35232c;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-decline i{width:18px;height:20px;background:none;box-shadow:none;color:#e5a3ae;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="info"] .profile-action-btn[data-open="info"]{color:#f0f7f5;border-color:rgba(var(--action-rgb),.48);background:linear-gradient(120deg,rgba(var(--action-rgb),.19),rgba(var(--action-rgb),.07)),#13232c;box-shadow:inset 0 1px rgba(var(--action-rgb),.12);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="info"] .profile-action-btn[data-open="info"] i{background:rgb(var(--action-rgb));color:#152a30;box-shadow:0 2px 7px #0002;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="dm"] .profile-action-btn[data-open="dm"]{color:#f0f7f5;border-color:rgba(var(--action-rgb),.48);background:linear-gradient(120deg,rgba(var(--action-rgb),.19),rgba(var(--action-rgb),.07)),#13232c;box-shadow:inset 0 1px rgba(var(--action-rgb),.12);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="dm"] .profile-action-btn[data-open="dm"] i{background:rgb(var(--action-rgb));color:#152a30;box-shadow:0 2px 7px #0002;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="gifts"] .profile-action-btn[data-open="gifts"]{color:#f0f7f5;border-color:rgba(var(--action-rgb),.48);background:linear-gradient(120deg,rgba(var(--action-rgb),.19),rgba(var(--action-rgb),.07)),#13232c;box-shadow:inset 0 1px rgba(var(--action-rgb),.12);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="gifts"] .profile-action-btn[data-open="gifts"] i{background:rgb(var(--action-rgb));color:#152a30;box-shadow:0 2px 7px #0002;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="admin"] .profile-action-btn[data-open="admin"]{color:#f0f7f5;border-color:rgba(var(--action-rgb),.48);background:linear-gradient(120deg,rgba(var(--action-rgb),.19),rgba(var(--action-rgb),.07)),#13232c;box-shadow:inset 0 1px rgba(var(--action-rgb),.12);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="admin"] .profile-action-btn[data-open="admin"] i{background:rgb(var(--action-rgb));color:#152a30;box-shadow:0 2px 7px #0002;}

@media(hover:hover){:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn:hover{border-color:rgba(var(--action-rgb),.4);background:linear-gradient(145deg,#233946,#182936);color:#f0f8f5;}}
@media(max-width:640px){
 :is(#profileMount,#roomsMount) .mini-profile .profile-actions-list{gap:4px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{min-height:35px;padding:4px 6px 4px 4px;gap:4px;font-size:11px;border-radius:9px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{width:20px;height:23px;border-radius:6px;font-size:11px;}
}

/* Fit profile actions in one row without horizontal scrolling. */
:is(#profileMount,#roomsMount) .mini-profile .profile-actions-list{overflow:visible;gap:3px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-actions-list>.profile-action-btn,
:is(#profileMount,#roomsMount) .mini-profile .profile-actions-list>.profile-toolbar-friend{flex:1 1 auto;min-width:0;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{min-width:0;padding-inline:6px;gap:4px;}
:is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend .profile-action-btn{flex:1 1 auto;min-width:0;}
@media(max-width:640px){
 :is(#profileMount,#roomsMount) .mini-profile .profile-actions{padding-inline:6px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-actions-list{gap:2px;padding:2px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{padding-inline:4px;gap:3px;font-size:10px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{width:14px;height:22px;font-size:10px;background:transparent;box-shadow:none;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend{gap:1px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-toolbar-friend .profile-action-decline{flex:0 0 18px;min-width:18px;width:18px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-decline i{width:12px;}
}
@media(max-width:380px){
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{padding-inline:3px;gap:2px;font-size:9px;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{width:11px;font-size:9px;}
}

/* Compact illustrated action buttons. */
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn{
 isolation:isolate;overflow:hidden;
 background:radial-gradient(ellipse at 8% 110%,rgba(var(--action-rgb),.16),transparent 68%),linear-gradient(145deg,#1b2a38,#111c28);
 border-color:rgba(var(--action-rgb),.21);
 box-shadow:inset 0 1px #ffffff06,0 2px 4px #0002;
}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn::before{
 content:"";position:absolute;z-index:-1;pointer-events:none;
 width:35px;height:35px;right:-12px;top:-16px;border-radius:50%;
 border:1px solid rgba(var(--action-rgb),.16);
 box-shadow:0 0 0 7px rgba(var(--action-rgb),.035),0 0 0 14px rgba(var(--action-rgb),.025);
}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{color:rgb(var(--action-rgb));}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn::after{
 content:"";position:absolute;bottom:0;left:25%;right:25%;height:2px;
 width:auto;border-radius:2px;background:linear-gradient(90deg,transparent,rgb(var(--action-rgb)),transparent);
 opacity:0;pointer-events:none;
}
:is(#profileMount,#roomsMount) .mini-profile[data-view="info"] .profile-action-btn[data-open="info"]{background:radial-gradient(ellipse at 20% 100%,rgba(var(--action-rgb),.25),transparent 85%),#172c34;border-color:rgba(var(--action-rgb),.55);color:#f1faf6;box-shadow:inset 0 1px rgba(var(--action-rgb),.14);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="info"] .profile-action-btn[data-open="info"]::after{opacity:1;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="dm"] .profile-action-btn[data-open="dm"]{background:radial-gradient(ellipse at 20% 100%,rgba(var(--action-rgb),.25),transparent 85%),#172c34;border-color:rgba(var(--action-rgb),.55);color:#f1faf6;box-shadow:inset 0 1px rgba(var(--action-rgb),.14);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="dm"] .profile-action-btn[data-open="dm"]::after{opacity:1;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="gifts"] .profile-action-btn[data-open="gifts"]{background:radial-gradient(ellipse at 20% 100%,rgba(var(--action-rgb),.25),transparent 85%),#172c34;border-color:rgba(var(--action-rgb),.55);color:#f1faf6;box-shadow:inset 0 1px rgba(var(--action-rgb),.14);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="gifts"] .profile-action-btn[data-open="gifts"]::after{opacity:1;}
:is(#profileMount,#roomsMount) .mini-profile[data-view="admin"] .profile-action-btn[data-open="admin"]{background:radial-gradient(ellipse at 20% 100%,rgba(var(--action-rgb),.25),transparent 85%),#172c34;border-color:rgba(var(--action-rgb),.55);color:#f1faf6;box-shadow:inset 0 1px rgba(var(--action-rgb),.14);}
:is(#profileMount,#roomsMount) .mini-profile[data-view="admin"] .profile-action-btn[data-open="admin"]::after{opacity:1;}
:is(#profileMount,#roomsMount) .mini-profile .profile-action-btn:active{filter:brightness(1.15);}
@media(max-width:640px){
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn i{background:transparent!important;box-shadow:none!important;color:rgb(var(--action-rgb))!important;}
 :is(#profileMount,#roomsMount) .mini-profile .profile-action-btn::before{width:26px;height:26px;right:-13px;top:-13px;}
}

/* Compact mood card shared by mobile and desktop private conversations. */
.mini-profile .dm-contact-status{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8eaaa6;font:400 10px/1.3 system-ui;}
.mini-profile .dm-mood-card{flex:0 0 auto;min-width:0;margin:2px 8px;border:1px solid #9de2c525;border-radius:9px;background:radial-gradient(ellipse at 0 0,#89dfbb16,transparent 65%),#111e28;color:#dceee7;overflow:hidden;}
.mini-profile .dm-mood-card summary{display:flex;align-items:center;gap:7px;padding:4px 8px;cursor:pointer;list-style:none;}
.mini-profile .dm-mood-card summary::-webkit-details-marker{display:none;}
.mini-profile .dm-mood-card summary>img,.mini-profile .dm-mood-symbol{flex:0 0 24px;width:24px;height:24px;object-fit:contain;}
.mini-profile .dm-mood-symbol{display:grid;place-items:center;color:#a7e5cd;font-size:25px;}
.mini-profile .dm-mood-copy{display:grid;gap:3px;min-width:0;flex:1;}
.mini-profile .dm-mood-copy small{display:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 10px/1.2 system-ui;color:#91b8aa;}
.mini-profile .dm-mood-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 13px/1.35 system-ui;color:#e1f3eb;}
.mini-profile .dm-mood-card summary>i{font-size:10px;color:#8fb8aa;transition:transform .2s;}
.mini-profile .dm-mood-card[open] summary>i{transform:rotate(180deg);}
.mini-profile .dm-mood-card[open] .dm-mood-copy>span{display:none;}
.mini-profile .dm-mood-card[open] .dm-mood-copy small{display:block;}
.mini-profile .dm-mood-card p{margin:0;padding:0 10px 8px 39px;font:400 13px/1.5 system-ui;white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;overflow:auto;}
.mini-profile .dm-mood-card summary:focus-visible{outline:2px solid #a7e5cd;outline-offset:-3px;border-radius:11px;}
@media(min-width:769px){.mini-profile .dm-mood-copy>span,.mini-profile .dm-mood-card p{font-size:14px;}}
@media(prefers-reduced-motion:reduce){.mini-profile .dm-mood-card summary>i{transition:none;}}

/* Each DM section owns its height; the message log takes the remaining space. */
#profileMount .mini-profile .dm-embed,
#roomsMount .mini-profile .dm-embed,
body.dm-conversation-active #profileMount .mini-profile .dm-embed{display:flex!important;flex-direction:column!important;}
#profileMount .mini-profile .dm-embed>.dm-contact-bar,
#roomsMount .mini-profile .dm-embed>.dm-contact-bar,
#profileMount .mini-profile .dm-embed>.dm-mood-card,
#roomsMount .mini-profile .dm-embed>.dm-mood-card,
#profileMount .mini-profile .dm-embed>.dm-typing,
#roomsMount .mini-profile .dm-embed>.dm-typing,
#profileMount .mini-profile .dm-embed>.dm-embed-foot,
#roomsMount .mini-profile .dm-embed>.dm-embed-foot{flex:0 0 auto!important;}
#profileMount .mini-profile .dm-embed>.dm-mood-card,
#roomsMount .mini-profile .dm-embed>.dm-mood-card{display:block;position:relative;min-height:34px;}
#profileMount .mini-profile .dm-embed>.dm-embed-log,
#roomsMount .mini-profile .dm-embed>.dm-embed-log{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;}

/* One compact conversation header; mood opens over the log, never adds a row. */
body :is(#profileMount,#roomsMount) .mini-profile .dm-contact-bar,
body.dm-conversation-active #profileMount .mini-profile .dm-contact-bar{display:flex!important;align-items:center!important;gap:8px!important;height:48px!important;min-height:48px!important;max-height:48px!important;padding:5px 8px!important;overflow:visible!important;position:relative;z-index:3;flex:0 0 48px!important;box-sizing:border-box;}
body :is(#profileMount,#roomsMount) .mini-profile .dm-contact-main{flex:1;min-width:0;}
body :is(#profileMount,#roomsMount) .mini-profile .dm-contact-avatar{width:30px;height:30px;flex:0 0 30px;object-fit:cover;border-radius:9px;}
body :is(#profileMount,#roomsMount) .mini-profile .dm-contact-main strong{display:block;font-size:13px!important;line-height:1.2!important;}
body :is(#profileMount,#roomsMount) .mini-profile .dm-contact-status{font-size:11px;line-height:1.3;color:#9cc6b7;}
body :is(#profileMount,#roomsMount) .mini-profile .dm-mood-corner{position:relative;flex:0 0 36px;margin:0;padding:0;border:0;background:none;}
.dm-mood-corner summary{display:grid;place-items:center;width:36px;height:36px;box-sizing:border-box;cursor:pointer;list-style:none;border:1px solid #a7e5cd30;border-radius:11px;background:radial-gradient(circle at 50% 30%,#a7e5cd20,#14232c);}
.dm-mood-corner summary::-webkit-details-marker{display:none;}
.dm-mood-corner summary img{display:block!important;visibility:visible!important;opacity:1!important;width:32px!important;height:32px!important;max-width:none;object-fit:contain;}
.dm-mood-emoji{font:26px/1 system-ui;}
.dm-mood-corner summary:focus-visible{outline:2px solid #a7e5cd;outline-offset:2px;}
.dm-mood-corner .dm-mood-popover{position:absolute;right:0;top:calc(100% + 8px);width:min(260px,calc(100vw - 32px));box-sizing:border-box;padding:12px;border:1px solid #a7e5cd30;border-radius:12px;background:#14232c;box-shadow:0 10px 28px #0007;color:#e1f3eb;z-index:5;}
.dm-mood-popover small{font:500 10px/1.3 system-ui;color:#9cc6b7;}
.dm-mood-popover p{margin:6px 0 0;font:400 13px/1.5 system-ui;white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;}

.photo-lightbox a.photo-gallery-owner{color:inherit;text-decoration:none;cursor:pointer;}
.photo-lightbox a.photo-gallery-owner:focus-visible{outline:2px solid #a7e5cd;outline-offset:3px;border-radius:12px;}

.photo-demo-notice{position:absolute;left:50%;top:80px;transform:translateX(-50%);z-index:10;max-width:80%;padding:5px 9px;border-radius:8px;background:#1a263ee6;color:#ffe2a1;font:500 10px/1.4 system-ui;text-align:center;pointer-events:none;}
/* The swipe loader lives inside the pending profile and disappears with its response. */
#chatAndInput .profile-brand-loading{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:clamp(220px,55dvh,540px);width:100%;overflow:hidden;isolation:isolate;border-radius:20px;background:radial-gradient(ellipse at 50% 45%,#244e4838,transparent 64%);color:#cbe9dc}
.profile-brand-loading-mark{position:relative;display:grid;place-items:center;width:124px;height:124px}
.profile-brand-loading-mark::before{content:'';position:absolute;inset:-24px;border-radius:50%;background:radial-gradient(circle,#9de8c32b,transparent 68%);filter:blur(7px)}
.profile-brand-loading-mark img{position:relative;z-index:1;width:76px;height:76px;filter:drop-shadow(0 8px 18px #0004) drop-shadow(0 0 14px #a7efcd38)}
.profile-brand-orbit{position:absolute;inset:0;border:1px solid #a7efcd24;border-top:2px solid #c2ffe3;border-right-color:#a7efcd70;border-radius:50%;box-shadow:0 0 20px #a7efcd0d}
.profile-brand-orbit::after{content:'';position:absolute;left:16px;top:16px;width:5px;height:5px;border-radius:50%;background:#d3ffea;box-shadow:0 0 10px #a7efcd}
.profile-brand-orbit-echo{inset:-12px;border:1px solid #a7efcd0c;border-bottom-color:#79c6b480;opacity:.65}
.profile-brand-orbit-echo::after{display:none}
.profile-brand-shine{position:absolute;z-index:2;width:80px;height:80px;border-radius:50%;overflow:hidden;pointer-events:none;background:linear-gradient(115deg,transparent 38%,#f0fff833 47%,#fff9 50%,#bfffdf33 53%,transparent 62%);background-size:300% 100%;opacity:0}
.profile-brand-loading-label{font:600 11px/1.4 system-ui;letter-spacing:.09em;color:#9fc7b6;text-align:center}
.profile-brand-loading-dots{display:inline-block;width:14px;text-align:left}
@keyframes profile-brand-orbit{to{transform:rotate(360deg)}}
@keyframes profile-brand-breathe{0%,100%{transform:scale(.96);opacity:.85}50%{transform:scale(1.04);opacity:1}}
@keyframes profile-brand-polish{0%,15%{background-position:150% 0;opacity:0}30%{opacity:.8}65%,100%{background-position:-50% 0;opacity:0}}
@media(prefers-reduced-motion:no-preference){.profile-brand-orbit{animation:profile-brand-orbit 1.5s linear infinite}.profile-brand-orbit-echo{animation:profile-brand-orbit 2.4s linear infinite reverse}.profile-brand-loading-mark img{animation:profile-brand-breathe 1.8s ease-in-out infinite}.profile-brand-shine{animation:profile-brand-polish 2.2s ease-in-out infinite}.profile-brand-loading-dots{animation:profile-brand-breathe 1s ease-in-out infinite}}
