/* 🌸 Рубка в едином стиле (09.10.2026): карточка-шапка, как у разделов меню; те же шрифты и панели. */

#screen-home { max-width: 520px; margin-left: auto; margin-right: auto; padding-top: 12px; }
#screen-home .hero-art { display: none; }

/* карточка «Рубка» */
.rb-hero { position: relative; height: 210px; margin-bottom: 12px; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,143,208,.28); background: #0d0a18; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.rb-hero-img { position: absolute; inset: 0; background: url(/static/hub/chop_hero.webp) right center / cover no-repeat; }
.rb-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,6,15,.94) 0%, rgba(9,6,15,.7) 40%, rgba(9,6,15,.08) 78%, transparent 100%),
              linear-gradient(to top, rgba(9,6,15,.65), transparent 50%); }
.rb-hero-body { position: absolute; z-index: 2; left: 18px; right: 40%; bottom: 16px; }
.rb-hero-title { font: 700 38px/1.05 var(--serif); letter-spacing: .3px; }
.rb-hero-desc { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-dim); max-width: 210px; }
.rb-hero-lvl { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--ink); }
.rb-hero-xp { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.rb-hero-bar { height: 4px; border-radius: 3px; background: rgba(255,255,255,.14); margin-top: 6px; overflow: hidden; }
.rb-hero-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink-deep), var(--pink)); }
.rb-hero-yield { position: absolute; z-index: 2; right: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px;
  color: var(--ink); background: rgba(12,8,19,.72); border: 1px solid rgba(255,198,92,.4); }
.rb-hero-yield[hidden] { display: none; }
.rb-hero-wallet { position: absolute; z-index: 2; right: 12px; top: 46px; display: flex; gap: 6px; }
.rb-hero-wallet span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--ink); background: rgba(12,8,19,.72); border: 1px solid rgba(255,255,255,.16); }
.rb-hero-wallet svg { width: 17px; height: 17px; display: block; }
.rb-hero-yield b { color: var(--gold, #ffc65c); font-variant-numeric: tabular-nums; }
#screen-home .hub-back.abs { z-index: 4; }

/* локация · катана · ранг: та же панель, что «Меню» и «Задания» на хабе */
#screen-home .status-list { border-radius: 18px; background: var(--panel); border: 1px solid var(--panel-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 4px 8px; }
#screen-home .status-value { font-family: var(--serif); font-weight: 700; }

/* «Добывать» и подпись */
#screen-home .mine-hint { margin: 9px 0 12px; }
.sell-quick { border-radius: 18px; }

/* разделы Рубки: полноширинные карточки как на хабе — картинка справа, тёмный край слева, круглая стрелка */
#screen-home .nav-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 14px; }
#screen-home .nav-card { height: 104px; border-radius: 20px; border: 1px solid rgba(255,143,208,.28);
  box-shadow: 0 8px 24px rgba(0,0,0,.4); }
#screen-home .nav-card > svg { left: auto; right: 0; width: 62%; }
#screen-home .nav-card::after { background: linear-gradient(90deg, rgba(9,6,15,.94) 0%, rgba(9,6,15,.72) 36%, rgba(9,6,15,.1) 74%, transparent 100%); }
.nav-card-img { position: absolute; inset: 0; background: #14101f center / cover no-repeat; }
#screen-home .nav-card-body { left: 18px; right: 70px; bottom: auto; top: 50%; transform: translateY(-50%); }
#screen-home .nav-card-title { font: 700 22px/1.1 var(--serif); gap: 9px; }
#screen-home .nav-card-title .ui-svg, #screen-home .nav-card-title .tool-svg { width: 20px; height: 20px; color: var(--pink); }
#screen-home .nav-card-sub { font-size: 12.5px; margin-top: 5px; color: var(--ink-dim); }
#screen-home .nav-card-arrow { right: 14px; bottom: auto; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
  border-radius: 50%; display: grid; place-items: center; background: rgba(12,8,19,.72); border: 1px solid rgba(255,143,208,.4); }

/* ---- v2 (09.10.2026, «некрасиво»): плитки статуса вместо строк, спокойная кнопка продажи, картинки в карточках ---- */
#screen-home .status-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; background: none; border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none; margin-bottom: 14px; }
#screen-home .status-row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 11px 11px 12px; border-radius: 16px; min-width: 0;
  background: var(--panel); border: 1px solid var(--panel-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-align: left; cursor: pointer; }
#screen-home .status-row + .status-row { border-top: 1px solid var(--panel-line); }
#screen-home .status-row:active { transform: scale(.97); background: var(--panel); }
#screen-home .status-icon { width: 30px; height: 30px; margin-bottom: 4px; }
#screen-home .status-label { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
#screen-home .status-value { font: 700 14px/1.2 var(--serif); text-align: left; white-space: normal; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 100%; }
#screen-home .status-go { display: none; }
#screen-home .sell-quick { background: rgba(255,198,92,.10); border: 1px solid rgba(255,198,92,.45); color: var(--ink); box-shadow: none; border-radius: 16px;
  font-size: 14px; font-weight: 600; padding: 12px 16px; }
