:root {
  --bg: #010a13;
  --bg-2: #0a1428;
  --panel: #0f1d33;
  --border: #1e2d45;
  --gold: #c8aa6e;
  --gold-light: #f0e6d2;
  --gold-dark: #785a28;
  --blue: #0ac8b9;
  --text: #cdbe91;
  --muted: #8a8f99;
  --error: #e05555;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, var(--bg-2) 0%, var(--bg) 70%) fixed;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.5;
}

.site-header {
  text-align: center;
  padding: 28px 16px 8px;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(200, 170, 110, 0.35);
}

.subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  align-items: start;
}

/* ---------- Lane ---------- */
.step-label {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.step-label span { text-transform: none; letter-spacing: 0; color: var(--muted); }

.lane-picker { margin-bottom: 20px; }

.lane-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 72px));
  justify-content: center;
  gap: clamp(4px, 1.5vw, 10px);
}

.lane-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 2px 6px;
  border: 2px solid var(--gold-dark);
  border-radius: 8px;
  background: rgba(10, 20, 40, 0.6);
  color: var(--muted);
  font: inherit;
  font-size: clamp(0.6rem, 2.6vw, 0.75rem);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, color 0.15s, transform 0.15s;
}

.lane-btn img {
  width: 60%;
  max-width: 36px;
  aspect-ratio: 1;
  opacity: 0.85;
  transition: opacity 0.15s, filter 0.15s;
}

.lane-buttons.has-selection .lane-btn img { filter: grayscale(1) brightness(0.7); opacity: 0.5; }
.lane-btn:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-2px); }

.lane-buttons .lane-btn[aria-pressed="true"] {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: radial-gradient(circle, #1e3a5a, #0a1428 80%);
  box-shadow: 0 0 14px rgba(200, 170, 110, 0.55);
}

.lane-buttons .lane-btn[aria-pressed="true"] img { filter: none; opacity: 1; }
.lane-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.lane-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.lane-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-color: var(--gold);
  color: var(--gold-light);
}

.lane-tag img { width: 14px; height: 14px; }

/* ---------- Keresés név alapján ---------- */
.champ-search { margin-bottom: 20px; }

.champ-search .step-label { display: block; }

.search-box {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 10px 14px;
  border: 2px solid var(--gold-dark);
  border-radius: 8px;
  background: rgba(10, 20, 40, 0.6);
  color: var(--gold-light);
}

.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 12px rgba(200, 170, 110, 0.3); }
.search-box input:disabled { opacity: 0.5; }

.suggest-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 5;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--gold-dark);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.suggest-list[hidden] { display: none; }

.suggest-list li[role="option"] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.suggest-list li[aria-selected="true"],
.suggest-list li[role="option"]:hover { background: #1e3a5a; }

.suggest-list img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--gold-dark);
}

.suggest-list li div { display: flex; flex-direction: column; line-height: 1.2; }
.suggest-list li span { color: var(--gold-light); font-weight: 600; }
.suggest-list li small { color: var(--muted); font-size: 0.75rem; }
.suggest-empty { padding: 8px; color: var(--muted); font-size: 0.9rem; }

/* A választott lane-en tiltott champion: lezárva, nem választható. */
.suggest-list li.is-locked { cursor: not-allowed; }
.suggest-list li.is-locked:hover,
.suggest-list li.is-locked[aria-selected="true"] { background: rgba(120, 40, 40, 0.25); }
.suggest-list li.is-locked img { filter: grayscale(1); opacity: 0.5; }
.suggest-list li.is-locked span { color: var(--muted); text-decoration: line-through; }
.suggest-list li.is-locked small { color: #d77a7a; }
.suggest-list li.is-locked .suggest-lock { margin-left: auto; color: #d77a7a; text-decoration: none; }
.suggest-lock svg { display: block; width: 16px; height: 16px; }

.search-hint {
  margin: 6px 0 0;
  min-height: 1.2em;
  text-align: center;
  font-size: 0.85rem;
  color: var(--error);
}

/* ---------- Szűrők ---------- */
.filters { text-align: center; position: relative; }

/* "X kizárva…" felirat és a felugró lista a kitiltott championokról.
   A lista a .filters dobozhoz igazodik (szélessége ahhoz illik), de a felirat gyereke,
   így amíg az egér rajta vagy a listán van, nyitva marad. */
.ban-note {
  color: var(--gold);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: help;
  outline: none;
}

.ban-note:focus-visible { border-radius: 4px; box-shadow: 0 0 0 2px var(--gold-dark); }

.ban-pop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  padding-top: 8px;
  text-align: left;
  cursor: default;
}

.ban-note:hover .ban-pop,
.ban-note:focus .ban-pop,
.ban-note:focus-within .ban-pop { display: block; }

.ban-box {
  display: block;
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--gold-dark);
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.ban-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.85rem;
}

