/* Itemshop (ui/itemshop.js): purse with "Aufladen", tabs, a stage left + cards right, offers, top-up, VIP, luck games.
   Every class starts with ish- : the guild isle (isle.css) owns the global .is-* (.is-list 150 px high, .is-row framed). */
#itemshop .win-body { padding: 5px 6px 6px; }

/* ---------- the purse ---------- */
#itemshop .ish-top { display: flex; align-items: center; gap: 4px; height: 16px; margin-bottom: 4px; }
#itemshop .ish-purse { display: inline-flex; align-items: center; gap: 4px; height: 16px; padding: 0 5px 0 3px;
  background: linear-gradient(#1c1611, #0b0907); box-shadow: inset 0 0 0 1px #5a4630, inset 0 1px 0 1px #00000080; }
#itemshop .ish-kic { width: 12px; height: 12px; flex: none; image-rendering: auto; }
#itemshop .ish-bal { color: var(--gold); font-size: 11px; line-height: 12px; text-shadow: var(--ol); }
#itemshop .ish-cur { font-size: 8px; line-height: 12px; }
#itemshop .ish-help { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 10px; height: 10px; margin: 0; font-size: 7px; line-height: 10px;
  color: var(--dim); cursor: help; background: #0a0807; box-shadow: inset 0 0 0 1px #4a3a2a; }
#itemshop .ish-help:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-d); }
#itemshop .ish-fill { flex: 1; min-width: 0; }
#itemshop .ish-vipbadge { display: inline-flex; align-items: center; gap: 3px; padding: 0 4px; height: 14px; font-size: 7px; color: #e8d2ff; white-space: nowrap;
  background: linear-gradient(#3a2850, #241834); box-shadow: inset 0 0 0 1px #8a6ab8; }
#itemshop .ish-vipbadge img { width: 14px; height: 10px; object-fit: contain; image-rendering: auto; }
#itemshop .ish-up { height: 16px; padding: 0 7px 0 5px; font-size: 8px; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
#itemshop .ish-up.on { box-shadow: inset 0 0 0 1px var(--gold); }
#itemshop .ish-plus { font-size: 10px; line-height: 10px; }
#itemshop .ish-tabs { margin-bottom: 4px; }
#itemshop .ish-tabs .tab { font-size: 7px; padding: 0 1px; white-space: nowrap; overflow: hidden; }
#itemshop .ish-view { height: 236px; position: relative; }

/* ---------- the catalog: stage left, cards right ---------- */
#itemshop .ish-cols { display: flex; gap: 6px; height: 100%; }
#itemshop .ish-stagebox { flex: none; width: 128px; display: flex; flex-direction: column; min-height: 0; }
/* (the stage takes the height the texts leave: no empty space over the buttons) */
#itemshop .ish-stage { position: relative; flex: 1 1 112px; min-height: 112px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 62%, rgba(242, 196, 90, .22), rgba(242, 196, 90, .05) 70%, transparent 100%), linear-gradient(#251d15, #0c0907);
  box-shadow: inset 0 0 0 1px #6d5636, inset 0 0 0 2px var(--edge), inset 0 -18px 18px -12px #00000099; }
/* the pedestal under the model */
#itemshop .ish-stage::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 86px; height: 14px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(242, 196, 90, .3), rgba(242, 196, 90, .08) 55%, transparent 72%); }
#itemshop .ish-stage canvas { position: relative; z-index: 1; width: 120px; height: 112px; image-rendering: pixelated; cursor: grab; }
/* item icons are 32 px: twice on the stage, never blown up crooked */
#itemshop .ish-big { position: relative; z-index: 1; width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 3px 2px #000c); }
#itemshop .ish-big[src*="/ui/"] { image-rendering: auto; }
#itemshop .ish-badge { position: absolute; z-index: 2; top: 4px; right: 4px; padding: 0 3px; height: 10px; font-size: 7px; line-height: 10px; color: #c8f59a;
  background: linear-gradient(#335222, #1d3313); box-shadow: inset 0 0 0 1px #6c9c45; text-shadow: var(--ol); }
#itemshop .ish-sname { margin-top: 4px; font-size: 9px; line-height: 10px; color: var(--gold); text-align: center; overflow-wrap: anywhere; text-shadow: var(--ol); }
#itemshop .ish-skind { margin-top: 2px; font-size: 7px; line-height: 8px; text-align: center; overflow-wrap: anywhere; }
/* the pieces of a Kostümkiste: all of them, more than fit in a row in rows of the same length (--per, ui/itemshop.js) */
#itemshop .ish-pieces { --pw: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: calc(var(--per, 6) * (var(--pw) + 2px) - 2px);
  margin: 2px auto 0; }
#itemshop .ish-piece { position: relative; width: 18px; height: 18px; flex: none; background: #100e0c url('../assets/ui/imperial/slot.webp') center / cover;
  box-shadow: inset 0 0 0 1px #4d4d38; }
#itemshop .ish-piece img { position: absolute; left: 1px; top: 1px; width: 16px; height: 16px; object-fit: contain; pointer-events: none; }
/* (a click puts the piece alone on the stage) */
#itemshop .ish-piece.pick { cursor: pointer; }
#itemshop .ish-piece.pick:hover { box-shadow: inset 0 0 0 1px #8d7951; }
#itemshop .ish-piece.on, #itemshop .ish-piece.on:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 0 3px #f2c45a88; }
#itemshop .ish-sprice { display: flex; align-items: center; justify-content: center; gap: 3px; margin-top: 4px; font-size: 10px; line-height: 11px; text-shadow: var(--ol); }
#itemshop .ish-sprice s { font-size: 8px; }
#itemshop .ish-sprice img, #itemshop .ish-price img { width: 8px; height: 8px; image-rendering: auto; }
#itemshop .ish-fillv { flex: 1; min-height: 3px; }
/* (gives way in the tightest case: a Kostümkiste with two rows of pieces, an end, a stock and a limit, Polish) */
#itemshop .ish-stagebox .ish-fillv { flex: 0 1 4px; min-height: 1px; }
#itemshop .ish-btns { width: 100%; }
#itemshop .ish-btns > .btn { min-width: 0; }
#itemshop .ish-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; min-height: 0; }
/* the strip over a list: what is on offer and when it changes */
#itemshop .ish-rot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 14px; padding: 1px 5px;
  font-size: 7px; line-height: 9px; background: linear-gradient(90deg, #2c2117, #15100c); box-shadow: inset 0 0 0 1px #4a3a28; }
#itemshop .ish-rotn { font-size: 8px; }
#itemshop .ish-rott { text-align: right; }
#itemshop .ish-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding-right: 2px; }
/* rows share the height of the list when they are few (no empty space under them), a long list scrolls */
#itemshop .ish-row { flex: 1 0 auto; max-height: 36px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 5px; min-height: 28px; padding: 2px 4px 2px 3px;
  cursor: pointer; background: linear-gradient(#1d1712, #110d0a); box-shadow: inset 0 0 0 1px #33281d; }
#itemshop .ish-row:hover { box-shadow: inset 0 0 0 1px #6d5636; }
#itemshop .ish-row.picked { background: linear-gradient(90deg, #41352a, #201a14); box-shadow: inset 0 0 0 1px var(--gold-d), inset 2px 0 0 var(--gold); }
#itemshop .ish-row.perk { cursor: default; }
#itemshop .ish-row.perk:hover { box-shadow: inset 0 0 0 1px #33281d; }
#itemshop .ish-pic { position: relative; width: 22px; height: 22px; flex: none; background: #100e0c url('../assets/ui/imperial/slot.webp') center / cover;
  box-shadow: inset 0 0 0 1px #4d4d38, inset 1px 1px 0 1px #050403; }
#itemshop .ish-pic img { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; object-fit: contain; pointer-events: none; }
#itemshop .ish-pic img[src*="/ui/"] { image-rendering: auto; }
#itemshop .ish-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#itemshop .ish-name { font-size: 8px; line-height: 9px; overflow-wrap: anywhere; }
#itemshop .ish-kind { font-size: 7px; line-height: 8px; overflow-wrap: anywhere; }
#itemshop .ish-price { display: inline-flex; align-items: center; gap: 2px; height: 12px; padding: 0 4px; font-size: 8px; white-space: nowrap; text-shadow: var(--ol);
  background: #0b0908; box-shadow: inset 0 0 0 1px #3d3022; }
#itemshop .ish-val { font-size: 8px; white-space: nowrap; text-shadow: var(--ol); }
#itemshop .ish-empty { padding: 6px 2px; font-size: 8px; }
/* three wings: big cards with the item picture 1:1 */
#itemshop .ish-list.few .ish-row { grid-template-columns: 36px minmax(0, 1fr) auto; min-height: 44px; max-height: 62px; }
#itemshop .ish-list.few .ish-pic { width: 36px; height: 36px; }
#itemshop .ish-list.few .ish-pic img { left: 2px; top: 2px; width: 32px; height: 32px; }
#itemshop .ish-list.few .ish-name { font-size: 9px; line-height: 10px; }
/* the next ones of a rotation */
#itemshop .ish-next { flex: none; display: flex; align-items: center; gap: 2px; min-height: 22px; padding: 1px 4px;
  background: linear-gradient(90deg, #1a140f, #0e0b09); box-shadow: inset 0 0 0 1px #33281d; }
#itemshop .ish-nextl { margin-right: 4px; font-size: 7px; line-height: 9px; }

/* ---------- offers: Schwarzmarkt tiles ---------- */
/* the six tiles fill the height of the column, the item pictures 1:1 */
#itemshop .ish-tiles { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(38px, 1fr); gap: 3px; }
#itemshop .ish-tile { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 4px; align-items: center; padding: 2px 4px 2px 2px; cursor: pointer;
  background: linear-gradient(#1d1712, #110d0a); box-shadow: inset 0 0 0 1px #33281d; }
#itemshop .ish-tile:hover { box-shadow: inset 0 0 0 1px #6d5636; }
#itemshop .ish-tile.picked { background: linear-gradient(90deg, #41352a, #201a14); box-shadow: inset 0 0 0 1px var(--gold-d), inset 2px 0 0 var(--gold); }
#itemshop .ish-tile.done { opacity: .55; }
#itemshop .ish-tile .ish-pic { width: 34px; height: 34px; }
#itemshop .ish-tile .ish-pic img { left: 1px; top: 1px; width: 32px; height: 32px; }
#itemshop .ish-tbody { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#itemshop .ish-tname { font-size: 7px; line-height: 8px; overflow-wrap: anywhere; }
#itemshop .ish-tline { display: flex; align-items: baseline; gap: 3px; min-width: 0; white-space: nowrap; font-size: 7px; line-height: 8px; }
#itemshop .ish-tprice { margin-left: auto; font-size: 8px; line-height: 9px; text-shadow: var(--ol); }
#itemshop .ish-off { color: var(--green); }
/* the team's limited goods over the Schwarzmarkt (Nutzer 11.11.2026): their own strip and tiles, the Schwarzmarkt a bit
   tighter; more than fits scrolls (the column, never sideways) */
#itemshop .ish-deals.lim { overflow-y: auto; padding-right: 1px; }
#itemshop .ish-deals.lim > * { flex-shrink: 0; }
#itemshop .ish-deals.lim .ish-tiles { flex: 1 0 auto; grid-auto-rows: minmax(36px, 1fr); }
#itemshop .ish-deals.lim .ish-limtiles { flex: none; grid-auto-rows: 38px; }
#itemshop .ish-limh { background: linear-gradient(90deg, #4a2116, #1a0d09); box-shadow: inset 0 0 0 1px #8a3f26; }
#itemshop .ish-limt { color: #ffb27a; text-shadow: var(--ol); }
#itemshop .ish-tile.lim { background: linear-gradient(#2a1912, #130c09); box-shadow: inset 0 0 0 1px #5e2d1c; }
#itemshop .ish-tile.lim:hover { box-shadow: inset 0 0 0 1px #a0502e; }
#itemshop .ish-tile.lim.picked { background: linear-gradient(90deg, #4f2a1b, #22140e); box-shadow: inset 0 0 0 1px #c0663a, inset 2px 0 0 #ffb27a; }
#itemshop .ish-lleft { color: #ffb27a; }
#itemshop .ish-mid { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3px; }
#itemshop .ish-sec { display: flex; flex-direction: column; gap: 2px; padding: 3px 4px 4px; min-width: 0; background: #0d0b0a80; box-shadow: inset 0 0 0 1px #33302a; }
#itemshop .ish-sectitle { display: flex; justify-content: space-between; gap: 4px; color: var(--gold); font-size: 8px; line-height: 10px; }
#itemshop .ish-secv { color: var(--text, #e8dcc0); text-shadow: var(--ol); white-space: nowrap; }
#itemshop .ish-txt2 { font-size: 7px; line-height: 8px; }
#itemshop .ish-bar { margin: 1px 0; }
#itemshop .ish-bar > i { background: linear-gradient(#e8c26a, #a07a30); }

/* ---------- Aufladen: the packages (switched off) and the gift code ---------- */
#itemshop .ish-topup { display: flex; flex-direction: column; gap: 5px; height: 100%; }
#itemshop .ish-soon { padding: 0 4px; height: 10px; font-size: 7px; line-height: 10px; color: #ffd9a0; white-space: nowrap;
  background: linear-gradient(#5a3414, #3a200c); box-shadow: inset 0 0 0 1px #a8743a; }
#itemshop .ish-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
#itemshop .ish-pack { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 3px; min-width: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 30%, #3b2a52, #17110f 80%); box-shadow: inset 0 0 0 1px #4f3f62, inset 0 0 0 2px #0b0807; }
#itemshop .ish-packpic { width: 44px; height: 44px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 2px 2px #000a); opacity: .85; }
#itemshop .ish-packk { display: flex; align-items: center; gap: 2px; color: var(--gold); font-size: 10px; line-height: 11px; text-shadow: var(--ol); }
#itemshop .ish-packk img { width: 9px; height: 9px; image-rendering: auto; }
#itemshop .ish-packb { color: var(--green); font-size: 7px; line-height: 8px; white-space: nowrap; }
#itemshop .ish-packe { font-size: 8px; line-height: 9px; }
#itemshop .ish-pack .btn { width: 100%; min-width: 0; }
#itemshop .ish-note { text-align: center; }
#itemshop .ish-voucher { flex-direction: row; align-items: center; gap: 6px; padding: 5px 6px; }
#itemshop .ish-vpic { width: 40px; height: 40px; flex: none; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 2px 2px #000a); }
#itemshop .ish-vbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#itemshop .ish-vform { display: flex; gap: 4px; align-items: center; }
#itemshop .ish-vform .eq-btns { flex: none; width: 72px; }
#itemshop .ish-code { flex: 1; min-width: 0; height: 15px; padding: 0 4px; border: 0; outline: 0; font: inherit; font-size: 9px; letter-spacing: 1px; color: var(--gold);
  background: #0a0807; box-shadow: inset 0 0 0 1px #5a4630, inset 0 1px 0 1px #00000080; }
#itemshop .ish-code:focus { box-shadow: inset 0 0 0 1px var(--gold-d), inset 0 1px 0 1px #00000080; }
#itemshop .ish-code::placeholder { color: var(--dim); letter-spacing: 0; }
#itemshop .ish-cres { font-size: 7px; line-height: 9px; }
#itemshop .ish-crow { display: flex; align-items: center; gap: 3px; }
#itemshop .ish-crow img { width: 10px; height: 10px; object-fit: contain; }
/* the coins in the strip, an open order, the page of one order (QR, amount, address, buttons) */
#itemshop .ish-coins { display: flex; align-items: center; gap: 4px; min-width: 0; }
#itemshop .ish-coins > .dim { font-size: 7px; white-space: nowrap; }
#itemshop .ish-coinb { flex: none; width: 104px; }
#itemshop .ish-coinb > .btn.ish-coin { height: 12px; min-width: 0; padding: 0 3px 0 2px; gap: 3px; font-size: 7px; line-height: 12px; justify-content: flex-start; color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-d), inset 0 1px 0 #806444, inset 0 -1px 0 #1c1611; }
#itemshop .ish-coin img { width: 9px; height: 9px; flex: none; image-rendering: auto; }
#itemshop .ish-coinl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }
/* the little triangle of a choice */
#itemshop .ish-caret { flex: none; width: 0; height: 0; border-left: 2px solid transparent; border-right: 2px solid transparent; border-top: 3px solid currentColor; }
#itemshop .ish-coinrow { cursor: pointer; }
#itemshop .ish-coinrow .ish-pic img { image-rendering: auto; }
#itemshop .ish-pnet { font-size: 7px; line-height: 8px; }
#itemshop .ish-pack.on .ish-packpic { opacity: 1; }
#itemshop .ish-open { flex-direction: row; align-items: center; gap: 6px; padding: 3px 4px 3px 6px; }
#itemshop .ish-opent { flex: 1; min-width: 0; font-size: 8px; line-height: 9px; color: var(--gold); overflow-wrap: anywhere; }
#itemshop .ish-openb { flex: none; width: 72px; }
/* the page of one order: a strip with the package and the coin, the QR picture in a golden frame, the fields to send */
#itemshop .ish-phead .ish-rotn, #itemshop .ish-phead .ish-rott { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
#itemshop .ish-phead img { width: 10px; height: 10px; flex: none; image-rendering: auto; }
#itemshop .ish-pay { flex: 1; min-height: 0; display: flex; gap: 8px; padding: 6px;
  background: radial-gradient(ellipse 60% 80% at 20% 40%, rgba(242, 196, 90, .1), transparent 70%), linear-gradient(#1d1712, #0e0b09);
  box-shadow: inset 0 0 0 1px #4a3a28, inset 0 0 0 2px #0b0807; }
#itemshop .ish-qrbox { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
#itemshop .ish-qrframe { padding: 4px; background: linear-gradient(#e8c26a, #8c5f24);
  box-shadow: 0 0 0 1px #0b0807, inset 0 0 0 1px #f6d27c, 0 2px 6px #000c; }
#itemshop .ish-qr { display: block; width: 112px; height: 112px; image-rendering: pixelated; background: #fff; box-shadow: 0 0 0 1px #5a3c14; }
#itemshop .ish-noqr { display: flex; align-items: center; justify-content: center; font-size: 8px; background: #0a0807; }
#itemshop .ish-qrcap { font-size: 7px; line-height: 8px; text-align: center; }
#itemshop .ish-pbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#itemshop .ish-pfield { display: flex; flex-direction: column; gap: 1px; }
#itemshop .ish-plabel { font-size: 7px; line-height: 8px; }
#itemshop .ish-prow { display: flex; align-items: center; gap: 4px; min-height: 16px; padding: 1px 2px 1px 5px; background: #0a0807; box-shadow: inset 0 0 0 1px #5a4630, inset 0 1px 0 1px #00000080; }
#itemshop .ish-prow > div:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
#itemshop .ish-pval { color: var(--gold); font-size: 11px; line-height: 13px; text-shadow: var(--ol); }
#itemshop .ish-paddr { font-size: 8px; line-height: 9px; }
#itemshop .ish-pcopy { flex: none; width: 54px; margin: 0; }
#itemshop .ish-pcopy > .btn { height: 12px; font-size: 7px; }
#itemshop .ish-plock { font-size: 7px; line-height: 8px; }
/* the three steps: an icon on a line, reached ones gold, the current one breathing (opacity only) */
#itemshop .ish-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2px; }
#itemshop .ish-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
#itemshop .ish-step + .ish-step::before { content: ''; position: absolute; top: 10px; right: 50%; width: 100%; height: 2px; background: #33281d; }
#itemshop .ish-step.done::before, #itemshop .ish-step.now::before { background: linear-gradient(90deg, #a07a30, #e8c26a); }
#itemshop .ish-stepic { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, #2a2118, #0c0907 75%); box-shadow: 0 0 0 1px #4a3a28; }
#itemshop .ish-stepic img { width: 16px; height: 16px; object-fit: contain; image-rendering: auto; opacity: .35; filter: grayscale(1); }
#itemshop .ish-step.done .ish-stepic, #itemshop .ish-step.now .ish-stepic { box-shadow: 0 0 0 1px var(--gold), 0 0 5px #f2c45a88; }
#itemshop .ish-step.done .ish-stepic img, #itemshop .ish-step.now .ish-stepic img { opacity: 1; filter: none; }
#itemshop .ish-step.now .ish-stepic img { animation: ish-breathe 1.6s ease-in-out infinite; }
@keyframes ish-breathe { 50% { opacity: .45; } }
#itemshop .ish-stepl { max-width: 100%; font-size: 7px; line-height: 8px; text-align: center; color: var(--dim); overflow-wrap: anywhere; }
#itemshop .ish-step.done .ish-stepl, #itemshop .ish-step.now .ish-stepl { color: var(--gold); }
#itemshop .ish-pst { font-size: 8px; line-height: 10px; text-align: center; }
#itemshop .ish-pbtns { width: 100%; }
#itemshop .ish-pbtns > .btn { min-width: 0; padding: 0 2px; }
#itemshop a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
/* Aufladen with a card over Dodopin: the card where the QR picture stands, the three fields for its invoice, one button */
#itemshop .ish-dpic { width: 64px; height: 64px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 2px 3px #000c); }
#itemshop .ish-dodo .ish-qrbox { justify-content: center; }
#itemshop .ish-dodo .ish-qrcap { max-width: 72px; }
#itemshop .ish-dform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 4px; }
#itemshop .ish-dfield { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#itemshop .ish-dfield:first-child { grid-column: 1 / -1; }
#itemshop .ish-dinp { width: 100%; height: 13px; font-size: 8px; letter-spacing: 0; color: var(--text, #e8dcc0); }
#itemshop .ish-dbtns { width: 100%; }
/* the ways to pay at a glance: one button per way (picture + name), the networks of the picked coin under it; the crypto bonus */
#itemshop .ish-ways { width: 100%; }
#itemshop .ish-ways > .btn.ish-way { gap: 3px; padding: 0 3px; }
#itemshop .ish-way img { width: 9px; height: 9px; flex: none; image-rendering: auto; }
#itemshop .ish-way.on, #itemshop .ish-net.on { color: var(--gold); box-shadow: 0 0 0 1px var(--gold), inset 0 1px 0 #806444, inset 0 -1px 0 #1c1611; }
#itemshop .ish-nets { display: flex; align-items: center; gap: 4px; }
#itemshop .ish-nets > .dim { font-size: 7px; white-space: nowrap; }
#itemshop .ish-nets > .eq-btns { flex: 1; width: 100%; }
#itemshop .ish-cbonus { font-size: 7px; white-space: nowrap; }

/* ---------- luck ---------- */
#itemshop .ish-sub { margin-bottom: 3px; }
#itemshop .ish-luck { display: flex; gap: 6px; height: 218px; }
#itemshop .ish-l { flex: none; display: flex; flex-direction: column; }
#itemshop .ish-r { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#itemshop .ish-info { display: flex; flex-direction: column; }
#itemshop .ish-irow { display: grid; grid-template-columns: 11px minmax(0, 1fr) auto auto; gap: 0 3px; align-items: center; min-height: 11px; padding: 0 2px; font-size: 7px; line-height: 9px;
  border-bottom: 1px solid rgba(196, 164, 107, .12); }
#itemshop .ish-wlist .ish-irow { min-height: 10px; }
#itemshop .ish-irow img { width: 10px; height: 10px; object-fit: contain; }
#itemshop .ish-irow .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#itemshop .ish-irow .c { text-align: right; }
#itemshop .ish-irow .v { text-align: right; min-width: 22px; text-shadow: var(--ol); }
#itemshop .ish-irow.main .n { color: var(--gold); }
#itemshop .ish-irow.done { opacity: .45; }
#itemshop .ish-irow.done .n { text-decoration: line-through; }
#itemshop .ish-kv { display: flex; justify-content: space-between; font-size: 8px; line-height: 10px; }
#itemshop .ish-status { flex: 1; min-height: 9px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 8px; line-height: 9px; color: var(--gold); }
#itemshop .ish-grid { display: grid; grid-template-columns: repeat(5, 28px); grid-auto-rows: 28px; gap: 1px; padding: 3px;
  background: radial-gradient(circle at 50% 45%, #4c3a22, #1e160d 85%); box-shadow: inset 0 0 0 1px #6d5636, inset 0 0 0 2px var(--edge); }
#itemshop .ish-cell { position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gold); font-size: 10px;
  background: rgba(20, 14, 8, .55); box-shadow: inset 0 0 0 1px #6d563666; }
#itemshop .ish-cell:hover { background: rgba(120, 90, 40, .45); }
#itemshop .ish-cell.open { cursor: default; background: #0f0c0a; box-shadow: inset 0 0 0 1px #4d4d38; }
#itemshop .ish-cell img { width: 18px; height: 18px; object-fit: contain; }
#itemshop .ish-cell.main { box-shadow: inset 0 0 0 1px var(--gold), 0 0 4px #f2c45a; }
#itemshop .ish-cell.fresh { animation: ish-pop .4s steps(4) 1; }
@keyframes ish-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
#itemshop .ish-foot { display: flex; justify-content: space-between; margin-top: 4px; font-size: 8px; line-height: 10px; }
#itemshop .ish-wheel { display: block; width: 188px; height: 188px; cursor: pointer; }
#itemshop .ish-slotl { width: 162px; gap: 3px; }
#itemshop .ish-reels { position: relative; display: grid; grid-template-columns: repeat(3, 50px); gap: 2px; padding: 3px;
  background: linear-gradient(#2a2118, #120e0a); box-shadow: inset 0 0 0 1px #6d5636, inset 0 0 0 2px var(--edge); }
#itemshop .ish-reel { height: 96px; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(#0c0a08, #1f1a14 50%, #0c0a08); box-shadow: inset 0 0 0 1px #33281d; }
#itemshop .ish-reel div { flex: 0 0 32px; display: flex; align-items: center; justify-content: center; }
#itemshop .ish-reel img { width: 24px; height: 24px; object-fit: contain; }
#itemshop .ish-reel div:not(:nth-child(2)) { opacity: .35; }
#itemshop .ish-payline { position: absolute; left: 1px; right: 1px; top: 35px; height: 34px; box-shadow: 0 0 0 1px var(--gold-d); pointer-events: none; }
#itemshop .ish-reels.hit .ish-payline { box-shadow: 0 0 0 1px var(--gold), 0 0 6px #f2c45a; }
#itemshop .ish-yang { display: flex; align-items: center; justify-content: center; gap: 3px; font-size: 10px; line-height: 12px; text-shadow: var(--ol); }
#itemshop .ish-yang img { width: 10px; height: 10px; }
#itemshop .ish-go { width: 100%; height: 16px; }

/* a choice over the shop (the coin of "Aufladen") */
#itemshop .ish-dlgback { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; background: #000000a0; }
#itemshop .ish-dlg { width: 240px; max-height: 92%; display: flex; flex-direction: column; gap: 4px; padding: 6px; background: var(--bg1);
  box-shadow: 0 0 0 1px #080706, inset 0 0 0 1px #8d7951, inset 0 0 0 2px #0c0b09, 0 3px 9px #000; }
#itemshop .ish-choice { flex: 1; min-height: 0; max-height: 180px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }

/* ---------- phone and tablet: bigger targets, the list scrolls under a fixed stage ---------- */
html.touch #itemshop .ish-top { height: 20px; }
html.touch #itemshop .ish-purse, html.touch #itemshop .ish-up { height: 20px; }
html.touch #itemshop .ish-tabs { flex-wrap: wrap; row-gap: 2px; }
html.touch #itemshop .ish-tabs .tab, html.touch #itemshop .ish-sub .tab { flex: 1 0 23%; height: 18px; line-height: 18px; font-size: 8px; }
html.touch #itemshop .ish-view { height: auto; min-height: 236px; }
html.touch #itemshop .ish-row, html.touch #itemshop .ish-tile { min-height: 30px; }
html.touch #itemshop .ish-deals.lim { overflow: visible; }
html.touch #itemshop .btn, html.touch #itemshop .eq-btns > .btn { height: 20px; }
html.touch #itemshop .ish-list { max-height: none; overflow: visible; }
html.touch #itemshop .ish-stagebox { position: sticky; top: 0; align-self: flex-start; }
html.touch #itemshop .ish-pieces { --pw: 28px; }
html.touch #itemshop .ish-pieces .ish-piece { width: 28px; height: 28px; }
html.touch #itemshop .ish-pieces .ish-piece img { left: 2px; top: 2px; width: 24px; height: 24px; }
html.touch #itemshop .ish-cols { height: auto; min-height: 236px; }
html.touch #itemshop .ish-luck { height: auto; }
html.touch #itemshop .ish-cell { min-height: 30px; }
html.touch #itemshop .ish-grid { grid-template-columns: repeat(5, 30px); grid-auto-rows: 30px; }
html.touch #itemshop .ish-code { height: 20px; font-size: 10px; }
html.touch #itemshop .ish-topup { height: auto; }
html.touch #itemshop .ish-coinb { width: 132px; }
html.touch #itemshop .ish-coinrow { min-height: 30px; }
html.touch #itemshop .ish-pcopy { width: 64px; }
html.touch #itemshop .ish-pcopy > .btn { height: 20px; font-size: 8px; }
html.touch #itemshop .ish-coinb > .btn.ish-coin { height: 20px; font-size: 8px; line-height: 20px; }
html.touch #itemshop .ish-pay { flex: none; }
html.touch #itemshop .ish-way img { width: 12px; height: 12px; }
html.touch #itemshop .ish-dinp { height: 20px; font-size: 10px; }
