/* Кейсы и игры на плитке в личном кабинете (loot.js). Палитра редкостей
   «Signal»: Public / Private / Encrypted / Classified / Top Secret / Zero-Day.
   Всё под .loot-root, чтобы не спорить со стилями кабинета. */
.loot-root { --lt0:#A7ADB8; --lt1:#FFC9A6; --lt2:#FF6B63; --lt3:#FFA24D; --lt4:#FFE38F; --ltz:linear-gradient(90deg,#FFB3C7,#FFE38F,#8EF5D9,#FFB3C7);
  --lgrey:#9A9A9A; --link:#cfd3dc; --lok:#3ddc84; --lred:#FF4433; margin: 8px 0 40px; font-family: var(--mono); }
.loot-root * { box-sizing: border-box; }
.loot-root .l-term { background: #050505; border: 1px solid rgba(255,68,51,.25); border-radius: 18px; overflow: hidden; box-shadow: 0 0 50px rgba(255,68,51,.06); margin-bottom: 18px; }
.loot-root .l-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; color: var(--lgrey); flex-wrap: wrap; }
.loot-root .l-bar .t { margin-left: 8px; } .loot-root .l-bar .r { margin-left: auto; color: #fff; display: flex; gap: 14px; flex-wrap: wrap; }
.loot-root .l-dot { width: 10px; height: 10px; border-radius: 50%; } .loot-root .l-dot.rd { background: #FF4433; } .loot-root .l-dot.yl { background: #F0DC2E; } .loot-root .l-dot.gr { background: #3ddc84; }
.loot-root .l-body { padding: 18px 20px; }
.loot-root h3.l-h { font-size: 15px; font-weight: 800; margin: 0 0 10px; color: #fff; }
.loot-root p.l-p { color: var(--link); font-size: 13.5px; font-family: var(--body, 'Golos Text', system-ui, sans-serif); margin: 0 0 10px; max-width: 70ch; line-height: 1.55; }
.loot-root .l-muted { color: var(--lgrey); font-size: 12px; }
.loot-root .l-btn { font-family: var(--mono); font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 11px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.loot-root .l-btn.pri { background: var(--hero-gradient); border-color: transparent; } .loot-root .l-btn.ok { background: rgba(61,220,132,.14); border-color: rgba(61,220,132,.4); color: var(--lok); }
.loot-root .l-btn.sm { padding: 7px 12px; font-size: 12px; border-radius: 9px; }
.loot-root .l-btn:disabled { opacity: .4; cursor: default; } .loot-root .l-btn:focus-visible { outline: 2px solid var(--lred); outline-offset: 2px; }
.loot-root .l-seg { display: inline-flex; gap: 4px; padding: 4px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; flex-wrap: wrap; }
.loot-root .l-seg button { font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: none; background: none; color: var(--lgrey); cursor: pointer; } .loot-root .l-seg button.on { background: var(--hero-gradient); color: #fff; }
.loot-root input.l-in { width: 110px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: 9px; padding: 8px 10px; font: 13px var(--mono); }
.loot-root .l-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 760px) { .loot-root .l-grid2 { grid-template-columns: 1fr; } }
.loot-root .l-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; }
.loot-root .l-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 12.5px; align-items: center; } .loot-root .l-kv .k { color: var(--lgrey); } .loot-root .l-kv .v { color: #fff; font-weight: 700; }
.loot-root .l-msg { font-size: 12.5px; margin-top: 8px; min-height: 18px; } .loot-root .l-msg.err { color: var(--lred); } .loot-root .l-msg.ok { color: var(--lok); }
.loot-root .l-empty { color: var(--lgrey); font-size: 13px; padding: 14px 0; font-family: var(--body, system-ui, sans-serif); }
.loot-root .l-empty a { color: var(--lred); }
/* полка кейсов */
.loot-root .l-shelf { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.loot-root .l-shelf > * { flex: 0 0 auto; }
.loot-root .l-case { width: 176px; text-align: center; }
.loot-root .l-enc { width: 176px; height: 108px; border-radius: 12px; border: 1px solid var(--c); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(0,0,0,.45)); position: relative; overflow: hidden; box-shadow: 0 0 26px color-mix(in srgb, var(--c) 26%, transparent); text-align: left; }
.loot-root .l-enc i { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); } .loot-root .l-enc .n { position: absolute; left: 14px; top: 9px; font-size: 9.5px; color: var(--lgrey); }
.loot-root .l-enc .h { position: absolute; left: 14px; right: 10px; top: 27px; font-size: 8.5px; line-height: 1.5; color: rgba(255,255,255,.5); filter: blur(.3px); word-break: break-all; }
.loot-root .l-enc .l { position: absolute; right: 10px; bottom: 7px; font-size: 9.5px; color: var(--c); font-weight: 800; letter-spacing: .04em; }
.loot-root .l-enc.zd { border-image: var(--ltz) 1; } .loot-root .l-enc.zd i, .loot-root .l-enc.zd .l { background: var(--ltz); background-size: 300% 100%; animation: lzd 3s linear infinite; } .loot-root .l-enc.zd .l { -webkit-background-clip: text; background-clip: text; color: transparent; }
.loot-root .l-enc.opened .h { color: #fff; filter: none; font-size: 11px; font-weight: 700; }
.loot-root .l-enc.expired { opacity: .45; filter: grayscale(1); }
.loot-root .l-case .cap { font-size: 11px; color: var(--lgrey); margin-top: 6px; line-height: 1.4; } .loot-root .l-case .cap b { color: #fff; }
.loot-root .l-case .l-btn { margin-top: 6px; width: 100%; }
@keyframes lzd { to { background-position: 300% 0; } }
/* серия */
.loot-root .l-streak { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.loot-root .l-streak i { width: 18px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); } .loot-root .l-streak i.on { background: var(--lred); box-shadow: 0 0 8px rgba(255,68,51,.7); } .loot-root .l-streak i.next { background: rgba(255,68,51,.25); border: 1px dashed rgba(255,68,51,.6); } .loot-root .l-streak i.mark { outline: 1px solid rgba(255,227,143,.7); }
/* инвентарь */
.loot-root .l-inv { display: flex; gap: 8px; flex-wrap: wrap; }
.loot-root .l-chip { font-size: 12px; padding: 6px 10px; border-radius: 9px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); color: #fff; }
.loot-root .l-chip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 6px; vertical-align: 0; }
.loot-root .l-chip.used { opacity: .5; text-decoration: line-through; }
/* лента открытия */
.loot-root .l-reelwrap { position: relative; padding: 22px 0; overflow: hidden; background: radial-gradient(ellipse at center, rgba(255,68,51,.08), transparent 60%); }
.loot-root .l-reelwrap::before, .loot-root .l-reelwrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; } .loot-root .l-reelwrap::before { left: 0; background: linear-gradient(90deg, #050505, transparent); } .loot-root .l-reelwrap::after { right: 0; background: linear-gradient(-90deg, #050505, transparent); }
.loot-root .l-marker { position: absolute; left: 50%; top: 12px; bottom: 12px; width: 2px; background: var(--lred); transform: translateX(-50%); z-index: 3; box-shadow: 0 0 12px rgba(255,68,51,.9); }
.loot-root .l-reel { display: flex; gap: 10px; will-change: transform; padding-left: 50%; direction: ltr; }
.loot-root .l-reel.spin { transition: transform 5.2s cubic-bezier(.12,.82,.16,1); }
.loot-root .l-item { width: 140px; height: 140px; flex: 0 0 140px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.45)); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; }
.loot-root .l-item::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); } .loot-root .l-item::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 22%, transparent), transparent 62%); pointer-events: none; }
.loot-root .l-item .ic { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); width: 40px; height: 40px; color: var(--c); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 60%, transparent)); } .loot-root .l-item .ic svg { width: 100%; height: 100%; }
.loot-root .l-item .nm { position: absolute; left: 10px; right: 10px; bottom: 24px; font-size: 12px; font-weight: 800; color: #fff; line-height: 1.25; word-break: break-word; } .loot-root .l-item .nm.enc { font-size: 10.5px; color: rgba(255,255,255,.55); word-break: break-all; }
.loot-root .l-item .tp { position: absolute; left: 10px; right: 10px; bottom: 9px; font-size: 9.5px; color: var(--c); letter-spacing: .06em; text-transform: uppercase; }
.loot-root .l-item.zd::before, .loot-root .l-item.zd .tp { background: var(--ltz); background-size: 300% 100%; animation: lzd 3s linear infinite; } .loot-root .l-item.zd .tp { -webkit-background-clip: text; background-clip: text; color: transparent; }
.loot-root .l-result { display: flex; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.06); min-height: 70px; flex-wrap: wrap; }
.loot-root .l-result .big { font-size: 18px; font-weight: 800; } .loot-root .l-result .sub { font-size: 12px; color: var(--lgrey); margin-top: 2px; word-break: break-all; }
/* игры */
.loot-root .l-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.loot-root .l-tabs button { font-family: var(--mono); font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--lgrey); cursor: pointer; } .loot-root .l-tabs button.on { color: #fff; border-color: rgba(255,68,51,.5); background: rgba(255,68,51,.08); }
.loot-root .l-game { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; } @media (max-width: 760px) { .loot-root .l-game { grid-template-columns: 1fr; } }
.loot-root .l-tiles { display: grid; grid-template-columns: repeat(5, 52px); gap: 7px; direction: ltr; }
.loot-root .l-tile { width: 52px; height: 52px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(0,0,0,.35)); font: 10px var(--mono); color: rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .12s, border-color .15s; }
.loot-root .l-tile:hover:not(.done):not(:disabled) { transform: translateY(-2px); border-color: rgba(255,68,51,.5); color: #fff; }
.loot-root .l-tile.safe { background: rgba(61,220,132,.12); border-color: rgba(61,220,132,.55); color: var(--lok); font-size: 12px; font-weight: 800; }
.loot-root .l-tile.mine { background: rgba(255,68,51,.18); border-color: var(--lred); color: #fff; font-size: 16px; font-weight: 800; } .loot-root .l-tile.dim { opacity: .45; } .loot-root .l-tile.done { cursor: default; } .loot-root .l-tile.pick { border-color: rgba(255,68,51,.7); color: #fff; } .loot-root .l-tile.hit { background: rgba(61,220,132,.15); border-color: rgba(61,220,132,.6); color: var(--lok); }
.loot-root .l-tower { display: grid; grid-template-columns: repeat(4, 52px); gap: 6px; direction: ltr; }
.loot-root .l-tower .l-tile { height: 34px; } .loot-root .l-tower .l-tile.cur { border-color: rgba(255,68,51,.6); box-shadow: 0 0 10px rgba(255,68,51,.3); color: #fff; }
.loot-root .l-dec { display: grid; grid-template-columns: repeat(6, 52px); gap: 6px; direction: ltr; } .loot-root .l-dec .l-tile { height: 40px; }
.loot-root .l-weekly { display: grid; grid-template-columns: repeat(3, 60px); gap: 7px; direction: ltr; } .loot-root .l-weekly .l-tile { width: 60px; height: 44px; }
.loot-root .l-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; } .loot-root .l-stat div { background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 8px 10px; }
.loot-root .l-stat .k { font-size: 10px; color: var(--lgrey); letter-spacing: .08em; text-transform: uppercase; } .loot-root .l-stat .v { font-size: 18px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; } .loot-root .l-stat .v.hi { color: var(--lok); }
.loot-root .l-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.loot-root .l-recent { font-size: 12px; color: var(--lgrey); margin-top: 12px; line-height: 1.7; } .loot-root .l-recent b { color: #fff; } .loot-root .l-recent .w { color: var(--lok); } .loot-root .l-recent .x { color: var(--lred); }
.loot-root table.l-odds { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; } .loot-root table.l-odds th, .loot-root table.l-odds td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.07); } .loot-root table.l-odds th { color: var(--lgrey); font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.loot-root details.l-rules summary { cursor: pointer; color: var(--lgrey); font-size: 12.5px; margin-top: 6px; } .loot-root details.l-rules .l-p { margin-top: 10px; }
.loot-root .l-toggle { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--link); cursor: pointer; font-family: var(--body, system-ui, sans-serif); }
.loot-root .l-toggle input { width: auto; }
[dir="rtl"] .loot-root .l-bar .r { margin-left: 0; margin-right: auto; } [dir="rtl"] .loot-root .l-bar .t { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .loot-root .l-enc { text-align: right; } [dir="rtl"] .loot-root .l-enc i { left: auto; right: 0; } [dir="rtl"] .loot-root .l-enc .n, [dir="rtl"] .loot-root .l-enc .h { left: 10px; right: 14px; } [dir="rtl"] .loot-root .l-enc .l { right: auto; left: 10px; }
@media (prefers-reduced-motion: reduce) { .loot-root .l-reel.spin { transition-duration: .01s; } .loot-root .l-enc.zd i, .loot-root .l-enc.zd .l, .loot-root .l-item.zd::before, .loot-root .l-item.zd .tp { animation: none; } }

/* ---- баннер на странице ключей ---- */
.loot-root .l-banner { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,68,51,.14), rgba(0,0,0,.35)); border: 1px solid rgba(255,68,51,.35); color: inherit; text-decoration: none; margin: 4px 0 24px; transition: border-color .2s, transform .2s; }
.loot-root .l-banner:hover { border-color: rgba(255,68,51,.7); transform: translateY(-2px); }
.loot-root .l-banner-ic { width: 44px; height: 44px; flex: 0 0 44px; color: var(--lred); filter: drop-shadow(0 0 8px rgba(255,68,51,.7)); } .loot-root .l-banner-ic svg { width: 100%; height: 100%; }
.loot-root .l-banner-t { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; } .loot-root .l-banner-t b { font-size: 15px; color: #fff; } .loot-root .l-banner-t span { font-size: 13px; color: var(--link); font-family: var(--body, system-ui, sans-serif); line-height: 1.45; }
.loot-root .l-banner .l-btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) { .loot-root .l-banner { flex-wrap: wrap; } .loot-root .l-banner .l-btn { width: 100%; text-align: center; } }
/* ---- большое окно пополнения ---- */
.loot-root .l-topup { border: 1px solid rgba(255,68,51,.4); background: linear-gradient(160deg, rgba(255,68,51,.1), rgba(0,0,0,.3)); border-radius: 16px; padding: 18px 20px; box-shadow: 0 0 40px rgba(255,68,51,.08); }
.loot-root .l-topup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.loot-root .l-topup-head #lTopupTitleHours { color: var(--lred); }
.loot-root .l-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 12px 0; }
.loot-root .l-presets button { font-family: var(--mono); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 8px; color: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 2px; align-items: center; transition: border-color .15s, transform .15s; }
.loot-root .l-presets button b { font-size: 15px; } .loot-root .l-presets button span { font-size: 11px; color: var(--lgrey); }
.loot-root .l-presets button:hover { transform: translateY(-2px); border-color: rgba(255,68,51,.5); } .loot-root .l-presets button.on { border-color: var(--lred); background: rgba(255,68,51,.14); box-shadow: 0 0 14px rgba(255,68,51,.25); }
/* ---- cases.html: та же страница кабинета, блок ключей спрятан ---- */
.cases-page .dash-hint, .cases-page .dash-picker, .cases-page #pickerLoading, .cases-page #pickerError, .cases-page #serverGrid, .cases-page #serverGridEmpty, .cases-page .dash-sub-panel, .cases-page .dash-guide-panel { display: none !important; }

