/* Precizie · stil propriu, peste reminder/style.css + roua/style.css */

.pr-banner { background: linear-gradient(120deg, rgba(122,92,255,.20), rgba(11,13,20,0) 60%), radial-gradient(70% 120% at 80% 0%, rgba(77,163,255,.22), transparent 70%); }

/* ---- intro ---- */
.fx-box { margin: 14px 0 6px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.03); }
.fx { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--gold); background: rgba(245,197,66,.08);
  border: 1px solid rgba(245,197,66,.22); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; overflow-x: auto; white-space: nowrap; }
.fx-box p { margin: 0; color: var(--muted); line-height: 1.6; }
.sec > .warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,140,26,.26); border-left: 3px solid #ff8c1a;
  background: rgba(255,140,26,.06); color: #e7c9a6; font-size: 14px; }

/* ---- controale ---- */
.ctrl { position: sticky; top: 76px; z-index: 30; backdrop-filter: blur(10px); background: rgba(14,17,27,.92); }
.ctrl-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.ctrl-row:last-of-type { margin-bottom: 0; }
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fld > span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fld.grow { flex: 1 1 260px; }
.fld.els { flex: 1 1 300px; }
.fld.hit { flex: 1 1 260px; }
.ctrl input[type="search"], .ctrl select {
  width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,12,20,.75); color: var(--text); font: inherit; font-size: 15px; }
.ctrl input[type="search"]:focus, .ctrl select:focus { outline: none; border-color: rgba(245,197,66,.55); box-shadow: 0 0 0 3px rgba(245,197,66,.12); }
.ctrl select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

.el-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.el-chips button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.el-chips button img { width: 18px; height: 18px; }
.el-chips button:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.el-chips button.on { color: #fff; border-color: color-mix(in srgb, var(--c, #f5c542) 70%, transparent); background: color-mix(in srgb, var(--c, #f5c542) 16%, transparent); }

.hit-row { display: flex; align-items: center; gap: 12px; }
.hit-row input[type="range"] { flex: 1; accent-color: var(--gold); height: 4px; }
.hit-val { display: inline-flex; align-items: center; gap: 2px; padding: 7px 10px; border-radius: 10px;
  border: 1px solid rgba(245,197,66,.35); background: rgba(245,197,66,.10); }
.hit-val input { width: 42px; border: 0; background: none; color: var(--gold); font: inherit; font-weight: 800; font-size: 16px; text-align: right; -moz-appearance: textfield; }
.hit-val input::-webkit-outer-spin-button, .hit-val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hit-val input:focus { outline: none; }
.hit-val i { color: var(--gold); font-style: normal; font-weight: 800; }

.hit-hint { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.hit-hint::before { content: "↳ "; color: var(--gold); }

.ctrl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ctrl-foot .count { font-size: 13px; color: var(--muted); }
.ctrl-foot button { padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ctrl-foot button:hover { color: var(--text); border-color: rgba(255,255,255,.22); }

/* ---- harti ---- */
.map { margin: 0 0 22px; border: 1px solid var(--panel-border); border-radius: 18px; overflow: hidden; background: var(--panel); }
.map-head { position: relative; display: flex; align-items: flex-end; min-height: 132px; padding: 16px 18px; }
.map-head .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.map-head .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,10,16,.92) 0%, rgba(8,10,16,.62) 45%, rgba(8,10,16,.30) 100%),
              linear-gradient(0deg, rgba(8,10,16,.85), rgba(8,10,16,0) 70%); }
.map-head.noimg { background: linear-gradient(120deg, rgba(122,92,255,.18), rgba(11,13,20,.2)), var(--bg-2); }
.map-head .t { position: relative; z-index: 1; }
.map-head h2 { margin: 0; font-family: Cinzel, serif; font-size: clamp(19px, 2.4vw, 26px); letter-spacing: .3px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.map-head .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.map-head .meta span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(8,10,16,.6); border: 1px solid rgba(255,255,255,.14); color: #dfe3ee; backdrop-filter: blur(3px); }
.map-head .meta img { width: 15px; height: 15px; }

.tblwrap { overflow-x: auto; }
table.mobs { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.mobs thead th { text-align: left; padding: 9px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); background: rgba(12,15,24,.96); border-bottom: 1px solid rgba(255,255,255,.08); white-space: nowrap; }
table.mobs thead th.n { text-align: center; }
table.mobs thead th.n { min-width: 64px; }
table.mobs thead tr.grp th { border-bottom: 0; }
table.mobs thead th.gh { text-align: center; color: #c9bcff; border-bottom: 1px solid rgba(255,255,255,.06); }
table.mobs tbody td { padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.05); }
table.mobs tbody tr:last-child td { border-bottom: 0; }
table.mobs tbody tr:hover { background: rgba(255,255,255,.03); }
table.mobs td.name { font-weight: 600; color: var(--text); }
table.mobs td.lvl, table.mobs td.v { text-align: center; font-variant-numeric: tabular-nums; }
table.mobs td.lvl { color: var(--muted); font-weight: 700; }
table.mobs td.race { color: var(--muted); font-size: 13px; }
table.mobs td.el img { width: 22px; height: 22px; vertical-align: middle; }
table.mobs td.el .no { color: rgba(255,255,255,.25); }
table.mobs td.v { font-weight: 700; }
table.mobs td.v50 { color: #7fd6ff; }
table.mobs td.v75 { color: #f5c542; }
table.mobs td.v90 { color: #ff8c6b; }
table.mobs td.vx { color: #fff; background: rgba(122,92,255,.14); font-weight: 800; }
table.mobs th.vx { color: #c9bcff; background: rgba(122,92,255,.14); }
mark { background: rgba(245,197,66,.3); color: #fff; border-radius: 3px; padding: 0 2px; }

.empty { padding: 28px 16px; text-align: center; color: var(--muted); border: 1px dashed rgba(255,255,255,.12); border-radius: 16px; }

@media (max-width: 860px) {
  .ctrl { position: static; }
  .map-head { min-height: 112px; }
  table.mobs { font-size: 12.5px; min-width: 0; }
  table.mobs td.name { font-size: 13px; }
  table.mobs thead th, table.mobs tbody td { padding: 8px 5px; }
  table.mobs td.race, table.mobs th.race, table.mobs .c75, table.mobs .c90 { display: none; }  /* pe telefon: doar 50% si procentul ales */
  table.mobs td.name { white-space: normal; }
  table.mobs td.el img { width: 20px; height: 20px; }
  table.mobs thead th { font-size: 10px; letter-spacing: .06em; }
  table.mobs thead th.n { min-width: 0; }
}
