/* ============================================================
   KabboRP V3 – Theme & Layout RolePlay pour Volt (v6)
   - Conserve la fenetre en haut a droite (.volt-right-side / .volt-purse)
     au format RP sans aucune troncature (242px).
   - Menu en bas a droite (.tb-friendtools) : icone Telephone KabboRP
     (#icon-celular, 60x45 violet) + Sac RP a la place de Friends / Search.
   - Zone Zoom / Settings / History / Link (.volt-room-tools) : barre
     horizontale compacte d'icones en bas a gauche (bottom: 68px, left: 12px)
     comme sur KabboRP.
   - Barre de chat RP bleu ardoise (#1f2532 / bordure #4a5878) bien visible.
   ============================================================ */

:root:root{
  --habbo-panel: #1f2532 !important;
  --habbo-surface: #1f2532 !important;
  --habbo-surface-warm: #283044 !important;
  --habbo-grid: #2a3246 !important;
  --habbo-grid-active: #3a455f !important;
  --habbo-nav-border: #3a455f !important;

  --habbo-text: #f3f1fb !important;
  --habbo-text-muted: #9aa6ba !important;

  --habbo-blue: #57688e !important;
  --habbo-blue-light: #7b8fb8 !important;
  --habbo-blue-highlight: #8fa5d1 !important;
  --habbo-blue-dark: #3a455f !important;
  --habbo-blue-header: #181d28 !important;
  --habbo-blue-header-border: #3a455f !important;
  --habbo-frame-border: #3a455f !important;
  --habbo-toolbar: transparent !important;

  --habbo-tab: #252c3d !important;
  --habbo-tab-active: #57688e !important;

  --habbo-select: #57688e !important;
  --habbo-select-outer: #7b8fb8 !important;

  --habbo-success: #3bbd85 !important;
  --habbo-danger: #e5556a !important;
  --habbo-close: #a83a4a !important;
  --habbo-close-hover: #e5556a !important;

  --habbo-buy-top: #3bbd85 !important;
  --habbo-buy-mid: #2f9e6e !important;
  --habbo-buy-bottom: #237a56 !important;
  --habbo-buy-border: #1c5d42 !important;
  --habbo-buy-text: #ffffff !important;

  --habbo-purse-bg: rgba(25,25,37,.92) !important;

  --habbo-skin-button: var(--habbo-skin-button-black) !important;
  --habbo-skin-button-hover: var(--habbo-skin-button-black-hover) !important;
  --habbo-skin-button-pressed: var(--habbo-skin-button-black-pressed) !important;
  --habbo-skin-button-disabled: var(--habbo-skin-button-black-disabled) !important;
  --habbo-skin-shiny: var(--habbo-skin-button-black) !important;
  --habbo-skin-shiny-hover: var(--habbo-skin-button-black-hover) !important;
  --habbo-skin-shiny-pressed: var(--habbo-skin-button-black-pressed) !important;
  --habbo-skin-shiny-disabled: var(--habbo-skin-button-black-disabled) !important;

  font-family: "Montserrat", Ubuntu, "Open Sans", sans-serif !important;
}

html, body, #root { background:#0d1017 !important; color:#f3f1fb !important; }
#root > div { font-family: "Montserrat", Ubuntu, "Open Sans", sans-serif !important; }

/* ============================================================
   1. BAS : Boite gauche + Boite droite (Telephone RP a droite)
   ============================================================ */
#root .volt-toolbar,
#root .volt-toolbar-hobba {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-image: none !important;
  border-image-source: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}
#root .volt-toolbar * {
  pointer-events: auto;
}

#root .tb-left-dock {
  left: 12px !important;
  bottom: 8px !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#root .tb-right-dock {
  right: 12px !important;
  bottom: 8px !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Masquer la petite languette grise a droite/gauche */
#root .tb-nav-clip:not(.tb-left-dock):not(.tb-right-dock),
#root .tb-right-dock > button,
#root .tb-collapse {
  display: none !important;
}

#root .tb-open-shell,
#root .tb-friendtools {
  background: rgba(31, 37, 50, 0.94) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  padding: 4px 10px !important;
  height: 54px !important;
  max-width: none !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  backdrop-filter: blur(10px) !important;
}

/* Dans le menu en bas a droite (.tb-friendtools) : on masque Friends et Search friends
   pour mettre l'icone Telephone KabboRP + Inventaire RP a la place ! */
#root .tb-friendtools .tb-right-friends,
#root .tb-friendtools .tb-right-search {
  display: none !important;
}

/* Icone Telephone officielle KabboRP en bas a droite (60x45, fond violet KabboRP) */
#kb-rp-phone-btn {
  width: 60px !important;
  min-width: 60px !important;
  height: 45px !important;
  min-height: 45px !important;
  border-radius: 12px !important;
  background-color: rgb(145, 128, 255) !important;
  background-image: url('/rp-assets/telephone.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border: 2px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer !important;
  transition: transform .12s ease, filter .15s ease !important;
}
#kb-rp-phone-btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.1) !important;
}

/* Bouton Sac Inventaire RP a cote du telephone en bas a droite */
#kb-rp-inv-btn {
  position: relative !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 45px !important;
  min-height: 45px !important;
  border-radius: 12px !important;
  background-color: rgb(238, 134, 123) !important;
  background-image: url('/rp-assets/inventoryrp.png') !important;
  background-size: 36px 36px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border: 2px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer !important;
  transition: transform .12s ease, filter .15s ease !important;
}
#kb-rp-inv-btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.1) !important;
}

#root .tb-icon::after,
#root .tb-slot::after,
#root .tb-slot-memenu::after,
#root .tb-divider {
  border-image: none !important;
  border-image-source: none !important;
}

/* Barre du bas a gauche : uniquement 5 icones
   (Navigateur, Catalogue, Inventaire, Avatar, Appareil photo) */
#root .tb-slot:has(.volt-icon.icon-habbo),
#root .tb-slot:has(.volt-icon.icon-progression),
#root .tb-slot:has(.volt-icon.icon-buildersclub) {
  display: none !important;
}

#root .tb-memenu-circle,
#root .tb-memenu-bg {
  background: radial-gradient(circle, rgba(146,116,241,0.28) 0%, rgba(31,37,50,0.95) 100%) !important;
  border: 2px solid #7b8fb8 !important;
  border-radius: 50% !important;
}

/* ============================================================
   2. ZONE ZOOM / SETTINGS / HISTORY / LINK (.volt-room-tools)
      Disposee comme sur KabboRP : barre horizontale compacte
      d'icones en bas a gauche (au-dessus de la barre du bas)
   ============================================================ */
#root .volt-room-tools-container {
  position: fixed !important;
  left: 12px !important;
  bottom: 112px !important;
  top: auto !important;
  right: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  overflow: visible !important;
  z-index: 75 !important;
}
#root .volt-room-tools-container.is-collapsed {
  width: auto !important;
  max-width: none !important;
}
#root .volt-room-tools-container.is-collapsed .room-tools-list {
  display: flex !important;
}

#root .room-tools-collapse-toggle {
  display: none !important;
}

#root .volt-room-tools {
  position: static !important;
  width: max-content !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  background: rgba(31, 37, 50, 0.92) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-image: none !important;
  border-image-source: none !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  backdrop-filter: blur(8px) !important;
}
#root .volt-room-tools::before,
#root .volt-room-tools::after {
  border-image: none !important;
  border-image-source: none !important;
  display: none !important;
}

#root .volt-room-tools .room-tools-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  position: static !important;
}

/* Masquer les longs libelles textuels pour n'avoir que les icones en ligne comme KabboRP */
#root .volt-room-tools .room-tool-label,
#root .volt-room-tools .room-tools-zoom-text {
  display: none !important;
}

#root .volt-room-tools .room-tools-zoom-row,
#root .volt-room-tools .room-tool-row,
#root .volt-room-tools .room-history-controls {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: 30px !important;
  background: transparent !important;
  border: 0 !important;
}

#root .volt-room-tools .room-tool-row {
  padding: 4px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
}
#root .volt-room-tools .room-tool-row:hover {
  background: rgba(87, 104, 142, 0.35) !important;
}

/* ============================================================
   3. BARRE DE CHAT RP : fond bleu ardoise KabboRP bien visible
   ============================================================ */
#root .volt-chat-input-container,
#root .volt-chat-input-container.swf-chat-input {
  background: rgb(31, 37, 50) !important;
  background-color: rgb(31, 37, 50) !important;
  border: 2px solid rgb(74, 88, 120) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  padding: 0 8px 0 0 !important;
  height: 42px !important;
  overflow: hidden !important;
}

#root .input-sizer::before,
#root .swf-chat-input-sizer::before {
  border-image: none !important;
  border-image-source: none !important;
  background: transparent !important;
  display: none !important;
}

#root .input-sizer,
#root .swf-chat-input-sizer {
  background: rgb(31, 37, 50) !important;
  background-color: rgb(31, 37, 50) !important;
  border: none !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

#root .swf-chat-input-field {
  background: transparent !important;
  color: #ffffff !important;
  caret-color: #9fd4ff !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}
#root .swf-chat-input-field::placeholder {
  color: #b0bdd0 !important;
  opacity: 1 !important;
}

#root .swf-chat-style-trigger {
  background-image: none !important;
  background: rgb(46, 55, 76) !important;
  border-right: 1px solid rgb(74, 88, 120) !important;
  border-radius: 12px 0 0 12px !important;
  height: 100% !important;
}

/* Le selecteur de canal RP en bas a ete retire de la barre de chat. */

/* ============================================================
   4. FENETRE EN HAUT A DROITE CONSERVEE (.volt-right-side)
      & ADAPTEE AU FORMAT RP KABBORP (242px sans troncature)
   ============================================================ */
#root .volt-right-side {
  top: 10px !important;
  right: 10px !important;
  width: 242px !important;
}
#root .volt-purse-container,
#root .volt-purse {
  width: 242px !important;
}
#root .volt-purse__body {
  width: 242px !important;
  max-width: 242px !important;
}

#root .volt-purse__chrome {
  border-image: none !important;
  border-image-source: none !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  background: rgba(25, 28, 39, 0.94) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(8px) !important;
}

/* Icone de devise a droite du montant (plus aucun chevauchement) */
#root .volt-purse-air-currency {
  left: auto !important;
  right: 1px !important;
}

#root .volt-purse__currencies {
  width: 74px !important;
  left: 6px !important;
}
#root .volt-purse-currency,
#root .volt-purse-button,
#root .volt-purse-button__clip {
  width: 74px !important;
  overflow: visible !important;
}
#root .volt-purse-button__amount {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  right: 18px !important;
  max-width: 52px !important;
  overflow: visible !important;
}

#root .volt-purse__col--primary {
  left: 84px !important;
  width: 98px !important;
}
#root .volt-purse__btn-join,
#root .volt-purse__btn-earnings {
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* Metier / Gang : simples titres informatifs (on ne clique plus) */
#root .volt-purse__btn--join,
#root .volt-purse__btn--earnings {
  pointer-events: none !important;
  cursor: default !important;
}
#root .volt-purse__btn--join:hover,
#root .volt-purse__btn--earnings:hover {
  background: rgb(38, 45, 62) !important;
  border-color: rgb(58, 69, 95) !important;
}

#root .volt-purse__divider {
  background: rgb(58, 69, 95) !important;
  left: 186px !important;
}
#root .volt-purse__col--actions {
  left: 190px !important;
}

#root .volt-purse__btn,
#root .volt-purse__btn--join,
#root .volt-purse__btn--earnings,
#root .volt-purse__btn--help,
#root .volt-purse__btn--logout,
#root .volt-purse__btn--settings {
  background: rgb(38, 45, 62) !important;
  background-image: none !important;
  border: 1px solid rgb(58, 69, 95) !important;
  border-image: none !important;
  border-radius: 10px !important;
  color: #f3f1fb !important;
}
#root .volt-purse__btn::before,
#root .volt-purse__btn::after {
  border-image: none !important;
  border-image-source: none !important;
  background: none !important;
  display: none !important;
}
#root .volt-purse__btn:hover {
  background: rgb(58, 69, 95) !important;
  border-color: #9fd4ff !important;
}

#root .volt-purse-menu {
  width: 242px !important;
  background: rgba(25, 28, 39, 0.96) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55) !important;
  padding: 6px !important;
}
#root .volt-purse-menu::before,
#root .volt-purse-menu::after {
  border-image: none !important;
  border-image-source: none !important;
  display: none !important;
}

#root .volt-purse__other {
  margin-top: 5px !important;
  width: 192px !important;
  max-width: 192px !important;
  height: auto !important;
  overflow: visible !important;
}
#root .volt-purse-seasonal-currency {
  width: 100% !important;
  background: rgba(25, 28, 39, 0.94) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 13px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42) !important;
  padding: 6px 8px !important;
  height: auto !important;
  min-height: 36px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
#root .volt-purse-seasonal-currency::before,
#root .volt-purse-seasonal-currency::after,
#root .seasonal-badge::before {
  border-image: none !important;
  border-image-source: none !important;
  display: none !important;
}

#root .volt-event-info {
  width: 195px !important;
  margin-left: 39px !important;
  background: rgba(25, 28, 39, 0.94) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 13px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42) !important;
  margin-top: 5px !important;
  overflow: hidden !important;
  height: 30px !important;
  box-sizing: border-box !important;
}
#root .volt-event-info__bg {
  display: none !important;
}
#root .volt-event-info__text {
  color: #f3f1fb !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  width: 190px !important;
}

