/* =========================================================
   OLD ZOMBIE — награды за топ, вкладки рейтинга, ножи
   ========================================================= */

/* ---------- Вкладки «Топ-100 / Все игроки» ---------- */
.top-tabs { display: flex; gap: 10px; margin: 6px 0 18px; flex-wrap: wrap; }
.top-tab { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); text-decoration: none; transition: .18s; min-width: 210px; }
.top-tab i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--panel-3); color: var(--lilac); font-size: 16px; transition: .18s; }
.top-tab span { display: flex; flex-direction: column; line-height: 1.25; }
.top-tab b { color: var(--text); font-size: 14px; font-weight: 800; }
.top-tab small { font-size: 11px; color: var(--dim); font-weight: 600; }
.top-tab:hover { border-color: var(--line-violet); color: var(--text); transform: translateY(-1px); }
.top-tab.active { border-color: var(--violet-2); background: linear-gradient(135deg, rgba(122, 44, 255, .22), rgba(192, 75, 255, .1)); box-shadow: 0 0 26px rgba(142, 49, 255, .22); }
.top-tab.active i { background: var(--grad-violet); color: #fff; box-shadow: var(--shadow-violet); }
.top-pager .gap { display: grid; place-items: center; min-width: 26px; color: var(--dim); font-weight: 800; }
.top-pager a i { font-size: 12px; }
form.oz-search-inline { margin: 0; }

/* ---------- Награды за топ: главный блок ---------- */
.tr-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tr-hero { position: relative; margin: 0 0 26px; border-radius: 22px; border: 1px solid rgba(255, 201, 74, .28); background: linear-gradient(160deg, #141024 0%, #0e1520 55%, #0b1019 100%); overflow: hidden; box-shadow: 0 0 60px rgba(255, 190, 60, .07), 0 18px 50px rgba(0, 0, 0, .35); }
.tr-hero-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(520px 260px at 12% -10%, rgba(255, 201, 74, .2), transparent 70%),
  radial-gradient(560px 300px at 100% 0%, rgba(168, 85, 255, .22), transparent 70%),
  radial-gradient(600px 280px at 50% 120%, rgba(226, 76, 242, .12), transparent 70%); }
.tr-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 90% at 50% 0, #000, transparent); -webkit-mask-image: radial-gradient(70% 90% at 50% 0, #000, transparent); }
.tr-hero-in { position: relative; padding: 26px 26px 22px; }
.tr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.tr-head-text { max-width: 640px; }
.tr-head h2 { margin: 8px 0 8px; font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.tr-head h2 span { background: linear-gradient(90deg, #ffd35c, #ff9d3c 55%, #ef3f78); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tr-head p { margin: 0; color: #a9b2c6; font-size: 14px; }
.tr-head p b { color: var(--gold); }

.tr-clock { text-align: center; padding: 14px 16px 12px; border-radius: 16px; border: 1px solid var(--line-violet); background: rgba(14, 21, 32, .75); backdrop-filter: blur(6px); min-width: 300px; }
.tr-clock-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.tr-clock-label i { color: var(--lilac); }
.tr-count { display: flex; gap: 8px; justify-content: center; }
.tr-count > div { min-width: 62px; padding: 9px 6px 7px; border-radius: 12px; background: #0a0f18; border: 1px solid var(--line-2); }
.tr-count b { display: block; font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; background: linear-gradient(180deg, #fff, #c9a4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tr-count span { display: block; margin-top: 5px; color: var(--dim); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tr-clock-date { margin-top: 9px; color: var(--dim); font-size: 12px; }

/* Три призовых места */
.tr-places { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 14px; align-items: end; }
.tr-place { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(23, 32, 49, .9), rgba(14, 21, 32, .95)); overflow: hidden; transition: transform .22s, box-shadow .22s; }
.tr-place::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 90px; opacity: .9; pointer-events: none; }
.tr-place:hover { transform: translateY(-4px); }
.tr-place > * { position: relative; }
.tr-gold { padding-top: 24px; border-color: rgba(255, 201, 74, .5); box-shadow: 0 0 44px rgba(255, 190, 60, .13); }
.tr-gold::before { background: radial-gradient(70% 100% at 50% 0, rgba(255, 201, 74, .32), transparent); }
.tr-silver { border-color: rgba(207, 214, 230, .32); }
.tr-silver::before { background: radial-gradient(70% 100% at 50% 0, rgba(207, 214, 230, .2), transparent); }
.tr-bronze { border-color: rgba(227, 153, 94, .35); }
.tr-bronze::before { background: radial-gradient(70% 100% at 50% 0, rgba(227, 153, 94, .22), transparent); }
.tr-place-top { display: flex; align-items: center; gap: 10px; }
.tr-place-top b { font-size: 16px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.tr-gold .tr-place-top b { color: var(--gold); }
.tr-silver .tr-place-top b { color: #dfe5f2; }
.tr-bronze .tr-place-top b { color: #f0aa72; }
.tr-medal { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 17px; color: #2a1406; background: linear-gradient(135deg, #e3995e, #8e4e22); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.tr-gold .tr-medal, .tr-win.tr-gold .tr-medal { background: linear-gradient(135deg, #ffd35c, #c98c16); color: #2c1d00; box-shadow: 0 0 22px rgba(255, 200, 70, .5); animation: trPulse 2.6s ease-in-out infinite; }
.tr-silver .tr-medal { background: linear-gradient(135deg, #eef1f8, #8d97a8); color: #1d2330; }
.tr-medal.sm { width: 26px; height: 26px; font-size: 11px; animation: none !important; }
@keyframes trPulse { 0%, 100% { box-shadow: 0 0 16px rgba(255, 200, 70, .4); } 50% { box-shadow: 0 0 30px rgba(255, 200, 70, .75); } }

/* Плитка приза */
.tr-prize-list { display: flex; flex-direction: column; gap: 8px; }
.trp { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: rgba(10, 15, 24, .7); border: 1px solid var(--line); min-width: 0; }
.trp-pic { width: 62px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 9px; background: radial-gradient(circle at 50% 40%, rgba(139, 61, 255, .22), rgba(10, 15, 24, .6)); overflow: hidden; color: var(--lilac); font-size: 20px; }
.trp-pic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.trp.t-credits .trp-pic { color: var(--gold); background: radial-gradient(circle at 50% 40%, rgba(255, 201, 74, .2), rgba(10, 15, 24, .6)); }
.trp.t-vip .trp-pic { color: #ffd35c; background: radial-gradient(circle at 50% 40%, rgba(255, 201, 74, .26), rgba(10, 15, 24, .6)); }
.trp.t-knife .trp-pic { background: radial-gradient(circle at 50% 40%, rgba(255, 201, 74, .18), rgba(10, 15, 24, .6)); }
.trp-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.trp-txt b { font-size: 13px; font-weight: 800; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trp-txt small { color: var(--muted); font-size: 11px; font-weight: 600; }
.tr-noprize { padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--dim); font-size: 12px; text-align: center; }
.tr-noprize i { margin-right: 6px; }

/* Кто сейчас на месте */
.tr-lead { margin-top: auto; }
.tr-lead-in { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(139, 61, 255, .1); border: 1px solid var(--line-violet); text-decoration: none; color: var(--text); transition: .15s; }
.tr-lead-in:hover { background: rgba(139, 61, 255, .2); }
.tr-lead-in img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; flex: none; }
.tr-lead-in span { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.tr-lead-in small { color: var(--dim); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tr-lead-in b { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-lead-in em { font-style: normal; font-weight: 900; color: var(--green); font-size: 14px; font-variant-numeric: tabular-nums; }
.tr-lead-empty { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 12px; font-weight: 600; }

/* Мой прогресс и правила */
.tr-me { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-violet); background: linear-gradient(90deg, rgba(139, 61, 255, .16), rgba(139, 61, 255, .04)); }
.tr-me-place { min-width: 52px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: 11px; background: var(--grad-violet); font-weight: 900; box-shadow: var(--shadow-violet); }
.tr-me-txt { display: flex; flex-direction: column; line-height: 1.3; }
.tr-me-txt small { color: var(--muted); }
.tr-rules { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.tr-rules i { color: var(--lilac); margin-right: 7px; }

/* ---------- Победители ---------- */
.tr-winners { margin: 0 0 26px; }
.tr-sec-head h3 { margin: 0 0 12px; font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.tr-sec-head h3 i { color: var(--gold); }
.tr-season { padding: 16px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); }
.tr-season-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tr-season-head b { font-size: 16px; font-weight: 800; }
.tr-season-head span { color: var(--muted); font-size: 12px; }
.tr-win-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tr-win { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel-2); }
.tr-win.tr-gold { border-color: rgba(255, 201, 74, .45); background: linear-gradient(180deg, rgba(255, 201, 74, .09), var(--panel-2)); }
.tr-win.tr-silver { border-color: rgba(207, 214, 230, .3); }
.tr-win.tr-bronze { border-color: rgba(227, 153, 94, .32); }
.tr-win-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tr-win-who { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.tr-win-who img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex: none; }
.tr-win-who span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tr-win-who b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-win-who small { color: var(--muted); font-size: 11px; font-weight: 600; }
.tr-win-who:hover b { color: var(--lilac); }
.tr-win-prize { display: flex; align-items: center; gap: 8px; }
.tr-win-prize .trp { flex: 1; }
.tr-win-prize .status-pill { flex: none; }
.tr-old { margin-top: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.tr-old summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; list-style: none; }
.tr-old summary::-webkit-details-marker { display: none; }
.tr-old summary i { color: var(--lilac); }
.tr-old summary span { color: var(--muted); font-size: 12px; margin-left: auto; }
.tr-old-body { padding: 4px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.tr-old-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); }
.tr-old-row a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.tr-old-row a img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.tr-old-prizes { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.tr-old-prizes em { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(255, 201, 74, .1); border: 1px solid rgba(255, 201, 74, .25); color: var(--gold); }

/* ---------- Плашка на главной ---------- */
.tr-home { margin: 0 0 20px; }
.tr-home-card { position: relative; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 20px; border-radius: 18px; border: 1px solid rgba(255, 201, 74, .32); background: linear-gradient(120deg, #17122a, #0e1520 60%); text-decoration: none; color: var(--text); overflow: hidden; transition: .2s; }
.tr-home-card:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255, 190, 60, .14); color: var(--text); }
.tr-home-glow { position: absolute; inset: 0; background: radial-gradient(360px 160px at 0 0, rgba(255, 201, 74, .2), transparent 70%); pointer-events: none; }
.tr-home-ico { position: relative; width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #ffd35c, #c98c16); color: #2c1d00; font-size: 26px; box-shadow: 0 0 26px rgba(255, 200, 70, .45); }
.tr-home-body { position: relative; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 240px; }
.tr-home-body > b { font-size: 18px; font-weight: 900; }
.tr-home-prizes { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-mini { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); background: rgba(10, 15, 24, .7); color: #d7dcea; }
.tr-mini em { font-style: normal; font-weight: 900; }
.tr-mini.tr-gold i, .tr-mini.tr-gold em { color: var(--gold); }
.tr-mini.tr-silver i, .tr-mini.tr-silver em { color: #dfe5f2; }
.tr-mini.tr-bronze i, .tr-mini.tr-bronze em { color: #f0aa72; }
.tr-home-clock { position: relative; text-align: center; }
.tr-home-clock small { display: block; color: var(--dim); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.tr-count.sm { gap: 6px; }
.tr-count.sm > span { display: inline-flex; align-items: baseline; gap: 2px; padding: 6px 9px; border-radius: 9px; background: #0a0f18; border: 1px solid var(--line-2); }
.tr-count.sm b { display: inline; font-size: 17px; }
.tr-count.sm i { font-style: normal; color: var(--dim); font-size: 10px; font-weight: 800; }

/* ---------- Ножи в магазине ---------- */
.shop15-knife { position: relative; display: grid; grid-template-columns: minmax(260px, 1.1fr) 1fr; align-items: center; gap: 20px; margin: 0 0 22px; padding: 18px 22px; border-radius: 20px; border: 1px solid rgba(255, 201, 74, .32); background: linear-gradient(120deg, #1a1430 0%, #0e1520 60%); overflow: hidden; }
.shop15-knife::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 220px at 18% 40%, rgba(255, 201, 74, .2), transparent 70%); pointer-events: none; }
.shop15-knife > * { position: relative; }
.shop15-knife img { width: 100%; max-height: 190px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(255, 190, 60, .3)); }
.shop15-knife-txt { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.shop15-knife-txt .kn-cat { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.shop15-knife-txt h2 { margin: 0; font-size: 26px; font-weight: 900; }
.shop15-knife-txt p { margin: 0; color: #a9b2c6; }
.kn-free { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; color: #052a17; background: linear-gradient(135deg, #7dffbf, #2fd985); }
.pcard15.t-knife .pc-photo img { object-fit: contain; padding: 8px; background: radial-gradient(circle at 50% 40%, rgba(255, 201, 74, .16), transparent 70%); }
.pcard15.t-knife .pc-price b.is-free { color: var(--green); }
.pc-cat-knife { color: var(--gold); }

/* ---------- Ножи в инвентаре ---------- */
.inv-knives { margin-top: 16px; }
.inv-knives .mp-img img { object-fit: contain; padding: 4px; }
.mp-free { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: rgba(94, 240, 168, .14); border: 1px solid rgba(94, 240, 168, .3); color: var(--green); font-size: 10px; font-weight: 800; text-transform: uppercase; vertical-align: middle; }

/* ---------- Админка: награды топа ---------- */
.tr-adm-place { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); margin-bottom: 10px; }
.tr-adm-place > b { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tr-prize-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.tr-prize-rows .prize-row { display: flex; gap: 6px; }
.tr-prize-rows .prize-row select { flex: 1; min-width: 0; }
.tr-adm-leaders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tr-adm-leaders li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 9px; background: var(--panel-2); }
.tr-adm-leaders li em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--green); }

/* ---------- Адаптив ---------- */
@media (max-width: 991px) {
  .tr-places { grid-template-columns: 1fr; }
  .tr-gold { order: -1; }
  .tr-win-grid { grid-template-columns: 1fr; }
  .tr-clock { min-width: 0; width: 100%; }
  .shop15-knife { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 575px) {
  .tr-hero-in { padding: 18px 14px 16px; }
  .tr-head h2 { font-size: 23px; }
  .tr-count > div { min-width: 0; flex: 1; }
  .tr-count b { font-size: 21px; }
  .top-tab { flex: 1; min-width: 0; padding: 8px 10px; }
  .top-tab i { width: 32px; height: 32px; }
  .tr-home-card { padding: 14px; }
  .tr-home-clock { width: 100%; text-align: left; }
  .tr-old summary span { display: none; }
}

/* ---------- ЗМ классы: баннер, карточки, инвентарь ---------- */
.shop15-featured { margin: 0 0 22px; }
.shop15-featured .shop15-knife { margin: 0; }
.shop15-featured.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shop15-featured.two .shop15-knife { grid-template-columns: minmax(120px, .8fr) 1fr; padding: 18px; }
.shop15-featured.two .shop15-knife img { max-height: 170px; }
.shop15-zm { border-color: rgba(140, 230, 60, .34); background: linear-gradient(120deg, #10201a 0%, #0e1520 60%); }
.shop15-zm::before { background: radial-gradient(420px 220px at 18% 40%, rgba(150, 240, 60, .2), transparent 70%); }
.shop15-zm img { filter: drop-shadow(0 10px 22px rgba(150, 240, 60, .28)); }
.shop15-zm .kn-cat { color: #b6f050; }
.pcard15.t-zm_class .pc-photo img { object-fit: contain; padding: 8px; background: radial-gradient(circle at 50% 40%, rgba(150, 240, 60, .16), transparent 70%); }
.pcard15.t-zm_class .pc-price b.is-free { color: var(--green); }
.hs-item.t-zm_class .hs-visual { background: radial-gradient(80% 90% at 50% 100%, rgba(150, 240, 60, .24), transparent 70%), linear-gradient(180deg, #131f19, #0b1019); }
.inv-zm { margin-top: 16px; }
.inv-zm .mp-img img { object-fit: contain; padding: 4px; }
@media (max-width: 991px) { .shop15-featured.two { grid-template-columns: 1fr; } }
