/* ================= SKLEP POCHYBEL.PL ================= */
:root {
  --bg: #16191b; --bg2: #1a1d20; --card: #1f2326; --card2: #262b2f; --line: #30363a; --line2: #3d4448;
  --txt: #eef2ef; --muted: #a3ada8; --o: #12b84f; --a: #1ed760; --y: #7dffa8;
  --ok: #3fd27f; --err: #ff5a4f; --info: #4fb6ff;
  --grad: linear-gradient(90deg, #12b84f, #1ed760 60%, #7dffa8);
  --r: 16px; --sh: 0 10px 40px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 15px/1.55 Inter, Rubik, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--a); text-decoration: none; }
a:hover { color: var(--y); }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); padding: 40px 0 60px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 15px Rubik, sans-serif;
  color: #06120b; background: var(--grad); padding: 10px 18px; border-radius: 12px; box-shadow: 0 6px 20px rgba(18,184,79,.25); transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { color: #06120b; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(18,184,79,.4); filter: brightness(1.05); }
.btn.big { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--txt); border: 1px solid var(--line2); box-shadow: none; }
.btn.ghost:hover { color: var(--txt); border-color: var(--a); }
.btn.full { width: 100%; }
.btn.red { background: #3a1512; color: #ffb3ad; box-shadow: none; border: 1px solid #6b2620; }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 9px; }

/* pasek + nawigacja */
.topbar { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 8px 16px; background: linear-gradient(90deg, #0f2a19, #0b1f13, #0f2a19); color: var(--y); font-size: 13.5px; text-align: center; border-bottom: 1px solid #1a4a2b; }
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 12px max(16px, calc((100% - 1240px) / 2)); background: rgba(22,25,27,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--txt); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-weight: 900; letter-spacing: .5px; }
.brand small { color: var(--muted); font-size: 12px; }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; }
.nav nav a:hover { color: var(--txt); background: rgba(255,255,255,.05); }
.ip { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line2); color: var(--txt); border-radius: 12px; padding: 7px 12px; cursor: pointer; font: inherit; text-align: left; }
.ip:hover { border-color: var(--a); }
.ip span:not(.dot) { display: flex; flex-direction: column; line-height: 1.15; }
.ip small { color: var(--muted); font-size: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #777; box-shadow: 0 0 0 4px rgba(120,120,120,.15); }
.dot.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(63,210,127,.18); animation: pulse 2s infinite; }
.dot.off { background: var(--err); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(63,210,127,.05); } }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--txt); margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; background: #16191b url('../img/tlo.svg') center bottom / cover no-repeat; border-bottom: 1px solid var(--line); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; filter: grayscale(.55) brightness(.9); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,184,79,.18), rgba(4,40,18,.35)); mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,25,27,.9), rgba(22,25,27,.45) 50%, rgba(4,30,14,.15)), linear-gradient(180deg, transparent 60%, var(--bg)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; min-height: 460px; padding: 56px 0 70px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--y); background: rgba(0,0,0,.45); border: 1px solid rgba(30,215,96,.35); padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 500; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; margin: 18px 0 14px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero p { color: #dfe5e2; font-size: 17px; max-width: 560px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats div { background: rgba(10,6,4,.6); border: 1px solid var(--line2); border-radius: 14px; padding: 10px 18px; backdrop-filter: blur(6px); }
.hero-stats b { display: block; font-size: 24px; font-weight: 900; color: var(--y); }
.hero-stats small { color: var(--muted); }
.hero-art { position: relative; height: 380px; }
.hero-art img { position: absolute; width: 230px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
.hero-art .f1 { left: 26%; top: 0; width: 280px; }
.hero-art .f2 { left: 0; top: 160px; animation-delay: -2s; }
.hero-art .f3 { right: 0; top: 150px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-16px) rotate(2deg); } }