.kb-rp-vitals-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
}
.kb-rp-vital {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kb-rp-ring {
  width: 20px;
  height: 20px;
  display: block;
}
.kb-rp-ring-bg {
  stroke: rgba(255, 255, 255, 0.18);
}
.kb-rp-ring-val {
  stroke: var(--v-col);
  stroke-width: 3;
  stroke-dasharray: 91.1;
  stroke-dashoffset: calc(91.1 - (91.1 * var(--v-pct)) / 100);
  transition: stroke-dashoffset 0.3s;
}

/* ============================================================
   5. DOCK RP EN HAUT A GAUCHE (#kb-rp-dock) avec vraies icones
   ============================================================ */
#kb-rp-dock {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 14px;
  background: rgba(25, 28, 39, 0.94);
  border: 2px solid rgb(58, 69, 95);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  color: #f3f1fb;
  font-size: 12px;
  backdrop-filter: blur(8px);
}
#kb-rp-dock .kb-rp-accueil {
  width: 32px;
  height: 32px;
  background: url('/rp-assets/accueil.png') center / contain no-repeat;
  cursor: pointer;
}
#kb-rp-dock .kb-rp-map-ico {
  width: 18px;
  height: 18px;
  background: url('/rp-assets/kb-map.png') center / contain no-repeat;
  display: inline-block;
}
#kb-rp-dock .kb-rp-sep {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.14);
}
#kb-rp-dock .kb-rp-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
#kb-rp-dock .kb-rp-loc-id {
  color: #ff5a6e;
  font-weight: 800;
}
#kb-rp-dock .kb-rp-clock {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #9fe3ff;
  background: rgba(8, 13, 20, 0.65);
  border: 1px solid rgba(120, 200, 255, 0.25);
  padding: 3px 8px;
  border-radius: 8px;
}

/* ============================================================
   6. PANNEAUX RP FLOTTANTS & MENUS
   ============================================================ */
.kb-rp-modal {
  position: fixed;
  z-index: 95;
  background: rgba(25, 28, 39, 0.97);
  border: 2px solid rgb(58, 69, 95);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  color: #f3f1fb;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.kb-rp-modal[hidden] { display: none !important; }
.kb-rp-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgb(31, 37, 50);
  border-bottom: 1px solid rgb(58, 69, 95);
  font-weight: 700;
  font-size: 13px;
}
.kb-rp-modal-close {
  background: rgba(255,255,255,0.1);
  border: 0;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
.kb-rp-modal-close:hover { background: #e5556a; }
.kb-rp-inv-grid {
  display: grid;
  grid-template-columns: repeat(4, 46px);
  gap: 6px;
  padding: 10px 14px 14px;
  justify-content: center;
}
.kb-rp-slot {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(159, 212, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  cursor: pointer;
}
.kb-rp-slot:hover {
  background: rgba(87, 104, 142, 0.35);
  border-color: #9fd4ff;
}
.kb-rp-slot small {
  font-size: 9px;
  color: #9aa6ba;
  margin-top: 2px;
}
.kb-rp-sec-label {
  padding: 8px 14px 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9aa6ba;
}

#root .volt-context-menu, #root .air-avatar-menu-buttons {
  background: rgba(25, 28, 39, 0.95) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.5) !important;
  color: #f3f1fb !important;
}
#root .volt-context-menu-item:hover { background: rgba(87,104,142,.35) !important; color:#9fd4ff !important; }

#root .volt-infostand {
  background: rgba(25, 28, 39, 0.95) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 16px !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.55) !important;
}
#root .volt-infostand__header { color:#f3f1fb !important; }
#root .volt-infostand__score { color:#9fd4ff !important; }
#root .volt-infostand__badge-slot, #root .volt-infostand__badge-slot-plus {
  background:#262d3e !important;
  border:1px solid rgb(58, 69, 95) !important;
  border-radius:10px !important;
}

#root .air-window { background:#1f2532 !important; color:#f3f1fb !important; border-radius: 14px !important; }

/* ============================================================
   7. ICONES DE LA BARRE DU BAS (a gauche) = icones habbox.co
   ============================================================ */
#root .volt-toolbar .volt-icon,
#root .volt-room-tools .volt-icon,
#root .room-tools-zoom-button {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  image-rendering: auto !important;
}

/* Barre du bas a gauche */
#root .volt-icon.icon-habbo        { background-image: url('/rp-assets/habbox/icon-habbo.png') !important; }
#root .volt-icon.icon-rooms        { background-image: url('/rp-assets/habbox/icon-rooms.png') !important; }
#root .volt-icon.icon-progression  { background-image: url('/rp-assets/habbox/icon-me-achievements.png') !important; }
#root .volt-icon.icon-catalog      { background-image: url('/rp-assets/habbox/icon-catalog.png') !important; }
#root .volt-icon.icon-buildersclub { background-image: url('/rp-assets/habbox/icon-catalogue-hc_big.png') !important; background-size: 80% auto !important; }
#root .volt-icon.icon-inventory    { background-image: url('/rp-assets/habbox/icon-inventory.png') !important; }
#root .volt-icon.icon-camera       { background-image: url('/rp-assets/habbox/icon-camera.png') !important; }
#root .tb-slot-memenu .tb-memenu-circle { background-size: cover !important; }

/* Barre Zoom / Settings / History / Link (mêmes familles d'icones) */
#root .volt-icon.icon-cog           { background-image: url('/rp-assets/habbox/icon-cog.png') !important; width: 18px !important; height: 18px !important; }
#root .volt-icon.icon-chat-history  { background-image: url('/rp-assets/habbox/icon-chat-history.png') !important; width: 18px !important; height: 18px !important; }
#root .volt-icon.icon-room-link     { background-image: url('/rp-assets/habbox/icon-room-link.png') !important; width: 18px !important; height: 18px !important; }
#root .room-tools-zoom-in           { background-image: url('/rp-assets/habbox/icon-zoom-more.png') !important; }
#root .room-tools-zoom-out          { background-image: url('/rp-assets/habbox/icon-zoom-less.png') !important; }
#root .room-history-back, #root .room-history-forward { background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; }

#root .volt-room-tools {
  transform: none !important;
}

/* ============================================================
   8. ECRAN DE CHARGEMENT : barre arrondie + logo KabboRP
   ============================================================ */
#root .classic-loading-screen,
.classic-loading-screen {
  background: #0d1017 !important;
  font-family: "Montserrat", Ubuntu, sans-serif !important;
}
/* Les images Habbo (splash) laissent place au logo KabboRP */
.classic-loading-screen__photo {
  width: 280px !important;
  height: 162px !important;
  left: calc(50% - 140px) !important;
  top: calc(50% - 170px) !important;
  background: url('/rp-assets/kabborp-logo-mark.png') center / contain no-repeat !important;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, .6));
}
.classic-loading-screen__photo > img,
.classic-loading-screen .classic-loading-screen__userphoto {
  display: none !important;
}

/* Barre de progression arrondie */
.classic-loading-screen__bar {
  background: none !important;
  width: 401px !important;
  height: 26px !important;
  top: calc(50% + 40px) !important;
  left: calc(50% - 200px) !important;
  border: 2px solid rgba(255, 255, 255, .35) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55) !important;
}
.classic-loading-screen__bar > div {
  left: 0 !important;
  border-radius: 12px !important;
}
.classic-loading-screen .classic-loading-screen__bar-back {
  background: #000000 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.classic-loading-screen__bar-bottom {
  background: #2f6f93 !important;
  top: 0 !important;
  height: 100% !important;
}
.classic-loading-screen__bar-top {
  background: #6fc0e8 !important;
  top: 0 !important;
  height: 100% !important;
}

.classic-loading-screen__text {
  color: #f3f1fb !important;
  top: calc(50% + 90px) !important;
  font-size: 22px !important;
}
.classic-loading-screen__percent {
  color: #9aa6ba !important;
  top: calc(50% + 120px) !important;
}
.classic-loading-screen__error {
  color: #9fd4ff !important;
}


/* ============================================================
   9. PASTILLES COLOREES - BARRE DU BAS GAUCHE (style KabboRP)
      Chaque icone a sa propre etiquette arrondie coloree,
      comme le Telephone (violet) et l'Inventaire (saumon).
   ============================================================ */
#root .tb-left-dock .tb-slot {
  position: relative !important;
  width: 45px !important;
  height: 45px !important;
  min-width: 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 13px !important;
  border: 2px solid rgba(255, 255, 255, 0.18) !important;
  background-color: rgba(31, 37, 50, 0.92) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}
#root .tb-left-dock .tb-slot:hover {
  filter: brightness(1.06) !important;
}
#root .tb-left-dock .tb-slot .volt-icon {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  width: 44px !important;
  height: 44px !important;
  background-size: auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  image-rendering: pixelated !important;
}
/* Fond coloré de la pastille + icone au premier plan (element separe, centre) */
#root .tb-left-dock .tb-slot {
  background-repeat: no-repeat !important;
  background-position: center !important;
}
#root .tb-left-dock .tb-slot > .volt-icon {
  z-index: 1 !important;
}
#root .tb-left-dock .tb-slot:has(.icon-rooms) {
  background-color: rgb(92, 157, 214) !important;
}
#root .tb-left-dock .tb-slot:has(.icon-catalog) {
  background-color: rgb(226, 160, 82) !important;
}
#root .tb-left-dock .tb-slot:has(.icon-inventory) {
  background-color: rgb(238, 134, 123) !important;
}
/* Separateur 1px en fin de barre : retire pour centrer les pastilles */
#root .tb-open-shell > .tb-divider,
#root .tb-friendtools > .tb-divider {
  display: none !important;
}
#root .tb-left-dock .tb-slot-memenu {
  background-color: rgb(145, 128, 255) !important;
}
/* Retire le film rond gris qui passait DEVANT l'avatar */
#root .tb-left-dock .tb-slot-memenu .tb-memenu-circle {
  display: none !important;
}
#root .tb-left-dock .tb-slot:has(.icon-camera) {
  background-color: rgb(88, 192, 154) !important;
}

/* ============================================================
   10. OUTILS DE PIECE (Parametres / Zoom / Historique)
       Disposition verticale compacte, comme habbox.co :
       colonne 46px, fond rgb(33,33,49), rayon 12, gap 6,
       placee au-dessus de la barre de chat.
   ============================================================ */
#root .volt-room-tools-container {
  left: 12px !important;
  bottom: 150px !important;
}
#root .volt-room-tools {
  width: 46px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 6px !important;
  background: rgb(33, 33, 49) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
#root .volt-room-tools .room-tools-list {
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
}
#root .volt-room-tools .room-tool-row--settings   { order: 1; }
#root .volt-room-tools .room-tools-zoom-row       { order: 2; }
#root .volt-room-tools .room-tool-row--chat_history { order: 3; }
#root .volt-room-tools .room-tool-row--toggle_room_link { display: none !important; }
#root .volt-room-tools .room-history-controls     { display: none !important; }

#root .volt-room-tools .room-tool-row {
  width: 34px !important;
  height: 24px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
}
#root .volt-room-tools .room-tool-row:hover {
  background: rgba(87, 104, 142, 0.45) !important;
}
#root .volt-room-tools .room-tools-zoom-row {
  position: static !important;
  width: auto !important;
  height: 24px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}
#root .volt-room-tools .room-tools-zoom-button {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 16px !important;
  height: 16px !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 4px !important;
}
#root .volt-room-tools .room-tools-zoom-button:hover {
  background-color: rgba(87, 104, 142, 0.45) !important;
}
/* Petit trait gris sous la ligne Zoom (separateur du layout vertical d'origine) */
#root .volt-room-tools .room-tools-zoom-row::after,
#root .volt-room-tools .room-tools-zoom-row::before {
  display: none !important;
  content: none !important;
}

/* ============================================================
   11. FINITIONS FENETRE HAUT DROITE + BARRE DE CHAT
   ============================================================ */
/* La colonne Help / Quitter / Reglages reste DANS le panneau */
#root .volt-purse {
  margin-right: 13px !important;
}
#root .volt-purse-container,
#root .volt-purse {
  width: 230px !important;
}
#root .volt-purse__body {
  width: 230px !important;
  max-width: 230px !important;
}
#root .volt-purse__col--primary {
  width: 92px !important;
}
#root .volt-purse__col--actions {
  left: 178px !important;
}

/* Le post-it brut de la barre de chat -> pastille sobre */
#root .habbicon-chat-trigger {
  background-image: none !important;
  background-color: rgb(46, 55, 76) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .habbicon-chat-trigger::before {
  content: "\1F600";
  font-size: 17px;
  line-height: 1;
}

/* ==== Correctifs de specificite (doivent rester en fin de fichier) ==== */
#root .volt-room-tools .room-tools-list .room-tool-row--toggle_room_link {
  display: none !important;
}
#root .volt-room-tools .room-tools-list .room-tools-zoom-row {
  height: 24px !important;
  min-height: 0 !important;
  max-height: 24px !important;
}

/* ==== Colonne d'outils de piece : rendre les clics possibles ==== */
#root .volt-room-tools-container.is-collapsed,
#root .volt-room-tools-container.is-collapsed .volt-room-tools,
#root .volt-room-tools-container.is-collapsed .volt-room-tools * {
  pointer-events: auto !important;
}

