/* ROOH official social accounts in the own profile (shared/_social_links). Each platform in its own recognisable
   brand colour from the start (not only on hover), held together by ROOH's look: a thin steel ring, dark glass
   around it, one soft glow. Mobile first: 48 px targets, no horizontal scroll. Panel colours from the premium tokens. */
.rooh-social { --rs-ring: conic-gradient(from 200deg, #f5f8fb, #8691a0, #ffffff, #4f5a68, #dfe5ec, #97a3b1, #f5f8fb); }
.rooh-social summary { list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rooh-social summary::-webkit-details-marker { display: none; }
.rooh-social__chev { width: 20px; height: 20px; flex: none; transition: transform .2s ease; }
.rooh-social[open] .rooh-social__chev { transform: rotate(180deg); }

/* Brand faces: one background and glyph colour per platform (official palettes). */
.rooh-social__link--instagram, .rooh-social__dot--instagram { --rs-bg: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); --rs-glow: rgba(214, 36, 159, .55); }
.rooh-social__link--youtube, .rooh-social__dot--youtube { --rs-bg: linear-gradient(160deg, #ff3b3b, #e00000); --rs-glow: rgba(255, 0, 0, .5); }
.rooh-social__link--tiktok, .rooh-social__dot--tiktok { --rs-bg: linear-gradient(#010101, #010101); --rs-glyph: drop-shadow(-1.3px -1px 0 #25f4ee) drop-shadow(1.3px 1px 0 #fe2c55); --rs-glow: rgba(37, 244, 238, .45); }
.rooh-social__link--threads, .rooh-social__dot--threads { --rs-bg: linear-gradient(#000000, #000000); --rs-glow: rgba(255, 255, 255, .35); }
.rooh-social__link--telegram, .rooh-social__dot--telegram { --rs-bg: linear-gradient(160deg, #37bbfe, #007dbb); --rs-glow: rgba(42, 171, 238, .55); }

/* The five icons inside: brand disc, white glyph, steel ring. */
.rooh-social__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.rooh-social__link { display: grid; justify-items: center; gap: 7px; padding: 4px 0; min-height: 48px; text-decoration: none; color: inherit; border-radius: 14px; }
.rooh-social__link:focus-visible { outline: 2px solid #8cc8ff; outline-offset: 2px; }
.rooh-social__icon {
  display: block; width: 22px; height: 22px; box-sizing: content-box; padding: 13px; border-radius: 50%;
  fill: #ffffff; filter: var(--rs-glyph, none); border: 2px solid transparent;
  background: var(--rs-bg) padding-box, var(--rs-ring) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 18px -8px var(--rs-glow), 0 8px 16px -10px rgba(0, 0, 0, .9);
  transition: box-shadow .2s ease, transform .2s ease;
}
.rooh-social__link:hover .rooh-social__icon, .rooh-social__link:focus-visible .rooh-social__icon { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 3px var(--rs-glow), 0 10px 20px -10px rgba(0, 0, 0, .9); }
.rooh-social__name { font-size: 11.5px; font-weight: 600; line-height: 1.2; text-align: center; overflow-wrap: anywhere; opacity: .9; }

/* The panel; closed, a small overlapping stack of the five brand marks says what is inside. */
.rooh-social--panel {
  margin: 22px 0 8px; border-radius: 20px; overflow: hidden; background: var(--pp-panel-bg, #151c27); color: var(--pp-ink, #e9eff7);
  border: 1px solid rgba(91, 157, 255, .28); box-shadow: var(--pp-shadow-1, none), 0 0 24px -14px rgba(31, 107, 255, .8);
}
.rooh-social__summary { display: grid; grid-template-columns: auto minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px; }
.rooh-social__summary:focus-visible { outline: 2px solid #8cc8ff; outline-offset: -3px; border-radius: 20px; }
.rooh-social__stack { display: flex; padding-left: 10px; }
.rooh-social__dot {
  width: 30px; height: 30px; margin-left: -10px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid transparent;
  background: var(--rs-bg) padding-box, var(--rs-ring) border-box; box-shadow: 0 0 0 2px var(--pp-panel-bg, #151c27);
}
.rooh-social__dot svg { width: 14px; height: 14px; fill: #ffffff; filter: var(--rs-glyph, none); }
.rooh-social__text { display: grid; gap: 2px; min-width: 0; }
.rooh-social__title { font-weight: 700; font-size: 16px; }
.rooh-social__hint { font-size: 13px; color: var(--pp-muted, #8f9bb0); }
.rooh-social__body { padding: 0 16px 16px; }
.rooh-social__lead { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--pp-muted, #8f9bb0); }
:root[data-pp-theme="light"] .rooh-social--panel { border-color: rgba(31, 107, 255, .22); box-shadow: var(--pp-shadow-1, none); }

@media (prefers-reduced-motion: no-preference) {
  .rooh-social[open] .rooh-social__body { animation: rooh-social-in .18s ease-out; }
  @keyframes rooh-social-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .rooh-social__chev, .rooh-social__icon { transition: none; }
}
@media (max-width: 359.98px) {
  .rooh-social__icon { padding: 11px; }
  .rooh-social__name { font-size: 10.5px; }
  .rooh-social__dot { width: 26px; height: 26px; margin-left: -11px; }
}
