/* Baza de obiecte */
.ob-index h1 { margin: 6px 0 8px; font: 800 34px/1.1 Cinzel, serif; color: #f2e6c9; }
.ob-index .lead { max-width: 760px; }

.ob-search { position: relative; display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; }
.ob-search input { flex: 1 1 auto; min-width: 0; padding: 14px 16px; border-radius: 14px; font: inherit; font-size: 16px;
  color: #e8ecf6; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.ob-search input:focus { outline: none; border-color: rgba(245,197,66,.55); box-shadow: 0 0 0 4px rgba(245,197,66,.1); }
.ob-count { flex: none; font: 700 12px/1 Inter, sans-serif; color: #8d95a8; white-space: nowrap; }

.ob-cats { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.ob-cat { cursor: pointer; padding: 7px 11px; border-radius: 999px; font: 600 12.5px/1 Inter, sans-serif;
  color: #c3cad9; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.ob-cat i { font-style: normal; opacity: .55; margin-left: 3px; }
.ob-cat:hover { border-color: rgba(245,197,66,.4); color: #f2e6c9; }
.ob-cat.on { background: rgba(245,197,66,.14); border-color: rgba(245,197,66,.6); color: #f5c542; }

.ob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 9px; }
.ob-card { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09); transition: border-color .15s, transform .15s; }
.ob-card:hover { border-color: rgba(245,197,66,.5); transform: translateY(-1px); }
.ob-card img { width: 40px; height: 40px; flex: none; object-fit: contain; image-rendering: pixelated; }
.ob-noic { width: 40px; height: 40px; flex: none; border-radius: 9px; background: rgba(255,255,255,.05); }
.ob-card span { min-width: 0; display: block; }
.ob-card b { display: block; font: 700 13.5px/1.25 Inter, sans-serif; color: #e8ecf6; }
.ob-card i { display: block; margin-top: 2px; font: 500 11.5px/1.3 Inter, sans-serif; font-style: normal; color: #8d95a8; }
.ob-more { margin: 16px 0; text-align: center; }
.m2b { cursor: pointer; padding: 10px 20px; border-radius: 12px; font: 700 13px/1 Inter, sans-serif;
  color: #e8ecf6; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.m2b:hover { background: rgba(245,197,66,.12); border-color: rgba(245,197,66,.4); color: #f5c542; }

/* pagina unui obiect */
.ob-page h1 { margin: 0; font: 800 32px/1.1 Cinzel, serif; color: #f2e6c9; }
.ob-head { display: flex; align-items: center; gap: 16px; margin: 10px 0 14px; }
.ob-ic { flex: none; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 16px;
  background: rgba(245,197,66,.08); border: 1px solid rgba(245,197,66,.25); }
.ob-ic img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.ob-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ob-tags .tag { padding: 4px 9px; border-radius: 999px; font: 600 11.5px/1.3 Inter, sans-serif;
  color: #c3cad9; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.ob-tags .cls { color: #f0d79a; background: rgba(245,197,66,.1); border-color: rgba(245,197,66,.3); }
.ob-tags .id { opacity: .55; }

/* placutele cu bonusurile itemului */
.ob-bon { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bon { display: flex; align-items: baseline; gap: 8px; padding: 9px 13px; border-radius: 13px;
  background: linear-gradient(180deg, rgba(245,197,66,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(245,197,66,.26); }
.bon-k { font: 600 12.5px/1.2 Inter, sans-serif; color: #b9c0d0; }
.bon-v { font: 800 15px/1.1 Inter, sans-serif; color: #f5c542; white-space: nowrap; }

/* tabelul de imbunatatire */
.up-corner { text-align: left !important; }
.up-pl { display: inline-block; min-width: 34px; padding: 3px 8px; border-radius: 999px;
  background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.3); }
.up-poze td { padding: 6px 8px; }
.up-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); }
.up-ic img { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; }
.up-lbl { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.up-ics { display: inline-flex; gap: 3px; }
.up-ics img { width: 18px; height: 18px; object-fit: contain; image-rendering: pixelated; }
.tbl.up td.bun { color: #7bd389; font-weight: 700; }
.tbl.up td.med { color: #f0b429; font-weight: 700; }
.tbl.up td.slab { color: #ff8095; font-weight: 700; }
.tbl.up td.up-nul { color: #5a6274; }
.tbl.up td.up-gol { color: #6f7789; font-style: italic; letter-spacing: .04em; }
.tbl.up tbody th { position: sticky; left: 0; z-index: 2; background: #141826; }
.tbl.up thead th:first-child { left: 0; z-index: 3; }

.tbl-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); }
.tbl { width: 100%; border-collapse: collapse; font: 500 13px/1.4 Inter, sans-serif; white-space: nowrap; }
.tbl th, .tbl td { padding: 8px 11px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.06); }
.tbl thead th { position: sticky; top: 0; background: #151926; color: #f5c542; font-weight: 800; font-size: 12px; }
.tbl tbody th { text-align: left; color: #c3cad9; font-weight: 600; background: rgba(255,255,255,.02); }
.tbl td { color: #dde2ee; }
.tbl tbody tr:hover td { background: rgba(245,197,66,.05); }

.ob-list { display: grid; gap: 6px; }
.ob-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px;
  border-radius: 11px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  text-decoration: none; transition: border-color .15s, background .15s; }
.ob-row.ic b { flex: 1 1 auto; }
.ob-row img { width: 28px; height: 28px; flex: none; object-fit: contain; image-rendering: pixelated; }
a.ob-row.link:hover { border-color: rgba(245,197,66,.45); background: rgba(245,197,66,.06); }
a.ob-row.link b { color: #f2e6c9; }
.ob-row b { font: 700 13px/1.3 Inter, sans-serif; color: #e8ecf6; }
.ob-row span { font: 500 12px/1.3 Inter, sans-serif; color: #8d95a8; white-space: nowrap; }

@media (max-width: 640px) {
  .ob-index h1, .ob-page h1 { font-size: 26px; }
  .ob-ic { width: 60px; height: 60px; } .ob-ic img { width: 48px; height: 48px; }
  .ob-grid { grid-template-columns: 1fr 1fr; }
}

/* tooltipul de pe fiecare plus, ca în joc */
.up-tip { position: absolute; z-index: 90; max-width: 300px; padding: 11px 14px; border-radius: 10px;
  background: #0a0a0a; border: 1px solid #4a4335; box-shadow: 0 16px 40px rgba(0,0,0,.7);
  font: 500 12.5px/1.45 Inter, sans-serif; text-align: center; pointer-events: none; }
.up-tip[hidden] { display: none; }
.up-tip b { display: block; margin-bottom: 5px; font-weight: 700; font-size: 13px; color: #ffc800; }
.up-tip .v { color: #8ab98e; }
.up-tip .g { color: #c3c3c3; }
.tbl.up [data-tip] { cursor: help; }
.tbl.up [data-tip]:hover .up-pl { background: rgba(245,197,66,.26); border-color: rgba(245,197,66,.65); }
.tbl.up [data-tip]:hover .up-ic { border-color: rgba(245,197,66,.6); background: rgba(245,197,66,.1); }

/* linkurile din paragrafele de intro */
.ob-page .lead a, .ob-index .lead a { color: #f5c542; text-decoration: none; border-bottom: 1px solid rgba(245,197,66,.35); }
.ob-page .lead a:hover, .ob-index .lead a:hover { border-bottom-color: #f5c542; }
