/* (31 Oct 2026, night) Get Endheri in Thaas's own look (js/shop.js): tabs for packs, orders and gift codes; packs as coral cards;
   a checkout with three guided steps beside a receipt-style summary; the header reuses the league bar (league.css .lgbar/.lgback) */
#buyOv>.panel.shop{max-width:min(1040px,100%); width:100%; max-height:calc(100dvh - 20px); overflow:auto; padding:14px 18px 18px}
.shopbal{display:flex; align-items:center; gap:6px; padding:7px 14px; border-radius:999px; border:1px solid rgba(240,192,138,.4); background:rgba(0,0,0,.35)}
.shopbal b{font-size:17px} .shopbal small{color:var(--muted); font-size:11px}
.shoptabs{display:flex; gap:4px; padding:4px; margin:4px 0 14px; border-radius:14px; background:rgba(0,0,0,.3); width:fit-content}
.shoptabs button{padding:8px 18px; border-radius:10px; border:0; background:none; color:var(--muted); font-weight:800}
.shoptabs button.on{background:rgba(211,154,94,.18); color:#f0c08a} .shoptabs em{font-style:normal; font-size:11px; background:#e0604d; color:#fff; border-radius:999px; padding:1px 7px; margin-left:4px}
/* packs */
.shoppacks{display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px}
.shoppack{position:relative; display:grid; justify-items:center; gap:2px; padding:22px 14px 14px; border-radius:20px; color:var(--cream); cursor:pointer;
  border:1px solid rgba(240,192,138,.22); background:radial-gradient(circle at 50% 18%,rgba(224,96,77,.18),transparent 60%),linear-gradient(180deg,#1d1814,#0d0b0a)}
.shoppack:hover{border-color:rgba(240,192,138,.55)} .shoppack:disabled{opacity:.6}
.shoppack.best{border-color:#d39a5e; box-shadow:0 0 0 1px rgba(211,154,94,.35), 0 12px 30px rgba(211,154,94,.15)}
.shopbest{position:absolute; top:-10px; left:50%; transform:translateX(-50%); font-style:normal; font-size:11px; font-weight:800; letter-spacing:.06em; color:#1b1207; background:linear-gradient(180deg,#f3c76b,#d39a5e); padding:3px 12px; border-radius:999px; white-space:nowrap}
.shoppack>b{font-size:32px; margin-top:8px; font-variant-numeric:tabular-nums} .shoppack>span{font-size:12px; color:#e0a08f; letter-spacing:.1em; text-transform:uppercase}
.shopbonus{color:#9fe3b4; font-size:11.5px; min-height:16px}
.shoppack strong{margin-top:10px; width:100%; padding:10px 0; border-radius:12px; background:linear-gradient(180deg,#e9b872,#c98a4a); color:#1b1207; font-size:18px}
.shopcorals{position:relative; display:block; width:84px; height:62px}
.shopcorals i{position:absolute; bottom:0; width:40px; height:54px; background:url(../art/ui/coral.webp) center/contain no-repeat; filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}
.shopcorals i:nth-child(1){left:21px; width:42px; height:58px; z-index:2} .shopcorals i:nth-child(2){left:2px; transform:rotate(-14deg) scale(.86); opacity:0} .shopcorals i:nth-child(3){right:0; transform:rotate(14deg) scale(.86); opacity:0}
.shopcorals.c2 i:nth-child(2),.shopcorals.c3 i:nth-child(2),.shopcorals.c3 i:nth-child(3){opacity:1}
.shopnote{color:var(--muted); font-size:12.5px; margin:8px 0 0; line-height:1.5} .shopnote b{color:var(--cream)}
.shopempty,.shopcodes{display:grid; justify-items:center; gap:8px; text-align:center; padding:26px 10px}
.shopempty b,.shopcodes>b{font-size:18px} .shopempty p,.shopcodes p{margin:0; max-width:480px; color:var(--muted); font-size:13.5px; line-height:1.55}
.shopempty .btn,.shopcodes .btn{width:auto; padding:11px 22px} .shopico{font-size:34px; line-height:1}
.shopcodes input{width:min(320px,90%); padding:14px; border-radius:14px; border:1px solid rgba(240,192,138,.4); background:rgba(0,0,0,.4); color:var(--cream); font-size:24px; letter-spacing:.14em; text-align:center; font-variant-numeric:tabular-nums}
/* checkout */
.shopco{display:grid; grid-template-columns:1fr 290px; gap:16px; align-items:start}
.shopflow{display:grid; gap:10px}
.shopstep{padding:14px 16px; border-radius:16px; border:1px solid rgba(251,247,239,.12); background:rgba(18,16,15,.85)} .shopstep.muted{opacity:.8}
.shopstep h3{display:flex; align-items:center; gap:10px; margin:0 0 8px; font-size:17px; text-transform:none; letter-spacing:0; color:var(--cream)}
.shopstep h3 i{width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:rgba(211,154,94,.2); color:#f0c08a; font-style:normal; font-size:13px}
.shoprow{display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 0; border-top:1px solid rgba(251,247,239,.07)} .shoprow span{color:var(--muted); font-size:13px}
.shoprow b{display:flex; align-items:center; gap:8px; text-align:right} .mono{font-variant-numeric:tabular-nums; letter-spacing:.03em; -webkit-user-select:text; user-select:text}
.shoprow.hl{background:rgba(211,154,94,.08); border-radius:10px; padding:8px 10px; border-top:0; margin-top:4px} .shoprow.hl b{color:#f0c08a}
.shopcopy{padding:4px 10px; border-radius:8px; border:1px solid rgba(240,192,138,.45); background:none; color:#f0c08a; font-size:12px; font-weight:700}
.shopdrop{display:grid; justify-items:center; gap:4px; padding:20px 12px; margin:8px 0 10px; border-radius:14px; border:1.5px dashed rgba(240,192,138,.4); cursor:pointer; text-align:center}
.shopdrop.has{border-style:solid; border-color:rgba(127,224,168,.5)} .shopdrop img{max-width:100%; max-height:200px; border-radius:8px} .shopdrop small{color:var(--muted)} .shopplus{color:#f0c08a; font-size:26px; line-height:1}
.shopdrop.busy{pointer-events:none} .shopspin{width:28px; height:28px; border-radius:50%; border:3px solid rgba(240,192,138,.25); border-top-color:#f0c08a; animation:shopspin 1s linear infinite}
@keyframes shopspin{to{transform:rotate(360deg)}}
.shopfld{display:grid; gap:5px; margin-bottom:10px; font-size:13px; font-weight:700} .shopfld em{font-style:normal; font-size:11px; color:var(--muted); font-weight:500; margin-left:6px}
.shopfld input{padding:10px 12px; border-radius:12px; border:1px solid var(--line); background:rgba(0,0,0,.35); color:var(--cream); font:inherit; font-weight:400}
.shopflow .wide{width:100%} .linkbtn{background:none; border:0; color:var(--muted); text-decoration:underline; padding:4px 0; margin-top:6px; font-size:12.5px}
/* the receipt-style summary */
.shopreceipt{position:sticky; top:0; display:grid; gap:2px; padding:16px; border-radius:6px 6px 16px 16px; color:#2a1d10; background:#f6eedd;
  box-shadow:0 10px 30px rgba(0,0,0,.45); -webkit-mask:radial-gradient(circle 7px at 50% 0,transparent 98%,#000) 0 0/18px 100% repeat-x; mask:radial-gradient(circle 7px at 50% 0,transparent 98%,#000) 0 0/18px 100% repeat-x}
.shopreceipt .shopk{font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#8a6b45; margin-top:6px}
.shopno{font-size:26px; letter-spacing:.04em; font-variant-numeric:tabular-nums; margin-bottom:6px; -webkit-user-select:text; user-select:text}
.shopreceipt .shoprow{border-top:1px dashed rgba(42,29,16,.2)} .shopreceipt .shoprow span{color:#7a6248} .shopreceipt .shoprow.total b{font-size:20px}
.shopmail{color:#7a6248; font-size:11.5px; line-height:1.4}
.shopline{display:flex; list-style:none; margin:12px 0 6px; padding:0} .shopline li{flex:1; display:grid; justify-items:center; gap:4px; position:relative; font-size:11px; color:#9a8466; text-align:center}
.shopline li i{width:14px; height:14px; border-radius:50%; border:2px solid #c9b597; background:#f6eedd; z-index:1}
.shopline li+li::before{content:""; position:absolute; top:6px; right:50%; width:100%; height:2px; background:#ddd0b8}
.shopline li.on{color:#2a1d10; font-weight:700} .shopline li.on i{border-color:#2e7d4f; background:#2e7d4f} .shopline li.on+li.on::before{background:#2e7d4f} .shopline li.bad i{border-color:#c0272d; background:#c0272d}
/* orders */
.shoph{margin:10px 0 6px; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
.shoporder{display:flex; align-items:center; gap:12px; padding:11px 14px; margin-bottom:6px; border-radius:14px; border:1px solid rgba(251,247,239,.1); background:rgba(14,12,11,.65)}
.shoporder .btn,.shoporder .ghost{width:auto; white-space:nowrap; padding:8px 14px}
.shopdot{width:10px; height:10px; flex:none; border-radius:50%; background:#8a8a8a} .st-open .shopdot{background:#e7b54a} .st-pending .shopdot{background:#7fd3ff} .st-done .shopdot{background:#4fc27a} .st-rejected .shopdot{background:#e0604d}
/* Store → Get Endheri */
.shopentry{grid-column:1 / -1; display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding:16px 18px; border-radius:16px; border:1px solid rgba(240,192,138,.45); background:radial-gradient(circle at 0 50%,rgba(224,96,77,.15),transparent 50%),rgba(14,12,11,.7); width:min(760px,80vw)}
.shopentry>div{display:grid; gap:3px; flex:1; min-width:200px} .shopentry>div b{font-size:18px} .shopentry>div span{color:var(--muted); font-size:13px}
.shopbtns{display:flex; gap:8px; flex-wrap:wrap} .shopbtns .btn,.shopbtns .ghost{width:auto; padding:10px 18px}
@media (max-width:760px){ .shopco{grid-template-columns:1fr} .shopreceipt{position:static; order:-1} }
@media (max-height:430px){ .shoppack{padding:16px 12px 12px} .shopcorals{height:48px} .shoppack>b{font-size:25px; margin-top:4px} }
/* the reviewer's vouchers and receipt checks */
.review .rvvmake{grid-template-columns:repeat(3,1fr) auto; align-items:end; max-width:none} .review .rvcodes{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:10px 0; padding:10px; border-radius:10px; background:rgba(201,154,58,.08); -webkit-user-select:text; user-select:text}
.review code{font-size:14px; letter-spacing:.06em; color:#ffe7a8} .review .rvcheck{color:#9fe3b4 !important}
@media (max-width:760px){ .review .rvvmake{grid-template-columns:1fr} }
.shopreceipt,.shopreceipt *{text-shadow:none !important} .shopreceipt .shopmail{color:#6b5338 !important}

/* (31 Oct 2026, late) packs of Endheri and/or Maavaharu, offers on top, a − / + count on each pack and a basket bar:
   several packs go into one order (one transfer, one receipt) */
.shoppack{cursor:default}
.shoppack h5{margin:6px 0 0; font-size:15px; color:#ffe7a8; text-align:center}
.shopgot{display:flex; gap:14px; justify-content:center; align-items:flex-end; margin-top:8px}
.shopgot>span{display:grid; justify-items:center; gap:0} .shopgot .akr,.shopgot .mvh{font-size:26px}
.shopgot b{font-size:28px; font-variant-numeric:tabular-nums; line-height:1.1} .shopgot small{font-size:10.5px; color:#e0a08f; letter-spacing:.1em; text-transform:uppercase}
.shoppack strong s{font-weight:600; opacity:.55; font-size:14px; margin-right:4px}
.shoppack.offer{border-color:#d39a5e; background:radial-gradient(circle at 50% 0,rgba(231,181,74,.25),rgba(10,8,7,.85) 70%); box-shadow:0 0 0 1px rgba(211,154,94,.35), 0 12px 30px rgba(211,154,94,.15)}
.shoppack.inbasket{outline:2px solid #8fe0a8; outline-offset:2px}
.shoppack.gone{opacity:.55}
.shoppack>.btn{width:100%; margin-top:8px; padding:9px 0}
.shopqty{display:flex; align-items:center; justify-content:space-between; width:100%; margin-top:8px; padding:3px; border-radius:12px; background:rgba(0,0,0,.4); border:1px solid rgba(143,224,168,.5)}
.shopqty button{width:40px; height:36px; border-radius:9px; border:0; background:rgba(255,255,255,.08); color:var(--cream); font-size:20px; font-weight:800; cursor:pointer} .shopqty button:disabled{opacity:.3; cursor:default}
.shopqty b{font-size:18px; color:#8fe0a8}
.shopdone{margin-top:8px; font-weight:800; color:#8fe0a8}
.shopcart{position:sticky; bottom:0; z-index:3; display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:12px; padding:12px 14px; border-radius:16px;
  background:linear-gradient(180deg,rgba(40,30,20,.97),rgba(22,16,10,.98)); border:1px solid #d39a5e; box-shadow:0 -10px 24px rgba(0,0,0,.5)}
.shopcart>span{flex:1; min-width:140px; display:grid} .shopcart>span small{color:var(--muted); font-size:12px}
.shopcart strong{font-size:20px; color:#ffe7a8; font-variant-numeric:tabular-nums} .shopcart .btn,.shopcart .ghost{width:auto; padding:10px 18px}
.shopbal .mvh{margin-left:8px}
.shoppack strong{text-align:center}

/* (2 Nov 2026) Google Play packs in the app. (3 Nov, user: "I don't want it to scroll up and down; sideways is fine")
   one row of small cards that slides sideways; the window itself never scrolls up and down */
#buyOv .gpanel.shop:has(.playpacks){overflow-y:hidden !important}
.playpacks{display:flex !important; gap:8px; margin-top:12px; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain;
  scroll-snap-type:x proximity; padding:10px 2px 6px; scrollbar-width:thin}
.playpacks .shoppack{flex:0 0 128px; scroll-snap-align:start; padding:12px 8px 8px; border-radius:14px; gap:0; align-content:space-between}
.playpacks .shoppack h5{margin:0; font-size:12px; line-height:1.2}
.playpacks .shopgot{gap:10px; margin-top:4px}
.playpacks .shopgot .akr,.playpacks .shopgot .mvh{font-size:18px}
.playpacks .shopgot b{font-size:19px}
.playpacks .shopgot small{font-size:9px; letter-spacing:.04em}
.playpacks .shoppack>.btn{margin-top:6px; padding:6px 0; font-size:13px}
.playpacks .shopbest{top:-8px; font-size:9.5px; padding:2px 8px}
.playpacks .shoppack.offer{flex-basis:140px} .playpacks .shoppack.offer .shopgot{gap:6px} .playpacks .shoppack.offer .shopgot b{font-size:16px} .playpacks .shoppack.offer .shopgot small{font-size:8px}
.playpacks{scrollbar-color:rgba(211,154,94,.55) transparent} .playpacks::-webkit-scrollbar{height:5px} .playpacks::-webkit-scrollbar-track{background:transparent} .playpacks::-webkit-scrollbar-thumb{background:rgba(211,154,94,.55); border-radius:4px}

/* (3 Nov 2026, user: "the spacing between the packs and 'Paid through Google Play' is too close; I see an empty space on the
   right; I want the scroll in the store frame to be perfect") the store's close button sits in its own header, so the
   window drops the right-hand gap other windows keep for theirs; the packs share the whole row (and slide sideways only
   when there are more than fit), and the note sits clear of them */
html body #buyOv.gov>.gpanel.shop:not(.home){padding-right:14px !important}
.playpacks{padding:10px 0 8px}
.playpacks .shoppack{flex:1 0 128px; max-width:none}
.playpacks .shoppack.offer{flex:1 0 140px}
.playpacks+.shopnote{margin-top:14px}
.shop .err:empty{display:none}
/* short phone screens (320-360 px high): the tabs and the row sit closer, so the note under the packs is never cut off */
@media (max-height:380px){
  #buyOv .shop:has(.playpacks) .shoptabs{margin:0 0 4px}
  #buyOv .shop:has(.playpacks) .lgbar{margin-bottom:2px}
  .playpacks{margin-top:4px; padding-top:9px}
  .playpacks+.shopnote{margin-top:8px; font-size:11.5px; line-height:1.35}
}
