/* Latino Gang – ekran konta fana (assets/konto.js). Kolory z systemu wyglądu Skolima: róż = Karta Idealna, złoto = Gang. */
dialog.gh{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000;color:#f2f2f2;font:400 15px/1.45 var(--f-body,Rubik,system-ui,sans-serif);--gd:#f5c542;--pk:#f4036e}
dialog.gh::backdrop{background:#000}
html.gh-open,html.gh-open body{overflow:hidden}
.gh-in{height:100%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(32px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
.gh-in[data-v=join],.gh-in[data-v=code]{background:radial-gradient(110% 55% at 50% 0%,#5c0a33 0%,#1a0710 50%,#000 100%)}
.gh-w{max-width:520px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.gh-w>section{margin-top:28px}
.gh button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.gh-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:12px;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 10px;background:linear-gradient(#000 70%,rgba(0,0,0,0));max-width:552px;margin:0 auto;box-sizing:border-box}
.gh-in[data-v=join] .gh-top,.gh-in[data-v=code] .gh-top{background:none}
.gh-ib{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid #2e2e2e;background:#1a1a1a;display:grid;place-items:center;padding:0}
.gh-sp{width:44px;flex:none}
.gh-tt{flex:1;text-align:center;font:400 20px/1.1 var(--f-display,Bungee,sans-serif);text-transform:uppercase;letter-spacing:.02em;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gh-tt span{color:var(--gd)}
.gh-wait{text-align:center;color:#8c8c8c;margin:40px 0 16px}
/* profil */
.gh-prof{margin-top:6px!important;border-radius:24px;border:1px solid #2e2e2e;background:radial-gradient(120% 90% at 50% 0%,#5c0a33 0%,#1a0710 55%,#111 100%);padding:24px 16px 16px;display:flex;flex-direction:column;align-items:center;text-align:center}
.gh-prof h2{margin:14px 0 0;font-size:24px;line-height:1.2;font-weight:700;word-break:break-word}
.gh-prof>p{margin:4px 0 0;font-size:13px;color:#d6d6d6}
.gh-avw{position:relative;width:104px;height:104px}
.gh-av{width:104px;height:104px;box-sizing:border-box;border-radius:50%;border:3px solid var(--gd);box-shadow:0 0 22px rgba(245,197,66,.35);background:linear-gradient(150deg,#f4036e,#5c0a33);display:grid;place-items:center;overflow:hidden;transition:opacity .2s}
.gh-av.xl{width:128px;height:128px}
.gh-av.busy{opacity:.45}
.gh-av img{width:100%;height:100%;object-fit:cover;display:block}
.gh-av b{font:400 40px var(--f-display,Bungee,sans-serif);color:#fff}.gh-av.xl b{font-size:48px}
.gh-avb{position:absolute;right:-2px;bottom:-2px;width:36px;height:36px;border-radius:50%;border:3px solid #111!important;background:var(--gd);color:#000!important;display:grid;place-items:center;padding:0}
.gh-chip{margin-top:12px;min-height:36px;padding:0 16px;border-radius:999px;border:1px solid #2e2e2e;background:rgba(0,0,0,.35);font-size:13px!important;font-weight:500;display:inline-flex;align-items:center;gap:6px;cursor:pointer;box-sizing:border-box}
.gh-stats{margin-top:18px;width:100%;display:grid;gap:8px}
.gh-stats>div{border-radius:14px;background:rgba(0,0,0,.45);border:1px solid #2e2e2e;padding:10px 4px;display:flex;flex-direction:column}
.gh-stats b{font-size:24px;line-height:1.1;font-weight:700}.gh-stats b.pk{color:var(--pk)}.gh-stats b.gd{color:var(--gd)}
.gh-stats small{font-size:12px;font-weight:500;color:#d6d6d6}
/* nagłówki sekcji */
.gh-lbl{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 10px}
.gh-lbl>span{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8c8c8c}
.gh-lbl.pk>span{color:var(--pk)}.gh-lbl.gd>span{color:var(--gd)}
.gh-a{border:0;background:none;padding:6px 0;color:#ff8fbf!important;font-size:13px!important;font-weight:500;text-decoration:none}
.gh-a.in{padding:0;font-size:inherit!important;text-decoration:underline}
.gh-a.mut{color:#8c8c8c!important;margin-top:4px}
/* Karta Idealna (HTML z karta.js → Karta.hubHtml) */
.kh{margin-top:28px}
.kh-box{border-radius:20px;background:#111;border:1px solid #2e2e2e;padding:16px;display:flex;flex-direction:column;gap:14px}
.kh-card{box-shadow:0 0 0 2px var(--pk),0 10px 30px rgba(0,0,0,.6)}
.kh-hint{margin:-6px 0 0;text-align:center;font-size:12px;color:#8c8c8c}
.kh-pool{display:flex;align-items:center;gap:12px}
.kh-pi{flex:none;width:40px;height:40px;border-radius:12px;background:#5c0a33;color:#ff8fbf;display:grid;place-items:center}
.kh-pi.st{background:#1a1a1a;color:#d6d6d6}
.kh-pi svg{width:22px;height:22px}.kh-pi .kpalm{fill:#ff8fbf}
.kh-pt{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.kh-ph{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.kh-ph>b{font-size:15px;font-weight:600}
.kh-ph span b{font-size:15px;font-weight:700}.kh-ph span b.pk{color:var(--pk)}.kh-ph span i{font-style:normal;color:#8c8c8c;font-weight:700}
.kh-bar{height:8px;border-radius:999px;background:#1a1a1a;overflow:hidden}
.kh-bar i{display:block;height:100%;border-radius:999px;background:var(--pk);box-shadow:0 0 10px rgba(244,3,110,.6)}
.kh-bar.st i{background:#d6d6d6;box-shadow:none}
.kh-pt small{font-size:13px;color:#d6d6d6}.kh-pt small b{color:#f2f2f2}
.kh-gift,.kh-soon{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border-radius:14px;background:rgba(245,197,66,.1);border:1px solid rgba(245,197,66,.45);text-align:left;width:100%;box-sizing:border-box}
.kh-soon{background:#111;border-color:#2e2e2e}
.kh-gift>span:nth-child(2),.kh-soon>span:nth-child(2){flex:1;display:flex;flex-direction:column;min-width:0}
.kh-gift b,.kh-soon b{font-size:15px;font-weight:600}.kh-gift small,.kh-soon small{font-size:13px;color:#d6d6d6}
.kh-gi{color:var(--gd);display:grid;place-items:center}.kh-gi svg{width:22px;height:22px}
.kh-ico{width:40px;height:40px;border-radius:12px;background:#5c0a33;display:grid;place-items:center}.kh-ico svg{width:22px;height:22px;fill:#ff8fbf}
.kh-go{color:#8c8c8c;font-size:20px}
.kh-scan{height:52px;border-radius:14px;border:0;background:var(--pk);color:#fff!important;font-weight:700!important;font-size:16px!important;box-shadow:0 10px 26px rgba(244,3,110,.45);display:flex;align-items:center;justify-content:center;gap:10px}
.kh-scan svg{width:20px;height:20px}
.kh-more{height:48px;border-radius:14px;border:1px solid #2e2e2e;background:#1a1a1a;font-weight:600!important;margin-top:-6px}
.kh .kpend{border-radius:14px}
/* moje zdjęcia */
.gh-phs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gh-add,.gh-ph{position:relative;height:128px;border-radius:14px;overflow:hidden;padding:0}
.gh-add{border:2px dashed var(--gd);background:rgba(245,197,66,.08);color:var(--gd)!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12px!important;font-weight:600}
.gh-ph{border:0;background:#1a1a1a}.gh-ph img{width:100%;height:100%;object-fit:cover;display:block}
.gh-st{position:absolute;left:6px;right:6px;bottom:6px;padding:3px 6px;border-radius:999px;background:rgba(0,0,0,.72);font-size:11px;font-weight:600;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden}
.gh-st::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:#2bd47d}.gh-st.wait::before{background:#ff9a3d}
.gh-note{margin:10px 0 0;font-size:13px;color:#8c8c8c}
.gh-big{position:relative;border-radius:20px;overflow:hidden;background:#111;margin-top:4px}.gh-big img{width:100%;display:block;max-height:70vh;object-fit:contain}
.gh-big span{position:absolute;left:12px;right:12px;bottom:12px;padding:8px 12px;border-radius:12px;background:rgba(0,0,0,.65);font-weight:600}
/* więcej w gangu */
.gh-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.gh-tile{min-height:112px;padding:14px;border-radius:20px;background:#111;border:1px solid #2e2e2e;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;box-sizing:border-box}
.gh-ti{display:flex;justify-content:space-between;align-items:center;width:100%;color:#ff8fbf}
.gh-ti em{font-style:normal;padding:2px 8px;border-radius:999px;background:var(--gd);color:#000;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.gh-tile>b{font-size:15px;font-weight:600}.gh-tile small{font-size:13px;color:#d6d6d6}.gh-tile small b{color:#f2f2f2}
/* konto */
.gh-list{border-radius:20px;background:#111;border:1px solid #2e2e2e;overflow:hidden}
.gh-row{display:flex;align-items:center;width:100%;min-height:52px;padding:8px 16px;border:0;border-bottom:1px solid #2e2e2e;background:none;text-align:left;box-sizing:border-box}
.gh-row:last-child{border-bottom:0}.gh-row>span{flex:1;display:flex;flex-direction:column}.gh-row svg{color:#8c8c8c;flex:none}
.gh-row small{font-size:12px;color:#8c8c8c}.gh-row.red{color:#ff8fbf!important}
.gh-foot{margin:14px 0 0;text-align:center;font-size:12px;color:#8c8c8c}
/* dołącz / kod / profil */
.gh-join{display:flex;flex-direction:column;min-height:calc(100% - 70px)}
.gh-hero{margin-top:4px;display:flex;flex-direction:column;align-items:center;text-align:center}
.gh-palm svg{width:56px;height:56px;fill:var(--gd);filter:drop-shadow(0 0 12px rgba(245,197,66,.6))}
.gh-hero h1{margin:10px 0 0;font:400 42px/1.02 var(--f-display,Bungee,sans-serif);text-transform:uppercase;color:#fff;text-shadow:0 0 14px rgba(244,3,110,.65)}
.gh-hero h1 span{color:var(--gd);text-shadow:0 0 16px rgba(245,197,66,.55)}
.gh-hero.sm h1{font-size:32px}
.gh-hero p{margin:12px 0 0;font-size:16px;color:#d6d6d6}
.gh-ben{margin-top:22px;display:flex;flex-direction:column;gap:10px}
.gh-ben>div{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:rgba(17,17,17,.85);border:1px solid #2e2e2e}
.gh-ben>div>span:last-child{display:flex;flex-direction:column}.gh-ben b{font-size:15px;font-weight:600}.gh-ben small{font-size:13px;color:#d6d6d6}
.gh-bi{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#1a1a1a;color:#d6d6d6}
.gh-bi.b0{background:#5c0a33;color:#ff8fbf}.gh-bi.b1{background:rgba(245,197,66,.15);color:var(--gd)}
.gh-f{display:flex;flex-direction:column;gap:12px;margin-top:22px}
.gh-join .gh-f{margin-top:auto;padding-top:22px}
.gh-fl{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:#d6d6d6}.gh-fl small{color:#8c8c8c;font-weight:400}
.gh-fl input{height:52px;box-sizing:border-box;border-radius:14px;border:1px solid #2e2e2e;background:#1a1a1a;color:#f2f2f2;padding:0 14px;font:400 16px var(--f-body,Rubik,sans-serif);outline:none}
.gh-fl input:focus{border-color:var(--pk)}
.gh-code{text-align:center;font-size:24px!important;letter-spacing:.2em;font-weight:600!important}
.gh-ck{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#d6d6d6;line-height:1.4;border-radius:12px;padding:4px}
.gh-ck.need{outline:2px solid var(--pk)}
.gh-ck input{width:20px;height:20px;margin:0;accent-color:var(--pk);flex:none}
.gh-err{margin:0;padding:8px 12px;border-radius:12px;background:rgba(244,3,110,.12);border:1px solid rgba(244,3,110,.45);color:#ffd0e3;font-size:13px}
.gh-btn{height:50px;border-radius:14px;border:1px solid #2e2e2e;background:#1a1a1a;font-weight:600!important;width:100%;margin-top:8px}
.gh-btn.pri{border:0;background:var(--pk);color:#fff!important;font-weight:700!important;font-size:16px!important;height:52px;box-shadow:0 10px 26px rgba(244,3,110,.45);margin-top:0}
.gh-btn.red{border-color:rgba(244,3,110,.6);color:#ff8fbf!important}
.gh-btn:disabled{opacity:.55}.gh-btn.busy{opacity:.7}
.gh-small{margin:0;text-align:center;font-size:12px;color:#8c8c8c}
.gh-txt{margin:0;color:#d6d6d6}.gh-txt.center{text-align:center}
.gh-pav{display:flex;flex-direction:column;align-items:center;gap:4px;margin:6px 0 4px}
.gh-avbtn{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:4px}.gh-avbtn .gh-chip{min-height:44px;background:#1a1a1a;font-size:14px!important}
.gh-info{display:flex;gap:10px;padding:12px 14px;border-radius:14px;background:#111;border:1px solid #2e2e2e;font-size:13px;color:#d6d6d6}.gh-info svg{flex:none;color:#ff8fbf;margin-top:1px}
.gh-reg{color:#d6d6d6}.gh-reg p{margin:0 0 12px}
.gh-warn{margin-top:12px;padding:18px;border-radius:20px;background:#1a0710;border:1px solid #5c0a33}.gh-warn h2{margin:0 0 8px;font-size:21px}.gh-warn p{margin:0;color:#d6d6d6}
.gh-toast{z-index:10}
@media (prefers-reduced-motion:reduce){.gh-av{transition:none}}