.ban-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px 10px;
  max-height: min(50vh, 340px);
  overflow-y: auto;
}

.ban-champ {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-size: 0.8rem;
  text-decoration: none;
}

.ban-champ img {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
}

.ban-champ span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.role-buttons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 56px));
  justify-content: center;
  gap: clamp(4px, 1.5vw, 10px);
}

.role-btn {
  aspect-ratio: 1;
  width: 100%;
  padding: 14%;
  border: 2px solid var(--gold-dark);
  background: rgba(10, 20, 40, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.role-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: filter 0.15s, opacity 0.15s;
}

/* Ha van kiválasztott szerepkör, a többi elszürkül. */
.role-buttons.has-selection .role-btn img {
  filter: grayscale(1) brightness(0.75);
  opacity: 0.55;
}

.role-btn:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-2px); }
.role-btn:hover:not(:disabled) img { opacity: 0.85; }

.role-btn[aria-pressed="true"] {
  background: radial-gradient(circle, #1e3a5a, #0a1428 80%);
  border-color: var(--gold-light);
  box-shadow: 0 0 14px rgba(200, 170, 110, 0.55);
}

.role-buttons .role-btn[aria-pressed="true"] img { filter: none; opacity: 1; }

.role-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.role-btn.no-icon {
  font: inherit;
  font-size: 0.6rem;
  padding: 2px;
  color: var(--gold-light);
}

.role-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.count {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Kerék ---------- */
.wheel-wrap {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: 24px auto 0;
}

.wheel-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--gold-dark), 0 0 0 9px var(--gold), 0 0 40px rgba(10, 200, 185, 0.15);
}

.pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 36px solid var(--gold-light);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid var(--gold);
  background: radial-gradient(circle at 35% 30%, #1e3a5a, #08111f 75%);
  color: var(--gold-light);
  font: inherit;
  font-weight: 700;
  font-size: clamp(0.75rem, 2.4vw, 1.05rem);
  letter-spacing: 0.08em;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.15s, box-shadow 0.15s;
}

.spin-btn:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 24px rgba(200, 170, 110, 0.5);
}

.spin-btn:disabled { cursor: not-allowed; opacity: 0.6; }

.spin-btn.is-skip {
  font-size: clamp(0.65rem, 2vw, 0.9rem);
  border-color: var(--gold-light);
  animation: skip-pulse 1s ease-in-out infinite;
}

@keyframes skip-pulse {
  50% { box-shadow: 0 0 20px rgba(200, 170, 110, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
  .spin-btn.is-skip { animation: none; }
}

.ticker {
  margin: 18px 0 0;
  min-height: 1.8em;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
}

.error {
  margin: 16px auto 0;
  max-width: 420px;
  text-align: center;
  padding: 14px;
  border: 1px solid var(--error);
  border-radius: 8px;
  background: rgba(224, 85, 85, 0.1);
}

.error p { margin: 0 0 10px; color: var(--gold-light); }

.error button,
.link-btn {
  font: inherit;
  cursor: pointer;
}

.error button {
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: var(--panel);
  color: var(--gold-light);
}

/* ---------- Eredmény ---------- */
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result,
.history {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.result-placeholder {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
}

.result-placeholder p { margin: 0; }
.result-placeholder .hint { margin-top: 6px; font-size: 0.9rem; }

.build-card.pop { animation: pop 0.5s ease-out; }

@keyframes pop {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.result-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}

/* ---------- Champion fejléc ---------- */
.champ-banner {
  position: relative;
  max-width: 1100px;
  margin: 12px auto 0;
  padding: 0 16px;
}

.banner-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--gold-dark);
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 10, 19, 0.95) 0%, rgba(1, 10, 19, 0.75) 45%, rgba(1, 10, 19, 0.25) 100%),
    var(--splash, none) center 20% / cover no-repeat,
    var(--bg-2);
  box-shadow: 0 0 30px rgba(200, 170, 110, 0.15);
  animation: banner-in 0.6s ease-out both;
}

