/* BetterMSP Admin Panel */
:root {
  --bg: #f6f5fa;
  --surface: #ffffff;
  --surface-2: #faf9fd;
  --line: #ebe8f2;
  --line-strong: #dcd7e8;
  --text: #1d1a2b;
  --muted: #6e6882;
  --soft: #9a94ad;
  --pink: #e23d8f;
  --pink-soft: #fde8f3;
  --violet: #7a4cf0;
  --violet-soft: #efe9fe;
  --teal: #13a3a0;
  --teal-soft: #e2f6f5;
  --gold: #e8a317;
  --gold-soft: #fff4dc;
  --green: #1f9d55;
  --green-soft: #e4f6ec;
  --red: #dc3545;
  --red-soft: #fde9eb;
  --blue: #2f6fe4;
  --blue-soft: #e7effd;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(29, 26, 43, .05), 0 8px 24px -10px rgba(29, 26, 43, .12);
  --shadow-lift: 0 2px 4px rgba(29, 26, 43, .05), 0 18px 36px -14px rgba(29, 26, 43, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --topbar: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--violet); }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(122, 76, 240, .35); outline-offset: 2px; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { width: 56px; animation: pulse 1.2s var(--ease) infinite; }
@keyframes pulse { 50% { transform: scale(.86); opacity: .6; } }

/* ---------- Przyciski i pola ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 10px 16px; font-weight: 650; line-height: 1.2;
  background: var(--text); color: #fff; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, opacity .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(29, 26, 43, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn img { width: 20px; height: 20px; object-fit: contain; }
.btn.pink { background: var(--pink); }
.btn.violet { background: var(--violet); }
.btn.red { background: var(--red); }
.btn.green { background: var(--green); }
.btn.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--line-strong), 0 8px 18px -12px rgba(29, 26, 43, .4); }
.btn.soft { background: var(--violet-soft); color: var(--violet); }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn.loading { position: relative; color: transparent !important; }
.btn.loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn.ghost.loading::after { border-color: rgba(29, 26, 43, .2); border-top-color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent;
  display: inline-grid; place-items: center; transition: background .18s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn img { width: 26px; height: 26px; object-fit: contain; }

.field { display: grid; gap: 6px; align-content: start; }
.field > span { font-size: 13px; font-weight: 650; color: var(--muted); }
.field small { color: var(--soft); font-size: 12px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
  padding: 10px 13px; transition: border-color .18s, box-shadow .18s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(122, 76, 240, .12); }
.textarea { min-height: 96px; resize: vertical; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1 1 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.prize-grid { display: grid; grid-template-columns: minmax(90px, auto) repeat(3, minmax(0, 1fr)); gap: 8px 12px; align-items: center; }
.prize-grid input { width: 100%; }

.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-weight: 600; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i {
  width: 42px; height: 24px; border-radius: 99px; background: var(--line-strong); position: relative;
  transition: background .2s var(--ease); flex: none;
}
.switch i::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .22s var(--ease);
}
.switch input:checked + i { background: var(--pink); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid rgba(122, 76, 240, .35); outline-offset: 2px; }

.segmented { display: inline-flex; background: var(--surface); border-radius: 14px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.segmented button {
  border: 0; background: transparent; padding: 8px 18px; border-radius: 10px; font-weight: 650; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; transition: color .2s;
}
.segmented button img { width: 20px; height: 20px; object-fit: contain; }
.segmented button.active { color: var(--text); }
.segmented .glider {
  position: absolute; top: 4px; bottom: 4px; border-radius: 10px; background: var(--violet-soft);
  transition: left .28s var(--ease), width .28s var(--ease);
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px;
  font-size: 12.5px; font-weight: 650; background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
}
.chip img { width: 18px; height: 18px; object-fit: contain; }
.chip.pink { background: var(--pink-soft); color: var(--pink); box-shadow: none; }
.chip.violet { background: var(--violet-soft); color: var(--violet); box-shadow: none; }
.chip.gold { background: var(--gold-soft); color: #9a6a06; box-shadow: none; }
.chip.green { background: var(--green-soft); color: var(--green); box-shadow: none; }
.chip.red { background: var(--red-soft); color: var(--red); box-shadow: none; }
.chip.teal { background: var(--teal-soft); color: var(--teal); box-shadow: none; }
.chip.blue { background: var(--blue-soft); color: var(--blue); box-shadow: none; }

/* ---------- Logowanie ---------- */
.login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #fff 0%, var(--bg) 60%);
}
.login .floaters img {
  position: absolute; width: var(--s, 56px); opacity: .9; filter: drop-shadow(0 10px 14px rgba(29, 26, 43, .12));
  animation: float var(--d, 9s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) * -1)); } }
.login-card {
  width: min(400px, 100%); background: var(--surface); border-radius: 22px; padding: 34px 30px 28px;
  box-shadow: var(--shadow-lift); position: relative; z-index: 1; animation: rise .6s var(--ease) both;
}
.login-card.shake { animation: shake .42s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand b { display: block; font-size: 20px; letter-spacing: -.02em; }
.brand b em { font-style: normal; color: var(--pink); }
.brand span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.login-card form { display: grid; gap: 14px; margin-top: 26px; }
.login-card .hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.input-icon { position: relative; }
.input-icon img { position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; object-fit: contain; transform: translateY(-50%); }
.input-icon .input { padding-left: 44px; }
.form-error {
  display: flex; gap: 10px; align-items: center; background: var(--red-soft); color: #9f1d2b; border-radius: 12px;
  padding: 10px 12px; font-size: 13.5px; font-weight: 600; animation: rise .3s var(--ease) both;
}
.form-error img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- Pasek górny i boczny ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--topbar); display: flex; align-items: center; gap: 14px;
  padding: 0 18px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(29, 26, 43, .35); }