/* ==== Fenetre haut droite : Help / Settings aux icones habbox ==== */
#root .volt-purse__col--actions {
  left: 182px !important;
  width: 40px !important;
}
#root .volt-purse__btn--logout {
  display: none !important;
}
#root .volt-purse__btn--help,
#root .volt-purse__btn--settings {
  width: 40px !important;
  height: 22px !important;
  background-color: rgb(38, 45, 62) !important;
  border: 1px solid rgb(58, 69, 95) !important;
  border-radius: 8px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
}
#root .volt-purse__btn--help {
  background-image: url('/rp-assets/habbox/icon-help.png') !important;
}
#root .volt-purse__btn--settings {
  background-image: url('/rp-assets/habbox/icon-cog.png') !important;
}
#root .volt-purse__btn--help .volt-purse__help-label,
#root .volt-purse__btn--help .volt-purse__help-label * {
  display: none !important;
}
#root .volt-purse__btn--settings .volt-purse__btn-img {
  display: none !important;
}
#root .volt-purse__btn--help:hover,
#root .volt-purse__btn--settings:hover {
  background-color: rgb(58, 69, 95) !important;
  border-color: #9fd4ff !important;
}

/* ==== Barre du bas : centrage propre des 5 pastilles ==== */
#root .tb-left-dock {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
#root .tb-open-shell {
  height: auto !important;
  min-height: 0 !important;
  padding: 5px 6px !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .tb-open-shell .tb-slot {
  flex: 0 0 45px !important;
  margin: 0 !important;
}

/* ==== Menu avatar : compact, meme habillage que le reste ==== */
#root .volt-avatar-action-menu {
  width: 128px !important;
  min-width: 128px !important;
  max-width: 128px !important;
  padding: 0 !important;
  background: rgba(25, 28, 39, 0.97) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55) !important;
  overflow: hidden !important;
  font-family: "Montserrat", Ubuntu, sans-serif !important;
}
/* Neutralise les anciens sprites de fond (bandeau + pastilles) */
#root .volt-avatar-action-menu::before,
#root .volt-avatar-action-menu::after,
#root .volt-avatar-action-menu .volt-context-menu-header::before,
#root .volt-avatar-action-menu .volt-context-menu-header::after,
#root .volt-avatar-action-menu .volt-context-menu-item::before,
#root .volt-avatar-action-menu .volt-context-menu-item::after,
#root .volt-avatar-action-menu .volt-context-menu-footer::before,
#root .volt-avatar-action-menu .volt-context-menu-footer::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border-image: none !important;
}
#root .volt-avatar-action-menu .volt-context-menu-header {
  width: 100% !important;
  max-width: none !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  background: rgb(31, 37, 50) !important;
  color: #f3f1fb !important;
  border: 0 !important;
  border-bottom: 1px solid rgb(58, 69, 95) !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: center !important;
  justify-content: center !important;
}
#root .volt-avatar-action-menu .volt-context-menu-header * {
  color: #f3f1fb !important;
}
#root .volt-avatar-action-menu .air-avatar-menu-buttons {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #f3f1fb !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item:hover {
  background: rgba(87, 104, 142, 0.45) !important;
  color: #9fd4ff !important;
}
#root .volt-avatar-action-menu .volt-context-menu-footer {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Menu rapide de l'avatar (My Profile / My Rooms / Clothes / Forums) :
   compact, meme habillage, et place AU-DESSUS de la barre de chat. */
#root div:has(> .volt-toolbar-me-popup) {
  bottom: 108px !important;
}
#root .volt-toolbar-me-popup {
  background: rgba(25, 28, 39, 0.97) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55) !important;
  padding: 5px 8px !important;
  gap: 8px !important;
}
#root .volt-toolbar-me-popup .tbme-item {
  width: 50px !important;
  height: 42px !important;
  gap: 1px !important;
  border-radius: 9px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .volt-toolbar-me-popup .tbme-item:hover {
  background: rgba(87, 104, 142, 0.45) !important;
}
#root .volt-toolbar-me-popup .volt-icon {
  width: 24px !important;
  height: 24px !important;
}
#root .volt-toolbar-me-popup .tbme-item > span:last-child {
  font-size: 9px !important;
  color: #f3f1fb !important;
}

/* ============================================================
   12. JAUGES RP : icones Font Awesome identiques a KabboRP
       (coeur / eclair / couverts / goutte)
   ============================================================ */
@font-face {
  font-family: 'KBFA';
  src: url('/rp-assets/fa/fa-solid-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
.kb-fa {
  font-family: 'KBFA' !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  line-height: 1 !important;
  speak: none;
  -webkit-font-smoothing: antialiased;
}
.kb-fa-heart::before    { content: "\f004"; }
.kb-fa-bolt::before     { content: "\f0e7"; }
.kb-fa-utensils::before { content: "\f2e7"; }
.kb-fa-tint::before     { content: "\f043"; }

.kb-rp-vital-ring > .kb-fa {
  position: relative !important;
  z-index: 1 !important;
  font-size: 10px !important;
  color: #ffffff !important;
}

/* ============================================================
   13. CATALOGUE : habillage identique a habbox.co
       Palette reprise de habbox.co :
       window rgba(30,30,43,.98) / soft #272737 / raised #303044
       line #414056 / accent #a58aff / accent-soft #3b3355
       text #f4f2fc / muted #b5b2c7
   ============================================================ */
#root .volt-catalog-window {
  background: rgba(30, 30, 43, 0.98) !important;
  border: 2px solid #414056 !important;
  border-image: none !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55) !important;
  color: #f4f2fc !important;
  overflow: hidden !important;
}
#root .volt-catalog-window .volt-card-header-shell {
  background: #272737 !important;
  border-bottom: 1px solid #414056 !important;
  color: #f4f2fc !important;
}
#root .volt-catalog-window .volt-catalog-title {
  color: #f4f2fc !important;
  font-weight: 700 !important;
}
#root .volt-catalog-window .volt-card-tabs-shell {
  background: #272737 !important;
  border-bottom: 1px solid #414056 !important;
  padding: 4px 6px 0 !important;
  gap: 4px !important;
  justify-content: flex-start !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}
#root .volt-catalog-window .volt-card-tabs-shell::-webkit-scrollbar {
  display: none !important;
}
#root .volt-catalog-window .volt-card-tab-item {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 2px 9px !important;
  overflow: visible !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .volt-catalog-window .volt-card-tab-item-label {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .volt-catalog-window .volt-catalog-tab-label {
  position: static !important;
  left: auto !important;
  top: auto !important;
  display: inline-block !important;
  line-height: 1 !important;
}
#root .volt-catalog-window .volt-card-tab-item {
  background: #272737 !important;
  border: 1px solid #414056 !important;
  border-bottom: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  color: #b5b2c7 !important;
  padding: 3px 8px !important;
}
#root .volt-catalog-window .volt-card-tab-item:hover {
  background: #303044 !important;
  border-color: #a58aff !important;
  color: #f4f2fc !important;
}
#root .volt-catalog-window .volt-card-tab-item-active {
  background: #3b3355 !important;
  border-color: #7966b4 !important;
  color: #ffffff !important;
}
#root .volt-catalog-window .volt-catalog-tab-label,
#root .volt-catalog-window .volt-catalog-tab-label-default {
  color: #f4f2fc !important;
}
#root .volt-catalog-window .volt-card-tab-item-active .volt-catalog-tab-label,
#root .volt-catalog-window .volt-card-tab-item-active .volt-catalog-tab-label-default {
  color: #ffffff !important;
}

/* Corps / navigation */
#root .volt-catalog-window .volt-catalog-content-shell,
#root .volt-catalog-window .volt-catalog-content-shell.bg-light,
#root .volt-catalog-window .volt-catalog-content-shell.bg-white {
  background: #272737 !important;
  background-color: #272737 !important;
  color: #f4f2fc !important;
}
#root .volt-catalog-window .bg-light,
#root .volt-catalog-window .bg-white,
#root .volt-catalog-window .bg-gray-50,
#root .volt-catalog-window .bg-gray-100,
#root .volt-catalog-window .bg-body-secondary,
#root .volt-catalog-window .bg-muted,
#root .volt-catalog-window .card,
#root .volt-catalog-window .container-fluid {
  background-color: #272737 !important;
  color: #f4f2fc !important;
}
#root .volt-catalog-window .text-muted,
#root .volt-catalog-window .text-dark,
#root .volt-catalog-window .text-body,
#root .volt-catalog-window .text-black {
  color: #b5b2c7 !important;
}
#root .volt-catalog-window .volt-catalog-sidebar {
  background: #272737 !important;
  border-right: 1px solid #414056 !important;
}
#root .volt-catalog-window .volt-catalog-navigation-item {
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: #f4f2fc !important;
  padding: 4px 6px !important;
}
#root .volt-catalog-window .volt-catalog-navigation-item:hover {
  background: #303044 !important;
  border-color: #a58aff !important;
}
#root .volt-catalog-window .volt-catalog-navigation-item.is-selected,
#root .volt-catalog-window .volt-catalog-navigation-item.is-active {
  background: #3b3355 !important;
  border-color: #7966b4 !important;
  color: #ffffff !important;
}
#root .volt-catalog-window .volt-catalog-navigation-label,
#root .volt-catalog-window .volt-catalog-navigation-label-normal {
  color: #f4f2fc !important;
}

/* Grille d'articles */
#root .volt-catalog-window .layout-grid-item,
#root .volt-catalog-window .volt-catalog-grid .layout-grid-item {
  border: 1px solid #414056 !important;
  border-radius: 12px !important;
  background-color: #272737 !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: auto !important;
  color: #f4f2fc !important;
}
#root .volt-catalog-window .layout-grid-item:hover {
  border-color: #a58aff !important;
  background-color: #303044 !important;
}
#root .volt-catalog-window .layout-grid-item.is-selected {
  border-color: #a58aff !important;
  background-color: #3b3355 !important;
}
#root .volt-catalog-window .volt-catalog-standard-header {
  border-radius: 12px 12px 0 0 !important;
  overflow: hidden !important;
}
#root .volt-catalog-window .volt-catalog-price-box,
#root .volt-catalog-window .volt-catalog-standard-price-pill,
#root .volt-catalog-window .volt-catalog-price-frame {
  background: #303044 !important;
  border: 1px solid #414056 !important;
  border-radius: 8px !important;
  color: #f4f2fc !important;
}
#root .volt-catalog-window input,
#root .volt-catalog-window textarea,
#root .volt-catalog-window select {
  background-color: #1f1f2b !important;
  border: 1px solid #414056 !important;
  border-radius: 8px !important;
  color: #f4f2fc !important;
}
#root .volt-catalog-window .volt-catalog-search-input {
  color: #f4f2fc !important;
}
#root .volt-catalog-window .btn,
#root .volt-catalog-window button {
  border-radius: 8px !important;
}
#root .volt-catalog-window .volt-catalog-standard-buy-button,
#root .volt-catalog-window .volt-catalog-purchase-confirm-button,
#root .volt-catalog-window .volt-catalog-buy-caption {
  background: #3b3355 !important;
  border: 1px solid #7966b4 !important;
  color: #ffffff !important;
  border-radius: 9px !important;
}
#root .volt-catalog-window .volt-catalog-standard-buy-button:hover,
#root .volt-catalog-window .volt-catalog-purchase-confirm-button:hover {
  background: #4a4070 !important;
  border-color: #a58aff !important;
}

/* Le cadre "classic" beige est un border-image sur ::before -> on le retire */
#root .volt-catalog-window::before,
#root .volt-catalog-window::after,
#root .volt-catalog-window .volt-catalog-grid-shell::before,
#root .volt-catalog-window .volt-catalog-grid-shell::after,
#root .volt-catalog-window .volt-card-content-shell::before,
#root .volt-catalog-window .volt-card-content-shell::after {
  border-image: none !important;
  border-image-source: none !important;
  background: none !important;
  content: none !important;
  display: none !important;
}

/* ============================================================
   13b. CATALOGUE : geometrie exacte de KabboRP
        630x522, header 40, recherche jaune, onglets 38,
        nav 166 sombre, contenu #151a23.
   ============================================================ */
