/* ==========================================================
   DLS HUB — public styles (v3)
   ========================================================== */
html, body { background: #020617; }
.hb {
  --cyan: #00e5ff; --cyan-rgb: 0, 229, 255;
  --pink: #ff2d8a; --pink-rgb: 255, 45, 138;
  --green: #38ef7d; --green-rgb: 56, 239, 125;
  --amber: #fbbf24; --red: #ff4d6d; --violet: #a78bfa;
  --bg: #020617;
  --surface: rgba(15, 23, 42, .78);
  --surface-2: rgba(2, 6, 23, .65);
  --surface-3: #0b1222;
  --line: rgba(148, 163, 184, .13);
  --line-2: rgba(148, 163, 184, .26);
  --ink: #e2e8f0; --ink-2: #94a3b8; --ink-3: #64748b;
  --r: 16px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --display: 'DLSFont', 'Segoe UI', sans-serif;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
}
.hb *, .hb *::before, .hb *::after { box-sizing: border-box; }
.hb [hidden] { display: none !important; }
.hb a { color: inherit; }
.hb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hb :focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hb button { font: inherit; color: inherit; }

/* ── HUB BAR ── */
.hb-bar { position: sticky; top: 0; z-index: 50; background: rgba(2, 6, 23, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hb-bar-in { max-width: 1320px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
.hb-brand { font: 400 20px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #fff; text-decoration: none; white-space: nowrap; }
.hb-brand span { color: var(--cyan); }
.hb-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.hb-links::-webkit-scrollbar { display: none; }
.hb-links a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.hb-links a small { color: var(--ink-3); font-weight: 600; margin-left: 2px; }
.hb-links a:hover { color: #fff; background: rgba(255,255,255,.04); }
.hb-links a[aria-current] { color: #fff; background: rgba(var(--cyan-rgb), .1); box-shadow: inset 0 -2px 0 var(--cyan); }
.hb-bar-end { display: flex; align-items: center; gap: 8px; }
.hb-acct { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink-2); position: relative; overflow: visible; }
.hb-acct img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hb-acct:hover { border-color: var(--cyan); color: #fff; }
.hb-acct .hb-dot { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }

/* ── BUTTONS ── */
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s, color .15s; white-space: nowrap; }
.hb-btn:hover { border-color: rgba(var(--cyan-rgb), .55); color: #fff; }
.hb-btn:active { transform: translateY(1px); }
.hb-btn[disabled] { opacity: .55; cursor: not-allowed; }
.hb-btn--primary { background: linear-gradient(135deg, var(--cyan), #22d3ee 55%, #38bdf8); border-color: transparent; color: #00131a; }
.hb-btn--primary:hover { color: #00131a; filter: brightness(1.08); }
.hb-btn--go { background: var(--green); border-color: transparent; color: #04210f; }
.hb-btn--go:hover { color: #04210f; filter: brightness(1.06); }
.hb-btn--go.is-done { background: #fff; }
.hb-btn--block { width: 100%; min-height: 48px; font-size: 15px; }
.hb-link { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: 8px; font-size: 13px; }
@media (max-width: 560px) { .hb-links a small { display: none; } .hb-links a { padding: 8px 9px; } .hb-bar-in { gap: 8px; } .hb-bar .hb-btn span { display: none; } .hb-bar .hb-btn { padding: 8px 11px; } .hb-brand { font-size: 17px; } }

/* ── LAYOUT ── */
.hb-wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px 48px; }
.hb-head { text-align: center; padding: 34px 0 18px; }
.hb-head--sm { padding: 22px 0 10px; }
.hb-head h1 { margin: 0; font: 400 clamp(28px, 5vw, 50px)/1.05 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.hb-head--sm h1 { font-size: clamp(24px, 4vw, 38px); }
.hb-head h1 span { color: var(--cyan); text-shadow: 0 0 28px rgba(var(--cyan-rgb), .35); }
.hb-lede { max-width: 680px; margin: 12px auto 0; color: var(--ink-2); font-size: 15.5px; }
.hb-lede b { color: #fff; }
.hb-crumbs { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 10px; }
.hb-wrap > .hb-crumbs { text-align: left; }
.hb-crumbs a { color: var(--ink-2); text-decoration: none; }
.hb-crumbs a:hover { color: var(--cyan); }
.hb-crumbs span { margin: 0 6px; }
.hb-sec { margin-top: 26px; }
.hb-h2 { margin: 0 0 14px; font: 400 22px/1.15 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.hb-h3 { margin: 0 0 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.hb-center { text-align: center; margin-top: 18px; }
.hb-small { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 0; }
.hb-small a { color: var(--ink-2); }

/* ── SEARCH ── */
.hb-search { max-width: 640px; margin: 20px auto 0; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.hb-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .12); }
.hb-search svg { color: var(--ink-3); }
.hb-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 16px; padding: 10px 4px; }
.hb-search input::placeholder { color: var(--ink-3); }
.hb-search select { background: var(--surface-3); color: var(--cyan); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 10px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.hb-stats { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hb-stats li { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--ink-2); }
.hb-stats b { color: var(--cyan); }

/* ── CHIPS / TAGS ── */
.hb-chips, .hb-tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.hb-chips { justify-content: safe center; padding-bottom: 4px; }
.hb-chips::-webkit-scrollbar { display: none; }
.hb-tags { flex-wrap: wrap; overflow: visible; }
.hb-chips a, .hb-tags a { display: inline-block; white-space: nowrap; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: capitalize; }
.hb-chips a:hover, .hb-tags a:hover, .hb-chips a[aria-current] { color: #fff; border-color: var(--cyan); background: rgba(var(--cyan-rgb), .08); }

/* ── CREATORS ── */
.hb-creators { margin-top: 22px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.hb-creators ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.hb-creators li { flex: 0 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); min-width: 170px; }
.hb-rank { grid-row: span 3; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 400 14px/1 var(--display); background: rgba(var(--cyan-rgb), .12); color: var(--cyan); }
.hb-creators li:first-child .hb-rank { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a1000; }
.hb-cname { font-weight: 700; color: #fff; font-size: 14px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-creators small { color: var(--ink-3); font-size: 12px; }
.hb-creators .hb-badge { justify-self: start; margin-top: 3px; }

/* ── TOOLBAR / SEGMENTED ── */
.hb-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hb-toolbar .hb-h2 { margin: 0; }
.hb-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.hb-seg a, .hb-seg button { padding: 7px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; }
.hb-seg a[aria-current], .hb-seg button[aria-checked="true"] { background: #1e293b; color: var(--cyan); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.hb-seg--full { display: flex; width: 100%; }
.hb-seg--full button { flex: 1; padding: 10px; }

/* ── GRID & CARDS ── */
.hb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .hb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .hb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .hb-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.hb-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; animation: hbIn .35s ease both; }
.hb-card:hover { transform: translateY(-3px); border-color: rgba(var(--cyan-rgb), .4); box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
@keyframes hbIn { from { opacity: 0; transform: translateY(6px); } }
.hb-thumb { position: relative; display: block; aspect-ratio: 1; padding: 8%; background: #0b1222 radial-gradient(circle at 50% 45%, rgba(255,255,255,.07), transparent 70%); border-bottom: 1px solid var(--line); }
.hb-thumb::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: conic-gradient(rgba(255,255,255,.035) 25%, transparent 0 50%, rgba(255,255,255,.035) 0 75%, transparent 0); background-size: 16px 16px; pointer-events: none; }
.hb-thumb img { color: transparent; font-size: 0; position: relative; width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.hb-card:hover .hb-thumb img { transform: scale(1.04); }
.hb-type { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(var(--cyan-rgb), .14); color: var(--cyan); border: 1px solid rgba(var(--cyan-rgb), .28); }
.hb-type--logo { background: rgba(167, 139, 250, .14); color: var(--violet); border-color: rgba(167, 139, 250, .3); }
.hb-thumb .hb-type { position: absolute; left: 8px; top: 8px; backdrop-filter: blur(6px); }
.hb-body { padding: 10px 12px 4px; min-width: 0; flex: 1; }
.hb-name { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-name a { text-decoration: none; color: #fff; }
.hb-name a:hover { color: var(--cyan); }
.hb-by { margin: 3px 0 0; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-badge { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; vertical-align: 1px; border: 1px solid; }
.hb-badge--admin { color: var(--green); border-color: rgba(var(--green-rgb), .35); background: rgba(var(--green-rgb), .08); }
.hb-badge--master { color: var(--amber); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.hb-badge--elite { color: var(--cyan); border-color: rgba(var(--cyan-rgb), .35); background: rgba(var(--cyan-rgb), .08); }
.hb-badge--rookie { color: var(--ink-2); border-color: var(--line-2); }
.hb-acts { display: flex; gap: 6px; padding: 8px 10px 10px; }
.hb-copy { flex: 1; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; border: 1px solid rgba(var(--green-rgb), .35); background: rgba(var(--green-rgb), .08); color: var(--green); font-weight: 700; font-size: 13px; cursor: pointer; transition: .15s; }
.hb-copy svg { width: 15px; height: 15px; }
.hb-copy:hover { background: var(--green); color: #04210f; }
.hb-copy.is-done { background: var(--green); color: #04210f; }
.hb-heart { min-width: 40px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-weight: 700; font-size: 12.5px; cursor: pointer; padding: 0 9px; transition: .15s; }
.hb-heart svg { width: 16px; height: 16px; }
.hb-heart:hover { color: var(--pink); border-color: rgba(var(--pink-rgb), .45); }
.hb-heart[aria-pressed="true"] { color: var(--pink); border-color: rgba(var(--pink-rgb), .45); background: rgba(var(--pink-rgb), .08); }
.hb-heart[aria-pressed="true"] svg { fill: currentColor; }
.hb-heart span:empty { display: none; }
.hb-heart--big { min-height: 40px; padding: 8px 14px; }
.hb-heart.pop svg { animation: hbPop .35s ease; }
@keyframes hbPop { 50% { transform: scale(1.35); } }
.hb-status { position: absolute; right: 8px; top: 8px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(251,191,36,.15); color: var(--amber); border: 1px solid rgba(251,191,36,.35); }
.hb-status--approved { background: rgba(var(--green-rgb), .12); color: var(--green); border-color: rgba(var(--green-rgb), .35); }
.hb-del { color: var(--ink-3); }
.hb-del:hover { color: var(--red); border-color: rgba(255, 77, 109, .5); }

.hb-empty { text-align: center; padding: 40px 16px; color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: var(--r); }
.hb-more { min-width: 220px; }
.hb-more.is-loading { pointer-events: none; opacity: .7; }
.hb-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; font-size: 14px; }
.hb-pager a, .hb-pager b, .hb-pager span { min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; }
.hb-pager a { border: 1px solid var(--line); color: var(--ink-2); }
.hb-pager a:hover { border-color: var(--cyan); color: #fff; }
.hb-pager b { background: rgba(var(--cyan-rgb), .14); color: var(--cyan); }
.hb-pager span { color: var(--ink-3); }
.hb-js .hb-pager { display: none; }

/* ── STEPS / ARTICLE / FAQ ── */
.hb-steps { margin-top: 40px; }
.hb-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; counter-reset: s; }
.hb-steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 60px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.hb-steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 400 16px/1 var(--display); background: rgba(var(--cyan-rgb), .12); color: var(--cyan); }
.hb-steps b { display: block; color: #fff; }
.hb-steps span { color: var(--ink-2); font-size: 14px; }
.hb-article, .hb-faq { margin-top: 32px; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.hb-article p { color: var(--ink-2); margin: 0 0 12px; }
.hb-article strong { color: #fff; }
.hb-article a { color: var(--cyan); }
.hb-article h3 { color: #fff; margin: 18px 0 8px; font-size: 16px; }
.hb-faq details { border-top: 1px solid var(--line); }
.hb-faq details:first-of-type { border-top: 0; }
.hb-faq summary { list-style: none; cursor: pointer; padding: 14px 30px 14px 0; position: relative; font-weight: 700; color: #fff; }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: "+"; position: absolute; right: 4px; top: 9px; font-size: 22px; color: var(--cyan); transition: transform .2s; }
.hb-faq details[open] summary::after { transform: rotate(45deg); }
.hb-faq p { margin: 0 0 14px; color: var(--ink-2); }

/* ── DETAIL PAGE ── */
.hb-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 6px; }
@media (max-width: 860px) { .hb-detail { grid-template-columns: 1fr; gap: 18px; } }
.hb-stage { position: relative; margin: 0; aspect-ratio: 1; border-radius: 22px; border: 1px solid var(--line-2); overflow: hidden; display: grid; place-items: center; padding: 6%; }
.hb-stage[data-bg="check"] { background-color: #1e293b; background-image: conic-gradient(#334155 25%, transparent 0 50%, #334155 0 75%, transparent 0); background-size: 24px 24px; }
.hb-stage[data-bg="dark"] { background: #020617; }
.hb-stage[data-bg="light"] { background: #f1f5f9; }
.hb-stage img, .hb-stage canvas { width: 100%; height: 100%; object-fit: contain; display: block; }
.hb-stage--sm { max-width: 260px; width: 100%; margin: 0 auto; padding: 0; border-radius: 16px; }
.hb-bgs { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: rgba(2,6,23,.7); backdrop-filter: blur(6px); }
.hb-bgs button { width: 24px; height: 24px; border-radius: 7px; border: 2px solid transparent; cursor: pointer; padding: 0; }
.hb-bgs [data-bg="check"] { background: conic-gradient(#64748b 25%, #cbd5e1 0 50%, #64748b 0 75%, #cbd5e1 0); background-size: 12px 12px; }
.hb-bgs [data-bg="dark"] { background: #020617; border-color: #334155; }
.hb-bgs [data-bg="light"] { background: #f1f5f9; }
.hb-bgs [aria-pressed="true"] { border-color: var(--cyan); }
.hb-info h1 { margin: 6px 0 6px; font: 400 clamp(26px, 4vw, 40px)/1.08 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .02em; word-break: break-word; }
.hb-kicker { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hb-meta { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.hb-meta strong { color: #fff; }
.hb-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 6px; }
.hb-label small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.hb-urlbox { display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.hb-urlbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--cyan); font: 600 13.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 0 8px; }
.hb-urlbox .hb-btn { min-height: 44px; padding: 8px 18px; }
.hb-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.hb-row--stack { flex-direction: column; }
.hb-row--stack .hb-btn { width: 100%; }
.hb-how { margin: 18px 0 0; padding: 14px 16px 14px 34px; border-radius: 14px; background: rgba(var(--cyan-rgb), .05); border: 1px solid rgba(var(--cyan-rgb), .18); color: var(--ink-2); font-size: 14px; }
.hb-how li + li { margin-top: 4px; }
.hb-how b { color: #fff; }

/* ── MODALS ── */
.hb-modal { width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 26px 22px 22px; border-radius: 22px; border: 1px solid var(--line-2); background: #0b1120; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); overflow-y: auto; }
.hb-modal::backdrop { background: rgba(2, 6, 23, .78); backdrop-filter: blur(6px); }
.hb-modal[open] { animation: hbModal .22s ease; }
@keyframes hbModal { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.hb-modal h2 { margin: 10px 0 4px; font: 400 22px/1.15 var(--display); text-transform: uppercase; color: #fff; word-break: break-word; }
.hb-x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-3); font-size: 26px; line-height: 1; cursor: pointer; }
.hb-x:hover { color: #fff; background: rgba(255,255,255,.05); }
.hb-qv .hb-stage { margin-bottom: 12px; }
.hb-qv .hb-meta { margin-bottom: 12px; }
.hb-up h2 { margin-top: 0; }
.hb-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin: 14px 0 12px; }
.hb-tabs button { flex: 1; padding: 9px; border-radius: 9px; border: 0; background: none; font-weight: 700; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.hb-tabs [aria-selected="true"] { background: #1e293b; color: var(--cyan); }
.hb-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 190px; padding: 22px; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--surface-2); text-align: center; cursor: pointer; transition: .15s; }
.hb-drop svg { width: 40px; height: 40px; color: var(--cyan); stroke-width: 1.5; }
.hb-drop b { color: #fff; font-size: 16px; }
.hb-drop span { color: var(--ink-3); font-size: 12.5px; }
.hb-drop:hover, .hb-drop.is-over { border-color: var(--cyan); background: rgba(var(--cyan-rgb), .05); }
.hb-urlin { display: flex; gap: 6px; }
.hb-input, .hb-urlin input { width: 100%; padding: 12px 13px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-3); color: #fff; font: inherit; font-size: 16px; outline: 0; }
.hb-input:focus, .hb-urlin input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .12); }
.hb-prev { display: grid; gap: 14px; }
.hb-noprev { position: absolute; inset: auto 10px 10px; margin: 0; font-size: 12px; text-align: center; color: #fff; background: rgba(2,6,23,.8); padding: 6px; border-radius: 8px; }
.hb-fields .hb-seg { margin-bottom: 8px; }
.hb-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hb-suggest button { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--ink-2); font-size: 12px; cursor: pointer; text-transform: capitalize; }
.hb-suggest button:hover { color: #fff; border-color: var(--cyan); }
.hb-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.hb-check input { width: 18px; height: 18px; accent-color: var(--cyan); flex: none; margin-top: 1px; }
.hb-msg { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; min-height: 1em; text-align: center; }
.hb-msg.is-err { color: var(--red); }
.hb-msg.is-ok { color: var(--green); }
.hb-alert { padding: 14px; border-radius: 12px; background: rgba(255,77,109,.08); border: 1px solid rgba(255,77,109,.3); color: #fecdd3; }
.hb-done-ico { width: 64px; height: 64px; margin: 6px auto 4px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 800; color: #04210f; background: var(--green); box-shadow: 0 0 40px rgba(var(--green-rgb), .35); }
.hb-spin { width: 34px; height: 34px; margin: 30px auto; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--cyan); animation: hbSpin .8s linear infinite; }
@keyframes hbSpin { to { transform: rotate(360deg); } }

/* ── MY PAGE ── */
.hb-my-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.hb-my-user { display: flex; align-items: center; gap: 12px; }
.hb-my-user img { width: 48px; height: 48px; border-radius: 50%; }
.hb-my-user b { color: #fff; font-size: 17px; display: block; }
.hb-my-stats { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.hb-my-stats li { padding: 8px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); text-align: center; min-width: 76px; }
.hb-my-stats b { display: block; font: 400 20px/1.1 var(--display); color: #fff; }
.hb-my .hb-tabs { max-width: 360px; }
.hb-skel { height: 240px; border-radius: var(--r); background: linear-gradient(90deg, var(--surface) 0, rgba(30,41,59,.9) 50%, var(--surface) 100%); background-size: 200% 100%; animation: hbSk 1.2s infinite; }
@keyframes hbSk { to { background-position: -200% 0; } }

/* ── TOAST ── */
.hb-toast { position: fixed; left: 50%; bottom: 22px; z-index: 2000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: #0f172a; border: 1px solid rgba(var(--green-rgb), .45); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 14px 40px rgba(0,0,0,.6); transition: .25s; text-align: center; }
.hb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hb-toast small { display: block; color: var(--ink-2); font-weight: 500; font-size: 12.5px; margin-top: 2px; }
.hb-toast.is-err { border-color: rgba(255,77,109,.5); }

@media (max-width: 480px) {
  .hb-acts { padding: 6px 8px 8px; }
  .hb-copy { font-size: 12px; }
  .hb-copy svg { display: none; }
  .hb-body { padding: 8px 10px 2px; }
  .hb-article, .hb-faq { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hb *, .hb-modal { animation: none !important; transition: none !important; } }
