/* =========================================================
   Horizon Bay – Seiten-Hero, Regelwerk, Live und Team
   ========================================================= */

/* ---------- Seiten-Hero (alle Unterseiten) ---------- */
.hb-phero {
  position: relative;
  padding: calc(var(--header) + clamp(72px, 10vw, 150px)) 0 clamp(56px, 6vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.hb-phero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hb-phero-bg img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: .26;
  filter: saturate(.7);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%);
}
.hb-phero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 80% at 92% 0%, rgba(var(--acc-rgb), .12), transparent 62%),
    linear-gradient(90deg, rgba(4, 7, 12, .85) 0%, rgba(4, 7, 12, .2) 70%);
}
.hb-phero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hb-phero h1 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 62%;
  font-size: clamp(60px, 10.4vw, 180px);
  line-height: .84;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hb-phero p { margin: 0; max-width: 50ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--ink-2); }
.hb-phero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; width: 100%; padding-top: 12px; }

.hb-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hb-label-pill i { width: 6px; height: 6px; border-radius: 99px; background: var(--accent); }

/* ---------- Inhalt unter dem Hero ---------- */
.hb-pcontent { padding: clamp(56px, 7vw, 110px) 0 var(--sec); }
.hb-pcontent-in { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; display: flex; flex-direction: column; gap: clamp(64px, 8vw, 120px); }

.hb-group { display: flex; flex-direction: column; gap: 28px; }
.hb-group[hidden] { display: none; }
.hb-group-head { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.hb-group-txt { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hb-group-txt h2 { margin: 0; font-family: var(--f-display); font-weight: 860; font-stretch: 66%; font-size: clamp(34px, 3.6vw, 56px); line-height: .9; text-transform: uppercase; overflow-wrap: anywhere; }
.hb-group-txt > span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.hb-apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--surface-2), var(--surface) 60%);
  position: relative;
  overflow: hidden;
}
.hb-apply::before { content: ""; position: absolute; right: -10%; top: -60%; width: 50%; height: 220%; background: radial-gradient(closest-side, rgba(var(--acc-rgb), .14), transparent); pointer-events: none; }
.hb-apply-txt { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.hb-apply-txt b { font-family: var(--f-display); font-weight: 860; font-stretch: 66%; font-size: clamp(32px, 3.4vw, 52px); line-height: .92; text-transform: uppercase; }
.hb-apply-txt > span { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Regelwerk ---------- */
.hb-rw { --rw-gutter: max(var(--gutter), calc((100vw - 820px) / 2)); }
.hb-rw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hb-rw-crumbs a { transition: color .3s ease; }
.hb-rw-crumbs a:hover { color: var(--ink); }
.hb-rw-crumbs .is-current { color: var(--ink-2); }
.hb-rw-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-rw-chip-meta { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

.hb-rw-tabbar { position: relative; z-index: 2; margin-top: clamp(-28px, -2vw, -22px); }
.hb-rw-tabs { position: relative; width: min(100% - var(--gutter) * 2, var(--container)); margin: 0 auto 40px; display: flex; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 16, 25, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; }
.hb-rw-tabs::-webkit-scrollbar { display: none; }
.hb-rw-tabs-pill {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: var(--w, 0);
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(var(--x, 0));
  transition: transform .7s var(--ease), width .7s var(--ease);
  pointer-events: none;
}
.hb-rw-tabs.is-instant .hb-rw-tabs-pill { transition: none; }
.hb-rw-tab {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), opacity .3s ease;
}
.hb-rw-tab > span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.hb-rw-tab .hb-ic { color: var(--ink-3); transition: color .4s ease; }
.hb-rw-tab b { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); font-family: var(--f-mono); font-size: 11px; font-weight: 500; transition: background-color .5s var(--ease); }
.hb-rw-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.hb-rw-tab.is-on { background: transparent; color: var(--bg); }
.hb-rw-tab.is-on:hover { background: transparent; }
.hb-rw-tab.is-on .hb-ic { color: var(--bg); }
.hb-rw-tab.is-on b { background: rgba(4, 7, 12, .12); }
.hb-rw-tab.is-empty:not(.is-on) { opacity: .4; }
.hb-rw-tab-short { display: none; }

.hb-rw-content { padding: 0 0 var(--sec); }
.hb-rw-layout { width: min(100% - var(--gutter) * 2, var(--container)); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }

.hb-rw-side {
  position: sticky;
  top: calc(var(--header) + 20px);
  max-height: calc(100vh - var(--header) - 40px);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: top .7s var(--ease), max-height .7s var(--ease);
}
html.nav-hidden .hb-rw-side { top: 20px; max-height: calc(100vh - 40px); }
.hb-rw-side-head { flex: none; padding: 20px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
.hb-rw-side-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.hb-rw-search { position: relative; display: block; }
.hb-rw-search .hb-ic { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--ink-3); pointer-events: none; }
.hb-rw-search input {
  width: 100%;
  height: 50px;
  padding: 0 18px 0 48px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  transition: border-color .4s ease, background-color .4s ease;
}
.hb-rw-search input::placeholder { color: var(--ink-3); }
.hb-rw-search input:focus { outline: none; border-color: var(--accent); background: var(--bg-1); }
.hb-rw-search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); opacity: .7; cursor: pointer; }

