/* Fase 3e (GLORPZ Racing 1.2.1): de centrale winkel (#s-shop, client/js/shop.js), de koopknop (.sb-btn), de
   diamanten-chip met plus (.dm-chip) en de laag voor blad en bedankmoment (#sh-layer, client/js/shopbuy.js).
   iPhone 12: de winkel is dicht (geen 3D-wereld erachter, main.js tekent dan niet), geen backdrop-filter, geen bewegende
   schaduwen; alleen transform en opacity bewegen. Maten voor 844 x 390 met 44 px veilige rand; iPad via clamp() en
   de breedteregels onderaan. Kleuren uit de GLORPZ-stijl (glorpz.css) met een eigen terugval voor ?stijl=oud. */

#s-shop {
  --sh-ink: var(--gz-ink, #16042f); --sh-soft: var(--gz-text-soft, #ead8ff); --sh-label: var(--gz-label, #ffc8fa);
  --sh-m2: var(--gz-m2, #ff3df0); --sh-m4: var(--gz-m4, #6e0a62); --sh-s2: var(--gz-s2, #b6ff2a); --sh-s5: var(--gz-s5, #2a6a00);
  --sh-c2: var(--gz-c2, #38e2ff); --sh-y1: var(--gz-y1, #fff6a8); --sh-y2: var(--gz-y2, #ffe14a);
  --sh-rail: 160px; --sh-head: 46px;
  /* dicht en zonder vervaging: de wereld erachter wordt niet getekend zolang de winkel open is */
  background: radial-gradient(130% 70% at 50% 0%, rgba(255, 61, 240, .22), transparent 60%),
    radial-gradient(90% 60% at 100% 100%, rgba(56, 226, 255, .14), transparent 65%),
    linear-gradient(180deg, #3d0d8c 0%, #280868 46%, #170448 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  align-items: stretch; justify-content: stretch;
  padding: calc(6px + var(--sat)) calc(8px + var(--sar)) calc(6px + var(--sab)) calc(8px + var(--sal));
}
/* Herstel 3 (iPhone 12): de body houdt in de winkel dezelfde touch-action als in de andere menu's (a11y.css). Chrome
   rekent de werkzame touch-action van elk element mee in de stijl; een andere waarde op de body liet bij het openen van
   de winkel alle ~750 elementen van de pagina opnieuw stijlen (CPU x4: 50 tot 110 ms in het eerste beeldje). Knijpen
   kan in de winkel alleen buiten de lijst (.sh-body houdt pan-y); main.js zet een zoom terug bij een rit. De tweede regel
   is die van a11y.css voor de scrollvlakken van de andere schermen: ook die houden zo hun waarde. */
body[data-screen=shop] { touch-action: manipulation; }
body[data-screen=shop] :is(.panel, .setup-grid, #s-setup .setup-col, #s-settings .set-body, #s-online .on-body, #s-champ .cp-col, #s-arena .ar-col, #s-champ .cp-main > .cp-scroll, .color-pop.cars) { touch-action: pan-y pinch-zoom; }
/* Herstel 3 (iPhone 12): de winkel is dekkend en knipt in beeld, zonder overvloeien van .26 s. Zo wordt het scherm eronder
   (home, Arena, Garage) in het eerste beeldje al niet meer getekend en hoeft de 3D-wereld niet mee (main.js covered) */
#s-shop.show, body[data-screen=shop] .screen:not(.show) { transition: none; }
/* geen glitter en spetters achter de winkel (glorpz.css .panel-screen::before): de winkel vult het hele scherm */
#s-shop::before { display: none; }
#s-shop .shop-panel, #shop { position: relative; flex: 1; min-width: 0; min-height: 0; display: grid; grid-template-rows: var(--sh-head) minmax(0, 1fr); gap: 6px;
  color: #fff; font-family: var(--ui); font-weight: 600; }

/* ---------- kop ---------- */
.sh-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sh-back { width: 42px; height: 40px; flex: none; border-radius: 12px; border: 2px solid var(--sh-ink); color: #fff; font-size: 20px; display: grid; place-items: center;
  background: linear-gradient(180deg, #ff8af6, #e22ce0 50%, #b11ad0 52%, #8a14b8); box-shadow: 0 3px 0 var(--sh-m4), inset 0 2px 0 rgba(255, 255, 255, .45); }
.sh-back:active { transform: translateY(2px); }
.sh-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1; letter-spacing: .01em; white-space: nowrap; color: #fff;
  text-shadow: 1.6px 0 0 #07000f, -1.6px 0 0 #07000f, 0 -1.6px 0 #07000f, 0 2.4px 0 #07000f, 0 0 10px rgba(255, 61, 240, .55); }
.sh-subt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--sh-soft);
  background: rgba(22, 4, 47, .55); border: 1.5px solid rgba(182, 255, 42, .55); border-radius: 99px; padding: 2px 10px 1px; }
.sh-sp { flex: 1; }
.sh-stchip { display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px 0 8px; border-radius: 99px; flex: none;
  background: linear-gradient(180deg, #3a0d7e, #22065a); border: 2.5px solid var(--sh-m2); box-shadow: 0 2px 0 var(--sh-m4);
  font-family: var(--display); font-size: 15px; }
.sh-ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.14em; }
.sh-stchip .sh-ic { font-size: 18px; }

/* ---------- de diamanten-chip met plus (overal hetzelfde onderdeel) ---------- */
button.dm-chip:not(.pts-chip) { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 4px 0 9px; border-radius: 99px; flex: none;
  background: linear-gradient(180deg, #3a0d7e, #22065a); border: 2.5px solid var(--gz-c2, #38e2ff); box-shadow: 0 2px 0 #0d4a6a, inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #fff; font-family: var(--display); font-size: 15px; line-height: 1; pointer-events: auto; position: relative; }
button.dm-chip:not(.pts-chip) .dm-ic { font-size: 15px; line-height: 1; }
button.dm-chip:not(.pts-chip) b { font-weight: 400; font-variant-numeric: tabular-nums; }
button.dm-chip:not(.pts-chip) .plus { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-left: 2px; border: 2px solid var(--gz-ink, #16042f);
  background: linear-gradient(180deg, #eaff70, #b6ff2a 50%, #7ee000 52%, #5cb800); box-shadow: 0 2px 0 var(--gz-s5, #2a6a00); color: var(--gz-ink, #16042f); font-size: 17px; }
button.dm-chip:not(.pts-chip):active { transform: translateY(1px); }
/* raakvlak minstens 44 px hoog zonder dat de chip groter wordt */
button.dm-chip:not(.pts-chip)::after { content: ''; position: absolute; inset: -6px -2px; }

/* ---------- rail en inhoud ---------- */
.sh-wrap { display: grid; grid-template-columns: var(--sh-rail) minmax(0, 1fr); gap: 9px; min-height: 0; }
.sh-rail { display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.sh-tab { position: relative; display: flex; align-items: center; gap: 5px; min-height: 36px; padding: 2px 6px; border-radius: 12px; text-align: left; color: #fff;
  background: linear-gradient(180deg, rgba(197, 139, 255, .22), rgba(60, 11, 150, .55)); border: 2px solid rgba(255, 61, 240, .38); }
.sh-tab .sh-ic { font-size: 19px; }
.sh-tl { display: flex; flex-direction: column; min-width: 0; }
/* lange namen (Sterren en Turbo) mogen over twee regels; nooit afgekapt */
.sh-tl b { font-family: var(--display); font-weight: 400; font-size: 13px; line-height: 1; overflow-wrap: anywhere; }
.sh-tl small { font-size: 12px; font-weight: 700; line-height: 1.05; letter-spacing: .01em; color: var(--sh-y2); }
.sh-tab.on { color: var(--sh-ink); border-color: var(--sh-ink); background: linear-gradient(180deg, #eaff70, #b6ff2a 46%, #8ee600 52%, #5cb800);
  box-shadow: 0 3px 0 var(--sh-s5), inset 0 2px 0 rgba(255, 255, 255, .55); }
.sh-tab.on small { color: var(--sh-s5); }
/* rood bolletje: dezelfde klop als op het beginscherm (news-beat in clash.css), stil bij 'beweging beperken' */
.sh-tab .sh-dot { position: absolute; top: -4px; right: -4px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; display: block;
  background: radial-gradient(circle at 34% 30%, #ffb0a8 0 16%, #ff3030 52%, #c40d0d); box-shadow: 0 0 0 1.5px var(--sh-ink); animation: news-beat 2s ease-in-out 1s 3; }
.sh-foot { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }
.sh-restore { height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; color: #fff;
  background: rgba(22, 4, 47, .6); border: 1.5px solid rgba(234, 216, 255, .4); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.sh-legal-mini { display: flex; gap: 0 8px; justify-content: center; flex-wrap: wrap; }
.sh-legal-mini a { font-size: 12px; padding: 2px 0; }
.sh-legal-mini a, .sh-links a, .sh-link { font-size: 12px; font-weight: 700; color: var(--sh-soft); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(234, 216, 255, .5); padding: 3px 0; }
.sh-content { position: relative; min-height: 0; min-width: 0; border-radius: 16px; overflow: hidden; }
.sh-body { height: 100%; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding: 2px 3px 22px 2px; }
.sh-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(180deg, rgba(23, 4, 72, 0), #170448); pointer-events: none; }

/* ---------- kaarten ---------- */
.shc { position: relative; border-radius: 16px; border: 2.5px solid rgba(255, 61, 240, .55); min-width: 0;
  background: linear-gradient(180deg, rgba(197, 139, 255, .24), rgba(106, 31, 224, .24) 45%, rgba(30, 6, 86, .6)); box-shadow: 0 3px 0 rgba(10, 0, 30, .6), inset 0 1px 0 rgba(255, 255, 255, .14); }
.sh-lbl { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .13em; color: var(--sh-label); text-transform: uppercase; line-height: 1.1; }
.sh-txt { margin: 3px 0 0; font-size: 12.5px; line-height: 1.18; color: var(--sh-soft); }
.sh-big { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sh-wt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sh-wt b { font-family: var(--display); font-weight: 400; font-size: 14px; line-height: 1.08; }
.sh-wt small { font-size: 12px; line-height: 1.15; color: var(--sh-soft); }
.sh-bcol { display: flex; flex-direction: column; align-items: stretch; gap: 2px; flex: none; }
.sh-approx { font-size: 12px; font-weight: 700; color: var(--sh-soft); text-align: center; }
.sh-bnote { display: block; margin-top: 3px; font-size: 12px; line-height: 1.15; font-weight: 700; color: var(--sh-y1); text-align: center; }
.sh-strip { margin: 0 0 7px; padding: 5px 9px; border-radius: 12px; background: rgba(22, 4, 47, .6); border: 1.5px solid rgba(182, 255, 42, .45);
  font-size: 12.5px; line-height: 1.18; color: var(--sh-soft); }
.sh-strip.ao { border-color: var(--sh-y2); color: var(--sh-y1); }
.sh-strip.pink { border-color: var(--sh-m2); color: #fff; }
.sh-strip.off { border-color: rgba(255, 90, 90, .7); color: #fff; }
.sh-fine { margin: 6px 2px 0; font-size: 12px; line-height: 1.2; color: var(--sh-soft); }
.sh-ao-tag, .sh-arena { display: inline-flex; align-items: center; height: 18px; padding: 1px 7px 0; border-radius: 99px; background: var(--sh-y2); color: var(--sh-ink);
  font-family: var(--display); font-size: 12px; letter-spacing: .04em; border: 1.5px solid var(--sh-ink); white-space: nowrap; vertical-align: 1px; }
.sh-ao-line { margin: 4px 0 0; font-size: 12px; color: var(--sh-y1); }
.sh-wait { display: grid; place-items: center; min-height: 120px; color: var(--sh-soft); text-align: center; }
.sh-mini { height: 32px; padding: 0 12px; border-radius: 10px; color: #fff; background: rgba(22, 4, 47, .6); border: 1.5px solid rgba(234, 216, 255, .45);
  font-size: 13px; font-weight: 700; white-space: nowrap; }
.sh-mini.on { border-color: var(--sh-s2); color: var(--sh-s2); }
/* een aangewezen kaart licht één keer op (alleen omlijning en schaal, geen bewegende schaduw) */
.sh-pulse { outline: 3px solid var(--sh-y2); outline-offset: 1px; animation: sh-pulse .5s ease-out 2 alternate; }
@keyframes sh-pulse { from { transform: scale(1); } to { transform: scale(1.04); } }

/* ---------- de koopknop: groen = diamanten, geel = echt geld, paars = van jou, omlijnd = aan, grijs = niet nu ---------- */
.sb-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 0 10px; border-radius: 12px;
  border: 2px solid var(--gz-ink, #16042f); color: var(--gz-ink, #16042f); font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1; white-space: nowrap;
  text-shadow: none; }
.sb-btn:not(:disabled):active { transform: translateY(2px); }
.sb-btn.dm { background: linear-gradient(180deg, #eaff70, #b6ff2a 46%, #8ee600 52%, #5cb800); box-shadow: 0 3px 0 var(--gz-s5, #2a6a00), inset 0 2px 0 rgba(255, 255, 255, .6); }
.sb-btn.money { background: linear-gradient(180deg, #fffbd0, #ffe14a 46%, #ffc81a 52%, #e09a00); box-shadow: 0 3px 0 #8a5a00, inset 0 2px 0 rgba(255, 255, 255, .7); }
.sb-btn.own { color: #fff; background: linear-gradient(180deg, #b46bff, #8a3ae8 50%, #6a1fe0 52%, #4a10a8); box-shadow: 0 3px 0 #2e0a7a, inset 0 2px 0 rgba(255, 255, 255, .35); }
.sb-btn.on { color: var(--gz-s2, #b6ff2a); background: rgba(22, 4, 47, .55); border-color: rgba(182, 255, 42, .7); box-shadow: none; }
.sb-btn.off { color: rgba(255, 255, 255, .7); background: rgba(60, 50, 90, .65); border-color: rgba(234, 216, 255, .35); box-shadow: none; }
.sb-btn:disabled { opacity: 1; cursor: default; }
.sb-btn.dm:disabled { filter: saturate(.45) brightness(.85); }
/* vroeg kopen (4x, herstel 1): omlijnd met een slotje, zodat het niet op een gewone groene koop lijkt (en niet op 'aan') */
.sb-btn.dm.early { color: #eaff70; background: rgba(22, 4, 47, .55); border: 2px dashed rgba(182, 255, 42, .85); box-shadow: none; }
.sb-btn .sh-ic { font-size: .82em; }
.sb-btn[data-big] { min-height: 40px; font-size: 20px; width: 100%; }

/* ---------- Uitgelicht ---------- */
.sh-feat { display: grid; grid-template-columns: minmax(250px, 286px) minmax(0, 1fr); gap: 9px; align-items: start; }
.sh-col { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sh-body .sh-pass { padding: 9px 11px 8px; border-color: var(--sh-s2); overflow: hidden;
  background: radial-gradient(80% 50% at 85% 10%, rgba(255, 61, 240, .5), transparent 70%), linear-gradient(180deg, #8d2ae8, #5a12c4 50%, #34088a); }
.sh-pass-top { display: flex; gap: 6px; align-items: flex-start; }
.sh-pass-name { min-width: 0; flex: 1; }
.sh-body .sh-pass h3 { margin: 1px 0 0; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.02; color: #fff; letter-spacing: 0; text-transform: none;
  text-shadow: 0 2px 0 var(--sh-ink), 0 -1px 0 var(--sh-ink), 1px 0 0 var(--sh-ink), -1px 0 0 var(--sh-ink); }
.sh-pass-sub { display: block; font-size: 12.5px; color: var(--sh-soft); line-height: 1.15; }
.sh-pass-art { width: 96px; height: 54px; object-fit: contain; margin: -4px -6px -4px 0; flex: none; }
.sh-perks { list-style: none; margin: 6px 0 6px; padding: 0; display: grid; gap: 3px; font-size: 13.5px; line-height: 1.12; }
.sh-perks li { display: flex; gap: 6px; align-items: center; }
.sh-perks .sh-ic { width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: var(--sh-s2); color: var(--sh-ink); border: 1.5px solid var(--sh-ink); }
.sh-perks li.sh-ao { color: var(--sh-y1); }
.sh-fair { margin: 0 0 7px; font-size: 12px; line-height: 1.15; color: var(--sh-soft); padding: 4px 7px; border-radius: 9px; background: rgba(22, 4, 47, .45); border: 1px dashed rgba(255, 225, 74, .5); }
.sh-pass-on { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sh-body .sh-pass .sh-mini { margin-top: 5px; }
.sh-legal { margin: 7px 0 0; font-size: 12px; line-height: 1.2; color: var(--sh-soft); }
.sh-links { margin: 5px 0 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sh-daily { display: flex; align-items: center; gap: 9px; padding: 6px 7px 6px 8px; border-color: var(--sh-s2); }
.sh-gift { width: 34px; height: 34px; flex: none; border-radius: 10px; background: linear-gradient(180deg, #8a3ae8, #4a10a8); display: grid; place-items: center; border: 2px solid var(--sh-ink); font-size: 22px; }
.sh-ft { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sh-ft b { font-family: var(--display); font-weight: 400; font-size: 14px; line-height: 1.1; }
.sh-ft small { font-size: 12.5px; color: var(--sh-soft); display: flex; align-items: center; gap: 3px; }
.sh-daily .sb-btn { padding: 0 10px; flex: none; }
.sh-wlooks { display: block; font-size: 12px; color: var(--sh-soft); }
.sh-body .sh-starter { padding: 8px 10px 8px; border-color: var(--sh-y2); background: radial-gradient(70% 70% at 10% 0%, rgba(255, 225, 74, .25), transparent 70%), linear-gradient(180deg, rgba(197, 139, 255, .24), rgba(30, 6, 86, .65)); }
.sh-body .sh-starter .sh-lbl { color: var(--sh-y2); }
.sh-starter-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.sh-body .sh-starter .sb-btn { min-height: 36px; font-size: 17px; padding: 0 12px; }
.sh-body .sh-week { padding: 8px 10px; border-color: var(--sh-c2); }
.sh-body .sh-week .sh-lbl { color: var(--sh-c2); }
.sh-wname { display: block; margin-top: 2px; font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.08; }
.sh-week-row { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.sh-thumbs { display: flex; align-items: center; flex: none; }
.sh-thumbs img { width: 44px; height: 44px; object-fit: contain; }
.sh-thumbs .sh-sw { margin-left: -6px; }
.sh-body .sh-week .sb-btn { min-height: 36px; font-size: 16px; }
.sh-when { margin: 4px 0 0; font-size: 12px; font-weight: 700; color: var(--sh-c2); }

/* ---------- stalen (lak, kleur, patroon, velg) ---------- */
.sh-sw { display: inline-block; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px solid var(--sh-ink); background: var(--sc, #ccc); }
.sh-sw.fin { background: radial-gradient(circle at 35% 30%, #fff 0 10%, var(--sc) 30%, color-mix(in srgb, var(--sc) 55%, #000) 75%); }
.sh-sw.fin-chroom { background: radial-gradient(circle at 35% 30%, #fff 0 10%, #d8dde6 25%, #8b95a5 55%, #e8ecf2 75%, #5e6878); }
.sh-sw.fin-carbon { background: repeating-linear-gradient(45deg, #2a2d33 0 3px, #3a3e46 3px 6px); }
.sh-sw.fin-goud { background: radial-gradient(circle at 35% 30%, #fff6c0 0 10%, #ffd34d 30%, #b8860b 75%); }
.sh-sw.liv { width: 20px; height: 34px; border: 0; border-radius: 0; background: none; }
.sh-sw.rim { border: 0; background: none; }
.sh-sw.star { display: grid; place-items: center; font-size: 18px; color: var(--sh-y2); background: rgba(22, 4, 47, .6); }

/* ---------- Diamanten ---------- */
.sh-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 12px 0 9px; }
.sh-body .sh-pack { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 9px 9px; text-align: center; }
.sh-pile { display: flex; align-items: flex-end; justify-content: center; flex-wrap: wrap; height: 70px; width: 100%; font-size: 28px; line-height: 1; }
.sh-pile.n2 { font-size: 32px; } .sh-pile.n3 { font-size: 34px; }
.sh-pile .sh-ic { margin: 0 -4px; }
.sh-body .sh-pack .sb-btn { min-height: 44px; font-size: 20px; }
.sh-ribbon { position: absolute; right: 8px; top: -11px; background: var(--sh-m2); color: #fff; font-family: var(--display); font-size: 12px; padding: 3px 9px 2px;
  border-radius: 99px; border: 2px solid var(--sh-ink); transform: rotate(3deg); white-space: nowrap; max-width: calc(100% - 10px); overflow: hidden; text-overflow: ellipsis; }

/* ---------- Karts en Glorpz: raster van kaarten ---------- */
.sh-grid { display: grid; gap: 7px; }
.sh-grid.karts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sh-grid.glorpz { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sh-it { padding: 5px 6px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.sh-it img { width: 100%; max-width: 104px; height: 60px; object-fit: contain; }
.sh-it b { font-family: var(--display); font-weight: 400; font-size: 13px; line-height: 1.05; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-it .sb-btn { width: 100%; margin-top: auto; font-size: 14px; }
.sh-it.on { border-color: var(--sh-s2); box-shadow: 0 0 0 2px rgba(182, 255, 42, .35), 0 3px 0 rgba(10, 0, 30, .6); }
.sh-rate { font-size: 12px; color: var(--sh-soft); }
.sh-body .sh-kart .sh-arena { position: absolute; left: 5px; top: 5px; z-index: 1; }
/* vroeg (herstel 1): een grijs plakkertje met slot '4x duurder' onder de naam (geen roze bonuslook, nooit over de badge) */
.sh-early { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sh-x { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 1px 7px 0 6px; border-radius: 99px; background: #5c5675; color: #fff;
  font-family: var(--display); font-weight: 400; font-size: 12px; border: 1.5px solid var(--sh-ink); white-space: nowrap; }
.sh-x .sh-ic { font-size: 11px; vertical-align: 0; }   /* icoon */
.sh-body .sh-kart img { margin-top: 14px; }
.sh-early { font-size: 12px; line-height: 1.12; color: var(--sh-y1); font-weight: 700; }
.sh-body .sh-glorp img { height: 64px; }
.sh-body .sh-glorp b { color: #fff; }
.sh-free-tag { position: absolute; left: 5px; top: 5px; height: 18px; padding: 1px 7px 0; border-radius: 99px; background: var(--sh-s2); color: var(--sh-ink);
  font-family: var(--display); font-size: 12px; border: 1.5px solid var(--sh-ink); }

/* ---------- Looks: vier rijen die opzij schuiven ---------- */
.sh-lrow { margin: 0 0 8px; }
.sh-lrow h4 { margin: 2px 2px 4px; font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-label); }
.sh-hscroll { display: flex; gap: 7px; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 6px; touch-action: pan-x pan-y; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sh-hscroll::-webkit-scrollbar { display: none; }
.sh-body .sh-look { flex: none; width: 104px; padding: 7px 6px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sh-body .sh-look b { font-family: var(--display); font-weight: 400; font-size: 13px; line-height: 1.05; }
.sh-body .sh-look .sb-btn { width: 100%; font-size: 14px; }
.sh-try { position: absolute; right: 3px; top: 3px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--sh-soft); font-size: 17px; }
.sh-try:active { transform: scale(.94); }
.sh-owns { display: flex; flex-direction: column; gap: 6px; }
.sh-cols { display: grid; gap: 7px; }
.sh-cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-cols.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-body .sh-own, .sh-body .sh-turbo { display: flex; align-items: center; gap: 9px; padding: 6px 8px; }
.sh-body .sh-starpack { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 8px 8px; text-align: center; }
.sh-body .sh-starpack small { font-size: 12px; line-height: 1.15; color: var(--sh-soft); }
.sh-body .sh-starpack .sb-btn { width: 100%; margin-top: 4px; }
.sh-body .sh-own img { width: 60px; height: 36px; object-fit: contain; flex: none; }
.sh-body .sh-starpack > .sh-ic, .sh-body .sh-turbo > .sh-ic { font-size: 26px; }
.sh-body .sh-starpack .sb-btn, .sh-body .sh-turbo .sb-btn { min-width: 92px; min-height: 36px; font-size: 16px; }

/* ---------- Turbo: stand en schakelaar ---------- */
.sh-tstate { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; padding: 5px 9px; border-radius: 12px; background: rgba(22, 4, 47, .55);
  border: 1.5px solid rgba(255, 225, 74, .5); }
.sh-tstate b { font-family: var(--display); font-weight: 400; font-size: 14px; color: var(--sh-y1); }
.sh-switch { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: #fff; font-size: 13px; font-weight: 700; }
.sh-switch i { position: relative; width: 44px; height: 24px; border-radius: 99px; background: rgba(60, 50, 90, .9); border: 2px solid var(--sh-ink); }
.sh-switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s; }
.sh-switch.on i { background: linear-gradient(180deg, #eaff70, #7ee000); }
.sh-switch.on i::after { transform: translateX(20px); }

/* ---------- laag voor blad en bedankmoment (shopbuy.js): onder #confirm (de ouderpoort komt erbovenop), boven de winkel ---------- */
.sh-layer { position: fixed; inset: 0; z-index: 24; display: flex; align-items: center; justify-content: center; pointer-events: auto;
  padding: calc(10px + var(--sat)) calc(12px + var(--sar)) calc(10px + var(--sab)) calc(12px + var(--sal));
  background: radial-gradient(ellipse at 50% 40%, rgba(70, 14, 140, .55), rgba(10, 2, 28, .86)); color: #fff; font-family: var(--ui); font-weight: 600; }
/* bij het bedankmoment vallen de confetti over het blad heen. Herstel 2 (iPhone 12): een klasse op body (shopbuy.js show en
   hide) in plaats van body:has(#sh-layer:not(.hidden)): die :has liet elke wissel van .hidden ergens in de pagina de hele
   pagina opnieuw stijlen */
body.sh-layer-on #confetti { z-index: 26; }
.sh-sheet, .sh-thanks { position: relative; width: min(470px, 100%); max-height: 100%; overflow-y: auto; padding: 12px 16px; border-radius: 22px;
  border: 3px solid var(--gz-s2, #b6ff2a); background: radial-gradient(90% 60% at 50% 0%, rgba(255, 61, 240, .35), transparent 65%), linear-gradient(180deg, #4a14a0, #2a0868 55%, #1a0450);
  box-shadow: 0 0 0 3px var(--gz-ink, #16042f), 0 8px 0 rgba(10, 0, 30, .7); animation: sh-in .22s ease-out both; }
@keyframes sh-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.sh-sheet { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.sh-item { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.sh-item img { width: 100px; height: 80px; object-fit: contain; }
.sh-item b { font-family: var(--display); font-weight: 400; font-size: 14px; line-height: 1.05; }
.sh-price { font-size: 13px; color: var(--gz-text-soft, #ead8ff); }
.sh-emo { font-size: 48px; line-height: 1.2; }
.sh-main { min-width: 0; }
.sh-sheet h3 { margin: 2px 0 4px; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.05; letter-spacing: 0; text-transform: none; color: #fff;
  text-shadow: 0 2px 0 #16042f, 0 -1px 0 #16042f, 1px 0 0 #16042f, -1px 0 0 #16042f; }
.sh-bar { height: 14px; border-radius: 99px; background: repeating-linear-gradient(-45deg, rgba(255, 225, 74, .85) 0 5px, rgba(255, 225, 74, .45) 5px 10px);
  border: 2px solid var(--gz-ink, #16042f); overflow: hidden; }
.sh-bar i { display: block; height: 100%; background: linear-gradient(180deg, #8af4ff, #38e2ff 50%, #1690c8); }
.sh-bar-l { display: flex; justify-content: space-between; gap: 8px; margin-top: 3px; font-size: 12.5px; color: var(--gz-text-soft, #ead8ff); }
.sh-go { width: 100%; margin-top: 9px; min-height: 48px; font-size: 19px; flex-direction: column; gap: 3px; white-space: normal; text-align: center; padding: 5px 10px; }
.sh-go small { font-family: var(--ui); font-weight: 700; font-size: 13px; }
.sh-grown { margin: 5px 0 0; font-size: 12.5px; font-weight: 700; text-align: center; color: var(--gz-y1, #fff6a8); }
.sh-then, .sh-free, .sh-hint, .sh-far, .sh-note, .sh-bonus { margin: 5px 0 0; font-size: 12.5px; line-height: 1.2; color: var(--gz-text-soft, #ead8ff); }
.sh-far { color: #fff; font-size: 14px; }
.sh-bonus { color: #fff; font-weight: 700; }
.sh-row { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.sh-row > button { flex: 1; min-height: 34px; }
.sh-layer .ghost-btn { border-radius: 12px; color: #fff; background: rgba(22, 4, 47, .55); border: 2px solid rgba(234, 216, 255, .45); font-weight: 700; font-size: 14px; padding: 0 12px; }
.sh-layer .big-btn { border-radius: 13px; border: 2px solid var(--gz-ink, #16042f); color: var(--gz-ink, #16042f); font-family: var(--display); font-weight: 400; font-size: 18px; padding: 0 16px;
  background: linear-gradient(180deg, #eaff70, #b6ff2a 46%, #8ee600 52%, #5cb800); box-shadow: 0 3px 0 var(--gz-s5, #2a6a00), inset 0 2px 0 rgba(255, 255, 255, .6); text-shadow: none; }
.sh-thanks { border-color: var(--gz-y2, #ffe14a); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sh-thanks h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; color: var(--gz-y2, #ffe14a);
  text-shadow: 0 3px 0 #16042f, 0 -1px 0 #16042f, 2px 0 0 #16042f, -2px 0 0 #16042f; }
.sh-art { display: grid; place-items: center; min-height: 90px; }
.sh-art img { width: 150px; height: 110px; object-fit: contain; }
.sh-art .sh-emo { font-size: 64px; }
.sh-thanks p { margin: 2px 0 0; font-size: 15px; line-height: 1.25; }
.sh-thanks .sh-row { width: 100%; justify-content: center; }
.sh-thanks .sh-row > button { flex: 0 1 220px; min-height: 40px; }

/* ---------- lage schermen (iPhone liggend en kleiner) ---------- */
@media (max-height: 360px) {
  #s-shop { --sh-head: 40px; }
  .sh-tab { height: 32px; }
  .sh-title { font-size: 23px; }
  .sh-sheet, .sh-thanks { padding: 9px 12px; }
  .sh-thanks h2 { font-size: 30px; }
  .sh-art img { height: 84px; }
}
@media (max-width: 760px) {
  .sh-subt { display: none; }
  .sh-feat { grid-template-columns: minmax(0, 1fr); }
  .sh-grid.karts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-grid.glorpz { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ---------- iPad (1024 tot 1366 breed): grotere maten, rail 190 px, inhoud hooguit 1000 px ---------- */
@media (min-width: 1000px) and (min-height: 600px) {
  #s-shop { --sh-rail: 190px; --sh-head: clamp(46px, 7vh, 60px); }
  .sh-tab { height: 48px; } .sh-tl b { font-size: 16px; } .sh-tl small { font-size: 12px; }
  .sh-title { font-size: clamp(27px, 3vw, 36px); }
  .sh-content { max-width: 1000px; width: 100%; }
  .sh-feat { grid-template-columns: 1.3fr 2fr; }
  .sh-col { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .sh-col > .sh-week { grid-row: span 2; grid-column: 2; }
  .sh-grid.karts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sh-sheet { width: 560px; }
}

/* beweging beperken: geen klop, geen oplichten, geen inzoomen */
@media (prefers-reduced-motion: reduce) {
  .sh-tab .sh-dot, .sh-pulse, .sh-sheet, .sh-thanks { animation: none; }
  .sh-switch i::after { transition: none; }
}

/* ==================== herstel 1 (keuring Nick, kind en Apple) ==================== */
/* kop: de GLORPZ-slijmkop (class panel-head, clash.css en glorpz.css) zoals Arena, Garage en Instellingen; hier alleen de maat */
#s-shop .sh-head.panel-head { margin: 0; padding: 4px 8px; min-height: 0; height: var(--sh-head); border-radius: 14px; }
#s-shop .sh-head.panel-head .sh-title { position: relative; z-index: 1; }
#s-shop .sh-head.panel-head .sh-subt { position: relative; z-index: 1; color: #fff; background: rgba(22, 4, 47, .72); }
/* het blad: gewone regels onder de koopknop (de bonus, wat erin zit), de link naar andere pakketten */
.sh-plain { margin: 4px 0 0; font-size: 12.5px; line-height: 1.2; color: var(--gz-text-soft, #ead8ff); text-align: center; }
.sh-stl { margin-top: 8px; text-align: center; color: var(--gz-y2, #ffe14a); }
.sh-starter-go { margin-top: 3px; }
.sh-link.sh-other { display: block; margin: 3px auto 0; background: none; border: 0; }
.sh-layer .sh-row .ghost-btn { font-size: 13px; line-height: 1.1; padding: 4px 10px; }
.sh-sheet.sh-early .sh-far { font-size: 15px; line-height: 1.25; margin-top: 8px; }
/* stap twee: de vraag kleiner (een lange naam brak in de grote letter over drie regels); de knop noemt naam en prijs groot */
.sh-sheet.sh-two h3 { font-family: var(--ui); font-weight: 800; font-size: 17px; line-height: 1.2; text-shadow: 0 1px 0 #16042f; }
/* plaatjes zonder foto: SVG van de soort, het staal van een look, de spullen van de aanbieding (geen emoji) */
.sh-emo { display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.sh-emo > .sh-ic { width: 46px; height: 46px; }
.sh-art .sh-emo > .sh-ic { width: 60px; height: 60px; }
.sh-emo.sh-items img { width: 54px; height: 54px; object-fit: contain; }
.sh-art .sh-emo.sh-items img { width: 84px; height: 84px; }
.sh-emo .sh-sw { width: 40px; height: 40px; }
.sh-emo .sh-sw.liv { width: 26px; height: 44px; }
.sh-art .sh-emo .sh-sw { width: 56px; height: 56px; }
.sh-art .sh-emo .sh-sw.liv { width: 34px; height: 58px; }
/* Looks: het vak Auto (de standaard van de kart) */
.sh-sw.auto { background: conic-gradient(#e0413a 0 25%, #ffe14a 0 50%, #38e2ff 0 75%, #b6ff2a 0); }
/* Pass: actief = 'verlengt op', met Abonnement beheren */
.sh-manage { display: inline-block; margin-top: 5px; font-size: 12.5px; font-weight: 700; color: var(--sh-soft); text-decoration: underline; text-underline-offset: 2px; padding: 3px 0; }
/* kopen met diamanten (main.js confirmDialog buy: true): de vraag kleiner, de groene knop met de prijs, het diamantje in kleur */
#confirm .confirm-box.buy > h3, :root[data-stijl] #confirm .confirm-box.buy > h3 { font-size: 20px; line-height: 1.18; }
#confirm .confirm-box.buy .sb-btn.cf-buy { min-height: 44px; font-size: 20px; padding: 0 18px; flex: 1; }
.dm-e { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-weight: 400; -webkit-text-stroke: 0; filter: none; }
.pg-locked { font-size: 15px; line-height: 1.3; }
/* kleinere telefoons (667 x 375 en lager): smallere rail, Uitgelicht houdt twee kolommen (aanbieding en starter in beeld) */
@media (max-width: 760px) and (min-width: 600px) {
  #s-shop { --sh-rail: 136px; }
  .sh-rail { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
  .sh-rail::-webkit-scrollbar { display: none; }
  .sh-foot { margin-top: 4px; }
  .sh-ft b { font-size: 13px; }
  .sh-tab { gap: 4px; padding: 2px 5px; }
  .sh-tab .sh-ic { font-size: 16px; }
  .sh-tl b { font-size: 12.5px; }
  .sh-feat { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .sh-body .sh-pass h3 { font-size: 18px; }
  .sh-pass-art { width: 76px; height: 44px; }
  .sh-perks { font-size: 12.5px; }
  .sh-starter-row { flex-wrap: wrap; }
}

/* ==================== herstel 2 (keuring Nick, kind en Apple) ==================== */
/* de laatste regel van een tabblad staat nooit onder het scrollpijltje (glorpz-stijl.js, ~30 px hoog onder de kolom) */
.sh-body { padding-bottom: 40px; }
/* Pass: 'GLORPZ Pass' is de kop, de maandlook de ondertitel; prijs, verlenging en links direct onder de knop */
.sh-body .sh-pass .sb-btn[data-big] { margin-top: 7px; }
.sh-body .sh-pass .sh-legal { margin-top: 5px; }
.sh-body .sh-pass .sh-links { row-gap: 0; }
.sh-body .sh-pass .sh-links .sh-link { min-height: 32px; }
.sh-body .sh-pass .sh-perks { margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(234, 216, 255, .22); }
/* Diamanten: de eerste-pakketbonus op elke kaart (vast, op elke kaart hetzelfde) */
.sh-pbonus { font-size: 12px; font-weight: 700; line-height: 1.15; color: #fff; padding: 2px 8px; border-radius: 99px; background: rgba(255, 61, 240, .35);
  border: 1.5px solid var(--sh-m2); }
.sh-body.sh-diamonds > .sh-starter { margin: 2px 0 0; padding-bottom: 6px; }
.sh-body.sh-diamonds > .sh-starter .sh-ao-line { margin-top: 2px; }
/* pakketten iets lager, zodat ze met het starterpakket erboven helemaal in beeld staan (844 x 390) */
.sh-body.sh-diamonds .sh-packs { margin-top: 8px; }
.sh-body.sh-diamonds .sh-pack { padding-top: 8px; gap: 4px; }
.sh-body.sh-diamonds .sh-pile { height: 44px; font-size: 24px; }
.sh-body.sh-diamonds .sh-pile.n2 { font-size: 26px; } .sh-body.sh-diamonds .sh-pile.n3 { font-size: 28px; }
/* de aanbieding: elk ding met zijn eigen plaatje en naam eronder */
/* herstel 3: de rij plaatjes mag krimpen en breekt dan af (667 breed stond de koopknop half buiten de kaart) */
.sh-body .sh-week .sh-thumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; min-width: 0; flex: 0 1 auto; }
.sh-wit { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 52px; }
.sh-wit > img { width: 50px; height: 50px; object-fit: contain; }
.sh-wit > .sh-sw { width: 40px; height: 40px; margin: 5px 0; }
.sh-wit small { font-size: 12px; font-weight: 700; line-height: 1.1; color: var(--sh-soft); white-space: nowrap; }
.sh-body .sh-week .sh-week-row { align-items: center; margin-top: 5px; }
/* kleur (accent): een kartje opzij in die kleur, geen dun streepje */
.sh-sw.acc { border: 0; border-radius: 0; background: none; }
/* Looks: rechts een zachte rand, zodat je ziet dat de rij opzij doorloopt */
.sh-lrow { position: relative; }
.sh-lrow.hs::after { content: ''; position: absolute; right: 0; top: 22px; bottom: 6px; width: 30px; pointer-events: none;
  background: linear-gradient(90deg, rgba(31, 6, 90, 0), rgba(31, 6, 90, .95)); border-radius: 0 16px 16px 0; }
/* het blad 'Je mist': breder, de gele knop en Verdien gratis even groot naast elkaar, het starterpakket rustig eronder */
.sh-sheet.sh-miss, .sh-sheet.sh-packs-step { width: min(600px, 100%); }
.sh-choice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 4px; }
.sh-choice.one { grid-template-columns: minmax(0, 1fr); margin-top: 9px; }
.sh-choice > .sh-go { margin-top: 0; min-height: 52px; font-size: 16px; line-height: 1.12; }
.sh-layer .ghost-btn.sh-earn { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 8px;
  border-color: rgba(182, 255, 42, .75); color: #fff; }
.sh-earn b { font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.08; color: var(--gz-s2, #b6ff2a); }
.sh-earn small { font-size: 12px; font-weight: 700; line-height: 1.1; color: var(--gz-text-soft, #ead8ff); }
.sh-layer .ghost-btn.sh-alt { width: 100%; margin-top: 7px; min-height: 40px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 10px;
  border: 2px dashed rgba(255, 225, 74, .6); font-size: 13.5px; line-height: 1.15; }
.sh-alt small { font-size: 12px; font-weight: 700; color: var(--gz-y1, #fff6a8); }
.sh-grown { margin-top: 7px; }
.sh-then { text-align: center; }
/* Andere pakketten in het blad */
.sh-pks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.sh-pk { flex-direction: column; min-height: 54px; gap: 3px; padding: 5px 6px; white-space: normal; }
.sh-pk span { font-family: var(--ui); font-weight: 800; font-size: 13px; line-height: 1.1; }
.sh-pk b { font-weight: 400; font-size: 19px; }
/* de ouderpoort noemt wat er gekocht wordt en de prijs */
#confirm .confirm-box > p.pg-what, :root[data-stijl] #confirm .confirm-box > p.pg-what { flex: none; margin: 2px 0 8px; padding: 5px 10px; overflow: visible;
  border-radius: 10px; background: rgba(255, 225, 74, .14); border: 1.5px solid rgba(255, 225, 74, .55); font-weight: 800; font-size: 15px; line-height: 1.25; color: #fff;
  -webkit-mask-image: none; mask-image: none; }
/* Winkel-knop op het beginscherm: voor een nieuwe aanbieding een stil stipje (alleen het cadeau klopt drie keer) */
#s-home .menu-btn.shop-btn.has-news.news-calm .news-dot { animation: news-pop .5s var(--ease-back) .55s both; }
/* lage telefoons (iPhone SE en 8 liggend, 375 hoog): de rail past zonder scrollen, met Herstellen en beide links in beeld */
@media (max-height: 400px) {
  .sh-rail { gap: 3px; }
  .sh-tab { min-height: 32px; padding-top: 1px; padding-bottom: 1px; }
  .sh-tl small { font-size: 12px; line-height: 1; }
  .sh-restore { height: 30px; }
  .sh-foot { gap: 1px; }
  .sh-legal-mini a { padding: 1px 0; }
}
@media (max-width: 760px) {
  .sh-daily .sh-gift { display: none; }
  .sh-sheet.sh-miss, .sh-sheet.sh-packs-step { grid-template-columns: 84px minmax(0, 1fr); }
  .sh-sheet.sh-miss .sh-item img, .sh-sheet.sh-packs-step .sh-item img { width: 80px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  #s-home .menu-btn.shop-btn.has-news.news-calm .news-dot { animation: none; }
}

/* ==================== herstel 3 (besluiten D1, D7, D11, D12, D15) ==================== */
/* rail: het vakje voor het pictogram staat er meteen in zijn maat; het pictogram zelf komt na het eerste beeldje */
.sh-ric { width: 1em; height: 1em; flex: none; display: inline-grid; place-items: center; font-size: 19px; }
.sh-ric > .sh-ic { font-size: inherit; }
.sh-restore .sh-ric { font-size: inherit; }
@media (max-width: 760px) and (min-width: 600px) { .sh-tab .sh-ric { font-size: 16px; } }
/* Diamanten (D1): één regel boven de pakketten, op elke kaart wat je echt krijgt ('1.200 wordt 2.400') */
.sh-dbl { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; padding: 5px 10px; border-radius: 12px; color: #fff;
  background: rgba(255, 61, 240, .22); border: 1.5px solid var(--sh-m2); font-size: 15px; line-height: 1.15; }
.sh-dbl b { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
.sh-dbl .sh-ic { font-size: 18px; }
.sh-big.sh-twice { font-size: 17px; white-space: normal; justify-content: center; text-align: center; color: var(--sh-y1); }
/* Prijs laden (D7): grijs maar tikbaar (vraagt StoreKit opnieuw), geen vaste europrijs in de app */
.sb-btn.off.sh-ploading { cursor: pointer; font-size: 15px; }
/* Looks (D11): een raster dat afbreekt, zoals Glorpz en Karts; niets valt rechts buiten beeld */
.sh-grid.looks { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.sh-body .sh-grid.looks .sh-look { width: auto; min-width: 0; }
.sh-body .sh-grid.looks .sh-look b { max-width: 100%; overflow-wrap: anywhere; }
/* Uitgelicht (D11): de onderste regel van de langste kolom staat nooit onder het scrollpijltje */
.sh-body.sh-featured { padding-bottom: 60px; }
/* beginscherm (D12): het stipje van de Arena (opdracht klaar, upgrade te betalen) is een geel uitroepteken, niet hetzelfde
   rode bolletje als op de Winkel (dat betekent alleen: gratis cadeau of nieuwe aanbieding) */
#s-home .menu-btn .news-dot.arena-pip { width: 21px; height: 21px; border-color: var(--sh-ink, #16042f);
  background: radial-gradient(circle at 34% 30%, #fffbd0 0 16%, #ffe14a 52%, #e0a400 100%);
  box-shadow: 0 0 0 1.5px #fff, 0 2px 0 1.5px var(--cr-ink, #16042f); }
#s-home .menu-btn .news-dot.arena-pip::before { content: '!'; display: grid; place-items: center; height: 100%; font: 400 14px/1 var(--display);
  color: var(--sh-ink, #16042f); }
/* Garage (D10): dezelfde woorden als de koopknop in de winkel ('Kies', '✓ Aan', '✓ Je rijdt'), gewoon geschreven in plaats
   van in hoofdletters; een Glorp die van jou is maar niet rijdt krijgt een paars lint 'Kies' (paars = van jou, zoals .sb-btn.own) */
#s-garage .gc-tag { text-transform: none; letter-spacing: .02em; font-size: 13px; }
#s-garage .gz-rib { text-transform: none; letter-spacing: .02em; font-size: 13px; }
#s-garage .gz-rib.own { background: linear-gradient(180deg, #b46bff, #8a3ae8 50%, #6a1fe0 52%, #4a10a8); }
/* Arena-kartlijst (D10): het slotplakkertje en 'In arena n: 💎 p' zoals in de winkel, naast of onder elkaar */
#s-arena .ar-carrow .ar-lock.ar-early { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; margin-top: 2px; color: var(--gz-y1, #fff6a8); }
#s-arena .ar-early .ar-ina { white-space: nowrap; }

/* ==================== herstel 4 (keuring 4 van Nick, kind en Apple; D1, D10, D11, D14) ==================== */
/* het scrollpijltje (glorpz-stijl.js: een pil onder de kolom, hooguit tot vlak boven de onderrand van het paneel of het
   beeld) ligt nooit meer over een knop: de lijst houdt onderaan een eigen strook vrij waarin de pil past. Op een iPhone
   met een veilige rand onderin is dat 9 px (de pil hangt verder in de rand), zonder die rand 16 px */
#s-shop .sh-content { margin-bottom: max(9px, calc(16px - var(--sab, 0px))); }
/* Uitgelicht (D1): het dubbele eerste pakket als één smalle regel boven de aanbieding; tik = Diamanten */
.sh-body .sh-dblcard { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 4px 10px; text-align: left; color: #fff;
  border-color: var(--sh-m2); background: linear-gradient(180deg, rgba(255, 61, 240, .34), rgba(110, 10, 98, .5)); font-size: 13px; line-height: 1.12; }
.sh-dblcard > .sh-ic { font-size: 18px; }
.sh-dbt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.sh-dbt b { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.1; }
.sh-dbt small { color: var(--sh-y1); font-weight: 800; font-size: 12.5px; line-height: 1.1; }
.sh-dblcard .sh-dbgo { flex: none; font-style: normal; font-family: var(--display); font-size: 18px; line-height: 1; color: var(--sh-y2); }
.sh-dblcard:active { transform: translateY(1px); }
/* aanbieding: 'Alleen looks. Even snel.' op de regel van de kop (een regel minder hoog); los in diamanten onder de knop */
.sh-whead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.sh-whead .sh-wlooks { display: inline; }
.sh-loose { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 2px; }
.sh-loose .sh-ic { font-size: 12px; }
/* dagcadeau opgehaald: blijft deze keer staan, rustig groen, met wat morgen klaarligt */
.sh-body .sh-daily.got { border-color: rgba(182, 255, 42, .55); background: rgba(22, 4, 47, .55); box-shadow: none; }
.sh-daily.got .sh-gift { background: rgba(182, 255, 42, .18); border-color: var(--sh-s2); color: var(--sh-s2); }
.sh-daily.got .sh-ft b { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; color: var(--sh-s2); }
.sh-daily.got .sh-ft b .sh-ic { font-size: 14px; }
/* Pass: de voordelen kort boven de knop (eerst waarom, dan de prijs); prijs, voorwaarden en links direct onder de knop */
.sh-body .sh-pass .sh-perks { margin: 5px 0 0; padding: 0; border-top: 0; gap: 2px; font-size: 12.5px; line-height: 1.1; }
.sh-body .sh-pass .sh-perks .sh-ic { width: 13px; height: 13px; padding: 1.5px; }
.sh-body .sh-pass .sb-btn[data-big] { margin-top: 6px; }
.sh-body .sh-pass .sh-fair { margin-top: 5px; }
/* kleinere telefoons (667 breed): de Pass-kolom is smaller; dan eerst knop, voorwaarden en links (boven de vouw), de
   voordelen daarna */
@media (max-width: 760px) {
  .sh-body .sh-pass { display: flex; flex-direction: column; }
  .sh-body .sh-pass > .sh-perks { order: 5; margin-top: 7px; }
  .sh-body .sh-pass > .sh-fair { order: 6; }
}
/* Sterren: de uitleg één keer naast de kop */
.sh-h4sub { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--sh-soft); margin-left: 6px; }
/* vroeg kopen (4x): geen slotje op de omlijnde knop (keuring kind: 'slot' leest als 'kan niet', maar hij is te koop) */
.sb-btn.early > .sh-ic:first-child { display: none; }
/* een look die je hebt (Pass-look, premium-kart): Kies of ✓ Aan, zelfde knop als de rest (D10) */
.sh-body .sb-btn.sh-tg { flex: none; min-height: 32px; font-size: 14px; padding: 0 11px; }

/* ==================== na herstel 4 (samenvoegen, schermafbeeldingen) ==================== */
/* ouderpoort op een liggende telefoon: wat je koopt, 'Geef dit aan een volwassene' en de som staan altijd heel in beeld
   (Engels met eerste pakket dubbel werd drie regels en dan schoof de som half onder het invoervak) */
@media (max-height: 430px) {
  #confirm .confirm-box:has(.pg-pad) > p { flex: none; overflow: visible; margin: 0 0 2px; padding: 0; -webkit-mask-image: none; mask-image: none; }
  #confirm .confirm-box:has(.pg-pad) > p.pg-what { margin: 0 0 6px; padding: 4px 10px; font-size: 14px; line-height: 1.22; }
  #confirm .confirm-box:has(.pg-pad) > p.pg-q { margin: 0 0 4px; }
}
/* aanbieding gekocht: de regel onder '✓ Gekocht' breekt af in de knopkolom, zodat de plaatjes naast elkaar blijven */
.sh-week .sh-bcol { max-width: 124px; }
/* Uitgelicht op een liggende telefoon (twee kolommen, 390 hoog): aanbieding, starterpakket en dagcadeau passen samen in
   beeld, zodat de winkel bij het rode bolletje niet hoeft te schuiven en geen kopjes bovenaan half wegvallen */
@media (max-height: 420px) and (min-width: 761px) {
  .sh-col { gap: 5px; }
  .sh-body .sh-week, .sh-body .sh-starter { padding-top: 6px; padding-bottom: 6px; }
  .sh-wit > img { width: 42px; height: 42px; }
  .sh-wit > .sh-sw { width: 34px; height: 34px; margin: 4px 0; }
  .sh-daily { padding-top: 5px; padding-bottom: 5px; }
}

/* iPad (1.2.1, 12 nov): de winkel groeit mee met het scherm, net als menu en Arena (glorpz.css :root.ipad). Zonder dit
   stond alles klein bovenin met een lege onderhelft. zoom vergroot ook de maten, dus breedte en hoogte delen door de
   factor: dan vult het paneel precies het scherm binnen de veilige rand. iPhone verandert niet (html.ipad). */
@media (min-width: 1100px) and (min-height: 780px) {
  :root.ipad #s-shop .shop-panel, :root.ipad #shop { --shz: 1.15; zoom: var(--shz); flex: none;
    width: calc((100vw - var(--sal) - var(--sar) - 16px) / var(--shz)); height: calc((100vh - var(--sat) - var(--sab) - 12px) / var(--shz)); }
}
@media (min-width: 1300px) and (min-height: 960px) {
  :root.ipad #s-shop .shop-panel, :root.ipad #shop { --shz: 1.3; }
}
