.hub2-attrib {
  position: fixed;
  left: 10px;
  bottom: calc(var(--bar) + var(--safe) + 14px);
  z-index: 30;
  background: rgba(255,255,255,.88);
  color: #334;
  font: 600 10px/1.2 "DM Sans", system-ui, sans-serif;
  padding: 3px 7px;
  border-radius: 6px;
  max-width: 70%;
  pointer-events: none;
}
.hub2-demo-tag {
  position: fixed;
  top: calc(var(--safe-top) + var(--bar) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 35;
  background: #1c241c;
  color: #dff0b8;
  font: 700 11px/1.3 "DM Sans", system-ui, sans-serif;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}
.hub2-join {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 16, 10, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.hub2-join[hidden] {
  display: none !important;
}
.hub2-join-card {
  background: #fff;
  color: #1c241c;
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.3rem;
  width: min(420px, 100%);
  position: relative;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  max-height: min(90dvh, 640px);
  overflow: auto;
}
.hub2-join-card .hub2-x {
  width: 44px;
  height: 44px;
}
.hub2-join-card h2 {
  font-size: 1.35rem;
  margin: 0 1.4rem 0.6rem 0;
}
.hub2-join-card p { margin: 0 0 0.85rem; color: #5c675c; }
body.hub2-join-on { overflow: hidden; }
.hub2-net {
  position: fixed;
  top: calc(var(--safe-top) + 8px);
  right: 10px;
  z-index: 45;
  background: #1c241c;
  color: #fff;
  font: 700 10px/1 "DM Sans", system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 9px;
  border-radius: 8px;
}
.hub2-net.is-off { background: #8a1f1f; }
.hub2-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: #fff;
  border-radius: 18px 18px 0 0;
  max-height: 48vh;
  overflow: auto;
  padding: 0 1rem 1.2rem;
  padding-bottom: calc(1.2rem + var(--safe));
  box-shadow: 0 -8px 28px rgba(0,0,0,.18);
}
.hub2-sheet[hidden] { display: none !important; }
.hub2-sheet.is-open:not([hidden]) { display: block; }
.hub2-sheet.is-half { max-height: 48vh; }
.hub2-sheet.is-full { max-height: calc(100vh - 90px); }
.hub2-sheet-grab {
  width: 42px;
  height: 5px;
  background: #c9d0c6;
  border-radius: 99px;
  margin: 8px auto 0;
}
@media (min-width: 900px) {
  .hub2-sheet {
    left: auto;
    right: 12px;
    top: calc(var(--safe-top) + var(--bar) + 16px);
    bottom: calc(var(--bar) + var(--safe) + 16px);
    width: min(380px, 42vw);
    max-height: none;
    border-radius: 18px;
  }
}
.hub2-plus-list { display: grid; gap: 8px; }
.hub2-plus-card {
  border: 1px solid rgba(28,36,28,.12);
  border-radius: 12px;
  padding: 10px;
}
.hub2-plus-card strong { display: block; }
.hub2-plus-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hub2-plus-actions button, .hub2-file {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: #eef3ea;
  font-weight: 700;
}
.hub2-warn { color: #5c675c; font-size: .88rem; }
#hub2PlusBody input, #hub2PlusBody textarea, #hub2PlusBody select {
  width: 100%;
  margin: 6px 0;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d7ddd0;
}