.hb-rw-toc { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.hb-rw-toc > * { flex: none; }
.hb-rw-toc-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  font-family: var(--f-sans);
  transition: background-color .4s ease, color .4s ease;
}
.hb-rw-toc-btn::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--accent); transform: scaleY(0); transition: transform .5s var(--ease); }
.hb-rw-toc-btn:hover { background: rgba(255, 255, 255, .035); color: var(--ink); }
.hb-rw-toc-btn.is-on { background: rgba(255, 255, 255, .05); color: var(--ink); }
.hb-rw-toc-btn.is-on::before { transform: scaleY(1); }
.hb-rw-toc-n { flex: none; width: 34px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); transition: color .4s ease; }
.hb-rw-toc-btn.is-on .hb-rw-toc-n { color: var(--accent); }
.hb-rw-toc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hb-rw-toc-txt b { font-weight: 600; font-size: 14.5px; }
.hb-rw-toc-txt span { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-rw-toc-count { flex: none; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center; background: rgba(var(--acc-rgb), .16); color: var(--accent-ink); font-family: var(--f-mono); font-size: 11px; }
.hb-rw-empty { padding: 18px 14px; font-size: 14px; color: var(--ink-3); }
.hb-rw-empty--lg { padding: 40px 20px; font-size: 16px; }

.hb-rw-panel { min-width: 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; scroll-margin-top: 100px; }
.hb-rw-panel-head { display: flex; align-items: flex-end; gap: 22px; padding: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.hb-rw-panel-n { flex: none; display: flex; align-items: center; justify-content: center; min-width: 74px; height: 74px; padding: 0 12px; border-radius: 20px; background: var(--accent); color: var(--on-accent); }
.hb-rw-panel-n span { font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-size: 40px; line-height: 1; }
.hb-rw-panel-title { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hb-rw-panel-title h2 { margin: 0; font-family: var(--f-display); font-weight: 860; font-stretch: 66%; font-size: clamp(34px, 3.4vw, 54px); line-height: .9; text-transform: uppercase; }
.hb-rw-panel-title span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hb-rw-panel-list { padding: 12px clamp(16px, 2vw, 24px) 20px; }
.hb-rw-panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px clamp(20px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.hb-rw-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.hb-rw-step .hb-ic { transition: transform .5s var(--ease); }
.hb-rw-step:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.hb-rw-step:hover:not(:disabled) .hb-ic { transform: translateX(3px); }
.hb-rw-step--prev:hover:not(:disabled) .hb-ic { transform: translateX(-3px); }
.hb-rw-step:disabled { color: var(--ink-4); border-color: var(--line); cursor: default; }

.hb-rw-group + .hb-rw-group { margin-top: 18px; }
.hb-rw-group-title { margin: 0; padding: 20px 12px 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.hb-rw-rules { list-style: none; margin: 0; padding: 0; }
.hb-rw-rule { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 22px 12px; border-bottom: 1px solid var(--line); transition: background-color .4s ease; }
.hb-rw-rules > li:last-child { border-bottom: 0; }
.hb-rw-rule:hover { background: rgba(255, 255, 255, .02); }
.hb-rw-rule-nr { padding-top: 3px; font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.hb-rw-rule-body { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hb-rw-rule-text { font-size: 16px; line-height: 1.7; color: var(--ink); }
.hb-rw-subs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hb-rw-sub { display: flex; gap: 12px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.hb-rw-dot { flex: none; width: 14px; height: 1px; margin-top: 12px; background: var(--ink-3); }
.hb-rw mark { padding: 0 2px; border-radius: 4px; background: rgba(var(--acc-rgb), .3); color: #fff; }
.rule-mark-accent, .rule-mark-danger, .rule-mark-money { font-weight: 600; }
.rule-mark-accent { color: var(--accent-ink); }
.rule-mark-danger { color: var(--danger-text); }
.rule-mark-money { color: var(--success-text); }
.hb-rw-other { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 20px 28px; font-size: 14px; color: var(--ink-3); }
.hb-rw-other button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-family: var(--f-sans); font-weight: 600; font-size: 13px; cursor: pointer; transition: background-color .4s, color .4s; }
.hb-rw-other button:hover { background: var(--ink); color: var(--bg); }
.hb-rw-other button b { padding: 1px 7px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-family: var(--f-mono); font-size: 11px; font-weight: 500; }

/* Regelwerk mobil */
.hb-rw-mobile { display: none; padding-bottom: 40px; }
.hb-rw-msearch, .hb-rw-picker, .hb-rw-mlist, .hb-rw-stepbar { padding-left: var(--rw-gutter); padding-right: var(--rw-gutter); }
.hb-rw-msearch { padding-bottom: 10px; }
.hb-rw-mobile.is-search .hb-rw-picker, .hb-rw-mobile.is-search .hb-rw-stepbar { display: none; }
.hb-rw-picker { position: sticky; top: var(--header); z-index: 30; padding-top: 10px; padding-bottom: 10px; background: rgba(4, 7, 12, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top .7s var(--ease); }
html.nav-hidden .hb-rw-picker { top: 0; }
.hb-rw-picker-btn { display: flex; align-items: center; gap: 14px; width: 100%; height: 60px; padding: 0 16px 0 8px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-family: var(--f-sans); text-align: left; cursor: pointer; }
.hb-rw-picker-btn > .hb-ic { flex: none; color: var(--ink-3); }
.hb-rw-picker-n { flex: none; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-size: 22px; }
.hb-rw-picker-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hb-rw-picker-txt b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-rw-picker-txt span { font-size: 12px; color: var(--ink-3); }
.hb-rw-mlist { padding-top: 18px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.hb-rw-msub { margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hb-rw-rule--card { grid-template-columns: 44px minmax(0, 1fr); padding: 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 10px; }
.hb-rw-rule--card:hover { background: var(--surface); }
.hb-rw-rule--card .hb-rw-rule-text { font-size: 15px; line-height: 1.6; }
.hb-rw-rule--card .hb-rw-sub { font-size: 14px; }
.hb-rw-stepbar { position: sticky; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(4, 7, 12, 0), var(--bg) 35%); }
.hb-rw-mstep { display: flex; align-items: center; justify-content: center; gap: 6px; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-family: var(--f-sans); font-weight: 600; font-size: 14px; cursor: pointer; }
.hb-rw-mstep:disabled { color: var(--ink-4); cursor: default; }
.hb-rw-mstep--next { border: 0; background: var(--accent); color: var(--on-accent); }
.hb-rw-mstep--next:disabled { background: var(--surface-3); color: var(--ink-4); }

.hb-rw-sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(2, 4, 8, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: hbFadeIn .3s ease both; }
.hb-rw-sheet-bg { position: absolute; inset: 0; border: 0; background: transparent; }
.hb-rw-sheet { position: relative; width: 100%; max-width: 640px; max-height: 80vh; display: flex; flex-direction: column; border-radius: 28px 28px 0 0; background: var(--bg-2); border-top: 1px solid var(--line-2); animation: hbSheet .55s var(--ease) both; }
.hb-rw-sheet-grip { align-self: center; width: 44px; height: 4px; margin-top: 10px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.hb-rw-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 12px; }
.hb-rw-sheet-head > span { font-family: var(--f-display); font-weight: 860; font-stretch: 66%; font-size: 28px; text-transform: uppercase; }
.hb-rw-sheet-head button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.hb-rw-sheet-list { overflow-y: auto; overscroll-behavior: contain; padding: 0 12px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 2px; }
.hb-rw-sheet-item { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 14px; border: 0; border-radius: 14px; background: transparent; color: var(--ink-2); font-family: var(--f-sans); font-weight: 500; font-size: 15px; text-align: left; cursor: pointer; }
.hb-rw-sheet-item.is-on { background: rgba(255, 255, 255, .06); color: var(--ink); font-weight: 600; }
.hb-rw-sheet-n { flex: none; width: 36px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.hb-rw-sheet-item.is-on .hb-rw-sheet-n { color: var(--accent); }
.hb-rw-sheet-t { flex: 1; }
.hb-rw-sheet-check { display: flex; color: var(--accent); }
@keyframes hbSheet { 0% { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------- Live ---------- */
.hb-live-count { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(239, 68, 68, .45); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--danger-text); }
.hb-live-count i { width: 7px; height: 7px; border-radius: 99px; background: var(--live); animation: hbLive 1.6s ease-in-out infinite; }
.hb-live-count.is-idle { border-color: var(--line-2); color: var(--ink-2); }
.hb-live-count.is-idle i { background: var(--ink-3); animation: none; }
.hb-live-updated { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

.hb-live-platform-icon { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; }
.hb-live-platform-icon.is-twitch { background: rgba(169, 112, 255, .14); color: var(--twitch); }
.hb-live-platform-icon.is-tiktok { background: rgba(255, 77, 122, .14); color: var(--tiktok); }
.hb-live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.hb-live-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .5s var(--ease), translate .7s var(--ease), background-color .5s var(--ease);
}
.hb-live-card:hover { border-color: var(--line-2); background: var(--surface-2); translate: 0 -4px; }
.hb-live-card.is-live { border-color: rgba(239, 68, 68, .45); }
.hb-live-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; background: var(--bg-2); }
.hb-live-card.is-live .hb-live-thumb { background: linear-gradient(135deg, #2a1215, var(--bg-2)); }
.hb-live-card.is-partner .hb-live-thumb { background: linear-gradient(135deg, #2a1220, var(--bg-2)); }
.hb-live-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.hb-live-card:hover .hb-live-thumb > img { scale: 1.05; }
.hb-live-thumb-lines { position: absolute; inset: 0; background: repeating-linear-gradient(-58deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 18px); }
.hb-live-thumb-name { position: relative; max-width: 100%; padding: 0 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-size: 38px; line-height: 1; text-transform: uppercase; color: rgba(238, 243, 249, .1); }
.hb-live-chip { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(4, 7, 12, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--ink-2); }
.hb-live-chip i { width: 6px; height: 6px; border-radius: 99px; background: var(--ink-3); }
.hb-live-card.is-live .hb-live-chip { background: var(--live); color: #fff; }
.hb-live-card.is-live .hb-live-chip i { background: #fff; animation: hbLive 1.6s ease-in-out infinite; }
.hb-live-card.is-partner .hb-live-chip { color: #ff9db5; }
.hb-live-card.is-partner .hb-live-chip i { background: var(--tiktok); }
.hb-live-viewers { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(4, 7, 12, .75); font-family: var(--f-mono); font-size: 11px; color: var(--ink); }
.hb-live-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 22px; }
.hb-live-who { display: flex; align-items: center; gap: 14px; }
.hb-live-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-size: 18px; }
.hb-live-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hb-live-card.is-twitch .hb-live-avatar { background: rgba(169, 112, 255, .14); color: var(--twitch); }
.hb-live-card.is-tiktok .hb-live-avatar { background: rgba(255, 77, 122, .14); color: var(--tiktok); }
.hb-live-card.is-live .hb-live-avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--live); }
.hb-live-who-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hb-live-who-txt b, .hb-live-who-txt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-live-who-txt b { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; font-size: 22px; line-height: 1; text-transform: uppercase; }
.hb-live-who-txt span { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }
.hb-live-status { flex: 1; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hb-live-card.is-live .hb-live-status { color: var(--ink); }
.hb-live-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); }
.hb-live-card .hb-link { flex: none; font-family: var(--f-sans); font-size: 13px; letter-spacing: 0; }
.hb-live-empty { padding: 40px 28px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); font-size: 15px; color: var(--ink-3); }
@keyframes hbLive { 0%, to { opacity: .5; } 50% { opacity: 1; } }

/* ---------- Team ---------- */
.hb-team-rank-icon { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--rank); color: var(--rank-on); }
.hb-team-rank-icon > span { display: flex; }
.hb-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.hb-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .5s var(--ease), translate .7s var(--ease), background-color .5s var(--ease);
}
.hb-team-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rank); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.hb-team-card:hover { border-color: var(--line-2); background: var(--surface-2); translate: 0 -4px; }
.hb-team-card:hover::before { transform: scaleX(1); }
.hb-team-who { display: flex; align-items: center; gap: 16px; }
.hb-team-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--rank-tint); color: var(--rank); font-family: var(--f-display); font-weight: 900; font-stretch: 66%; font-size: 20px; }
.hb-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hb-team-who-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hb-team-who-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-stretch: 72%; font-size: 24px; line-height: 1; text-transform: uppercase; }
.hb-team-rank-chip { align-self: flex-start; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--rank-tint); color: var(--rank); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; }
.hb-team-rank-chip i { flex: none; width: 6px; height: 6px; border-radius: 99px; background: var(--rank); }
.hb-team-rank-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-team-roles { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.hb-team-role { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .hb-rw-content { display: none; }
  .hb-rw-mobile { display: block; }
  .hb-rw-tabbar { margin-top: -20px; }
  .hb-rw-tabs { width: auto; margin: 0 var(--rw-gutter) 18px; }
}

@media (max-width: 767px) {
  .hb-phero h1 { font-size: clamp(54px, 17vw, 96px); }
  .hb-rw-tab { height: 42px; padding: 0 14px; font-size: 13px; }
  .hb-rw-tab-long { display: none; }
  .hb-rw-tab-short { display: inline; }
  .hb-rw-rule { grid-template-columns: 52px minmax(0, 1fr); }
  .hb-apply { border-radius: var(--r-lg); }
  .hb-apply .hb-btn { width: 100%; }
}
