/* Boosted, Discord and Wiki: component measurements from RubinOT EU.
   Scoped to these three panels so other template overrides cannot leak in. */
.hb-reference #ThemeboxesColumn .rb-box:is(#BoostedBox,#DiscordBox,#WikiBox) > .rb-box-head {
  display: flex; align-items: center; justify-content: center;
  font: 700 13px/18.2px 'Cinzel',Georgia,serif; letter-spacing: 0;
  background: url('/templates/highbinot/images/ui/box/header.png') center / 100% 100% no-repeat;
}
.hb-reference #ThemeboxesColumn .rb-box:is(#BoostedBox,#DiscordBox,#WikiBox) > .rb-box-head::after { display: none; }
.hb-reference #ThemeboxesColumn .rb-box:is(#BoostedBox,#DiscordBox,#WikiBox) > .rb-box-body {
  box-sizing: border-box; border-radius: 4px; font: 400 12px/16.8px 'Inter',Arial,sans-serif;
}
.hb-reference #ThemeboxesColumn #BoostedBox.rb-box > .rb-box-body { padding: 24px 12px; min-height: 146px; }
.hb-reference #ThemeboxesColumn #BoostedBox .BoostedCards {
  display: flex; justify-content: center; align-items: center; gap: 12px; padding: 0; margin: 0;
}
.hb-reference #ThemeboxesColumn #BoostedBox .BoostedCard { flex: 0 0 56px; width: 56px; min-width: 0; padding: 0; margin: 0; }
.hb-reference #ThemeboxesColumn #BoostedBox .BoostedFrame {
  position: relative; width: 56px; height: 56px; box-sizing: border-box; margin: 0;
  border: 2px solid #3b5068; border-radius: 4px; background: #d4c4a8; box-shadow: none;
}
.hb-reference #ThemeboxesColumn #BoostedBox .BoostedBadge {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  position: absolute; left: 50%; top: -2px; transform: translateX(-50%);
  width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%;
  color: #f0e6d2; background: #3b5068; box-shadow: none; z-index: 1;
}
.hb-reference #ThemeboxesColumn #BoostedBox .BoostedLabel {
  font: 700 9px/12.6px 'Inter',Arial,sans-serif; letter-spacing: .5px; margin: 6px 0 0; padding: 0;
}
.hb-reference #ThemeboxesColumn #BoostedBox .BoostedName {
  width: 56px; max-width: 56px; font: 400 9px/12.6px 'Inter',Arial,sans-serif;
  letter-spacing: 0; margin: 0; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hb-reference #ThemeboxesColumn #BoostedBox .BoostedDivider { flex: 0 0 1px; width: 1px; height: 64px; margin: 0; background: #b8a888; }
.hb-reference #ThemeboxesColumn .rb-box:is(#DiscordBox,#WikiBox) > .rb-box-body { min-height: 0; padding: 12px; }
.hb-reference #ThemeboxesColumn .rb-box:is(#DiscordBox,#WikiBox) :is(.DiscordContent,.WikiContent) { width: 100%; padding: 0; margin: 0; }
.hb-reference #ThemeboxesColumn .rb-box:is(#DiscordBox,#WikiBox) :is(.DiscordText,.WikiText) {
  font: 400 10px/14px 'Inter',Arial,sans-serif; color: #3d2314; letter-spacing: 0; margin: 0 0 10px;
}
.hb-reference #ThemeboxesColumn #DiscordBox .DiscordIconWrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin: 0 auto 12px; padding: 0;
}
.hb-reference #ThemeboxesColumn #DiscordBox .DiscordIconBg {
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: linear-gradient(135deg,#5865f2,#4752c4); box-shadow: 0 0 15px #5865f280;
}
.hb-reference #ThemeboxesColumn #DiscordBox .DiscordIconBg > svg { width: 28px; height: 28px; }
.hb-reference #ThemeboxesColumn #DiscordBox .DiscordRing {
  position: absolute; inset: 0; width: 56px; height: 56px; box-sizing: border-box;
  border: 2px solid #5865f280; border-radius: 50%; animation: none; pointer-events: none;
}
.hb-reference #ThemeboxesColumn #DiscordBox .DiscordOnline {
  top: 0; right: 0; width: 10px; height: 10px; box-sizing: border-box;
  border: 2px solid #e8d7b2; background: #22c55e;
}
.hb-reference #ThemeboxesColumn #WikiBox .WikiIconWrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 56px; height: 56px; padding: 0; margin: 0 auto 8px;
  border: 0; border-radius: 50%; background: none; box-shadow: none;
}
.hb-reference #ThemeboxesColumn #WikiBox .WikiIconWrap > svg {
  box-sizing: border-box; width: 48px; height: 48px; padding: 10px;
  color: #fff8df; border-radius: 50%; background: linear-gradient(135deg,#d9a94e,#a67c2e);
  box-shadow: 0 0 15px #d9a94e80;
}
.hb-reference #ThemeboxesColumn #WikiBox .WikiIconWrap::before {
  content: ''; position: absolute; inset: 0; border: 2px solid #d9a94e80; border-radius: 50%; pointer-events: none;
}
.hb-reference #ThemeboxesColumn #WikiBox .WikiIconWrap::after {
  content: '\2726'; position: absolute; top: -2px; right: -1px; color: #67481b; font: 10px/14px 'Inter',Arial,sans-serif;
}
.hb-reference #ThemeboxesColumn .rb-box:is(#DiscordBox,#WikiBox) a.rb-btn {
  display: block; box-sizing: border-box; width: 100%; height: auto; min-height: 0; margin: 0;
  padding: 8px 12px; border-radius: 4px; font: 700 11px/15.4px 'Inter',Arial,sans-serif;
  letter-spacing: 0; text-transform: uppercase;
}
.hb-reference #ThemeboxesColumn #DiscordBox a.rb-btn {
  border: 1px solid #7289da; background: linear-gradient(#5865f2,#4752c4,#3a4199);
  box-shadow: 0 0 10px #5865f24d,inset 0 1px #fff3; color: #fff;
}
.hb-reference #ThemeboxesColumn #WikiBox a.rb-btn {
  border: 1px solid #d4a54a; background: linear-gradient(#d9a94e,#a67c2e,#8b6524);
  box-shadow: 0 0 10px #d9a94e4d,inset 0 1px #fff3; color: #fff8df;
}
.hb-reference #ThemeboxesColumn .rb-box:is(#DiscordBox,#WikiBox) a.rb-btn:hover { filter: brightness(1.1); transform: none; }
@media (max-width: 350px) {
  .hb-reference #ThemeboxesColumn #BoostedBox .BoostedCards { gap: 2px; }
  .hb-reference #ThemeboxesColumn #BoostedBox .BoostedCard { width: 44px; flex-basis: 44px; }
  .hb-reference #ThemeboxesColumn #BoostedBox .BoostedFrame { width: 44px; height: 44px; }
  .hb-reference #ThemeboxesColumn #BoostedBox .BoostedFrame img { max-width: 40px; max-height: 40px; }
  .hb-reference #ThemeboxesColumn #BoostedBox .BoostedName { width: 44px; max-width: 44px; }
}