#root .volt-catalog-window {
  width: 630px !important;
  min-width: 630px !important;
  max-width: 630px !important;
  height: 522px !important;
  min-height: 522px !important;
  max-height: 522px !important;
  background: rgb(31, 37, 50) !important;
  border: 3px solid rgb(46, 51, 77) !important;
  border-radius: 12px !important;
  color: #eef3f8 !important;
  font-size: 14.4px !important;
}
#root .volt-catalog-window .volt-card-header-shell {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 15px !important;
  background: rgb(31, 37, 50) !important;
  border: 0 !important;
  border-radius: 12px 12px 0 0 !important;
}
#root .volt-catalog-window .volt-catalog-title {
  font-size: 14.4px !important;
  font-weight: 400 !important;
  color: #eef3f8 !important;
}
#root .volt-catalog-window .volt-card-tabs-shell {
  width: 594px !important;
  min-height: 42px !important;
  height: 42px !important;
  margin: 58px 15px 0 !important;
  padding: 4px 0 0 !important;
  gap: 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  justify-content: flex-start !important;
}
#root .volt-catalog-window .volt-card-tab-item {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  background: rgb(31, 37, 50) !important;
  border: 1px solid rgb(87, 104, 142) !important;
  border-radius: 12px !important;
  color: rgb(220, 228, 238) !important;
  font-size: 14px !important;
}
#root .volt-catalog-window .volt-card-tab-item-active {
  background: rgb(87, 104, 142) !important;
  color: #ffffff !important;
}
#root .volt-catalog-window .volt-catalog-tab-label,
#root .volt-catalog-window .volt-catalog-tab-label-default {
  color: inherit !important;
}
#root .volt-catalog-window .volt-catalog-content-shell {
  padding: 15px !important;
  gap: 12px !important;
  background: rgb(31, 37, 50) !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden !important;
}
#root .volt-catalog-window .volt-catalog-sidebar,
#root .volt-catalog-window .volt-catalog-navigation-shell,
#root .volt-catalog-window .volt-catalog-navigation-scroll-area {
  width: 166px !important;
  min-width: 166px !important;
  max-width: 166px !important;
  background: rgb(21, 26, 35) !important;
  border: 3px solid rgb(46, 51, 77) !important;
  border-radius: 12px !important;
  padding: 11px 11px 11px 0 !important;
  overflow: hidden auto !important;
}
#root .volt-catalog-window .volt-catalog-navigation-shell::before,
#root .volt-catalog-window .volt-catalog-navigation-shell::after {
  display: none !important;
  border-image: none !important;
  background: none !important;
}
#root .volt-catalog-window .volt-catalog-navigation-item {
  min-height: 26px !important;
  padding: 1px 3px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #eef3f8 !important;
  font-size: 12.6px !important;
  text-transform: uppercase !important;
}
#root .volt-catalog-window .volt-catalog-navigation-item:hover,
#root .volt-catalog-window .volt-catalog-navigation-item.is-selected,
#root .volt-catalog-window .volt-catalog-navigation-item.is-active {
  background: rgb(87, 104, 142) !important;
  color: #ffffff !important;
}
#root .volt-catalog-window .volt-catalog-navigation-item img,
#root .volt-catalog-window .volt-catalog-navigation-icon {
  width: 20px !important;
  height: 20px !important;
}
#root .volt-catalog-window .volt-catalog-navigation-label,
#root .volt-catalog-window .volt-catalog-navigation-label-normal {
  color: #eef3f8 !important;
  font-size: 12.6px !important;
  text-transform: uppercase !important;
}
/* Barre de recherche jaune, pleine largeur au-dessus des onglets */
#root .volt-catalog-window .volt-catalog-search-shell {
  position: absolute !important;
  top: 55px !important;
  left: 15px !important;
  width: 594px !important;
  min-width: 594px !important;
  height: 35px !important;
  padding: 0 10px !important;
  z-index: 6 !important;
  background: rgb(238, 184, 14) !important;
  background-image: none !important;
  border: 3px solid rgb(46, 51, 77) !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}
#root .volt-catalog-window .volt-catalog-search-shell::before,
#root .volt-catalog-window .volt-catalog-search-shell::after {
  display: none !important;
  background: none !important;
  border-image: none !important;
}
#root .volt-catalog-window .volt-catalog-search-input {
  width: 100% !important;
  height: 29px !important;
  min-height: 29px !important;
  padding: 0 10px !important;
  background: rgb(31, 37, 50) !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 14px !important;
}
#root .volt-catalog-window .volt-catalog-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}
#root .volt-catalog-window .volt-catalog-search-pen {
  background-image: none !important;
  width: 18px !important;
  height: 18px !important;
}
/* Panneau de droite + tuiles */
#root .volt-catalog-window .volt-catalog-stage,
#root .volt-catalog-window .volt-catalog-grid-shell,
#root .volt-catalog-window .volt-catalog-product-view {
  background: rgb(21, 26, 35) !important;
  border-radius: 12px !important;
  padding: 8px !important;
}
#root .volt-catalog-window .layout-grid-item {
  background-color: transparent !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  color: #eef3f8 !important;
}
#root .volt-catalog-window .layout-grid-item.is-selected {
  background-color: rgba(87, 104, 142, 0.22) !important;
  border-color: rgb(87, 104, 142) !important;
}
/* Barre du bas "Select an item" */
#root .volt-catalog-window .volt-catalog-purchase-selection-prompt {
  background: rgb(21, 26, 35) !important;
  border: 3px solid rgb(46, 51, 77) !important;
  border-radius: 12px !important;
  color: #eef3f8 !important;
}
#root .volt-catalog-window .volt-catalog-purchase-selection-prompt::before,
#root .volt-catalog-window .volt-catalog-purchase-selection-prompt::after {
  display: none !important;
  background: none !important;
  border-image: none !important;
}
#root .volt-catalog-window .volt-catalog-purchase-selection-text {
  color: #eef3f8 !important;
  font-size: 14px !important;
}
#root .volt-catalog-window .volt-catalog-purchase-selection-prompt * {
  background-color: transparent !important;
  color: #eef3f8 !important;
}
/* Bouton fermer blanc, comme KabboRP */
#root .volt-catalog-window .volt-card-close-button,
#root .volt-catalog-window [class*="close"] {
  width: 20px !important;
  height: 20px !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  color: rgb(31, 37, 50) !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .volt-catalog-window .volt-card-close-button > * {
  visibility: hidden !important;
}
#root .volt-catalog-window .volt-card-close-button::after {
  content: '×';
  color: rgb(31, 37, 50);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
/* Barre "Select an item" : le visuel est un CANVAS -> on le remplace par du texte DOM */
#root .volt-catalog-window .volt-catalog-purchase-selection-text canvas {
  display: none !important;
}
#root .volt-catalog-window .volt-catalog-purchase-selection-text::after {
  content: 'Sélectionnez un article';
  color: #eef3f8;
  font-size: 14px;
}
#root .volt-catalog-window .volt-catalog-purchase-selection-prompt,
#root .volt-catalog-window .volt-catalog-purchase-selection-prompt * {
  border-image: none !important;
  background-image: none !important;
}
#root .volt-catalog-window .volt-catalog-purchase-selection-prompt {
  background-color: rgb(21, 26, 35) !important;
  border: 3px solid rgb(46, 51, 77) !important;
  border-radius: 12px !important;
}
/* Un seul cadre pour la navigation */
#root .volt-catalog-window .volt-catalog-navigation-scroll-area,
#root .volt-catalog-window .volt-classic-scroll-area.volt-catalog-navigation-scroll {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
/* × visible dans le bouton fermer */
#root .volt-catalog-window [class*="close"]::after {
  content: '×' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  width: 20px !important;
  height: 20px !important;
  color: rgb(31, 37, 50) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
#root .volt-catalog-window .volt-card-close-button * {
  visibility: hidden !important;
}
/* Champ de recherche : largeur comme KabboRP (barre jaune bien visible) */
#root .volt-catalog-window .volt-catalog-search-input {
  width: 477px !important;
  margin-left: 10px !important;
}
/* Ascenseurs sombres dans le catalogue */
#root .volt-catalog-window .volt-classic-scrollbar,
#root .volt-catalog-window .volt-classic-scrollbar-thumb,
#root .volt-catalog-window .volt-classic-scrollbar-track {
  background: rgb(21, 26, 35) !important;
  border-color: rgb(46, 51, 77) !important;
}
#root .volt-catalog-window .volt-classic-scrollbar-thumb {
  background: rgb(58, 69, 95) !important;
  border-radius: 6px !important;
}
#root .volt-catalog-window .volt-classic-scrollbar img {
  visibility: hidden !important;
}
#root .volt-catalog-window .volt-classic-scroll-area::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}
#root .volt-catalog-window .volt-classic-scroll-area::-webkit-scrollbar-track {
  background: rgb(21, 26, 35) !important;
}
#root .volt-catalog-window .volt-classic-scroll-area::-webkit-scrollbar-thumb {
  background: rgb(58, 69, 95) !important;
  border-radius: 4px !important;
}

/* Fermer : croix CSS propre + suppression des sprites */
#root .volt-catalog-window .volt-card-close-button {
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 4px !important;
}
#root .volt-catalog-window .volt-card-close-button * {
  display: none !important;
}
#root .volt-catalog-window .volt-card-close-button::before {
  content: '✕' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  color: rgb(31, 37, 50) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  visibility: visible !important;
}
#root .volt-catalog-window .volt-card-close-button::after {
  display: none !important;
}
/* Un seul cadre de navigation + pas de barre blanche */
#root .volt-catalog-window .volt-catalog-sidebar {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
#root .volt-catalog-window .volt-classic-scrollbar {
  display: none !important;
}

/* ============================================================
   14. TELEPHONE RP (iKabbo) : vraie interface + emote au clic
   ============================================================ */
#kb-rp-phone-modal {
  position: fixed;
  right: 16px;
  bottom: 74px;
  width: 268px;
  height: 500px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: 8px 10px 12px;
  background: #0f1117;
  border: 3px solid #3a455f;
  border-radius: 30px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  color: #f3f1fb;
  font-family: "Montserrat", Ubuntu, sans-serif;
}
#kb-rp-phone-modal[hidden] { display: none !important; }
.kb-phone-head {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 11px;
  color: #9aa6ba;
}
.kb-phone-title { font-weight: 700; color: #f3f1fb; letter-spacing: .03em; }
.kb-phone-close {
  width: 20px; height: 20px; border-radius: 6px; border: 0;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-weight: 700;
}
.kb-phone-close:hover { background: #e5556a; }
.kb-phone-screen {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1b2233 0%, #10141d 100%);
  border: 1px solid rgba(255,255,255,.06);
  overflow: auto;
}
.kb-phone-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 4px; }
.kb-phone-app {
  background: transparent; border: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; color: #dfe6f3; font-size: 9px; font-family: inherit;
}
.kb-phone-app img {
  width: 46px; height: 46px; object-fit: contain; border-radius: 12px;
  transition: transform .12s ease;
}
.kb-phone-app:hover img { transform: scale(1.07); }
.kb-phone-app span { line-height: 1; }
.kb-phone-dock {
  margin-top: auto;
  display: flex; justify-content: center; gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.kb-phone-dock .kb-phone-app img { width: 40px; height: 40px; }

/* ============================================================
   15. INTERFACES RP : Emplois / Boutique / Casino
   ============================================================ */
.kb-rp-panel {
  position: fixed;
  right: 300px;
  bottom: 74px;
  width: 340px;
  max-height: 520px;
  z-index: 96;
  display: flex;
  flex-direction: column;
  background: rgba(25, 28, 39, 0.98);
  border: 2px solid rgb(58, 69, 95);
  border-radius: 14px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  color: #f3f1fb;
  font-family: "Montserrat", Ubuntu, sans-serif;
  overflow: hidden;
}
.kb-rp-panel[hidden] { display: none !important; }
.kb-rp-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  background: rgb(31, 37, 50);
  border-bottom: 1px solid rgb(58, 69, 95);
  font-size: 13px; font-weight: 700;
}
.kb-rp-panel-close {
  width: 22px; height: 22px; border-radius: 6px; border: 0;
  background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; font-weight: 700;
}
.kb-rp-panel-close:hover { background: #e5556a; }
.kb-rp-panel-body { padding: 8px 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.kb-rp-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 8px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(159, 212, 255, 0.12);
}
.kb-rp-row small { display: block; color: #9aa6ba; font-size: 10px; margin-top: 2px; }
.kb-rp-btn {
  background: rgb(87, 104, 142); border: 1px solid rgb(121, 102, 180);
  color: #fff; border-radius: 8px; padding: 5px 10px;
  font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.kb-rp-btn:hover { background: rgb(121, 102, 180); }
.kb-rp-casino-block {
  padding: 8px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(159, 212, 255, 0.12);
  display: flex; flex-direction: column; gap: 6px;
}
.kb-rp-wheel {
  width: 110px; height: 110px; margin: 4px auto;
  border-radius: 50%;
  border: 6px solid #2e334d;
  background: conic-gradient(#c62828 0 14%, #111 14% 28%, #c62828 28% 42%, #111 42% 56%,
    #c62828 56% 70%, #111 70% 84%, #c62828 84% 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
.kb-rp-cards { display: flex; justify-content: center; gap: 6px; }
.kb-rp-cards span {
  width: 34px; height: 46px; border-radius: 5px;
  background: #f4f4f4; color: #111;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.kb-rp-card-hidden { background: #57688e !important; color: #fff !important; }
.kb-rp-bet {
  width: 90px; height: 28px; padding: 0 8px;
  background: #1f2532; border: 1px solid #3a455f; border-radius: 8px;
  color: #fff; font-size: 12px;
}

/* ============================================================
   16. EDITEUR D'AVATAR : disposition KabboRP
       fenetre sombre 620x374, onglets texte, grille 50x50
   ============================================================ */
#root .volt-avatar-editor {
  width: 620px !important;
  min-width: 620px !important;
  max-width: 620px !important;
  height: 374px !important;
  min-height: 374px !important;
  max-height: 374px !important;
  background: rgba(20, 20, 24, 0.92) !important;
  border: 3px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 4px !important;
  color: #eef3f8 !important;
}
#root .volt-avatar-editor .avatar-editor-tabs {
  justify-content: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 1 1 0 !important;
  height: 32px !important;
  min-height: 0 !important;
  max-height: 32px !important;
  padding: 0 4px !important;
  background: #2a3442 !important;
  border: 0 !important;
  border-right: 1px solid #1a212b !important;
  border-radius: 0 !important;
  color: #dfe6ee !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item .volt-card-tab-item-label {
  display: none !important;
}
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item-active {
  background: #1a212b !important;
  border-color: #1a212b !important;
  color: #ffffff !important;
}
#root .volt-avatar-editor .volt-avatar-editor-main-tab-icon {
  display: none !important;
}
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item::after {
  white-space: nowrap;
  line-height: 1;
}
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(1)::after { content: 'Visage et corps'; }
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(2)::after { content: 'Tête'; }
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(3)::after { content: 'Torse'; }
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(4)::after { content: 'Jambes'; }
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(8)::after { content: 'Garde robe'; }
/* On garde les 5 categories Habbox/KabboRP */
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(5),
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(6),
#root .volt-avatar-editor .avatar-editor-tabs .volt-card-tab-item:nth-child(7) {
  display: none !important;
}
/* En-tete sombre de la fenetre d'edition */
#root .kb-editor-shell {
  background: #1f2733 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
}
#root .kb-editor-shell .volt-card-header-shell {
  background: #1a212b !important;
  border: 0 !important;
}

/* Neutralisation complete de la peau "classic" claire */
#root .kb-editor-shell::before,
#root .kb-editor-shell::after,
#root .volt-avatar-editor::before,
#root .volt-avatar-editor::after,
#root .volt-avatar-editor-stage::before,
#root .volt-avatar-editor-stage::after {
  border-image: none !important;
  border-image-source: none !important;
  background: none !important;
  content: none !important;
  display: none !important;
}
#root .volt-avatar-editor-stage {
  background: #1f2733 !important;
}
#root .volt-avatar-editor [class*="wardrobe"],
#root .volt-avatar-editor .volt-card-content-shell,
#root .volt-avatar-editor [class*="palette"]:not(.avatar-editor-palette-color):not(.avatar-editor-palette-frame):not(.avatar-editor-palette-item),
#root .volt-avatar-editor .volt-avatar-editor-tab-row {
  background-color: #1f2733 !important;
  border-color: #2f3947 !important;
  color: #eef3f8 !important;
}
#root .volt-avatar-editor .volt-avatar-editor-wardrobe-toggle {
  border-image: none !important;
  border-image-source: none !important;
  background: rgba(0, 0, 0, 0.42) !important;
  color: #eef3f8 !important;
}
#root .volt-avatar-editor .volt-classic-scroll-area,
#root .volt-avatar-editor .volt-classic-scroll-area-viewport,
#root .volt-avatar-editor .volt-avatar-editor-parts-grid {
  background: #1f2733 !important;
  background-image: none !important;
}
/* Titre : "Changer d'apparence" */
#root .volt-avatar-editor-title canvas {
  display: none !important;
}
#root .volt-avatar-editor-title::after {
  content: "Changer d'apparence";
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}
/* ============================================================
   16b. DISPOSITION HABBCO : onglets, sous-categories, grille 3 col,
        apercu au centre, palette a droite.
   ============================================================ */
