/* HUMANITYBOOK · СТИЛИ РАБОЧЕГО ПРОСТРАНСТВА ХРАНИТЕЛЯ (hb-workspace.css · 1 правило = 1 строка) */
.mode-switch { display: flex; gap: 8px; background: var(--hb-sub-bg, #07090f); padding: 4px; border-radius: 10px; border: 1px solid var(--hb-sub-brd, #283554); flex-wrap: wrap; }
.mode-btn { border: 0; background: transparent; color: var(--hb-card-muted, #a8a296); padding: 8px 14px; border-radius: 7px; cursor: pointer; font-weight: 600; font-size: .86rem; transition: .15s; }
.mode-btn.active { background: var(--hb-act-bg, #d4af37); color: var(--hb-act-ink, #07090f); }
.status-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 22px; background: var(--hb-nav-bg, #161e31); border-bottom: 1px solid var(--hb-nav-brd, #283554); font-size: .86rem; }
.cap-box { display: flex; align-items: center; gap: 10px; min-width: 260px; }
.cap-bar { flex: 1; height: 8px; background: var(--hb-sub-bg, #07090f); border-radius: 999px; overflow: hidden; border: 1px solid var(--hb-sub-brd, #283554); }
.cap-fill { height: 100%; background: var(--hb-accent, #d4af37); width: 0%; transition: width .25s; }
#btnTopUpTime { padding: 8px 16px; border-radius: 9px; border: 0; background: #16a34a; color: #fff; font-weight: 900; font-size: .86rem; letter-spacing: .04em; cursor: pointer; box-shadow: 0 4px 14px rgba(22,163,74,.35); transition: background .15s; }
#btnTopUpTime:hover { background: #15803d; }
#hbGenesisStrip { max-width: var(--hb-w-main, 1350px); width: 100%; box-sizing: border-box; margin: 12px auto 0; padding: 10px 16px; border-radius: 12px; border: 1.5px solid rgba(212,175,55,.5); background: var(--hb-card-bg, #12151d); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
#hbGenesisVal { font-family: ui-monospace, monospace; font-size: .8rem; word-break: break-all; color: var(--hb-accent, #d4af37); }
#hbGenesisVal.locked { color: #f87171; letter-spacing: .06em; }
#hbActivationGateHost { max-width: var(--hb-w-main, 1350px); width: 100%; box-sizing: border-box; margin: 10px auto 0; }
#joyAscensionPanel { border-bottom: 1px solid rgba(212,175,55,.45); background: var(--hb-card-bg, #0d1017); padding: 18px 22px; box-shadow: 0 12px 36px rgba(0,0,0,.45); width: 100% !important; box-sizing: border-box !important; }
#joyAscensionPanel > div { width: 100% !important; max-width: var(--hb-w-main, 1350px) !important; margin: 0 auto !important; }
#joyCountersGrid { display: flex !important; flex-direction: column !important; gap: 9px !important; margin-bottom: 14px; width: 100% !important; }
.hb-ws-details { background: var(--hb-sub-bg, #0b0d12); border: 1px solid var(--hb-card-brd, #262b38); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.hb-ws-summary { cursor: pointer; font-weight: 800; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; color: var(--hb-accent, #d4af37); }
.hb-ws-summary.ice { color: var(--hb-ice, #7dd3fc); }
.hb-ws-body { margin-top: 12px; }
.hb-strips-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.hb-strips-kicker { font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hb-accent, #d4af37); font-weight: 800; }
#hbTimePaletteBar { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.hb-tp-label { font-size: .67rem; color: var(--hb-card-muted, #9ca3af); }
.hb-tp-dot { width: 18px; height: 18px; border-radius: 50%; cursor: pointer; border: 1.5px solid var(--hb-accent, #ffd700); padding: 0; }
.hb-tp-dot[data-tp="01"] { border-color: #ffd700; background: linear-gradient(135deg,#ffd700,#090a0f); }
.hb-tp-dot[data-tp="02"] { border-color: #34d399; background: linear-gradient(135deg,#10b981,#061410); }
.hb-tp-dot[data-tp="03"] { border-color: #7dd3fc; background: linear-gradient(135deg,#38bdf8,#08121e); }
.hb-tp-dot[data-tp="04"] { border-color: #f59e0b; background: linear-gradient(135deg,#fef3c7,#b45309); }
.hb-tp-dot[data-tp="05"] { border-color: #e879f9; background: linear-gradient(135deg,#c026d3,#140718); }
.hb-tp-dot[data-tp="06"] { border-color: #fb7185; background: linear-gradient(135deg,#e11d48,#19070b); }
.hb-time-strip { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; border: 1.5px solid rgba(212,175,55,.5); background: var(--hb-sub-bg, #0b0d12); border-radius: 11px; padding: 10px 15px; }
.hb-time-strip.s1 { border-color: rgba(255,215,0,.52); align-items: center; }
.hb-time-strip.s2 { border-color: rgba(245,158,11,.52); align-items: center; }
.hb-time-strip.s4 { border-color: rgba(202,138,4,.52); }
.hb-time-strip.s5 { border-color: rgba(125,211,252,.45); }
.hb-strip-left { display: flex; align-items: flex-start; gap: 12px; flex: 1 1 360px; }
.hb-strip-body { flex: 1 1 auto; }
.hb-strip-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; padding: 3px; background: var(--hb-card-bg, #12151d); border: 1.5px solid var(--hb-accent, #ffd700); display: flex; align-items: center; justify-content: center; }
.hb-strip-icon img { width: 30px; height: 30px; display: block; }
.hb-time-strip.s5 .hb-strip-icon { border-color: #7dd3fc; }
.hb-time-strip.s5 .hb-strip-icon img { filter: hue-rotate(155deg) brightness(1.25); }
.hb-strip-title { font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-accent, #ffd700); font-weight: 800; }
.hb-time-strip.s5 .hb-strip-title { color: var(--hb-ice, #7dd3fc); }
.hb-strip-desc { font-size: .73rem; color: var(--hb-card-muted, #cbbba0); line-height: 1.42; }
.hb-strip-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.hb-strip-right.row { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
#touchStatusLine { font-size: .72rem; color: var(--hb-accent-2, #a3e635); margin: 4px 0 6px; }
#hbQuickDonateWrap { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid rgba(212,175,55,.28); }
.hb-donate-btn { padding: 3px 7px; font-size: .71rem; background: var(--hb-sub-bg, #0b0d12); color: var(--hb-sub-ink, #ece7dc); border: 1px solid var(--hb-sub-brd, #262b38); border-radius: 6px; cursor: pointer; }
#hbQuickDonateLimitNote { font-size: .68rem; color: var(--hb-card-muted, #938e82); margin-left: 4px; }
#btnManualSaveTime { padding: 5px 12px; background: linear-gradient(180deg,#ef4444,#b91c1c); color: #ffffff; border: 1px solid rgba(254,202,202,.45); border-radius: 6px; font-weight: 800; font-size: .74rem; opacity: .42; cursor: default; }
#manualSaveQuotaHint { font-size: .69rem; color: var(--hb-card-muted, #94a3b8); text-align: right; }
#hbTopStableFlowHost { min-height: 48px; height: auto !important; display: flex; align-items: center; justify-content: center; overflow: visible !important; margin: 6px 0 !important; }
.hb-ark-bar-wrap { height: 5px; max-width: 340px; background: #1c1912; border-radius: 999px; overflow: hidden; margin-top: 5px; }
#arkSpotBar { width: 2%; height: 100%; background: linear-gradient(90deg,#ca8a04,#facc15,#fef08a); border-radius: 999px; }
#hbUserArkContributionLine { font-size: .71rem; color: var(--hb-accent, #fde047); text-align: right; }
#hbStrip5LostVal { display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 7px 15px !important; border-radius: 12px !important; border: 1.5px solid #38bdf8 !important; background: #091929 !important; color: #7dd3fc !important; font-family: ui-monospace,monospace !important; font-weight: 900 !important; font-size: 1.22rem !important; cursor: pointer !important; min-width: 158px; text-align: center; }
#hbStrip5ExchangeBtn { padding: 5px 12px; border-radius: 8px; border: 1px solid #38bdf8; background: linear-gradient(135deg,#0284c7,#0369a1); color: #f0f9ff; font-size: .73rem; font-weight: 800; cursor: pointer; }
.hb-lb-title { color: var(--hb-accent-2, #a3e635); font-weight: 700; letter-spacing: .05em; margin-bottom: 5px; font-size: .78rem; }
#lbToday { color: var(--hb-card-ink, #ece7dc); line-height: 1.6; font-family: ui-monospace, monospace; font-size: .8rem; }
#lbPlanetaryAvg { color: var(--hb-ice, #7dd3fc); margin-top: 4px; font-size: .75rem; }
#stagesGrid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 10px !important; width: 100% !important; margin-top: 10px; }
@media (max-width: 1100px) { #stagesGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { #stagesGrid { grid-template-columns: 1fr !important; } }
.hb-stage-card { border: 1px solid var(--hb-sub-brd, #262b38); background: var(--hb-sub-bg, #0b0d12); border-radius: 8px; padding: 8px 10px; }
.hb-stage-head { display: flex; justify-content: space-between; align-items: center; font-size: .79rem; margin-bottom: 4px; }
.hb-stage-bar { height: 5px; background: #181c26; border-radius: 999px; overflow: hidden; margin-bottom: 4px; }
.hb-stage-fill { height: 100%; background: linear-gradient(90deg,#d4af37,#a3e635); border-radius: 999px; }
.hb-stage-foot { display: flex; justify-content: space-between; font-size: .71rem; color: var(--hb-card-muted, #938e82); }
#hhUnifiedBox { margin-top: 8px; padding: 10px 13px; background: var(--hb-sub-bg, #0b0d12); border: 1px solid var(--hb-sub-brd, #262b38); border-radius: 10px; }
.hb-clock-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.07); font-family: ui-monospace, monospace; font-size: .81rem; }
.hb-clock-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#btnToggleTimeAnchor { padding: 3px 10px; font-size: .75rem; background: var(--hb-sub-bg, #0b0d12); color: var(--hb-accent, #d4af37); border: 1px solid var(--hb-accent, #d4af37); border-radius: 6px; cursor: pointer; font-weight: 700; }
.hb-remind-lbl { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: system-ui, sans-serif; font-size: .78rem; color: var(--hb-card-ink, #ece7dc); margin: 0; }
.hb-remind-lbl input { width: 15px; height: 15px; accent-color: var(--hb-accent-2, #a3e635); cursor: pointer; margin: 0; }
#hhInfo { font-size: .82rem; color: var(--hb-card-muted, #938e82); }
.hb-pol-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.hb-pol-kicker { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--hb-ice, #7dd3fc); font-weight: 700; }
.hb-pol-list { display: flex; flex-direction: column; gap: 5px; }
.hb-pol-btn { text-align: left; padding: 7px 10px; background: var(--hb-sub-bg, #0b0d12); color: var(--hb-sub-ink, #ece7dc); border: 1px solid var(--hb-sub-brd, #262b38); border-radius: 7px; cursor: pointer; font-size: .77rem; }
#adSlot320x50Wrap { display: none; margin-top: 8px; padding: 6px; background: var(--hb-sub-bg, #0b0d12); border: 1px dashed var(--hb-accent, #d4af37); border-radius: 8px; text-align: center; }
#adSlot320x50Box { width: 320px !important; min-width: 320px !important; max-width: 320px !important; height: 50px !important; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: var(--hb-card-bg, #12151d); border: 1px solid var(--hb-card-brd, #262b38); border-radius: 5px; font-size: .74rem; color: var(--hb-card-ink, #ece7dc); overflow: hidden; }
#adSlotCaption { font-size: .67rem; color: var(--hb-card-muted, #938e82); margin-top: 3px; }
.hb-ad-privacy { margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.08); font-size: .71rem; line-height: 1.42; color: var(--hb-card-muted, #938e82); }
.hb-ad-links { margin-top: 5px; display: flex; gap: 10px; flex-wrap: wrap; }
.hb-cashback-row { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
#joyPagePrice { width: 84px !important; display: inline-block !important; padding: 3px 7px !important; margin: 0 5px !important; }
#happyHourToastStack { position: fixed; top: 16px; right: 16px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; max-width: 380px; width: calc(100vw - 32px); pointer-events: none; }
.ws-shell aside { border-right: 1px solid var(--hb-card-brd, #262b38); background: var(--hb-card-bg, #12151d); padding: 16px; }
.ws-shell main { padding: 22px 26px; background: var(--hb-canvas, #0b0d12); }
.r26-aside-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hb-card-muted, #938e82); margin-bottom: 10px; }
.r26-rub-btn { width: 100%; text-align: left; padding: 8px 10px; margin-bottom: 4px; border-radius: 8px; border: 1px solid var(--hb-card-brd, #262b38); background: transparent; color: var(--hb-card-ink, #ece7dc); cursor: pointer; font-size: .82rem; }
.r26-rub-btn.active { border-color: var(--hb-accent, #d4af37); background: rgba(212,175,55,.16); }
.r26-editor-box { background: var(--hb-card-bg, #12151d); border: 1px solid var(--hb-card-brd, #262b38); border-radius: 12px; padding: 16px; }
.r26-editor-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; flex-wrap: wrap; gap: 8px; }
.r26-chip { display: inline-block; padding: 5px 10px; margin: 0 6px 6px 0; border-radius: 999px; border: 1px solid var(--hb-card-brd, #262b38); background: var(--hb-sub-bg, #0b0d12); color: var(--hb-card-ink, #ece7dc); font-size: .77rem; cursor: pointer; transition: border-color .15s, background .15s; }
.r26-chip:hover, .r26-chip.active { border-color: var(--hb-accent, #d4af37); background: rgba(212,175,55,.16); color: #ffe08a; }
.r26-faces-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.r26-face-card { background: var(--hb-card-bg, #12151d); border: 1px solid var(--hb-card-brd, #262b38); border-radius: 10px; padding: 10px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.r26-face-card.is-def { border-color: var(--hb-accent, #d4af37); box-shadow: 0 0 0 1px rgba(212,175,55,.35); }
.r26-face-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; background: #0b0d12; display: block; }
.r26-face-empty { width: 100%; aspect-ratio: 1/1; border-radius: 8px; border: 1px dashed var(--hb-card-brd, #262b38); display: flex; align-items: center; justify-content: center; font-size: .74rem; color: var(--hb-card-muted, #938e82); }
.r26-kin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.r26-kin-card { background: var(--hb-card-bg, #12151d); border: 1px solid var(--hb-card-brd, #262b38); border-radius: 10px; padding: 11px 13px; font-size: .81rem; }
.r26-entry { padding: 14px 16px; background: var(--hb-card-bg, #12151d); border: 1px solid var(--hb-card-brd, #262b38); border-radius: 11px; }
.r26-entry-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.r26-entry-badge { font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(212,175,55,.14); color: var(--hb-accent, #d4af37); border: 1px solid rgba(212,175,55,.35); }
.r26-entry-badge.user { background: rgba(16,185,129,.14); color: #34d399; border-color: rgba(16,185,129,.4); }
#r26LockModal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 9999; align-items: center; justify-content: center; padding: 16px; }
.r26-modal-card { max-width: 480px; width: 100%; background: var(--hb-card-bg, #12151d); border: 2px solid #ef4444; border-radius: 14px; padding: 20px; color: var(--hb-card-ink, #ece7dc); }
@media (max-width: 768px) { #hbUnifiedZoneNav, #hbGuardianDigestV0Shell, #joyAscensionPanel { width: calc(100vw - 16px) !important; max-width: calc(100vw - 16px) !important; margin-left: auto !important; margin-right: auto !important; } #joyAscensionPanel * { min-width: 0 !important; max-width: 100% !important; white-space: normal !important; overflow-wrap: break-word !important; } }
