:root{
  --bg:#0b1116;
  --card:#0e151c;
  --ink:#dbe7ee;
  --muted:#96a7b3;
  --acc:#00ffaa;
  --edge:#203040;
  --shadow:0 6px 22px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:#071017;
  color:var(--ink);
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
}
img{max-width:100%;display:block}

.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:24px;
}

.page-foot{
  margin:28px 0 12px;
  color:#6f8796;
  font-size:13px;
}

/* KARTY */

.card{
  background:linear-gradient(180deg,rgba(15,22,28,.95),rgba(13,19,24,.95));
  border:1px solid var(--edge);
  border-radius:18px;
  padding:18px 18px 20px;
  box-shadow:var(--shadow);
  margin:20px 0;
}
.card-title{
  font-weight:700;
  margin:2px 0 14px;
  color:#b8f7ff;
  font-size:20px;
}
.card .hint{
  margin:10px 2px 0;
  color:var(--muted);
  font-size:13px;
}

/* INTRO */

.intro-card .card-body{
  color:var(--muted);
  font-size:15.5px;
  line-height:1.7;
}
.intro-card .card-body b{color:var(--acc)}
.intro-card .card-body i{color:#b8f7ff}

/* UI PREVIEW */

.ui-board{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--edge);
  max-width:620px;
}
.ui-img{
  width:100%;
  height:auto;
  display:block;
}

/* TABELKI */

.table-wrap{
  overflow:auto;
  border-radius:10px;
  border:1px solid var(--edge);
}
.tbl{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.tbl th,
.tbl td{
  padding:9px 11px;
  border-bottom:1px solid #12202b;
  vertical-align:middle;
  text-align:center;      /* <── NOWE: środek dla wszystkich komórek */
}
.tbl thead th{
  background:#0f1a22;
  color:#9fe8ff;
  position:sticky;
  top:0;
  z-index:1;
}
.tbl tbody tr:nth-child(even){
  background:#0c151d;
}
.tbl tbody tr:hover{
  background:#0f1822;
}
.tbl .ico{
  width:32px;
  height:32px;
  object-fit:contain;
  filter:drop-shadow(0 0 4px rgba(0,0,0,.4));
}

/* POWRÓT DO MENU */

.back-bar{
  display:flex;
  justify-content:flex-start;
  margin:10px 0 22px;
}
.back-btn{
  display:inline-block;
  background:linear-gradient(90deg,#00ffaa1a,#00ffaa33);
  color:var(--acc);
  padding:10px 18px;
  border:1px solid var(--edge);
  border-radius:12px;
  font-weight:600;
  text-decoration:none;
  transition:all .2s ease;
  box-shadow:0 4px 12px rgba(0,255,170,.1);
}
.back-btn:hover{
  background:linear-gradient(90deg,#00ffaa3a,#00ffaa4a);
  color:#b8fff5;
  box-shadow:0 4px 14px rgba(0,255,170,.25);
  transform:translateY(-1px);
}

/* TOOLTIP */

.tooltip{
  position:fixed;
  z-index:9999;
  min-width:220px;
  max-width:360px;
  background:#0b1218;
  border:1px solid #254158;
  color:#d7f6ff;
  border-radius:12px;
  box-shadow:0 10px 34px rgba(0,0,0,.45);
  padding:10px 12px;
  pointer-events:none;
  font-size:13px;
}
.tooltip .tt-h{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:6px;
}
.tooltip .tt-h img{
  width:30px;
  height:30px;
  object-fit:contain;
}
.tooltip .tt-h b{
  color:#b8f7ff;
}
.tooltip .kv{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:4px 10px;
}

/* RESPONSYWNOŚĆ */

@media (max-width:720px){
  .wrap{padding:14px}
  .card{padding:14px 12px}
  .card-title{font-size:18px}
}