#root .volt-avatar-editor-main,
#root .volt-avatar-editor-model,
#root .volt-avatar-editor-stage {
  width: 612px !important;
  min-width: 612px !important;
  flex: 0 0 612px !important;
}
#root .volt-avatar-editor-stage {
  position: relative !important;
  height: 302px !important;
  overflow: hidden !important;
}
/* La fenetre fait 620x374 : le contenu tient en 302px, sans scroll */
#root .kb-editor-shell .volt-card-content-shell {
  height: 302px !important;
  max-height: 302px !important;
  overflow: hidden !important;
  position: relative !important;
}
#root .volt-avatar-editor-nameplate {
  display: none !important;
}
#root .volt-avatar-editor-tab-row {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  height: 32px !important;
  min-height: 32px !important;
  width: 100% !important;
}
#root .volt-avatar-editor-tab-row .avatar-editor-tabs,
#root .volt-avatar-editor .volt-card-tabs-shell {
  width: 100% !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 0 !important;
}
/* Colonne genre a gauche : boutons ronds comme Habbox */
#root .volt-avatar-editor .volt-avatar-editor-subcategories.is-gender {
  position: absolute !important;
  top: 44px !important;
  left: 24px !important;
  width: 34px !important;
  height: 96px !important;
  flex-direction: column !important;
  gap: 10px !important;
  overflow: visible !important;
}
#root .volt-avatar-editor .volt-avatar-editor-subcategories.is-gender .category-item {
  width: 34px !important;
  height: 40px !important;
  min-width: 34px !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .volt-avatar-editor .volt-avatar-editor-subcategories.is-gender .volt-avatar-editor-gender-text {
  display: none !important;
}
#root .volt-avatar-editor .volt-avatar-editor-subcategories.is-gender .avatar-editor-icon {
  display: none !important;
}
#root .volt-avatar-editor .volt-avatar-editor-subcategories.is-gender .category-item::before {
  font-size: 26px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}
#root .volt-avatar-editor .volt-avatar-editor-subcategories.is-gender .category-item:nth-child(1)::before {
  content: "\2642";
  color: #3d9be9;
}
#root .volt-avatar-editor .volt-avatar-editor-subcategories.is-gender .category-item:nth-child(2)::before {
  content: "\2640";
  color: #8c98a4;
}
#root .volt-avatar-editor .volt-avatar-editor-subcategories:not(.is-gender) {
  position: absolute !important;
  top: 34px !important;
  left: 90px !important;
  width: 170px !important;
  justify-content: space-between !important;
}
#root .volt-avatar-editor-parts-grid {
  position: absolute !important;
  top: 74px !important;
  left: 90px !important;
  width: 168px !important;
  height: 224px !important;
}
#root .volt-avatar-editor-parts-grid .grid {
  grid-template-columns: repeat(3, 50px) !important;
}
#root .volt-avatar-editor .volt-avatar-editor-parts-grid .grid > * {
  background: #2a3442 !important;
  border: 1px solid #354151 !important;
  border-radius: 8px !important;
}
#root .volt-avatar-editor-palettes {
  position: absolute !important;
  top: 34px !important;
  left: 275px !important;
  right: auto !important;
  width: 186px !important;
  height: 250px !important;
  overflow: hidden !important;
}
/* Grande palette Habbox : 5 colonnes de grosses pastilles */
#root .volt-avatar-editor .avatar-editor-palette-set-view,
#root .volt-avatar-editor .avatar-editor-palette-grid {
  width: 192px !important;
  height: 258px !important;
  grid-template-columns: repeat(5, 36px) !important;
  grid-auto-rows: 36px !important;
  gap: 2px !important;
}
#root .volt-avatar-editor .avatar-editor-palette-item {
  width: 36px !important;
  height: 36px !important;
  border-radius: 7px !important;
}
#root .volt-avatar-editor .avatar-editor-palette-color,
#root .volt-avatar-editor .avatar-editor-palette-frame {
  width: 32px !important;
  height: 32px !important;
  top: 2px !important;
  left: 2px !important;
  border-radius: 6px !important;
}
/* Bouton vert "Se changer", comme Habbox */
#root .volt-avatar-editor-save {
  position: absolute !important;
  left: auto !important;
  top: auto !important;
  right: 6px !important;
  bottom: 6px !important;
  z-index: 40 !important;
  width: 130px !important;
  height: 34px !important;
  background: #3fbf7f !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
#root .volt-avatar-editor-save > * {
  display: none !important;
}
#root .volt-avatar-editor-save::after {
  content: "Se changer";
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
/* Controles sous l'avatar : retour, poubelle, aleatoire */
#root .kabbo-editor-actions {
  position: absolute !important;
  left: 470px !important;
  bottom: 34px !important;
  width: 130px !important;
  height: 24px !important;
  display: flex !important;
  gap: 4px !important;
  z-index: 45 !important;
}
#root .kabbo-editor-actions .kabbo-action-btn {
  flex: 1 1 0 !important;
  height: 24px !important;
  padding: 0 !important;
  background: #2a3442 !important;
  border: 1px solid #354151 !important;
  border-radius: 4px !important;
  color: #e8eef6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
#root .kabbo-editor-actions .kabbo-action-btn:hover {
  background: #354151 !important;
}
/* Deux fleches de rotation aux pieds de l'avatar */
#root .kabbo-rotate-left,
#root .kabbo-rotate-right {
  position: absolute !important;
  top: 214px !important;
  width: 26px !important;
  height: 26px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(20, 27, 38, 0.85) !important;
  border: 1px solid #354151 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 45 !important;
}
#root .kabbo-rotate-left {
  left: 472px !important;
}
#root .kabbo-rotate-right {
  left: 564px !important;
}
#root .volt-avatar-editor-preview-shell {
  position: absolute !important;
  top: 34px !important;
  left: 470px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
/* Pas de panneau lateral : la garde-robe est une grille sur l'onglet */
#root .volt-avatar-editor-wardrobe,
#root .volt-avatar-editor-wardrobe-toggle {
  display: none !important;
}
/* Grille de garde-robe Habbox (cartes 101x140) */
#root .kabbo-wardrobe-overlay {
  position: absolute !important;
  left: 0 !important;
  top: 36px !important;
  width: 460px !important;
  height: 266px !important;
  padding: 6px 8px !important;
  background: #1f2733 !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  z-index: 30 !important;
  display: none;
}
#root .kabbo-wardrobe-overlay.is-open {
  display: block !important;
}
#root .kabbo-wardrobe-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 102px) !important;
  gap: 8px !important;
}
#root .volt-avatar-editor .kabbo-wardrobe-overlay .kabbo-wardrobe-card {
  position: relative !important;
  width: 102px !important;
  height: 140px !important;
  background: #677181 !important;
  background-color: #677181 !important;
  border: 0 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  cursor: pointer !important;
  overflow: hidden !important;
}
#root .kabbo-wardrobe-card::before {
  content: "" !important;
  position: absolute !important;
  left: 12% !important;
  right: 12% !important;
  bottom: 30px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 70%) !important;
}
#root .kabbo-wardrobe-card:hover {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25) !important;
}
#root .kabbo-wardrobe-card img {
  position: relative !important;
  z-index: 1 !important;
  width: 90px !important;
  height: 112px !important;
  margin-top: 4px !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
  pointer-events: none !important;
}
#root .volt-avatar-editor .kabbo-wardrobe-overlay .kabbo-wardrobe-save {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 27px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  background: transparent !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 2 !important;
}
/* La sous-page "Avatar Collectibles" de l'onglet Garde robe est remplacee
   par notre grille de cartes : on la masque completement. */
#root .volt-avatar-editor-hotlooks,
#root .volt-avatar-editor-nfts {
  display: none !important;
}
/* Petit toast de confirmation */
#root .kb-toast {
  position: fixed !important;
  left: 50% !important;
  bottom: 96px !important;
  transform: translateX(-50%) !important;
  background: rgba(20, 27, 38, 0.96) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-family: sans-serif !important;
  z-index: 99999 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
}
/* Fond general de la fenetre d'edition */
#root .kb-editor-shell .volt-card-content-shell {
  background: #1f2733 !important;
}




/* ============================================================
   Menu de l'avatar (au-dessus du personnage) style Habbox
   ============================================================ */
#root .volt-avatar-action-menu {
  background: #1c323f !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.063), 0 12px 32px rgba(0, 0, 0, 0.5) !important;
  padding-bottom: 2px !important;
  color: #ffffff !important;
  overflow: visible !important;
  min-width: 125px !important;
}
#root .volt-avatar-action-menu::after {
  content: "" !important;
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 13px;
  height: 13px;
  background: #1c323f;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: translateX(-50%) rotate(45deg);
}
#root .volt-avatar-action-menu .volt-context-menu-header {
  background: transparent !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 8px 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item {
  color: #ffffff !important;
  font-size: 12.6px !important;
  font-weight: 400 !important;
  height: 24px !important;
  padding: 0 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  position: relative !important;
  white-space: nowrap !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item:last-child {
  border-bottom: 0 !important;
}
/* Centrage exact des items sous le pseudo, comme KabboRP */
#root .volt-avatar-action-menu {
  width: 125px !important;
  min-width: 125px !important;
}
#root .volt-avatar-action-menu .air-avatar-menu-buttons {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item {
  width: 117px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  justify-content: center !important;
}
#root .volt-avatar-action-menu .volt-context-menu-header {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item:hover {
  background: rgba(255, 255, 255, 0.07) !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item[data-kb-submenu]::after {
  content: "" !important;
  display: inline-block !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  margin-left: 3px !important;
  width: 6px;
  height: 6px;
  border-top: 2px solid #cfd8e3;
  border-right: 2px solid #cfd8e3;
  color: transparent;
  font-size: 0;
  transform: rotate(45deg);
}
#root .volt-avatar-action-menu .volt-context-menu-item[data-kb-decorate]::before {
  content: "";
}

/* ============================================================
   Carte profil style KabboRP : fond noir, bordure violette,
   avatar agrandi, mission editable conservee, vieux scores masques
   ============================================================ */
#root .volt-infostand {
  width: 190px !important;
  height: auto !important;
  min-height: 0 !important;
  background: #1c1c21 !important;
  border: 2px solid #8b5cf6 !important;
  border-radius: 24px !important;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.35), 0 12px 32px rgba(0, 0, 0, 0.5) !important;
  padding: 10px 10px 11px !important;
  box-sizing: border-box !important;
}
#root .volt-infostand,
#root .volt-infostand * {
  font-family: Arial, Helvetica, sans-serif !important;
}
#root .volt-infostand__header {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ffffff !important;
}
/* Icone profil KabboRP a cote du pseudo (sans les etoiles) */
#root .volt-infostand__home {
  width: 13px !important;
  height: 11px !important;
  flex: 0 0 13px !important;
  overflow: hidden !important;
  background-image: url('/rp-assets/kabbo-profile-icon.png') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 13px 11px !important;
}
#root .volt-infostand__home img {
  display: none !important;
}
#root .volt-infostand__identity,
#root .volt-infostand__identity .text-white {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}
#root .volt-infostand__rule {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  margin: 6px 0 !important;
}
#root .volt-infostand__figure-row {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  height: 130px !important;
  margin: 0 !important;
}
#root .volt-infostand__avatar-well {
  width: 100% !important;
  height: 130px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  background: transparent !important;
}
#root .volt-infostand__avatar {
  top: auto !important;
  left: auto !important;
  position: relative !important;
  width: 92px !important;
  height: 126px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
}
#root .volt-infostand__avatar .avatar-image,
#root .volt-infostand__avatar img {
  height: 120px !important;
  width: auto !important;
}
#root .volt-infostand__badges,
#root .volt-infostand__score,
#root .volt-infostand__relationships {
  display: none !important;
}
#root .volt-infostand__motto--box {
  position: relative !important;
  margin-top: 6px !important;
  padding: 6px 7px !important;
  background: #171a24 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}