/* sklep */
.shop { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 34px 0 60px; scroll-margin-top: 80px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font: 500 14px Rubik, sans-serif; cursor: pointer; transition: .15s; }
.tab:hover { color: var(--txt); border-color: var(--line2); }
.tab.on { color: #06120b; background: var(--grad); border-color: transparent; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, var(--line)); box-shadow: 0 14px 40px color-mix(in srgb, var(--c) 18%, transparent); }
.card.feat { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.card.hide { display: none; }
.card-img { display: grid; place-items: center; aspect-ratio: 1.25; border-radius: 12px; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); margin-bottom: 12px; }
.card-img img { width: 70%; max-width: 170px; transition: transform .25s; }
.card:hover .card-img img { transform: scale(1.06) rotate(-2deg); }
.card h3 { font-size: 17px; margin-bottom: 4px; }
.card p { font-size: 13.5px; margin: 0 0 12px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price b { font-size: 20px; font-weight: 900; }
.price s { color: var(--muted); font-size: 13px; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--c); color: #140a04; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.timer { display: flex; gap: 6px; align-items: center; color: var(--y); font-size: 13px; margin-bottom: 10px; }

/* konto i portfel */
.acc-chip { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 6px 12px 6px 6px; color: var(--txt); }
.acc-chip:hover { color: var(--txt); border-color: var(--a); }
.acc-chip img { border-radius: 8px; image-rendering: pixelated; }
.acc-chip span { display: flex; flex-direction: column; line-height: 1.15; }
.acc-chip small { color: var(--y); font-weight: 600; display: flex; gap: 4px; align-items: center; }
.acc-chip small .ico { width: 14px; height: 14px; }
.acc-btns { display: flex; gap: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.auth { max-width: 480px; margin: 0 auto; }
.auth-alt { margin-top: 16px; text-align: center; color: var(--muted); }
.need-acc { background: var(--card); border: 1px solid var(--line2); border-radius: 14px; padding: 18px; }
.need-acc h3 { display: flex; gap: 8px; align-items: center; }
.need-acc .hero-cta { margin: 14px 0 0; }
.wallet-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.wallet-sum div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; }
.wallet-sum small { color: var(--muted); }
.wallet-sum b { font-size: 18px; }
.wallet-sum b.low { color: var(--err); }
.buy-grid .wide2 { grid-column: 1 / -1; }
.acc { padding: 34px 0 60px; }
.acc-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.acc-head h1 { margin: 0; font-size: 28px; }
.acc-head p { margin: 4px 0 0; }
.acc-av { border-radius: 14px; image-rendering: pixelated; background: var(--card); }
.wallet-card { margin-left: auto; display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, rgba(18,184,79,.18), rgba(30,215,96,.08)); border: 1px solid rgba(18,184,79,.45); border-radius: 16px; padding: 14px 18px; }
.wallet-card small { color: var(--muted); display: block; }
.wallet-card b { font-size: 26px; font-weight: 900; color: var(--y); margin-right: 6px; }
.acc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.acc-tabs a { color: var(--muted); padding: 9px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.acc-tabs a.on { color: #06120b; background: var(--grad); border-color: transparent; }
.claim { display: flex; gap: 8px; align-items: center; width: auto; }
td.plus b { color: var(--ok); } td.minus b { color: var(--err); }
.txt { color: var(--txt); }
.amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.amount { flex-direction: row; cursor: pointer; }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount span { flex: 1; display: flex; flex-direction: column; align-items: center; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 8px; color: var(--txt); transition: .15s; }
.amount b { font-size: 20px; font-weight: 900; }
.amount small { color: var(--ok); font-size: 12px; }
.amount:has(input:checked) span { border-color: var(--o); background: rgba(18,184,79,.1); box-shadow: 0 0 0 3px rgba(18,184,79,.15); }
.bonus-info { display: flex; gap: 8px; align-items: center; color: var(--y); background: rgba(125,255,168,.06); border: 1px solid rgba(125,255,168,.25); border-radius: 10px; padding: 9px 12px; font-size: 14px; }

/* galeria filmow */
.gallery { padding: 10px 0 60px; }
.gal-head { text-align: center; margin-bottom: 20px; }
.gal-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-item { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: pointer; background: #000; }
.gal-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gal-item:hover video { transform: scale(1.05); }
.gal-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.85)); }
.gal-item .play { position: absolute; z-index: 1; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(18,184,79,.5); transition: transform .2s; }
.gal-item .play svg { width: 26px; fill: #06120b; margin-left: 3px; }
.gal-item:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.gal-cap { position: absolute; z-index: 1; left: 16px; bottom: 12px; display: flex; flex-direction: column; text-align: left; color: #fff; }
.gal-cap b { font-size: 17px; } .gal-cap small { color: #cfd6d2; }
.film { width: min(1100px, 100% - 24px); background: #000; }
.film video { display: block; width: 100%; max-height: 80vh; background: #000; }
.film .x { z-index: 2; color: #fff; text-shadow: 0 2px 8px #000; }

/* boczny panel */
.side { display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.box h4 { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.bar { height: 12px; background: #0b0705; border: 1px solid var(--line2); border-radius: 99px; overflow: hidden; margin: 12px 0 8px; }
.bar span { display: block; height: 100%; background: var(--grad); border-radius: 99px; box-shadow: 0 0 18px rgba(18,184,79,.6); transition: width 1s; }
.goal-n { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.goal-n b { color: var(--y); }
.topbuyer { display: flex; gap: 12px; align-items: center; }
.topbuyer img { border-radius: 10px; image-rendering: pixelated; }
.topbuyer div { display: flex; flex-direction: column; }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.recent li:first-child { border-top: 0; }
.recent img { border-radius: 6px; image-rendering: pixelated; }
.recent div { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.recent span { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.how { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
.how li { margin: 4px 0; }

/* okno zakupu */
.modal { width: min(640px, 100% - 24px); max-height: calc(100vh - 24px); border: 1px solid var(--line2); border-radius: 20px; padding: 0; background: var(--bg2); color: var(--txt); box-shadow: var(--sh); }
.modal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.buy-form { padding: 24px; position: relative; }
.x { position: absolute; right: 14px; top: 10px; background: none; border: 0; color: var(--muted); font-size: 30px; cursor: pointer; line-height: 1; }
.x:hover { color: var(--txt); }
.buy-top { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.buy-top img { width: 110px; height: 110px; border-radius: 14px; background: var(--card); flex: none; }
.buy-top h2 { font-size: 22px; padding-right: 30px; }
.desc { color: var(--muted); font-size: 14px; }
.desc ul { margin: 6px 0; padding-left: 18px; }
.desc p { margin: 0 0 6px; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); position: relative; }
label small { color: #7d8783; }
input, select, textarea { width: 100%; background: #16191b; border: 1px solid var(--line2); border-radius: 10px; color: var(--txt); padding: 11px 12px; font: 15px Rubik, sans-serif; outline: none; transition: border-color .15s; }
textarea { min-height: 110px; resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; }
input:focus, select:focus, textarea:focus { border-color: var(--a); }
input:invalid:not(:placeholder-shown) { border-color: #7a2c26; }
.nick-head { position: absolute; right: 8px; top: 33px; width: 30px; height: 30px; border-radius: 6px; image-rendering: pixelated; }
.nick-head[src=""] { display: none; }
.qty, .code { display: flex; gap: 6px; }
.qty button, .code button { background: var(--card2); color: var(--txt); border: 1px solid var(--line2); border-radius: 10px; padding: 0 14px; cursor: pointer; font: 600 15px Rubik, sans-serif; }
.qty input { text-align: center; }
.note { background: rgba(79,182,255,.08); border: 1px solid rgba(79,182,255,.25); color: #bfe2ff; border-radius: 10px; padding: 9px 12px; font-size: 13.5px; }
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 14px 0; }
.method { flex-direction: row; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; cursor: pointer; color: var(--txt); }
.method input { width: auto; accent-color: var(--o); }
.method span { display: flex; flex-direction: column; line-height: 1.25; }
.method small { color: var(--muted); font-size: 12px; }
.method:has(input:checked) { border-color: var(--o); background: rgba(18,184,79,.08); }
.check { flex-direction: row; align-items: center; gap: 8px; color: var(--txt); margin: 6px 0 16px; }
.check input { width: auto; accent-color: var(--o); }
.buy-sum { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.buy-sum div { display: flex; flex-direction: column; line-height: 1.15; }
.buy-sum b { font-size: 28px; font-weight: 900; }
.buy-sum s { color: var(--muted); font-size: 13px; }

/* strony pomocnicze */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.panel h1 { display: flex; gap: 10px; align-items: center; font-size: 24px; }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.flash { margin: 14px auto; width: min(1240px, 100% - 32px); padding: 12px 16px; border-radius: 12px; border: 1px solid; }
.panel .flash, .modal .flash, main .flash { width: auto; }
.flash.ok { background: rgba(63,210,127,.08); border-color: rgba(63,210,127,.35); color: #b7f5d2; }
.flash.err { background: rgba(255,90,79,.08); border-color: rgba(255,90,79,.35); color: #ffc6c1; }
.flash.info { background: rgba(79,182,255,.08); border-color: rgba(79,182,255,.3); color: #cfe9ff; }
.order-head { display: flex; gap: 16px; align-items: center; }
.order-head img { border-radius: 14px; background: var(--card2); }
.steps { display: flex; gap: 8px; margin: 22px 0 14px; }
.step { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); font-size: 13px; }
.step.on { color: var(--txt); border-color: rgba(18,184,79,.5); }
.step.on span { background: var(--grad); color: #06120b; }
.status-box { padding: 14px 16px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line2); }
.status-box p { margin: 4px 0 0; color: var(--muted); }
.status-box.st-delivered { border-color: rgba(63,210,127,.4); }
.status-box.st-failed, .status-box.st-canceled { border-color: rgba(255,90,79,.4); }
.kv { width: 100%; border-collapse: collapse; margin: 16px 0; }
.kv td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv td:first-child { color: var(--muted); width: 40%; }
.head { vertical-align: middle; border-radius: 4px; image-rendering: pixelated; }
.rules p { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.faq { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { color: var(--muted); margin: 8px 0 0; }

.foot { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: space-between; padding: 26px max(16px, calc((100% - 1240px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot div:first-child { display: flex; align-items: center; gap: 8px; color: var(--txt); }
.foot-links { display: flex; gap: 16px; }
.foot-links a { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--card2); border: 1px solid var(--a); color: var(--txt); padding: 10px 18px; border-radius: 12px; transition: .25s; z-index: 99; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ================= PANEL ADMINA ================= */
.adm { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.adm-side { background: var(--bg2); border-right: 1px solid var(--line); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.adm-side .brand { padding: 4px 8px 18px; }
.adm-side a.l { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 9px 12px; border-radius: 10px; margin: 2px 0; font-weight: 500; }
.adm-side a.l:hover { background: rgba(255,255,255,.04); color: var(--txt); }
.adm-side a.l.on { background: rgba(18,184,79,.12); color: var(--y); }
.adm-side .sep { color: #6f7a76; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 14px 12px 4px; }
.adm-main { padding: 26px 30px 60px; min-width: 0; }
.adm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.adm-top h1 { font-size: 24px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stat small { color: var(--muted); }
.stat b { display: block; font-size: 26px; font-weight: 900; margin-top: 4px; }
.card2 { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.card2 h3 { font-size: 16px; }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; padding: 8px 10px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: rgba(255,255,255,.02); }
.tbl img.th { width: 40px; height: 40px; border-radius: 8px; background: var(--card2); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--line); color: var(--txt); white-space: nowrap; }
.pill.paid { background: rgba(30,215,96,.15); color: var(--a); }
.pill.delivered, .pill.done, .pill.on { background: rgba(63,210,127,.14); color: var(--ok); }
.pill.failed, .pill.canceled, .pill.off { background: rgba(255,90,79,.14); color: var(--err); }
.pill.pending, .pill.new { background: rgba(79,182,255,.12); color: var(--info); }
.frm { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.frm .wide { grid-column: 1 / -1; }
.frm .hint { color: #7d8783; font-size: 12.5px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline { display: inline; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filters input, .filters select { width: auto; padding: 8px 10px; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 10px; }
.chart div { flex: 1; background: var(--grad); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; opacity: .9; }
.chart div:hover { opacity: 1; }
.chart div span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; display: none; }
.chart div:hover span { display: block; }
.chart-x { display: flex; justify-content: space-between; color: var(--muted); font-size: 11.5px; margin-top: 6px; }
code, .mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: #16191b; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.adm-login { display: grid; place-items: center; min-height: 100vh; background: #16191b url('../img/tlo.svg') center / cover; padding: 16px; }
.login-box { width: min(400px, 100%); background: rgba(31,35,38,.92); backdrop-filter: blur(8px); border: 1px solid var(--line2); border-radius: 20px; padding: 30px; box-shadow: var(--sh); }
.login-box form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.login-box .ok { color: var(--ok); } .login-box .err { color: var(--err); }
.switch { flex-direction: row; align-items: center; gap: 10px; color: var(--txt); }
.switch input { width: auto; accent-color: var(--o); transform: scale(1.2); }
.gw-card { border: 1px solid var(--line2); border-radius: 14px; padding: 16px; margin-bottom: 14px; background: var(--bg2); }
.gw-card.on { border-color: rgba(63,210,127,.45); }
.gw-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }

@media (max-width: 1000px) {
  .shop { grid-template-columns: 1fr; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { display: none; }
  .gal-grid { grid-template-columns: 1fr; }
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; display: flex; flex-wrap: wrap; gap: 4px; }
  .adm-side .sep { display: none; }
  .adm-main { padding: 18px 16px 50px; }
}
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav { flex-wrap: wrap; gap: 10px; }
  .nav nav { display: none; width: 100%; flex-direction: column; order: 3; }
  .menu-open .nav nav { display: flex; }
  .nav .ip { order: 2; width: 100%; }
  .acc-chip, .acc-btns { order: 1; }
  .wallet-card { margin-left: 0; width: 100%; justify-content: space-between; }
  .wallet-sum { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr; }
  .buy-top img { width: 80px; height: 80px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card { padding: 12px; }
  .steps { flex-direction: column; }
  .panel { padding: 20px; }
}
