/* Nakładki Ranking i Tożsamość (stoiska w bazie) oraz nick w stylu gracza. Szkło/stal jak reszta gry; zmienne --ink/--steel/--gold z index.html. */
.rk { background: rgba(8, 10, 16, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 30; }
.rk button { width: auto; margin: 0; }
.rk-card { width: min(640px, 100%); max-height: min(94vh, 760px); display: flex; flex-direction: column; margin: auto; overflow: hidden;
  background: linear-gradient(180deg, #424959 0%, #2f343f 100%); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink), inset 0 3px 0 var(--steel-l); }
.rk-card.rk-in { animation: rk-pop .2s ease-out both; }
@keyframes rk-pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rk-card.rk-in { animation: none; } .rk-load i { animation: none; } }

.rk-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(0, 0, 0, .22); border-bottom: 3px solid var(--ink); }
.rk-ttl { margin: 0; flex: 1; font-size: 18px; letter-spacing: 2px; color: var(--gold); }
.rk-tabs, .id-cats { display: flex; gap: 6px; flex: 1; min-width: 0; }
.rk-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; font-size: 13px; letter-spacing: 1px; border-radius: 10px; background: var(--steel-d); color: #dfe5ef;
  box-shadow: 0 3px 0 var(--ink); }
.rk-tab i { font-style: normal; font-size: 15px; }
.rk-tab.on { background: var(--gold); color: var(--ink); }
.rk-x { padding: 6px 11px; font-size: 16px; border-radius: 10px; background: var(--steel-d); color: #fff; box-shadow: 0 3px 0 var(--ink); }
.rk-net { flex: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--ink); background: #7b8493; }
.rk-net.ok { background: #4fd47a; box-shadow: 0 0 6px #4fd47a; }
.rk-net.bad { background: #ff4a4a; box-shadow: 0 0 6px #ff4a4a; }
.rk-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
/* okno rankingu ma STAŁY rozmiar w każdej zakładce i stanie (ładowanie, pusto, błąd, offline): zmienia się tylko zawartość listy */
.rk-card.rk-fixed { width: min(92vw, 720px); height: min(86vh, 640px); max-height: none; }
.rk-fixed .rk-head { flex: none; box-sizing: border-box; min-height: 64px; }
.rk-fixed .rk-tab { height: 44px; box-sizing: border-box; }
.rk-fixed .rk-body { scrollbar-gutter: stable; }

/* nick w stylu gracza: kolor, ikona, przydomek, obwódka (--nc ustawia skrypt) */
.nk { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; padding: 1px 8px; border: 2px solid transparent; border-radius: 9px; color: var(--nc, #f2f2f2); }
.rk-row .nk { justify-self: start; }
.nk-ic { font-style: normal; font-size: 15px; line-height: 1; flex: none; filter: drop-shadow(0 1px 0 var(--ink)); }
.nk-col { display: grid; min-width: 0; line-height: 1.08; }
.nk-n { font-size: 15px; color: var(--nc, #f2f2f2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink), 1px 1px 0 var(--ink); }
.nk-t { font-size: 10px; letter-spacing: .5px; color: var(--nc, #f2f2f2); opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nk.big .nk-n { font-size: 24px; } .nk.big .nk-ic { font-size: 24px; } .nk.big .nk-t { font-size: 12px; } .nk.big { padding: 3px 12px; }
.nk.smp { padding: 2px 10px; } .nk.smp .nk-n { font-size: 16px; }
.nk.tr-thin { border: 1px solid var(--nc); }
.nk.tr-double { border: 4px double var(--nc); }
.nk.tr-dashed { border: 2px dashed var(--nc); }
.nk.tr-glow { border: 1px solid var(--nc); box-shadow: 0 0 10px var(--nc), inset 0 0 7px rgba(255, 255, 255, .12); }
.nk.tr-ornate { border: 3px ridge var(--nc); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .09), transparent); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--nc); margin: 4px; }

.rk-badge { flex: none; display: block; }
.rk-sk { display: block; flex: none; }

/* zakładka Sezon */
.rk-sh { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.rk-sh h2 { margin: 0; font-size: 22px; letter-spacing: 1px; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.rk-mod { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px 2px 4px; font-size: 12px; letter-spacing: .5px; color: #e9dcff; background: #3b2a5a; border: 2px solid var(--ink); border-radius: 999px; }
.rk-pct { margin-left: auto; padding: 3px 10px; font-size: 13px; color: var(--ink); background: var(--gold); border: 2px solid var(--ink); border-radius: 999px; }
.rk-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rk-tier { padding: 6px 4px; border-radius: 10px; background: var(--steel-d); box-shadow: 0 3px 0 var(--ink); display: grid; place-items: center; min-height: 36px; opacity: .8; }
.rk-tier.on { opacity: 1; background: #1b1f27; box-shadow: 0 3px 0 var(--ink), inset 0 0 0 3px var(--gold); }
.rk-tier.top:not(.on) { box-shadow: 0 3px 0 var(--ink), inset 0 0 0 2px #7a6a3a; }
.rk-list { display: grid; gap: 4px; }
.rk-row { display: grid; grid-template-columns: 34px 32px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; min-height: 40px;
  background: var(--steel-d); border: 3px solid var(--ink); border-radius: 10px; }
.rk-pl { text-align: center; font-size: 15px; color: #c5ccd8; }
.rk-lv { font-size: 12px; color: #c5ccd8; white-space: nowrap; }
.rk-d { display: flex; align-items: center; gap: 6px; justify-content: flex-end; min-width: 56px; }
.rk-d b { font-size: 18px; color: #fff; }
.rk-row.p1 { background: linear-gradient(90deg, #5a4712, #2f2a1a 70%); border-color: #8a6b10; } .rk-row.p1 .rk-pl { color: #ffd54a; font-size: 20px; }
.rk-row.p2 { background: linear-gradient(90deg, #474d58, #2c3038 70%); } .rk-row.p2 .rk-pl { color: #dfe5ef; font-size: 18px; }
.rk-row.p3 { background: linear-gradient(90deg, #55371c, #2e2a26 70%); } .rk-row.p3 .rk-pl { color: #e39a5a; font-size: 17px; }
.rk-row.mine { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(245, 197, 49, .35), inset 0 0 14px rgba(245, 197, 49, .18); }
.rk-row.stick { position: sticky; bottom: -4px; z-index: 2; background: #2a2f3a; box-shadow: 0 -6px 10px rgba(0, 0, 0, .35); }
/* linia modyfikatora sezonu: ikona + „Nazwa: opis”, do 2 linii; pusta ma tę samą wysokość */
.rk-modline { display: flex; align-items: center; gap: 8px; min-height: 40px; box-sizing: border-box; padding: 5px 10px; background: rgba(0, 0, 0, .2); border: 3px solid var(--ink); border-radius: 10px; font-size: 13px; line-height: 1.25; color: #dfe5ef; flex: none; }
.rk-modline.empty { visibility: hidden; }
.rk-modline .rk-modic { flex: none; }
.rk-modtx { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rk-modtx b { color: #fff; letter-spacing: .3px; }
.rk-ss .rk-modline { margin: 0 8px 6px; }
@media (max-width: 420px) { .rk-modline { font-size: 12px; padding: 4px 8px; gap: 6px; line-height: 1.2; } }
.rk-empty { flex: 1 1 auto; display: grid; place-items: center; padding: 18px; text-align: center; color: #a3acbc; font-size: 28px; } /* pusty stan wypełnia to samo pole co lista */
.rk-off { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 10px 14px; padding: 36px 12px; font-size: 17px; color: #fff; }
.rk-off-ic { font-size: 24px; color: #ff9a3a; }
.rk-offl { color: #ffb08a; font-size: 14px; text-align: center; padding: 6px; }
.rk-retry { padding: 8px 16px; font-size: 14px; letter-spacing: 1px; border-radius: 10px; background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.rk-load i { display: block; height: 38px; margin-bottom: 6px; border-radius: 10px; background: linear-gradient(90deg, #2c313b 25%, #3b4150 50%, #2c313b 75%); background-size: 200% 100%; animation: rk-sh 1.1s linear infinite; }
.rk-load { display: flex; flex-direction: column; gap: 10px; }
.rk-skb { display: block; flex: none; border-radius: 10px; background: linear-gradient(90deg, #2c313b 25%, #3b4150 50%, #2c313b 75%); background-size: 200% 100%; animation: rk-sh 1.1s linear infinite; }
.rk-load .rk-tiers .rk-skb { height: 44px; }
@media (prefers-reduced-motion: reduce) { .rk-skb { animation: none; } }
.rk-load.sm i { height: 26px; } @keyframes rk-sh { to { background-position: -200% 0; } }

/* podium i archiwum */
.rk-arch { display: grid; gap: 8px; }
.rk-ss { background: rgba(0, 0, 0, .18); border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; }
.rk .rk-ssh { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; text-align: left; font-size: 15px; color: #fff; background: var(--steel-d); border-radius: 0; box-shadow: none; }
.rk-ssh b { flex: 1; }
.rk-cnt { font-size: 12px; color: #c5ccd8; }
.rk-chev { font-style: normal; transition: transform .2s; color: var(--gold); }
.rk-ss.open .rk-chev { transform: rotate(180deg); }
.rk-ssb { display: none; padding: 10px; gap: 5px; }
.rk-ss.open .rk-ssb { display: grid; }
.rk-podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 6px 4px 8px; }
.rk-pod { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 3px; }
.rk-pod .rk-pd { font-size: 17px; color: #fff; }
.rk-blk { width: 100%; display: grid; place-items: center; font-size: 24px; color: var(--ink); border: 3px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.rk-pod.p1 .rk-blk { height: 72px; background: linear-gradient(#ffe27a, #d9a012); }
.rk-pod.p2 .rk-blk { height: 54px; background: linear-gradient(#e8edf5, #a3adbd); }
.rk-pod.p3 .rk-blk { height: 40px; background: linear-gradient(#e9a468, #a4622a); }

/* zakładka Ja */
.rk-hero { display: flex; align-items: center; gap: 16px; padding: 10px 12px; background: rgba(0, 0, 0, .2); border: 3px solid var(--ink); border-radius: 12px; }
.rk-hb { flex: 1; display: grid; gap: 6px; min-width: 0; }
.rk-rn { font-size: 26px; color: #fff; letter-spacing: 1px; text-shadow: 0 3px 0 var(--ink); }
.rk-bar { height: 10px; background: #14171d; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; min-width: 60px; flex: 1; }
.rk-bar i { display: block; height: 100%; background: linear-gradient(#ffe27a, #e0a512); }
.rk-next { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #c5ccd8; }
.rk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rk-stat { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; background: var(--steel-d); border: 3px solid var(--ink); border-radius: 10px; }
.rk-stat small { font-size: 11px; letter-spacing: 1px; color: #b7c0cf; }
.rk-stat b { font-size: 24px; color: #fff; }
.rk-medals { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: rgba(0, 0, 0, .18); border: 3px solid var(--ink); border-radius: 12px; min-height: 54px; align-items: center; }
.rk-medals.sm { border: 0; background: none; padding: 0; min-height: 0; gap: 4px; }
.rk-medal { display: grid; justify-items: center; gap: 1px; }
.rk-medal small { font-size: 10px; color: #b7c0cf; }
.rk-medal.empty { width: 38px; height: 42px; border: 3px dashed #4d5565; border-radius: 10px; opacity: .6; }
.rk-medal.empty.sm { width: 22px; height: 26px; border-width: 2px; }

/* Tożsamość */
.id-card-vet { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(0, 0, 0, .22); border: 3px solid var(--ink); border-radius: 12px; flex-wrap: wrap; }
.id-mid { flex: 1; min-width: 150px; display: grid; gap: 6px; justify-items: start; }
.id-lv { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 13px; color: #d6dce8; }
.id-lv small { color: #b7c0cf; }
.id-nick input { text-align: center; font-size: 17px; }
.id-cats .rk-tab { flex: 1; }
.id-grid { display: grid; gap: 6px; max-height: 232px; overflow-y: auto; padding: 4px; align-content: start; }
.id-grid.g-color { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.id-grid.g-icon { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.id-grid.g-title { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.id-grid.g-trim { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.id-it { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; min-height: 48px; padding: 6px; background: var(--steel-d); border: 3px solid var(--ink); border-radius: 10px; box-shadow: none; color: #fff; }
.id-it.on { box-shadow: inset 0 0 0 3px var(--gold); background: #1b1f27; }
.id-sw { display: block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ink); }
.id-gl { font-size: 22px; line-height: 1; } .id-none { font-size: 18px; color: #c5ccd8; } .id-tt { font-size: 13px; }
.id-it.locked > :first-child { opacity: .4; }
.id-lk { display: inline-flex; align-items: center; gap: 3px; padding: 0 5px; font-size: 10px; color: #f0e8ff; background: #2a1f42; border: 2px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.id-lk i { font-style: normal; font-size: 9px; } .id-lk small { font-size: 10px; }
.id-it.shake { animation: id-shake .3s; }
@keyframes id-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.id-foot { display: flex; align-items: center; gap: 12px; }
.id-msg { flex: 1; font-size: 14px; color: #c5ccd8; min-height: 18px; }
.id-msg.ok { color: #8dff9a; } .id-msg.bad { color: #ff9a8a; } .id-msg.warn { color: #ffd36a; }
.id-save { padding: 10px 20px; font-size: 16px; letter-spacing: 1px; border-radius: 12px; background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.id-save:disabled { opacity: .6; }

/* kropka stanu huba (menu główne) */
.netdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: #7b8493; vertical-align: middle; }
.netdot.ok { background: #4fd47a; box-shadow: 0 0 6px #4fd47a; } .netdot.bad { background: #ff4a4a; box-shadow: 0 0 6px #ff4a4a; }

@media (max-width: 520px) {
  .rk { padding: 6px; }
  .rk-card { max-height: 98vh; }
  .rk-row { grid-template-columns: 26px 28px minmax(0, 1fr) auto; gap: 6px; padding: 4px 8px 4px 4px; }
  .rk-lv { display: none; }
  .rk-d .rk-sk { display: none; } 
  .rk-row { gap: 4px; } .rk-row .nk { padding: 1px 5px; } .rk-row .nk-t { letter-spacing: 0; }
  .rk-pod .nk { padding: 1px 4px; gap: 3px; } .rk-pod .nk-n { font-size: 12px; } .rk-pod .nk-ic { display: none; } /* nick na podium w wąskiej kolumnie */
  .nk.big .nk-n, .nk.big .nk-ic { font-size: 20px; } /* duży nick w Tożsamości i karcie weterana (rosyjski "Новобранец") */ /* wiersz dubluje czaszki wybranej warstwy z nagłówka: na wąskim ekranie oddajemy to miejsce nickowi i przydomkowi */
  .rk-tab { padding: 8px 8px; font-size: 12px; } .rk-tab i { display: none; }
  .rk-sh h2 { font-size: 18px; }
  .id-grid { max-height: 180px; }
}
#netdot { position: absolute; top: 12px; left: 14px; }
.overrank { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.overrank b { font-size: 26px; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.rk-badge.none { opacity: .5; }
.rk-hero > .rk-badge { min-width: 78px; }
.rk-modic { display: block; flex: none; }
.rk-pl.w { font-size: 12px; }

/* usuwanie konta: mały link w menu (Android) i czerwony przycisk w Tożsamości z potwierdzeniem w dwóch krokach */
.lnk { width: auto; margin: 10px auto 0; display: block; padding: 4px 8px; background: none; border: 0; box-shadow: none; color: #aab3c2; font-size: 12px; text-decoration: underline; letter-spacing: .5px; }
.lnk:active { transform: none; box-shadow: none; }
.lnk.armed, .id-del.armed { color: #fff; background: #c4221f; text-decoration: none; border-radius: 8px; }
.id-del { padding: 6px 12px; font-size: 12px; letter-spacing: 1px; border-radius: 10px; background: transparent; color: #ff9a8a; border: 2px solid #8a2a28; box-shadow: none; }
.id-del.armed { border-color: var(--ink); animation: id-pulse .6s ease-in-out infinite alternate; }
@keyframes id-pulse { to { filter: brightness(1.25); } }
.id-del:disabled { opacity: .6; }
.id-del { align-self: flex-start; }
.id-cats { flex-wrap: wrap; }
.rk-tab { min-width: 0; }
@media (max-width: 520px) { .id-cats { flex-wrap: nowrap; gap: 4px; } .id-cats .rk-tab { padding: 8px 2px; font-size: 10px; letter-spacing: 0; flex: 1 1 0; } }

/* Karta weterana (rank/veteran.js): żołnierz z kosmetyką, nick, odznaki, poziom, cztery liczby */
.id-vet { display: block; }
.vc { display: grid; gap: 10px; padding: 10px 12px; background: rgba(0, 0, 0, .22); border: 3px solid var(--ink); border-radius: 12px; }
.vc-top { display: flex; align-items: center; gap: 14px; }
.vc-av { flex: none; display: block; }
.vc-id { display: grid; gap: 8px; min-width: 0; justify-items: start; flex: 1; }
.vc-lv { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 13px; color: #d6dce8; }
.vc-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vc-b { display: grid; place-items: center; }
.vc-medals { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.vc-m { display: grid; justify-items: center; }
.vc-m small { font-size: 9px; color: #b7c0cf; }
.vc-m.empty { width: 30px; height: 34px; border: 2px dashed #4d5565; border-radius: 8px; opacity: .6; }
.vc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vc-st { display: grid; justify-items: center; gap: 1px; padding: 6px 2px; background: var(--steel-d); border: 3px solid var(--ink); border-radius: 10px; min-width: 0; }
.vc-st b { font-size: 22px; color: #fff; }
.vc-st small { font-size: 9px; letter-spacing: .3px; color: #b7c0cf; text-align: center; line-height: 1.05; overflow-wrap: anywhere; }
.vc-card { width: min(520px, 100%); }
/* przycisk-avatar w grze (baza i wyprawa): pierwszy w pionowym stosie po lewej nad zębatką, dźwiękiem i czatem; w menu i lobby go nie ma (tam jest avatar przy nicku) */
.vc-game { position: fixed; left: calc(8px + var(--sa-l, 0px)); top: calc(44% - 92px); z-index: 12; width: 38px; height: 38px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; opacity: .92; }
.vc-game canvas { display: block; width: 38px; height: 38px; }
.vc-game .vc-key { position: absolute; right: -8px; bottom: -6px; pointer-events: none; }
.vc-game .vc-key .kbd { margin: 0; min-width: 0; padding: .02em .3em 0; font-size: 10px; border-width: 2px; border-radius: 5px; }
@media (pointer: coarse) { .vc-game { width: 48px; height: 48px; top: calc(44% - 122px); } .vc-game canvas { width: 48px; height: 48px; } }
body:has(#menu:not(.hidden)) .vc-game, body:has(#lobby:not(.hidden)) .vc-game,
body:has(#panel:not(.hidden), #cards:not(.hidden), #shop:not(.hidden), #loot:not(.hidden), #over:not(.hidden), #rkov:not(.hidden), #idov:not(.hidden), #vcov:not(.hidden), #wrov:not(.hidden), #stov:not(.hidden), #langpick:not(.hidden)) .vc-game { display: none; }
/* okno karty otwarte w trakcie wyprawy w kooperacji: półprzezroczyste, bez pauzy (gra toczy się dalej) */
.rk.live { background: rgba(8, 10, 16, .28); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* avatar przy nicku w menu głównym */
.nrow { display: flex; align-items: center; gap: 10px; }
.nrow input { flex: 1 1 auto; min-width: 0; }
.nrow .vc-btn { flex: none; width: 56px; height: 56px; margin: 0; padding: 0; border-radius: 50%; border: 3px solid var(--ink); background: var(--steel-d); box-shadow: 0 3px 0 var(--ink); display: grid; place-items: center; }
.nrow .vc-btn canvas { width: 50px; height: 50px; display: block; }
@media (max-width: 520px) {
  .vc-av { width: 84px !important; height: 84px !important; }
  /* wąski ekran: cztery liczby w siatce 2×2, liczba i podpis w jednej linii (długie podpisy w innych językach się mieszczą) */
  .vc-stats { grid-template-columns: repeat(2, 1fr); }
  .vc-st { display: flex; justify-content: center; align-items: baseline; gap: 8px; padding: 6px 4px; }
  .vc-st b { font-size: 20px; } .vc-st small { font-size: 10px; letter-spacing: .2px; text-align: left; overflow-wrap: normal; }
  .vc-medals { margin-left: 0; }
}

/* Tożsamość: ołówek przy nicku na karcie otwiera pole zmiany ksywki (pole jest domyślnie schowane) */
.id-nl { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.rk .id-pen { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0; vertical-align: middle; font-size: 17px; line-height: 1; border-radius: 9px; background: var(--steel-d); color: var(--gold); box-shadow: 0 3px 0 var(--ink); }
.rk .id-pen:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.rk .id-pen:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.id-nick.hidden { display: none; }
@media (pointer: coarse) { .rk .id-pen { width: 44px; height: 44px; font-size: 20px; } }