#root .volt-infostand::before {
  display: none !important;
  content: none !important;
  border-image: none !important;
  border-image-source: none !important;
  background: none !important;
}
#root .volt-infostand__motto--box::before {
  content: none !important;
  display: none !important;
}
#root .volt-infostand__motto-text {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}
#root .volt-infostand__pen {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.9 !important;
  filter: brightness(0) invert(1) !important;
}

/* ============================================================
   Bulle de nom au survol : interieur beige, contour blanc,
   sans calque de skin ni fond gris/noir, texte propre.
   ============================================================ */
#root .air-name-bubble {
  background: #f3e3c3 !important;
  border: 2px solid #ffffff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 2px 8px !important;
  width: 96px !important;
  min-width: 96px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
#root .air-name-bubble::before,
#root .air-name-bubble::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
#root .air-name-bubble .air-name-bubble__name {
  width: auto !important;
  height: auto !important;
}
#root .air-name-bubble .air-name-bubble__name canvas {
  display: none !important;
}
#root .air-name-bubble .air-name-bubble__name > span {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip-path: none !important;
  white-space: nowrap !important;
  color: #1c1c21 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Pas de gros bandeau de categorie (KabboRP affiche directement le contenu) */
#root .volt-catalog-window .volt-catalog-standard-header {
  display: none !important;
}

/* Les libelles sont dessines en canvas avec un fond clair : on les remplace
   par le texte DOM cache, en blanc sur fond sombre. */
#root .volt-catalog-window .volt-catalog-navigation-label canvas,
#root .volt-catalog-window .volt-catalog-tab-label canvas,
#root .volt-catalog-window .volt-catalog-tab-label-hover canvas {
  display: none !important;
}
#root .volt-catalog-window .volt-catalog-navigation-label-normal,
#root .volt-catalog-window .volt-catalog-tab-label-default,
#root .volt-catalog-window .volt-catalog-tab-label-hover {
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: nowrap !important;
  color: #eef3f8 !important;
  font-size: 12.6px !important;
  background: none !important;
}
#root .volt-catalog-window .volt-catalog-navigation-label-normal *,
#root .volt-catalog-window .volt-catalog-tab-label-default *,
#root .volt-catalog-window .volt-catalog-tab-label-hover * {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: nowrap !important;
  color: inherit !important;
  background: none !important;
}




/* La recherche se positionne par rapport a la fenetre, pas au contenu */
#root .volt-catalog-window .volt-card-content-shell {
  position: static !important;
}
/* Titre dessine en canvas -> titre DOM lisible */
#root .volt-catalog-window .volt-catalog-title canvas {
  display: none !important;
}
#root .volt-catalog-window .volt-catalog-title::after {
  content: 'Boutique';
  color: #eef3f8;
  font-size: 14.4px;
  font-weight: 400;
  white-space: nowrap;
}

/* ============================================================
   HUD style barre de chat : navy sombre, arrondis, texte clair
   ============================================================ */
#root .tb-open-shell,
#root .tb-friendtools,
#kb-rp-dock,
#root .volt-purse__chrome,
#root .volt-purse-seasonal-currency,
#root .volt-event-info {
  background: rgb(31, 37, 50) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  color: #f3f1fb !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}
#root .tb-slot {
  background: rgba(31, 37, 50, 0.92) !important;
  border: 2px solid rgba(255, 255, 255, 0.18) !important;
  color: #f3f1fb !important;
}
#root .tb-slot:hover {
  background: rgba(46, 55, 76, 0.95) !important;
}
#root .tb-memenu-bg {
  background: radial-gradient(circle, rgba(146, 116, 241, 0.28) 0%, rgba(31, 37, 50, 0.95) 100%) !important;
}
#root .volt-purse__btn,
#root .volt-purse-container .volt-purse-button {
  background: rgb(38, 45, 62) !important;
  border: 1px solid rgb(58, 69, 95) !important;
  color: #f3f1fb !important;
}
#root .volt-purse__btn span,
#root .volt-purse-button__amount {
  color: #f3f1fb !important;
}
#root .volt-event-info__text {
  color: #f3f1fb !important;
}
#kb-rp-dock .kb-rp-clock {
  background: rgba(8, 13, 20, 0.65) !important;
  color: #9fe3ff !important;
  border: 1px solid rgb(58, 69, 95) !important;
}
#kb-rp-dock .kb-rp-loc-id {
  color: #ff5a6e !important;
}
#root .volt-purse-seasonal-currency .kb-rp-ring-bg {
  stroke: rgba(255, 255, 255, 0.18) !important;
}

/* Aide / Reglage : deux boutons propres et alignes */
#root .volt-purse__btn--help,
#root .volt-purse__btn--icon {
  width: 40px !important;
  height: 19px !important;
  min-height: 19px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: rgb(38, 45, 62) !important;
  border: 1px solid rgb(58, 69, 95) !important;
}
#root .volt-purse__btn--help img,
#root .volt-purse__btn--icon img,
#root .volt-purse__btn--help svg,
#root .volt-purse__btn--icon svg {
  display: block !important;
}

/* Menu avatar : navy comme la barre de chat */
#root .volt-avatar-action-menu {
  background: rgb(31, 37, 50) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  color: #f3f1fb !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45) !important;
}
#root .volt-avatar-action-menu::after {
  background: rgb(31, 37, 50) !important;
  border-color: rgb(58, 69, 95) !important;
}
#root .volt-avatar-action-menu .volt-context-menu-header {
  color: #f3f1fb !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item {
  color: #f3f1fb !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item:hover {
  background: rgba(87, 104, 142, 0.35) !important;
}
#root .volt-avatar-action-menu .volt-context-menu-item[data-kb-submenu]::after {
  border-color: #cfd8e3 !important;
}

/* Carte joueur : navy, sans contour violet, texte de mission degage */
#root .volt-infostand {
  background: rgb(31, 37, 50) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  color: #f3f1fb !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
  outline: none !important;
}
#root .volt-infostand__identity,
#root .volt-infostand__identity .text-white {
  color: #f3f1fb !important;
}
#root .volt-infostand__rule {
  background: rgba(255, 255, 255, 0.08) !important;
}
#root .volt-infostand__motto--box {
  background: rgb(38, 45, 62) !important;
  border-color: rgb(58, 69, 95) !important;
  gap: 8px !important;
}
#root .volt-infostand__motto-text {
  color: #ffffff !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  padding-right: 2px !important;
}
#root .volt-infostand__pen {
  order: 2 !important;
  flex: 0 0 12px !important;
  margin-left: auto !important;
  filter: brightness(0) invert(1) !important;
}

/* Bulle de nom : beige/contour blanc conserve, texte DOM */
#root .air-name-bubble {
  background: #f3e3c3 !important;
  border: 2px solid #ffffff !important;
  border-radius: 10px !important;
  height: auto !important;
  min-height: 24px !important;
  padding: 2px 10px !important;
}
#root .air-name-bubble .air-name-bubble__name {
  display: none !important;
}
#root .air-name-bubble .kb-name-text {
  color: #4a3621 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* ============================================================
   Ajustements Habbox : mission, aide/reglage, purse, menu
   ============================================================ */
#root .volt-infostand__motto--box {
  align-items: center !important;
  gap: 6px !important;
}
#root .volt-infostand__pen {
  position: static !important;
  order: 0 !important;
  flex: 0 0 12px !important;
  margin: 0 6px 0 0 !important;
  filter: brightness(0) invert(1) !important;
}
#root .volt-infostand__motto-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #ffffff !important;
}
#root .volt-purse__btn--logout {
  display: none !important;
}
#root .volt-purse__col--actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}
#root .volt-purse__btn--help,
#root .volt-purse__btn--icon.volt-purse__btn--settings {
  width: 40px !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  background: #2e2742 !important;
  border: 1px solid #4a4166 !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .volt-purse__chrome {
  background: #241f33 !important;
  border-color: #4a4166 !important;
}
#root .volt-purse__btn {
  background: #2e2742 !important;
  border-color: #4a4166 !important;
}
#root .volt-avatar-action-menu {
  background: #1b2a38 !important;
  border-color: #cfd8e3 !important;
}
#root .volt-avatar-action-menu::after {
  background: #1b2a38 !important;
  border-color: #cfd8e3 !important;
}
#root .volt-purse__btn--settings .volt-purse__btn-img {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  filter: brightness(0) invert(1) !important;
}
#root .volt-purse__btn--help::before {
  content: "?";
  color: #f3f1fb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* Suppression des pastilles colorees des deux barres du bas */
#root .tb-open-shell .tb-slot,
#root .tb-open-shell .tb-slot.tb-slot-inventory,
#root .tb-open-shell .tb-slot.tb-slot-tall,
#root .tb-open-shell .tb-slot.tb-slot-memenu {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
#root .tb-open-shell .tb-slot:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}
#root .tb-memenu-bg {
  background: transparent !important;
}
#root #kb-rp-inv-btn,
#root #kb-rp-phone-btn {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Icones Habbox exactes pour Aide / Reglage */
#root .volt-purse__btn--help {
  background-color: #2e2742 !important;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAaCAYAAABsONZfAAAACXBIWXMAAAsSAAALEgHS3X78AAAAm0lEQVR42sWSwQ2AIAxF2ZIV3MHR2MCDE3Dizt2LqdZY0tAWRWNs8mKgPqk/uDlHV7MXEGpfE0IIkFI6nppoCoQmNgVLFP9whTreMjpYYSjg2hyvW3o0HoWA5JwF1PtRehU5fpkXri8j75KwMZ1E7wu0J67Ra4kLXFQv7J0SkX8v8QBaQfBAhGQFISTtRbo2xr5+Si2Jk7qBB7UBR8guFbF1Kh0AAAAASUVORK5CYII=") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 13px 23px !important;
}
#root .volt-purse__btn--help::before {
  content: none !important;
  display: none !important;
}
#root .volt-purse__btn--settings {
  background-color: #2e2742 !important;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAABHNCSVQICAgIfAhkiAAAAF96VFh0UmF3IHByb2ZpbGUgdHlwZSBBUFAxAAAImeNKT81LLcpMVigoyk/LzEnlUgADYxMuE0sTS6NEAwMDCwMIMDQwMDYEkkZAtjlUKNEABZiYm6UBoblZspkpiM8FAE+6FWgbLdiMAAABDElEQVQ4jbWVPQ7CMAyFXxCX6NS11wCJpRN3gCUciC5wAiRUCakLEr1G1049RhhoIsd1mhSBp/w4Xxw/J1FIM0PaKuYcdQBg2qZ2nU25j65bBaIyfLDrB3FDyZfv6KIaI0Lb1B6wyDNvToqeQg0HpBrZSAHs+N8ApXWT41dVtRiqtfZY65RFr2fj2ttdGfW3dANMRbHA0/Hg+ufLdQKm4gFQCkTxEJCrHwIDn0pwQoVE4uMpflLxO7vdH4vGrXk55crbXNFxrbWY+7ECgDGn1CYlxUSYA4ZLqsgzb1HXD6APCgdagaj9/5r+yoI5tYmfe6WYr/hKOTCbM1x9sKrhHOnup/wGs76pgEV/1BvH+pReCEPPMQAAAABJRU5ErkJggg==") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 21px 21px !important;
}
#root .volt-purse__btn--settings .volt-purse__btn-img {
  display: none !important;
}

/* Neutralisation des derniers fonds colores des slots (rooms/shop) */
#root .tb-left-dock .tb-slot[class],
#root .tb-open-shell .tb-slot[class] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
#root .tb-left-dock .tb-slot[class]:hover,
#root .tb-open-shell .tb-slot[class]:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Fenetre haut-droite + rail Aide/Reglage : navy barre du bas, sans violet */
#root .volt-purse__chrome {
  background: rgb(31, 37, 50) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 15px !important;
  min-height: 100px !important;
}
#root .volt-purse__btn {
  background: rgb(31, 37, 50) !important;
  border: 1px solid rgb(58, 69, 95) !important;
  color: #f3f1fb !important;
}
#root .volt-purse__col--actions {
  width: 27px !important;
  min-width: 27px !important;
  height: 92px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  margin-left: auto !important;
}
#root .volt-purse__btn--help,
#root .volt-purse__btn--settings {
  width: 27px !important;
  height: 44px !important;
  min-width: 27px !important;
  min-height: 44px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgb(31, 37, 50) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 10px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
#root .volt-purse__btn--help {
  background-image: url('/rp-assets/habbox-help.png') !important;
  background-size: 13px 23px !important;
}
#root .volt-purse__btn--settings {
  background-image: url('/rp-assets/habbox-cog.png') !important;
  background-size: 21px 21px !important;
}
#root .volt-purse__btn--settings .volt-purse__btn-img {
  display: none !important;
}
#root .volt-purse__btn--help::before {
  content: none !important;
  display: none !important;
}
#root .volt-purse__btn--logout {
  display: none !important;
}

