:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1b1f24;
  --muted: #5d6673;
  --border: #d8dce2;
  --accent: #1a6fd1;
  --exact: #1f7a3a;
  --exact-bg: #e3f4e8;
  --estimate: #8a5a00;
  --estimate-bg: #fff2d6;
  --unavailable: #59616c;
  --unavailable-bg: #e9ebee;
  --error-bg: #fde8e8;
  --error: #9b1c1c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --card: #1d2127;
    --text: #e6e9ed;
    --muted: #9aa3ae;
    --border: #333a43;
    --accent: #6aa8f0;
    --exact: #7fd49a;
    --exact-bg: #1d3626;
    --estimate: #f0c56a;
    --estimate-bg: #3a2f17;
    --unavailable: #b1b8c1;
    --unavailable-bg: #2c3138;
    --error-bg: #3d1f1f;
    --error: #f4a5a5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lang-switch { display: inline-flex; flex: none; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-switch button {
  padding: 4px 10px;
  border: 0;
  border-radius: 0;
  background: var(--card);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-switch button + button { border-left: 1px solid var(--border); }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--text); }
h1 { margin: 0 0 4px; }
h2 { margin: 0 0 12px; font-size: 1.2rem; }
a { color: var(--accent); }
code { font-size: 0.9em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

form { display: flex; gap: 8px; margin-top: 16px; }
form.inline { align-items: center; margin: 0 0 12px; flex-wrap: wrap; }
input, select, button {
  font: inherit;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
}
input { flex: 1; min-width: 0; }
button { background: var(--accent); border-color: var(--accent); color: #fff; cursor: pointer; }
button:disabled { opacity: 0.6; cursor: progress; }
button.secondary { background: var(--card); color: var(--accent); }

section, .error, .note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}
.error { background: var(--error-bg); color: var(--error); border-color: transparent; }

.profile-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.profile-head img { border-radius: 6px; background: var(--unavailable-bg); }
.profile-head h2 { margin: 0; font-size: 1.5rem; word-break: break-word; }
.profile-title { flex: 1; min-width: 0; }
.copy-line { display: flex; align-items: center; gap: 4px; min-width: 0; }

/* Kopírování: nenápadná ikonka, po kliknutí fajfka a krátký popisek. */
.copy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  vertical-align: middle;
  cursor: pointer;
}
.copy-btn:hover, .copy-btn:focus-visible { color: var(--accent); background: var(--unavailable-bg); }
.copy-btn.copied { color: var(--exact); }
.copy-btn.copied::after {
  content: attr(data-copied-label);
  position: absolute;
  left: 100%;
  margin-left: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--exact);
  pointer-events: none;
}
.aliases { margin: 0; padding-left: 0; list-style: none; }
/* Přezdívka (a čas změny) zabírá zbytek řádku, tlačítko kopírování je na jeho konci.
   Popisek „Zkopírováno“ je uvnitř tlačítka, takže nic nepřekrývá – nanejvýš zúží text. */
.aliases li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 3px 0;
  border-bottom: 1px solid var(--border);
}
.aliases li:last-child { border-bottom: 0; }
.alias-text { min-width: 0; flex: 0 1 auto; overflow-wrap: anywhere; }
.alias-when { margin-left: 6px; }
.aliases .copy-btn { margin-left: 0; }
.aliases .copy-btn.copied { width: auto; gap: 4px; padding: 0 6px; }
.aliases .copy-btn.copied::after { position: static; margin-left: 0; }

/* Avatar: tlačítko pro stažení se ukáže při najetí myší (na dotykových zařízeních je vidět vždy). */
.avatar-wrap { position: relative; flex: none; line-height: 0; }
.avatar-download {
  position: absolute;
  right: 4px;
  bottom: 4px;
  opacity: 0;
  transition: opacity 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
}
.avatar-download:hover, .avatar-download:focus-visible { background: var(--accent); }
.avatar-wrap:hover .avatar-download, .avatar-download:focus-visible { opacity: 1; }
@media (hover: none) { .avatar-download { opacity: 0.85; } }