@keyframes banner-in {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.banner-icon {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 16px rgba(200, 170, 110, 0.4);
}

.banner-text { flex: 1; min-width: 0; }

.banner-text h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ghost-btn {
  flex: none;
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: rgba(10, 20, 40, 0.75);
  color: var(--gold-light);
  cursor: pointer;
  transition: background 0.15s;
}

.ghost-btn:hover:not(:disabled) { background: #1e3a5a; }
.ghost-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.stage-title {
  margin: 0;
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- Build kártya ---------- */
.build-card {
  padding: 16px 18px 18px;
  border-top: 4px solid var(--build-color, var(--gold));
}

.build-card h2 {
  margin: 2px 0 0;
  font-size: 1.7rem;
  color: var(--gold-light);
}

.build-desc {
  margin: 4px 0 0;
  color: var(--text);
}

.build-section {
  margin: 18px 0 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.spell-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* Képességsorrend: billentyűsapkák nyilakkal. */
.skill-order {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-key {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold-dark);
  border-radius: 6px;
  background: linear-gradient(180deg, #1b2c46, #0b1626);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.45);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
}

.skill-key.is-ult {
  border-color: var(--gold);
  color: #f2d27a;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.45), 0 0 10px rgba(200, 170, 110, 0.35);
}

.skill-arrow { color: var(--gold); font-size: 1.1rem; }

.skill-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.spell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spell img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--gold-dark);
}

.rune-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rune-tree-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.rune-tree-head img { width: 20px; height: 20px; }

.rune-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.rune-row img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(1, 10, 19, 0.6);
  border: 1px solid var(--border);
}

.rune-row img.keystone {
  width: 48px;
  height: 48px;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.35);
}

.keystone-name {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--text);
}

/* A shard ikonok kisebbek (32 px), ezért kis belső margóval férnek a körbe. */
.rune-row.shard-row img { padding: 5px; border-color: var(--gold-dark); }

.muted { color: var(--muted); }

.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-list li div { display: flex; flex-direction: column; line-height: 1.25; }
.item-list small { color: var(--blue); font-size: 0.75rem; }
.item-list li.special-last { padding-bottom: 10px; border-bottom: 1px dashed var(--gold-dark); }

/* +1 csere opció: a tárgylista alatt, külön keretben. */
.alt-item {
  margin-top: 14px;
  padding: 10px 12px 12px;
  border: 1px dashed var(--gold-dark);
  border-radius: 8px;
  background: rgba(200, 170, 110, 0.04);
}

.alt-item[hidden] { display: none; }

.alt-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.alt-label small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.alt-item .item-list small { color: var(--gold); }

.item-list img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--gold-dark);
}

.result-title {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
}

/* ---------- Előzmények ---------- */
.history { padding: 14px 16px; }

.history-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.history-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--gold-light);
}

.link-btn {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
}

.link-btn:hover { color: var(--gold); }

.history-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Fülek és kedvencek ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* ---------- Ötletek ---------- */
.idea-intro {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--text);
}

.idea-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.idea-form label {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--gold-light);
}

.idea-form label span { color: var(--muted); }

.idea-form select,
.idea-form textarea,
.idea-form input[type="text"] {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(1, 10, 19, 0.6);
  color: var(--gold-light);
}

.idea-form textarea { resize: vertical; min-height: 90px; }

.idea-form select:focus,
.idea-form textarea:focus,
.idea-form input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
}

.idea-counter {
  margin: 0;
  align-self: flex-end;
  font-size: 0.72rem;
  color: var(--muted);
}

.idea-form .ghost-btn { margin-top: 10px; }