/* Forçage du bouton Reglage (meme style navy que Aide) */
#root .volt-purse__btn--icon.volt-purse__btn--settings {
  width: 27px !important;
  height: 44px !important;
  min-width: 27px !important;
  min-height: 44px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgb(31, 37, 50) !important;
  background-image: url('/rp-assets/habbox-cog.png') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 21px 21px !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 10px !important;
}
#root .volt-purse__btn--icon.volt-purse__btn--settings .volt-purse__btn-img {
  display: none !important;
}
#root .volt-purse__chrome {
  min-height: 120px !important;
}

/* Fenetre haut-droite compacte : on ne deplace pas les jauges */
#root .volt-purse__chrome {
  min-height: 76px !important;
  height: auto !important;
}
#root .volt-purse__col--actions {
  width: 30px !important;
  min-width: 30px !important;
  height: 64px !important;
  gap: 4px !important;
  margin-left: auto !important;
}
#root .volt-purse__btn--help,
#root .volt-purse__btn--icon.volt-purse__btn--settings {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgb(31, 37, 50) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 8px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
#root .volt-purse__btn--help {
  background-image: url('/rp-assets/habbox-help.png') !important;
  background-size: 13px 23px !important;
}
#root .volt-purse__btn--icon.volt-purse__btn--settings {
  background-image: url('/rp-assets/habbox-cog.png') !important;
  background-size: 21px 21px !important;
}
#root .volt-purse__btn--icon.volt-purse__btn--settings .volt-purse__btn-img {
  display: none !important;
}
#root .volt-purse__btn--help::before {
  content: none !important;
  display: none !important;
}
#root .volt-purse__btn--logout {
  display: none !important;
}

/* Icones KabboRP des jauges */
.kb-rp-vital {
  position: relative !important;
}
.kb-rp-vital::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 20px 20px !important;
  pointer-events: none !important;
}
.kb-rp-vital:nth-child(1)::after { background-image: url('/rp-assets/icone-vie.png') !important; }
.kb-rp-vital:nth-child(2)::after { background-image: url('/rp-assets/icone-energie.png') !important; }
.kb-rp-vital:nth-child(3)::after { background-image: url('/rp-assets/icone-faim.png') !important; }
.kb-rp-vital:nth-child(4)::after { background-image: url('/rp-assets/icone-soif.png') !important; }

/* Bulle de nom "VoltTest" : meme navy que le reste de l'interface */
#root .air-name-bubble {
  background: rgb(31, 37, 50) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  border-radius: 10px !important;
  color: #f3f1fb !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}
#root .air-name-bubble .kb-name-text {
  color: #f3f1fb !important;
}

/* Cadrage exact des icones de jauges (12x12 centre dans l'anneau 20x20) */
.kb-rp-vital::after {
  background-size: 12px 12px !important;
  background-position: center !important;
}

/* Icones de jauges : proportions conservees, centrees dans 16x16 */
.kb-rp-vital::after {
  inset: 2px !important;
  background-size: contain !important;
  background-position: center !important;
}

/* Jauges plus grandes (26px) */
.kb-rp-vital {
  width: 26px !important;
  height: 26px !important;
}
.kb-rp-ring {
  width: 26px !important;
  height: 26px !important;
}
.kb-rp-vital::after {
  inset: 3px !important;
  background-size: contain !important;
  background-position: center !important;
}

/* Bulle avatar circulaire en bas a gauche, style Habbox */
#root .tb-open-shell {
  width: auto !important;
  min-width: 0 !important;
}
#root .tb-slot-memenu {
  order: -1 !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  margin-right: 2px !important;
  border-radius: 50% !important;
  background: #b69b83 !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .tb-slot-memenu .tb-memenu-bg {
  display: none !important;
}
#root .tb-slot-memenu .tb-memenu-face {
  position: absolute !important;
  inset: 2px !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .tb-slot-memenu .tb-memenu-face-img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
#root .tb-slot-memenu .tb-memenu-avatar {
  width: 50px !important;
  height: 50px !important;
}

/* Bulle avatar circulaire : forcage de specificite */
#root .tb-open-shell[class] {
  width: auto !important;
  min-width: 0 !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu,
#root .tb-slot.tb-slot-tall.tb-slot-memenu {
  order: -1 !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  margin-right: 2px !important;
  border-radius: 50% !important;
  background: #b69b83 !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-bg {
  display: none !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face {
  position: absolute !important;
  inset: 2px !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face-img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-avatar {
  width: 50px !important;
  height: 50px !important;
}

/* Bulle avatar hors de la barre du bas */
#root .tb-open-shell[class] {
  width: auto !important;
  min-width: 0 !important;
  margin-left: 62px !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu {
  position: fixed !important;
  left: 12px !important;
  bottom: 15px !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  margin: 0 !important;
  z-index: 90 !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face {
  align-items: flex-start !important;
  justify-content: center !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face-img.kb-avatar-full {
  width: auto !important;
  height: 112px !important;
  max-width: none !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
  transform: scaleX(-1) !important;
}

/* Rendu verrouille de l'avatar dans la bulle : grand buste, orientation
   droite, independant du remplacement d'image fait par le client au clic. */
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face-img {
  opacity: 0 !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu::after {
  content: "" !important;
  position: absolute !important;
  top: 2px !important;
  left: 50% !important;
  width: 46px !important;
  height: 112px !important;
  transform: translateX(-50%) scaleX(-1) !important;
  transform-origin: center top !important;
  background-image: var(--kb-avatar-bubble-src, none) !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: 46px auto !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* ============================================================
   Theme global "bulle avatar" : brun + bordure blanche
   ============================================================ */
:root {
  --kb-bubble-bg: #b69b83;
  --kb-bubble-bg-light: #c9b09a;
  --kb-bubble-bg-dark: #9d826b;
  --kb-bubble-border: rgba(255, 255, 255, .82);
  --kb-bubble-text: #fffaf6;
  --kb-bubble-muted: #f0e3d6;
  --kb-bubble-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

/* Barre d'info de la piece, en haut a gauche */
#kb-rp-dock {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 16px !important;
  color: var(--kb-bubble-text) !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}
#kb-rp-dock,
#kb-rp-dock * {
  color: var(--kb-bubble-text) !important;
}

/* Fenetre de devises, en haut a droite */
#root .volt-purse,
#root .volt-purse__body {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#root .volt-purse__body {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--kb-bubble-shadow) !important;
  box-sizing: border-box !important;
  padding: 4px 6px !important;
}
#root .volt-purse__body .volt-purse__col,
#root .volt-purse__body .volt-purse__btn {
  background-color: transparent !important;
}
#root .volt-purse__body,
#root .volt-purse__body .volt-purse__col,
#root .volt-purse__body .volt-purse__btn {
  color: var(--kb-bubble-text) !important;
}
#root .volt-purse__btn--icon {
  background: var(--kb-bubble-bg-dark) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 9px !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-purse__btn--icon:hover {
  background: var(--kb-bubble-bg-light) !important;
  border-color: #fff !important;
}
#root .volt-purse__btn--icon img,
#root .volt-purse__btn--icon svg {
  filter: brightness(0) invert(1) !important;
}

/* Jauges vitales */
#root .volt-purse-seasonal-currency {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}

/* Niveau / evenement */
#root .volt-event-info {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}
#root .volt-event-info,
#root .volt-event-info * {
  color: var(--kb-bubble-text) !important;
}

/* Outils de piece, a gauche */
#root .volt-room-tools {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}
#root .volt-room-tools svg,
#root .volt-room-tools i {
  color: #fff !important;
  fill: #fff;
}

/* Barre du bas et outils de droite */
#root .tb-open-shell,
#root .tb-open-shell[class],
#root .tb-friendtools {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}
#root .tb-open-shell .tb-slot,
#root .tb-friendtools .tb-slot {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--kb-bubble-text) !important;
}
#root #kb-rp-phone-btn,
#root #kb-rp-inv-btn {
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--kb-bubble-text) !important;
}
#root .tb-open-shell .tb-slot:hover,
#root .tb-friendtools .tb-slot:hover {
  background: rgba(255, 255, 255, .14) !important;
  border-color: rgba(255, 255, 255, .32) !important;
}
#root #kb-rp-phone-btn:hover,
#root #kb-rp-inv-btn:hover {
  background-color: rgba(255, 255, 255, .14) !important;
  border-color: rgba(255, 255, 255, .32) !important;
}

/* Barre de discussion */
#root .volt-chat-input-container.swf-chat-input {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 15px !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}
#root .swf-chat-input-sizer {
  background: transparent !important;
}
#root .swf-chat-input-field {
  color: var(--kb-bubble-text) !important;
  caret-color: #fff !important;
}
#root .swf-chat-input-field::placeholder {
  color: var(--kb-bubble-muted) !important;
  opacity: 1 !important;
}

/* Menu radial de l'avatar */
#root .volt-toolbar-me-popup .tbme-item {
  background: var(--kb-bubble-bg) !important;
  border-color: var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-toolbar-me-popup .tbme-item:hover {
  background: var(--kb-bubble-bg-light) !important;
  border-color: #fff !important;
}

/* Corrections des restes gris : boutons du chat, devises et contours du haut */
#root .swf-chat-style-trigger,
#root .habbicon-chat-trigger {
  background-color: var(--kb-bubble-bg-dark) !important;
  border: 1px solid var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}
#root .swf-chat-style-trigger {
  border-radius: 12px 0 0 12px !important;
}
#root .habbicon-chat-trigger {
  border-radius: 10px !important;
}
#root .swf-chat-style-trigger svg,
#root .habbicon-chat-trigger svg {
  color: #fff !important;
  fill: #fff !important;
}

#root .volt-purse-button.allcurrencypurse,
#root .volt-purse-button.currency-info,
#root .volt-purse-button.currency-5,
#root .volt-purse-button.currency--1,
#root .volt-purse-button.currency-0 {
  background-color: var(--kb-bubble-bg-dark) !important;
  border: 1px solid var(--kb-bubble-border) !important;
  border-radius: 5px !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-purse-button.allcurrencypurse:hover {
  background-color: var(--kb-bubble-bg-light) !important;
}

#root .volt-purse__btn--join,
#root .volt-purse__btn--earnings {
  background-color: transparent !important;
  border: 1px solid var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-purse__btn--join:hover,
#root .volt-purse__btn--earnings:hover {
  background-color: rgba(255, 255, 255, .12) !important;
}

#root .volt-purse__btn--help,
#root .volt-purse__btn--settings {
  background-color: var(--kb-bubble-bg-dark) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 9px !important;
  background-size: 20px 20px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
#root .volt-purse__btn--help {
  background-image: url('/rp-assets/habbox-help.png') !important;
}
#root .volt-purse__btn--settings {
  background-image: url('/rp-assets/habbox-cog.png') !important;
}
#root .volt-purse__btn--help:hover,
#root .volt-purse__btn--settings:hover {
  background-color: var(--kb-bubble-bg-light) !important;
  border-color: #fff !important;
}

/* ============================================================
   Bulle avatar : vraie position fixe + menu en quart de cercle
   ------------------------------------------------------------
   Le backdrop-filter du shell creait un containing block pour
   les enfants en position:fixed. La bulle etait donc positionnee
   par rapport a la barre (x=88) au lieu du viewport (x=12).
   On neutralise ce filtre, puis on transforme le menu horizontal
   en eventail quart de cercle a droite de la bulle.
   ============================================================ */
#root .tb-open-shell,
#root .tb-open-shell[class] {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Conteneur React du menu : ne doit plus intercepter les clics
   ni deplacer le menu fixe avec son animation d'ouverture. */
#root div:has(> .volt-toolbar-me-popup) {
  background: transparent !important;
  pointer-events: none !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  rotate: none !important;
}

/* Le menu devient un eventail ancre sur le coin haut-droit de la bulle. */
#root .volt-toolbar-me-popup {
  position: fixed !important;
  left: 12px !important;
  bottom: 15px !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  display: block !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  z-index: 140 !important;
  animation: none !important;
}
@keyframes kbRadialFadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}
#root .volt-toolbar-me-popup.kb-radial-closing {
  animation: kbRadialFadeOut .30s ease-in both !important;
  pointer-events: none !important;
}
#root .volt-toolbar-me-popup.kb-radial-closing,
#root .volt-toolbar-me-popup.kb-radial-closing * {
  pointer-events: none !important;
}

/* La bulle pulse et s'illumine pendant que le menu est ouvert. */
body:has(.volt-toolbar-me-popup) #root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu {
  box-shadow: 0 0 0 3px rgba(159, 212, 255, .18), 0 0 22px rgba(159, 212, 255, .24) !important;
  animation: kbBubblePulse .22s cubic-bezier(.2, .85, .3, 1.25) !important;
}
@keyframes kbBubblePulse {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.09); }
  100% { transform: scale(1); }
}

#root .volt-toolbar-me-popup .tbme-item {
  position: absolute !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  border-radius: 50% !important;
  background: rgba(25, 28, 39, .97) !important;
  border: 2px solid rgb(58, 69, 95) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5) !important;
  color: #f3f1fb !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transform: translate(-50%, 50%);
  animation: kbItemEmerge .34s cubic-bezier(.18, .89, .32, 1.18) both !important;
  will-change: transform, opacity !important;
  transition: background .12s ease, border-color .12s ease, scale .12s ease !important;
}

/* Chaque icone part du centre de la bulle et rejoint sa place sur l'arc.
   --kb-dx / --kb-dy = ecart entre sa position finale et le centre de la bulle. */
