/* P3 Telemetria – profil gracza WebiGames. Prefiks .t- (rama huba nietknięta). */
@font-face {
  font-family: 'Saira Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/saira-condensed-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Saira Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/saira-condensed-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.t-wrap {
  --t-panel: #0a0d16;
  --t-line: #1e2639;
  --t-line2: #2f3854;
  --t-text: #e9ecf4;
  --t-mut: #98a0b4;
  --t-vio: #8b5cf6;
  --t-vio-t: #bda9ff;
  --t-go: #4ade80;
  --t-dia: #22d3ee;
  --t-sz: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --t-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  min-height: 100dvh;
  padding: 12px 12px calc(28px + var(--sab));
  font: 13px/1.5 var(--t-mono);
  color: var(--t-text);
  background-color: rgba(5, 7, 12, 0.8);
  /* siatka milimetrowa jako SVG (bez gradientów) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M8.5 0V40M16.5 0V40M24.5 0V40M32.5 0V40M0 8.5H40M0 16.5H40M0 24.5H40M0 32.5H40' stroke='%23ffffff' stroke-opacity='.025'/%3E%3Cpath d='M.5 0V40M0 .5H40' stroke='%238b5cf6' stroke-opacity='.11'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}
.t-in { max-width: 1440px; margin: 0 auto; }
.t-wrap a { color: var(--t-vio-t); }
.t-wrap :focus-visible { outline: 2px solid var(--t-vio-t); outline-offset: 2px; }
.t-wrap [hidden] { display: none !important; }
.t-wrap td, .t-num { font-variant-numeric: tabular-nums; }
.t-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-go { color: var(--t-go); }
.t-mut { color: var(--t-mut); }
.t-nil { color: #5f6880; }
.t-dia { width: 0.8em; height: 0.8em; color: var(--t-dia); flex: none; vertical-align: -0.04em; }
.t-sq { display: inline-block; width: 8px; height: 8px; background: var(--c); flex: none; }

/* ---------- nagłówek: niski pas, karbon tylko z prawej ---------- */
.t-head { position: relative; overflow: hidden; background: #06070c; border-bottom: 1px solid var(--t-line2); }
.t-head-img {
  position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 100% 80%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.t-head-in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; align-items: center; padding: 14px 12px; }
.t-av { position: relative; width: 60px; height: 60px; }
.t-av img { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--t-line2); }
.t-cam {
  position: absolute; right: -10px; bottom: -10px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  background: #0a0d16; border: 1px solid var(--t-line2); color: var(--t-text); cursor: pointer;
}
.t-cam svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.t-cam:hover { border-color: var(--t-vio); }
.t-nick { margin: 0; font: 600 38px/0.95 var(--t-sz); letter-spacing: 0.005em; overflow-wrap: anywhere; }
.t-stamp { margin-top: 6px; font-size: 11px; color: var(--t-mut); font-variant-numeric: tabular-nums; }
.t-stamp b { font-weight: 400; color: var(--t-text); }
.t-meta { grid-column: 1 / -1; list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--t-line); }
.t-meta li { padding: 7px 0 0; font-size: 12px; color: var(--t-mut); }
.t-meta li b { font-weight: 400; color: var(--t-text); }