.burger { width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; position: relative; flex: none; }
.burger:hover { background: var(--surface-2); }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--text);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.topbar .title { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; font-size: 17px; }
.topbar .title img { width: 30px; height: 30px; object-fit: contain; }
.topbar .title em { font-style: normal; color: var(--pink); }
.search { position: relative; flex: 1 1 420px; max-width: 520px; margin: 0 auto; }
.search > img { position: absolute; left: 12px; top: 50%; width: 22px; transform: translateY(-50%); pointer-events: none; }
.search .input { padding-left: 44px; border-radius: 14px; background: var(--surface-2); border-color: var(--line); }
.search .input:focus { background: var(--surface); }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border-radius: 16px;
  box-shadow: var(--shadow-lift); padding: 6px; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease); max-height: 70vh; overflow: auto;
}
.search-results.open { opacity: 1; transform: none; pointer-events: auto; }
.search-results .empty { padding: 16px; color: var(--muted); font-size: 14px; text-align: center; }
.result {
  display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; padding: 8px 10px;
  border-radius: 12px; text-align: left; transition: background .15s;
}
.result:hover, .result.active { background: var(--surface-2); }
.result b { display: block; font-size: 14.5px; }
.result small { color: var(--muted); font-size: 12.5px; }
.me { display: flex; align-items: center; gap: 10px; flex: none; }
.me .who { text-align: right; line-height: 1.2; }
.me .who b { display: block; font-size: 14px; }
.me .who small { color: var(--muted); font-size: 12px; }

.avatar {
  --size: 40px; display: block; width: var(--size); height: var(--size); border-radius: 50%; flex: none; position: relative;
  background: linear-gradient(160deg, #fdf0f7, #efe9fe); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(29, 26, 43, .06);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.avatar.online::after {
  content: ""; position: absolute; right: 1px; bottom: 1px; width: 28%; height: 28%; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 2px #fff;
}
.avatar-wrap { position: relative; flex: none; display: inline-block; vertical-align: middle; }
a.stat .go { color: var(--soft); font-weight: 800; font-size: 18px; transition: transform .2s var(--ease), color .2s; }
a.stat:hover .go { transform: translateX(4px); color: var(--pink); }
.avatar-wrap .dot { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2.5px #fff; }

.scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(24, 20, 36, .32); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.scrim.open { opacity: 1; pointer-events: auto; }
.sidebar {
  position: fixed; z-index: 41; top: 0; bottom: 0; left: 0; width: 290px; background: var(--surface);
  box-shadow: 18px 0 40px -24px rgba(29, 26, 43, .45); transform: translateX(-104%);
  transition: transform .38s var(--ease); display: flex; flex-direction: column; padding: 16px 14px;
}
.sidebar.open { transform: none; }
.sidebar .brand { padding: 4px 8px 18px; }
.nav { display: grid; gap: 4px; }
.sidebar .nav { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; align-content: start; padding-right: 4px; }
.sidebar .brand, .sidebar .foot { flex-shrink: 0; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 13px; text-decoration: none;
  color: var(--text); font-weight: 650; opacity: 0; transform: translateX(-14px);
  transition: background .18s, color .18s, opacity .35s var(--ease), transform .35s var(--ease);
}
.sidebar.open .nav a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 40ms + 80ms), calc(var(--i) * 40ms + 80ms), calc(var(--i) * 40ms + 80ms), calc(var(--i) * 40ms + 80ms); }
.nav a img { width: 30px; height: 30px; object-fit: contain; transition: transform .25s var(--ease); }
.nav a:hover { background: var(--surface-2); }
.nav a:hover img { transform: scale(1.12) rotate(-4deg); }
.nav a.active { background: var(--pink-soft); color: var(--pink); }
.sidebar .foot { margin-top: auto; padding: 12px 10px 2px; color: var(--soft); font-size: 12px; }

