/* HUMANITYBOOK · СТИЛИ СТАРТОВОГО ПОРТАЛА (hb-index.css · 1 правило = 1 строка) */
.idx-topbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.idx-keepers-val { color: var(--hb-accent-2, #a3e635); }
.idx-emblem-slot { display: flex; justify-content: center; align-items: center; margin: 14px auto 12px; }
.idx-emblem-slot img { width: 100px; height: 100px; object-fit: contain; display: block; }
.idx-hero { padding: 18px 24px 16px; }
.idx-hero-h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.idx-hero-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 12px auto 8px; }
.idx-enter-btn { font-size: 1.06rem; padding: 14px 24px; text-align: center; border-radius: 50px !important; }
.idx-sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 860px; margin: 0 auto; align-items: stretch; }
@media (max-width: 720px) { .idx-sec-grid { grid-template-columns: 1fr; } }
.idx-sec-btn { min-height: 46px; line-height: 1.18; padding: 7px 10px; text-align: center; font-size: .82rem; }
.idx-create-btn { flex-direction: column; border: 1.5px solid var(--hb-accent-2, #a3e635) !important; color: var(--hb-accent-2, #a3e635) !important; font-weight: 800; }
.idx-create-sub { display: block; font-size: .69rem; font-weight: 500; opacity: .88; margin-top: 2px; }
.idx-hero-note { margin: 6px auto 0; font-size: .83rem; }
.idx-details { margin: 7px 0; border-radius: 10px; padding: 0 14px; }
.idx-summary { padding: 10px 4px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.idx-summary::-webkit-details-marker { display: none; }
.idx-summary-hint { font-size: .75rem; opacity: .75; }
.idx-details-body { padding-bottom: 14px; }
.hb-entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; max-width: var(--hb-w-main, 1350px); margin: 14px auto 22px; padding: 0 8px; box-sizing: border-box; }
.hb-entry-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; max-width: 100%; min-width: 0; border-radius: 16px; text-decoration: none; color: var(--hb-card-ink, #ece7dc); background: var(--hb-card-bg, #12151d); border: 1.5px solid var(--hb-card-brd, #262b38); box-shadow: 0 18px 48px rgba(0,0,0,.55); transition: transform .18s, border-color .18s, box-shadow .18s; }
.hb-entry-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(0,0,0,.7); }
.hb-entry-card.biz { border-color: rgba(16, 185, 129, .55); flex-direction: column; }
.hb-entry-card.biz:hover { border-color: #34d399; }
.hb-entry-card.person { border-color: rgba(212, 175, 55, .6); flex-direction: column; justify-content: space-between; }
.hb-entry-card.person:hover { border-color: var(--hb-accent, #d4af37); }
.hb-entry-head { display: flex; gap: 14px; align-items: flex-start; width: 100%; }
.hb-entry-svg { width: 84px; height: 84px; flex: 0 0 84px; }
.hb-entry-kicker { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin: 0 0 2px; }
.hb-entry-title { font-size: 1.32rem; font-weight: 900; letter-spacing: .05em; margin: 0 0 6px; line-height: 1.15; }
.hb-entry-card.biz .hb-entry-title { color: #34d399; }
.hb-entry-card.person .hb-entry-title { color: var(--hb-accent, #d4af37); }
.hb-entry-sub { font-size: .79rem; line-height: 1.52; color: var(--hb-card-muted, #9a9589); margin: 0; }
.hb-biz-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 4px; }
.hb-biz-tier { display: block; padding: 9px 11px; border-radius: 11px; text-decoration: none; background: rgba(16, 185, 129, .10); border: 1px solid rgba(16, 185, 129, .42); color: #34d399; transition: background .16s, border-color .16s, transform .16s; }
.hb-biz-tier:hover { background: rgba(16, 185, 129, .20); border-color: #6ee7b7; transform: translateY(-1px); }
.hb-biz-tier.tgm { background: rgba(212, 175, 55, .11); border-color: rgba(212, 175, 55, .5); color: var(--hb-accent, #d4af37); }
.hb-biz-tier.tgm:hover { background: rgba(212, 175, 55, .22); border-color: #ffe08a; }
.hb-biz-tier-name { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .05em; }
.hb-biz-tier-price { display: block; font-size: .82rem; font-weight: 900; margin: 2px 0; }
.hb-biz-tier-meta { display: block; font-size: .67rem; line-height: 1.3; opacity: .88; color: var(--hb-card-ink, #ece7dc); }
.hb-biz-riddle { font-size: .74rem; font-style: italic; color: #ffe08a; margin: 2px 0 0; line-height: 1.4; }
.hb-entry-price { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 9px 12px; border-radius: 11px; font-size: .75rem; font-weight: 800; line-height: 1.4; }
.hb-entry-card.person .hb-entry-price { background: rgba(212, 175, 55, .12); color: var(--hb-accent, #d4af37); border: 1px solid rgba(212, 175, 55, .45); }
.hb-prologue { max-width: 1020px; margin: 0 auto 18px; padding: 16px 20px; border-radius: 14px; background: var(--hb-card-bg, #12151d); border: 1px solid rgba(212, 175, 55, .35); text-align: left; font-size: .83rem; line-height: 1.6; color: var(--hb-card-ink, #ece7dc); }
.hb-prologue-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; }
.hb-prologue p { margin: 0 0 8px; }
.hb-prologue p:last-child { margin-bottom: 0; }
.hb-prologue strong { color: var(--hb-accent, #d4af37); }
.hb-ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: var(--hb-w-main, 1350px); margin: 18px auto 22px; padding: 0 8px; box-sizing: border-box; }
.hb-ladder-step { padding: 12px 13px; border-radius: 12px; background: var(--hb-card-bg, #12151d); border: 1px solid var(--hb-card-brd, #262b38); text-align: left; }
.hb-ladder-age { display: block; font-size: .98rem; font-weight: 900; color: var(--hb-accent, #d4af37); letter-spacing: .03em; margin-bottom: 4px; }
.hb-ladder-txt { font-size: .73rem; line-height: 1.42; color: var(--hb-card-muted, #9a9589); margin: 0; }
@media (max-width: 860px) { .hb-prologue-grid { grid-template-columns: 1fr; } .hb-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hb-entry-grid { padding: 12px 12px 0; margin: 0 auto 14px; } .hb-entry-head { flex-direction: column; align-items: center; text-align: center; } .hb-entry-svg { width: 72px; height: 72px; flex: 0 0 72px; } .hb-biz-tiers { grid-template-columns: 1fr; } .hb-ladder { grid-template-columns: 1fr; padding: 0 12px; } }