/* Spam-csapda mező: képernyőn kívül, de nem display:none, hogy a botok kitöltsék. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.idea-status { margin: 6px 0 0; min-height: 1.2em; font-size: 0.85rem; }
.idea-status.is-ok { color: var(--blue); }
.idea-status.is-error { color: var(--error); }

.idea-saved {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.idea-saved h4 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.idea-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.idea-list li {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.45);
}

.idea-list small { color: var(--blue); font-size: 0.75rem; }

.idea-list p {
  margin: 2px 0 4px;
  font-size: 0.9rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tab {
  font: inherit;
  font-size: clamp(0.78rem, 3vw, 0.9rem);
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.tab:hover { color: var(--gold-light); }
.tab[aria-selected="true"] { color: var(--gold-light); border-color: var(--gold-dark); background: rgba(30, 58, 90, 0.5); }
.tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.build-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: inherit;
  font-size: 0.8rem;
  padding: 3px 10px;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  background: none;
  color: var(--gold);
  cursor: pointer;
}

.fav-btn .star { font-size: 1rem; line-height: 1; }
.fav-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.fav-btn[aria-pressed="true"] { background: rgba(200, 170, 110, 0.15); border-color: var(--gold); color: var(--gold-light); }
.fav-btn[hidden] { display: none; }

.entry-item { position: relative; }

.entry-star {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--gold-dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.entry-star:hover { color: var(--gold); background: rgba(200, 170, 110, 0.1); }
.entry-star[aria-pressed="true"] { color: var(--gold-light); }
.entry-star:focus-visible { outline: 2px solid var(--blue); }

/* Szemetes: a csillag alatt, a kártya jobb szélén. */
.entry-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.entry-star + .entry-delete { top: 38px; }
.entry-delete svg { display: block; width: 100%; height: 100%; }
.entry-delete:hover { color: var(--error); background: rgba(224, 85, 85, 0.12); }
.entry-delete:focus-visible { outline: 2px solid var(--blue); }

/* Hely a jobb oldali gomboknak, hogy ne takarják a szöveget és az ikonokat. */
.entry-item .history-entry { padding-right: 42px; }

/* Minden bejegyzés egy külön, kattintható kártya. */
.history-entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.45);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.history-entry:hover { border-color: var(--gold-dark); background: rgba(30, 58, 90, 0.35); }
.history-entry:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.history-entry[aria-current="true"] {
  border-color: var(--gold);
  background: rgba(30, 58, 90, 0.5);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.25);
}

.history-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-head-row img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--gold-dark);
}

.history-head-row div { display: flex; flex-direction: column; line-height: 1.25; }
.history-head-row span { color: var(--gold-light); font-weight: 600; }
.history-head-row small { color: var(--blue); font-size: 0.8rem; }

.history-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.history-items img {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  border: 1px solid var(--gold-dark);
}

.history-empty {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Jobb felső eszközök: nyelv és hang ---------- */
.site-header { position: relative; }

.header-tools {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch { display: flex; gap: 6px; }

.lang-btn {
  display: block;
  width: 36px;
  height: 24px;
  padding: 0;
  border: 2px solid var(--gold-dark);
  border-radius: 4px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  filter: grayscale(0.6);
  transition: opacity 0.15s, filter 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.lang-btn svg { display: block; width: 100%; height: 100%; }
.lang-btn:hover { opacity: 0.9; filter: none; }

.lang-btn[aria-pressed="true"] {
  opacity: 1;
  filter: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.45);
  cursor: default;
}

body.lang-switching { cursor: progress; }
body.lang-switching main { opacity: 0.6; transition: opacity 0.2s; }

.sound-control { position: relative; }

.sound-btn {
  display: block;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
  background: rgba(10, 20, 40, 0.6);
  color: var(--gold-light);
  cursor: pointer;
  transition: border-color 0.15s;
}

.sound-btn:hover { border-color: var(--gold); }
.sound-btn[aria-pressed="false"] { color: var(--muted); }
.sound-btn svg { display: block; width: 100%; height: 100%; }
.sound-btn svg[hidden] { display: none; }

/* Hangerő-csúszka: a gomb alatt jelenik meg, ha fölé visszük az egeret.
   A felső belső margó "híd", hogy az egér átérjen a gombról a csúszkára. */
.volume-pop {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.sound-control:hover .volume-pop,
.sound-control:focus-within .volume-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.volume-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--gold-dark);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.volume-box input[type="range"] {
  width: 120px;
  accent-color: var(--gold);
  cursor: pointer;
}

.volume-value {
  min-width: 3.2em;
  text-align: right;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
}

/* ---------- Effektek ---------- */
.fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

.reveal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  background: radial-gradient(circle at center, rgba(10, 30, 55, 0.88), rgba(1, 10, 19, 0.96) 70%);
  cursor: pointer;
}

.reveal[hidden] { display: none; }

.reveal-rays {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 180vmax;
  height: 180vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(200, 170, 110, 0.13) 0deg 6deg, transparent 6deg 18deg);
  mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  opacity: 0;
}