/* ---------- zakładki + przełączniki ---------- */
.t-bar { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--t-line); }
.t-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
.t-tabs::-webkit-scrollbar { display: none; }
.t-tabs a {
  position: relative; flex: none; min-height: 46px; display: flex; align-items: center; padding: 0 14px;
  font-size: 12.5px; color: var(--t-mut); text-decoration: none; white-space: nowrap;
}
.t-tabs a:first-child { padding-left: 0; }
.t-tabs a:hover { color: var(--t-text); }
.t-tabs a[aria-current='page'] { color: var(--t-text); }
.t-tabs a[aria-current='page']::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--t-vio); }
.t-tabs a[aria-current='page']:first-child::after { left: 0; }
.t-ctrl { display: flex; width: 100%; border-top: 1px solid var(--t-line); }
.t-btn {
  min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 0;
  font: 12.5px/1.2 var(--t-mono); color: var(--t-text); background: transparent; border: 0; cursor: pointer; border-radius: 0; text-decoration: none;
}
.t-btn + .t-btn { margin-left: auto; padding: 0 0 0 14px; }
.t-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.t-btn:hover { color: var(--t-vio-t); }
.t-sw { width: 30px; height: 14px; border: 1px solid var(--t-line2); position: relative; flex: none; }
.t-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; background: var(--t-mut); }
[aria-checked='true'] .t-sw { border-color: var(--t-go); }
[aria-checked='true'] .t-sw::after { left: 18px; background: var(--t-go); }
.t-note { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--t-line); font-size: 12px; }

/* ---------- poziom: jedna podziałka na całą szerokość ---------- */
.t-lvl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 14px 0 12px; border-bottom: 1px solid var(--t-line); }
.t-lvl-a, .t-lvl-b { font: 600 18px/1 var(--t-sz); font-variant-numeric: tabular-nums; }
.t-lvl-a small, .t-lvl-b small { font: 11px var(--t-mono); color: var(--t-mut); margin-right: 4px; }
.t-lvl-b { color: var(--t-mut); }
.t-lvl-bar {
  position: relative; height: 8px; border: 1px solid var(--t-line2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cg stroke='%23ffffff' stroke-opacity='.18'%3E%3Cline x1='10%25' x2='10%25' y1='0' y2='100%25'/%3E%3Cline x1='20%25' x2='20%25' y1='0' y2='100%25'/%3E%3Cline x1='30%25' x2='30%25' y1='0' y2='100%25'/%3E%3Cline x1='40%25' x2='40%25' y1='0' y2='100%25'/%3E%3Cline x1='50%25' x2='50%25' y1='0' y2='100%25'/%3E%3Cline x1='60%25' x2='60%25' y1='0' y2='100%25'/%3E%3Cline x1='70%25' x2='70%25' y1='0' y2='100%25'/%3E%3Cline x1='80%25' x2='80%25' y1='0' y2='100%25'/%3E%3Cline x1='90%25' x2='90%25' y1='0' y2='100%25'/%3E%3C/g%3E%3C/svg%3E");
}
.t-lvl-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--t-vio); }
.t-lvl-bar b { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--t-text); }
.t-lvl-info { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-size: 12px; color: var(--t-mut); font-variant-numeric: tabular-nums; }
.t-lvl-info b { font-weight: 400; color: var(--t-text); }

/* ---------- linia odczytów ---------- */
.t-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--t-line); }
.t-tl li { padding: 10px 0 11px; min-width: 0; border-top: 1px solid var(--t-line); }
.t-tl li:nth-child(-n+2) { border-top: 0; }
.t-tl li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--t-line); }
.t-tl-v { display: flex; align-items: baseline; gap: 3px; font: 600 24px/1.05 var(--t-sz); font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-tl-v .t-dia { width: 15px; height: 15px; align-self: center; }
.t-u { font: 12px/1 var(--t-mono); color: var(--t-mut); margin-right: 3px; }
.t-tl-l { font-size: 11px; color: var(--t-mut); }
.t-tl--owner li:first-child { grid-column: 1 / -1; }
.t-tl--owner li:first-child ~ li:nth-child(odd) { padding-left: 14px; border-left: 1px solid var(--t-line); }
.t-tl--owner li:first-child ~ li:nth-child(even) { padding-left: 0; border-left: 0; }
.t-tl--owner li:nth-child(2) { border-top: 1px solid var(--t-line); }

/* ---------- sekcje (linie zamiast pudełek) ---------- */
.t-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
.t-s { padding: 18px 0 16px; border-bottom: 1px solid var(--t-line); min-width: 0; }
.t-s h2 { margin: 0 0 10px; font: 600 22px/1.1 var(--t-sz); letter-spacing: 0.01em; }
.t-s h2 small { font: 12px var(--t-mono); color: var(--t-mut); margin-left: 8px; letter-spacing: 0; }
.t-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }

/* wykres czasu gry – bohater */
.t-ch-head, .t-ch-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; }
.t-ch-head { display: none; }
.t-ch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--t-line2); }
.t-ch-list + .t-ch-list { border-top: 0; }
.t-ch-row { padding: 7px 0 8px; border-bottom: 1px solid rgba(30, 38, 57, 0.8); font-size: 13px; }
.t-ch-n { color: var(--t-mut); font-size: 11px; font-variant-numeric: tabular-nums; }
.t-ch-t { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
.t-ch-t span { overflow: hidden; text-overflow: ellipsis; }
.t-ch-v { grid-row: 1; grid-column: 3; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-ch-p { display: none; }
.t-ch-b {
  grid-column: 2 / -1; grid-row: 2; position: relative; height: 10px; margin-top: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cg stroke='%23ffffff' stroke-opacity='.07'%3E%3Cline x1='.5' x2='.5' y1='0' y2='100%25'/%3E%3Cline x1='18.75%25' x2='18.75%25' y1='0' y2='100%25'/%3E%3Cline x1='37.5%25' x2='37.5%25' y1='0' y2='100%25'/%3E%3Cline x1='56.25%25' x2='56.25%25' y1='0' y2='100%25'/%3E%3Cline x1='75%25' x2='75%25' y1='0' y2='100%25'/%3E%3Cline x1='93.75%25' x2='93.75%25' y1='0' y2='100%25'/%3E%3C/g%3E%3C/svg%3E");
}
.t-ch-b i { position: absolute; left: 0; top: 2px; height: 6px; min-width: 2px; background: var(--c); }
.t-ch-row--top .t-ch-n { color: var(--t-vio-t); }
.t-ch-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; margin-top: 10px; }
.t-ch-toggle { min-height: 44px; padding: 0 14px; border: 1px solid var(--t-line2); background: transparent; color: var(--t-text); font: 12px var(--t-mono); cursor: pointer; border-radius: 0; }
.t-ch-toggle:hover { border-color: var(--t-vio); }
.t-ch-note { width: 100%; font-size: 11px; color: var(--t-mut); }

/* nagroda, rating, ranking */
.t-rw-v { display: flex; gap: 18px; margin: 2px 0 10px; font: 600 28px/1 var(--t-sz); font-variant-numeric: tabular-nums; }
.t-rw-v span { display: flex; align-items: center; gap: 4px; }
.t-rw-v .t-dia { width: 17px; height: 17px; }
.t-rw p, .t-rt p { margin: 0 0 10px; font-size: 12px; color: var(--t-mut); }
.t-rw button { width: 100%; min-height: 46px; border: 1px solid var(--t-line2); background: transparent; color: var(--t-mut); font: 12px var(--t-mono); border-radius: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.t-rw button svg { width: 14px; height: 14px; stroke: var(--t-go); fill: none; stroke-width: 1.6; }
.t-rt-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.t-rt-v { font: 600 40px/0.95 var(--t-sz); font-variant-numeric: tabular-nums; }
.t-rt-wrp { font-size: 13px; font-variant-numeric: tabular-nums; }
.t-q { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 11px; color: var(--t-mut); }
.t-q-seg { display: flex; gap: 3px; }
.t-q-seg i { width: 9px; height: 9px; border: 1px solid var(--t-line2); }
.t-q-seg i.on { background: var(--t-vio); border-color: var(--t-vio); }
.t-rk { list-style: none; margin: 0; padding: 0; }
.t-rk li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 3px 8px; align-items: baseline; padding: 6px 0; font-size: 12.5px; }
.t-rk li > span:first-child { color: var(--t-mut); font-variant-numeric: tabular-nums; }
.t-rk .t-me { color: var(--t-vio-t); }
.t-rk i { grid-column: 2 / -1; display: block; height: 2px; background: var(--t-line); }
.t-rk i b { display: block; height: 100%; background: var(--t-vio); min-width: 2px; }
.t-rk-gap { margin: 4px 0 0; font-size: 11px; color: var(--t-mut); }

/* rekordy */
.t-tbl-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
.t-tbl { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 12.5px; }
.t-tbl th { padding: 7px 10px; font-weight: 400; font-size: 11px; color: var(--t-mut); text-align: right; border-bottom: 1px solid var(--t-line2); white-space: nowrap; }
.t-tbl td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--t-line); white-space: nowrap; }
.t-tbl th:first-child, .t-tbl td:first-child { text-align: left; padding-left: 0; }
.t-tbl td:first-child span { display: inline-flex; align-items: center; gap: 8px; }
.t-tbl-note { margin: 8px 0 0; font-size: 11px; color: var(--t-mut); }