#screen-home .sell-quick b { color: var(--gold, #ffc65c); font-family: var(--serif); font-weight: 700; }
#screen-home .mine-bar { margin-top: 2px; }
#screen-home .nav-card-img { background-position: right center; }
#screen-home .nav-card { height: 96px; }

/* имя игры длиннее прежнего: «Мастер Катаны» */
.rb-hero-title { font-size: 32px; line-height: 1.05; }
.pf2-pl span { letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- бонус-раунд (09.10.2026): каждый пятый раунд — 20 секунд потоком ---- */
.mine-bar.bonus { box-shadow: 0 0 0 1px rgba(255,214,120,.7), 0 10px 34px rgba(255,170,60,.38); }
.mine-bar.bonus::before { content: 'БОНУС ×2'; position: absolute; right: 12px; top: 8px; z-index: 3; padding: 3px 10px; border-radius: 999px;
  font: 700 11px/1.2 var(--serif); letter-spacing: .06em; color: #2a1408; background: linear-gradient(135deg, #ffe08a, #ffb347);
  box-shadow: 0 4px 12px rgba(255,170,60,.45); }
.slash-start.bonus .slash-start-title { color: #ffe9a8; text-shadow: 0 0 34px rgba(255, 190, 90, .85); }

/* ============ «Мастер Катаны»: бенто-раскладка (19.10.2026, «поинтереснее, весь экран поменять») ============
   Четыре плитки по две в ряд (картинка на всю плитку, подпись снизу, метка сверху) и две широкие карточки; экран короче в полтора раза. */
#screen-home .nav-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
#screen-home .nav-card.tile { height: 134px; border-radius: 18px; }
#screen-home .nav-card.tile::after { background: linear-gradient(0deg, rgba(9,6,15,.94) 0%, rgba(9,6,15,.55) 46%, rgba(9,6,15,.04) 100%); }
#screen-home .nav-card.tile .nav-card-img { background-position: center; }
#screen-home .nav-card.tile .nav-card-body { left: 12px; right: 12px; top: auto; bottom: 11px; transform: none; }
#screen-home .nav-card.tile .nav-card-title { font-size: 17px; gap: 7px; }
#screen-home .nav-card.tile .nav-card-sub { font-size: 11px; margin-top: 3px; }
#screen-home .nav-card.tile .nav-card-arrow { display: none; }
#screen-home .nav-card.wide { grid-column: 1 / -1; height: 92px; border-radius: 18px; }
#screen-home .nav-card.wide .nav-card-body { left: 16px; right: 84px; }
.nav-tag { position: absolute; top: 9px; right: 9px; z-index: 3; max-width: calc(100% - 18px); padding: 3px 9px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: 600 11px/1.3 var(--sans); color: #ffe9a0; background: rgba(10, 6, 20, .72); border: 1px solid rgba(255, 255, 255, .18); }
.nav-tag[hidden] { display: none; }
#screen-home .nav-card.wide .nav-tag { top: 8px; right: 84px; }
#screen-home .nav-card.duel { border-color: rgba(255, 210, 122, .4); box-shadow: 0 0 18px rgba(255, 143, 208, .16); }
#screen-home .nav-card.duel .nav-card-arrow { width: 50px; height: 50px; right: 14px; border: 0; background: none; }