.reveal-content {
  position: relative;
  text-align: center;
  width: min(100%, 760px);
}

.reveal-frame {
  position: relative;
  border: 3px solid var(--gold);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--gold-dark), 0 0 60px rgba(200, 170, 110, 0.45), 0 0 120px rgba(10, 200, 185, 0.2);
}

.reveal-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1215 / 717;
  object-fit: cover;
  background: var(--bg-2);
}

/* Fényvillanás végigsöpör a képen */
.reveal-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 245, 220, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
}

.reveal-frame[hidden],
.reveal-items[hidden] { display: none; }

.reveal-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
}

.reveal-items img {
  width: clamp(34px, 11vw, 80px);
  height: clamp(34px, 11vw, 80px);
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 22px rgba(200, 170, 110, 0.5);
}

.reveal-extras[hidden] { display: none; }

.reveal-extras {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.reveal-extras img {
  width: clamp(36px, 7vw, 48px);
  height: clamp(36px, 7vw, 48px);
  border-radius: 6px;
  border: 1px solid var(--gold-dark);
}

.reveal-extras img.rune {
  border-radius: 50%;
  background: rgba(1, 10, 19, 0.7);
  border-color: var(--gold);
}

.reveal.show .reveal-items img,
.reveal.show .reveal-extras img { animation: item-pop 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both; }

@keyframes item-pop {
  from { transform: scale(0) rotate(-25deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.reveal-label {
  margin: 18px 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
}

.reveal-name {
  margin: 4px 0 0;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #c8aa6e 0%, #f0e6d2 25%, #fff6dc 50%, #f0e6d2 75%, #c8aa6e 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(200, 170, 110, 0.5));
}

.reveal-title {
  margin: 4px 0 0;
  color: var(--gold);
  font-style: italic;
  font-size: 1.1rem;
}

.reveal-hint {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.reveal.show { animation: reveal-bg 0.4s ease-out both; }
.reveal.show .reveal-rays { animation: rays-in 0.8s ease-out 0.1s forwards, rays-spin 30s linear infinite; }
.reveal.show .reveal-frame { animation: frame-in 0.7s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
.reveal.show .reveal-frame img { animation: splash-zoom 5s ease-out both; }
.reveal.show .reveal-frame::after { animation: sweep 1.1s ease-in-out 0.55s; }
.reveal.show .reveal-label { animation: rise 0.5s ease-out 0.35s both; }
.reveal.show .reveal-name { animation: name-in 0.7s cubic-bezier(0.2, 1.2, 0.4, 1) 0.45s both, shimmer 2.5s linear 1.2s infinite; }
.reveal.show .reveal-title { animation: rise 0.5s ease-out 0.7s both; }
.reveal.show .reveal-hint { animation: rise 0.5s ease-out 1.4s both; }

@keyframes reveal-bg { from { opacity: 0; } to { opacity: 1; } }
@keyframes rays-in { to { opacity: 1; } }
@keyframes rays-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes frame-in {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes splash-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes rise {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes name-in {
  from { transform: scale(1.8); letter-spacing: 0.4em; opacity: 0; }
  to { transform: scale(1); letter-spacing: 0.06em; opacity: 1; }
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .reveal.show *,
  .reveal.show,
  .reveal.show .reveal-frame::after { animation: none !important; }
  .reveal-rays { opacity: 1; }
}

/* ---------- Build-javasló ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.no-scroll { overflow: hidden; }

.suggest-cta {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--gold-dark);
  border-radius: 10px;
  background: rgba(30, 58, 90, 0.35);
  text-align: center;
}

.suggest-cta p { margin: 0 0 8px; font-size: 0.9rem; color: var(--gold-light); }
.suggest-btn { width: 100%; margin-top: 16px; }

.editor {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(1, 10, 19, 0.85);
}

.editor[hidden] { display: none; }

.editor-panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 920px);
  max-height: calc(100vh - 32px);
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.editor-head,
.editor-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-2);
}

.editor-head { border-bottom: 1px solid var(--border); }
.editor-foot { border-top: 1px solid var(--border); justify-content: flex-end; flex-wrap: wrap; }
.editor-foot .idea-status { flex: 1; margin: 0; min-width: 160px; }

.editor-head h2 {
  flex: 1;
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.editor-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  background: none;
  color: var(--gold-light);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.editor-close:hover { border-color: var(--gold); }

.editor-body {
  overflow-y: auto;
  padding: 4px 16px 16px;
}

.editor-section {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.editor-section:last-child { border-bottom: none; }

.editor-section h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.editor-section h3 span { color: var(--muted); letter-spacing: 0; text-transform: none; }

.editor-hint { margin: 0 0 8px; font-size: 0.8rem; color: var(--muted); }
.editor-msg { margin: 6px 0 0; min-height: 1.2em; font-size: 0.85rem; color: var(--gold-light); }
.editor-msg.is-error { color: var(--error); }

.ed-sub { margin: 10px 0 6px; font-size: 0.8rem; color: var(--gold-light); }
.ed-sub span { color: var(--muted); }

.editor-section select,
.editor-section input[type="text"],
.editor-section textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(1, 10, 19, 0.6);
  color: var(--gold-light);
}

.editor-section textarea { resize: vertical; margin-bottom: 8px; }

.editor-section select:focus,
.editor-section input[type="text"]:focus,
.editor-section textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.editor-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-champ-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--gold);
}

.ed-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.ed-lane,
.ed-filter,
.ed-spell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 0.8rem;
  padding: 5px 10px;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.6);
  color: var(--muted);
  cursor: pointer;
}

.ed-lane img { width: 18px; height: 18px; }

.ed-lane[aria-pressed="true"],
.ed-filter[aria-pressed="true"],
.ed-spell[aria-pressed="true"] {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: #1e3a5a;
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.35);
}

.ed-slots {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ed-slot {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  overflow: hidden;
}

.ed-slot.empty {
  display: grid;
  place-items: center;
  border: 2px dashed var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.ed-slot button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.ed-slot img { display: block; width: 100%; height: 100%; }
.ed-slot button:hover img { opacity: 0.6; }

.ed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

#edItemSearch { margin-bottom: 8px; }

.ed-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.45);
}

.ed-item {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
}

.ed-item img { display: block; width: 100%; height: 100%; border-radius: 4px; }
.ed-item:hover { border-color: var(--gold); }
.ed-item.is-chosen { border-color: var(--gold-light); box-shadow: 0 0 10px rgba(200, 170, 110, 0.6); }
.ed-item.is-blocked { opacity: 0.3; filter: grayscale(1); }
.ed-item:focus-visible,
.ed-rune:focus-visible,
.ed-lane:focus-visible,
.ed-filter:focus-visible,
.ed-spell:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.ed-runes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ed-trees,
.ed-rune-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.ed-rune {
  width: 36px;
  height: 36px;
  padding: 3px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: rgba(1, 10, 19, 0.7);
  cursor: pointer;
}

.ed-rune img {
  display: block;
  width: 100%;
  height: 100%;
  filter: grayscale(0.7);
  opacity: 0.6;
}

.ed-rune.keystone { width: 50px; height: 50px; }
.ed-rune.tree { width: 34px; height: 34px; padding: 5px; }
.ed-rune-row.shard .ed-rune { width: 30px; height: 30px; padding: 5px; }
.ed-rune:hover img { opacity: 0.9; }

.ed-rune[aria-pressed="true"] {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.5);
}

.ed-rune[aria-pressed="true"] img { filter: none; opacity: 1; }

.ed-spells {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ed-spell { border-radius: 8px; padding: 4px 10px 4px 4px; }
.ed-spell img { width: 28px; height: 28px; border-radius: 4px; }

@media (max-width: 640px) {
  .editor { padding: 0; }
  .editor-panel { max-height: 100vh; height: 100%; border-radius: 0; }
  .ed-runes { grid-template-columns: 1fr; }
}

/* ---------- Lábléc ---------- */
.site-footer {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 16px 16px 28px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.site-footer p { margin: 0 0 6px; }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .banner-content { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .banner-icon { width: 64px; height: 64px; }
  .ghost-btn { width: 100%; }
  .site-header { padding-top: 58px; }
  .header-tools { top: 10px; right: 12px; gap: 10px; }
  .lang-btn { width: 33px; height: 22px; }
  .sound-btn { width: 38px; height: 38px; padding: 8px; }
}

/* ---------- Tárgy-tooltip ---------- */
.item-tip {
  position: fixed;
  z-index: 30;
  width: max-content;
  max-width: min(320px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  overflow: hidden;
  padding: 12px 14px;
  border: 1px solid var(--gold-dark);
  border-radius: 8px;
  background: rgba(1, 10, 19, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  color: #a09b8c;
  font-size: 0.82rem;
  line-height: 1.45;
  pointer-events: none;
}

.item-tip[hidden] { display: none; }

.tip-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(120, 90, 40, 0.5);
}

.tip-head img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
}

.tip-head strong { display: block; color: var(--gold-light); font-size: 0.95rem; }
.tip-gold { color: #e8c46a; font-size: 0.8rem; }

.tip-hint {
  margin: 8px 0 0;
  padding-top: 6px;
  border-top: 1px solid rgba(120, 90, 40, 0.5);
  color: var(--gold);
  font-style: italic;
}

/* A Riot leírásának címkéi (tt-<címke>), a játékbeli színekhez hasonlóan. */
.tip-body .tt-attention { color: var(--gold-light); font-weight: 700; }
.tip-body .tt-stats { color: var(--gold-light); }
.tip-body .tt-passive,
.tip-body .tt-active,
.tip-body .tt-unique { color: var(--gold); font-weight: 700; }
.tip-body .tt-magicdamage,
.tip-body .tt-scaleap { color: #b77cff; }
.tip-body .tt-physicaldamage,
.tip-body .tt-scalead,
.tip-body .tt-scalelethality,
.tip-body .tt-armorpen { color: #ff9a4d; }
.tip-body .tt-truedamage { color: #fff; }
.tip-body .tt-healing,
.tip-body .tt-health,
.tip-body .tt-scalehealth { color: #5fd47a; }
.tip-body .tt-shield { color: #c6d4e1; }
.tip-body .tt-scalemana { color: #4ea8ff; }
.tip-body .tt-scalearmor { color: #e8b04a; }
.tip-body .tt-scalemr { color: #9fb3ff; }
.tip-body .tt-lifesteal,
.tip-body .tt-omnivamp { color: #e85d7f; }
.tip-body .tt-speed,
.tip-body .tt-ms { color: #9de4ff; }
.tip-body .tt-attackspeed,
.tip-body .tt-onhit { color: #f5b041; }
.tip-body .tt-status,
.tip-body .tt-keyword,
.tip-body .tt-keywordmajor,
.tip-body .tt-keywordstealth,
.tip-body .tt-spellname { color: #f0d080; }
.tip-body .tt-raritylegendary,
.tip-body .tt-raritymythic,
.tip-body .tt-raritygeneric { color: #e88b4a; }
.tip-body .tt-rules,
.tip-body .tt-flavortext { color: #7b7f88; font-style: italic; }
.tip-body .tt-li { display: block; padding-left: 10px; }

/* A build kártyán a tárgysor kijelölhető (billentyűzettel is), és jelzi, hogy van tooltipje. */
.item-list li[data-item-id] { cursor: help; border-radius: 6px; }
.item-list li[data-item-id]:hover,
.item-list li[data-item-id]:focus-visible { background: rgba(200, 170, 110, 0.08); outline: none; }
.history-items img[data-item-id] { cursor: help; }
