/* Справка «?» главного экрана (только тестовый сервер, с 2026-11-09; вариант Б выбран владельцем). Без SASS-исходника (как animals.css). */
.main_detals .main_help { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.main_detals .main_help:active { transform: scale(.9); }
.hlp { --top: calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px)); --bot: var(--tg-safe-area-inset-bottom, 0px); position: fixed; inset: 0; z-index: 110000; display: flex; flex-direction: column; background: #15101a; color: #f6f3f5; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-align: left; }
.hlp[hidden] { display: none; }
.hlp *, .hlp *::before, .hlp *::after { box-sizing: border-box; }
.hlp [hidden] { display: none !important; }
.hlp button { font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.hlp a { -webkit-tap-highlight-color: transparent; }
.hlp h1, .hlp h2, .hlp h3, .hlp h4, .hlp p { margin: 0; }
html.hlpOn { overflow: hidden; }
.hlp-stage { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: none; position: relative; } /* none — без «пружины» на iPhone (contain её оставлял) */

/* ===== Вариант Б */
.hB { --y: #ffeb0d; --bg: #15101a; --tile: #241c2a; --line: rgba(255,255,255,.09); --mut: #bdb4c6; position: relative; min-height: 100%; max-width: 690px; margin: 0 auto; background: var(--bg); padding-bottom: var(--bot); }
.hB-pad { padding: 0 14px 24px; }
/* Подсветка шапки — на всём меню и гаснет сама: границы между шапкой и «ОБ ИГРЕ» нет */
.hB-home { background: radial-gradient(125% 270px at 100% 0, rgba(250,32,71,.55), transparent 100%) no-repeat; }
.hB-hero { position: relative; padding: calc(var(--top) + 22px) 18px 8px; }
.hB-logo { position: relative; display: block; width: 150px; height: auto; margin: 0 0 14px; }
.hB-hero h1 { position: relative; display: flex; align-items: center; gap: 7px; font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.hB-h1ico { width: 32px; height: 32px; object-fit: contain; }
.hB-hero p { position: relative; max-width: 62%; margin-top: 6px; color: #e9dfe6; font-size: 14px; line-height: 1.4; }
.hB-heroart { position: absolute; right: 12px; bottom: -6px; width: 108px; height: 108px; object-fit: contain; transform: rotate(8deg); filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.hB-label { margin: 20px 4px 10px; color: var(--mut); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.hB-feat { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 112px; padding: 15px 8px 15px 17px; border: 0; border-radius: 20px; background: linear-gradient(135deg, #ffeb0d, #ffc70f); color: #1b1518 !important; text-align: left; cursor: pointer; box-shadow: 0 8px 22px rgba(255,203,15,.22); }
.hB-feat:active, .hB-tile:active, .hB-wide:active, .hB-next:active, .hB-cta:active, .hB-go:active { transform: scale(.98); }
.hB-feat_txt { min-width: 0; }
.hB-feat b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.hB-feat small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.3; color: #4c3c20; }
.hB-feat_art { flex: none; width: 80px; height: 88px; object-fit: contain; transform: rotate(12deg); }
.hB-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.hB-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 12px 11px 13px; border: 0; border-radius: 18px; background: linear-gradient(155deg, var(--a), var(--b)); text-align: left; cursor: pointer; }
.hB-tile:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 52px 1fr; column-gap: 11px; align-items: center; }
.hB-tile:last-child:nth-child(odd) .hB-tile_art { grid-row: 1 / 3; margin: 0; }
.hB-tile:last-child:nth-child(odd) small { margin-top: 2px; }
/* широкая плитка без подзаголовка: название по центру рядом с картинкой */
.hB-tile:last-child:nth-child(odd) .hB-tile_name:last-child { grid-row: 1 / 3; align-self: center; }
.hB-tile_art { width: 50px; height: 50px; margin-bottom: 8px; object-fit: contain; filter: drop-shadow(0 4px 7px rgba(0,0,0,.35)); }
.hB-tile_name { font-size: 15px; font-weight: 800; line-height: 1.22; color: #fff; }
.hB-tile small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: rgba(255,255,255,.85); }
.hB-wide { display: flex; align-items: stretch; justify-content: space-between; gap: 10px; width: 100%; height: 118px; padding: 0 0 0 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--tile); text-align: left; cursor: pointer; }
.hB-wide_txt { align-self: center; min-width: 0; }
.hB-wide b { display: block; font-size: 16px; font-weight: 800; line-height: 1.25; color: #fff; }
.hB-wide_ico { width: 20px; height: 20px; margin-right: 5px; vertical-align: -4px; object-fit: contain; }
.hB-wide small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--mut); }
.hB-wide_thumb { flex: none; width: 92px; padding: 10px 10px 0 0; }
.hB-wide_thumb img { display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0; }
.hB-sup { margin-top: 24px; text-align: center; }
.hB-sup p { margin-bottom: 11px; color: var(--mut); font-size: 15px; }
.hB-sup small { display: block; margin-top: 11px; font-size: 12px; color: #857c8d; }
.hB-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 13px 16px; border-radius: 16px; background: var(--y); color: #171416; font-size: 16px; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; }
.hB-cta_ico { flex: none; width: 30px; height: 30px; object-fit: contain; }
.hB-sup .hB-cta_alt { margin-top: 10px; border: 1px solid rgba(255,235,13,.55); background: var(--tile); color: #fff; }
.hB-cta_gem { flex: none; width: 30px; height: 30px; object-fit: cover; object-position: 50% 45%; }
.hB-round { display: grid; place-items: center; width: 38px; height: 38px; padding: 0 0 3px; border: 0; border-radius: 50%; background: rgba(0,0,0,.42); color: #fff !important; font-size: 25px; line-height: 1; cursor: pointer; }
.hB-sechero { position: relative; min-height: calc(var(--top) + 126px); padding: calc(var(--top) + 22px) 112px 22px 18px; overflow: hidden; border-radius: 0 0 26px 26px; background: linear-gradient(150deg, var(--a), var(--b)); }
.hB-sechero h2 { position: relative; font-size: 24px; font-weight: 800; line-height: 1.16; letter-spacing: -.01em; }
.hB-sechero p { position: relative; margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.hB-sechero_art { position: absolute; right: 8px; top: calc(var(--top) + 14px); width: 100px; height: 100px; object-fit: contain; transform: rotate(9deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.hlp p.hB-text { margin: 16px 2px 2px; font-size: 16px; line-height: 1.5; }
.hB-card { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; padding: 14px 14px 15px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--tile); }
.hB-card > div { min-width: 0; }
.hB-card_art { flex: none; width: 50px; height: 50px; object-fit: contain; }
.hB-card h3, .hB-spotcard h3 { margin-bottom: 6px; font-size: 16.5px; font-weight: 800; line-height: 1.25; }
.hB-card p, .hB-spotcard p { font-size: 15px; line-height: 1.5; color: #e9e4ec; }
.hB-card p + p { margin-top: 9px; }
.hB-card p.hB-strong { color: var(--y); font-weight: 700; }
.hB-nb { white-space: nowrap; }
.hB-in { display: inline-block; width: 1.12em; height: 1.12em; margin: 0 .08em; vertical-align: -.2em; object-fit: contain; }
.hB-in[src$="/shop-5.png"] { box-sizing: content-box; padding: .1em .12em; border-radius: .3em; background: #27252b; } /* лавка — на плашке, как на главном экране: на цветных шапках не сливается */
/* У gem-4.png рисунок — 48 % высоты файла: размер и сдвиг подобраны так, чтобы 💎 был той же видимой высоты и на одном уровне с ⚙ */
.hB-in_gem { width: 1.54em; height: 1.54em; margin: -.2em -.12em; vertical-align: -.193em; object-fit: cover; object-position: 50% 45%; }
.hB-note { margin-top: 14px; padding: 16px; border-radius: 18px; background: linear-gradient(150deg, var(--a), var(--b)); font-size: 16px; font-weight: 700; line-height: 1.4; }
.hB-article .hB-cta { margin-top: 16px; }
.hB-next { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; margin-top: 18px; padding: 11px 14px; border: 1px dashed rgba(255,255,255,.2); border-radius: 15px; background: transparent; text-align: left; cursor: pointer; }
.hB-next small { font-size: 12px; color: var(--mut); }
.hB-next b { grid-column: 1; font-size: 15px; color: #fff; }
.hB-next span { grid-area: 1 / 2 / 3 / 3; color: var(--y); font-size: 24px; }
.hB-foot { padding: 22px 0 8px; text-align: center; color: #857c8d; font-size: 12px; }
.hB-start { display: flex; flex-direction: column; min-height: calc(100vh - var(--bot)); min-height: calc(100dvh - var(--bot)); }
.hB-progress { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 10px; padding: calc(var(--top) + 10px) 14px 8px; background: var(--bg); }
.hB-progress_r { flex: 1; min-width: 0; }
.hB-progress_r b { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 800; line-height: 1.2; }
.hB-bars { display: flex; gap: 4px; }
.hB-bars i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.16); transition: background .2s; }
.hB-bars i.on { background: var(--y); }
.hB-pages { flex: 1; padding: 4px 14px 12px; }
.hB-enter { animation: hBin .22s ease-out; }
@keyframes hBin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.hlp p.hB-intro { margin-bottom: 14px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.hB-stephead { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 13px; align-items: center; }
.hB-phone { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 2px solid rgba(255,255,255,.2); border-radius: 18px; background: #000; line-height: 0; }
button.hB-phone { cursor: zoom-in; }
.hB-phone > img:first-child { display: block; width: 100%; height: auto; }
.hB-ptr { position: absolute; width: 14%; height: auto; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); transform-origin: 30% 0; animation: hBtap 1.1s ease-in-out infinite; }
@keyframes hBtap { 0%, 100% { transform: translateY(5%) scale(1); } 50% { transform: translateY(-9%) scale(1.07); } }
.hB-mark { position: absolute; border: 2px solid var(--y); border-radius: 5px; box-shadow: 0 0 10px rgba(255,235,13,.75); animation: hBglow 1.1s ease-in-out infinite; }
@keyframes hBglow { 50% { box-shadow: 0 0 3px rgba(255,235,13,.35); } }
.hB-zoomhint { position: absolute; right: 5px; bottom: 5px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 1; }
.hB-pill { display: inline-block; padding: 3px 10px; border-radius: 8px; background: var(--y); color: #171416; font-size: 12px; font-weight: 800; line-height: 1.5; }
.hB-stephead h2 { margin: 9px 0 7px; font-size: 22px; font-weight: 800; line-height: 1.16; }
.hB-stephead p { font-size: 15px; font-weight: 600; line-height: 1.35; color: #f1ecf3; }
.hB-topics { margin-top: 12px; }
.hB-topic { padding: 11px 0; border-top: 1px solid var(--line); }
.hB-topic h4 { margin-bottom: 3px; color: var(--y); font-size: 15px; font-weight: 800; line-height: 1.3; }
.hB-topic p { font-size: 15px; line-height: 1.45; }
.hB-tip { display: flex; align-items: flex-start; gap: 9px; margin-top: 8px; padding: 11px 12px; border-radius: 14px; background: var(--tile); font-size: 14px; line-height: 1.4; }
.hB-tip_ico { flex: none; width: 24px; height: 24px; object-fit: contain; }
.hB-final { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; padding: 16px; text-align: center; }
.hB-final_art { width: 130px; height: 130px; object-fit: contain; margin-bottom: 18px; }
.hB-final h2 { color: var(--y); font-size: 25px; font-weight: 800; line-height: 1.2; }
.hB-final p { margin-top: 10px; font-size: 16px; }
.hB-nav { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 10px; padding: 9px 14px calc(9px + var(--bot)); margin-bottom: calc(-1 * var(--bot)); background: linear-gradient(180deg, rgba(21,16,26,.75), var(--bg) 30%); }
.hB-round_nav { flex: none; width: 50px; height: 50px; background: var(--tile); }
.hB-go { flex: 1; height: 50px; padding: 0; border: 0; border-radius: 16px; background: var(--y); color: #171416 !important; font-size: 17px; font-weight: 800; cursor: pointer; }
.hB-zoom { --y: #ffeb0d; position: absolute; inset: 0; z-index: 9; display: flex; align-items: center; justify-content: center; padding: calc(var(--top) + 8px) 10px calc(var(--bot) + 8px); background: rgba(0,0,0,.93); cursor: zoom-out; }
.hB-zoom .hB-phone { width: min(100%, calc((100vh - var(--top) - var(--bot) - 20px) * .4622)); width: min(100%, calc((100dvh - var(--top) - var(--bot) - 20px) * .4622)); }
.hB-map { display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 14px; }
.hB-phone_map { overflow: hidden; }
.hB-spot { position: absolute; border: 2px solid var(--y); border-radius: 10px; box-shadow: 0 0 0 999px rgba(0,0,0,.58), 0 0 12px rgba(255,235,13,.8); transition: left .25s, top .25s, width .25s, height .25s; pointer-events: none; }
.hB-pin { position: absolute; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; margin: -12px 0 0 -12px; border: 2px solid #171416; border-radius: 50%; background: #fff; color: #171416 !important; font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer; }
.hB-pin::after { content: ''; position: absolute; inset: -8px; }
.hB-pin.on { background: var(--y); transform: scale(1.14); }
.hB-list { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hB-li { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); color: #fff !important; font-size: 13.5px; font-weight: 700; line-height: 1.15; text-align: left; cursor: pointer; }
.hB-li span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 800; }
.hB-li.on { border-color: var(--y); background: var(--y); color: #171416 !important; }
.hB-li.on span { background: #171416; color: var(--y); }
.hB-spotcards { margin-top: 12px; scroll-margin-bottom: 10px; }
.hB-spotcard { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--tile); scroll-margin-bottom: 12px; }
.hB-spotcard > div { min-width: 0; }
.hB-badge { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--y); color: #111; font-size: 17px; font-weight: 800; }
@media (max-width: 345px) { .hB-stephead h2 { font-size: 19px; } .hB-stephead p { font-size: 14px; } .hB-li { font-size: 12.5px; padding: 4px 6px; } .hB-sechero { padding-right: 96px; } .hB-sechero_art { width: 84px; height: 84px; } .hB-sechero h2 { font-size: 22px; } .hB-tile_name { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .hB-ptr, .hB-mark, .hB-enter { animation: none; } .hB-spot, .hB-bars i { transition: none; } }
.hB_bag .hB-hero { padding-bottom: 14px; }
.hB_bag .hB-heroart_bag { width: 84px; height: 84px; bottom: 6px; }
/* Настоящий снимок игры с подсветкой (справка чемодана) */
.hB-shot { position: relative; margin: 14px 0 2px; overflow: hidden; border: 2px solid rgba(255,255,255,.2); border-radius: 14px; background: #000; line-height: 0; }
.hB-shot > img:first-child { display: block; width: 100%; height: auto; }
.hB-shot .hB-ptr { width: 12%; }
.hB-card_fig { display: block; padding: 14px; }
.hB-card_fig .hB-shot { margin: 8px 0 12px; }
.hB-hot { position: absolute; z-index: 2; border-radius: 10px; -webkit-tap-highlight-color: rgba(255,235,13,.25); }
/* «Задания»: схема экрана; картинка шапки крупнее, справа на высоте заголовка и текста */
.hB_tasks .hB-hero p { max-width: 54%; }
.hB_tasks .hB-heroart_bag { width: 150px; height: 150px; right: 12px; bottom: 10px; transform: rotate(-8deg); }
@media (max-width: 345px) { .hB_tasks .hB-heroart_bag { width: 124px; height: 124px; } .hB_tasks .hB-hero p { max-width: 55%; } }
.hB-tsec { border-color: transparent; background: linear-gradient(150deg, color-mix(in srgb, var(--a) 34%, #1d1b20), #1d1b20 70%); }
.hB-tsec .hB-card_art { width: 56px; height: 56px; }
.hB-card p.hB-q, .hB-spotcard p.hB-q { margin-top: 10px; color: #fff; font-weight: 800; }
.hB-spotcard p + p { margin-top: 7px; }
.hB-spotcard p.hB-strong { color: var(--y); font-weight: 700; }
.hB-spotcards + .hB-card { margin-top: 14px; }
.hB-card_art[src*="friends-stars"] { object-fit: cover; border-radius: 12px; }
/* «Друзья»: «Сначала выбери награду», переключатель «Часы / Звёзды» */
.hB-friends .hB-text { margin-top: 4px; }
.hB-warn { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 14px 14px 15px 12px; border: 1.5px solid rgba(255,235,13,.55); border-radius: 18px; background: linear-gradient(150deg, rgba(255,235,13,.16), rgba(255,235,13,.04) 70%), var(--tile); }
.hB-warn > div { min-width: 0; }
.hB-warn_ico { flex: none; width: 40px; height: 40px; object-fit: contain; }
.hB-warn h3 { margin-bottom: 6px; color: var(--y); font-size: 16.5px; font-weight: 800; line-height: 1.25; }
.hB-warn p { font-size: 15px; line-height: 1.5; color: #e9e4ec; }
.hB-warn p + p { margin-top: 8px; }
.hB-seg { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 16px; padding: 5px; border-radius: 16px; background: #26232a; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.hB-seg button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 8px; border: 0; border-radius: 12px; background: transparent; color: var(--y) !important; font-size: 16px; font-weight: 700; cursor: pointer; }
.hB-seg button.on { background: var(--y); color: #171416 !important; }
.hB-seg_ico { width: 24px; height: 24px; object-fit: contain; }
/* «Друзья»: у каждой программы свой снимок и своя нумерация — «Часы» жёлтые, «Звёзды» красные */
.hB-path { margin-top: 12px; padding: 12px 12px 14px; border-radius: 20px; border: 1.5px solid rgba(255,235,13,.45); background: rgba(255,235,13,.05); }
.hB-path_stars { --y: #ff5a3c; border-color: rgba(255,90,60,.55); background: rgba(255,90,60,.06); }
.hB-path_h { display: flex; align-items: center; gap: 9px; font-size: 17px; line-height: 1.25; color: #fff; }
.hB-path_ico { flex: none; width: 34px; height: 34px; object-fit: contain; }
.hB-path .hB-map { margin-top: 10px; }
.hB-path_stars .hB-pin, .hB-path_stars .hB-li span, .hB-path_stars .hB-badge { background: #ff5a3c; color: #fff !important; }
.hB-path_stars .hB-pin.on { background: #ff5a3c; box-shadow: 0 0 0 3px #fff; }
.hB-path_stars .hB-li.on { color: #fff !important; }
.hB-path_stars .hB-li.on span { background: #fff; color: #ff5a3c !important; }
.hB-path_stars .hB-spotcard p.hB-strong { color: #ff8a70; }
/* «Обмен» */
.hB-cta_chat { margin-top: 10px; }
.hB-ex .hB-wide { margin-top: 14px; }
/* «Обмен»: как проходит передача — по шагам */
.hB-tsteps { margin-top: 18px; }
.hB-tsteps h3 { margin: 0 0 4px; color: #fff; font-size: 18px; line-height: 1.25; }
.hB-tsteps ol { margin: 0; padding: 0; list-style: none; }
.hB-tsteps li { position: relative; padding-top: 12px; }
.hB-tsteps li > p { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.hB-tsteps li > p .hB-badge { width: 28px; height: 28px; font-size: 15px; }
.hB-tsteps li > p > span:last-child { padding-top: 3px; }
.hB-tsteps li .hB-shot { margin: 10px 0 2px 38px; }
/* «Питомец» (с 2026-11-12): пиксельные сердечки игры, «Как это работает», схема экрана питомца, образы */
.hB-in_heart { transform: rotate(-45deg); }
.hB-in_lost { filter: grayscale(1) brightness(.55); }
.hP-hero { padding-right: 150px; min-height: calc(var(--top) + 150px); }
.hP-hero p { max-width: none; }
.hP-pet { position: absolute; right: 14px; bottom: -4px; width: 128px; height: 128px; }
.hP-pet_pic { position: absolute; left: 4px; top: 8px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.hP-pet_hs { position: absolute; width: 22px; height: 22px; transform: rotate(-45deg); animation: hPbeat 2.4s ease-in-out infinite; }
.hP-pet_hs-1 { left: -6px; top: 10px; }
.hP-pet_hs-2 { right: -2px; top: -2px; width: 28px; height: 28px; animation-delay: .5s; }
.hP-pet_hs-3 { left: 4px; bottom: 26px; width: 16px; height: 16px; animation-delay: 1s; }
@keyframes hPbeat { 0%, 100% { transform: rotate(-45deg) scale(1); } 12% { transform: rotate(-45deg) scale(1.18); } 24% { transform: rotate(-45deg) scale(1); } }
.hP-lead { margin-top: 14px; font-size: 17px; font-weight: 800; line-height: 1.35; color: #fff; }
.hP-sub { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--y); }
.hP-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hP-list li { position: relative; padding: 12px 12px 12px 46px; border-radius: 16px; background: var(--tile); font-size: 15px; line-height: 1.45; color: #e9e4ec; }
.hP-list li > .hB-in:first-child { position: absolute; left: 13px; top: 13px; width: 22px; height: 22px; margin: 0; }
.hP-how { margin-top: 16px; padding: 14px 12px; border-radius: 18px; background: linear-gradient(160deg, rgba(47,158,68,.28), rgba(11,61,24,.35)); border: 1px solid rgba(120,220,90,.3); }
.hP-how h3 { font-size: 17px; font-weight: 800; }
.hP-how_row + .hP-how_row { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.18); }
.hP-how_t { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; font-weight: 800; color: #d6ff5c; }
.hP-how_hs { display: inline-flex; gap: 5px; flex: none; }
.hP-heart { width: 20px; height: 20px; transform: rotate(-45deg); }
.hP-heart.off { filter: grayscale(1) brightness(.5); opacity: .8; }
.hP-day { display: grid; grid-template-columns: minmax(44px, auto) 1fr; gap: 10px; align-items: center; margin-top: 8px; padding: 10px; border-radius: 14px; background: rgba(0,0,0,.28); }
.hP-day_h { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 30px; }
.hP-day_t { font-size: 14px; line-height: 1.4; color: #e9e4ec; }
.hP-day_t b { color: #fff; }
.hP-day.dead { background: rgba(120,20,30,.3); }
.hP-rip { width: 18px; height: 30px; margin-left: 2px; image-rendering: pixelated; }
.hP-msg { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--tile); border: 1px solid var(--line); }
.hP-msg > div { min-width: 0; position: relative; z-index: 1; }
.hP-msg h3 { font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.hP-msg p { margin-top: 5px; font-size: 15px; line-height: 1.45; color: #e9e4ec; }
.hP-msg_art { flex: none; align-self: flex-start; width: 56px; height: 56px; object-fit: contain; }
.hP-msg_vac { background: linear-gradient(150deg, #4a2f5c, #23162c); border-color: rgba(255,255,255,.12); }
.hP-msg_love, .hP-msg_final { position: relative; overflow: hidden; background: linear-gradient(150deg, #1f6b33, #0b2e15); border-color: rgba(140,240,110,.35); }
.hP-msg_final { margin-top: 22px; }
.hP-arts { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; }
.hP-arts img { width: calc((100% - 30px) / 6); aspect-ratio: 1; padding: 6px; border-radius: 12px; border: 2px solid #ffcb0f; background: rgba(255,203,15,.08); object-fit: contain; image-rendering: pixelated; }
.hP-where { margin-top: 12px; font-size: 15px; line-height: 1.45; color: #e9e4ec; }
.hP-ways { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hP-ways li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 16px; background: var(--tile); }
.hP-ways_ic { flex: none; width: 34px; height: 34px; object-fit: contain; }
.hP-ways p { min-width: 0; font-size: 15px; line-height: 1.42; color: #e9e4ec; }
.hP-ways b { color: #fff; }
.hP-gifts { display: grid; gap: 10px; margin-top: 14px; }
.hP-gift { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 18px; background: linear-gradient(150deg, #2c2433, #1b1720); border: 1px solid rgba(255,235,13,.25); }
.hP-gift > div { min-width: 0; }
.hP-gift_art { flex: none; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.hP-gift h3 { font-size: 17px; font-weight: 800; color: var(--y); }
.hP-gift p { margin-top: 4px; font-size: 14.5px; line-height: 1.42; color: #e9e4ec; }
.hP-outro { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.45; color: #fff; }
.hP-ways_ic[src$="gem-4.png"] { transform: scale(1.45); }
.hB_pet .hB-spotcard .hP-list li { padding-left: 40px; background: rgba(255,255,255,.05); }
.hB_pet .hB-spotcard .hP-list li > .hB-in:first-child { left: 10px; }
.hB_pet .hB-spotcard .hP-lead { margin-top: 2px; font-size: 15.5px; }
.hB_pet .hB-spotcard > div { min-width: 0; width: 100%; }
.hB_pet .hB-map.two .hB-spot { box-shadow: 0 0 12px rgba(255,235,13,.8); }
.hP-looks { display: grid; gap: 10px; margin-top: 14px; }
.hP-look { padding: 12px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.hP-look p { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #e9e4ec; }
.hP-look b { font-weight: 800; color: #fff; }
.hP-look_pics { display: flex; justify-content: space-between; gap: 6px; }
.hP-look_pic { width: calc((100% - 18px) / 4); aspect-ratio: 1; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.3); object-fit: contain; image-rendering: pixelated; }
.hP-look.nft { position: relative; overflow: hidden; display: flow-root; background: radial-gradient(circle at 52px 50px, rgba(255,203,15,.32), transparent 74px), linear-gradient(150deg, #4a3a08, #1d1704); border-color: rgba(255,203,15,.5); }
.hP-look.nft .hP-look_pics { float: left; margin: 0 12px 4px 0; }
.hP-look.nft .hP-look_pic { width: 84px; padding: 0; background: none; image-rendering: auto; filter: drop-shadow(0 4px 10px rgba(255,190,20,.45)); }
.hP-look.nft p { margin-top: 2px; }
.hP-look.nft b { color: var(--y); }
.hP-look_note { clear: both; margin-top: 10px !important; padding: 9px 12px; border-radius: 12px; background: rgba(0,0,0,.32); font-weight: 700; color: #ffe27a !important; }
@media (max-width: 340px) { .hP-hero { padding-right: 120px; } .hP-pet { width: 104px; height: 104px; } .hP-day { grid-template-columns: 62px 1fr; } }
@media (prefers-reduced-motion: reduce) { .hP-pet_hs { animation: none; } }
/* «Навыки питомца» (с 2026-11-12): тексты владельца; схема экрана навыков (вид выбран владельцем 2026-11-12) */
.hS { background: radial-gradient(125% 280px at 100% 0, rgba(122,60,240,.55), transparent 100%) no-repeat; }
.hS-hero { min-height: calc(var(--top) + 170px); padding-right: 150px; }
.hS-orbit { position: absolute; right: 10px; bottom: -8px; width: 140px; height: 124px; }
.hS-hero h1 { align-items: flex-start; }
.hS-hero .hB-h1ico { margin-top: 3px; }
.hS-orbit_book { position: absolute; left: 34px; top: 30px; width: 72px; height: 72px; object-fit: contain; transform: rotate(-6deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.hS-orbit_ic { position: absolute; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); animation: hSfloat 3.2s ease-in-out infinite; }
.hS-orbit_ic-1 { left: 0; top: 4px; }
.hS-orbit_ic-2 { left: 53px; top: -2px; animation-delay: .5s; }
.hS-orbit_ic-3 { right: 0; top: 4px; animation-delay: 1s; }
.hS-orbit_ic-4 { right: 0; bottom: 4px; animation-delay: 1.5s; }
.hS-orbit_ic-5 { left: 53px; bottom: -10px; animation-delay: 2s; }
.hS-orbit_ic-6 { left: 0; bottom: 4px; animation-delay: 2.5s; }
@keyframes hSfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hS-h { margin: 24px 2px 0; font-size: 22px; font-weight: 800; line-height: 1.2; color: #fff; }
.hS .hS-h + .hB-text { margin-top: 4px; }
.hS-box { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; padding: 14px 14px 15px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--tile); }
.hS-box > div { min-width: 0; }
.hS-box_ic { flex: none; width: 40px; height: 40px; object-fit: contain; }
.hS-box h3 { margin-bottom: 6px; font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; }
.hS-box p { font-size: 15px; line-height: 1.5; color: #e9e4ec; }
.hS-box p + p { margin-top: 7px; }
.hS-box_info { margin-top: 16px; background: linear-gradient(150deg, #3b2160, #1d1430); border-color: rgba(170,120,255,.3); }
.hS-box_special { background: linear-gradient(150deg, #47195c, #1f0d2a); border-color: rgba(200,110,255,.3); }
.hS-box_death { background: linear-gradient(150deg, #1f6b33, #0b2e15); border-color: rgba(140,240,110,.3); }
.hS-box_death .hS-box_ic { transform: rotate(-45deg) scale(.8); }
.hS-imp { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 13px; border-radius: 16px; background: rgba(255,235,13,.1); border: 1px solid rgba(255,235,13,.55); }
.hS-imp_ic { flex: none; width: 34px; height: 34px; object-fit: contain; }
.hS-imp p { font-size: 15px; font-weight: 700; line-height: 1.42; color: #fff; }
.hS-imp b { color: var(--y); }
.hS-rules { margin-top: 22px; padding-top: 6px; border-top: 1px dashed rgba(255,255,255,.16); }
.hS-rules .hS-box_info { margin-top: 12px; }
.hB_skills .hB-spotcard > div { min-width: 0; width: 100%; }
@media (max-width: 345px) { .hS-hero { padding-right: 128px; } .hS-orbit { transform: scale(.86); transform-origin: right bottom; } }
@media (prefers-reduced-motion: reduce) { .hS-orbit_ic { animation: none; } }
/* «?» чемодана → «Награда за часы» (с 2026-11-19): два шага — получение и вывод; сверху у каждого картинка пути
   (часы → «Продать» → награда; награда → «Вывести» → кошелёк), ниже номер, вопрос и ответ. Награда — значок часов
   в фиолетовом круге, как блок «Награда за часы» в чемодане; кнопки — жёлтые, как в игре */
.hR { margin-top: 14px; }
.hR-step { padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--tile); }
.hR-step_get { background: linear-gradient(160deg, rgba(107,63,134,.38), rgba(43,24,56,.15) 70%), var(--tile); }
.hR-step_out { background: linear-gradient(160deg, rgba(255,235,13,.12), rgba(255,235,13,.02) 70%), var(--tile); }
.hR-vis { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 74px; padding: 8px 6px; border-radius: 14px; background: rgba(0,0,0,.28); }
.hR-watch { flex: none; width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.hR-medal { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #442c50; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.hR-medal img { width: 32px; height: 32px; object-fit: contain; }
.hR-wallet { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #2c2c2c; color: #fff; }
.hR-wallet svg { width: 30px; height: 30px; }
.hR-btn { flex: none; padding: 8px 12px; border-radius: 12px; background: #fcea0e; color: #0e0e0e; font-size: 13px; font-weight: 800; line-height: 1; white-space: nowrap; }
.hR-arrow { flex: none; color: var(--y); font-size: 26px; font-weight: 800; line-height: 1; opacity: .85; }
.hR-txt { display: flex; align-items: flex-start; gap: 11px; margin-top: 13px; }
.hR-txt > div { min-width: 0; }
.hR-txt h3 { margin-bottom: 6px; font-size: 16.5px; font-weight: 800; line-height: 1.25; }
.hR-txt p { font-size: 15px; line-height: 1.5; color: #e9e4ec; }
.hR-link { display: block; width: 2px; height: 16px; margin: 0 auto; background: repeating-linear-gradient(to bottom, var(--y) 0 4px, transparent 4px 8px); opacity: .7; }
@media (max-width: 345px) { .hR-vis { gap: 5px; } .hR-watch { width: 50px; height: 50px; } .hR-medal, .hR-wallet { width: 46px; height: 46px; } .hR-medal img { width: 27px; height: 27px; } .hR-wallet svg { width: 26px; height: 26px; } .hR-btn { padding: 7px 9px; font-size: 12px; } .hR-arrow { font-size: 22px; } }
/* «🌐 Язык / Language» — первый пункт главной справки (с 2026-11-25, ветка i18n): открывает окно выбора языка .lngPick (lang.css) */
.hB-lngRow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin: 16px 0 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--tile); text-align: left; cursor: pointer; }
.hB-lngRow_ico { flex: none; font-size: 22px; line-height: 1; }
.hB-lngRow_txt { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.25; }
.hB-lngRow_arr { flex: none; color: var(--mut); font-size: 24px; line-height: 1; }