@keyframes kbItemEmerge {
  0% {
    opacity: 0;
    transform: translate(calc(-50% + var(--kb-dx)), calc(50% + var(--kb-dy))) scale(.18);
  }
  62% {
    opacity: 1;
  }
  76% {
    transform: translate(-50%, 50%) scale(1.035);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 50%) scale(1);
  }
}
@keyframes kbItemRetract {
  0% {
    opacity: 1;
    transform: translate(-50%, 50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--kb-dx)), calc(50% + var(--kb-dy))) scale(.18);
  }
}

/* Positions sur l'arc : 90deg (haut), 60deg, 30deg, 0deg (droite). */
#root .volt-toolbar-me-popup .tbme-item:nth-child(1) {
  left: 54px !important; bottom: 166px !important;
  --kb-dx: -27px; --kb-dy: 139px;
  animation-delay: 0s !important;
}
#root .volt-toolbar-me-popup .tbme-item:nth-child(2) {
  left: 110px !important; bottom: 151px !important;
  --kb-dx: -83px; --kb-dy: 124px;
  animation-delay: .035s !important;
}
#root .volt-toolbar-me-popup .tbme-item:nth-child(3) {
  left: 151px !important; bottom: 110px !important;
  --kb-dx: -124px; --kb-dy: 83px;
  animation-delay: .07s !important;
}
#root .volt-toolbar-me-popup .tbme-item:nth-child(4) {
  left: 166px !important; bottom: 54px !important;
  --kb-dx: -139px; --kb-dy: 27px;
  animation-delay: .105s !important;
}

/* Fermeture : les icones rentrent dans la bulle, de la plus basse a la plus haute. */
#root .volt-toolbar-me-popup.kb-radial-closing .tbme-item {
  animation: kbItemRetract .22s cubic-bezier(.55, .06, .68, .19) both !important;
}
#root .volt-toolbar-me-popup.kb-radial-closing .tbme-item:nth-child(1) { animation-delay: .075s !important; }
#root .volt-toolbar-me-popup.kb-radial-closing .tbme-item:nth-child(2) { animation-delay: .05s !important; }
#root .volt-toolbar-me-popup.kb-radial-closing .tbme-item:nth-child(3) { animation-delay: .025s !important; }
#root .volt-toolbar-me-popup.kb-radial-closing .tbme-item:nth-child(4) { animation-delay: 0s !important; }

#root .volt-toolbar-me-popup .tbme-item:hover {
  background: rgb(58, 69, 95) !important;
  border-color: #9fd4ff !important;
  scale: 1.07 !important;
}

#root .volt-toolbar-me-popup .volt-icon {
  width: 20px !important;
  height: 20px !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#root .volt-toolbar-me-popup .tbme-item > span:last-child {
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  color: #f3f1fb !important;
  white-space: nowrap !important;
  max-width: 52px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: -.1px !important;
}

/* ============================================================
   Derniers correctifs : menu avatar, chat, devises, reglages, catalogue
   ============================================================ */

/* Menu radial Profile / Rooms / Clothes / Forums */
#root .volt-toolbar-me-popup .tbme-item {
  background: var(--kb-bubble-bg) !important;
  border-color: var(--kb-bubble-border) !important;
}
#root .volt-toolbar-me-popup .tbme-item:hover {
  background: var(--kb-bubble-bg-light) !important;
  border-color: #fff !important;
}

/* Boutons de la barre de discussion */
#root .swf-chat-style-trigger,
#root .habbicon-chat-trigger {
  background-color: transparent !important;
  border: 1px solid var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}

/* Devises / duckets */
#root .volt-purse-button.allcurrencypurse,
#root .volt-purse-button.currency-info,
#root .volt-purse-button.currency-5,
#root .volt-purse-button.currency--1,
#root .volt-purse-button.currency-0 {
  background-color: transparent !important;
  border: 1px solid var(--kb-bubble-border) !important;
  border-radius: 5px !important;
}

/* Bouton reglages et menu deroulant */
#root .volt-purse__btn.volt-purse__btn--help,
#root .volt-purse__btn.volt-purse__btn--settings {
  background-color: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 9px !important;
  background-size: 20px 20px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-blend-mode: multiply !important;
}
#root .volt-purse__btn.volt-purse__btn--help {
  background-image: url('/rp-assets/habbox-help.png') !important;
}
#root .volt-purse__btn.volt-purse__btn--settings {
  background-image: url('/rp-assets/habbox-cog.png') !important;
}
#root .volt-purse__btn.volt-purse__btn--help:hover,
#root .volt-purse__btn.volt-purse__btn--settings:hover {
  background-color: var(--kb-bubble-bg-light) !important;
  border-color: #fff !important;
}
#root .volt-purse-menu {
  background: var(--kb-bubble-bg) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}
#root .volt-purse-menu__item {
  background: transparent !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-purse-menu__item:hover {
  background: rgba(255, 255, 255, .14) !important;
}

/* Catalogue : fenetre, onglets, categories, grille et prix */
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) {
  background: var(--kb-bubble-bg) !important;
  border: 3px solid var(--kb-bubble-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--kb-bubble-shadow) !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-card-header-shell {
  background: var(--kb-bubble-bg-dark) !important;
  border-bottom: 2px solid var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-card-header-shell *,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-card-tabs-shell *,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-title,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-title * {
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-card-tabs-shell {
  background: transparent !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-card-tab-item {
  background: transparent !important;
  border: 1px solid var(--kb-bubble-border) !important;
  border-radius: 10px !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-card-tab-item:hover,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-card-tab-item-active {
  background: var(--kb-bubble-bg-light) !important;
  border-color: #fff !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-content-shell,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-layout-shell,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-layout-container {
  background: transparent !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-stage {
  background: var(--kb-bubble-bg-dark) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 12px !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-sidebar {
  background: var(--kb-bubble-bg-dark) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 12px !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-navigation-item {
  background: transparent !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-navigation-item:hover,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-navigation-item.is-selected,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-navigation-item.is-active {
  background: var(--kb-bubble-bg-light) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-navigation-label,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-navigation-label-normal {
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .layout-grid-item {
  background: transparent !important;
  border: 1px solid var(--kb-bubble-border) !important;
  border-radius: 8px !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .layout-grid-item:hover,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .layout-grid-item.is-selected {
  background: var(--kb-bubble-bg-light) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-standard-header,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-price-box,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-standard-price-pill,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-price-frame {
  background: var(--kb-bubble-bg-dark) !important;
  border: 1px solid var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) input,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) textarea,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) select,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-search-input {
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) button,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .btn,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-standard-buy-button,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .volt-catalog-purchase-confirm-button {
  background: var(--kb-bubble-bg-dark) !important;
  border: 1px solid var(--kb-bubble-border) !important;
  color: var(--kb-bubble-text) !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) button:hover,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .btn:hover {
  background: var(--kb-bubble-bg-light) !important;
  border-color: #fff !important;
}
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .text-muted,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .text-dark,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .text-body,
#root .volt-card.volt-card-shell:has(.volt-catalog-stage) .text-black {
  color: var(--kb-bubble-muted) !important;
}

/* ============================================================
   Inventaire RP dans le menu avatar, plus de sac a droite
   ============================================================ */
#root #kb-rp-inv-btn {
  display: none !important;
}
#root .tb-friendtools {
  width: auto !important;
  min-width: 0 !important;
  padding: 0 4px !important;
}
#root .tb-friendtools #kb-rp-phone-btn {
  margin: 0 auto !important;
}
#root .volt-toolbar-me-popup .tbme-item.kb-rp-inv-item .volt-icon {
  background-image: url('/rp-assets/inventoryrp.png') !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
#root .volt-toolbar-me-popup .tbme-item.kb-rp-inv-item .volt-icon::before {
  content: none !important;
}

/* Bulles du menu avatar : icones seules, sans libelles */
#root .volt-toolbar-me-popup .tbme-item > span:last-child {
  display: none !important;
}

/* Avatar de la bulle : imagerie Habbo native, affichee en grand */
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu::after {
  content: none !important;
  background: none !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face {
  align-items: center !important;
  justify-content: center !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face-img.kb-avatar-full {
  opacity: 1 !important;
  width: 46px !important;
  height: 46px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scaleX(-1) !important;
}

/* Boutons aide / reglages un peu plus a droite */
#root .volt-purse__col--actions {
  transform: translateX(8px) !important;
}

/* Icones du menu avatar : centrees et agrandies */
#root .volt-toolbar-me-popup .tbme-item {
  padding: 0 !important;
  gap: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}
#root .volt-toolbar-me-popup .tbme-item .volt-icon {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Liste des categories du catalogue : surface interne brune */
#root .volt-catalog-navigation-shell {
  background: var(--kb-bubble-bg-dark) !important;
  border: 2px solid var(--kb-bubble-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--kb-bubble-shadow) !important;
}
#root .volt-catalog-navigation-node,
#root .volt-catalog-navigation-item {
  color: var(--kb-bubble-text) !important;
}
#root .volt-catalog-navigation-item:hover,
#root .volt-catalog-navigation-item.is-selected,
#root .volt-catalog-navigation-item.is-active,
#root .volt-catalog-navigation-item.is-current {
  background: var(--kb-bubble-bg-light) !important;
}

/* Imagerie Habbo de la bulle : on affiche l'image capturee (une seule). */
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu::after {
  content: none !important;
  background: none !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face {
  align-items: center !important;
  justify-content: center !important;
}
#root .tb-open-shell .tb-slot.tb-slot-tall.tb-slot-memenu .tb-memenu-face-img.kb-avatar-full {
  opacity: 1 !important;
  width: 46px !important;
  height: 46px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scaleX(-1) !important;
}

/* ============================================================
   Vrai telephone KabboRP : page isolee dans une iframe
   ============================================================ */
#kb-rp-phone-native {
  position: fixed !important;
  right: 220px !important;
  bottom: 8px !important;
  width: 360px !important;
  height: 680px !important;
  z-index: 2147483000 !important;
  background: transparent !important;
  pointer-events: none !important;
}
#kb-rp-phone-native[hidden] {
  display: none !important;
}
#kb-rp-phone-native iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: auto !important;
}


/* Barre native "Find new friends" masquee (KabboRP) */
#toolbar-friend-bar-container-desktop,
.tb-right-friend-bar,
.friend-bar {
  display: none !important;
}


/* ============================================================
   Panneau haut-droit pliable - transition 3D
   ============================================================ */
#kb-right-collapse {
  position: fixed;
  top: 14px;
  right: 252px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
  padding: 0;
  color: var(--kb-bubble-text, #fffaf6);
  background: var(--kb-bubble-bg, #b69b83);
  border: 2px solid var(--kb-bubble-border, rgba(255,255,255,.82));
  border-radius: 10px;
  box-shadow: var(--kb-bubble-shadow, 0 8px 22px rgba(0,0,0,.35));
  font: 700 22px/1 Arial, sans-serif;
  cursor: pointer;
  transition: right .3s ease, transform .2s ease, filter .2s ease;
}
#kb-right-collapse:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
#kb-right-collapse.is-collapsed {
  right: 10px;
}
#root .volt-right-side {
  transform-origin: top right;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}
#root .volt-right-side.kb-right-collapsed {
  transform: translateX(calc(100% + 24px)) scale(.98);
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   ATM KabboRP
   ============================================================ */
#kb-atm-modal {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 326px;
  z-index: 99;
}
.kb-atm-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kb-atm-balance {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(84, 106, 146, .45), rgba(32, 39, 55, .65));
  border: 1px solid rgba(159, 212, 255, .2);
}
.kb-atm-balance > span {
  color: #b7c3d6;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.kb-atm-balance > b {
  color: #7be0b0;
  font-size: 24px;
  letter-spacing: .02em;
}
.kb-atm-balance > small {
  color: #b7c3d6;
  font-size: 11px;
}
.kb-atm-label {
  color: #b7c3d6;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.kb-atm-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #1f2532;
  border: 1px solid #3a455f;
  border-radius: 9px;
}
.kb-atm-amount input {
  flex: 1;
  min-width: 0;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 700 18px "Montserrat", Ubuntu, sans-serif;
}
.kb-atm-amount span {
  color: #7be0b0;
  font-weight: 700;
}
.kb-atm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kb-atm-actions .kb-rp-btn {
  padding: 9px 6px;
  font-size: 12px;
}
.kb-atm-status {
  min-height: 15px;
  color: #b7c3d6;
  font-size: 11px;
}
.kb-atm-note {
  color: #7e8ba1;
  font-size: 10px;
  line-height: 1.35;
}


/* Controle de pliage place dans la bande de gauche */
#kb-rp-collapse-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 2px;
  padding: 0;
  color: var(--kb-bubble-text, #fffaf6) !important;
  background: rgba(8, 13, 20, .28) !important;
  border: 1px solid var(--kb-bubble-border, rgba(255,255,255,.6)) !important;
  border-radius: 7px;
  font: 700 20px/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
#kb-rp-collapse-toggle:hover {
  background: rgba(8, 13, 20, .45) !important;
  transform: translateY(-1px);
}
#kb-rp-clock,
#kb-right-collapse {
  display: none !important;
}


/* Pliage de la barre Accueil + Localisation (transition admin 0.3s) */
#kb-rp-dock {
  max-width: 420px;
  overflow: hidden;
  transition: max-width .3s ease, padding .3s ease, gap .3s ease;
}
#kb-rp-dock .kb-rp-content {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 380px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  transition: max-width .3s ease, opacity .3s ease, transform .3s ease;
}
#kb-rp-dock.kb-dock-collapsed {
  max-width: 58px;
  padding-left: 8px;
  padding-right: 8px;
  gap: 0;
}
#kb-rp-dock.kb-dock-collapsed .kb-rp-content {
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
}
