/* Reuse the operator visual scale with page content and role-specific actions. */
body.jucat-design .card,
html.b16-on .app :is(.card,.b16-card) {
  border-radius: 6px !important;
}
body.jucat-design :is(.card,main,form) :is(.btn,button.primary,button.secondary),
html.b16-on .app :is(.btn,.b16-btn),
body :is(form,.card,.b16-card) :is(input:not([type=radio],[type=checkbox],[type=file],[type=range],[type=color]), select, textarea) {
  border-radius: 3px !important;
  font-family: inherit;
}
body :is(form,.card,.b16-card) :is(input,textarea,select,button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.r6-preview {
  position: fixed;
  right: 16px;
  width: min(360px,calc(100vw - 32px));
  z-index: 2500;
  max-height: 48vh;
  overflow: auto;
  display: grid;
  padding: 14px;
  gap: 12px;
  border: 1px solid var(--b-line);
  border-radius: 6px;
  background: var(--b-surface);
  color: var(--b-text);
}
.r6-preview div, .r6-preview button { display: grid; gap: 6px; }
.r6-preview button {
  padding: 10px;
  width: 100%;
  text-align: start;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.r6-preview small {
  color: var(--b-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.r6-preview button:hover {text-shadow: .32px 0 currentColor, -.32px 0 currentColor;}
.a19-operator-identity .r6-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--b-field);
  color: var(--b-text);
}
@media (min-width: 801px) {
  body.player-experience .exp-app-sidebar[data-v34-nav] { width: 216px !important; }
  body.player-experience .wrap { margin-inline-start: 216px !important; }
  body.player-experience .wrap > .header,
  html.b16-on .app:not(.pl) header.top { min-height: 76px !important; box-sizing: border-box; }
}
@media (max-width: 800px) {
  body.player-experience .wrap { margin-inline-start: 0 !important; }
  body.player-experience .wrap > .header,
  html.b16-on .app.m:not(.pl) header.top {
    min-height: 68px !important;
    height: 68px !important;
    box-sizing: border-box;
  }
  body.player-experience nav.exp-mobile-nav,
  html.b16-on .app.m nav.tabbar {
    min-height: calc(70px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box;
  }
}
body.experience {
  --sq-top-h: 76px;
  --sq-top-h-m: 68px;
  --sq-side-w: 216px;
}
@media (max-width: 800px) {
  :root[data-theme] body.experience .wrap > .header:not(#v34-id) {
    height: 68px !important;
    min-height: 68px !important;
    box-sizing: border-box !important;
  }
}
body.jucat-design.player-experience { --r6-header: 76px; }
@media (max-width: 800px) {
  body.jucat-design.player-experience { --r6-header: 68px; --sq-mnav-h: 70px; }
  body.jucat-design.player-experience .exp-mobile-nav {
    min-height: calc(70px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box;
  }
}
body.jucat-design { --r6-field-radius: 3px; }

/* r6 topbar actions retain their plain surface while pointer hover emphasizes the icon. */
body.jucat-design.player-experience .header :is(#messengerLink, #notificationsLink),
body.jucat-design.player-experience .header :is(#messengerLink, #notificationsLink):hover {
  background: transparent !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
@media (hover: hover) {
  body.jucat-design.player-experience .header :is(#messengerLink, #notificationsLink):hover {
    text-shadow: .32px 0 currentColor, -.32px 0 currentColor;
  }
  body.jucat-design.player-experience .header :is(#messengerLink, #notificationsLink):hover svg[stroke]:not([stroke="none"]) {
    stroke-width: 2.2;
  }
}
