/* Approved visual feature cards, within the existing 48px discovery row. */
:root {
  --rebuild-deck-bottom-offset:0px;
  --rebuild-deck-safe-bottom:env(safe-area-inset-bottom,0px);
}
html body > .rebuild-bottom-control-deck {
  bottom:0;
  padding-bottom:env(safe-area-inset-bottom,0px);
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
}
html body > .rebuild-bottom-control-deck > .community-entry-dock {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:6px;
  padding:2px 6px;
  box-sizing:border-box;
  background:linear-gradient(180deg,#fffaf3,#f2e9dd)!important;
}
html body > .rebuild-bottom-control-deck > .community-entry-dock > .community-entry {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  width:100%;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 5px 0 43%!important;
  gap:0!important;
  border:1px solid #44848c!important;
  border-radius:14px;
  background:linear-gradient(135deg,#222b2e,#11181b)!important;
  color:#fffaf3;
  box-shadow:inset 0 1px 0 #ffffff1c,0 2px 3px #162e3533!important;
  text-align:left;
  text-decoration:none;
  justify-content:flex-start!important;
  cursor:pointer;
}
/* A two-panel raster atlas keeps both approved 3D illustrations identical in scale. */
html body > .rebuild-bottom-control-deck .rebuild-dock-art {
  position:absolute;
  inset:0 auto 0 0;
  width:46%;
  height:100%;
  background-image:url('../images/rebuild-dock-journey-community-v1.webp');
  background-size:100% 200%;
  background-repeat:no-repeat;
  background-position:center top;
  mask-image:linear-gradient(90deg,#000 0%,#000 85%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 85%,transparent 100%);
  pointer-events:none;
}
html body > .rebuild-bottom-control-deck .rebuild-dock-art-people {background-position:center bottom;}
html body > .rebuild-bottom-control-deck .community-entry-brand {
  position:relative;
  z-index:1;
  display:flex;
  flex:0 1 auto;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:2px;
  color:#fffaf3;
  white-space:nowrap;
  pointer-events:none;
}
html body > .rebuild-bottom-control-deck .rebuild-dock-wordmark {
  color:#eee6da;
  font:800 7px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.18em;
}
html body > .rebuild-bottom-control-deck .community-entry-community {
  color:#fffaf3;
  font:900 11px/1 Arial,Helvetica,sans-serif;
  letter-spacing:0;
  text-shadow:0 1px 3px #0008;
  text-decoration:none;
}
html body > .rebuild-bottom-control-deck #openRebuildPlusDock .community-entry-community {font-size:18px;}
html body > .rebuild-bottom-control-deck .community-entry-badge:not([hidden]) {
  position:absolute;
  z-index:2;
  top:2px;
  right:2px;
  min-width:16px;
  height:16px;
  padding:0 3px;
  background:#27d7c7;
  color:#15272d;
  font:800 9px/16px Arial,Helvetica,sans-serif;
  text-align:center;
}
html body > .rebuild-bottom-control-deck > .community-entry-dock > .community-entry[aria-current='page'] {
  background:linear-gradient(135deg,#222b2e,#11181b)!important;
  border-color:#66dde8!important;
  box-shadow:inset 0 -2px 0 #66dde8,0 2px 3px #162e3533!important;
}
html body > .rebuild-bottom-control-deck > .community-entry-dock > .community-entry:focus-visible {
  outline:2px solid #124e5b;
  outline-offset:1px;
  box-shadow:inset 0 0 0 2px #a9f1f4!important;
}
html.my-rebuild-open body > .rebuild-bottom-control-deck {visibility:hidden;pointer-events:none;}
@media(max-width:350px) {
  html body > .rebuild-bottom-control-deck > .community-entry-dock {gap:4px;padding-inline:4px;}
  html body > .rebuild-bottom-control-deck > .community-entry-dock > .community-entry {padding-left:40%!important;padding-right:3px!important;}
  html body > .rebuild-bottom-control-deck .rebuild-dock-art {width:43%;}
  html body > .rebuild-bottom-control-deck .community-entry-community {font-size:10px;}
  html body > .rebuild-bottom-control-deck #openRebuildPlusDock .community-entry-community {font-size:16px;}
  html body > .rebuild-bottom-control-deck .rebuild-dock-wordmark {font-size:6px;}
}
@media(forced-colors:active) {
  html body > .rebuild-bottom-control-deck .rebuild-dock-art {display:none;}
  html body > .rebuild-bottom-control-deck > .community-entry-dock > .community-entry {padding-left:8px!important;border-color:ButtonText!important;background:ButtonFace!important;}
  html body > .rebuild-bottom-control-deck .community-entry-brand,
  html body > .rebuild-bottom-control-deck .rebuild-dock-wordmark,
  html body > .rebuild-bottom-control-deck .community-entry-community {color:ButtonText;text-shadow:none;}
}