/* Úroveň Steamu vpravo od avataru, svisle na jeho středu – podle odznaku úrovně na Steamu. */
.profile-level { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.level-line { display: flex; align-items: center; gap: 8px; }
/* Postup k dalšímu levelu pod odznakem; celkové XP na konci ukazatele. */
.xp { width: 220px; font-size: 0.8rem; }
.xp-line { display: flex; align-items: center; gap: 8px; }
.xp-line .meter { flex: 1; }
.xp-total { white-space: nowrap; font-variant-numeric: tabular-nums; }
.xp-text { color: var(--muted); text-align: right; }
.level-label { color: var(--muted); font-size: 1.05rem; }
.level-badge {
  --lvl: #9b9b9b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 4px;
  border: 2px solid var(--lvl);
  border-radius: 50%;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* Barvy desítek jako na Steamu (0–9 šedá, 10–19 červená, …). */
.level-badge.lvl-1 { --lvl: #c02942; }
.level-badge.lvl-2 { --lvl: #d95b43; }
.level-badge.lvl-3 { --lvl: #fecc23; }
.level-badge.lvl-4 { --lvl: #467a3c; }
.level-badge.lvl-5 { --lvl: #4e8ddb; }
.level-badge.lvl-6 { --lvl: #7652c9; }
.level-badge.lvl-7 { --lvl: #c252c9; }
.level-badge.lvl-8 { --lvl: #542437; }
.level-badge.lvl-9 { --lvl: #997c52; }
/* Od úrovně 100 má Steam odznak jiného tvaru. */
.level-badge.lvl-plus { border-radius: 8px; border-width: 3px; border-style: double; min-width: 44px; }

.captcha { margin: 12px 0 0; }
.captcha p { margin: 0 0 6px; }
.profile-head a { word-break: break-all; }

.fields { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.fields dt { color: var(--muted); }
.fields dd { margin: 0; word-break: break-word; }

/* Vodorovný ukazatel (podíl hraných her, XP). Význam nese i text vedle něj. */
.meter { display: block; height: 6px; background: var(--unavailable-bg); border-radius: 3px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--accent); }
.played { display: flex; flex-direction: column; gap: 4px; max-width: 360px; }

/* Bany: symbol + text, barva jen doplňuje. */
.ban-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ban-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
}
.ban-state.clean { color: var(--exact); }
.ban-state.clean .ban-icon { background: var(--exact-bg); }
.ban-state.banned { color: var(--error); }
.ban-state.banned .ban-icon { background: var(--error-bg); }
.ban-state.warn { color: var(--estimate); }
.ban-state.warn .ban-icon { background: var(--estimate-bg); }
.ban-state.unknown { color: var(--unavailable); font-weight: normal; }
.ban-state.unknown .ban-icon { background: var(--unavailable-bg); }
.bans-foot { margin: 12px 0 0; }
.bans-foot .detail { margin-top: 2px; }
.detail { display: block; color: var(--muted); font-size: 0.8rem; }

footer { margin-top: 32px; }

@media (max-width: 560px) {
  form:not(.inline) { flex-direction: column; }
  .profile-head { gap: 12px; }
  .profile-head img { width: 64px; height: 64px; }
  .profile-head h2 { font-size: 1.2rem; }
  .level-label { display: none; }
  /* S ukazatelem XP se úroveň přesune pod jméno přes celou šířku. */
  .profile-head { flex-wrap: wrap; }
  .profile-level.has-xp { flex-basis: 100%; align-items: stretch; }
  .profile-level.has-xp .level-label { display: inline; font-size: 0.9rem; }
  .profile-level.has-xp .xp { width: 100%; }
  .profile-level.has-xp .xp-text { text-align: left; }
  .fields { grid-template-columns: 1fr; }
  .fields dt { margin-top: 6px; }
}

/* ---------------------------------------------------------------- nástroje */

.toolbar { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.toolbar .grow { flex: 1; min-width: 160px; }
.placeholder { background: linear-gradient(135deg, var(--unavailable-bg), var(--border)); }

/* ---------------------------------------------------------------- hry */

.game-list {
  max-height: 640px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.game-row {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 8px 12px 8px 8px;
  border-bottom: 1px solid var(--border);
}
.game-row:last-child { border-bottom: 0; }
.game-row:hover { background: var(--unavailable-bg); }
.game-capsule { width: 120px; height: 45px; object-fit: cover; border-radius: 3px; display: block; }
.game-main { min-width: 0; }
.game-name { font-weight: 600; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-name:hover { text-decoration: underline; }
.game-meta { color: var(--muted); font-size: 0.8rem; }
.playbar { height: 4px; background: var(--unavailable-bg); border-radius: 2px; margin-top: 4px; overflow: hidden; }
.playbar span { display: block; height: 100%; background: var(--accent); }
.game-hours { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; min-width: 70px; }
.game-price { display: flex; gap: 6px; align-items: center; justify-content: flex-end; white-space: nowrap; min-width: 120px; font-size: 0.9rem; }
.discount { background: #4c6b22; color: #beee11; padding: 0 5px; border-radius: 2px; font-size: 0.8rem; font-weight: 600; }

/* ---------------------------------------------------------------- inventář (ve stylu Steamu) */

.inv-shell {
  --scroll-track: #16202d;
  --scroll-thumb: #3d5a73;
  --scroll-thumb-hover: #66c0f4;
  background: #1b2838;
  color: #c6d4df;
  border-radius: 6px;
  padding: 10px 12px 8px;
  margin-top: 12px;
}
.inv-shell .toolbar { margin: 0 0 10px; align-items: center; }
.inv-shell input, .inv-shell select { background: #0e1620; border-color: #2a3f55; color: #c6d4df; }
.inv-count { color: #8f98a0; font-size: 0.85rem; white-space: nowrap; }
.inv-hint { margin: 8px 0 0; color: #8f98a0; font-size: 0.8rem; }
.inv-hint .hint-steam { color: #a4d007; font-weight: 600; }
.inv-hint .hint-alt { color: #e4c56a; font-weight: 600; }
.inv-shell .empty { grid-column: 1 / -1; color: #8f98a0; }

/* Pevná velikost dlaždic – obrázky se nikdy nepřekrývají. */
.inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  grid-auto-rows: 116px;
  gap: 6px;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 3px 8px 3px 3px;
}
.tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  font: inherit;
  border: 1px solid #2f4052;
  border-bottom: 3px solid var(--rarity, #4b5a69);
  border-radius: 3px;
  background: radial-gradient(circle at 50% 38%, #3d4c5c 0%, #232f3c 72%);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.08s, border-color 0.08s;
}
.tile:hover { border-color: #8fa5ba; border-bottom-color: var(--rarity, #8fa5ba); transform: translateY(-1px); }
.tile:focus-visible, .tile.selected { outline: 2px solid #66c0f4; outline-offset: 1px; }
.tile .tile-img {
  position: absolute;
  left: 8px;
  top: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 40px);
  object-fit: contain;
  background: none;
}
.tile span { position: absolute; font-size: 0.68rem; line-height: 1.25; padding: 0 4px; border-radius: 2px; white-space: nowrap; }
.tile-st { top: 3px; left: 3px; color: #cf6a32; font-weight: 700; background: rgba(0, 0, 0, 0.55); }
.tile-count { top: 3px; right: 3px; background: rgba(0, 0, 0, 0.55); }
.tile-float { bottom: 19px; left: 0; right: 0; text-align: center; color: #8f98a0; }
.tile-price { bottom: 2px; left: 3px; right: 3px; text-align: center; font-weight: 600; color: #a4d007; background: rgba(0, 0, 0, 0.45); overflow: hidden; text-overflow: ellipsis; }
.tile-price.alt { color: #e4c56a; }
.tile-price.none { color: #67707b; font-weight: 400; }

.inv-progress { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.inv-progress .bar { flex: 0 0 160px; height: 6px; border-radius: 3px; background: var(--unavailable-bg); overflow: hidden; }
.inv-progress .bar span { display: block; height: 100%; background: var(--accent); transition: width 0.3s; }
.inv-progress.warn { color: var(--estimate); }
.inv-progress.warn .bar span { background: var(--estimate); }
.inv-progress.waiting .bar span { transition: width 0.25s linear; }
.inv-progress .bar.estimate span {
  background: repeating-linear-gradient(-45deg, var(--estimate) 0 6px, transparent 6px 10px);
}
.inv-progress.done { color: var(--exact); }
.small-btn { padding: 3px 10px; font-size: 0.85rem; }
.inv-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 12px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- popup s detailem předmětu */

.item-dialog {
  --scroll-track: #16202d;
  --scroll-thumb: #3d5a73;
  --scroll-thumb-hover: #66c0f4;
  width: min(860px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid #2f4052;
  border-radius: 8px;
  background: #16202d;
  color: #c6d4df;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: auto;
}
.item-dialog::backdrop { background: rgba(5, 10, 16, 0.72); backdrop-filter: blur(2px); }
.item-dialog a { color: #66c0f4; }
.dialog-inner { padding: 0 18px 18px; }
.dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  background: #16202d;
}
.dialog-bar .muted { color: #8f98a0; }
.dialog-nav { display: flex; gap: 6px; }
.icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #2f4052;
  border-radius: 4px;
  background: #1b2838;
  color: #c6d4df;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.icon-btn:hover:not(:disabled) { border-color: #66c0f4; color: #fff; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.dialog-head { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.item-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  border-bottom: 3px solid var(--rarity, #4b5a69);
  border-radius: 4px;
  background: radial-gradient(circle at 50% 40%, #3d4c5c 0%, #1b2838 75%);
}
.item-hero .hero-img { max-width: 92%; max-height: 170px; object-fit: contain; }
.item-hero .placeholder { width: 60%; height: 60%; background: none; }
.item-title h3 { margin: 0 0 2px; font-size: 1.3rem; color: #fff; word-break: break-word; }
.item-type { margin: 0 0 10px; color: var(--rarity, #8f98a0); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { font-size: 0.78rem; padding: 2px 8px; border-radius: 999px; background: #1b2838; border: 1px solid #2f4052; }
.chip.st { color: #cf6a32; border-color: #cf6a32; }
.chip.souvenir { color: #ffd700; border-color: #b39400; }
.item-links { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-link {
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #799905 5%, #536904 95%);
  color: #fff !important;
  text-decoration: none;
}
.btn-link.alt { background: linear-gradient(to bottom, #2a475e 5%, #1e3549 95%); color: #66c0f4 !important; }
.btn-link:hover { filter: brightness(1.2); }
.section-title { margin: 18px 0 8px; font-size: 0.95rem; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; }

.table-scroll { overflow-x: auto; border: 1px solid #2f4052; border-radius: 4px; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.detail-table th, .detail-table td { padding: 7px 10px; border-bottom: 1px solid #22303f; text-align: left; vertical-align: top; }
.detail-table tbody tr:last-child > * { border-bottom: 0; }
.detail-table tbody tr:nth-child(odd) { background: #1b2838; }
.detail-table tbody th { color: #8f98a0; font-weight: 400; width: 190px; white-space: nowrap; }
.detail-table thead th { color: #8f98a0; font-weight: 600; font-size: 0.78rem; background: #121a24; white-space: nowrap; }
.detail-table.prices tbody th { color: #fff; font-weight: 600; width: auto; }
.detail-table .num { text-align: right; white-space: nowrap; }
.detail-table td .detail { white-space: normal; }
.detail-table td.updated { min-width: 80px; }
.detail-table .strong { color: #a4d007; font-weight: 600; }
.value-line { display: flex; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.value-line > div:first-child { flex: 0 1 auto; min-width: 0; }
.detail-table .link { text-align: right; }
.detail-table .nowrap { white-space: nowrap; }
.detail-table code { color: #fff; font-size: 0.9rem; }
.item-dialog .detail, .item-dialog .muted { color: #8f98a0; }
.item-dialog details { margin-top: 12px; font-size: 0.85rem; }
.item-dialog summary { cursor: pointer; color: #8f98a0; }
.accessories { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.accessories li { display: flex; align-items: center; gap: 8px; }
.accessories .acc-img { width: 44px; height: 33px; flex: none; object-fit: contain; }
.accessories .placeholder { background: none; }
.item-desc { white-space: pre-line; font-size: 0.82rem; color: #8f98a0; }

.wearbar { position: relative; display: flex; width: 320px; max-width: 100%; height: 12px; margin-top: 6px; border-radius: 2px; font-size: 0.55rem; line-height: 12px; color: rgba(0, 0, 0, 0.7); text-align: center; }
.wearbar span { overflow: hidden; }
.wear-FN { background: #3e9e4f; }
.wear-MW { background: #7cbd3c; }
.wear-FT { background: #d8c03a; }
.wear-WW { background: #e08a2e; }
.wear-BS { background: #c8463a; }
.wearbar i { position: absolute; top: -3px; width: 2px; height: 18px; background: #fff; box-shadow: 0 0 2px #000; transform: translateX(-1px); }

/* ---------------------------------------------------------------- scrollbary */

:root {
  --scroll-track: transparent;
  --scroll-thumb: #c3cad3;
  --scroll-thumb-hover: var(--accent);
}
@media (prefers-color-scheme: dark) {
  :root { --scroll-thumb: #3a424c; }
}
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--scroll-track); border-radius: 8px; }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

@media (max-width: 760px) {
  .game-row { grid-template-columns: 80px 1fr auto; }
  .game-capsule { width: 80px; height: 30px; }
  .game-price { grid-column: 2 / -1; justify-content: flex-start; min-width: 0; }
  .inv-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); grid-auto-rows: 100px; max-height: 60vh; }
  .dialog-head { grid-template-columns: 1fr; }
  .item-hero { height: 160px; }
  .dialog-inner { padding: 0 12px 14px; }
  /* Vlastnosti: popisek nad hodnotou, ať se tabulka vejde na úzký displej. */
  .detail-table:not(.prices) tr { display: block; padding: 6px 10px; border-bottom: 1px solid #22303f; }
  .detail-table:not(.prices) tbody th, .detail-table:not(.prices) td { display: block; width: auto; padding: 0; border: 0; white-space: normal; }
  .detail-table:not(.prices) tbody th { font-size: 0.78rem; margin-bottom: 2px; }
  /* Tabulka cen jako karty: každý údaj na vlastním řádku s popiskem. */
  .detail-table.prices thead { display: none; }
  .detail-table.prices tr { display: block; padding: 8px 10px; border-bottom: 1px solid #22303f; }
  .detail-table.prices tbody th, .detail-table.prices td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; width: auto; text-align: right; }
  .detail-table.prices tbody th { justify-content: flex-start; align-items: center; gap: 8px; }
  .detail-table.prices td::before { content: attr(data-label); color: #8f98a0; text-align: left; }
  .detail-table.prices td.wide { display: block; text-align: left; }
}

/* Kopírovatelné štítky (float, pattern, wear): po kliknutí se jen lehce změní barva. */
button.chip { font: inherit; font-size: 0.78rem; color: inherit; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
button.chip:hover, button.chip:focus-visible { border-color: #66c0f4; }
button.chip.copied { background: #2d4a1e; border-color: #a4d007; color: #a4d007; }

/* Ceny nálepek a přívěsků: sloupce obrázek | název | Skinport | CSFloat sdílí všechny řádky. */
.accessories { grid-template-columns: 44px minmax(0, 1fr) max-content max-content; column-gap: 8px; align-items: center; }
.accessories li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; }
.acc-name { min-width: 0; }
.acc-prices { display: contents; }
.acc-price { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; white-space: nowrap; }
.mk-icon { width: 14px; height: 14px; flex: none; }