/* ---------- Strona ---------- */
.page { max-width: 1280px; margin: 0 auto; padding: 26px 22px 60px; }
.page-enter { animation: pageIn .42s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 27px; font-weight: 780; display: flex; align-items: center; gap: 12px; }
.page-head h1 img { width: 38px; height: 38px; object-fit: contain; }
.page-head p { margin: 5px 0 0; color: var(--muted); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card h2 { font-size: 17px; font-weight: 750; display: flex; align-items: center; gap: 10px; }
.card h2 img { width: 26px; height: 26px; object-fit: contain; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }

.dash { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.stat {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 16px 14px;
  display: grid; gap: 10px; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.stat .top { display: flex; align-items: center; justify-content: space-between; }
.stat .badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint, var(--violet-soft)); }
.stat .badge img { width: 32px; height: 32px; object-fit: contain; }
.stat b { font-size: 26px; font-weight: 780; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.stat small { color: var(--soft); font-size: 12px; }
.hero {
  display: flex; align-items: center; gap: 18px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow);
  padding: 20px 22px; margin-bottom: 18px; overflow: hidden; position: relative;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 61, 143, .12), transparent 65%);
}
.hero h1 { font-size: 24px; font-weight: 780; }
.hero p { margin: 4px 0 0; color: var(--muted); }
.hero .emoji { width: 58px; height: 58px; object-fit: contain; animation: wave 2.4s var(--ease) infinite; transform-origin: 70% 80%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-10deg); } 20%, 40% { transform: rotate(8deg); } }
.newest { display: grid; gap: 4px; }
.newest button {
  display: flex; align-items: center; gap: 12px; border: 0; background: transparent; padding: 8px; border-radius: 13px; text-align: left;
  transition: background .15s, transform .2s var(--ease); animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms);
}
.newest button:hover { background: var(--surface-2); transform: translateX(3px); }
.newest b { display: block; font-size: 14.5px; }
.newest small { color: var(--muted); font-size: 12.5px; }
.feed { display: grid; gap: 10px; }
.feed-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.feed-item img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.feed-item small { color: var(--soft); display: block; }
.highlight { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.highlight img.icon { width: 32px; height: 32px; object-fit: contain; }
.highlight b { display: block; }
.highlight small { color: var(--muted); }

/* ---------- Siatki kafelków ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .shop-tabs { max-width:100%; overflow-x:auto; flex-shrink:1; }
.toolbar .input, .toolbar .select { width: auto; min-width: 160px; }
.toolbar .input.q { flex: 1 1 220px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.tile {
  border: 0; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 10px 10px 12px;
  text-align: left; display: grid; gap: 8px; position: relative; animation: rise .45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tile .pic {
  aspect-ratio: 1 / 1; border-radius: 13px; overflow: hidden; display: grid; place-items: center; position: relative;
  background: linear-gradient(165deg, #fdf3f9 0%, #f1ecfe 100%);
}
.tile .pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.tile .pic img.cover { object-fit: cover; object-position: 50% 10%; }
.tile:hover .pic img { transform: scale(1.05); }
.tile .name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tile .level { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #9a6a06; }
.tile .level img { width: 18px; height: 18px; }
.tile .corner { position: absolute; top: 16px; right: 16px; display: flex; gap: 4px; }
.tile .corner img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18)); }
.tile .ribbon {
  position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 3px 8px;
  border-radius: 99px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.tile.muted-out .pic img { filter: grayscale(.6) opacity(.7); }
.tile .price { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; }
.tile .price img { width: 18px; height: 18px; object-fit: contain; }
.ruffle-box { width: 100%; height: 100%; }
.ruffle-box > * { width: 100% !important; height: 100% !important; }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; border: 0; border-radius: 11px; background: var(--surface); box-shadow: var(--shadow);
  font-weight: 700; color: var(--muted); padding: 0 10px; transition: transform .18s var(--ease), background .18s, color .18s;
}
.pager button:hover { transform: translateY(-2px); color: var(--text); }
.pager button.active { background: var(--text); color: #fff; }
.pager button[disabled] { opacity: .4; pointer-events: none; }
.pager .gap { color: var(--soft); padding: 0 4px; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state img { width: 76px; margin-bottom: 10px; animation: float 5s ease-in-out infinite; }
.empty-state b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

.skeleton { background: linear-gradient(90deg, #f0eef6 0%, #f8f7fb 50%, #f0eef6 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-tile { height: 236px; border-radius: 18px; }

/* ---------- Okna ---------- */
.modal-layer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal-layer .backdrop { position: absolute; inset: 0; background: rgba(24, 20, 36, .38); backdrop-filter: blur(3px); animation: fade .25s var(--ease) both; }
.modal {
  position: relative; width: min(var(--w, 560px), 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--surface);
  border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(24, 20, 36, .45); animation: pop .34s var(--ease) both;
}
.modal-layer.closing .backdrop { animation: fade .2s var(--ease) reverse both; }
.modal-layer.closing .modal { animation: pop .2s var(--ease) reverse both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; }
.modal-head h2 { font-size: 19px; font-weight: 760; flex: 1; display: flex; align-items: center; gap: 10px; }
.modal-head h2 img { width: 30px; height: 30px; object-fit: contain; }
.modal-head .icon-btn img { width: 26px; height: 26px; }
.modal-body { padding: 18px 20px 20px; display: grid; gap: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 20px 20px; flex-wrap: wrap; }

.profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 560px; }
.profile .side {
  background: linear-gradient(170deg, #fdf1f8 0%, #f0eafe 100%); padding: 20px; display: flex; flex-direction: column; gap: 12px;
  border-radius: 22px 0 0 22px; position: relative;
}
.profile .stage {
  flex: 1; min-height: 380px; border-radius: 18px; display: grid; place-items: end center; overflow: hidden; position: relative;
  background: radial-gradient(260px 90px at 50% 92%, rgba(29, 26, 43, .10), transparent 70%);
}
.profile .stage img.photo { max-height: 420px; width: auto; object-fit: contain; animation: rise .5s var(--ease) both; }
.profile .stage .ruffle-box { position: absolute; inset: 0; }
.profile .side .name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.profile .side .name img { width: 30px; height: 30px; object-fit: contain; }
.profile .main { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); position: relative; padding-right: 44px; }
.tabs button {
  border: 0; background: transparent; padding: 10px 12px 12px; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; transition: color .2s;
}
.tabs button img { width: 22px; height: 22px; object-fit: contain; }
.tabs button.active { color: var(--text); }
.tabs .ink { position: absolute; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--pink); transition: left .3s var(--ease), width .3s var(--ease); }
.tabs .close { position: absolute; right: 0; top: 0; }
.tab-panel { animation: pageIn .3s var(--ease) both; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.fact img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.fact span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.fact b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fact.wide { grid-column: 1 / -1; }
.fact.wide b { white-space: normal; }
.fact.alert { background: var(--red-soft); box-shadow: none; }
.fact.alert b { color: #9f1d2b; }
.fact.warn { background: var(--gold-soft); box-shadow: none; }
.section-title { font-size: 13px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 4px 0 -4px; }
.actions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.action {
  display: flex; align-items: center; gap: 12px; border: 0; background: var(--surface); padding: 14px; border-radius: 16px;
  text-align: left; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.action:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }
.action img { width: 38px; height: 38px; object-fit: contain; flex: none; transition: transform .25s var(--ease); }
.action:hover img { transform: scale(1.08) rotate(-5deg); }
.action b { display: block; font-size: 14.5px; }
.action small { color: var(--muted); font-size: 12.5px; }
.action.danger:hover { background: #fffafa; }
.history { display: grid; gap: 8px; max-height: 240px; overflow: auto; padding-right: 4px; }
.history .item { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.history .item img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.history .item small { display: block; color: var(--soft); }

.durations { display: flex; gap: 8px; flex-wrap: wrap; }
.durations button {
  border: 0; padding: 8px 13px; border-radius: 11px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 650; transition: background .18s, color .18s, transform .18s var(--ease);
}
.durations button:hover { transform: translateY(-1px); }
.durations button.active { background: var(--text); color: #fff; box-shadow: none; }
.secret {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px;
  background: var(--violet-soft); font: 700 24px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; color: var(--violet);
  animation: pop .4s var(--ease) both;
}
.note { font-size: 13.5px; color: var(--muted); background: var(--surface-2); padding: 11px 13px; border-radius: 12px; display: flex; gap: 10px; align-items: flex-start; }
.note img { width: 22px; height: 22px; object-fit: contain; flex: none; }

/* Sklep i newsy */
.editor { display: grid; grid-template-columns: 320px minmax(0, 1fr); }
.editor .preview {
  background: linear-gradient(170deg, #fdf1f8 0%, #f0eafe 100%); border-radius: 22px 0 0 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.editor .preview .stage { flex: 1; min-height: 360px; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center; }
.editor .preview .stage img { max-width: 80%; max-height: 300px; object-fit: contain; }
.editor .form { padding: 20px 22px 22px; display: grid; gap: 14px; align-content: start; }
.money-field { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.currency { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.currency button { border: 0; background: transparent; border-radius: 9px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--muted); }
.currency button img { width: 20px; height: 20px; object-fit: contain; }
.currency button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.gender { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gender button {
  border: 0; border-radius: 13px; padding: 10px 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700; color: var(--muted); display: grid; justify-items: center; gap: 4px; transition: all .2s var(--ease);
}
.gender button span { font-size: 20px; line-height: 1; }
.gender button.active { background: var(--pink-soft); color: var(--pink); box-shadow: inset 0 0 0 2px var(--pink); }
.dropzone {
  border: 2px dashed var(--line-strong); border-radius: 18px; padding: 30px 20px; text-align: center; color: var(--muted);
  transition: border-color .2s, background .2s, transform .2s var(--ease); cursor: pointer; position: relative; overflow: hidden;
}
.dropzone:hover, .dropzone.over { border-color: var(--pink); background: #fff7fb; transform: scale(1.01); }
.dropzone img.icon { width: 56px; margin-bottom: 6px; }
.dropzone b { display: block; color: var(--text); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .preview-img { max-height: 220px; border-radius: 12px; margin: 0 auto 10px; display: block; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.news-card {
  border: 0; padding: 0; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; text-align: left;
  animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.news-card .img { aspect-ratio: 16 / 9; background: #f1eef7; overflow: hidden; }
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-card:hover .img img { transform: scale(1.04); }
.news-card .info { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.news-card.off .img img { filter: grayscale(1) opacity(.55); }
.news-card .img .missing { height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); padding: 10px; text-align: center; }
.news-card .img .missing img { width: 52px; height: 52px; object-fit: contain; opacity: .7; }

/* Kody */
.code-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px auto; gap: 14px; align-items: center; padding: 12px 14px;
  border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); animation: rise .35s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 25ms);
}
.code-row code { font: 700 15px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; }
.code-row small { color: var(--muted); display: block; }
.code-list { display: grid; gap: 8px; }
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.preset {
  border: 0; text-align: left; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 16px;
  display: grid; gap: 10px; animation: rise .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), outline-color .2s;
  outline: 2px solid transparent; outline-offset: -2px;
}
.preset:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.preset.selected { outline-color: var(--pink); }
.preset h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.preset h3 img { width: 26px; height: 26px; object-fit: contain; }
.preset .gives { display: flex; flex-wrap: wrap; gap: 6px; }

/* Powiadomienia */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); }
.toast {
  display: flex; gap: 12px; align-items: center; background: var(--text); color: #fff; padding: 12px 14px; border-radius: 14px;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); animation: toastIn .35s var(--ease) both; font-weight: 600; font-size: 14px;
}
.toast img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.toast.error { background: #b4232f; }
.toast.out { animation: toastOut .3s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* Uzupełnienia dla widoków */
[hidden] { display: none !important; }
.modal:focus { outline: none; }
.skeleton-stat { height: 132px; border-radius: 16px; }
.skeleton-line { height: 58px; border-radius: 14px; }
button.chip { border: 0; cursor: pointer; transition: background .18s, color .18s, transform .18s var(--ease); }
button.chip:hover { background: var(--violet-soft); color: var(--violet); transform: translateY(-1px); }
button.highlight, a.highlight { cursor: pointer; transition: transform .2s var(--ease), background .2s; }
button.highlight:hover, a.highlight:hover { transform: translateX(3px); background: var(--violet-soft); }
.icon-btn[disabled] { opacity: .3; pointer-events: none; }
.tile .ruffle-box { pointer-events: none; }
.dropzone.busy { pointer-events: none; border-style: solid; border-color: var(--violet); background: #faf8ff; }
.spinner {
  width: 28px; height: 28px; margin: 12px auto 0; border-radius: 50%;
  border: 3px solid var(--violet-soft); border-top-color: var(--violet); animation: spin .8s linear infinite;
}
.dance { animation: dance 1.8s var(--ease) infinite; transform-origin: 50% 90%; }
@keyframes dance { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) translateY(-5px); } 75% { transform: rotate(8deg) translateY(-5px); } }
.history-row {
  display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 10px; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); animation: rise .3s var(--ease) both;
}
.history-row .icon-btn { width: 32px; height: 32px; border-radius: 9px; font-weight: 800; color: var(--muted); }
.pixi-now { display: flex; align-items: center; gap: 20px; }
.pixi-bubble {
  position: relative; background: var(--violet-soft); color: #3b2586; padding: 12px 16px; border-radius: 18px 18px 18px 4px;
  font-weight: 600; overflow-wrap: anywhere; animation: pop .4s var(--ease) both;
}

.count { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

@media (max-width: 1080px) {
  .dash { grid-template-columns: 1fr; }
  .profile, .editor { grid-template-columns: 1fr; }
  .profile .side, .editor .preview { border-radius: 22px 22px 0 0; }
  .profile .stage { min-height: 300px; }
}
@media (max-width: 760px) {
  .topbar .title span.full, .me .who { display: none; }
  .search { flex-basis: 160px; }
  .page { padding: 18px 14px 50px; }
  .grid-2, .grid-3, .facts, .actions-grid { grid-template-columns: 1fr; }
  .code-row { grid-template-columns: 1fr; gap: 6px; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- ID Discord ---------- */
.btn.discord { background: #5865f2; }
.discord-list { display: grid; gap: 8px; }
.discord-row {
  display: grid; grid-template-columns: 46px minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  animation: rise .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms);
}
.discord-row.compact { grid-template-columns: 46px minmax(0, 1fr) auto auto; box-shadow: none; background: var(--surface-2); }
.discord-row .face { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #eef0fe; }
.discord-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discord-row small { display: block; color: var(--muted); font-size: 12.5px; }
.discord-row code, .uri code { font: 600 13px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.setup-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.setup-steps li::marker { font-weight: 800; color: var(--violet); }
.uri {
  display: flex; gap: 8px; align-items: center; background: var(--surface-2); border-radius: 12px;
  padding: 8px 8px 8px 12px; box-shadow: inset 0 0 0 1px var(--line);
}
.uri code { flex: 1; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .discord-row, .discord-row.compact { grid-template-columns: 46px minmax(0, 1fr); }
  .discord-row > :nth-child(n+3) { grid-column: 2 / -1; }
}

/* ---------- Ustawienia Gry: przerwa techniczna ---------- */
.maint-card { border-left: 6px solid var(--line-strong); transition: border-color .3s; }
.maint-card.on { border-left-color: var(--red); }
.events-live.maint-live { background: var(--red-soft); color: #9f1d2b; }
.bypass-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 14px; align-items: start; }
/* Ochrona przed podsłuchem: lista zdarzeń i zablokowanych adresów. */
.sec-card { border-left: 6px solid var(--violet); }
.sec-card h3 { font-size: 14px; font-weight: 750; color: var(--violet); letter-spacing: .02em; text-transform: uppercase; }
.sec-list { display: grid; gap: 6px; }
.sec-row {
  display: grid; grid-template-columns: minmax(0, auto) minmax(0, auto) minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 9px 12px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px;
}
.sec-row.event { grid-template-columns: 84px 128px minmax(0, 1.2fr) minmax(0, 1fr); }
.sec-row code { font: 600 12.5px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow: hidden; text-overflow: ellipsis; }
.sec-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) {
  .sec-row, .sec-row.event { grid-template-columns: 1fr; gap: 2px; }
}
/* Aplikacja (aktualizacje): pasek postępu wgrywania i słupki wersji graczy. */
.app-bar { height: 10px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.app-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--pink)); transition: width .25s var(--ease); }
details > summary { cursor: pointer; font-weight: 700; color: var(--violet); }
/* Plakietka na pasku górnym — widać ją na każdej zakładce, żeby nie zapomnieć o włączonej przerwie. */
.maint-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12.5px; font-weight: 800; letter-spacing: .01em; text-decoration: none; white-space: nowrap; flex: none;
  box-shadow: 0 8px 18px -10px rgba(220, 53, 69, .9);
}
.maint-chip i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
/* Przy plakietce nie starcza miejsca na „Admin Panel” w tytule. */
@media (max-width: 1100px) {
  .topbar.maint .title span.full { display: none; }
}
@media (max-width: 760px) {
  .maint-chip { font-size: 0; gap: 0; padding: 9px; }
}

/* ---------- Zgłoszenia ---------- */
.nav a .nav-count {
  margin-left: auto; min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums;
}
.burger.alert::after {
  content: ""; position: absolute; top: 7px; right: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 2px var(--surface);
}
.skeleton-report { height: 200px; border-radius: var(--radius); }
.report-list { display: grid; gap: 14px; }
.report-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px;
  display: grid; gap: 12px; border-left: 4px solid var(--gold); min-width: 0;
  animation: rise .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms);
}
.report-card.serious { border-left-color: var(--red); }
.report-card.handled { border-left-color: var(--green); }
.report-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.report-people { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.report-arrow { align-self: center; color: var(--soft); font-weight: 800; font-size: 20px; }
.report-person {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 0; border-radius: 14px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); text-align: left; min-width: 0;
  transition: background .15s, transform .2s var(--ease);
}
button.report-person:hover { background: var(--violet-soft); transform: translateY(-1px); }
.report-person b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.report-person small { display: block; color: var(--muted); font-size: 12.5px; }
.report-person .chips { flex-basis: 100%; }
.report-content { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.report-content small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.report-content b { display: block; overflow-wrap: anywhere; }
.report-content p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.report-preview { width: 120px; max-width: 40%; border-radius: 10px; flex: none; background: var(--line); }
.report-quote {
  margin: 0; padding: 10px 14px; border-radius: 4px 14px 14px 14px; background: var(--pink-soft); color: #7a1f4e;
  white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 550;
}
.report-chat summary {
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; color: var(--violet); list-style: none;
}
.report-chat summary::-webkit-details-marker { display: none; }
.report-chat summary img { width: 22px; height: 22px; object-fit: contain; }
.chat-log { display: grid; gap: 6px; margin-top: 10px; max-height: 320px; overflow: auto; padding-right: 4px; }
.chat-line {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline;
  padding: 6px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13.5px;
}
.chat-line.reported { background: var(--red-soft); }
.chat-line span { overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-line small { color: var(--soft); font-size: 11.5px; white-space: nowrap; }
.report-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.report-actions .who { flex: 1 1 220px; min-width: 0; color: var(--muted); font-size: 13px; }
.report-actions .who b { color: var(--text); }
@media (max-width: 760px) {
  .report-people { grid-template-columns: 1fr; }
  .report-arrow { display: none; }
  .chat-line { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Zdjęcia ---------- */
.skeleton-photo { height: 420px; border-radius: var(--radius); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; align-items: start; }
.photo-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px;
  display: grid; gap: 10px; min-width: 0; border-top: 4px solid var(--line-strong);
  animation: rise .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms);
}
.photo-card.gold { border-top-color: var(--gold); }
.photo-card.green { border-top-color: var(--green); }
.photo-card.red { border-top-color: var(--red); }
.photo-pic {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0;
  border-radius: 12px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
}
button.photo-pic { cursor: zoom-in; }
.photo-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
button.photo-pic:hover img { transform: scale(1.04); }
.photo-pic.gone { align-content: center; gap: 6px; color: var(--muted); text-align: center; padding: 16px; }
.photo-pic.gone img { width: 48px; height: 48px; object-fit: contain; opacity: .55; }
.photo-card .chips { align-items: center; }
.photo-title { font-size: 15.5px; overflow-wrap: anywhere; line-height: 1.3; }
.photo-owner {
  display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 0; border-radius: 12px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line); text-align: left; min-width: 0; transition: background .15s, transform .2s var(--ease);
}
button.photo-owner:hover { background: var(--violet-soft); transform: translateY(-1px); }
.photo-owner b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.photo-owner small { display: block; color: var(--muted); font-size: 12px; }
.photo-stats { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-weight: 650; }
.photo-stats span { display: inline-flex; align-items: center; gap: 5px; }
.photo-stats img { width: 18px; height: 18px; object-fit: contain; }
.photo-decision { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.photo-decision b { color: var(--text); }
.photo-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.photo-actions .btn { flex: 1 1 auto; }
.photo-full { display: block; width: 100%; max-height: 64vh; object-fit: contain; border-radius: 14px; background: var(--surface-2); }
.photo-reject { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.photo-reject img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.photo-comments { display: grid; gap: 8px; }
.photo-comment {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 8px 10px; border-radius: 12px; background: var(--surface-2);
}
.photo-comment b { display: block; font-size: 14px; }
.photo-comment p { margin: 2px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.photo-comment small { color: var(--soft); font-size: 12px; }
.avatar-button { border: 0; padding: 0; background: none; border-radius: 50%; }
@media (max-width: 520px) {
  .photo-reject { flex-direction: column; }
}

/* ---------- Konto: usunięcie i adresy IP ---------- */
.note.alert { background: var(--red-soft); color: #9f1d2b; }
.ip-list { display: grid; gap: 8px; max-height: 320px; overflow: auto; padding-right: 4px; }
.ip-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 12px; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  animation: rise .3s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms);
}
.ip-row code { font: 700 14px/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; min-width: 120px; overflow-wrap: anywhere; }
.ip-row b { display: block; font-size: 14px; }
.ip-row small { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- Forum ---------- */
.skeleton-topic { height: 92px; border-radius: var(--radius); }
.forum-list { display: grid; gap: 10px; }
.topic-row {
  display: flex; align-items: center; gap: 4px; padding: 6px 10px 6px 6px; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 4px solid transparent; min-width: 0;
  animation: rise .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms);
}
.topic-row.pinned { border-left-color: var(--gold); }
.topic-open {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; border: 0; background: transparent; text-align: left;
  padding: 10px; border-radius: 12px; transition: background .15s;
}
.topic-open:hover { background: var(--surface-2); }
.topic-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.topic-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.topic-title b { font-size: 15.5px; overflow-wrap: anywhere; }
.topic-preview {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere;
}
.topic-main small { color: var(--soft); font-size: 12.5px; overflow-wrap: anywhere; }
.topic-count {
  flex: none; display: grid; justify-items: center; min-width: 60px; padding: 6px 8px; border-radius: 12px;
  background: var(--violet-soft); color: var(--violet);
}
.topic-count b { font-size: 18px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.topic-count small { font-size: 11.5px; font-weight: 650; }
.post-list { display: grid; gap: 8px; }
.forum-post {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 10px 12px; border-radius: 14px; background: var(--surface-2);
}
.forum-post.first { background: var(--violet-soft); }
.post-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.post-head b { font-size: 14px; }
.post-head small { color: var(--soft); font-size: 12px; }
.forum-post p { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.forum-poll { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--teal-soft); }
.poll-answer { display: grid; gap: 4px; }
.poll-label { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.poll-label span { overflow-wrap: anywhere; }
.poll-label small { color: var(--muted); white-space: nowrap; }
.poll-bar { height: 8px; border-radius: 99px; background: rgba(19, 163, 160, .16); overflow: hidden; }
.poll-bar i { display: block; height: 100%; width: var(--share, 0%); background: var(--teal); border-radius: inherit; }
@media (max-width: 560px) {
  .topic-count { display: none; }
  .topic-open { gap: 10px; padding: 8px; }
}

/* ---------- Kody: ubrania w nagrodach i Pakiet Diamond ---------- */
.cloth-thumb, .chip-thumb, .slot-thumb, .board-thumb, .cloth-pic {
  display: grid; place-items: center; overflow: hidden; flex: none; position: relative;
  background: linear-gradient(165deg, #fdf3f9 0%, #f1ecfe 100%);
}
.cloth-thumb img, .chip-thumb img, .slot-thumb img, .board-thumb img, .cloth-pic img { width: 100%; height: 100%; object-fit: contain; }
.cloth-thumb.ruffle-box, .chip-thumb.ruffle-box, .slot-thumb.ruffle-box, .board-thumb.ruffle-box, .cloth-pic.ruffle-box { pointer-events: none; }
.cloth-thumb { width: 64px; height: 64px; border-radius: 12px; color: var(--soft); font-weight: 700; }
.chip-thumb { width: 22px; height: 22px; border-radius: 6px; margin-left: -5px; }
.chip.cloth-chip { max-width: 220px; }
.chip.cloth-chip { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reward-items { display: flex; flex-wrap: wrap; gap: 8px; }
.reward-item {
  display: flex; align-items: center; gap: 8px; max-width: 260px; padding: 4px 4px 4px 8px; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600;
}
.reward-item .grow { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reward-item .chip-thumb { width: 30px; height: 30px; margin: 0; }
.reward-item .icon-btn { width: 30px; height: 30px; }
.reward-item .icon-btn img { width: 18px; height: 18px; }

.diamond-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.diamond-note { grid-column: 1 / -1; background: var(--blue-soft); color: #22427f; }
.diamond-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px;
  border-top: 4px solid var(--line-strong); min-width: 0; animation: rise .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms);
}
.diamond-card.female { border-top-color: var(--pink); }
.diamond-card.male { border-top-color: var(--blue); }
.diamond-card.active { box-shadow: var(--shadow), 0 0 0 2px var(--green-soft); }
.diamond-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.diamond-card-head h3 { flex: 1 1 160px; font-size: 16px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.diamond-card-head h3 img { width: 26px; height: 26px; object-fit: contain; }
.diamond-card .switch { font-size: 13px; }
.outfit-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.outfit-cell { display: grid; justify-items: center; gap: 4px; min-width: 0; }
.outfit-cell .cloth-thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.outfit-cell small { color: var(--muted); font-size: 11.5px; font-weight: 650; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
.outfit-cell.empty .cloth-thumb { opacity: .5; }

.skeleton-cloth { height: 170px; border-radius: 14px; }
.cloth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; max-height: 58vh; overflow: auto; padding: 2px; }
.cloth-tile {
  border: 0; background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 8px; text-align: left;
  display: grid; gap: 4px; min-width: 0; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  animation: rise .3s var(--ease) both; animation-delay: calc(var(--i, 0) * 15ms);
}
.cloth-tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--pink), var(--shadow); }
.cloth-tile .cloth-pic { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; }
.cloth-tile b { font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cloth-tile small { color: var(--muted); font-size: 11.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.diamond-editor { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.diamond-preview { display: grid; gap: 12px; position: sticky; top: 0; }
.outfit-stage {
  position: relative; min-height: 380px; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(170deg, #fdf1f8 0%, #eaf0fe 100%);
}
.outfit-stage .ruffle-box { position: absolute; inset: 0; }
.outfit-board {
  display: grid; grid-template-columns: 1fr 86px; grid-template-areas: "hair accessory" "top accessory" "bottom ." "shoes .";
  gap: 8px; width: 100%; padding: 14px;
}
.outfit-board-cell { display: grid; justify-items: center; gap: 2px; }
.outfit-board-cell.hair { grid-area: hair; }
.outfit-board-cell.top { grid-area: top; }
.outfit-board-cell.bottom { grid-area: bottom; }
.outfit-board-cell.shoes { grid-area: shoes; }
.outfit-board-cell.accessory { grid-area: accessory; align-self: center; }
.outfit-board-cell small { color: var(--muted); font-size: 11.5px; font-weight: 650; }
.board-thumb { width: 72px; height: 72px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: 0 6px 16px -10px rgba(29, 26, 43, .35); }
.outfit-board-cell.empty .board-thumb { box-shadow: inset 0 0 0 2px rgba(29, 26, 43, .06); }
.slot-list { display: grid; gap: 8px; }
.slot-row { display: flex; align-items: center; gap: 6px; }
.slot-pick {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 0; background: var(--surface-2); padding: 8px 12px 8px 8px;
  border-radius: 14px; text-align: left; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .18s, background .18s;
}
.slot-pick:hover { background: var(--violet-soft); box-shadow: inset 0 0 0 1px var(--violet); }
.slot-pick.filled { background: var(--surface); }
.slot-pick b { display: block; font-size: 14px; }
.slot-pick small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.slot-thumb { width: 52px; height: 52px; border-radius: 10px; }
.gender.gender-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) {
  .diamond-editor { grid-template-columns: 1fr; }
  .diamond-preview { position: static; }
  .outfit-stage { min-height: 300px; }
}

/* ---------- Sklep: tła ---------- */
.tiles.wide-tiles { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tile .pic.bg-pic { aspect-ratio: 237 / 100; }
.tile .pic.bg-pic img { object-fit: cover; }
.bg-crop-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.bg-crop {
  display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 12px;
  background: var(--surface-2); box-shadow: 0 0 0 1px var(--line);
}
.bg-tile-wrap { display: grid; gap: 6px; justify-items: center; }
.bg-tile-preview {
  display: block; width: 158px; max-width: 100%; height: auto; aspect-ratio: 237 / 100; object-fit: cover;
  border-radius: 8px; box-shadow: 0 0 0 1px var(--line); background: var(--surface-2);
}
.bg-slider { width: 100%; accent-color: var(--pink); }
.editor .preview .bg-scene { aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.bg-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) {
  .bg-crop-wrap { grid-template-columns: 1fr; }
}

/* ---------- Sklep: masowe dodawanie ubrań ---------- */
.bulk-background-list { display: grid; gap: 10px; max-height: 400px; overflow: auto; }
.bulk-background-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; }
.bulk-background-row>div { display: grid; gap: 5px; }
.bulk-background-thumb { width: 130px; height: 65px; object-fit: contain; background: #fff; border-radius: 4px; }
.swf-background-renderer { position: fixed; left: -10000px; top: 0; width: 960px; height: 480px; pointer-events: none; }
.store-admin-row { display: grid; grid-template-columns: minmax(180px,1fr) 150px 125px; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.store-admin-row small { display: block; margin-top: 5px; }
.store-admin-row label { display: flex; gap: 8px; align-items: center; }
.store-admin-row input[type=number] { width: 110px; }
.store-admin-row.withdrawn { background: var(--soft); }
.store-product-toggles { display:grid; gap:12px; }
.store-sale-fields { grid-column:1/-1; display:grid; grid-template-columns:150px minmax(190px,1fr) minmax(230px,1fr); gap:16px; padding:12px 16px; background:#fff5f6; border:1px solid #eac7ce; border-radius:8px; }
.store-sale-fields .field { display:block; }
.store-sale-fields small { grid-column:1/-1; }
.store-admin-row label.field { display:block; }
@media(max-width:850px){.store-sale-fields{grid-template-columns:1fr}.store-sale-fields small{grid-column:auto}}
.store-admin-order { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media(max-width:650px){.store-admin-row{grid-template-columns:1fr 120px}.store-admin-row>div{grid-column:1/-1}.bulk-background-row{grid-template-columns:90px 1fr}.bulk-background-thumb{width:90px}}
.bulk-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bulk-list {
  display: grid; gap: 2px; max-height: 240px; overflow: auto; padding: 10px 12px; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted);
}
.bulk-list:empty { display: none; }
.bulk-list .soft { color: var(--soft); padding-top: 4px; }
@media (max-width: 560px) {
  .bulk-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Sklep: skarpetki i odzież wierzchnia ---------- */
.regroup-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.regroup-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.regroup-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; align-content: start;
  min-height: 160px; max-height: 440px; overflow: auto; padding: 8px; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
}
.regroup-tile {
  position: relative; display: grid; gap: 5px; align-content: start; padding: 6px 6px 8px; border-radius: 12px; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; font-size: 12.5px;
  transition: background .15s, box-shadow .15s;
}
.regroup-tile:hover { background: var(--violet-soft); }
.regroup-tile.on { background: var(--pink-soft); box-shadow: inset 0 0 0 2px var(--pink); }
.regroup-tile input { position: absolute; top: 10px; left: 10px; width: 18px; height: 18px; accent-color: var(--pink); z-index: 1; cursor: pointer; }
.regroup-pic {
  aspect-ratio: 1; width: 100%; border-radius: 9px; display: grid; place-items: center; overflow: hidden; position: relative;
  background: linear-gradient(165deg, #fdf3f9 0%, #f1ecfe 100%);
}
.regroup-pic img { width: 100%; height: 100%; object-fit: contain; }
.regroup-pic .ruffle-box { pointer-events: none; }
.regroup-tile b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.regroup-tile .tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; align-items: center; }
.regroup-tile .tags .chip { font-size: 11px; padding: 2px 7px; }
@media (max-width: 560px) {
  .regroup-tools { grid-template-columns: 1fr; }
  .regroup-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* ---------- Ogłoszenia ---------- */
.announce-wrap { display: grid; gap: 16px; }
.announce-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.announce-grid .card, .announce-wrap > .card {
  background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start;
}
.announce-grid .card h2, .announce-wrap > .card h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.announce-grid .card h2 img, .announce-wrap > .card h2 img { width: 22px; height: 22px; }
.announce-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.announce-style {
  border: 0; border-radius: 13px; padding: 10px 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 650; color: var(--muted); display: grid; justify-items: center; gap: 5px; transition: all .2s var(--ease); font-size: 12.5px;
}
.announce-style img { width: 26px; height: 26px; object-fit: contain; }
.announce-style.active { background: var(--pink-soft); color: var(--pink); box-shadow: inset 0 0 0 2px var(--pink); }
.announce-preview { background: linear-gradient(170deg, #cfe9ff 0%, #eef6ff 100%); border-radius: 16px; padding: 20px; display: grid; place-items: center; }
.announce-popup {
  width: 100%; max-width: 320px; background: #fff; border-radius: 16px; padding: 16px 16px 12px;
  box-shadow: 0 10px 26px rgba(20, 40, 80, .22), inset 0 0 0 3px #ffd84d; display: grid; gap: 10px; justify-items: center; text-align: center;
}
.announce-popup[data-style="neutral"] { box-shadow: 0 10px 26px rgba(20, 40, 80, .22), inset 0 0 0 3px #8fd2ff; }
.announce-popup[data-style="evil"] { box-shadow: 0 10px 26px rgba(80, 20, 20, .22), inset 0 0 0 3px #ff7a7a; }
.announce-popup-icon img { width: 48px; height: 48px; object-fit: contain; }
.announce-popup b { font-size: 16px; }
.announce-popup p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.announce-popup-ok { background: var(--pink); color: #fff; border-radius: 10px; padding: 6px 26px; font-weight: 700; font-size: 13px; }
.announce-list { display: grid; gap: 8px; }
.announce-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line); animation: rise .3s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms);
}
.announce-row > img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.announce-row .soft { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 900px) {
  .announce-grid { grid-template-columns: 1fr; }
}

/* Eventy: pozdrowienie, Booster Fame i Szalone zakupy obok siebie. */
.events-wrap { display: grid; gap: 16px; }
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.events-card { display: grid; gap: 12px; }
.events-card h2 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.events-card h2 img { width: 24px; height: 24px; object-fit: contain; }
.events-card > p { margin: 0; font-size: 13px; }
.events-card .announce-styles { grid-template-columns: repeat(2, 1fr); }
.events-live { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 12px;
  background: var(--pink-soft); color: var(--pink); }
.events-live > img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.events-live .soft { font-size: 12.5px; }
@media (max-width: 1200px) {
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* Święta: tryb Halloween */
.holiday-hero { border-left: 6px solid #f08a24; }
.holiday-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.holiday-act h3 { margin: 0 0 8px; font-size: 14px; font-weight: 750; color: var(--violet); letter-spacing: .02em; text-transform: uppercase; }
.holiday-quest { align-items: flex-start; flex-wrap: wrap; }
.holiday-objectives { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); }
.holiday-objectives li { margin: 2px 0; }
@media (max-width: 1200px) {
  .holiday-acts { grid-template-columns: 1fr; }
}