/* ostatnio grane */
.t-log { list-style: none; margin: 0; padding: 0; }
.t-log > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--t-line); }
.t-log > li:last-child { border-bottom: 0; }
.t-log-d { font: 600 16px/1.3 var(--t-sz); font-variant-numeric: tabular-nums; }
.t-log ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; }
.t-log ul li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; }

/* osiągnięcia */
.t-feat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 8px 0 10px 14px; margin-bottom: 8px; border-left: 2px solid var(--t-vio); }
.t-feat strong { display: block; font: 600 24px/1.1 var(--t-sz); }
.t-feat small { display: block; font-size: 11px; color: var(--t-vio-t); }
.t-feat p { margin: 2px 0 0; font-size: 12px; color: var(--t-mut); }
.t-feat svg { width: 40px; height: 40px; fill: none; stroke: var(--t-vio-t); stroke-width: 1; }
.t-ach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 28px; }
.t-a { padding: 9px 0 10px; border-top: 1px solid var(--t-line); min-width: 0; }
.t-a-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--t-mut); font-variant-numeric: tabular-nums; }
.t-a strong { display: block; margin-top: 2px; font: 600 17px/1.15 var(--t-sz); }
.t-a p { margin: 2px 0 0; font-size: 11.5px; color: var(--t-mut); }
.t-a .t-lm { display: block; height: 2px; margin-top: 8px; background: var(--t-line2); }
.t-a .t-lm i { display: block; height: 100%; background: var(--t-vio); }
.t-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12.5px; }
.t-items li span { color: var(--t-mut); }

