/* 🏠 Home page: player card, quick buttons, framed game rows (js/home-plus.js). Same look as the Invite popup. */
.hp-player{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-areas:"me bal" "acts acts";gap:12px 10px;align-items:center;padding:14px;border-radius:20px;color:#fff;overflow:hidden;
  background:radial-gradient(ellipse at 15% 0,rgba(255,191,31,.3),transparent 55%),linear-gradient(135deg,#5122c4,#3a0d6e 45%,#6a1036);
  border:2px solid #f5c518;box-shadow:0 0 0 2px rgba(138,43,216,.85) inset,0 14px 30px -12px rgba(0,0,0,.8),0 0 26px -6px rgba(255,191,31,.4)}
.hp-player::after{content:'';position:absolute;right:-40px;top:-40px;width:150px;height:150px;border-radius:50%;border:2px dashed rgba(255,216,74,.35);pointer-events:none}
.hp-me{grid-area:me;display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none;color:#fff}
.hp-av{flex:none;width:52px;height:52px;border-radius:50%;padding:3px;background:conic-gradient(#ffd84a,#ff4fa8,#8a2bd8,#ffd84a);box-shadow:0 4px 10px rgba(0,0,0,.45)}
.hp-av>*{width:100%;height:100%;border-radius:50%;object-fit:cover;display:grid;place-items:center;font:800 22px var(--f-display);color:#fff;border:2px solid #2a0718}
.hp-who{display:flex;flex-direction:column;gap:3px;min-width:0}
.hp-who b{font:800 18px/1.1 var(--f-display);text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:13ch}
.hp-vip{font-style:normal;align-self:flex-start;font:700 11px/1 var(--f-display);padding:4px 8px;border-radius:999px;background:linear-gradient(180deg,#ffd84a,#ff9d00);color:#3a1400;box-shadow:0 2px 0 #a24400;white-space:nowrap}
.hp-vbar{display:block;width:110px;height:7px;border-radius:5px;background:#2a0718;box-shadow:inset 0 1px 2px #000;overflow:hidden}
.hp-vbar i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#7cf27c,#22b04a)}
.hp-bal{grid-area:bal;text-align:right;z-index:1}
.hp-bal small{display:block;font:700 11px var(--f-display);letter-spacing:.16em;color:#e9d5ff}
.hp-bal b{display:block;font:800 clamp(26px,8vw,38px)/1 var(--f-display);color:#ffe14d;-webkit-text-stroke:1.2px #7a2a00;paint-order:stroke fill;text-shadow:0 3px 0 #a33f00,0 8px 14px rgba(0,0,0,.45);font-variant-numeric:tabular-nums}
.hp-bal b i{font-style:normal;font-size:.5em;color:#fff;-webkit-text-stroke:0;text-shadow:0 2px 0 #2a0d6e;vertical-align:middle}
.hp-acts{grid-area:acts;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hp-b{display:grid;place-items:center;height:44px;border-radius:999px;border:2px solid rgba(255,255,255,.75);text-decoration:none;color:#fff;font:800 16px var(--f-display);letter-spacing:.03em;transition:transform .08s}
.hp-b:active{transform:translateY(3px)}
.hp-b.g{background:linear-gradient(180deg,#5ef08a,#18b04c);box-shadow:0 4px 0 #0b7a31,0 0 14px rgba(94,240,138,.45);text-shadow:0 2px 0 #0b7a31}
.hp-b.o{background:linear-gradient(180deg,#ffb23a,#ff8a00 55%,#f06a00);box-shadow:0 4px 0 #a24400;text-shadow:0 2px 0 #b54d00}
.hp-b.p{background:linear-gradient(180deg,#7a3ae8,#5122c4);box-shadow:0 4px 0 #2a0d6e;text-shadow:0 2px 0 #2a0d6e}
/* visitor version */
.hp-player.guest{grid-template-columns:auto 1fr;grid-template-areas:"gift txt" "acts acts"}
.hp-gift{grid-area:gift;font-size:46px;line-height:1;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5));animation:hpBob 1.8s ease-in-out infinite}
.hp-gtxt{grid-area:txt;z-index:1}
.hp-gtxt b{display:block;font:800 clamp(17px,5vw,24px)/1.1 var(--f-display);color:#fff;text-shadow:0 2px 0 #2a0d6e}
.hp-gtxt b em{font-style:normal;color:#ffe14d;-webkit-text-stroke:1px #7a2a00;paint-order:stroke fill;text-shadow:0 2px 0 #a33f00}
.hp-gtxt span{display:block;margin-top:3px;font:500 12px var(--f-body);color:#e9d5ff}

/* quick buttons */
.hp-quick{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;padding:12px 8px 10px;border-radius:18px;
  background:radial-gradient(ellipse at 50% 0,rgba(122,24,56,.95),rgba(58,7,24,.96));border:2px solid #8a2bd8;box-shadow:0 0 0 1.5px #f5c518 inset,0 10px 24px -12px rgba(0,0,0,.8)}
.hp-q{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:#fff;min-width:0}
.hp-q b{font:700 11.5px var(--f-display);letter-spacing:.02em;white-space:nowrap;text-shadow:0 1px 2px #000}
.hp-qi{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;font-size:24px;line-height:1;border:2px solid rgba(255,255,255,.8);transition:transform .1s}
.hp-q:active .hp-qi{transform:translateY(3px) scale(.96)}
.hp-q.g .hp-qi{background:radial-gradient(circle at 40% 30%,#86efac,#16a34a);box-shadow:0 4px 0 #0b5e2a,0 0 12px rgba(74,222,128,.4)}
.hp-q.o .hp-qi{background:radial-gradient(circle at 40% 30%,#ffd08a,#f06a00);box-shadow:0 4px 0 #a24400}
.hp-q.p .hp-qi{background:radial-gradient(circle at 40% 30%,#d6b4ff,#6a2be0);box-shadow:0 4px 0 #2a0d6e,0 0 12px rgba(178,107,255,.5)}
.hp-q.b .hp-qi{background:radial-gradient(circle at 40% 30%,#9cd0ff,#1460e6);box-shadow:0 4px 0 #0b3a8a}
.hp-q.y .hp-qi{background:radial-gradient(circle at 40% 30%,#fff3a0,#e8a400);box-shadow:0 4px 0 #8a5a00}
.hp-q.r .hp-qi{background:radial-gradient(circle at 40% 30%,#ffb3d1,#e0246e);box-shadow:0 4px 0 #7a0b3a}
.hp-dot{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#ff2d55;border:2px solid #fff;font:700 10px/14px var(--f-mono);font-style:normal;color:#fff;text-align:center;animation:hpPulse 1.2s infinite}
.hp-dot:empty{min-width:14px;height:14px;padding:0}
.hp-inv{margin:0}
@media (max-width:380px){.hp-qi{width:42px;height:42px;font-size:21px}.hp-q b{font-size:10.5px}}
@media (min-width:760px){.hp-player{grid-template-columns:1fr auto auto;grid-template-areas:"me bal acts"}.hp-acts{min-width:300px}.hp-player.guest{grid-template-columns:auto 1fr auto;grid-template-areas:"gift txt acts"}}
@keyframes hpBob{50%{transform:translateY(-5px) rotate(-4deg)}}
@keyframes hpPulse{50%{transform:scale(1.15)}}

/* game rows: each row in a framed maroon box with a ribbon title */
html body.cust .cz-home .cz-sec{padding:10px 10px 12px;border-radius:18px;background:radial-gradient(ellipse at 50% 0,rgba(122,24,56,.85),rgba(40,6,22,.9));border:2px solid #7a3ae8;box-shadow:0 0 0 1.5px rgba(245,197,24,.7) inset,0 10px 22px -12px rgba(0,0,0,.8)}
html body.cust .cz-home .cz-sech b{display:inline-flex;align-items:center;gap:6px;padding:5px 16px 5px 12px;margin-left:-12px;border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,#8a3ef0,#5122c4);border:1.5px solid #c99bff;border-left:0;font:800 15px var(--f-display);color:#fff;text-shadow:0 2px 0 #2a0d6e;box-shadow:0 3px 0 #2a0d6e}
html body.cust .cz-home .cz-allb{background:linear-gradient(180deg,#ffb23a,#f06a00);border:1.5px solid #ffe08a;color:#fff;border-radius:999px;font-weight:800;box-shadow:0 3px 0 #a24400;text-shadow:0 1px 0 #b54d00}
html body.cust .cz-home .cz-arr{background:linear-gradient(180deg,#4a1640,#2c0a22);border:1.5px solid rgba(245,197,24,.6);color:#ffd84a;border-radius:50%}
html body.cust .cz-home .cz-tile{border:2px solid rgba(245,197,24,.55);box-shadow:0 6px 14px -6px rgba(0,0,0,.8)}
html body.cust .cz-home .cz-cat{background:linear-gradient(180deg,#4a1640,#2c0a22);border:1.5px solid rgba(201,155,255,.5);color:#fff}
html body.cust .cz-home .cz-cat.on{background:linear-gradient(180deg,#ffd84a,#ff9d00);border-color:#fff3b0;color:#3a1400;box-shadow:0 3px 0 #a24400}
html body.cust .cz-home .cz-search{background:rgba(20,2,12,.7);border:1.5px solid #7a3a66}
html body.cust .cz-home .cz-banner{border:2px solid #f5c518;box-shadow:0 0 0 2px rgba(138,43,216,.8) inset,0 0 26px rgba(138,43,216,.4)}
html body.cust .cz-all{display:block;width:max-content;margin:4px auto 0;padding:12px 26px;border-radius:999px;border:2px solid #ffe08a;background:linear-gradient(180deg,#ffb23a,#ff8a00 55%,#f06a00);color:#fff;font:800 15px var(--f-display);text-decoration:none;text-shadow:0 2px 0 #b54d00;box-shadow:0 4px 0 #a24400}
html body.cust footer{background:transparent}
html body.cust .cz-signup{background:linear-gradient(180deg,#ffb23a,#f06a00)!important;color:#fff!important;border:1.5px solid #ffe08a;text-shadow:0 1px 0 #b54d00;box-shadow:0 3px 0 #a24400}
html body.cust .cz-login{background:linear-gradient(180deg,#7a3ae8,#5122c4)!important;color:#fff!important;border:1.5px solid #c99bff;box-shadow:0 3px 0 #2a0d6e}
/* the big "Pak1122" banner is not shown on the home page (owner asked) */
html body.cust .cz-home #czBanner{display:none!important}

/* ---- games lobby (games.html): no big "Pak1122" banner, same framed look as the home page ---- */
html body.cust.games-page #lobby #czBanner{display:none!important}
html body.cust.games-page #lobby{gap:12px}
html body.cust.games-page .cz-ticker{border:1.5px solid rgba(245,197,24,.55);border-radius:14px;background:linear-gradient(90deg,rgba(81,34,196,.55),rgba(58,7,24,.85))}
html body.cust.games-page .cz-cats{padding:8px;border-radius:18px;background:radial-gradient(ellipse at 50% 0,rgba(122,24,56,.95),rgba(58,7,24,.96));border:2px solid #8a2bd8;box-shadow:0 0 0 1.5px #f5c518 inset,0 10px 24px -12px rgba(0,0,0,.8)}
html body.cust.games-page .cz-cat{border-radius:14px;color:#fff}
html body.cust.games-page .cz-cat span{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 3px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#d6b4ff,#6a2be0);border:2px solid rgba(255,255,255,.75);box-shadow:0 3px 0 #2a0d6e;filter:none}
html body.cust.games-page .cz-cat.on span{background:radial-gradient(circle at 40% 30%,#fff3a0,#ff9d00);box-shadow:0 3px 0 #a24400,0 0 14px rgba(255,191,31,.6)}
html body.cust.games-page .cz-cat.on{background:rgba(255,216,74,.12);color:#ffd84a}
html body.cust.games-page .cz-cat.on::after{background:#ffd84a}
html body.cust.games-page .cz-sec{padding:10px 10px 12px;border-radius:18px;background:radial-gradient(ellipse at 50% 0,rgba(122,24,56,.85),rgba(40,6,22,.9));border:2px solid #7a3ae8;box-shadow:0 0 0 1.5px rgba(245,197,24,.7) inset,0 10px 22px -12px rgba(0,0,0,.8)}
html body.cust.games-page .cz-sech b{display:inline-flex;align-items:center;gap:6px;padding:5px 16px 5px 12px;margin-left:-12px;border-radius:0 999px 999px 0;background:linear-gradient(180deg,#8a3ef0,#5122c4);border:1.5px solid #c99bff;border-left:0;font:800 15px var(--f-display);color:#fff;text-shadow:0 2px 0 #2a0d6e;box-shadow:0 3px 0 #2a0d6e}
html body.cust.games-page .cz-sech button{background:linear-gradient(180deg,#ffb23a,#f06a00);border:1.5px solid #ffe08a;color:#fff;border-radius:999px;font:800 12px var(--f-display);padding:5px 12px;box-shadow:0 3px 0 #a24400;text-shadow:0 1px 0 #b54d00}
html body.cust.games-page .cz-tile{border:2px solid rgba(245,197,24,.55);box-shadow:0 6px 14px -6px rgba(0,0,0,.8)}
html body.cust.games-page .cz-search{background:rgba(20,2,12,.7);border:1.5px solid #7a3a66}

/* ---- 🎰 jackpot banner (real pool) ---- */
.hp-jp{position:relative;display:block;width:100%;min-height:118px;padding:0;border:2px solid #f5c518;border-radius:18px;overflow:hidden;cursor:pointer;text-align:left;color:#fff;background:#2a0718;
  box-shadow:0 0 0 2px rgba(138,43,216,.85) inset,0 12px 26px -10px rgba(0,0,0,.85),0 0 24px -6px rgba(255,191,31,.45)}
.hp-jpbg{position:absolute;inset:0;background:url(/img/ui/jackpot_bg.webp?v=1) right center/cover no-repeat}
.hp-jpbg::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,4,20,.92) 0%,rgba(26,4,20,.6) 48%,transparent 78%)}
.hp-jptx{position:relative;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:118px;padding:12px 16px;max-width:66%}
.hp-jptx small{font:800 13px var(--f-display);letter-spacing:.22em;color:#ffd84a;text-shadow:0 2px 0 #5a1a00}
.hp-jpv{font:800 clamp(30px,9vw,44px)/1.05 var(--f-display);color:#ffe14d;-webkit-text-stroke:1.4px #7a2a00;paint-order:stroke fill;text-shadow:0 4px 0 #a33f00,0 0 22px rgba(255,216,74,.55);font-variant-numeric:tabular-nums;white-space:nowrap}
.hp-jptx em{font:600 11.5px/1.3 var(--f-body,sans-serif);font-style:normal;color:#f3e3ec}
/* ---- Bonus Center strip ---- */
.hp-ev{border-radius:18px;padding:8px 6px 10px;background:radial-gradient(ellipse at 50% 0,rgba(122,24,56,.95),rgba(40,6,22,.96));border:2px solid #8a2bd8;box-shadow:0 0 0 1.5px #f5c518 inset,0 10px 24px -12px rgba(0,0,0,.8)}
.hp-evh{display:flex;align-items:center;justify-content:space-between;padding:0 6px 4px}
.hp-evh b{font:800 14px var(--f-display);color:#ffd84a;letter-spacing:.08em;text-shadow:0 2px 0 #5a1a00}
.hp-evall{border:1.5px solid #ffe08a;border-radius:999px;padding:3px 12px;background:linear-gradient(180deg,#ffb23a,#f06a00);color:#fff;font:800 12px var(--f-display);box-shadow:0 2px 0 #a24400;cursor:pointer}
.hp-evrow{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 16px) / 4.6);gap:4px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 0}
.hp-evrow::-webkit-scrollbar{display:none}
.hp-e{scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 0;border:0;background:none;color:#fff;cursor:pointer;min-width:0}
.hp-ei{position:relative;display:grid;place-items:center;width:62px;height:62px}
.hp-ei img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 6px rgba(0,0,0,.55));transition:transform .15s}
.hp-e:active .hp-ei img{transform:scale(.92)}
.hp-e .hp-dot{top:0;right:2px}
.hp-e>b{font:700 11.5px var(--f-display);white-space:nowrap;text-shadow:0 1px 2px #000}
.hp-evs{min-height:15px;padding:0 6px;border-radius:8px;font:700 10.5px/15px var(--f-mono,monospace);color:#e0bcd2;white-space:nowrap}
.hp-evs.hot{background:linear-gradient(180deg,#5ef08a,#18b04c);color:#053b17;box-shadow:0 2px 0 #0b7a31}
@media (min-width:760px){.hp-evrow{grid-auto-columns:calc((100% - 32px) / 9)}}
.hp-gift img{width:64px;height:64px;object-fit:contain}
/* realistic pictures for the category buttons and the bottom bar (js/art.js puts them in) */
.cz-cat span img,.cz-bi span img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5))}
html body.cust .cz-cat span:has(img){font-size:0;width:34px;height:34px}
html body.cust.games-page .cz-cat span:has(img){width:44px;height:44px;padding:5px}
html body.cust .cz-bi span:has(img){font-size:0;width:30px;height:30px;filter:none}
html body.cust .cz-bi:not(.on) span:has(img){filter:saturate(.75) brightness(.9)}

/* ---- lobby categories: 3 × 2 grid + "Show more" (instead of one sideways row) ---- */
.cz-sgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:2px 0 4px}
@media (min-width:700px){.cz-sgrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}}
.cz-sgrid .cz-tile{width:auto}
.cz-more{display:block;width:100%;margin-top:8px;height:38px;border-radius:999px;border:1.5px solid rgba(201,155,255,.6);background:linear-gradient(180deg,#5a2a9e,#3a1670);color:#fff;font:800 13.5px var(--f-display);letter-spacing:.03em;cursor:pointer;box-shadow:0 3px 0 #22094a}
.cz-more:active{transform:translateY(2px)}
.cz-more[hidden]{display:none}
/* ⭐ favourites */
.gv-fav{color:#d9b3c9;font-size:20px}
.gv-fav.on{color:#fde047;text-shadow:0 0 8px rgba(253,224,71,.8)}
html body.cust.games-page .cz-tile .cz-fav{top:auto;bottom:6px;right:6px;width:30px;height:30px;font-size:17px;border:1.5px solid rgba(255,255,255,.35)}
html body.cust.games-page .cz-tile .cz-name{padding-right:34px}
.cz-fav.on{color:#fde047!important;border-color:#fde047!important;background:rgba(60,10,40,.75)!important}
html body.cust.games-page .cz-cats{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}
html body.cust.games-page .cz-cat{min-width:0;padding-left:0;padding-right:0}
html body.cust.games-page .cz-cat span{width:40px;height:40px}
html body.cust.games-page .cz-cat small{font-size:10.5px;white-space:nowrap}
/* old blocks from the support-chat days: not used on the casino home page */
html body.cust #invite.block,html body.cust #download.block{display:none!important}