/* ---- страница баланса ---- */
.loot-root .l-big { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 8px; } .loot-root .l-big b { font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1; } .loot-root .l-big span { color: var(--lgrey); font-size: 13px; }
.loot-root .l-hist { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.loot-root .l-hrow { display: grid; grid-template-columns: 96px 1fr 1fr auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); } .loot-root .l-hrow > span:first-child { color: var(--lgrey); } .loot-root .l-hrow .w { color: var(--lok); } .loot-root .l-hrow .x { color: var(--lred); } .loot-root .l-hrow a { color: var(--lred); }
@media (max-width: 560px) { .loot-root .l-hrow { grid-template-columns: 1fr 1fr; } }
.loot-root .l-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: rgba(255,68,51,.07); border: 1px solid rgba(255,68,51,.3); font-size: 13px; } .loot-root .l-strip b { color: #fff; } .loot-root .l-strip a { text-decoration: none; }

/* ---- байт ---- */
.loot-root .l-byte-cur { font-size: 52px; font-weight: 800; letter-spacing: -1px; color: #fff; text-align: center; padding: 18px 10px; border: 1px solid rgba(255,68,51,.35); border-radius: 14px; background: linear-gradient(160deg, rgba(255,68,51,.1), rgba(0,0,0,.4)); text-shadow: 0 0 18px rgba(255,68,51,.5); }
.loot-root .l-byte-hist { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; direction: ltr; } .loot-root .l-byte-hist span { font-size: 11.5px; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--lgrey); } .loot-root .l-byte-hist span.cur { color: #fff; border: 1px solid rgba(255,68,51,.5); } .loot-root .l-byte-hist span.x { color: var(--lred); }

/* ---- большая кнопка пополнения сверху страницы баланса ---- */
.loot-root .l-topup-cta { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 14px; padding: 16px 20px; border: 1px solid rgba(255,68,51,.55); border-radius: 14px; background: linear-gradient(120deg, #e2362a, #ff4433 55%, #ff6a5b); color: #fff; font: inherit; text-align: start; cursor: pointer; box-shadow: 0 10px 30px rgba(255,68,51,.28), inset 0 1px 0 rgba(255,255,255,.18); transition: transform .12s, box-shadow .12s; }
.loot-root .l-topup-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(255,68,51,.38), inset 0 1px 0 rgba(255,255,255,.18); }
.loot-root .l-topup-cta .ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: rgba(0,0,0,.28); display: grid; place-items: center; font-size: 24px; font-weight: 800; line-height: 1; }
.loot-root .l-topup-cta .tx { font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.loot-root .l-topup-cta .sub { margin-inline-start: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; opacity: .9; white-space: nowrap; }
@media (max-width: 640px) { .loot-root .l-topup-cta { flex-wrap: wrap; padding: 14px 16px; } .loot-root .l-topup-cta .sub { margin-inline-start: 0; flex-basis: 100%; white-space: normal; } }
.loot-root #lTopupSec.flash .l-topup { animation: l-flash 1.2s ease-out; }
@keyframes l-flash { 0% { box-shadow: 0 0 0 3px rgba(255,68,51,.7); } 100% { box-shadow: 0 0 0 0 rgba(255,68,51,0); } }

/* ---- профиль: консольная инфографика (profile.html) ---- */
.loot-root .pf { display: grid; grid-template-columns: 250px 1fr; }
.loot-root .pf-id { padding: 20px; border-inline-end: 1px solid rgba(255,255,255,.07); background: radial-gradient(circle at 20% 0%, rgba(255,68,51,.16), transparent 60%); }
.loot-root .pf-emblem { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; font-weight: 800; color: #06110a; position: relative; margin-bottom: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); letter-spacing: -.5px; }
.loot-root .pf-emblem::after { content: ''; position: absolute; inset: -5px; border-radius: 22px; border: 1px dashed rgba(255,255,255,.25); }
.loot-root .pf-handle { font-size: 18px; font-weight: 800; word-break: break-all; } .loot-root .pf-handle em { font-style: normal; color: #6d6a6a; font-weight: 400; }
.loot-root .pf-rank { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; font-weight: 700; } .loot-root .pf-rank i { width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; } .loot-root .pf-rank span { color: #6d6a6a; font-weight: 400; }
.loot-root .pf-edit { margin-top: 16px; font: inherit; font-size: 11.5px; color: var(--lred); background: none; border: 1px dashed rgba(255,68,51,.35); border-radius: 7px; padding: 6px 9px; cursor: pointer; text-align: start; direction: ltr; } .loot-root .pf-edit span { color: #6d6a6a; }
.loot-root .pf-form { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; } .loot-root .pf-form .l-row { gap: 6px; } .loot-root .pf-form input { width: 150px; direction: ltr; }
.loot-root .pf-body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.loot-root .pf-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; } .loot-root .pf-row .k { color: #6d6a6a; font-size: 11.5px; } .loot-root .pf-row .v { color: #ddd; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.loot-root .pf-ascii { font-size: 12px; letter-spacing: -1px; color: #3a3535; direction: ltr; unicode-bidi: isolate; } .loot-root .pf-ascii b { color: var(--lred); font-weight: 400; text-shadow: 0 0 8px rgba(255,68,51,.6); } .loot-root .pf-ascii.sm { font-size: 10px; }
.loot-root .pf-num { color: #fff; font-weight: 800; font-size: 15px; } .loot-root .pf-dim { color: #6d6a6a; } .loot-root .pf-g { color: var(--lgreen, #3ddc84); } .loot-root .pf-a { color: #ffa24d; }
.loot-root .pf-sep { height: 1px; background: rgba(255,255,255,.07); margin: 4px 0; }
.loot-root .pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px; }
.loot-root .pf-cell { display: flex; flex-direction: column; gap: 2px; } .loot-root .pf-cell .k { color: #6d6a6a; font-size: 11px; } .loot-root .pf-cell .big { font-size: 20px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; color: #fff; } .loot-root .pf-cell .big.g { color: var(--lgreen, #3ddc84); } .loot-root .pf-cell .sub { color: var(--lgrey); font-size: 11px; }
.loot-root .pf-bd { font-size: 11px; padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); color: #ddd; } .loot-root .pf-bd i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-inline-end: 6px; } .loot-root .pf-bd.lock { color: #6d6a6a; border-style: dashed; }
.loot-root .pf-src { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--lgrey); } .loot-root .pf-src b { color: #fff; font-weight: 700; }
@media (max-width: 760px) { .loot-root .pf { grid-template-columns: 1fr; } .loot-root .pf-id { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.07); } .loot-root .pf-grid { grid-template-columns: repeat(2, 1fr); } .loot-root .pf-row { grid-template-columns: 56px 1fr; } }

/* аватар-анонимус в эмблеме и чипе */
.loot-root .pf-emblem.av { background: radial-gradient(circle at 50% 30%, #2a2223, #0d0b0c 70%); overflow: hidden; }
.loot-root .pf-emblem.av svg { transform: translateY(3px); }

.loot-root .pf-form[hidden] { display: none; }

/* ---- Игры на телефоне: плитки тянутся по ширине карточки ----
   Раньше колонки были фиксированные (дешифровка — 6 × 52 px = 342 px), и на
   экране 375 px ряд вылезал за правый край. Теперь ширина колонок резиновая,
   а высота плитки задана явно, чтобы они не превращались в полоски. */
@media (max-width: 560px) {
  .loot-root .l-game > div { min-width: 0; }
  .loot-root .l-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .loot-root .l-dec { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
  .loot-root .l-tower { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .loot-root .l-weekly { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loot-root .l-tile { width: auto; min-width: 0; height: 46px; }
  .loot-root .l-dec .l-tile { height: 38px; font-size: 9.5px; }
  .loot-root .l-tower .l-tile { height: 32px; }
  .loot-root .l-weekly .l-tile { width: auto; height: 46px; }
  .loot-root .l-byte-cur { font-size: 40px; }
  .loot-root .l-stat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