/* stopka */
.t-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding-top: 8px; font-size: 11px; color: var(--t-mut); }
.t-foot nav { display: flex; gap: 16px; }
.t-foot a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- profil publiczny ---------- */
.t-pubbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 12px; margin-bottom: 12px; border: 1px solid rgba(139, 92, 246, 0.6); background: rgba(139, 92, 246, 0.12); font-size: 12px; }
.t-pubbar strong { font: 600 18px/1.2 var(--t-sz); }
.t-pubbar-a { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.t-pubbar-a a { flex: 1 1 auto; justify-content: center; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--t-line2); background: var(--t-panel); color: var(--t-text); text-decoration: none; }
.t-seg { display: inline-flex; border: 1px solid var(--t-line2); background: var(--t-panel); }
.t-seg button { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--t-mut); font: 12px var(--t-mono); cursor: pointer; border-radius: 0; }
.t-seg button + button { border-left: 1px solid var(--t-line2); }
.t-seg button[aria-pressed='true'] { color: #0a0d16; background: var(--t-vio-t); }
.t-priv { padding: 26px 0 22px; border-bottom: 1px solid var(--t-line); }
.t-priv svg { display: block; width: 100%; max-width: 560px; height: auto; margin-bottom: 16px; }
.t-priv h2 { margin: 0 0 6px; font: 600 28px/1.1 var(--t-sz); }
.t-priv p { margin: 0; max-width: 52ch; color: var(--t-mut); }

/* ---------- dostosuj ---------- */
.t-cfg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
.t-pv-col { display: contents; }
.t-pv-wrap { position: sticky; top: calc(61px + var(--sat)); z-index: 5; order: 0; padding: 10px 0; background: #070910; border-bottom: 1px solid var(--t-line); }
.t-slots { order: 1; }
.t-sumbox { order: 2; }
.t-pv-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font: 600 18px/1.1 var(--t-sz); }
.t-pv-card { position: relative; border: 1px solid var(--t-line2); background-color: var(--t-panel); }
.t-pv-ban { position: relative; height: 40px; border-bottom: 1px solid var(--t-line); background: #2a1d5c; overflow: hidden; }
.t-pv-ban img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-pv-ban span { position: absolute; left: 10px; top: 8px; font-size: 11px; color: #c9bcf5; display: none; }
.t-pv-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; padding: 0 12px 10px; }
.t-pv-av { position: relative; width: 46px; height: 46px; margin-top: -14px; }
.t-pv-av img { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--t-line2); }
.t-pv-id { padding-top: 4px; min-width: 0; }
.t-pv-nick { display: flex; align-items: center; gap: 6px; font: 600 22px/1 var(--t-sz); }
.t-pv-nick svg { width: 18px; height: 18px; display: none; }
.t-pv-lvl { font-size: 11px; color: var(--t-mut); margin-top: 2px; }
.t-pv-xp { grid-column: 1 / -1; height: 4px; margin-top: 8px; background: var(--t-line2); }
.t-pv-xp i { display: block; width: 91%; height: 100%; background: var(--t-vio); }
.t-pv-gab { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 12px 12px; }
.t-pv-gab > div { border: 1px solid var(--t-line2); padding: 6px 8px; font-size: 10.5px; line-height: 1.3; color: var(--t-mut); min-height: 44px; }
.t-pv-gab b { display: block; font: 600 13px/1.1 var(--t-sz); color: var(--t-text); }
.t-pv-gab .t-lock { border-style: dashed; }
.t-lk-on { display: none; }
.t-pv[data-gablota='3'] .t-lock { border-style: solid; }
.t-pv[data-gablota='3'] .t-lk-on { display: block; }
.t-pv[data-gablota='3'] .t-lk-off { display: none; }
.t-pv-sum-sm { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; font-size: 11px; color: var(--t-mut); }
.t-pv-sum-sm b { color: var(--t-text); font: 600 16px var(--t-sz); }
.t-pv-sum-sm a { min-height: 44px; display: inline-flex; align-items: center; }
.t-sumbox ul { list-style: none; margin: 0 0 10px; padding: 0; }
.t-sumbox li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--t-line); font-size: 12px; }
.t-sumbox li span:last-child { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.t-tot { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 10px; font-size: 11px; color: var(--t-mut); }
.t-tot b { display: flex; align-items: center; gap: 4px; font: 600 22px/1.1 var(--t-sz); color: var(--t-text); font-variant-numeric: tabular-nums; }
.t-tot .t-dia { width: 14px; height: 14px; }
.t-act { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.t-buy { min-height: 46px; border: 1px solid var(--t-go); background: rgba(74, 222, 128, 0.1); color: var(--t-go); font: 12px var(--t-mono); cursor: pointer; border-radius: 0; padding: 0 12px; }
.t-buy:disabled { border-color: var(--t-line2); background: transparent; color: var(--t-mut); cursor: default; }
.t-clear { min-height: 46px; border: 1px solid var(--t-line2); background: transparent; color: var(--t-text); font: 12px var(--t-mono); cursor: pointer; border-radius: 0; padding: 0 12px; }
.t-msg { margin: 8px 0 0; font-size: 11px; color: var(--t-mut); min-height: 1.5em; }
.t-msg.t-go { color: var(--t-go); }
.t-empty { margin: 0 0 10px; font-size: 12px; color: var(--t-mut); }

.t-opts { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.t-opts th { padding: 6px 6px; font-weight: 400; font-size: 11px; color: var(--t-mut); text-align: left; border-bottom: 1px solid var(--t-line2); }
.t-opts td { padding: 5px 6px; border-bottom: 1px solid var(--t-line); vertical-align: middle; }
.t-opts th:first-child, .t-opts td:first-child { padding-left: 0; }
.t-opts th:last-child, .t-opts td:last-child { padding-right: 0; }
.t-opts tr:last-child td { border-bottom: 0; }
.t-opts .t-c-sw { width: 50px; }
.t-opts .t-c-pr { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-opts .t-c-st { display: none; white-space: nowrap; font-size: 11px; }
.t-opts .t-c-bt { width: 1%; text-align: right; }
.t-opts small { display: block; color: var(--t-mut); font-size: 11px; }
.t-st-own, .t-opts small.t-st-own { color: var(--t-go); }
.t-st-buy { color: var(--t-mut); }
.t-try { min-height: 44px; padding: 0 8px; border: 1px solid var(--t-line2); background: transparent; color: var(--t-text); font: 11px var(--t-mono); cursor: pointer; border-radius: 0; white-space: nowrap; }
.t-try:hover { border-color: var(--t-vio); }
.t-try[aria-pressed='true'] { background: #6d3fe0; border-color: #6d3fe0; color: #fff; }
tr:has(.t-try[aria-pressed='true']) td { background: rgba(139, 92, 246, 0.07); }
.t-new { color: #0a0d16; background: var(--t-go); padding: 1px 5px; font: 11px var(--t-mono); margin-left: 8px; vertical-align: 3px; }
.t-sw-box { display: grid; place-items: center; width: 44px; height: 28px; border: 1px solid var(--t-line2); background: #06080e; overflow: hidden; }
.t-sw-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-sw-box svg { width: 16px; height: 16px; }
.t-sw-box i { display: block; width: 14px; height: 14px; background: #2a3150; }
.t-sw-box b { font: 600 17px/1 var(--t-sz); }
.t-sw-xp { width: 32px; height: 4px; background: var(--t-line2); }
.t-sw-xp em { display: block; width: 70%; height: 100%; background: var(--c, var(--t-vio)); }

/* kosmetyki w podglądzie */
.t-pv[data-ramka='neon'] .t-pv-av img, .t-sw-fr-neon { outline: 2px solid #22d3ee; filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.8)); }
.t-pv[data-ramka='gold'] .t-pv-av img, .t-sw-fr-gold { outline: 2px solid #fbbf24; }
.t-pv[data-ramka='fire'] .t-pv-av img, .t-sw-fr-fire { outline: 2px solid #fb923c; filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.85)); }
.t-pv[data-odznaka]:not([data-odznaka='brak']) .t-pv-nick svg { display: block; }
.t-pv[data-styl='ice'] .t-pv-nick span, .t-sw-ns-ice { color: #bae6fd; text-shadow: 0 0 8px rgba(125, 211, 252, 0.7); }
.t-pv[data-styl='neon'] .t-pv-nick span, .t-sw-ns-neon { color: #f5d0fe; text-shadow: 0 0 8px #d946ef; }
.t-pv[data-styl='shimmer'] .t-pv-nick span, .t-sw-ns-shimmer { color: #f5f3ff; text-shadow: 0 0 1px #fff, 0 0 10px rgba(196, 181, 253, 0.8); }
.t-pv[data-styl='fire'] .t-pv-nick span, .t-sw-ns-fire { color: #fdba74; text-shadow: 0 0 8px #ea580c; }
.t-pv[data-styl='gold'] .t-pv-nick span, .t-sw-ns-gold { color: #fcd34d; text-shadow: 0 0 7px rgba(251, 191, 36, 0.6); }
.t-pv-av::after, .t-sw-ef::after { content: ''; position: absolute; inset: -6px; border: 1px solid transparent; pointer-events: none; }
.t-sw-box i.t-sw-ef { position: relative; background: #6b5aa8; }
.t-sw-ef::after { inset: -4px; }
.t-pv[data-efekt='glow'] .t-pv-av, .t-sw-ef-glow { filter: drop-shadow(0 0 9px rgba(139, 92, 246, 0.95)); }
.t-pv[data-efekt='pulse'] .t-pv-av::after, .t-sw-ef-pulse::after { border-color: var(--t-vio-t); }
.t-pv[data-efekt='sparks'] .t-pv-av::after, .t-sw-ef-sparks::after { border: 2px dotted #fbbf24; }
.t-pv[data-efekt='gold'] .t-pv-av, .t-sw-ef-gold { filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.85)); }
.t-pv[data-efekt='diamond'] .t-pv-av, .t-sw-ef-diamond { filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.85)); }
.t-pv[data-efekt='diamond'] .t-pv-av::after, .t-sw-ef-diamond::after { border-color: #22d3ee; }
.t-pv[data-pasek='neon'] .t-pv-xp i { background: #f0abfc; filter: drop-shadow(0 0 4px #d946ef); }
.t-pv[data-pasek='diamond'] .t-pv-xp i { background: #22d3ee; }
.t-pv[data-pasek='gold'] .t-pv-xp i { background: #fbbf24; }
.t-pv[data-tlo='minimal'] .t-pv-card, .t-sw-bg-minimal { background-color: #11141b; }
.t-pv[data-tlo='neon'] .t-pv-card, .t-sw-bg-neon { background-color: #150a2b; border-color: #a855f7; }
.t-pv[data-tlo='stadium'] .t-pv-card, .t-sw-bg-stadium { background-color: #0a1d12; }
.t-pv[data-tlo='webicasino'] .t-pv-card, .t-sw-bg-webicasino { background-color: #1e1008; border-color: #b45309; }
.t-pv[data-tlo='gold'] .t-pv-card, .t-sw-bg-gold { background-color: #241b06; }
.t-pv[data-tlo='galaxy'] .t-pv-card, .t-sw-bg-galaxy {
  background-color: #08081c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='%23ffffff'%3E%3Crect x='7' y='9' width='1' height='1'/%3E%3Crect x='41' y='5' width='1' height='1' fill-opacity='.6'/%3E%3Crect x='25' y='31' width='2' height='2' fill-opacity='.5'/%3E%3Crect x='52' y='44' width='1' height='1'/%3E%3Crect x='13' y='50' width='1' height='1' fill-opacity='.7'/%3E%3C/g%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: no-preference) {
  .t-try, .t-ch-toggle { transition: background-color 0.15s ease, border-color 0.15s ease; }
  .t-pv[data-efekt='pulse'] .t-pv-av::after { animation: t-puls 1.8s ease-out infinite; }
  @keyframes t-puls { from { inset: -2px; opacity: 1; } to { inset: -10px; opacity: 0; } }
}

/* ---------- od 700 px ---------- */
@media (min-width: 700px) {
  .t-wrap { padding: 16px 20px calc(32px + var(--sab)); }
  .t-head-in { padding: 16px 20px; gap: 0 18px; }
  .t-head-img { width: 55%; }
  .t-av { width: 72px; height: 72px; }
  .t-nick { font-size: 50px; }
  .t-meta { grid-column: 2; display: flex; flex-wrap: wrap; margin-top: 8px; border-top: 0; }
  .t-meta li { padding: 0; }
  .t-meta li + li::before { content: '·'; margin: 0 9px; color: var(--t-mut); }
  .t-stamp { grid-column: 2; margin-top: 4px; }
  .t-bar { flex-wrap: nowrap; }
  .t-tabs { width: auto; }
  .t-ctrl { width: auto; margin-left: auto; border-top: 0; gap: 22px; }
  .t-btn, .t-btn + .t-btn { padding: 0; margin: 0; }
  .t-lvl { padding: 16px 0 14px; column-gap: 16px; }
  .t-lvl-a, .t-lvl-b { font-size: 26px; }
  .t-lvl-bar { height: 14px; }
  .t-lvl-info { padding-left: 88px; padding-right: 70px; }
  .t-tl { display: flex; flex-wrap: wrap; }
  .t-tl li, .t-tl li:nth-child(even), .t-tl--owner li:first-child ~ li:nth-child(odd), .t-tl--owner li:first-child ~ li:nth-child(even) {
    flex: 1 1 auto; padding: 12px 22px 13px; border-top: 0; border-left: 1px solid var(--t-line);
  }
  .t-tl li:first-child { padding-left: 0; border-left: 0; }
  .t-tl--owner li:nth-child(2) { border-top: 0; }
  .t-tl-v { font-size: 30px; }
  .t-ch-head { display: grid; padding: 0 0 6px; font-size: 11px; color: var(--t-mut); }
  .t-ch-head, .t-ch-row { grid-template-columns: 24px minmax(0, 170px) minmax(0, 1fr) 84px 54px; }
  .t-ch-scale { position: relative; height: 14px; }
  .t-ch-scale em { position: absolute; top: 0; font-style: normal; transform: translateX(-50%); white-space: nowrap; }
  .t-ch-scale em:first-child { transform: none; }
  .t-ch-row { padding: 6px 0; }
  .t-ch-b, .t-ch-v { grid-column: auto; grid-row: auto; }
  .t-ch-b { margin-top: 0; height: 16px; }
  .t-ch-b i { top: 4px; height: 8px; }
  .t-ch-p { display: block; text-align: right; color: var(--t-mut); font-size: 11px; font-variant-numeric: tabular-nums; }
  .t-ch-note { width: auto; }
  .t-aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 32px; }
  .t-pubbar-a { width: auto; margin-left: auto; }
  .t-pubbar-a a { flex: none; }
  .t-pv-wrap { position: static; background: none; padding-top: 18px; border-bottom: 0; }
  .t-pv-ban { height: 96px; }
  .t-pv-ban span { display: block; }
  .t-pv-av { width: 72px; height: 72px; margin-top: -28px; }
  .t-pv-nick { font-size: 30px; }
  .t-pv-gab { display: grid; }
  .t-pv-sum-sm { display: none; }
  .t-opts th, .t-opts td { padding-left: 10px; padding-right: 10px; }
  .t-opts .t-c-sw { width: 62px; }
  .t-opts .t-c-st { display: table-cell; }
  .t-opts small.t-st-small { display: none; }
  .t-try { min-width: 112px; padding: 0 10px; font-size: 12px; }
}

/* ---------- pełny kokpit ---------- */
@media (min-width: 1200px) {
  .t-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .t-hero { grid-column: 1; }
  .t-aside { grid-column: 2; display: block; border-left: 1px solid var(--t-line); padding-left: 28px; margin-left: -4px; border-bottom: 1px solid var(--t-line); }
  .t-aside .t-s:last-child { border-bottom: 0; }
  .t-full { grid-column: 1 / -1; }
  .t-cfg { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .t-pv-col { display: flex; flex-direction: column; position: sticky; top: 16px; }
}
@media (min-width: 700px) and (max-width: 1199px) {
  .t-pv-col { display: flex; flex-direction: column; }
}
@media (min-width: 1700px) {
  .t-nick { font-size: 56px; }
}
@media (min-width: 1200px) {
  .t-c-log { border-left: 1px solid var(--t-line); padding-left: 28px; margin-left: -4px; }
}
