/* Pets Universe. Ciemne, spokojne tlo; kolor daja wylacznie grafiki z gry. */
@font-face { font-family: Outfit; src: url(fonts/outfit-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #09090c;
  --panel: #121216;
  --panel-2: #191920;
  --panel-3: #22222a;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f6f6f8;
  --text-2: #a6a6b1;
  --text-3: #70707c;
  --up: #45d483;
  --down: #ff6b6b;
  --r-card: 14px;
  --r-field: 10px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 15px/1.5 Outfit, system-ui, sans-serif; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.ic { width: 18px; height: 18px; stroke-width: 2; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- gora ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); background: rgba(9, 9, 12, .94); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.nav { position: relative; display: flex; gap: 2px; flex: 1; min-width: 0; }
.nav-ind { position: absolute; left: 0; top: 0; height: 40px; width: 0; background: var(--panel-3); border-radius: var(--r-field); opacity: 0; transition: transform .3s cubic-bezier(.3, 1.25, .45, 1), width .3s cubic-bezier(.3, 1.25, .45, 1), opacity .15s; }
.nav a { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 8px; border-radius: var(--r-field); color: var(--text-2); font-weight: 500; white-space: nowrap; transition: color .12s, background-color .12s; }
.nav a img { width: 26px; height: 26px; transition: transform .28s cubic-bezier(.34, 1.56, .64, 1); }
.nav a:hover { color: var(--text); }
.nav a:hover img { transform: scale(1.16) rotate(-6deg); }
.nav a[aria-current="page"] { color: var(--text); }
.refresh { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.refresh b { color: var(--text-2); font-weight: 500; }
.menu { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-field); cursor: pointer; }
.banner { display: flex; gap: 8px; justify-content: center; align-items: center; padding: 9px 20px; background: var(--panel); border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 14px; }

/* ---------- uklad ---------- */
.page { width: 100%; max-width: 1368px; margin: 0 auto; padding: 36px 24px 72px; }
.page-head { margin-bottom: 22px; }
.page-head h1, .item h1, .profile h1, .article h1 { font-size: 38px; line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
.page-head p { margin-top: 6px; color: var(--text-2); max-width: 64ch; }
.section { margin-top: 52px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2, .group h2, .panel h2 { font-size: 22px; font-weight: 600; letter-spacing: -.005em; }
.link-more { display: inline-flex; align-items: center; gap: 2px; color: var(--text-2); font-weight: 500; font-size: 14px; white-space: nowrap; }
.link-more:hover { color: var(--text); }
.link-more .ic { width: 16px; height: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.muted { color: var(--text-2); }
.count { color: var(--text-3); font-size: 14px; margin: 14px 0 12px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); margin-bottom: 18px; font-weight: 500; }
.back:hover { color: var(--text); }
.more { display: flex; justify-content: center; margin-top: 26px; }
.empty { display: flex; flex-direction: column; gap: 4px; padding: 44px 24px; text-align: center; color: var(--text-2); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); grid-column: 1 / -1; }
.empty b { color: var(--text); font-size: 17px; font-weight: 600; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 24px; background: #fff; color: #0a0a0d; border: 0; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background-color .12s, transform .12s; }
.btn:hover { background: #dfe1e6; }
.btn:active { transform: scale(.98); }
.btn.alt { background: var(--panel-3); color: var(--text); }
.btn.alt:hover { background: #2d2d37; }

/* ---------- start ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; max-width: 1368px; margin: 0 auto; padding: 40px 24px 0; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -.025em; }
.hero p { margin-top: 18px; font-size: 19px; line-height: 1.45; color: var(--text-2); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-live { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; color: var(--text-3); font-size: 14px; }
.hero-live b { color: var(--text); font-weight: 600; }
.hero-art { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--panel); }
.hero-art { animation: art-in .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transform: translate(calc(var(--px, 0) * -1.2%), calc(var(--py, 0) * -1.2%)) scale(var(--hs, 1)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero h1, .hero p, .hero-actions, .hero-live { animation: rise .55s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero p { animation-delay: 70ms; }
.hero-actions { animation-delay: 130ms; }
.hero-live { animation-delay: 190ms; }

.ticker { max-width: 1368px; margin: 32px auto 0; overflow: hidden; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 7px; padding: 8px 26px 8px 0; white-space: nowrap; font-size: 14px; color: var(--text-2); transition: color .12s; }
.tick:hover { color: var(--text); }
.tick b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.tick .cur { width: 18px; height: 18px; margin-left: 2px; }
.home-page { padding-top: 28px; }

.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .14s, background-color .14s, transform .22s cubic-bezier(.2, .7, .2, 1); }
.cat img { width: 46px; height: 46px; transition: transform .32s cubic-bezier(.34, 1.56, .64, 1); }
.cat b { display: block; font-weight: 600; font-size: 16px; }
.cat span { color: var(--text-3); font-size: 13.5px; }
.cat:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-2px); }
.cat:hover img { transform: scale(1.14) rotate(-6deg); }

/* ---------- karta ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.grid.six { grid-template-columns: repeat(6, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: border-color .16s, background-color .16s, transform .24s cubic-bezier(.2, .7, .2, 1), box-shadow .24s; animation: rise .42s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: var(--d, 0ms); }
.still .tile { animation: none; }
.tile:active { transform: scale(.985); }
.art { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / .86; overflow: hidden; }
.scribble { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; opacity: .5; transition: opacity .2s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.pet { position: relative; display: block; width: 76%; height: 88%; object-fit: contain; isolation: isolate; container-type: size; transition: transform .34s cubic-bezier(.34, 1.56, .64, 1); }
.pet.flip { rotate: 180deg; }
span.pet > img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .28s; }
span.pet.ready > img { opacity: 1; }
.fx { position: absolute; inset: 0; opacity: 0; mix-blend-mode: multiply; pointer-events: none; transition: opacity .28s; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.pet.ready .fx { opacity: var(--a); }
.fx-shadow { --a: .78; background: rgb(16, 10, 26); }
.fx-evil { --a: .22; background: #f00; }
.fx-rainbow, .fx-candy { background: none; overflow: hidden; }
/* Jak UIGradient w grze: Rotation 35, jeden pelny cykl na ikonke; pasy przesuwa transform. */
.fx-rainbow::before, .fx-candy::before { content: ''; position: absolute; inset: -160cqmin; animation: fx-flow var(--cycle) linear infinite; }
.fx-rainbow { --a: .65; --cycle: 6s; }
.fx-rainbow::before { background: repeating-linear-gradient(125deg, hsl(0 100% 50%) 0, hsl(30 100% 50%), hsl(60 100% 50%), hsl(90 100% 50%), hsl(120 100% 50%), hsl(150 100% 50%), hsl(180 100% 50%), hsl(210 100% 50%), hsl(240 100% 50%), hsl(270 100% 50%), hsl(300 100% 50%), hsl(330 100% 50%), hsl(360 100% 50%) 139cqmin); }
.fx-candy { --a: .5; --cycle: 12s; }
.fx-candy::before { background: repeating-linear-gradient(125deg, #ffe161 0, #ffd661, #ffb661, #ff8c61, #ff6161, #ff6180, #ff618c, #ff6180, #ff6161, #ff8c61, #ffb661, #ffd661, #ffe161 139cqmin); }
.muts { display: inline-flex; gap: 2px; }
.muts img { width: 26px; height: 26px; }
.art .muts, .stage .muts { position: absolute; right: 8px; top: 9px; }
.stage .muts { right: 14px; top: 14px; }
.stage .muts img { width: 40px; height: 40px; }
.hatch-pet .muts { flex: none; }
.hatch-pet .muts img { width: 20px; height: 20px; }
.star { position: absolute; left: 9px; top: 9px; width: 30px; height: 30px; transition: transform .34s cubic-bezier(.34, 1.56, .64, 1); }
.fallback { position: relative; display: flex; align-items: center; justify-content: center; width: 54%; aspect-ratio: 1; border-radius: 22%; background: var(--panel-3); color: var(--text-3); font-size: 32px; font-weight: 700; }
.tile-body { display: flex; flex-direction: column; padding: 2px 13px 12px; }
.tile-name { font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-kind { color: var(--text-3); font-size: 13px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-price { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 9px; min-height: 26px; }
.rap { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.rap.none { font-weight: 500; font-size: 14px; color: var(--text-3); }
.cur { width: 22px; height: 22px; flex: none; }
.delta { display: inline-flex; align-items: center; gap: 1px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }
.tile-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; min-height: 28px; }
.tile-meta b { color: var(--text-2); font-weight: 500; }
@media (hover: hover) {
  .tile:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
  .tile:hover .pet { transform: translateY(-3px) scale(1.09) rotate(-2.5deg); }
  .tile:hover .scribble { opacity: .85; transform: scale(1.07) rotate(4deg); }
  .tile:hover .star { transform: scale(1.2) rotate(-14deg); }
  a.row:hover .pet { transform: scale(1.14) rotate(-3deg); }
}

/* ---------- filtry ---------- */
.tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.tool-row { display: flex; gap: 10px; }
.searchbox { position: relative; flex: 1; }
.searchbox .ic { position: absolute; left: 13px; top: 13px; color: var(--text-3); pointer-events: none; }
.field { width: 100%; height: 44px; padding: 0 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-field); outline: none; transition: border-color .12s; }
.searchbox .field { padding-left: 40px; }
.field::placeholder { color: var(--text-3); }
.field:hover { border-color: var(--line-2); }
.field:focus { border-color: #fff; }
select.field { width: auto; min-width: 190px; cursor: pointer; }
select.field option { background: var(--panel); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-weight: 500; font-size: 14px; cursor: pointer; white-space: nowrap; transition: color .12s, border-color .12s, background-color .12s, transform .12s; }
.chip:active { transform: scale(.95); }
.chip img { width: 22px; height: 22px; margin-left: -5px; }
.chip-gap { width: 1px; margin: 6px 6px; background: var(--line-2); }
.chip small { color: var(--text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0a0a0d; font-weight: 600; }
.chip[aria-pressed="true"] small { color: #55555f; }

/* ---------- listy ---------- */
.row-list { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.row-list > li + li { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 12px; padding: 9px 14px; transition: background-color .12s; }
a.row:hover { background: var(--panel-2); }
.thumb { position: relative; display: flex; align-items: center; justify-content: center; flex: none; }
.thumb .pet { width: 100%; height: 100%; }
.thumb .fallback { width: 100%; font-size: 15px; }
.avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; background: var(--panel-3); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.grow { flex: 1; min-width: 0; display: block; }
.t1 { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t2 { display: flex; align-items: center; gap: 4px; color: var(--text-3); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.t2 .cur { width: 17px; height: 17px; }
.end { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank { width: 26px; text-align: center; color: var(--text-3); font-weight: 600; font-variant-numeric: tabular-nums; flex: none; }
.rank.top { color: var(--text); }

/* ---------- aktualizacje ---------- */
.cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.post-date { color: var(--text-3); font-size: 13.5px; }
.update-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.update-cover { display: block; border-radius: 16px; overflow: hidden; }
.update-cover:hover .cover img { transform: scale(1.035); }
.update-block .change { padding: 10px 0; }
.update-block .change:first-child { padding-top: 0; }
.btn.small { height: 38px; padding: 0 18px; font-size: 14px; margin-top: 12px; }
.update-tabs { margin-bottom: 24px; }
.article { max-width: 760px; margin: 0 auto; }
.article .cover { margin: 20px 0 12px; border-radius: 16px; }
.article .post-date { margin-top: 6px; }
.change-img { flex: none; width: 132px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--panel-2); }
.change-img img { width: 100%; height: 100%; object-fit: cover; }
.change { display: flex; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.change:last-child { border-bottom: 0; }
.change h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.change p { color: var(--text-2); margin-top: 2px; }
.callout { margin-top: 20px; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); font-weight: 500; }

/* ---------- pet ---------- */
.item { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 44px; align-items: start; }
.stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stage .scribble { opacity: .62; }
.stage .pet { width: 78%; height: 78%; }
.stage .star { width: 44px; height: 44px; left: 14px; top: 14px; }
.stage.spin { cursor: grab; touch-action: pan-y; user-select: none; }
.stage.spin:active { cursor: grabbing; }
.stage-note { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: rgba(0, 0, 0, .6); border-radius: 999px; color: var(--text-2); font-size: 13px; pointer-events: none; white-space: nowrap; }
.stage-note .ic { width: 15px; height: 15px; }
.kind { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--text-2); font-size: 16px; }
.kind img { width: 26px; height: 26px; }
.price { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price .cur { width: 54px; height: 54px; }
.price-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.section-gap { margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0; margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.group .facts { margin-top: 12px; }
.fact { padding: 12px 15px; box-shadow: 0 0 0 .5px var(--line); }
.fact dt { color: var(--text-3); font-size: 13.5px; }
.fact dd { margin-top: 1px; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.group { margin-top: 36px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; }
.chart-box { margin-top: 28px; }
.chart { display: block; width: 100%; height: auto; margin-top: 12px; touch-action: pan-y; }
.chart text { fill: var(--text-3); font-size: 12px; font-family: inherit; }
.grid-line { stroke: var(--line); }
.line { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; animation: draw 1.1s cubic-bezier(.3, .7, .2, 1) backwards; }
.cross { stroke: var(--line-2); }
.dot { fill: #fff; stroke: var(--panel); stroke-width: 2; }
.tip { position: absolute; transform: translate(-50%, -130%); padding: 5px 10px; background: var(--panel-3); border: 1px solid var(--line-2); border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; pointer-events: none; }
.tip span { display: block; color: var(--text-3); font-weight: 400; font-size: 12px; }

/* ---------- hatche ---------- */
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-top: 16px; }
.columns .section-head { margin-bottom: 10px; }
.columns .section-head h2 { font-size: 18px; }
.feed { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.feed > li + li { border-top: 1px solid var(--line); }
.hatch { display: flex; align-items: center; gap: 14px; padding: 9px 16px 9px 10px; }
.hatch-pet { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.hatch-pet span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hatch-pet img { width: 20px; height: 20px; flex: none; }
.who { color: var(--text-3); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who a { color: var(--text-2); }
.who a:hover { color: var(--text); text-decoration: underline; }
.odds { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.odds span { display: block; color: var(--text-3); font-weight: 400; font-size: 13px; }

/* ---------- wymiana ---------- */
.trade { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.side h2 { font-size: 18px; }
.side-total { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.side-total .cur { width: 30px; height: 30px; }
.picks { margin-top: 6px; }
.picks button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 5px 8px; background: none; border: 0; border-radius: 8px; cursor: pointer; text-align: left; }
.picks button:hover { background: var(--panel-3); }
.picks .t1 { flex: 1; }
.chosen { margin-top: 8px; }
.chosen li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.chosen input { width: 68px; height: 32px; padding: 0 8px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; }
.icon-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 8px; color: var(--text-3); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--panel-3); }
.verdict { margin-top: 14px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); font-size: 22px; font-weight: 600; text-align: center; }
.verdict small { display: block; margin-top: 2px; color: var(--text-3); font-size: 14px; font-weight: 400; }

/* ---------- gracze i klany ---------- */
.profile { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.profile .avatar { width: 92px; height: 92px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; background: var(--panel-3); border-radius: 999px; font-size: 13px; color: var(--text-2); }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); }
.group .table-wrap { margin-top: 12px; }
table.list { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.list th { padding: 11px 16px; color: var(--text-3); font-size: 13.5px; font-weight: 500; text-align: left; white-space: nowrap; }
.list td { padding: 11px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.list tbody tr { transition: background-color .12s; }
.list tbody tr:hover { background: var(--panel-2); }
.list td a { font-weight: 600; }
.list td a:hover { text-decoration: underline; }
.with-ic { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.clan-tabs { margin-bottom: 14px; }
.with-ic img { width: 20px; height: 20px; }
.clan-color { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--text-3); }
.tag-small { color: var(--text-3); margin-left: 6px; }

/* ---------- stopka ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1368px; margin: 0 auto; padding: 26px 24px; color: var(--text-3); font-size: 13.5px; }
.foot .brand { color: var(--text-2); font-size: 15px; font-weight: 600; }
.foot .brand img { width: 26px; height: 26px; }
.foot p { max-width: 74ch; text-align: right; }

/* ---------- ruch ---------- */
.hero-art:hover { --hs: 1.03; }
main > .page { animation: page-in .26s ease-out backwards; }
@keyframes page-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes art-in { from { opacity: 0; transform: scale(.975); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes fx-flow { to { transform: translate(-113.8cqmin, -79.8cqmin); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- mniejsze ekrany ---------- */
@media (max-width: 1240px) {
  .refresh { display: none; }
  .grid.six { grid-template-columns: repeat(4, 1fr); }
  .grid.six > :nth-child(n + 5) { display: none; }
}
@media (max-width: 1040px) {
  .top { gap: 12px; justify-content: space-between; }
  .menu { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 2px; padding: 10px 16px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-ind { display: none; }
  .nav a[aria-current="page"] { background: var(--panel-3); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .update-block { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .hero > :first-child { order: 2; }
  .item { grid-template-columns: 1fr; gap: 24px; }
  .stage { max-width: 480px; width: 100%; margin: 0 auto; }
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .top { padding: 0 16px; height: 60px; }
  .nav { top: 60px; }
  .page { padding: 24px 16px 56px; }
  .hero { padding: 16px 16px 0; }
  .hero p { font-size: 17px; }
  .page-head h1, .item h1, .profile h1, .article h1 { font-size: 30px; }
  .section { margin-top: 40px; }
  .two, .trade { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .ticker { margin-top: 20px; }
  .art .muts img { width: 22px; height: 22px; }
  .grid, .grid.six { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .grid.six > :nth-child(n + 5) { display: flex; }
  .tile-body { padding: 2px 10px 10px; }
  .tile-meta > :nth-child(2) { display: none; }
  .rap { font-size: 16px; }
  .cur { width: 19px; height: 19px; }
  .star { width: 25px; height: 25px; left: 6px; top: 6px; }
  .tool-row { flex-direction: column; }
  select.field { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 1px 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .price { font-size: 42px; }
  .price .cur { width: 42px; height: 42px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot p { text-align: left; }
  .cats { gap: 8px; }
  .cat { padding: 10px; gap: 8px; }
  .cat img { width: 36px; height: 36px; }
  .profile .avatar { width: 68px; height: 68px; }
  .change { align-items: flex-start; }
  .change-img { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
